:root{color-scheme:dark;--ink:#edf9fa;--muted:#a9c3c9;--paper:#06131c;--card:#0d2430;--line:#254652;--accent:#3ee4ca;--focus:#97f7d6}
.api-quota-note{margin:3rem 0 0;color:#809da3;font-size:.82rem;line-height:1.5}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;background:radial-gradient(circle at 85% 0%,#123b48 0,transparent 36rem),var(--paper);color:var(--ink);font:1rem/1.55 system-ui,-apple-system,"Segoe UI",sans-serif}a{color:#81f0dc;text-underline-offset:.2em}a:hover{color:#c7fff2}
.site-header{min-height:80px;display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:.65rem max(1rem,calc((100vw - 75rem)/2));background:#071721ed;border-bottom:1px solid var(--line);position:relative;z-index:10}.brand{display:inline-flex;align-items:center;gap:.7rem;flex:none;color:#fff;text-decoration:none;font-size:1.28rem;font-weight:800;letter-spacing:.015em}.brand:hover{color:#fff}.brand img{width:52px;height:52px;object-fit:cover;border-radius:50%}.brand strong{color:var(--accent)}
.site-header nav{display:flex;gap:.3rem;align-items:center}.site-header nav a,.site-header .logout-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.55rem .9rem;border:1px solid transparent;border-radius:.7rem;color:var(--muted);font-weight:650;text-decoration:none;white-space:nowrap}.site-header nav a:hover,.site-header .logout-button:hover{background:#193440;color:#fff}.site-header nav a[aria-current=page]{background:#16403f;border-color:#2a7069;color:#b7fff0}.site-header nav form{margin:0}.site-header .logout-button{margin:0;background:transparent;font-size:.94rem}.menu-toggle{display:none}
main{max-width:75rem;margin:auto;padding:1.5rem clamp(1rem,3vw,2rem) 4rem}.dashboard-banner{height:clamp(11rem,25vw,19rem);border:1px solid #2b5962;border-radius:1.25rem;background:#062c3b url('../images/dance-radar-banner.webp') center 53%/cover no-repeat;box-shadow:0 1.2rem 3rem #0005;margin:.2rem 0 1.8rem}.hero{display:flex;align-items:end;justify-content:space-between;gap:1.5rem;margin:1.5rem 0 2.5rem}.hero-actions{display:flex;flex-wrap:wrap;gap:.65rem}.hero-intro{margin:.6rem 0 0;color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:.16em;color:var(--accent);font-weight:750;font-size:.78rem;margin:0}h1{font-size:clamp(2rem,5vw,3.4rem);line-height:1.1;letter-spacing:-.035em;margin:.4rem 0}h2{font-size:clamp(1.3rem,2vw,1.65rem);line-height:1.25}h3{margin-top:0;line-height:1.3}section{margin-block:2rem}section>h2{margin-bottom:1rem}
.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,20rem),1fr));gap:1rem}.card,.panel{min-width:0;background:linear-gradient(145deg,#102d38,var(--card));border:1px solid var(--line);border-radius:1rem;padding:clamp(1rem,2.4vw,1.5rem);margin-bottom:1rem;box-shadow:0 .5rem 1.5rem #0002}.card-grid .card{margin-bottom:0}.card p,.panel p{overflow-wrap:anywhere}.narrow{max-width:36rem;margin:clamp(2rem,7vw,5rem) auto}.source-status{border-top:1px solid var(--line);margin-top:1.25rem;padding-top:.7rem;color:var(--muted);font-size:.92rem}.source-status p{margin:.45rem 0}.source-status strong{color:var(--ink)}
.button,button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.65rem 1rem;border:1px solid #438178;border-radius:.65rem;background:#12373c;color:var(--ink);font:inherit;font-weight:700;text-decoration:none;cursor:pointer;transition:background .15s,border-color .15s,transform .15s}.button:hover,button:hover{background:#1b4a4b;border-color:var(--accent);color:#fff}.button:active,button:active{transform:translateY(1px)}.primary{background:var(--accent);border-color:var(--accent);color:#06242a}.primary:hover{background:#9cf7e2;color:#06242a}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
label{display:block;font-weight:700;margin-top:1rem}input:not([type=checkbox]),select,textarea{width:100%;min-height:48px;border:1px solid #557681;border-radius:.5rem;padding:.65rem .75rem;background:#081b25;color:var(--ink);font:inherit}input::placeholder{color:#a3b9bf}input[type=checkbox]{accent-color:var(--accent)}form button{margin-top:1rem}.tags,.endpoint-list{padding-left:1.2rem}.endpoint-list li{padding:.5rem 0}.incident,.error{border-left:4px solid #ff8e8b;background:#42262c;color:#ffe7e5;padding:.75rem;border-radius:.25rem}.message{background:#154138;border:1px solid #2f7b65;padding:.75rem 1rem;border-radius:.5rem}.empty{color:var(--muted)}code{overflow-wrap:anywhere}time{white-space:normal}
@media(max-width:760px){.site-header{flex-wrap:wrap;gap:.5rem;padding:.65rem 1rem}.brand{font-size:1.15rem}.brand img{width:44px;height:44px}.menu-toggle{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:44px;height:44px;padding:0;background:#14323d;border-color:var(--line)}.menu-toggle span{width:19px;height:2px;background:var(--ink);border-radius:2px}.site-header nav{width:100%;display:flex;flex-direction:column;align-items:stretch;gap:.35rem;padding:.45rem 0 .6rem}.site-header nav a,.site-header .logout-button{justify-content:flex-start;width:100%;padding:.7rem 1rem}.site-header.menu-enhanced nav:not(.is-open){display:none}.hero{align-items:stretch;flex-direction:column;margin:1.25rem 0 2rem}.hero-actions{flex-direction:column}.hero-actions .button{width:100%}.dashboard-banner{height:clamp(9rem,33vw,15rem);background-position:center center}main{padding:1rem 1rem 3rem}.card-grid{grid-template-columns:1fr}.card,.panel{padding:1.1rem}section{margin-block:1.5rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button,button{transition:none}}
.dashboard-banner{height:auto;background:#062c3b;overflow:hidden}.dashboard-banner img{display:block;width:100%;height:auto;aspect-ratio:3/1;object-fit:cover}@media(max-width:760px){.dashboard-banner img{object-fit:contain}}
