:root{font-family:Arial,Helvetica,sans-serif;color-scheme:dark;--bg:#101816;--side:#121c19;--surface:#1a2421;--surface2:#202c27;--border:#314039;--text:#edf2eb;--muted:#9eaea3;--accent:#b6d66d;--accent-text:#17210f}*{box-sizing:border-box}html[data-theme=light]{color-scheme:light;--bg:#f5f7f2;--side:#ecf1e9;--surface:#fff;--surface2:#f4f7f0;--border:#d8e0d5;--text:#1c2921;--muted:#66766c;--accent:#496d30;--accent-text:#fff}body{margin:0;background:var(--bg);color:var(--text);font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.shell{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:100vh}.sidebar{display:flex;flex-direction:column;gap:5px;padding:29px 16px;background:var(--side);border-right:1px solid var(--border)}.brand{font-size:20px;font-weight:700;letter-spacing:-.04em;padding:0 12px;margin-bottom:52px;color:var(--accent)}.nav-label,.eyebrow{font-size:10px;letter-spacing:.18em;font-weight:700;color:var(--muted)}.nav-label{padding:0 12px;margin:0 0 12px}.nav{width:100%;text-align:left;padding:11px 12px;border:0;border-radius:7px;background:none;color:var(--muted)}.nav:hover,.nav.active{background:var(--surface2);color:var(--text)}.sidebar-spacer{flex:1}.main{min-width:0;max-width:1500px;width:100%;padding:34px clamp(20px,4vw,60px) 90px;margin:auto}.topbar,.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px}.topbar{padding-bottom:28px;border-bottom:1px solid var(--border)}h1{font-size:31px;margin:9px 0 0;letter-spacing:-.05em}h2{font-size:17px;letter-spacing:-.025em;margin:0}h3{margin:0 0 6px;font-size:16px}.controls{display:flex;gap:9px}select,input,textarea{background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:7px;padding:10px 12px}select{min-width:135px}.overview{padding-top:27px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.metric,.panel,.site-card{background:var(--surface);border:1px solid var(--border);border-radius:10px}.metric{display:flex;flex-direction:column;padding:23px 24px;gap:8px}.metric span,.metric small,.panel-head span,.site-card p,.hint,.empty{color:var(--muted)}.metric strong{font-size:30px;font-weight:600;letter-spacing:-.04em}.metric small{font-size:12px}.panel{padding:24px;margin-top:12px}.panel-head{display:flex;align-items:center;justify-content:space-between}.chart{height:224px;display:flex;align-items:end;gap:7px;padding-top:24px;overflow:hidden}.bar-col{height:100%;min-width:0;flex:1;display:flex;align-items:center;flex-direction:column;justify-content:end;gap:9px}.bar{width:100%;max-width:80px;min-height:1px;background:var(--accent);border-radius:3px 3px 0 0;opacity:.9}.bar-col small{color:var(--muted);font-size:10px;white-space:nowrap}.grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.data-row{display:flex;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid var(--border)}.data-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.data-row strong{font-weight:600}.websites{margin-top:55px}.section-head{margin-bottom:20px}.section-head h2{font-size:24px;margin-top:7px}.site-card{padding:18px 22px;margin-bottom:9px;display:flex;align-items:center;justify-content:space-between;gap:20px}.site-card p{margin:0}.site-actions{display:flex;gap:6px;flex-wrap:wrap}.site-actions button,.dialog-head button{background:none;border:0;color:var(--muted);padding:8px}.site-actions button:hover,.dialog-head button:hover{color:var(--text)}.primary{background:var(--accent);color:var(--accent-text);border:0;border-radius:7px;padding:11px 15px;font-weight:700}.primary:hover{filter:brightness(1.1)}#message,#form-message{color:#eea78e;min-height:1em}.auth{max-width:400px;margin:15vh auto;padding:24px}.auth .brand{padding:0;margin-bottom:60px}.auth p{color:var(--muted)}.login-form,.site-form{display:flex;flex-direction:column;gap:12px}.login-form{margin-top:35px}.login-form button{background:var(--accent);color:var(--accent-text);border:0;border-radius:7px;padding:12px;font-weight:700}.dialog{background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:12px;max-width:min(540px,calc(100vw - 24px));width:100%;padding:23px}.dialog::backdrop{background:#000a}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.site-form textarea{min-height:70px;resize:vertical}.hint{font-size:12px}.dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--surface2);padding:16px;border-radius:7px}.loading{padding:40px}@media(max-width:760px){.shell{display:block}.sidebar{position:sticky;top:0;z-index:2;flex-direction:row;align-items:center;padding:9px 14px;gap:0;overflow-x:auto}.sidebar .brand{font-size:16px;margin:0 16px 0 0;padding:0;white-space:nowrap}.sidebar .nav-label,.sidebar-spacer{display:none}.sidebar .nav{width:auto;white-space:nowrap;padding:10px}.main{padding:24px 16px 70px}.topbar{align-items:start;flex-direction:column}.controls{width:100%}.controls select{min-width:0;flex:1}.cards,.grid{grid-template-columns:1fr}.cards{gap:8px}.metric{padding:17px 19px}.metric strong{font-size:25px}.chart{height:180px}.bar-col small{font-size:8px}.bar-col:nth-child(even) small{visibility:hidden}.site-card{align-items:start;flex-direction:column}.auth{margin:8vh auto}}
.chart{display:block;width:100%;height:224px;padding:0;overflow:visible}@media(max-width:760px){.chart{height:180px}}
.chart text{font-size:20px}@media(max-width:760px){.chart text{font-size:25px}}
