:root{--ink:#152a30;--muted:#718085;--teal:#116653;--line:#e2e8e6;--bg:#f5f7f6;--green:#18764f;--red:#bd4d41;--amber:#a37421}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.5 Inter,Arial,sans-serif}button,input,select{font:inherit}button,a,input,select{outline-offset:4px}button,a{cursor:pointer}button{border:0;background:none;color:inherit}a{color:inherit;text-decoration:none}h1,h2,p{margin:0}h1{font-size:31px;letter-spacing:-1.2px;font-weight:600;line-height:1.2}h2{font-size:16px;letter-spacing:-.25px}p{color:var(--muted)}[hidden]{display:none!important}.brand{font-size:27px;font-weight:800;letter-spacing:-1.5px;line-height:1}.brand span{font-weight:400}.brand small{display:block;font-size:8px;letter-spacing:2.3px;margin-top:8px;font-weight:600}.primary,.secondary,.file-label{display:inline-flex;align-items:center;justify-content:center;border-radius:7px;padding:11px 17px;font-weight:600;font-size:12px;white-space:nowrap}.primary{background:var(--teal);color:#fff}.primary:hover{background:#0a4e3e}.secondary{border:1px solid #cbd6d1;background:#fff}.link{font-size:12px;color:var(--teal);font-weight:600;padding:8px 0}.square{border:1px solid var(--line);border-radius:6px;font-size:22px;line-height:30px;width:34px;height:34px}.wide{width:100%}.muted{color:var(--muted)}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:var(--teal)}.test-label{display:inline-block;font-size:9px;letter-spacing:1.5px;font-weight:700;border:1px solid #d0ddd6;background:#f1f6f2;color:#567361;padding:5px 8px;border-radius:4px}.fine{font-size:11px;line-height:1.7;color:var(--muted);margin-top:18px}.auth{min-height:100vh;display:grid;grid-template-columns:1.12fr 1fr;background:#fff}.auth-story{background:#153f37;color:#eaf2ed;padding:54px 12%;display:flex;flex-direction:column;justify-content:space-between;min-height:740px;background-image:radial-gradient(ellipse at 100% 100%,#316657,transparent 65%)}.auth-story h1{font-size:64px;letter-spacing:-3px;line-height:1.05;margin:24px 0}.auth-story .eyebrow,.auth-story p{color:#aac6b9}.auth-story p{font-size:17px;line-height:1.8}.pills{display:flex;gap:10px;margin-top:30px}.pills span{border:1px solid #577c6e;border-radius:30px;padding:6px 15px;font-size:12px}.powered{font-size:11px;color:#b6d0c1}.auth-side{margin:auto;width:min(370px,80%);padding:40px 0}.auth-side h2{font-size:30px;margin:24px 0 8px;letter-spacing:-1px}.auth-side form{margin-top:28px}label{display:block;font-size:12px;font-weight:600;margin:15px 0}input,select{display:block;width:100%;padding:11px 12px;border:1px solid #d4ded9;border-radius:6px;color:var(--ink);background:#fff;margin-top:6px}label small{display:block;color:var(--muted);font-weight:400;font-size:10px;margin:5px 0 18px}.auth-side .link{margin-top:16px}header{height:89px;display:flex;align-items:center;padding:0 4%;background:#fff;border-bottom:1px solid var(--line);gap:45px}.business-switch{display:flex;gap:12px;align-items:center}.business-switch .muted{font-size:10px;white-space:nowrap}.business-switch select{width:230px;padding:8px 12px;margin:0;font-size:12px}.header-right{margin-left:auto;display:flex;align-items:center;gap:22px;font-size:12px}nav{display:flex;padding:0 4%;border-bottom:1px solid var(--line);background:#fff;gap:30px;height:53px}nav button{font-size:12px;color:var(--muted);border-bottom:2px solid transparent;padding:0 2px}nav button.active{color:var(--teal);border-color:var(--teal);font-weight:700}nav button span{font-size:10px}nav .nav-note{margin-left:auto;align-self:center;font-size:10px;color:#8c9994}main{max-width:1490px;margin:auto;padding:34px 4% 20px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:20px}.page-heading h1{margin-top:8px}.page-heading p{font-size:12px;margin-top:8px}.health-banner{display:flex;align-items:center;justify-content:space-between;background:#eaf2ee;border:1px solid #d8e6df;border-radius:9px;padding:20px 24px;gap:20px}.health-banner strong{font-size:16px;font-weight:600}.health-banner p{margin:5px 0 0 19px;font-size:11px;color:#647b70}.health-banner.red{background:#faf0ed;border-color:#ebd4cd}.health-banner.amber{background:#faf5e9;border-color:#e8dfc6}.status-dot{display:inline-block;width:7px;height:7px;background:#97a7a0;border-radius:50%;margin-right:10px;vertical-align:middle}.status-dot.green{background:var(--green)}.status-dot.red{background:var(--red)}.status-dot.amber{background:var(--amber)}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:19px 0}.metric{text-align:left;background:#fff;border:1px solid var(--line);padding:20px 22px;border-radius:9px}.metric-top{display:flex;justify-content:space-between;font-size:11px;color:#61716c}.metric-top b{font-size:14px;color:#759b8b;font-weight:500}.metric strong{display:block;font-size:29px;letter-spacing:-1px;margin:12px 0 5px;font-weight:600}.metric small{font-size:10px;color:var(--muted)}.metric:hover{border-color:#7b9d8c}.overview-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:18px}.panel{background:#fff;border:1px solid var(--line);border-radius:9px;padding:22px;margin-bottom:18px;min-width:0}.panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:20px}.panel-heading p{font-size:11px;margin-top:3px}.legend{display:flex;gap:12px;font-size:9px;color:var(--teal)}.legend span:nth-child(2){color:#a9be7f}#chart{height:225px;display:flex;align-items:center;justify-content:center}#chart svg{width:100%;height:100%}#chart text{font:10px Arial;fill:#8a9992}.chart-grid{stroke:#edf1ee;stroke-width:1}.line-revenue{stroke:#176b56;stroke-width:2.5;fill:none}.line-profit{stroke:#a5b975;stroke-width:2.5;fill:none}.signal{border-bottom:1px solid #edf0ee;padding:12px 0}.signal:first-child{padding-top:0}.signal:last-child{border:0;padding-bottom:0}.signal-head{display:flex;justify-content:space-between;align-items:center;font-size:12px}.signal p{font-size:10px;line-height:1.6;margin:5px 0 0 17px}.badge{font-size:9px;padding:3px 7px;border-radius:4px;background:#eef2f0;color:#667c70}.badge.red{background:#f8eae7;color:var(--red)}.badge.amber{background:#faf2df;color:var(--amber)}.badge.green{background:#e9f2ec;color:var(--green)}.bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.empty{text-align:center;color:var(--muted);padding:30px 16px}.empty p{font-size:12px;max-width:350px;margin:10px auto}.empty-symbol{font-size:30px;display:block;color:#9eb3a7}.empty small{display:block;font-size:11px;margin-top:15px}.onboarding{background:#fff;border:1px solid var(--line);border-radius:12px;padding:70px 20px}.onboarding h1{margin-top:10px}.onboarding .primary{margin-top:15px}.target{padding:10px 0}.target-head{display:flex;justify-content:space-between;font-size:12px}.target small{font-size:10px;color:var(--muted)}progress{width:100%;height:5px;display:block;accent-color:var(--teal);margin:9px 0}.action-item{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:14px 0;border-bottom:1px solid var(--line)}.action-item:last-child{border:0}.action-item strong{font-size:12px;font-weight:600}.action-item small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.action-item select{width:135px;font-size:11px;padding:7px;margin:0}.source-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:18px}.source-icon{display:block;color:var(--teal);font-size:26px;margin-bottom:12px}.source-grid h2{font-size:20px;margin-bottom:7px}.source-grid p{font-size:12px}.source-grid p.fine{font-size:11px}.file-label{background:var(--teal);color:#fff;cursor:pointer;margin:18px 0 0;position:relative;overflow:hidden}.file-label input{position:absolute;inset:0;opacity:0;cursor:pointer}.tally{position:relative}.tally .test-label{position:absolute;right:22px;top:26px}.connection-state{font-size:12px;padding:12px 0;margin-top:15px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{color:var(--muted);font-size:10px;font-weight:500;border-bottom:1px solid var(--line);padding:10px}td{padding:13px 10px;border-bottom:1px solid #eef2ef}.audit summary{font-size:12px;cursor:pointer}.audit-entry{padding:10px 0;font-size:11px;border-bottom:1px solid var(--line)}.audit-entry small{color:var(--muted);margin-left:10px}footer{padding:18px 4% 25px;display:flex;justify-content:space-between;color:#8b9992;font-size:10px}footer a{color:#557767}dialog{border:1px solid var(--line);border-radius:12px;padding:26px;width:min(720px,92vw);max-height:85vh;color:var(--ink);box-shadow:0 25px 80px #12352525}dialog::backdrop{background:#0b2c2855;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.dialog-heading h2{font-size:21px}.dialog-actions{display:flex;gap:12px;margin-top:22px;justify-content:flex-end}.warning{background:#faf2df;color:#866622;padding:14px;border-radius:6px;font-size:12px;margin:15px 0}.evidence{padding:16px;background:#f5f8f6;border-radius:8px;margin:12px 0;font-size:12px}.evidence strong{display:block;margin-bottom:6px}.evidence p{color:#53685c}#notice{position:fixed;z-index:20;bottom:25px;left:50%;transform:translateX(-50%);background:#173e34;color:#fff;border-radius:8px;padding:14px 24px;max-width:90%;box-shadow:0 8px 30px #14332330;font-size:12px}button:disabled{opacity:.55;cursor:wait}@media(min-width:1550px){main{padding-top:38px}}@media(max-width:1050px){header{gap:25px}.header-right #owner-name,.business-switch .muted{display:none}.overview-grid{grid-template-columns:1.1fr 1fr}.metric{padding:17px}.metric strong{font-size:25px}.auth-story h1{font-size:52px}}@media(max-width:760px){header{height:auto;padding:20px;flex-wrap:wrap;gap:20px}.header-right{gap:12px}.business-switch{order:3;width:100%}.business-switch select{flex:1}.brand{font-size:24px}nav{padding:0 20px;gap:24px}.nav-note{display:none}main{padding:25px 20px}.page-heading h1{font-size:25px}.health-banner{align-items:flex-start;flex-direction:column;padding:18px}.metrics{grid-template-columns:repeat(2,1fr);gap:10px}.overview-grid,.bottom-grid,.source-grid{grid-template-columns:1fr}.panel{padding:18px}.auth{grid-template-columns:1fr}.auth-story{min-height:0;padding:28px}.auth-story>div,.auth-story .powered{display:none}.auth-side{margin:20px auto}.page-heading .secondary{font-size:10px;padding:10px}footer{padding:20px;gap:15px}.test-label{font-size:8px}.fine{font-size:10px}}

.tally-buttons{justify-content:flex-start;margin:18px 0}.connection-card{padding:16px 0;border-top:1px solid var(--line)}.connection-card .fine{margin-top:6px}.setup-steps{padding-left:20px}.setup-steps li{margin:15px 0}.setup-steps p{font-size:12px;margin-top:5px}.pair-code{font:700 25px monospace;letter-spacing:2px;padding:18px;background:#eaf2ee;border-radius:8px;text-align:center;margin:15px 0}.figure-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.checkline{display:flex;gap:10px;align-items:flex-start;font-weight:400}.checkline input{width:auto;margin-top:4px}@media(max-width:500px){.figure-grid{grid-template-columns:1fr}.pair-code{font-size:18px}}

.insight-toolbar,.insight-controls{display:flex;align-items:center;justify-content:space-between;gap:14px}.insight-toolbar{margin:24px 0 16px}.insight-toolbar .fine{margin-top:3px}.insight-controls select{margin:0;min-width:160px;font-size:12px}.insight-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}.insight-grid .metric{min-width:0}.report-card{border:1px solid var(--line);background:white;border-radius:9px;padding:20px}.report-card .fine{margin-top:6px}.report-state{font-size:14px;margin-top:18px;color:var(--ink)}.report-links{display:flex;justify-content:space-between;gap:8px;margin-top:12px}.insight-grid.compact .metric,.insight-grid.compact .report-card{padding:14px}.insight-grid.compact .metric strong{font-size:24px;margin:8px 0}.insight-grid.compact .report-state{margin-top:10px;font-size:12px}.preset-row{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.widget-option{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:12px}.widget-option label{margin:12px 0;flex:1;align-items:center}.widget-option label small{margin:0 0 0 auto;font-size:10px}.widget-option .square{font-size:16px;width:28px;height:28px;line-height:25px}.widget-option>div{white-space:nowrap}.report-options{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.report-meta{display:flex;gap:14px;align-items:center;font-size:12px}.report-detail{max-height:42vh}.report-detail td{overflow-wrap:anywhere;vertical-align:top}.report-detail td:first-child{width:45%}.report-detail details{font-size:10px;color:var(--muted);margin-top:4px}.report-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:15px;font-size:11px}@media(max-width:1100px){.insight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.insight-toolbar{align-items:flex-start;flex-direction:column}.insight-controls{width:100%}.insight-controls select{min-width:0}.report-card{padding:15px}.report-options{grid-template-columns:1fr}}@media(max-width:450px){.insight-grid{grid-template-columns:1fr}.insight-controls{flex-wrap:wrap}}

.live-refresh-status{display:flex;justify-content:space-between;gap:18px;background:#eaf2ee;border:1px solid #d8e6df;border-radius:8px;padding:15px 20px;margin-bottom:16px;font-size:12px}.live-refresh-status p{margin:5px 0;font-size:11px}.live-refresh-status small{color:var(--muted);font-size:10px}.metric-date{display:block;margin-top:5px}.insight-controls{flex-wrap:wrap}@media(max-width:760px){.live-refresh-status{flex-direction:column;gap:5px}}
/* Touch-friendly dashboard and presentation mode. */
#screen-display-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px solid var(--line);margin-bottom:16px}#display-business-name{font-size:clamp(20px,2vw,34px);margin-top:5px}.display-actions{display:flex;align-items:center;gap:10px}.display-rotate{display:flex;align-items:center;gap:8px;margin:0;font-size:12px;white-space:nowrap}.display-rotate input{width:18px;height:18px;margin:0}#display-page{font-size:12px;white-space:nowrap}.big-screen header,.big-screen nav,.big-screen footer,.big-screen #view-overview>.page-heading,.big-screen .insight-toolbar{display:none}.big-screen main{max-width:none;padding:0 3vw 18px}.big-screen .insight-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(12px,1.5vw,28px)}.big-screen .metric,.big-screen .report-card{padding:clamp(18px,2vw,36px);min-height:175px}.big-screen .metric strong{font-size:clamp(30px,3.1vw,64px)}.big-screen .metric-top,.big-screen .report-state{font-size:clamp(15px,1.25vw,24px)}.big-screen .metric small,.big-screen .report-card .fine{font-size:clamp(11px,.95vw,17px)}.big-screen .report-links .link{font-size:clamp(13px,1vw,18px)}.big-screen .live-refresh-status{padding:18px 24px}.big-screen .live-refresh-status strong{font-size:clamp(14px,1.2vw,22px)}.big-screen .live-refresh-status p{font-size:clamp(12px,1vw,18px)}.big-screen .insight-grid>.empty{grid-column:1/-1}.big-screen #screen-display-bar button{min-height:44px}.big-screen .insight-grid.compact .metric strong{font-size:clamp(30px,3.1vw,64px)}
@media(max-width:1100px){.big-screen .insight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#screen-display-bar{flex-wrap:wrap}.display-actions{flex-wrap:wrap}}
@media(max-width:760px){.insight-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px}.insight-controls select,.insight-controls button{width:100%;min-width:0;min-height:44px;font-size:12px;padding:10px;white-space:normal}.insight-grid .metric,.report-card{overflow-wrap:anywhere}.report-links{flex-wrap:wrap}.report-links .link{min-height:44px;display:inline-flex;align-items:center}.header-right{margin-left:auto}nav{gap:16px;overflow-x:auto}nav button{white-space:nowrap;min-height:48px}.business-switch select{min-width:0;width:100%}.business-switch .square{flex-shrink:0}.page-heading{flex-wrap:wrap}dialog{padding:18px;width:94vw;max-height:90dvh}.dialog-actions{flex-wrap:wrap}.dialog-actions button{min-height:44px}.widget-option .square{width:40px;height:40px;line-height:36px}.widget-option label{min-width:0}.widget-option label small{display:none}.report-pager button{min-height:44px}input,select{font-size:16px}.figure-grid input{min-width:0}.report-detail td{font-size:11px}footer{flex-wrap:wrap}.live-refresh-status{overflow-wrap:anywhere}.display-actions{gap:8px}#display-business-name{overflow-wrap:anywhere}}
@media(max-width:599px){.big-screen .insight-grid{grid-template-columns:1fr}.big-screen main{padding:0 14px 16px}.big-screen .metric,.big-screen .report-card{min-height:150px}.display-rotate{font-size:11px}.display-actions .secondary{padding:8px 10px}#screen-display-bar{gap:12px}.big-screen .live-refresh-status{padding:12px 16px}}
/* Strong dashboard typography for desktop, mobile and distant displays. */
#workspace{--ink:#102b26;--muted:#465c55;--amber:#78520d;--red:#a7342a;--green:#11633f;color:var(--ink)}#workspace h1,#workspace h2{font-weight:700}#workspace .eyebrow{font-size:12px;font-weight:800;color:#125842}#workspace .page-heading p{font-size:14px;color:#40574e}#workspace nav button{font-size:14px;font-weight:600;color:#465c55}#workspace nav button.active{color:#0b563f;font-weight:800}#workspace .nav-note{font-size:12px;color:#465c55}#workspace .metric-top{font-size:14px;font-weight:700;color:#254d3e}#workspace .metric strong{font-weight:750;color:#102b26}#workspace .metric small{font-size:12px;font-weight:500;color:#40574e;line-height:1.6}#workspace .report-state{font-size:16px;font-weight:600;color:#183c30}#workspace .fine{font-size:12px;color:#465c55}#workspace .report-card .fine{font-weight:500}#workspace .badge{font-size:11px;font-weight:700}#workspace .badge.amber{color:#78520d}#workspace .badge.red{color:#a7342a}#workspace .badge.green{color:#11633f}#workspace .empty{color:#334e42;font-size:16px;font-weight:600}#workspace .empty p{color:#465c55;font-size:14px;font-weight:400}#workspace .live-refresh-status strong{font-size:16px;font-weight:750;color:#143f2f}#workspace .live-refresh-status p{font-size:13px;color:#345347}#workspace .live-refresh-status small{font-size:12px;color:#40574e}#workspace .panel-heading p{font-size:12px;color:#465c55}#workspace .signal-head{font-size:14px;font-weight:600}#workspace .signal p{font-size:12px;color:#465c55}#workspace th{font-size:12px;font-weight:700;color:#3d554c}#workspace td{font-size:13px}#workspace .link{font-size:13px;font-weight:700}#workspace #chart text{fill:#465c55;font-size:11px}#workspace .legend{font-size:11px;font-weight:600}#workspace .legend span:nth-child(2){color:#536d2b}#workspace .header-right{font-weight:600}#workspace footer{color:#465c55;font-size:12px}#workspace .insight-grid.compact .metric-top{font-size:13px}#workspace .insight-grid.compact .report-state{font-size:14px}.big-screen #workspace .metric-top,.big-screen #workspace .report-state{font-size:clamp(17px,1.4vw,27px)}.big-screen #workspace .metric small,.big-screen #workspace .report-card .fine{font-size:clamp(13px,1.05vw,19px)}.big-screen #workspace .live-refresh-status strong{font-size:clamp(17px,1.4vw,25px)}.big-screen #workspace .live-refresh-status p{font-size:clamp(13px,1.1vw,20px)}.big-screen #workspace .insight-grid.compact .metric-top{font-size:clamp(17px,1.4vw,27px)}@media(max-width:760px){#workspace .fine,#workspace .metric small{font-size:12px}#workspace .metric-top{font-size:14px}#workspace nav button{font-size:13px}#workspace .page-heading p{font-size:13px}}
#passkey-login{margin-top:14px}.passkey-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid #d8e1dc}.passkey-row strong{color:#102b26}.passkey-row p{overflow-wrap:anywhere}#passkey-enroll{margin:20px 0}#login-settings{font-weight:700;color:#254d3e}@media(max-width:600px){.header-right{flex-wrap:wrap;gap:8px}.passkey-row{align-items:flex-start}}
.card-view-switch{display:flex;gap:2px;padding:3px;background:#e4ece7;border-radius:9px;margin:12px 0;width:fit-content;max-width:100%}.card-view-switch button{border:0;background:transparent;color:#254d3e;border-radius:6px;font-size:12px;font-weight:700;min-height:36px;padding:6px 12px;cursor:pointer}.card-view-switch button[aria-pressed=true]{background:#164c37;color:white}.card-view-switch button:focus-visible{outline:3px solid #bd7910;outline-offset:2px}.card-chart{width:100%;min-width:0;margin:4px 0 14px}.card-chart svg{display:block;width:100%;height:auto;max-height:260px}.card-chart text{font-size:11px;fill:#254d3e;font-weight:600}.chart-positive{fill:#16764f}.chart-negative{fill:#ad3834}.chart-baseline{stroke:#788e82;stroke-width:1}.chart-caption,.chart-unavailable{font-size:12px;line-height:1.5;color:#40574e}.chart-unavailable{padding:14px 0}.chart-values summary{font-size:12px;color:#254d3e;cursor:pointer;font-weight:700}.chart-values td,.chart-values th{font-size:12px!important;padding:6px}.insight-metric>.metric-top>.link{font-size:14px!important;text-align:left;font-weight:700!important;color:#254d3e!important}.insight-metric{cursor:default;text-align:left;min-width:0}.big-screen .card-chart svg{max-height:32vh}.big-screen .card-view-switch{display:none}.big-screen .chart-values{display:none}.big-screen .chart-caption{font-size:clamp(12px,1vw,17px)}@media(max-width:600px){.card-view-switch button{min-height:44px;padding:8px 14px}}
