:root{color-scheme:light;--bg: #f4f5f9;--card: #ffffff;--text: #171923;--muted: #7a8194;--line: #eceef3;--accent: #4f46e5;--accent-soft: #eef0ff;--green: #16a34a;--red: #dc2626;--side: #14161c}*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:var(--bg);color:var(--text)}h1{font-size:24px;margin:0}h2{font-size:16px;margin:0}button{font:inherit;cursor:pointer}button:disabled{opacity:.5;cursor:default}input{font:inherit;color:var(--text)}.muted{color:var(--muted);font-size:13px;margin:2px 0 0}.shell{display:grid;grid-template-columns:220px 1fr;min-height:100vh}.sidebar{background:var(--side);color:#c9ccd6;padding:20px 14px;display:flex;flex-direction:column;gap:22px;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:10px;color:#fff;font-weight:600;font-size:17px;padding:0 6px}.brand-mark{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--accent);color:#fff;font-weight:700}.brand-mark.big{width:48px;height:48px;font-size:24px;border-radius:14px}nav{display:grid;gap:4px;flex:1;align-content:start}.nav{display:flex;align-items:center;gap:10px;padding:10px 12px;border:0;border-radius:10px;background:transparent;color:inherit;text-align:left;font-size:14px}.nav:hover{background:#1d2029}.nav.active{background:#262a35;color:#fff}.nav.signout{margin-top:auto;flex:0}.content{padding:28px 32px 48px;max-width:1180px;width:100%}.top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;flex-wrap:wrap}.ghost{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border:1px solid var(--line);background:#fff;border-radius:10px;color:var(--text);font-size:14px}.primary{padding:11px 14px;border:0;border-radius:10px;background:var(--accent);color:#fff;font-weight:500}.link{border:0;background:none;color:var(--accent);font-size:14px;font-weight:500}.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin-bottom:18px}.stat{border-radius:16px;padding:18px}.tone-peach{background:#fff1e6}.tone-green{background:#e6f6ec}.tone-blue{background:#e7effe}.tone-pink{background:#fde9f0}.stat-label{font-size:14px;color:#4b5162}.stat-number{font-size:38px;font-weight:650;margin:6px 0 10px;letter-spacing:-.5px}.stat-foot{display:flex;align-items:center;gap:8px;font-size:13px;min-height:22px}.stat-foot .muted{margin:0}.delta{display:inline-flex;align-items:center;gap:3px;padding:2px 8px;border-radius:999px;background:#fff;font-size:12px;font-weight:600}.delta.up{color:var(--green)}.delta.down{color:var(--red)}.grid{display:grid;grid-template-columns:2fr 1fr;gap:14px;margin-bottom:18px}.card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:18px}.card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.segmented{display:inline-flex;background:var(--bg);border-radius:10px;padding:3px}.segmented button{border:0;background:transparent;padding:6px 12px;border-radius:8px;color:var(--muted);font-size:13px}.segmented button.on{background:#fff;color:var(--text);box-shadow:0 1px 2px #00000014}.placeholder{height:250px;border-radius:12px;background:var(--bg)}.chart{position:relative}.chart svg{width:100%;height:auto;display:block}.grid-line{stroke:var(--line);stroke-width:1}.axis{fill:var(--muted);font-size:11px}.line{fill:none;stroke-width:2.6;stroke-linecap:round}.line-signups{stroke:var(--accent)}.line-active{stroke:#22c3a6}.cursor{stroke:#c5c9d6;stroke-dasharray:4 4}.dot{stroke:#fff;stroke-width:2}.dot-signups{fill:var(--accent)}.dot-active{fill:#22c3a6}.tooltip{position:absolute;top:6px;transform:translate(-50%);background:var(--side);color:#fff;padding:8px 10px;border-radius:10px;font-size:12px;display:grid;gap:3px;pointer-events:none;white-space:nowrap}.legend{display:flex;gap:18px;justify-content:center;margin-top:6px;font-size:13px;color:var(--muted)}.swatch{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:6px}.swatch-signups{background:var(--accent)}.swatch-active{background:#22c3a6}.swatch-idle{background:#dfe2ea}.donut-wrap{display:grid;justify-items:center;gap:14px}.donut{width:170px;height:170px}.donut-track{fill:none;stroke:#e9ebf2;stroke-width:14}.donut-fill{fill:none;stroke:var(--accent);stroke-width:14;stroke-linecap:round}.donut-number{font-size:26px;font-weight:650;fill:var(--text)}.donut-caption{font-size:11px;fill:var(--muted)}.donut-list{list-style:none;margin:0;padding:0;display:grid;gap:8px;width:100%;font-size:14px}.donut-list li{display:flex;align-items:center}.donut-list strong{margin-left:auto}.people{list-style:none;margin:0;padding:0}.people li{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--line);font-size:14px}.people li:first-child{border-top:0}.who{display:grid;flex:1;min-width:0}.who .muted{margin:0;overflow:hidden;text-overflow:ellipsis}.avatar{object-fit:cover;display:inline-grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--accent-soft);color:var(--accent);font-weight:600;font-size:13px;flex:none}.user-cell{display:flex;align-items:center;gap:10px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:14px}th,td{text-align:left;padding:12px 10px;border-bottom:1px solid var(--line);white-space:nowrap}th{color:var(--muted);font-weight:500;font-size:13px}tbody tr:last-child td{border-bottom:0}.empty{text-align:center;color:var(--muted)}.chip{display:inline-block;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:600}.chip-new{background:#e7effe;color:#2563eb}.chip-active{background:#e6f6ec;color:var(--green)}.chip-inactive{background:#f1f2f6;color:var(--muted)}.pager{display:flex;justify-content:center;align-items:center;gap:14px;margin-top:14px}.search{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:0 12px;color:var(--muted)}.search input{border:0;outline:0;padding:10px 0;width:260px;max-width:60vw;background:transparent}.error{color:#b42318;background:#fef3f2;border:1px solid #fecdca;border-radius:10px;padding:10px 14px}.footnote{color:var(--muted);font-size:12px;text-align:center;margin-top:18px}.login{min-height:100vh;display:grid;place-items:center;padding:16px}.login-card{width:100%;max-width:360px;display:grid;gap:14px;justify-items:stretch;padding:28px}.login-card .brand-mark{justify-self:start}.login-card h1{font-size:22px}.login-card .muted{margin:-8px 0 4px}.login label{display:grid;gap:6px;font-size:13px;color:var(--muted)}.login input{padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:#fff}@media(max-width:860px){.shell{grid-template-columns:1fr}.sidebar{position:static;height:auto;flex-direction:row;align-items:center;padding:10px 12px;gap:8px;overflow-x:auto}.brand span:last-child{display:none}nav{display:flex;flex:1}.nav.signout{margin-top:0}.content{padding:18px 14px 40px}.grid{grid-template-columns:1fr}}
