:root{--background:#f8fafc;--surface:#ffffff;--surface-subtle:#f1f5f9;--foreground:#0f172a;--muted-foreground:#475569;--border:#cbd5e1;--success:#15803d;--danger:#b91c1c;--warning:#a16207;--info:#0369a1;--unknown:#64748b;color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none}*{box-sizing:border-box}body,html{margin:0;background:var(--background);color:var(--foreground);font-size:16px;line-height:1.5}a{color:inherit}::selection{background:color-mix(in srgb,var(--brand-primary) 22%,white)}button,summary{font:inherit}:focus-visible{outline:3px solid var(--brand-primary);outline-offset:2px}.skip-link{position:fixed;z-index:100;top:8px;left:8px;padding:8px 12px;border-radius:6px;background:var(--foreground);color:white;transform:translateY(-160%)}.skip-link:focus{transform:translateY(0)}.app-shell{min-height:100dvh}.sidebar{position:fixed;inset:0 auto 0 0;z-index:20;display:none;width:240px;overflow-y:auto;border-right:1px solid var(--border);background:var(--surface)}.sidebar-inner{display:flex;min-height:100%;flex-direction:column;padding:20px 16px}.wordmark{display:flex;min-height:40px;align-items:center;gap:10px;font-size:18px;font-weight:750;text-decoration:none}.wordmark-mark{display:grid;width:32px;height:32px;place-items:center;border-radius:8px;background:var(--brand-primary);color:white;font-size:13px;letter-spacing:-.03em}.business-context{margin:24px 0 20px;padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface-subtle)}.business-context-label,.eyebrow{margin:0 0 4px;color:var(--muted-foreground);font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.business-context-name{margin:0;font-size:14px;font-weight:700}.business-context-meta{margin:2px 0 0;color:var(--muted-foreground);font-size:12px}.nav-group+.nav-group{margin-top:18px}.nav-group-title{margin:0 8px 6px;color:var(--muted-foreground);font-size:11px;font-weight:750;letter-spacing:.08em;text-transform:uppercase}.nav-list{display:grid;grid-gap:2px;gap:2px;margin:0;padding:0;list-style:none}.nav-link{display:flex;min-height:40px;align-items:center;padding:8px 10px;border-radius:6px;color:var(--muted-foreground);font-size:14px;font-weight:600;text-decoration:none}.nav-link:hover{background:var(--surface-subtle);color:var(--foreground)}.nav-link[aria-current=page]{box-shadow:inset 3px 0 var(--brand-primary);background:color-mix(in srgb,var(--brand-primary) 9%,white);color:var(--foreground)}.sidebar-footer{margin-top:auto;padding-top:24px;color:var(--muted-foreground);font-size:12px}.mobile-header{position:-webkit-sticky;position:sticky;top:0;z-index:30;display:flex;min-height:56px;align-items:center;justify-content:space-between;gap:16px;padding:8px 16px;border-bottom:1px solid var(--border);background:var(--surface)}.mobile-nav summary{min-width:44px;min-height:44px;padding:10px 12px;border:1px solid var(--border);border-radius:6px;background:var(--surface);cursor:pointer;font-size:14px;font-weight:700;list-style:none}.mobile-nav summary::-webkit-details-marker{display:none}.mobile-nav-panel{position:fixed;inset:56px 0 0;overflow-y:auto;padding:16px 20px 32px;border-top:1px solid var(--border);background:var(--surface)}.main-column{min-width:0}.main-content{width:min(100%,1600px);margin:0 auto;padding:24px 16px 48px}.page-header{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:24px}.breadcrumb{margin:0 0 6px;color:var(--muted-foreground);font-size:12px}.breadcrumb a,.section-heading a{color:var(--brand-primary);text-underline-offset:3px}.page-title{margin:0;font-size:24px;font-weight:750;letter-spacing:-.025em;line-height:32px}.page-description{max-width:720px;margin:6px 0 0}.freshness,.page-description{color:var(--muted-foreground)}.freshness{display:inline-flex;min-height:32px;align-items:center;gap:8px;font-size:12px;font-weight:600}.freshness-dot{width:8px;height:8px;border-radius:50%;background:var(--success)}.page-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.workspace-panel{padding:20px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.workspace-panel h2{margin:0;font-size:18px;line-height:28px}.workspace-panel p{max-width:68ch;margin:8px 0 0;color:var(--muted-foreground)}.skeleton{overflow:hidden;background:var(--surface-subtle)}.skeleton-line{width:min(420px,72%);height:18px;margin-bottom:12px;border-radius:4px}.skeleton-panel{height:180px;border:1px solid var(--border);border-radius:8px}.error-panel{border-color:var(--danger)}.button{margin:0;padding:8px 16px;border:0;border-radius:6px;background:var(--brand-primary);color:white;font-weight:700}.button,.secondary-button{display:inline-flex;min-height:40px;align-items:center;justify-content:center;cursor:pointer}.secondary-button{padding:8px 14px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--foreground);font:inherit;font-size:14px;font-weight:700;text-decoration:none}.dashboard-stack{display:grid;grid-gap:24px;gap:24px}.exception-band{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 20px;border:1px solid #e7c76a;border-radius:8px;background:#fffbea}.exception-band h2,.section-heading h2{margin:0;font-size:18px;line-height:28px}.empty-state p,.exception-band p,.feature-lead,.section-heading p{margin:4px 0 0;color:var(--muted-foreground)}.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.section-heading>span{color:var(--muted-foreground);font-size:12px;white-space:nowrap}.metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px}.data-panel,.metric-card{border:1px solid var(--border);border-radius:8px;background:var(--surface)}.metric-card{padding:16px}.metric-card p{margin:0;color:var(--muted-foreground);font-size:13px;font-weight:600}.metric-card strong{display:block;margin:6px 0 2px;font-size:28px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;letter-spacing:-.03em;line-height:36px}.metric-card span{font-size:12px}.positive{color:var(--success)}.dashboard-grid{display:grid;grid-gap:16px;gap:16px}.data-panel{min-width:0;padding:20px}.bar-chart{display:flex;height:210px;align-items:end;gap:clamp(5px,1vw,12px);padding:20px 8px 0;border-bottom:1px solid var(--border);background:linear-gradient(to bottom,transparent 49%,var(--surface-subtle) 50%,transparent 51%)}.bar-chart span{flex:1 1;min-width:5px;border-radius:3px 3px 0 0;background:var(--brand-primary)}.chart-summary{max-width:70ch;margin:14px 0 0;color:var(--muted-foreground);font-size:14px}.health-list{margin:0;padding:0;list-style:none}.health-list li{display:flex;min-height:48px;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--surface-subtle);font-size:14px}.health-list li:first-child{border-top:0}.health-list strong{font-size:13px}.confidence,.status-label{display:inline-flex;align-items:center;border-radius:999px;background:#dcfce7;color:#166534;font-size:12px;font-weight:700}.status-label{padding:4px 8px}.confidence{padding:3px 8px}.confidence.medium{background:#fef3c7;color:#854d0e}.responsive-table{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:14px}caption{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}td,th{padding:12px;border-top:1px solid var(--surface-subtle);text-align:left;vertical-align:middle}th{color:var(--muted-foreground);font-size:12px;font-weight:700}tbody tr:hover{background:var(--surface-subtle)}.feature-primary{min-height:320px}.feature-lead{max-width:68ch}.empty-state{margin-top:24px;padding:20px;border:1px dashed var(--border);border-radius:8px;background:var(--surface-subtle)}.empty-state .secondary-button{margin-top:16px}@media (min-width:640px){.main-content{padding:32px 24px 56px}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width:1024px){.sidebar{display:block}.mobile-header{display:none}.main-column{margin-left:240px}.main-content{padding:32px}.dashboard-grid{grid-template-columns:minmax(0,2fr) minmax(280px,1fr)}}@media (max-width:639px){.exception-band,.page-actions,.page-header{align-items:stretch;flex-direction:column}.page-actions .button{min-height:44px}.metric-grid{grid-template-columns:1fr}.data-panel{padding:16px}td:nth-child(2),th:nth-child(2){display:none}}@media (prefers-reduced-motion:no-preference){.nav-link,.skip-link{transition:color .12s ease-out,background-color .12s ease-out,transform .12s ease-out}.button,.secondary-button,tbody tr{transition:background-color .12s ease-out,border-color .12s ease-out}}