:root{color-scheme:dark;font:14px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#0a101b;color:#dde6f4;font-variant-numeric:tabular-nums lining-nums}
*{box-sizing:border-box}body{margin:0;min-width:280px}header,main{width:100%;max-width:1440px;margin:auto;padding:20px 24px}header{display:flex;gap:12px 24px;align-items:center;flex-wrap:wrap;border-bottom:1px solid #243047}header>*{min-width:0}a{color:#77b5ff;text-underline-offset:3px}h1{font-size:21px;line-height:1.3;margin:0}h2{font-size:17px;line-height:1.4;margin:32px 0 12px}header span,p{color:#93a4bd}p{margin:10px 0 16px;max-width:100%;overflow-wrap:anywhere}input,button{font:inherit;padding:10px 14px;border:1px solid #354966;border-radius:8px;background:#16243a;color:#eef5ff}button{cursor:pointer;white-space:nowrap}button:hover{background:#203453}button:focus-visible,input:focus-visible,a:focus-visible{outline:2px solid #77b5ff;outline-offset:3px}input{display:block;margin:12px 0;width:min(100%,450px)}#login{max-width:620px;padding:20px;border:1px solid #243047;border-radius:12px;background:#101b2d}#login p{font-size:12px}#report{min-width:0}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.toolbar span{min-width:0;font-size:12px;color:#93a4bd}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.card{min-width:0;padding:16px 18px;border:1px solid #243047;border-radius:12px;background:#101b2d;color:#93a4bd;font-size:12px}.card strong{display:block;color:#eef5ff;font-size:clamp(20px,2.1vw,29px);font-weight:600;line-height:1.4;margin-top:10px;white-space:nowrap;letter-spacing:-.025em;font-variant-numeric:tabular-nums}.scroll{width:100%;max-width:100%;overflow-x:auto;border:1px solid #243047;border-radius:10px;margin:10px 0 20px;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#354966 #101b2d}table{width:100%;min-width:700px;border-collapse:collapse;font-size:13px}th,td{padding:12px 14px;vertical-align:middle;border-bottom:1px solid #243047}th{color:#91a6c3;background:#111c2d;font-weight:500;font-size:12px;line-height:1.4;text-align:right;white-space:normal;min-width:95px;max-width:210px}th:first-child{text-align:left;min-width:140px}td{text-align:right;white-space:nowrap}td.number{font-variant-numeric:tabular-nums;text-align:right}td.text{text-align:left;white-space:normal;overflow-wrap:anywhere;min-width:135px;max-width:260px;line-height:1.5;color:#b4c3d9}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#111c2d}details{margin:20px 0;border:1px solid #243047;border-radius:10px;padding:14px}summary{cursor:pointer;color:#a9c5e8;font-weight:500}details .scroll{margin-bottom:0}#account-total-note,#weekly-period-note,#point-explanation,#quality{font-size:12px;line-height:1.6;max-width:1100px}#error{color:#ffac9e}#notes{font-size:12px;max-width:1000px;line-height:1.7}#notes p{margin:8px 0}[hidden]{display:none!important}
@media(max-width:700px){header,main{padding:16px}header{gap:10px 16px}header span{flex-basis:100%;font-size:12px}h1{font-size:19px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.card{padding:12px;font-size:11px;line-height:1.4}.card strong{font-size:clamp(16px,4.5vw,24px);margin-top:8px}.toolbar{align-items:flex-start}h2{font-size:16px;margin-top:26px}th,td{padding:10px 12px}.scroll{border-radius:8px}details{padding:12px}}
@media(max-width:350px){.cards{grid-template-columns:minmax(0,1fr)}.card strong{font-size:25px}}
.toolbar-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.insights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.insights>div{min-width:0;padding:16px;border:1px solid #243047;border-radius:10px;background:#101b2d}.insights strong{font-size:13px;font-weight:600}.insights p{font-size:12px;line-height:1.6;margin:8px 0 0;color:#93a4bd}
@media(max-width:950px){.insights{grid-template-columns:1fr}.toolbar{flex-wrap:wrap}.toolbar-actions{margin-left:auto}}
.cost-form{display:grid;grid-template-columns:minmax(180px,1.3fr) minmax(200px,1.5fr) auto;gap:12px;align-items:end;padding:16px;border:1px solid #243047;border-radius:10px;background:#101b2d;margin:16px 0 28px}.cost-form label{display:block;min-width:0;color:#93a4bd;font-size:12px}.cost-form input,.cost-form select{display:block;max-width:100%;width:100%;margin:6px 0 0;font:inherit;font-size:14px;padding:10px 12px;color:#eef5ff;background:#16243a;border:1px solid #354966;border-radius:8px}.cost-form details,.cost-form>p{grid-column:1/-1;margin:0}.cost-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.account-summary table{min-width:650px}#cost-note{font-size:12px;line-height:1.6;color:#93a4bd}@media(max-width:700px){.cost-form{grid-template-columns:1fr}.cost-points{grid-template-columns:1fr}.cost-form button{justify-self:start}}
tfoot{background:#16243a;border-top:2px solid #405979;font-weight:600}tfoot td{padding-top:15px;padding-bottom:15px}tfoot td.text{color:#dde6f4}
.account-summary table{min-width:340px;table-layout:auto}.account-summary th,.account-summary td{padding:10px;min-width:60px}.account-summary th:first-child,.account-summary td.text{min-width:90px;max-width:140px}.account-summary th{font-size:11px}.account-summary td{font-size:13px}

/* Keep estimated values and totals aligned with their numeric column. */
.account-summary{max-width:760px}
.account-summary table{table-layout:fixed;min-width:440px}
.account-summary th:first-child,.account-summary td:first-child{width:28%;text-align:left}
.account-summary th:not(:first-child),.account-summary td:not(:first-child){width:24%;text-align:right;white-space:nowrap;min-width:0;max-width:none;font-variant-numeric:tabular-nums lining-nums;overflow-wrap:normal}
.account-summary th{white-space:normal!important}
.account-summary td{height:46px}
#weekly-stats td:nth-child(n+2):nth-child(-n+8),#weekly-total td:nth-child(n+2):nth-child(-n+8){text-align:right;white-space:nowrap;overflow-wrap:normal;font-variant-numeric:tabular-nums lining-nums}
#weekly-total td{vertical-align:top}

/* Compact overview cards. */
.cards{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.card{padding:10px 12px;border-radius:9px;font-size:11px;line-height:1.35}
.card strong{font-size:clamp(17px,1.6vw,23px);margin-top:5px;line-height:1.25;letter-spacing:-.015em}
.insights{gap:8px;margin:12px 0}
.insights>div{padding:11px 12px;border-radius:9px}
.insights strong{font-size:12px}.insights p{font-size:11px;line-height:1.45;margin-top:5px}
@media(max-width:1050px){.cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.card{padding:9px 10px}.card strong{font-size:19px}}
@media(max-width:350px){.card{font-size:10px}.card strong{font-size:16px}}

/* Muted accents on a neutral dark background. */
:root{background:#101214;color:#d5d9df;--mint:#9bb8aa}
a{color:#a5bcb0}header{border-bottom-color:#2b3035}
.card,.insights>div,.cost-form,#login{background:#171b1f;border-color:#2e353a}
.card:first-child{border-color:#3d4b44}.card:first-child strong{color:#c6d4cc}
button{background:#242d29;border-color:#45544b;color:#d1dcd5}button:hover{background:#2c3731;border-color:#607167}
button:focus-visible,input:focus-visible,a:focus-visible{outline-color:#91a99c}
.scroll,details{border-color:#30363c}
th{background:#1a1f24;color:#a2adb8}th,td{border-bottom-color:#2c3339}
tbody tr:hover{background:#1b2126}
tfoot{background:#222a28;border-top-color:#4a5b51}tfoot td.text{color:#d5ded8}
summary{color:#b4c2ba}
.positive,td.positive,td.text.positive{color:#a4bdae!important}
.negative,td.negative,td.text.negative{color:#c29f9f!important}

/* Balanced overview: six cards, no single card left on its own row. */
.cards{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.card{display:flex;flex-direction:column;justify-content:space-between;min-height:76px}
.card strong{margin-top:7px}
@media(min-width:1250px){.cards{grid-template-columns:repeat(6,minmax(0,1fr))}.card strong{font-size:21px}}
@media(max-width:700px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.card{min-height:72px}}

/* Center overview and controls while preserving numeric table alignment. */
header{justify-content:center;text-align:center}
h2{text-align:center}
.card{text-align:center;align-items:center}
.insights>div{text-align:center}
.account-summary{margin-left:auto;margin-right:auto}
#account-total-note,#weekly-period-note,#point-explanation,#quality,#cost-note{margin-left:auto;margin-right:auto;text-align:center}
.toolbar{justify-content:center;flex-wrap:wrap}
.toolbar-actions{margin-left:0;justify-content:center}
.cost-form{max-width:900px;margin-left:auto;margin-right:auto}
.cost-form label{text-align:center}
.cost-form input,.cost-form select{text-align:center}
.cost-form>button{align-self:end}
.cost-form>p{text-align:center}
@media(max-width:700px){.cost-form button{justify-self:center}.toolbar-actions{margin-left:0}.toolbar{align-items:center}.toolbar span{text-align:center}}

.token-detail-control{display:flex;align-items:center;justify-content:center;gap:12px;margin:12px auto}
.token-detail-control select{font:inherit;min-width:160px;max-width:100%;padding:8px 12px;border-radius:8px;border:1px solid #45544b;background:#171b1f;color:#d5d9df}
#token-detail-note{font-size:12px;text-align:center;max-width:900px;margin:10px auto 16px}

.live-comparison-note{max-width:900px;margin:10px auto 16px;text-align:center;font-size:12px}

.overview-title{font-size:14px;margin:10px 0 10px;color:#c3cec7;font-weight:600}
.secondary-overview-title{font-size:12px;color:#939fa6;margin-top:18px}
.current-week-cards{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:4px}
.current-week-cards .card{min-height:82px;border-color:#43534a;background:#1a211e}
.current-week-cards .card strong{font-size:24px}
#summary{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:1050px){#summary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.current-week-cards{gap:6px}.current-week-cards .card{padding:9px 7px;min-height:78px;font-size:10px}.current-week-cards .card strong{font-size:clamp(13px,3.6vw,21px)}#summary{grid-template-columns:repeat(2,minmax(0,1fr))}}

#summary{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:900px){#summary{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Compact, balanced daily/weekly overview. */
header,main{padding-top:14px;padding-bottom:14px}h1{font-size:19px}header{gap:8px 18px}
.toolbar{margin-bottom:12px}.overview-title{font-size:12px;margin:10px 0 7px}
.card,.current-week-cards .card{padding:8px 10px;min-height:65px;border-radius:8px;font-size:10px}
.card strong,.current-week-cards .card strong{font-size:20px;margin-top:5px;line-height:1.2}
.cards{gap:7px}.today-cards,.current-week-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
.overview-note{text-align:center;font-size:11px;line-height:1.4;color:#8e9b94;margin:6px auto 10px;max-width:900px}
@media(max-width:700px){header,main{padding:12px}.today-cards,.current-week-cards{gap:5px}.card,.current-week-cards .card{padding:8px 6px;min-height:64px}.today-cards .card strong,.current-week-cards .card strong{font-size:clamp(12px,3.6vw,19px)}#summary .card strong{font-size:18px}}

/* Quiet dashboard styling: restrained mint accents and clearer grouping. */
:root{background:#101315;color:#dbe0e3}
body{background:radial-gradient(ellipse 900px 360px at 50% 0,rgba(130,166,151,.045),transparent),#101315}
header{max-width:1392px;margin:0 auto;padding:16px 18px;border-bottom:1px solid #2b3335}
header h1{font-weight:600;letter-spacing:-.035em}header>a{font-size:12px;text-decoration:none;color:#a2b9ad}
header #status{font-size:11px;color:#889993}
main{padding-top:18px}
.overview-section{padding:12px 14px;border:1px solid #303b37;border-radius:12px;background:rgba(25,32,29,.4);margin-bottom:12px}
.overview-today{border-color:#465b50;background:linear-gradient(120deg,rgba(124,161,140,.055),rgba(22,29,26,.45));box-shadow:0 4px 18px rgba(0,0,0,.08)}
.overview-section .overview-title{margin:0 0 10px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:600;letter-spacing:.02em;color:#bdccc3}
.overview-caption{font-size:10px;font-weight:400;color:#889c90;padding:2px 6px;border:1px solid #37483e;border-radius:4px}
.overview-dot{width:5px;height:5px;border-radius:50%;background:#99bda6;box-shadow:0 0 0 3px rgba(153,189,166,.07)}
.overview-section .card{background:#181e1b;border-color:#303d35;box-shadow:inset 0 1px 0 rgba(255,255,255,.015)}
.overview-today .card strong{color:#c7dace;font-weight:600}
.overview-week .card{background:#171c1b;border-color:#2e3833}
#summary .card{background:#181c20;border-color:#2c343b}
.card strong{letter-spacing:-.025em;font-weight:550}
.overview-note{color:#8c9d92;font-size:10px;margin-bottom:0}
.secondary-overview-title{margin:17px 0 9px;color:#85928c;font-weight:500}
h2:not(.overview-title){font-size:15px;letter-spacing:-.015em;font-weight:550;color:#c3cdc8}
.scroll{box-shadow:0 3px 12px rgba(0,0,0,.06)}
th{font-size:11px;color:#94a59b;background:#19211d}
tfoot{background:#202d25;border-top:1px solid #536558}
tbody tr:hover{background:#1c2420}
button{transition:background .15s,border-color .15s}
.toolbar button{padding:7px 11px;font-size:12px;border-radius:7px}
.insights>div{background:#171d1a;border-color:#2c3831}
@media(max-width:700px){header{padding:12px}.overview-section{padding:10px 8px;border-radius:10px;margin-bottom:9px}.overview-section .overview-title{margin-bottom:8px}.overview-note{font-size:10px;line-height:1.45}.toolbar{gap:9px}}

/* Compact header with one clear title and quiet utility actions. */
.analytics-header{display:flex;align-items:center;justify-content:space-between;gap:18px;max-width:1392px;padding:20px 16px 17px;text-align:left;border-bottom:1px solid #2e3732}
.header-brand{min-width:0}.header-wordmark{display:flex;align-items:center;gap:8px;margin-bottom:7px}
.header-mark{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border:1px solid #52685a;border-radius:6px;color:#c5d9cc;background:#202c24;font-size:13px;font-weight:650;font-style:italic}
.header-kicker{font-size:10px;font-weight:600;letter-spacing:.13em;color:#aebfb3}.header-kicker span{color:#727f77;letter-spacing:.08em}
.analytics-header h1{font-size:22px;letter-spacing:-.035em;font-weight:550;margin:0 0 4px}
.analytics-header #status{display:block;color:#84978a;font-size:11px;line-height:1.45}
.header-right{display:flex;flex-direction:column;align-items:flex-end;gap:9px;min-width:0}
.analytics-header .header-back{font-size:11px;color:#a6b4ac;text-decoration:none;white-space:nowrap}.header-back:hover{color:#d6e0d9}
#report-tools{display:flex;flex-direction:column;align-items:flex-end;gap:7px}
#updated{font-size:10px;color:#7f8c84;font-variant-numeric:tabular-nums;white-space:normal;text-align:right;max-width:330px}
.analytics-header button{padding:6px 10px;border-radius:6px;font-size:11px;line-height:1.35;background:#202923;border-color:#3d4d42;color:#bfcfc3}
.analytics-header .header-logout{background:transparent;border-color:#303b34;color:#8f9e93}
@media(max-width:700px){.analytics-header{margin:0 12px;width:calc(100% - 24px);padding:14px 0 12px;gap:12px;align-items:flex-start;flex-wrap:wrap}.analytics-header h1{font-size:19px}.header-brand{flex:1 1 180px}.header-right{flex:1 1 150px;align-items:flex-end}.header-wordmark{margin-bottom:5px}#updated{max-width:220px}.header-kicker{font-size:9px}}
@media(max-width:390px){.header-brand,.header-right{flex-basis:100%}.header-right{flex-direction:row;align-items:center;justify-content:space-between;width:100%}.header-right #report-tools{gap:5px}#updated{font-size:9px;max-width:190px}.analytics-header .toolbar-actions{gap:5px}.analytics-header button{font-size:10px;padding:5px 8px}}

.analytics-footer{display:flex;align-items:center;justify-content:space-between;gap:10px 20px;flex-wrap:wrap;border-top:1px solid #2e3732;margin-top:24px;padding:14px 0;font-size:11px;color:#7f8f84}.analytics-footer a{color:#99ad9f;text-decoration:none}.analytics-footer #status{font-size:10px}.analytics-header h1{margin-bottom:0}@media(max-width:700px){.analytics-footer{justify-content:center;text-align:center}}

.table-sort{display:inline-flex;align-items:center;justify-content:flex-end;gap:5px;width:100%;padding:0;border:0;border-radius:3px;background:transparent;color:inherit;font:inherit;line-height:inherit;text-align:inherit;white-space:normal}
th:first-child .table-sort{justify-content:flex-start}
.table-sort::after{content:'↕';flex:none;color:#68776e;font-size:11px;opacity:.65}
th[aria-sort="ascending"] .table-sort::after{content:'↑';color:#bed2c3;opacity:1}
th[aria-sort="descending"] .table-sort::after{content:'↓';color:#bed2c3;opacity:1}
.table-sort:hover{background:transparent;color:#d5e1d9}

.experiment-panel{margin-top:24px;padding:14px;border:1px solid #38483e;border-radius:10px;background:#171e1a}
.experiment-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.experiment-heading h2{margin:0;font-size:15px}.experiment-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:center}.experiment-actions button{padding:7px 10px;font-size:11px}.experiment-actions button:disabled{opacity:.4;cursor:default}.experiment-panel .scroll{margin-bottom:9px}#experiment-status{margin-top:9px;margin-bottom:9px}
@media(max-width:700px){.experiment-heading{justify-content:center}.experiment-panel{padding:11px 9px}}

/* Tighter spacing between dashboard sections. */
main{padding-top:12px;padding-bottom:12px}
h2:not(.overview-title){margin-top:20px;margin-bottom:8px}
.overview-section{margin-bottom:8px;padding:10px 12px}
.overview-title{margin-top:8px;margin-bottom:6px}
.secondary-overview-title{margin-top:12px;margin-bottom:7px}
.scroll{margin-top:7px;margin-bottom:13px}
p{margin-top:7px;margin-bottom:10px}
.live-comparison-note{margin-top:7px;margin-bottom:10px;line-height:1.45}
.cost-form{margin-top:10px;margin-bottom:18px;padding:12px;gap:9px}
details{margin-top:13px;margin-bottom:13px;padding:11px}
.experiment-panel{margin-top:16px;padding:11px 12px}
.experiment-heading h2{margin:0}
.experiment-panel .scroll{margin-bottom:6px}
#experiment-status{margin-top:6px;margin-bottom:6px}
.analytics-footer{margin-top:16px;padding:11px 0}
@media(max-width:700px){.overview-section{padding:9px 8px;margin-bottom:7px}h2:not(.overview-title){margin-top:16px;margin-bottom:7px}.experiment-heading h2{margin:0}.experiment-panel{padding:10px 8px}.cost-form{padding:11px}.scroll{margin-bottom:11px}}

.current-week-cards{grid-template-columns:repeat(2,minmax(0,1fr))}

.cost-form .referral-input{grid-column:1/-1;width:min(100%,380px);justify-self:center}.referral-input small{display:block;margin-top:5px;color:#84958a;font-size:10px;line-height:1.4}

#weekly-stats td:nth-child(9),#weekly-total td:nth-child(9){text-align:right;white-space:nowrap}

/* Group overview metrics closely and emphasize values. */
.cards{gap:8px}.card,.current-week-cards .card{height:78px;min-height:78px;justify-content:center;gap:5px;padding:9px 10px;font-size:11px}
.card strong,.current-week-cards .card strong{font-size:clamp(24px,2.3vw,32px);line-height:1.1;margin-top:0;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.overview-section{padding:9px 10px;margin-bottom:8px}.overview-section .overview-title{margin-bottom:7px}
@media(max-width:700px){.cards{gap:6px}.card,.current-week-cards .card{height:74px;min-height:74px;padding:8px 6px;font-size:10px}.today-cards{grid-template-columns:1fr}.card strong,.today-cards .card strong,.current-week-cards .card strong,#summary .card strong{font-size:clamp(21px,5.6vw,29px)}.today-cards .card{height:66px;min-height:66px}.overview-section{padding:8px}}

@media(max-width:360px){#summary,.current-week-cards{grid-template-columns:1fr}}

/* Observed hour: independent of the selected reporting period. */
.hourly-live{display:flex;align-items:center;justify-content:space-between;gap:10px 24px;padding:10px 14px;margin:0 0 10px;border:1px solid #3c5145;border-radius:9px;background:#19241e;font-variant-numeric:tabular-nums}
.hourly-live>div{display:flex;align-items:center;gap:14px;flex-shrink:0}.hourly-live span{font-size:12px;color:#a7b9ae}.hourly-live strong{font-size:26px;font-weight:550;line-height:1.2;color:#c8ded0;min-width:155px;text-align:right;white-space:nowrap}
.hourly-live p{margin:0!important;font-size:11px;line-height:1.5;color:#93a79b;text-align:right;max-width:650px}.hourly-live.is-stale strong{color:#8d9992}
@media(max-width:700px){.hourly-live{flex-wrap:wrap;padding:9px 10px;gap:5px}.hourly-live>div{width:100%;justify-content:space-between;gap:8px}.hourly-live strong{font-size:24px;min-width:0}.hourly-live p{text-align:left;font-size:10px}}

 .referral-adjust-form{display:grid;grid-template-columns:minmax(130px,200px) repeat(2,minmax(110px,140px));align-items:end;justify-content:center;gap:8px;margin:8px auto 12px;padding:10px;border:1px solid #34463a;border-radius:9px;max-width:650px}.referral-adjust-form label{display:grid;gap:5px;min-width:0;margin:0;font-size:11px;line-height:1.4;color:#9aad9f}.referral-adjust-form input{width:100%;min-width:0;height:36px;margin:0;padding:7px 10px;font-size:13px;line-height:20px}.referral-adjust-form button{width:100%;height:36px;margin:0;padding:7px 10px;font-size:12px;line-height:20px}.referral-adjust-form small{grid-column:1/-1;margin:0;text-align:center;font-size:10px;line-height:1.5;color:#8ca291}@media(max-width:480px){.referral-adjust-form{grid-template-columns:repeat(2,minmax(0,1fr))}.referral-adjust-form label{grid-column:1/-1}}

/* Shared compact analytics login; RH-Core visual baseline. */
#login,.login-loading{box-sizing:border-box;width:min(100%,400px);max-width:400px;margin:40px auto;padding:22px;border:1px solid #34463a;border-radius:14px;background:#171e1a;color:#d5ddd8;box-shadow:0 10px 32px #0002;font:13px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-align:left}
#login label{display:block;font-size:12px;color:#a6b9ac}#login input{box-sizing:border-box;display:block;width:100%;max-width:100%;margin:8px 0 14px;padding:10px 12px;border:1px solid #3d5143;border-radius:8px;background:#111813;color:#dce8df;font:inherit}
#login button{width:100%;padding:10px 14px;border:1px solid #496350;border-radius:8px;background:#263b2d;color:#dce8df;font:inherit;cursor:pointer}#login button:hover{background:#304a38}#login button:disabled{opacity:.6;cursor:wait}#login small,#login p{display:block;font-size:11px;line-height:1.6;color:#899e90;margin:12px 0 0}#login input:focus-visible,#login button:focus-visible{outline:2px solid #9fbaa8;outline-offset:3px}
.login-confirmed{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:600;color:#b7d1bf;letter-spacing:.01em}
.login-confirmed>span{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#2c4535;color:#c3ddca}
.login-loading-body{display:flex;align-items:center;gap:14px;min-height:92px;padding:20px 0}
.login-loading-body>div{min-width:0}.login-loading-body strong{font-size:17px;font-weight:550;color:#d5e1d8;letter-spacing:-.02em}
.login-loading-body p{font-size:12px;line-height:1.6;color:#9aad9f;margin:5px 0 0;min-height:38px;overflow-wrap:anywhere}
.login-spinner{box-sizing:border-box;flex:0 0 26px;width:26px;height:26px;border:2px solid #33483b;border-top-color:#a3c7af;border-radius:50%;animation:analytics-login-spin 1.1s linear infinite}
.login-loading-footer{border-top:1px solid #2c3b31;padding-top:12px;font-size:11px;color:#829889}
@keyframes analytics-login-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.login-spinner{animation:none}}
@media(max-width:480px){#login,.login-loading{margin:26px auto;padding:18px}.login-loading-body strong{font-size:16px}}

/* Secondary dashboards use the first RH–Vari analytics page as their shell. */
.analytics-secondary header{height:auto}.analytics-secondary main{max-width:1440px;padding:16px 24px}.analytics-secondary .header-right #tools{display:flex;align-items:center;gap:12px}.analytics-secondary .wordmark{display:none}.analytics-secondary .period{justify-content:flex-end;margin:8px 0 10px;font-size:11px}.analytics-secondary .period label{color:#93a4bd}.analytics-secondary .period select{width:auto;font:inherit;font-size:11px;padding:5px 8px}.analytics-secondary .period input{width:auto}.analytics-secondary .period .pill{font-size:10px}.analytics-secondary .table-wrap{max-width:100%;margin:10px 0 14px}.analytics-secondary .experiment-panel .scroll{margin-bottom:0}.analytics-secondary #cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.analytics-secondary #cards .card{background:#181c20;border-color:#2c343b}.analytics-secondary .overview-note{text-align:center;margin:7px 0 10px}.analytics-secondary .sort{font:inherit;border:0;padding:0;background:none;color:inherit;cursor:pointer;white-space:normal}.analytics-secondary .section-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.analytics-secondary canvas{width:100%;display:block}.analytics-secondary footer{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;font-size:11px}.analytics-secondary .positive{color:#a7c3b1!important}.analytics-secondary .negative{color:#c5a1a1!important}.analytics-secondary .hourly-live{margin-top:0}.analytics-secondary .header-right #updated{margin:0}.analytics-secondary #cards strong{font-size:clamp(22px,2.3vw,30px)}
@media(max-width:700px){.analytics-secondary main{padding:12px}.analytics-secondary #cards{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-secondary .header-right #tools{flex-wrap:wrap;gap:7px}.analytics-secondary #cards strong{font-size:clamp(18px,4.8vw,26px)}}

/* Matching three-card current-week overview on every analytics page. */
.current-week-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:700px){.current-week-cards{grid-template-columns:1fr}}

/* Four matching weekly metrics: live, turnover, expenses, point price. */
.current-week-cards{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:700px){.current-week-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:360px){.current-week-cards{grid-template-columns:1fr}}

/* Compact report tables: wrap headings, preserve complete numeric values. */
main :is(.scroll,.table-wrap) table{width:100%;min-width:0;table-layout:auto;font-size:11px}
main :is(.scroll,.table-wrap) :is(th,td){padding:6px 5px;min-width:0;line-height:1.3}
main :is(.scroll,.table-wrap) th{font-size:10px;white-space:normal;max-width:120px;overflow-wrap:normal}
main :is(.scroll,.table-wrap) th:first-child{min-width:0;max-width:115px}
main :is(.scroll,.table-wrap) td{white-space:nowrap;font-variant-numeric:tabular-nums}
main :is(.scroll,.table-wrap) td.text{min-width:0;max-width:180px;white-space:normal;overflow-wrap:anywhere}
main :is(.scroll,.table-wrap) :is(.sort,.table-sort){padding:0;min-width:0;gap:3px;line-height:1.3;white-space:normal;overflow-wrap:normal;font-size:inherit}
@media(max-width:700px){main :is(.scroll,.table-wrap) :is(th,td){padding:5px 4px}main :is(.scroll,.table-wrap) td{font-size:10px}main :is(.scroll,.table-wrap) th{font-size:9px}}

/* Slightly denser reports, full values retained. */
main :is(.scroll,.table-wrap) :is(th,td){padding:5px 4px;line-height:1.25}
main :is(.scroll,.table-wrap) th{font-size:9px;max-width:105px}
main :is(.scroll,.table-wrap) td{font-size:10.5px}
.report-source-freshness{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:2px 10px;font-size:10px;line-height:15px;font-variant-numeric:tabular-nums;color:#8d9992}
.report-source-freshness .fresh{color:#a7c3b1}.report-source-freshness .stale{color:#8d9992}
main :is(.scroll,.table-wrap) td.result-verification{white-space:normal;min-width:120px;max-width:165px}
.reconciliation-time,.reconciliation-reason{display:block;font-size:9px;line-height:13px;color:#8d9992;margin-top:2px;font-variant-numeric:tabular-nums}
.reconciliation-time{white-space:nowrap}.reconciliation-reason{white-space:normal;overflow-wrap:anywhere}
@media(max-width:700px){.report-source-freshness{justify-content:flex-start;font-size:9px}main :is(.scroll,.table-wrap) :is(th,td){padding:4px 3px}}

.farm-efficiency-score .efficiency-coverage{display:block;margin-top:2px;font-size:9px;line-height:12px;color:#8d9992;white-space:nowrap}

/* Common compact report metric shells. */
#today-summary>.card,#current-week-summary>.card{min-height:0;padding:6px 7px;gap:2px}

#updated.report-source-fresh{color:#a7c3b1}#updated.report-source-stale{color:#8d9992}
