/* V8: one typography scale, two working zones, no decorative shadows. */
:root{font-family:Manrope,'Segoe UI',sans-serif;--muted:#666b70;--line:#e3e5e7;--control:36px;--secondary:12px}
[hidden]{display:none!important}button,input,select,textarea{font-family:inherit}button,summary{min-height:36px}button{display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:13px;padding:7px 10px;line-height:1.4}button .icon,summary .icon{width:17px;height:17px}.icon-button{width:32px;min-width:32px;height:32px;min-height:32px;padding:6px;display:inline-flex;align-items:center;justify-content:center}input,select{min-height:36px;padding:7px 9px;font-size:14px;line-height:20px}input[type=checkbox]{width:16px;height:16px;min-height:16px;flex:none}.workspace{font-size:14px;padding:20px 24px}.page-title{margin:0 0 14px;gap:12px;align-items:flex-start}.page-title h1{font-size:24px;line-height:1.35;letter-spacing:-.025em;margin:0}.page-title p{font-size:13px;line-height:1.5;margin:4px 0 0;color:var(--muted)}.report-heading{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;min-width:0}.report-heading>p,.report-heading>.detail-back{flex-basis:100%}.title-actions{gap:6px;align-items:center;flex:none}.topbar{min-height:52px;padding-block:8px;font-size:13px}.nav a,.nav button{min-height:40px;font-size:14px;gap:10px}.nav .icon{width:19px;height:19px}.sidebar-bottom,.sidebar-bottom button,.brand-lockup small{font-size:12px}.account button{min-height:32px}.hint{border:0;width:16px;height:16px;display:inline-flex}.hint .icon{width:15px;height:15px}.metric-label{font-size:13px}.metric-foot,.metric-freshness,.cell-secondary,.column-freshness,.field-name,.crm-repeat,.notice-tag,.cell-fraction{font-size:12px!important;line-height:1.45}.metric-number{font-size:26px}.metrics{margin-bottom:18px}.metric{padding:14px 18px}.panel-head{padding:12px 14px}.panel-head h2,.panel h2{font-size:15px;line-height:1.5}.panel-subtitle,.table-foot,.chart-unit,.chart-bottom,.legend,.chart-tooltip{font-size:12px}.panel,.metrics,.metric-strip,.ratio-strip{border-radius:6px}.tabs{margin-bottom:14px;gap:20px}.tabs button{font-size:13px;padding-block:8px;min-height:36px}.data-table{font-size:14px}.data-table th{font-size:13px;font-weight:500}.data-table td{font-size:14px}.metric-detail{color:inherit;text-decoration:none;border:0;border-radius:2px}.metric-detail:hover{color:#775913;background:#fff8e5;box-shadow:0 0 0 3px #fff8e5;text-decoration:none}.metric-detail:focus-visible{outline:2px solid #b18a24;outline-offset:4px}.cell-fraction{display:block;margin-top:3px;color:var(--muted)}.chart-tooltip,.column-options,.floating-options,.tw-tooltip{box-shadow:none!important}.data-state-note{display:flex;gap:8px;align-items:center;font-size:13px;color:#795f29;padding:8px 0 12px}.report-context{display:flex;gap:8px;align-items:center;margin:0;padding:0;border:0}.report-context:empty{display:none}.report-context>p,.report-context>.period-note{display:none}
/* Report title and saved view form one header. */
.column-picker>summary,.report-advanced>summary{list-style:none;display:flex;align-items:center;gap:7px;cursor:pointer;font-size:13px;line-height:20px;white-space:nowrap}.column-picker>summary::-webkit-details-marker,.report-advanced>summary::-webkit-details-marker{display:none}.column-picker>summary{padding:7px 9px}.view-menu>summary{border-color:transparent;background:#f7f7f5;max-width:250px;min-height:32px;padding:5px 8px}.view-menu-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.view-menu>summary>.icon:last-child{width:14px;margin-left:auto}.view-options{min-width:280px}.view-options label{display:grid!important;gap:6px;font-size:13px;white-space:normal}.view-options select{width:100%}.view-commands{display:grid;gap:3px;margin:8px 0}.view-commands button{width:100%;justify-content:flex-start;border-color:transparent}.saved-view-note{font-size:12px;line-height:1.5;color:var(--muted);margin:8px 0 0}.saved-view-stale{color:#806015;font-size:12px}.saved-view-dialog{font-size:14px;box-shadow:none}.saved-view-dialog label{font-size:13px}.saved-view-dialog p{font-size:12px}.saved-view-dialog button{font-size:13px}
/* Main row: period, financial scope, comparison. One apply/reset/draft. */
.report-filter-zone{display:block!important;position:relative;padding:0 0 10px;margin:0 0 6px;border-bottom:1px solid var(--line)}.report-primary-fields{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap;width:100%}.report-filter-zone label.report-field{display:flex!important;flex-direction:column;align-items:stretch;gap:4px;margin:0;flex:0 1 auto;min-width:0;color:var(--muted);font-size:13px;line-height:18px;font-weight:400}.report-field input,.report-field select{width:100%;font-size:14px}.report-field:has([name=from]),.report-field:has([name=to]),.report-field:has([name=compareFrom]),.report-field:has([name=compareTo]){width:140px}.report-field:has([name=currency]){width:88px}.report-field:has([name=tests]){width:136px}.report-field:has([name=product]){width:156px}.report-field:has([name=compare]){width:176px}.quick-period-picker{align-self:flex-end}.quick-period-picker>summary{width:36px;height:36px;min-height:36px;padding:9px}.quick-period-options{min-width:180px!important}.quick-period-options button{display:flex;width:100%;border:0;justify-content:flex-start}.report-filter-footer{display:flex;align-items:center;gap:8px;margin-top:8px;min-height:36px;position:relative}.report-filter-actions{margin-left:auto;display:flex;align-items:center;gap:7px;flex-wrap:wrap}.report-apply{white-space:nowrap}.filter-reset{color:#61666a}.filter-draft{font-size:12px;color:#806115}.filter-draft:empty{display:none}.report-advanced>summary{border:1px solid transparent;border-radius:5px;padding:7px 8px}.report-advanced[open]>summary{background:#f6f6f3;border-color:var(--line)}.report-advanced[open]{position:static}.report-advanced-fields{display:none}.report-advanced[open] .report-advanced-fields{display:flex;position:absolute;left:0;right:0;top:100%;z-index:12;flex-wrap:wrap;align-items:flex-end;gap:12px;background:#fff;border:1px solid #cfd2d5;border-radius:6px;padding:16px;margin-top:4px;max-height:60vh;overflow:auto}.report-advanced-fields label.report-field{flex:1 1 160px;max-width:280px}.report-advanced-fields p{flex-basis:100%;margin:0;font-size:12px;line-height:1.6;color:var(--muted)}.filter-value-explanation{overflow-wrap:anywhere;color:#795b14!important}.comparison-command{font-size:12px;color:#61666a;min-height:32px;border-color:transparent;order:1}.report-filter-actions{order:2}.filter-chips{display:flex;gap:6px;flex-wrap:wrap;margin:7px 0}.filter-chip{display:inline-flex;max-width:300px;min-height:28px;padding:4px 8px;border-radius:4px;gap:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;background:#f6f6f3;border:1px solid #e7e7e1;color:#56594f}.filter-chip .icon{width:14px;height:14px}.filter-more{font-size:12px;min-height:28px;padding:4px 7px}.data-freshness{display:flex;align-items:center;gap:7px;flex-wrap:wrap;color:var(--muted);font-size:12px;line-height:1.5;margin:7px 0 14px;min-height:20px}.data-freshness>.icon{width:15px;height:15px}.data-freshness button{font-size:12px;min-height:24px;padding:2px 3px;color:#775913}.data-help-button{white-space:nowrap}
/* Four help sections share one vertical scroll container. */
.data-help-dialog{width:min(960px,calc(100vw - 32px));max-height:88dvh;padding:0;border:1px solid #cdd1d4;border-radius:8px;background:#fff;color:#252820;overflow:hidden}.data-help-dialog::backdrop{background:#14171466}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px 10px}.dialog-heading h2{font-size:19px;line-height:1.4;margin:0;font-weight:600}.data-help-nav{display:flex;gap:8px;padding:0 16px 10px;border-bottom:1px solid var(--line);flex-wrap:wrap}.data-help-nav button{min-height:32px;font-size:13px;padding:5px 8px}.data-help-content{overflow:auto;max-height:calc(88dvh - 116px);padding:0 20px 20px;scroll-padding:16px}.data-help-section{padding:18px 0;scroll-margin-top:16px;border-bottom:1px solid var(--line)}.data-help-section:last-child{border:0}.data-help-section>h3{font-size:16px;margin:0 0 10px;line-height:1.5}.data-help-content p,.data-help-content li{font-size:14px;line-height:1.65;color:#535b61;max-width:none}.data-help-content p{margin:8px 0}.data-help-content .table-wrap{max-height:none;overflow-x:auto;overflow-y:visible}.data-help-content .table-wrap table th{position:static}.data-help-content details{border:0;padding:0;margin:8px 0}.data-help-content .banner{border:0;padding:0;background:none;margin:8px 0}.data-help-content .report-quality{border:0;padding:0}.data-help-content .report-quality>summary{display:none}.data-help-content .source-table{font-size:13px}.data-help-content .source-table td{font-size:13px}.help-reference{display:inline-flex;gap:7px;align-items:center;font-size:13px;margin-top:12px}.detail-back{display:inline-flex;align-items:center;gap:7px;font-size:13px}.detail-summary{display:flex;gap:12px 24px;flex-wrap:wrap;padding:8px 0 16px;font-size:13px}.detail-summary span{display:flex;gap:7px;align-items:center}.detail-formula{color:var(--muted)}
/* Comparison sits with the KPI or in one compact table. */
.metric-comparison{display:flex;gap:5px 10px;flex-wrap:wrap;font-size:12px;line-height:1.5;margin-top:8px}.metric-comparison span:last-child{color:var(--muted)}.comparison-panel{margin:14px 0;padding:0;border:1px solid var(--line);border-radius:6px;overflow:hidden}.comparison-panel>h2,.comparison-panel>.comparison-heading{display:flex;gap:8px;align-items:center;font-size:14px;font-weight:600;margin:0;padding:12px 14px;border-bottom:1px solid var(--line)}.comparison-panel>p{font-size:13px;padding:12px 14px;margin:0}.comparison-table-wrap{overflow:auto}.comparison-table{width:100%;font-size:13px;white-space:nowrap}.comparison-table td{font-size:13px;padding:9px 14px}.comparison-table th{position:static;font-size:12px;padding:8px 14px}.comparison-table td:first-child{white-space:normal;min-width:200px;max-width:360px}.comparison-table .cell-secondary{font-size:12px}.comparison-cash-clock{border-top:1px solid var(--line);margin-top:12px;padding-top:12px}.comparison-cash-clock h3{font-size:14px;font-weight:600;margin:0 0 4px}.comparison-cash-clock>p{font-size:12px;color:var(--muted);margin:0 0 8px;line-height:1.5}.comparison-cash-clock .comparison-table-wrap{margin-inline:-14px}.comparison-periods{display:grid;gap:8px;margin:14px 0}.comparison-interval{font-size:13px;border-top:1px solid var(--line);padding:12px 0}.comparison-interval h3{font-size:14px;margin:0 0 6px}.cash-now{margin-top:0!important}.cash-now .cash-clock-comparison,.cash-now .comparison-cash-clock{grid-column:1/-1}.data-help-dialog .comparison-table-wrap{margin-top:12px}
@media(min-width:931px) and (max-width:1280px){.workspace{padding:18px 20px}.report-primary-fields{gap:7px}.report-field:has([name=from]),.report-field:has([name=to]){width:136px}.report-field:has([name=product]){width:146px}.report-field:has([name=compare]){width:162px}.report-field:has([name=tests]){width:126px}.title-actions{gap:4px}}
@media(max-width:930px){.workspace{padding:18px 16px}.report-primary-fields{gap:8px}.report-filter-footer{flex-wrap:wrap}.report-filter-actions{margin-left:auto}.page-title h1{font-size:22px}.data-help-button .button-label{display:none}.data-help-button{width:32px;min-height:32px;padding:6px}.report-heading{gap:6px 10px}}
@media(max-width:650px){.workspace{padding:16px 12px}.page-title{flex-wrap:wrap;gap:8px;margin-bottom:12px}.page-title .report-heading{flex:1;min-width:220px}.page-title h1{font-size:21px}.page-title>.title-actions{margin-left:auto}.topbar{gap:8px}.top-search{width:150px}.report-primary-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.report-filter-zone label.report-field{min-width:0;width:auto!important;flex:none!important}.quick-period-picker{grid-column:1/-1;justify-self:start;position:absolute;right:0;top:-45px;display:none}.report-field:has([name=compare]){grid-column:1/-1}.report-filter-footer{gap:4px}.report-filter-actions{flex:1 0 100%;justify-content:flex-end;margin-left:0}.filter-draft{margin-right:auto;flex-basis:100%;padding:4px 0}.report-advanced-fields label.report-field{flex:1 1 140px!important;max-width:none}.report-advanced[open] .report-advanced-fields{padding:12px;max-height:55vh}.report-advanced>summary{padding-left:0}.comparison-command{margin-left:auto}.filter-chips .filter-chip{max-width:calc(100vw - 28px)}.data-freshness{align-items:flex-start;gap:5px}.data-freshness>span{flex:1;min-width:200px}.data-freshness button{margin-left:20px}.view-menu>summary{max-width:200px}.metric-number{font-size:22px}.metric{padding:12px}.metric-comparison{display:grid;gap:2px}.data-help-dialog{width:calc(100vw - 16px);max-height:92dvh}.dialog-heading{padding:14px 14px 9px}.dialog-heading h2{font-size:18px}.data-help-nav{padding:0 8px 8px;gap:0}.data-help-nav button{font-size:12px}.data-help-content{max-height:calc(92dvh - 116px);padding-inline:14px}.comparison-table td,.comparison-table th{padding-inline:10px}.detail-summary{gap:8px 16px}.detail-summary span{flex-wrap:wrap}.report-heading .detail-back{font-size:12px}}
.report-filter-zone.panel{border:0;border-bottom:1px solid var(--line);border-radius:0;overflow:visible;padding:0 0 10px}.report-filter-zone .report-field.comparison-custom[hidden]{display:none!important}.report-context + .retention-results{margin-top:0}.comparison-heading h2{font-size:14px;margin:0}.comparison-loading,.comparison-unavailable{font-size:13px;padding:10px 14px;color:var(--muted)}.comparison-cash-clock{padding:12px 14px 0}.view-dialog{font-size:14px;box-shadow:none!important}.view-dialog label{font-size:13px}.view-dialog .period-note{font-size:12px}.data-help-dialog .table-wrap{max-height:none!important}.data-help-dialog .column-order-picker{display:none}.view-update-dot{width:6px;height:6px;border-radius:50%;background:#967018}
.page-title h1{font-size:26px}.panel-head h2,.panel h2{font-size:18px}.comparison-panel .comparison-heading h2{font-size:16px}@media(max-width:650px){.page-title h1{font-size:24px}.panel-head h2,.panel h2{font-size:18px}}

.report-group .template-list-button{display:block;width:auto!important;min-width:0;max-width:100%;height:auto;min-height:28px;margin:3px 0 0 24px;padding:2px 6px;white-space:nowrap;word-break:normal;overflow-wrap:normal;font-size:12px;line-height:20px;text-align:left}.template-id{font-family:var(--mono,monospace)}
.tw-table th .table-sort .button-label{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;line-height:16px;max-height:48px}
.tw-table th{padding-top:6px;padding-bottom:6px}
table[data-grid="report"].tw-table td{padding-top:6px;padding-bottom:6px}
