:root {
    --app-border: #dee2e6;
    --app-muted: #606b77;
    --app-blue: #0065d1;
}
html { scroll-padding-top: 1.5rem; }
.app-shell { color: #212529; }
.app-header { background: #fff; border-bottom: 1px solid var(--app-border); }
.app-nav, .app-nav-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.app-nav { padding: .5rem .75rem; gap: .75rem; }
.app-brand { display: flex; align-items: center; gap: .5rem; margin-right: auto; color: #222; font-weight: 600; text-decoration: none; }
.app-brand:hover { color: var(--app-blue); text-decoration: none; }
.app-brand img { object-fit: contain; flex-shrink: 0; }
.app-nav-link[aria-current="page"] { text-decoration: underline; text-underline-offset: .2em; }
.app-content { padding: 1.5rem; min-width: 0; }
.docs-layout { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 2rem; align-items: start; }
.docs-sidebar { position: sticky; top: 1rem; max-height: calc(100vh - 2rem); overflow-y: auto; }
.docs-disclosure > summary { display: none; }
.app-nav-heading { margin: .5rem .75rem; color: var(--app-muted); font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.app-content > .container, .app-content > .container-fluid { padding-right: 0; padding-left: 0; }
.app-content > .mt-5, .app-content > .my-5, .app-content > .mt-4 { margin-top: 0 !important; }
.app-content :is(h1, h2, h3, h4, h5, h6) { overflow-wrap: anywhere; }
.app-content .card { border-color: var(--app-border); }
.app-content .alert { overflow-wrap: anywhere; }
.admin-request-controls { gap: .5rem; }
.admin-request-controls .form-control { flex: 1 1 12rem; }
.app-loading { position: fixed; top: 1rem; right: 1rem; z-index: 1050; }
.app-loading .spinner-border, .app-loading .spinner-grow { margin-right: .5rem; }
.app-skip-link { position: fixed; top: .5rem; left: -100vw; z-index: 1100; padding: .6rem 1rem; background: #fff; border: 2px solid var(--app-blue); }
.app-skip-link:focus { left: .5rem; }
.app-shell :focus-visible { outline: 2px solid var(--app-blue); outline-offset: 3px; }
.docs-navigation a { text-decoration: none; display: block; padding: .6rem .75rem; border-radius: .35rem; color: #404a55; line-height: 1.4; }
.docs-navigation a:hover { background: #f1f4f8; color: var(--app-blue); text-decoration: none; }
.docs-navigation a[aria-current="page"] { background: #e8f1ff; color: #0055b0; font-weight: 600; }
.docs-navigation ul { list-style: none; padding: 0; margin: 0; }
.docs-navigation summary { padding: .5rem .75rem; font-weight: 600; cursor: pointer; }
.docs-navigation details ul { padding-left: .5rem; }
.docs-navigation a { font-size: .875rem; }
.docs-content { max-width: 58rem; margin: 0 auto; line-height: 1.65; overflow-wrap: anywhere; }
.docs-content h1 { font-size: 2rem; margin-bottom: 1.5rem; }
.docs-content h2 { font-size: 1.5rem; margin-top: 2rem; }
.docs-content h3 { font-size: 1.2rem; margin-top: 1.5rem; }
.docs-content pre { padding: 1rem; background: #fff; border: 1px solid var(--app-border); border-radius: .35rem; overflow-x: auto; }
.docs-content pre code { color: inherit; white-space: pre; overflow-wrap: normal; }
.docs-content table { display: block; width: max-content; max-width: 100%; overflow-x: auto; margin-bottom: 1.25rem; }
.docs-content th, .docs-content td { padding: .6rem .75rem; border: 1px solid var(--app-border); }
.docs-content th { background: #eef2f6; }
.docs-content blockquote, .docs-content .admonition { background: #fff; border-left: 3px solid #007bff; padding: .75rem 1rem; margin: 1rem 0; }
.docs-content .admonition-title { font-weight: 600; }
.docs-content .headerlink { margin-left: .3rem; color: var(--app-muted); font-size: .8em; }
.docs-content img { max-width: 100%; height: auto; }
@media (max-width: 767.98px) {
    .app-content { padding: 1.25rem 1rem; }
    .docs-layout { display: block; }
    .docs-sidebar { position: static; max-height: none; margin-bottom: 1.25rem; }
    .docs-disclosure > summary { display: list-item; width: fit-content; padding: .35rem .1rem; cursor: pointer; font-weight: 600; }
    .docs-content h1 { font-size: 1.75rem; }
}
