:root {
  --navy: #14202e; --brass: #b07a32; --paper: #f7f6f3; --surface: #fff; --subtle: #fcfbf9;
  --line: #e5e1d9; --border: #dad6cd; --ink: #14202e; --body: #4a5765; --muted: #6b7684;
  --soft: #9aa3ae; --green: #2f6b4f; --red: #a23a2e; --segments: #f2efe9; --skeleton: #dfdcd4;
  --chart-grid: #f0ede7; --serif: 'Source Serif 4', Georgia, serif; --sans: 'IBM Plex Sans', sans-serif;
  --mono: 'IBM Plex Mono', monospace; --sidebar-width: 232px; color-scheme: light;
}
:root[data-theme=dark] { --paper: #0e1620; --surface: #161f2b; --subtle: #131d28; --line: #26313f; --border: #2f3b4a; --ink: #eceff3; --body: #9ba7b4; --muted: #9ba7b4; --soft: #7b8795; --brass: #d2a054; --green: #6fbf97; --red: #e08476; --segments: #202c39; --skeleton: #303b47; --chart-grid: #26313f; color-scheme: dark; }
* { box-sizing: border-box; letter-spacing: 0; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 14px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }h1,h2,h3,p { margin: 0; }h2 { font: 400 24px/1.25 var(--serif); }h3 { font: 500 14.5px/1.4 var(--sans); }
button,input,textarea { font: inherit; }button,a,input { touch-action: manipulation; }
button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 15px; border: 1px solid var(--border); border-radius: 7px; background: var(--surface); color: var(--body); font-size: 13.5px; cursor: pointer; }
button:hover:not(:disabled) { border-color: var(--ink); color: var(--ink); }button:disabled { cursor: not-allowed; opacity: .48; }
button.primary { background: var(--navy); border-color: var(--navy); color: white; font-weight: 500; }button.primary:hover:not(:disabled) { background: #25374b; color: white; }
button svg,a svg { width: 17px; height: 17px; flex: none; stroke-width: 1.6; }.icon-button { width: 36px; min-height: 36px; padding: 8px; flex: none; }.text-button { min-height: 28px; padding: 0; border: 0; border-radius: 0; background: none; color: var(--brass); font-size: 12.5px; }
.muted { color: var(--muted); font-size: 12.5px; }.mono { font-family: var(--mono); font-size: 11.5px; }.eyebrow { color: var(--soft); font: 500 11px/1.4 var(--mono); text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px; background: var(--surface); color: var(--ink); transform: translateY(-160%); }.skip-link:focus { transform: none; }:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }
.brand { display: flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; }.brandmark { width: 30px; height: 30px; flex: none; border-radius: 6px; background: #b07a32; color: #14202e; display: grid; place-items: center; font: 600 15px/1 var(--serif); }.wordmark { font: 600 13px/1 var(--serif); }
.login { min-height: 100dvh; display: grid; grid-template-columns: minmax(340px,38.889%) 1fr; background: #fff; color: #14202e; }.login-brand { background: #14202e; padding: 56px 56px 48px; display: flex; flex-direction: column; justify-content: space-between; min-height: 100dvh; color: white; }.login-brand .brandmark { width: 34px; height: 34px; border-radius: 7px; font-size: 17px; }.login-brand .wordmark { font-size: 15px; }.brand-statement { margin: 60px 0; }.brand-statement h1 { font: 300 44px/1.15 var(--serif); max-width: 440px; }.brand-rule { display: block; width: 52px; height: 1px; background: #b07a32; margin: 28px 0; }.brand-statement p { font: 400 15px/1.7 var(--sans); color: #ffffff9e; }.brand-footer { font: 400 11.5px/1.6 var(--mono); color: #ffffff70; }.login-main { display: grid; place-items: center; padding: 56px; }.login-form-wrap { width: 100%; max-width: 376px; }.login h2 { font: 400 30px/1.2 var(--serif); }.login #login-description { margin-top: 8px; font-size: 14px; }#login-form { display: flex; flex-direction: column; gap: 16px; margin-top: 34px; }
label { display: flex; flex-direction: column; gap: 7px; color: var(--muted); font-size: 11px; font-weight: 500; text-transform: uppercase; }input,textarea { width: 100%; min-width: 0; border: 1px solid var(--border); border-radius: 7px; background: var(--subtle); padding: 12px 14px; color: var(--ink); outline: none; font-size: 14.5px; text-transform: none; }input { height: 46px; }input:focus,textarea:focus { border-color: var(--brass); }.login input { color: #14202e; background: #fcfbf9; border-color: #dad6cd; }.login-options { display: flex; justify-content: space-between; align-items: center; gap: 16px; }.checkbox { flex-direction: row; align-items: center; gap: 8px; font: 400 13px var(--sans); text-transform: none; color: var(--body); }.checkbox input { width: 14px; height: 14px; padding: 0; accent-color: #14202e; }.login .login-submit { min-height: 48px; margin-top: 10px; font-size: 14.5px; }.divider { display: flex; align-items: center; gap: 14px; margin: 24px 0; color: #9aa3ae; font: 400 11px var(--mono); }.divider::before,.divider::after { content: ''; height: 1px; flex: 1; background: #e5e1d9; }.sso-button { width: 100%; min-height: 48px; background: white; color: #14202e; border-color: #dad6cd; }.sso-mark { display: block; width: 16px; height: 16px; border-radius: 3px; background: #b07a32; }.login-support { margin-top: 28px; color: #9aa3ae; font-size: 12.5px; }.form-status { color: var(--red); font-size: 13px; white-space: pre-line; }.form-status:empty { display: none; }#login-status { margin-top: 14px; }
.app-shell { min-height: 100dvh; }.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; width: var(--sidebar-width); padding: 22px 0; display: flex; flex-direction: column; background: #14202e; color: #fff; overflow: hidden; }.sidebar-brand { display: flex; align-items: center; gap: 11px; padding: 0 20px 24px; }.sidebar-toggle { margin-left: auto; padding: 3px; width: 24px; min-height: 24px; border: 1px solid #ffffff2e; color: #ffffff99; background: none; border-radius: 5px; }.sidebar-toggle svg { width: 12px; height: 12px; }.nav-label { padding: 0 20px 10px; font: 500 10px/1 var(--mono); text-transform: uppercase; color: #ffffff57; }.nav-items { display: flex; flex-direction: column; gap: 2px; padding: 0 12px; }.nav-items button,.nav-items a,.sidebar-bottom button { width: 100%; min-height: 39px; padding: 10px 12px; display: flex; align-items: center; gap: 11px; border: 0; border-radius: 6px; background: none; color: #ffffffb8; font-size: 13.5px; line-height: 1.4; text-align: left; justify-content: flex-start; text-decoration: none; white-space: nowrap; }.nav-items [aria-current=page] { color: white; background: #ffffff17; box-shadow: inset 2px 0 0 #b07a32; font-weight: 500; }.nav-items [aria-current=page] svg { color: #b07a32; }.nav-items button:hover:not(:disabled),.nav-items a:hover,.sidebar-bottom button:hover { background: #ffffff0d; color: white; }.nav-items button:disabled { opacity: 1; color: #ffffff57; }.sidebar-bottom { margin-top: auto; padding: 12px 12px 0; }.sidebar-bottom::before { content: ''; display: block; margin: 0 12px 12px; height: 1px; background: #ffffff1a; }.app-main { margin-left: var(--sidebar-width); min-width: 0; }
.topbar { min-height: 64px; padding: 0 32px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 20px; background: var(--surface); }.topbar>strong { font-size: 15px; font-weight: 500; }.topbar-range { font-size: 13px; color: var(--soft); }.sync-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; font-size: 12px; color: var(--muted); white-space: nowrap; }.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brass); flex: none; }.sync-pill.fresh .status-dot { background: var(--green); }.sync-pill.failed { color: var(--red); }.sync-pill.failed .status-dot { background: var(--red); }.account-menu { position: relative; padding-left: 20px; border-left: 1px solid var(--line); }.account-menu summary { display: flex; align-items: center; gap: 9px; cursor: pointer; list-style: none; font-size: 13px; color: var(--body); }.account-menu summary::-webkit-details-marker { display: none; }.account-menu summary>svg { width: 12px; height: 12px; color: var(--soft); }.avatar { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; font-size: 12px; font-weight: 500; background: var(--navy); color: white; }:root[data-theme=dark] .avatar { background: var(--brass); color: #14202e; }.account-dropdown { position: absolute; right: 0; top: 44px; padding: 14px; min-width: 170px; display: grid; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; z-index: 50; box-shadow: 0 6px 24px #14202e16; }#mobile-menu { display: none; }
.home-view { padding: 44px 48px; }.home-view>h2 { margin-top: 12px; font: 300 34px/1.2 var(--serif); }.home-intro { margin-top: 8px; max-width: 520px; font-size: 14.5px; line-height: 1.6; }.tool-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-top: 36px; max-width: 1080px; }.tool-card { display: flex; flex-direction: column; align-items: stretch; min-width: 0; min-height: 210px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 1px 2px #14202e0a; text-decoration: none; color: var(--ink); text-align: left; }.tool-card:not(.unavailable):hover { border-color: var(--ink); box-shadow: 0 8px 24px #14202e17; }.tool-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }.tool-icon { width: 38px; height: 38px; border-radius: 8px; background: var(--navy); color: #fff; display: grid; place-items: center; }.tool-icon svg { width: 20px; height: 20px; }.muted-icon { background: var(--segments); color: var(--soft); }.tool-card>strong { font-size: 17px; font-weight: 500; margin-top: 20px; }.tool-meta { margin-top: 6px; font-size: 13.5px; color: var(--muted); }.tool-open { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 18px; font-size: 12.5px; color: var(--brass); }.tool-open svg { width: 14px; height: 14px; }.unavailable { opacity: .68; }.badge { display: inline-block; align-self: flex-start; padding: 5px 9px; border-radius: 999px; font: 500 10px/1 var(--mono); text-transform: uppercase; white-space: nowrap; }.badge.positive { color: var(--green); background: #2f6b4f14; }.badge.watch { color: var(--brass); background: #b07a3214; }.badge.negative { color: var(--red); background: #a23a2e12; }.badge.neutral { color: var(--muted); background: var(--segments); }.section-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }.recent-activity { margin-top: 44px; max-width: 1080px; }.activity-list { margin-top: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow: hidden; }.activity-row { display: flex; align-items: center; gap: 14px; padding: 15px 20px; border-bottom: 1px solid var(--chart-grid); font-size: 13.5px; }.activity-row:last-child { border-bottom: 0; }.activity-row::before { content: ''; width: 7px; height: 7px; flex: none; background: var(--brass); border-radius: 50%; }.activity-row time { margin-left: auto; color: var(--soft); font: 400 11.5px var(--mono); white-space: nowrap; }.activity-row button { text-align: left; justify-content: flex-start; border: 0; background: none; padding: 0; min-height: 28px; color: var(--ink); }
.report-toolbar { background: var(--surface); border-bottom: 1px solid var(--line); padding: 14px 32px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; position: sticky; top: 0; z-index: 20; }.date-chip { background: var(--subtle); white-space: nowrap; font-weight: 500; padding: 0 13px; }.date-chip svg { width: 14px; height: 14px; }.segmented { display: inline-flex; align-items: stretch; gap: 3px; padding: 3px; background: var(--segments); border-radius: 8px; }.segmented button { padding: 0 11px; min-height: 32px; border: 0; border-radius: 6px; background: none; color: var(--muted); font-size: 12.5px; white-space: nowrap; }.segmented button[aria-pressed=true] { background: var(--surface); color: var(--ink); font-weight: 500; box-shadow: 0 1px 2px #14202e1f; }.compare-control { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }.toolbar-actions { margin-left: auto; display: flex; gap: 12px; }.toolbar-actions button { white-space: nowrap; }.mode-toolbar { display: flex; align-items: center; padding: 8px 32px; gap: 12px; border-bottom: 1px solid var(--line); background: var(--subtle); }.mode-toolbar .segmented button { min-height: 26px; font-size: 11.5px; }.mode-toolbar #timezone { margin-left: auto; font-size: 10px; }.mode-toolbar #run { min-height: 30px; height: 30px; width: 30px; padding: 6px; }.period-status { font: 400 11px var(--mono); color: var(--brass); }.report-content { padding: 30px 32px 44px; }#result { display: flex; flex-direction: column; gap: 28px; }
.metrics,.skeleton-metrics { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 14px; }.metric,.skeleton-metric { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 18px 18px 14px; min-width: 0; }.metric-label { font: 400 11px/1.4 var(--mono); color: var(--soft); text-transform: uppercase; min-height: 30px; display: block; }.metric-value { display: block; margin-top: 8px; font: 400 30px/1.1 var(--serif); font-variant-numeric: tabular-nums; white-space: nowrap; }.metric-value.unavailable-value { font-size: 21px; line-height: 1.6; }.metric-bottom { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-top: 12px; min-height: 24px; }.metric-change { font-size: 12px; font-weight: 500; color: var(--muted); }.metric-change.up { color: var(--green); }.metric-change.down { color: var(--red); }.sparkline { width: 66px; height: 24px; flex: none; }
.summary-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 30px 34px 28px; position: relative; box-shadow: 0 1px 2px #14202e0a; }.summary-panel::before { content: ''; position: absolute; left: -1px; top: 26px; bottom: 26px; width: 2px; border-radius: 0 2px 2px 0; background: var(--brass); }.summary-panel h3 { font: 400 20px/1.2 var(--serif); }.summary-meta { font: 400 11.5px/1.6 var(--mono); color: var(--soft); margin-top: 8px; }.summary-meta::before { content: ''; display: inline-block; width: 5px; height: 5px; margin-right: 8px; border-radius: 50%; background: var(--brass); }.summary-actions { display: flex; gap: 8px; flex: none; }.summary-actions button { min-height: 34px; padding: 0 10px; font-size: 12px; border-radius: 6px; }.summary-actions svg { width: 14px; height: 14px; }.analysis { display: flex; flex-direction: column; gap: 12px; margin: 24px 0 0; padding-left: 18px; max-width: 960px; font: 400 17px/1.55 var(--serif); }.analysis li { padding-left: 5px; }.narrative { font: 400 14.5px/1.85 var(--sans); color: var(--body); padding-top: 20px; margin-top: 24px; border-top: 1px solid var(--chart-grid); max-width: 100%; text-wrap: pretty; white-space: pre-line; }.summary-footer { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-top: 12px; }.summary-footer .muted { font-size: 11px; }
.insights-section>.section-title { margin-bottom: 14px; align-items: baseline; }.insights { display: flex; flex-direction: column; gap: 10px; }.insight { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow: hidden; }.insight summary { display: flex; gap: 18px; align-items: center; padding: 17px 20px; list-style: none; cursor: pointer; }.insight summary::-webkit-details-marker { display: none; }.insight summary::after { content: '+'; color: var(--soft); width: 14px; text-align: center; }.insight[open] summary::after { content: '-'; }.insight-headline { flex: 1; font-size: 15px; }.insight-value { font-weight: 500; font-size: 15px; white-space: nowrap; }.insight p { padding: 14px 20px 18px; border-top: 1px solid var(--chart-grid); font-size: 14px; line-height: 1.75; color: var(--muted); }
.chart-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 16px; }.chart-panel { min-width: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 22px 24px; }.chart-panel .section-title { align-items: baseline; }.chart-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 11px; color: var(--muted); }.chart-legend span { display: flex; align-items: center; gap: 6px; }.chart-legend i { display: block; width: 9px; height: 9px; border-radius: 2px; background: var(--ink); }.chart-legend span+span i { background: var(--brass); }.chart-box { position: relative; width: 100%; height: 230px; margin-top: 14px; }.chart-box canvas { max-width: 100%; }.short-chart { height: 150px; margin-top: 12px; }.chart-note { font-size: 11px; color: var(--muted); margin-top: 8px; }.breakdown { display: grid; gap: 14px; margin-top: 20px; }.breakdown-label { display: flex; justify-content: space-between; gap: 12px; color: var(--body); font-size: 13px; }.breakdown-label strong { color: var(--ink); font-weight: 400; }.bar-track { margin-top: 7px; height: 9px; border-radius: 2px; background: var(--segments); }.bar-fill { height: 100%; border-radius: 2px; background: var(--navy); }.breakdown-item:nth-child(3n) .bar-fill { background: var(--brass); }:root[data-theme=dark] .bar-fill { background: #657c93; }
.workbook-panel { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow: hidden; }.workbook-header { padding: 20px 24px 0; }.workbook-tabs { display: flex; gap: 2px; margin-top: 16px; border-bottom: 1px solid var(--line); overflow: auto; }.workbook-tabs button { padding: 11px 16px; min-height: 40px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; white-space: nowrap; font-size: 13px; }.workbook-tabs button[aria-selected=true] { color: var(--ink); border-bottom-color: var(--brass); font-weight: 500; }.workbook-body { padding: 20px 24px 24px; background: var(--subtle); }.workbook-body>p { margin-top: 12px; font-size: 11.5px; }.table-wrap { overflow: auto; width: 100%; max-height: 450px; border: 1px solid var(--line); border-radius: 6px; }table { border-collapse: collapse; width: 100%; font-size: 13px; background: var(--surface); font-variant-numeric: tabular-nums; }th,td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--chart-grid); vertical-align: top; }th { position: sticky; top: 0; background: var(--navy); color: #fff; font-weight: 500; font-size: 12px; z-index: 1; white-space: nowrap; }td { color: var(--body); }td:first-child { color: var(--ink); }tbody tr:last-child td { border-bottom: 0; }#details { min-width: 660px; }
.provenance { font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }.provenance summary { cursor: pointer; color: var(--body); }.provenance p { margin-top: 12px; }.provenance ul { padding-left: 18px; }.provenance li { margin: 6px 0; }.provenance #sources { display: grid; gap: 4px; overflow-wrap: anywhere; }.history-section { margin-top: 34px; }.history-section>.section-title { align-items: center; margin-bottom: 12px; }.history-section td { font-size: 12px; white-space: nowrap; }.history-section button { min-height: 30px; padding: 4px 10px; }#empty { margin-top: 14px; }
.empty-state { display: flex; flex-direction: column; align-items: center; padding: 64px 40px; text-align: center; }.state-icon { width: 52px; height: 52px; border: 1px dashed #c9c4b8; border-radius: 10px; display: grid; place-items: center; color: var(--soft); }.state-icon svg { width: 22px; height: 22px; }.error-icon { border: 0; background: #a23a2e08; color: var(--red); }.empty-state h2 { margin-top: 22px; font-size: 22px; max-width: 520px; }.empty-state>p { margin-top: 10px; max-width: 440px; color: var(--muted); font-size: 14px; line-height: 1.7; }.state-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
#run-state { display: flex; flex-direction: column; gap: 24px; }.progress-panel h3 { display: flex; align-items: center; gap: 14px; }.progress-panel>p { margin-top: 18px; color: var(--muted); }.stages { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 9px; font-size: 13.5px; color: var(--soft); }.stages li::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--border); margin: 0 10px 2px 0; }.stages li.active { color: var(--ink); font-weight: 500; }.stages li.active::before { background: var(--brass); }
progress { appearance: none; display: block; height: 4px; width: 100%; border: 0; border-radius: 2px; background: var(--segments); overflow: hidden; }progress::-webkit-progress-bar { background: var(--segments); }progress::-webkit-progress-value { background: var(--brass); }progress:indeterminate { background: linear-gradient(90deg,var(--segments) 0 30%,var(--brass) 30% 60%,var(--segments) 60%); background-size: 200% 100%; }.progress-panel progress { max-width: 620px; }.skeleton { display: block; background: var(--skeleton); border-radius: 5px; }.skeleton-metric .skeleton { height: 9px; width: 62%; }.skeleton-metric .skeleton:nth-child(2) { margin-top: 14px; height: 26px; width: 84%; }.skeleton-metric .skeleton:nth-child(3) { margin-top: 14px; width: 44%; }.skeleton-charts span { width: 180px; height: 11px; }.skeleton-charts .chart-panel>div { width: 100%; height: 140px; margin-top: 20px; }.spinner { display: inline-block; width: 18px; height: 18px; flex: none; border: 2px solid var(--line); border-top-color: var(--brass); border-radius: 50%; }.download-progress { padding: 12px 32px; background: var(--surface); }.download-progress progress { margin-top: 12px; height: 3px; }
.toast { position: fixed; right: 32px; bottom: 28px; max-width: calc(100vw - 32px); z-index: 100; display: flex; align-items: center; gap: 14px; padding: 15px 20px; border-radius: 9px; background: #14202e; color: #fff; box-shadow: 0 12px 32px #14202e47; }.toast strong { font-size: 13.5px; font-weight: 500; }.toast p { font: 400 12px/1.5 var(--mono); color: #ffffff9e; margin-top: 3px; overflow-wrap: anywhere; }.toast-icon { width: 22px; height: 22px; border-radius: 50%; background: #2f6b4f; display: grid; place-items: center; flex: none; }.toast-icon svg { width: 13px; height: 13px; }.toast .text-button { color: #d2a054; white-space: nowrap; }.toast .icon-button { background: none; border: 0; color: #ffffff80; width: 24px; min-height: 24px; padding: 3px; }.notice { position: fixed; bottom: 20px; left: calc(var(--sidebar-width) + 24px); max-width: min(580px,calc(100vw - 48px)); padding: 12px 16px; z-index: 90; background: var(--surface); color: var(--body); border: 1px solid var(--line); border-left: 3px solid var(--brass); border-radius: 6px; box-shadow: 0 6px 24px #14202e14; font-size: 13px; }.notice.error { border-left-color: var(--red); }
.settings-view { padding: 44px 48px; max-width: 960px; }.settings-view>h2 { margin-bottom: 28px; font-size: 30px; }.setting-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }.setting-row p { margin-top: 6px; }
dialog { width: min(580px,calc(100% - 32px)); padding: 26px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); box-shadow: 0 20px 60px #14202e40; max-height: calc(100dvh - 48px); overflow: auto; }dialog::backdrop { background: #14202e70; }dialog h2 { font-size: 24px; }dialog .section-title { align-items: center; margin-bottom: 20px; }.date-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }#summary-dialog { width: min(680px,calc(100% - 32px)); }#summary-form>label { margin-top: 18px; }textarea { resize: vertical; line-height: 1.6; }.revision { border-bottom: 1px solid var(--line); padding: 16px 0; }.revision p { white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 8px; }.revision ul { padding-left: 20px; }.revision .mono { color: var(--muted); }
:root[data-sidebar=collapsed] { --sidebar-width: 64px; }:root[data-sidebar=collapsed] .sidebar-brand { padding: 0 17px 24px; }:root[data-sidebar=collapsed] .sidebar .wordmark,:root[data-sidebar=collapsed] .nav-label,:root[data-sidebar=collapsed] .sidebar button>span,:root[data-sidebar=collapsed] .sidebar a>span:not(.brandmark) { display: none; }:root[data-sidebar=collapsed] .sidebar-toggle { position: fixed; bottom: 80px; left: 20px; }:root[data-sidebar=collapsed] .sidebar-toggle svg { transform: rotate(180deg); }:root[data-sidebar=collapsed] .nav-items button,:root[data-sidebar=collapsed] .nav-items a,:root[data-sidebar=collapsed] .sidebar-bottom button { width: 40px; justify-content: center; padding: 10px; }
.sidebar-backdrop { position: fixed; inset: 0; background: #14202e70; z-index: 29; border: 0; border-radius: 0; }
@media (max-width:1250px) { .metrics,.skeleton-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); }.compare-control { order: 3; }.summary-actions button { width: 34px; padding: 8px; }.summary-actions button span { display: none; }.tool-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width:1000px) { :root { --sidebar-width: 64px; }.sidebar .wordmark,.nav-label,.sidebar button>span,.sidebar a>span:not(.brandmark),.sidebar-toggle { display: none; }.sidebar-brand { padding: 0 17px 24px; }.nav-items button,.nav-items a,.sidebar-bottom button { width: 40px; padding: 10px; justify-content: center; }.topbar { min-height: 58px; padding: 0 20px; gap: 12px; }.topbar-range,#account { display: none; }.account-menu { border: 0; padding: 0; }.account-menu summary>svg { display: none; }.home-view,.settings-view { padding: 32px; }.report-content { padding: 20px; }#result { gap: 20px; }.report-toolbar { padding: 12px 20px; gap: 10px; }.mode-toolbar { padding: 8px 20px; }.metrics,.skeleton-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }.metric { padding: 16px; }.metric-label { min-height: auto; }.metric-value { font-size: 28px; }.metric-value.unavailable-value { font-size: 24px; line-height: 1.3; }.chart-grid { grid-template-columns: 1fr; }.summary-panel { padding: 22px 24px; }.summary-panel .section-title { gap: 12px; }.summary-meta { max-width: 360px; }.summary-actions { gap: 6px; }.compare-control { order: unset; }.toolbar-actions #share span { display: none; }.toolbar-actions #share { padding: 10px; }.login-brand { padding: 40px 32px; }.brand-statement h1 { font-size: 36px; }.login-main { padding: 40px 32px; } }
@media (max-width:640px) { :root { --sidebar-width: 0px; }.sidebar { width: 232px; transform: translateX(-100%); }.sidebar.open { transform: none; }.sidebar.open .wordmark,.sidebar.open .nav-label,.sidebar.open button>span,.sidebar.open a>span:not(.brandmark) { display: initial; }.sidebar.open .sidebar-brand { padding: 0 20px 24px; }.sidebar.open .nav-items button,.sidebar.open .nav-items a,.sidebar.open .sidebar-bottom button { width: 100%; justify-content: flex-start; padding: 10px 12px; }.app-main { margin-left: 0; }#mobile-menu { display: inline-flex; width: 30px; min-height: 30px; border: 0; background: none; padding: 5px; }.topbar { gap: 8px; padding: 0 14px; }.topbar>strong { font-size: 13px; }.sync-pill { padding: 4px 7px; font-size: 10px; gap: 5px; }.avatar { width: 28px; height: 28px; font-size: 10px; }.home-view,.settings-view { padding: 28px 18px; }.home-view>h2 { font-size: 29px; }.tool-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }.tool-card { min-height: 180px; }.activity-row { padding: 12px 14px; gap: 10px; flex-wrap: wrap; }.activity-row time { margin-left: 17px; font-size: 10px; }.report-toolbar { padding: 12px 14px; position: relative; }.presets { max-width: 100%; overflow: auto; }.toolbar-actions { width: 100%; }.toolbar-actions #download { flex: 1; font-size: 12px; padding: 0 10px; }.compare-control { width: 100%; font-size: 11px; gap: 6px; flex-wrap: wrap; }.compare-control .segmented { flex: 1; }.compare-control button { padding: 0 8px; font-size: 11px; flex: 1; }.mode-toolbar { padding: 8px 14px; gap: 8px; }.mode-toolbar #timezone { display: none; }.mode-toolbar #run { margin-left: auto; }.period-status { font-size: 10px; }.report-content { padding: 18px 14px 36px; }.metrics,.skeleton-metrics { gap: 10px; }.metric { padding: 14px 12px; }.metric-label { font-size: 10px; min-height: 28px; }.metric-value { font-size: 25px; }.metric-value.unavailable-value { font-size: 19px; line-height: 1.5; }.metric-bottom { min-height: 28px; gap: 4px; flex-wrap: wrap; }.metric-change { font-size: 10.5px; }.sparkline { width: 50px; height: 20px; }.summary-panel { padding: 20px; }.summary-panel>.section-title { flex-wrap: wrap; }.summary-actions button { width: auto; padding: 0 10px; }.summary-actions button span { display: inline; font-size: 11px; }.summary-actions button svg { width: 12px; height: 12px; }.summary-panel h3 { font-size: 19px; }.summary-meta { font-size: 10px; }.analysis { font-size: 16px; margin-top: 18px; gap: 10px; }.narrative { font-size: 13.5px; line-height: 1.8; margin-top: 18px; padding-top: 14px; }.summary-footer { flex-wrap: wrap; gap: 6px; }.insight summary { gap: 10px; padding: 14px; flex-wrap: wrap; }.insight-headline { font-size: 13px; flex-basis: calc(100% - 110px); }.insight-value { font-size: 13px; margin-left: auto; }.insight .badge { font-size: 9px; padding: 5px 7px; }.insight p { padding: 12px 14px 14px; font-size: 13px; }.chart-panel { padding: 18px; }.chart-panel .section-title { flex-wrap: wrap; gap: 8px; }.chart-box { height: 200px; }.short-chart { height: 140px; }.workbook-header { padding: 16px 16px 0; }.workbook-header .section-title { flex-wrap: wrap; gap: 6px; }.workbook-body { padding: 14px; }.workbook-tabs button { padding: 10px 12px; font-size: 12px; }.empty-state { padding: 48px 20px; }.empty-state h2 { line-height: 1.3; }.empty-state p { font-size: 13px; }.state-actions { width: 100%; }.state-actions button { max-width: 100%; padding: 9px 12px; }.toast { right: 16px; bottom: 16px; padding: 12px 14px; gap: 10px; flex-wrap: wrap; }.toast>div { flex: 1; min-width: 150px; }.toast p { font-size: 10px; }.notice { left: 16px; bottom: 16px; max-width: calc(100vw - 32px); }.login { display: block; }.login-brand { min-height: 0; padding: 28px 24px; }.brand-statement { margin: 30px 0 0; }.brand-statement h1 { font-size: 32px; }.brand-statement h1 br { display: none; }.brand-rule { margin: 18px 0; }.brand-statement p { font-size: 13px; }.brand-footer { display: none; }.login-main { padding: 36px 24px; }.login-options { gap: 10px; }.login-options .checkbox { font-size: 12px; }.setting-row { align-items: flex-start; flex-wrap: wrap; }.date-fields { grid-template-columns: 1fr; }dialog { padding: 20px; }.dialog-actions { flex-wrap: wrap; } }
@media (prefers-reduced-motion:no-preference) { .sidebar { transition: width .2s ease,transform .2s ease; }.skeleton { animation: pulse 1.4s ease-in-out infinite; }.spinner { animation: spin .9s linear infinite; }progress:indeterminate { animation: progress 1.6s linear infinite; }.toast { animation: arrive .24s ease; }@keyframes pulse { 0%,100% { opacity: .55; }50% { opacity: .25; } }@keyframes spin { to { transform: rotate(360deg); } }@keyframes progress { to { background-position: -200% 0; } }@keyframes arrive { from { opacity: 0; transform: translateY(10px); }to { opacity: 1; transform: none; } } }
.mode-toolbar { order: 3; flex: 1 1 340px; padding: 0; border: 0; background: none; }
.toolbar-actions { order: 4; }
.metric-label { min-height: 15px; }
.metric-value { margin-top: 12px; }
.metric-value.unavailable-value { line-height: 1.58; }
#details td:first-child { white-space: nowrap; }
@media (max-width:1000px) { .mode-toolbar { padding: 0; } }
@media (max-width:640px) { .mode-toolbar { padding: 0; flex-basis: 100%; }.toolbar-actions { order: 4; }.metric-label { min-height: 28px; } }
progress:indeterminate::-webkit-progress-bar { background: linear-gradient(90deg,var(--segments) 0 30%,var(--brass) 30% 60%,var(--segments) 60%); background-size: 200% 100%; }
@media (prefers-reduced-motion:no-preference) { progress:indeterminate::-webkit-progress-bar { animation: progress 1.6s linear infinite; } }
.organization-view { max-width: 1080px; margin: 0 auto; padding: 64px 32px; }.organization-view>h1 { font: 400 34px var(--serif); margin-bottom: 28px; }.organization-view>h2 { margin-bottom: 18px; }.organization-view>button { margin-top: 24px; }
#mfa-view { max-width: 450px; }#mfa-qr { width: 220px; height: 220px; margin: 24px 0; }#mfa-form { display: grid; gap: 14px; margin-top: 24px; }
.oauth-options { display: grid; gap: 12px; margin-top: 16px; }.support-banner { display: flex; align-items: center; gap: 16px; padding: 12px 24px; background: #f6efdf; color: #765324; }.support-banner button { margin-left: auto; }
.invite-form { display: flex; align-items: end; gap: 12px; margin: 18px 0; flex-wrap: wrap; }select { font: inherit; padding: 10px; color: var(--ink); background: var(--surface); border: 1px solid var(--border); border-radius: 6px; }#org-admin h3 { margin: 24px 0 12px; }
.metric-secondary { font: 400 11px/1.5 var(--mono); color: var(--muted); margin-top: 8px; }.p0-notice { padding: 14px 18px; border-left: 2px solid var(--brass); background: var(--surface); font-size: 13px; }
.chart-grid.single-chart { grid-template-columns:minmax(0,1fr); }
:root[data-phase=P0] #result>.summary-panel,:root[data-phase=P0] #result>.insights-section { display:none; }
.metric-value { font-size:26px; }.metric-value.unavailable-value { white-space:normal; font-size:18px; }
#custom-dates-label { margin-bottom:18px; }.metric-bottom { align-items:flex-start; }.metric-change { overflow-wrap:anywhere; }