
:root{color-scheme:light;--ink:#161616;--muted:#595959;--line:#ccc;--accent:#174876}
*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--ink);font:18px/1.45 Georgia,'Times New Roman',serif}
main{max-width:1120px;margin:34px auto 70px;padding:0 26px}h1{font-size:27px;font-weight:normal;margin:0}h2{font-size:22px;margin:0 0 8px}p{margin:8px 0 16px}a{color:#174876;text-underline-offset:3px}header{padding-bottom:18px;border-bottom:1px solid var(--ink)}.topline{display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap}.meta,.note,small{color:var(--muted);font-size:14px}.meta{margin:5px 0 0}nav{font-size:15px;display:flex;gap:20px;margin-top:12px}
form{display:flex;flex-wrap:wrap;gap:16px 22px;padding:20px 0 14px;align-items:end}label,.control-title,legend{font-size:14px;color:#444}label.stacked{display:flex;flex-direction:column;gap:5px}input,select,button{font:15px/1.3 system-ui,sans-serif;color:var(--ink);background:white;border:1px solid #888;border-radius:2px;padding:6px 8px}button{cursor:pointer}button:hover{background:#f1f1f1}input[type=checkbox]{accent-color:#174876;margin:0 5px 0 0;width:15px;height:15px}fieldset{border:0;padding:0;margin:0}legend{padding:0 0 9px}.checks{display:flex;gap:14px;min-height:32px;align-items:center}.checks label{color:var(--ink);font-size:16px;white-space:nowrap}button.link{border:0;padding:0;color:var(--accent);text-decoration:underline;background:transparent;font:inherit;font-size:14px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #174876;outline-offset:3px}
#scope{font-size:15px;margin:0 0 14px}#error{color:#a01818;font-size:15px}.totals{display:flex;gap:0;margin:0;padding:15px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.totals>div{flex:1;padding:0 18px;border-left:1px solid var(--line)}.totals>div:first-child{padding-left:0;border:0}.totals dt{font-size:14px;color:var(--muted)}.totals dd{font-size:29px;line-height:1.4;margin:0;font-variant-numeric:tabular-nums}.totals dd small{font-size:15px}
section{margin-top:30px}.section-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}.section-head label{white-space:nowrap}.section-head select{margin-left:8px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:16px;font-variant-numeric:tabular-nums}th,td{padding:8px 12px;border-bottom:1px solid #dedede;text-align:right;vertical-align:middle}th{font-size:14px;font-weight:normal;color:#505050;border-bottom:1px solid #888}th:first-child,td:first-child{text-align:left;padding-left:0}th:last-child,td:last-child{padding-right:0}tbody th{color:var(--ink);font-size:16px;border-bottom:1px solid #dedede}tfoot td{font-weight:bold;border-top:1px solid #888}caption{text-align:left;font-size:14px;color:var(--muted);padding-bottom:12px}.stage{width:40%}.bar-cell{width:22%}.bar{height:7px;background:#f0f0f0;min-width:90px}.bar span{display:block;height:100%;background:#666}.number{white-space:nowrap}.two{display:grid;grid-template-columns:1fr 1fr;gap:40px}.heat{min-width:740px}.heat th,.heat td{padding:9px 12px}.heat td small{display:block;font-size:12px}.heat .empty{background:#fafafa;color:#666}.heat td:first-child{white-space:nowrap}.heat th:first-child{min-width:145px}.legend{margin:10px 0;font-size:14px;color:var(--muted)}details{border-top:1px solid var(--line);padding-top:12px;margin-top:26px}summary{cursor:pointer;font-size:18px}details p,details li{font-size:15px;max-width:85ch}details ul{padding-left:20px}footer{border-top:1px solid var(--line);margin-top:28px;padding-top:12px;font-size:14px;color:var(--muted)}.empty-state{text-align:left!important;padding:22px 0;color:var(--muted)}.muted{color:var(--muted)}
@media(max-width:650px){main{margin:20px auto;padding:0 16px}h1{font-size:24px}.two{grid-template-columns:1fr;gap:0}.totals{flex-wrap:wrap;gap:14px 0}.totals>div{flex-basis:50%;padding-left:14px}.totals>div:nth-child(3){border:0;padding-left:0}.totals dd{font-size:25px}.bar-cell{display:none}th,td{padding:8px}.stage{width:auto}form{gap:12px}.stacked select{max-width:100%}nav{gap:16px;flex-wrap:wrap}section{margin-top:25px}}
.bar-cell{width:27%;padding:2px 8px!important}.bar{height:34px;background:transparent;min-width:160px}.bar span{width:100%;height:100%;background:#3674b2}.stage{width:35%}#funnel tbody td{height:42px}#funnel .bar-cell{border-bottom:0}#funnel .number{font-family:system-ui,sans-serif;font-size:14px}
.segments{display:flex;flex-wrap:wrap;gap:0;margin:12px 0}.segments button{border-radius:0;margin:0 -1px -1px 0;padding:8px 13px;font-size:14px}.segments button[aria-pressed=true]{background:#174876;color:white;border-color:#174876;z-index:1}.heat{font-family:system-ui,sans-serif;font-size:14px;min-width:980px}.heat th,.heat td{padding:12px 10px;text-align:center}.heat th:first-child{text-align:left;min-width:185px;position:sticky;left:0;background:white;z-index:1;padding-left:10px}.heat tbody th{font-size:14px}.heat .people{color:#555;background:#fafafa}.heat td{border:3px solid white}.heat td small{font-size:12px;color:inherit;opacity:.85;margin-top:4px}.heat .overall th,.heat .overall td{font-weight:650;border-top:2px solid #6d7d8f;border-bottom:2px solid #6d7d8f}.heat .empty{background:#f6f6f6}.heat .dayzero{background:#ebedf0;color:#444}.scale{display:inline-flex;align-items:center;gap:4px;margin-left:12px}.scale i{width:17px;height:10px;display:inline-block}.chart-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.chart-toolbar p{margin:0;font-size:14px;color:var(--muted)}
@media(max-width:650px){#funnel{min-width:630px}#funnel .bar-cell{display:table-cell;width:160px}.bar{min-width:120px}.segments button{padding:8px 10px;font-size:13px}.heat th:first-child{min-width:160px}}
@media print{form,nav,button,.section-head label{display:none}main{max-width:none;margin:0}.table-wrap{overflow:visible}section{break-inside:avoid}}

[hidden]{display:none!important}.login{max-width:460px}.login form{display:block}.login label{display:block;margin:12px 0}.login input{width:100%;margin-top:6px}.login button{margin-top:12px}.status{font-size:14px;color:#595959}#auth-error,#error{color:#a01818}.login h2{margin-top:24px}#signout{margin-left:auto}
