/* AIFERS Studio: shared presentation layer; data and workflow stay in their modules. */
:root {
  --navy:#1d2c44;--navy-deep:#152238;--teal:#3569d4;--teal-dark:#2457ba;
  --teal-light:#edf3ff;--bg:#f7f8fb;--surface:#fff;--text:#26344b;--muted:#8190a5;
  --border:#e6eaf1;--amber:#a26b14;--red:#bd5353;--shadow:0 3px 16px #17223506;
  --radius:12px;--sidebar-width:224px;
  font-family:Inter,"Segoe UI","PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  font-size:14px;line-height:1.6;font-synthesis:none;
}
body{-webkit-font-smoothing:antialiased}
:focus-visible{outline:2px solid #789fe7;outline-offset:3px}
h1{font-size:27px;font-weight:650;letter-spacing:-.8px;line-height:1.3}
h2,h3{font-weight:600}
a{color:var(--teal)}
.ui-icon{width:18px;height:18px;display:block;flex-shrink:0}
[data-icon]{display:inline-flex;align-items:center;justify-content:center}
.mono{font-family:"SFMono-Regular",Consolas,monospace;letter-spacing:-.25px}
.sidebar{width:var(--sidebar-width);background:#f0f2f7;color:#626e80;border-right:1px solid #e3e7ef;z-index:40}
.brand{padding:29px 24px 30px;gap:11px;color:#263b5b}
.brand-mark{flex:none;width:35px;height:35px;border:0;border-radius:10px;background:#3768ce;color:white;box-shadow:0 3px 7px #285ac51c}
.brand-mark svg{width:30px;height:30px}
.brand strong{font-size:18px;letter-spacing:1.8px;font-weight:750;line-height:1.2}
.brand small{font-size:11px;letter-spacing:1.5px;color:#8b97aa;margin-top:5px}
.sidebar nav{padding:0 13px;gap:3px;overflow:auto;scrollbar-width:thin}
.nav-caption{padding:18px 13px 8px;font-size:10px;letter-spacing:.8px;color:#929fb2}
.nav-caption:first-child{padding-top:0}
.sidebar nav a{gap:12px;min-height:41px;padding:9px 13px;color:#697991;border-radius:7px;font-size:13px;font-weight:500;position:relative;transition:background .15s,color .15s}
.sidebar nav a:hover{background:#e8ecf4;color:#2e4b73}
.sidebar nav a.active{background:#fff;color:#3464c3;box-shadow:0 1px 4px #17223506;font-weight:600}
.sidebar nav a.active:after{content:"";width:5px;height:5px;border-radius:50%;background:#6994e8;margin-left:auto}
.nav-icon{display:flex;width:19px;height:19px;align-items:center;justify-content:center;color:#8999b1;opacity:1}
.active .nav-icon{color:#537fd4}
.sidebar-foot{padding:18px 14px;border-top:1px solid #e1e6f0;gap:9px;align-items:center;color:#77879f;font-size:11px}
.user-avatar{height:31px;width:31px;display:grid;place-items:center;flex:none;border:1px solid #dce4f2;border-radius:50%;background:#fff;color:#718cb6;font-size:12px;font-weight:700}
#user-name{min-width:0;overflow-wrap:anywhere;flex:1;color:#697c99}
.main-shell{margin-left:var(--sidebar-width);width:calc(100% - var(--sidebar-width));min-width:0}
.topbar{height:72px;min-height:72px;background:#ffffffee;padding:12px 32px;position:sticky;top:0;z-index:15;backdrop-filter:blur(12px)}
.breadcrumbs{display:flex;gap:13px;align-items:center;font-size:12px;color:#9aa6b8;white-space:nowrap}
.breadcrumbs strong{font-weight:500;color:#657996}
.breadcrumb-slash{color:#c4cddb}
.topbar-actions{gap:20px;min-width:0}
.shop-context{flex-direction:row;align-items:center;gap:10px;min-width:0}
.shop-context>div{display:flex;flex-direction:column}
.shop-market{display:grid;place-items:center;width:32px;height:32px;flex:none;font-size:10px;font-weight:700;letter-spacing:.5px;background:#f4f7fc;color:#8199bc;border:1px solid #e3eaf5;border-radius:8px}
.shop-context .overline{font-size:9px;letter-spacing:.4px;color:#9aa8bc}
.shop-context select{color:#4e678d;font-size:12px;font-weight:600;padding:0 18px 0 0;max-width:255px;min-width:145px;line-height:1.6}
.topbar-divider{height:25px}
.nav-backdrop{position:fixed;inset:0;z-index:35;background:#17223555;border:0;backdrop-filter:blur(2px)}
main{padding:30px 32px 40px;max-width:none}
.page{min-width:0;max-width:1580px;margin:0 auto}
.page-head{margin-bottom:25px}
.page-head .description{font-size:12px;color:#8b98ac;margin-top:8px;line-height:1.7}
.eyebrow{font-size:9px;color:#92a1b9;letter-spacing:1.6px;margin-bottom:7px}
.head-actions,.actions{gap:8px}
.button{padding:8px 13px;border-color:#dfe6f1;border-radius:7px;color:#647996;font-size:12px;font-weight:500;min-height:35px;transition:background .14s,border-color .14s;gap:7px}
.button:hover{background:#f5f8fd;border-color:#c6d4eb}
.button.primary{box-shadow:0 2px 3px #24487e0b}
.button.primary:hover{border-color:var(--teal-dark)}
.button.ghost{color:#8a9bb5}
.button.ghost:hover{color:#5275af;background:#edf3fc}
.button.danger{color:var(--red);border-color:#efdada}
.button.small{font-size:12px;min-height:32px;padding:6px 11px}
.button.tiny{font-size:11px;min-height:28px;padding:4px 8px}
.button.icon-only{height:32px;width:32px;min-height:32px;padding:7px;flex:none}
.button .ui-icon{width:15px;height:15px}
.button:focus-visible,summary:focus-visible{outline:2px solid #7da4ed;outline-offset:3px}
.section{margin-bottom:22px;box-shadow:var(--shadow);min-width:0}
.section-head{padding:22px 23px 19px;align-items:flex-start;gap:12px}
.section-head h2{font-size:14px;font-weight:650;color:#314c73;letter-spacing:-.1px}
.section-head p{font-size:11px;color:#94a2b7;line-height:1.7;margin-top:5px;max-width:780px}
.section-body{padding:0 23px 23px;min-width:0}
.section-head>div:first-child{min-width:120px}
.section-body.flush{padding:0}
.section-foot{background:#fafcff;padding:12px 23px;font-size:11px}
.panel-actions{gap:3px}
.panel-icon-button{padding:5px!important;width:27px;min-height:27px!important;border-radius:5px}
.panel-icon-button .ui-icon{width:14px;height:14px}
.panel-expanded{box-shadow:0 0 0 100vmax #17223555,0 15px 50px #17223522;z-index:70}
.panel-expanded .section-head{background:#fff}
.grid-2{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:22px}
.grid-equal{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0 25px}
.kpi,.kpi.primary-kpi{padding:19px 21px 17px;background:#fff;border-color:var(--border);color:var(--text);border-radius:10px;box-shadow:var(--shadow)}
.kpi-label,.primary-kpi .kpi-label{color:#718198;font-size:11px;font-weight:500;display:flex;align-items:center;justify-content:space-between;gap:4px}
.kpi-value{font-size:29px;font-weight:650;letter-spacing:-.85px;margin:11px 0 9px;line-height:1.35;color:#2a4368;overflow-wrap:anywhere}
.kpi-unit{font-size:9px;font-weight:500;letter-spacing:.5px;color:#8d9db5;flex:none}
.kpi-note,.primary-kpi .kpi-note{color:#98a6bc;font-size:10px;line-height:1.6;min-height:16px}
.kpi-icon{display:none}
.metric-change{display:inline-flex;align-items:center;gap:3px;font-weight:500;padding:2px 5px;border-radius:4px;font-size:10px}
.metric-change .ui-icon{width:12px;height:12px}
.metric-change.positive{background:#f0f9f6;color:#43846e}
.metric-change.negative{background:#fff2ef;color:#bd7165}
.metric-change.neutral{background:#f0f3f8;color:#8898b2}
.scope-banner{padding:17px 20px;margin:18px 0;background:#fff;border:1px solid var(--border);border-left:1px solid var(--border);border-radius:10px;gap:15px;box-shadow:var(--shadow)}
.scope-content h2{font-size:18px;font-weight:600;letter-spacing:-.3px;margin:3px 0 9px;color:#3c577f}
.scope-meta{gap:7px 10px;font-size:11px;color:#9aabc5}
.scope-meta>strong{font-weight:500;color:#8d9eb8}
.scope-photo{height:66px;width:66px;background:#f7f9fc;border:1px solid #eef1f7}
.scope-coverage{font-size:11px;color:#99a8bf;margin-top:8px}
.scope-review-summary{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}
.scope-details{font-size:11px;color:#8f9fba;margin-top:9px}
.scope-details summary{cursor:pointer;color:#8fa3c0;width:fit-content}
.scope-details .ui-icon{display:inline-block;width:12px;height:12px;vertical-align:middle;margin-right:5px}
.scope-strip{background:#f2f6fc;border-color:#e4ebf7;color:#8c9fbd;border-radius:8px;padding:10px 14px;font-size:11px;gap:8px 16px}
.scope-strip strong{color:#667fa5;font-weight:550}
.badge{border-radius:4px;font-size:10px;font-weight:500;background:#f1f4f9;color:#8a9bb4;line-height:1.7}
.badge.success{background:#eef8f4;color:#568f79}
.badge.warning{background:#fff7e9;color:#a28654}
.badge.danger{background:#fcf0ef;color:#be7772}
.badge.teal{background:#eef4ff;color:#7c9dce}
.callout{border-radius:8px;font-size:11px;line-height:1.7;padding:10px 14px;background:#fffcf5;border-color:#f0e8d8;color:#a18b61}
.callout.info{background:#f4f7fd;border-color:#e3ebf9;color:#8da2c3}
.callout.error{background:#fff5f4;border-color:#f1dddb;color:#bc6d67}
.warning-list:empty{display:none}
.data-notices{margin:12px 0 18px;font-size:11px;color:#a28c62}
.data-notices>summary{display:flex;gap:7px;align-items:center;width:fit-content;cursor:pointer;padding:5px 0}
.data-notices>summary .ui-icon{width:14px;height:14px}
.data-notices>summary:after{content:"⌄";margin-left:5px}
.data-notices[open]>summary:after{content:"⌃"}
.data-notices .callout{margin:8px 0}
.filters{gap:12px;padding:16px 18px;background:#fff;border:1px solid var(--border);border-radius:10px}
.field{gap:6px}
.field label,.field-label{font-size:11px;font-weight:500;color:#8194b1;line-height:1.5}
.field input,.field select,.field textarea{border-color:#e0e7f2;color:#567196;padding:8px 10px;min-height:36px;font-size:12px;border-radius:6px}
.field input:hover,.field select:hover,.field textarea:hover{border-color:#c4d3ea}
.field input:focus,.field select:focus,.field textarea:focus{border-color:#8cace6;outline:0;box-shadow:0 0 0 3px #3569d412}
.field select:disabled,.field input:disabled{background:#f8fafd;color:#a5b3c8}
.field .hint{font-size:10px;color:#9daac0;line-height:1.7}
.field input[type=file]{padding:9px;background:#f8faff;min-height:44px}
.field input[type=file]::file-selector-button{padding:5px 10px;margin-right:12px;background:#fff;border:1px solid #dce4f3;border-radius:5px;color:#7896c6;font:inherit}
.field input[type=checkbox]{accent-color:var(--teal)}
.filters .field{min-width:135px;flex:1 1 155px;max-width:340px}
.filters .field.wide{flex:2 1 260px;max-width:520px}
.form-grid{gap:18px;grid-template-columns:repeat(2,minmax(0,1fr))}
.view-tabs{gap:4px;padding:4px;background:#edf1f7;border:1px solid #e2e8f2;border-radius:8px;margin-bottom:18px}
.view-tabs .button{font-size:12px;font-weight:500;color:#90a1bc;min-height:32px;border-radius:5px}
.view-tabs .button.active{color:#5b7bb1;background:#fff;box-shadow:0 1px 5px #17223509}
.table-wrap{max-width:100%;scrollbar-width:thin;scrollbar-color:#cad7eb transparent}
.data-table{border-collapse:separate;border-spacing:0;font-size:12px;line-height:1.65}
.data-table thead th{background:#f8fafe;font-weight:500;font-size:11px;color:#8f9fb8;padding:12px 16px;z-index:2}
.data-table td{padding:15px 16px;border-color:#edf1f7;color:#607a9e;vertical-align:middle}
.data-table th:first-child,.data-table td:first-child{padding-left:21px}
.data-table th:last-child,.data-table td:last-child{padding-right:21px}
.data-table tbody tr:hover{background:#f8faff}
.data-table tbody tr:has(input[type=checkbox]:checked){background:#f1f6ff}
.data-table input[type=checkbox]{accent-color:var(--teal);width:15px;height:15px;cursor:pointer}
.data-table td.numeric{color:#4b668e;font-weight:500}
.data-table .subline,.subline{display:block;margin-top:4px;font-size:10px;color:#9aaac3;line-height:1.6}
.cell-main{font-weight:550;color:#4c6890}
.cell-link,.bar-label{color:#6284b8}
.data-table .sort-button{padding:0;color:inherit;min-height:22px}
.data-table .row-detail{background:#f8fafe}
.row-detail pre,.source-json{background:#f6f9fd;color:#849abb;border:1px solid #e8eef8;border-radius:7px;padding:16px;font-size:12px;max-height:380px}
.table-empty{padding:40px!important;color:#a0adc1}
.table-toolbar{display:flex;align-items:center;justify-content:space-between;padding:10px 1px 12px;gap:15px;color:#93a3bc;font-size:11px;flex-wrap:wrap}
.table-toolbar .field{flex-direction:row;align-items:center;gap:8px}
.table-toolbar .field label{font-size:10px;color:#9cacbf}
.table-toolbar .field select{width:78px;font-size:11px;min-height:29px;padding:4px 7px}
.table-summary{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.table-range{color:#a5b1c6;font-size:10px}
.pagination-footer{padding:12px 0 0;background:#fff;border-bottom:0;color:#9cacbf;font-size:11px}
.pagination-footer .field{flex-direction:row}
.pagination-footer .field select{min-height:28px;padding:4px 6px;font-size:11px}
.pagination-footer .button{padding:3px 7px;min-height:27px;font-size:10px}
.page-jump{border:1px solid #e2e9f4;border-radius:5px;background:#fff;color:#7892b6}
.empty{padding:48px 24px}.empty-mark{border-color:#e2eaf7;background:#f8faff;color:#9fb3d1;border-radius:12px}
.empty-mark .ui-icon{width:23px;height:23px}
.empty p{font-size:12px;color:#98a8bf;line-height:1.8;margin:10px auto 20px}
.loading{padding:35px;color:#93a4bf}
.spinner{border-color:#e4ecf9;border-top-color:#83a7e9}
.line-chart{height:240px}
.line-chart text,.multi-trend text{fill:#9aacc8;font-family:inherit}
.bar-row{margin:19px 0}
.bar-track{height:6px;background:#edf2fb;border-radius:3px}
.bar-fill{background:#86a9e9;border-radius:3px}
.bar-label{font-size:12px;line-height:1.7}
.bar-value{font-size:11px;color:#96a8c3;font-variant-numeric:tabular-nums}
.multi-trend{max-height:340px}
.series-picker{border-color:#e3ebf8;background:#fafcff;border-radius:8px;padding:7px}
.series-picker label{background:#f0f5fd;color:#829ac0;font-size:11px;border-radius:4px}
.series-picker input,.checkbox-line input{accent-color:var(--teal)}
.series-legend{font-size:11px;gap:15px;color:#8fa4c3}
.series-legend span:before{height:7px;width:7px;border-radius:50%}
.hierarchy-style{border-color:#e4ebf6;border-radius:8px}
.hierarchy-style>summary{background:#f8faff;color:#708bb5;padding:14px 17px}
.hierarchy-color{border-color:#edf1f8}
.hierarchy-color>summary{padding:12px;color:#899fbe}
.heat-cell{color:#5278ae;border-radius:4px;font-size:12px;min-width:64px}
.heat-cell small{color:#b29b71}
.missing-cell{color:#adb9cc}
.subheading{color:#647fa8;font-size:16px;margin:22px 0 13px}
.overview-scope{box-shadow:none;background:transparent;border:0;padding:0;margin:8px 0 15px}
.overview-scope .scope-content{display:flex;align-items:center;flex-wrap:wrap;gap:8px 15px}
.overview-scope .scope-content h2{font-size:12px;letter-spacing:0;margin:0;color:#8c9fbd;font-weight:500}
.overview-scope .overline{color:#9eacc1;font-size:10px}
.overview-scope .scope-meta{margin-left:auto;font-size:11px}
.overview-filters{padding:0;border:0;background:transparent;display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:17px;gap:12px}
.overview-filter-main{display:flex;align-items:flex-end;gap:10px;flex:1;min-width:0}
.overview-filter-main .field{min-width:240px;max-width:480px;flex:1}
.overview-filter-main .field>label{font-size:10px}
.overview-parameters{position:relative;font-size:11px;color:#91a3bf;flex:none;max-width:100%;align-self:flex-end}
.overview-parameters>summary{padding:9px 12px;border:1px solid #e0e8f4;border-radius:7px;background:#fff;cursor:pointer;font-size:11px}
.overview-parameter-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:15px;border:1px solid #e2eaf7;border-radius:9px;background:white;position:absolute;right:0;top:42px;z-index:8;width:350px;box-shadow:0 8px 25px #203a6510}
.overview-parameter-fields .field{min-width:0;max-width:none}
.overview-primary-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:22px;align-items:start}
.overview-primary-grid>.section{min-width:0}
.overview-focus-stack{min-width:0;display:grid;gap:0}
.overview-focus-stack .section-body{max-height:350px;overflow:auto;scrollbar-width:thin}
.overview-focus-stack .kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 16px}
.overview-focus-stack .kpi{padding:13px;box-shadow:none;background:#fafcff;border-color:#edf1f9}
.overview-focus-stack .kpi-value{font-size:23px;margin:5px 0}
.overview-focus-stack .insight-card{padding:13px 0}
.overview-secondary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:start}
.overview-secondary-grid .section-body{max-height:390px;overflow:auto;scrollbar-width:thin}
.overview-grid .section-body{padding:0 23px 23px}
.overview-grid{gap:22px}
.insight-card{border-color:#edf1f8;padding:15px 0}
.insight-card h3{font-size:13px;font-weight:550;color:#7089ac;margin:5px 0}
.insight-card p{font-size:11px;line-height:1.8;color:#93a4bf;margin:5px 0 10px}
.insight-card>.button{color:#7a99c7;border-color:#e8eef8;background:#fafcff}
.rank-row{gap:13px;border-color:#edf1f8;color:#708ab2;padding:17px 0;background:#fff}
.rank-row:hover{background:#fafcff;border-color:#edf1f8}
.rank-row .cell-main{font-size:13px;color:#6b86ae}
.rank-row .subline{font-size:10px;color:#a4b3cc}
.rank-number{height:23px;width:23px;font-size:11px;background:#f1f5fc;color:#90a7ca;border-radius:5px}
.rank-main{flex:1;min-width:0}
.rank-value{font-size:15px!important;font-weight:600;color:#6288c5!important;white-space:nowrap}
.rank-meter{display:block;height:4px;background:#f1f5fc;border-radius:2px;margin-top:11px;max-width:100%}
.rank-meter-fill{display:block;height:100%;background:#8dafea;border-radius:2px}
.rank-row:nth-child(2n) .rank-meter-fill{background:#a6bbed}
.sales-analysis-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:22px;align-items:start}
.sales-analysis-grid>.section{min-width:0}
.sales-chart-stage{padding:4px 0 0}
.trend-heading{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:8px}
.trend-caption{font-size:11px;color:#a0afc7;margin:8px 0 14px;line-height:1.7}
.chart-controls{gap:14px}
.chart-controls .field{max-width:280px}
.style-card{padding:15px;gap:13px;border-radius:10px}
.style-card img,.style-photo{width:56px;height:72px;background:#f7f9fc;border-radius:6px}
.style-card strong{font-size:12px}.style-card p{font-size:11px}
.style-card .cell-link{font-size:13px}
.photo-thumb{width:36px;height:46px;background:#f2f6fc;border-radius:5px}
.photo-empty{color:#adc0dc}
.template-help{background:#fafcff;border-color:#e5edf8;padding:13px 18px;border-radius:8px}
.template-help summary{color:#90a8cd;font-size:11px}
.template-help p{font-size:12px;color:#8c9fbd}
.import-steps{gap:15px;color:#9cacc5;font-size:11px}
.import-steps i{height:24px;width:24px;background:#f0f5fd;color:#93a9ca}
.import-steps .current{color:#7397cf}
.import-steps .current i{background:#eaf2ff;color:#618dcc}
.upload-area{background:#fafcff;border-color:#c3d4ef;border-radius:9px}
.issue-list li{font-size:11px;border-color:#e9eff8;padding:10px 0}
.review-editor select,.review-editor input{padding:6px;font-size:11px;min-width:85px;max-width:145px;background:#fff;color:#7d95b9}
.return-comment{background:#f8faff;border-color:#bfd2f0;font-size:13px;color:#748fb5;line-height:1.9}
.detail-meta{font-size:12px;color:#8ca2c2}
.record-card{border-radius:10px;padding:23px}
.record-card h3{font-size:15px;color:#607da8}
.record-card p{font-size:12px;color:#8da2c2;line-height:1.9}
.record-meta{font-size:11px;color:#a0b0c9}
.setting-grid{gap:22px;grid-template-columns:repeat(2,minmax(0,1fr))}
.result-grid{background:#f4f8fe;border:1px solid #e8eff9;border-radius:8px}
.result-grid strong{color:#7c9dd0;font-size:20px}
.result-grid small{font-size:11px;color:#a0b3d0}
.progress-track{height:6px;background:#edf3fe}.progress-fill{background:#8bafea}
.auth-screen{background:#fff}
.auth-story{background:#f1f5fc;color:#718fbc;padding:64px;border-right:1px solid #e3ebf8}
.auth-story:after{border-color:#d9e6fb;box-shadow:0 0 0 70px #e8f0fc30,0 0 0 140px #e9f2ff20}
.auth-story h2{font-size:32px;line-height:1.65;font-weight:550;letter-spacing:-.8px;white-space:pre-line}
.auth-story p{font-size:13px;color:#97accb;line-height:2}
.auth-story .auth-foot{color:#b0bfd5}
.auth-card .field{margin:19px 0}.auth-card .field input{height:43px}
.auth-card .button{min-height:42px;margin-top:13px}
.auth-note{color:#a2b3cd}
.dialog{width:min(720px,calc(100% - 48px));max-height:calc(100dvh - 64px);border-color:#e2eaf8;border-radius:14px;box-shadow:0 24px 100px #17345726}
.dialog.wide-dialog{width:min(1240px,calc(100% - 64px))}
.dialog::backdrop{background:#243f6550;backdrop-filter:blur(3px)}
.dialog-head{padding:19px 26px;z-index:8}
.dialog-head h2{font-size:16px;font-weight:600;letter-spacing:-.2px;color:#5b78a4}
.dialog-body{padding:24px 26px}
.dialog .close{padding:0;width:30px;height:30px;min-height:30px;font-size:22px}
.dialog .section:last-child{margin-bottom:0}
.workspace-footer{padding:17px 32px;color:#a9b6cc;font-size:10px;letter-spacing:.2px}
.workspace-footer>span:first-child{font-size:9px;letter-spacing:1.3px}
.toast{background:#3b5885;border-radius:9px;box-shadow:0 5px 25px #17355722}
.stat-inline strong{color:#6d91c7;font-size:23px;font-variant-numeric:tabular-nums}
.stat-inline small{font-size:11px}
.timing-filters{display:block}
.timing-filter-main,.timing-advanced-fields{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px}
.timing-filter-main>.field{flex:1 1 155px;min-width:130px}
.timing-filter-main>.field.wide{flex:2 1 280px;max-width:none}
.timing-advanced-filters{border-top:1px solid #e8edf5;margin-top:14px;padding-top:10px}
.timing-advanced-filters>summary{font-size:11px;color:#7f93b1;cursor:pointer;width:fit-content;padding:4px 0}
.timing-advanced-fields{padding:14px 0 4px}
.timing-advanced-fields>.field{flex:1 1 150px;min-width:130px}
.timing-filters>.button{margin:12px 7px 0 0}
.timing-columns{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:22px}
.timing-hour-chart{overflow-x:auto;scrollbar-width:thin;padding:20px 2px 5px}
.timing-hour-grid{display:grid;grid-template-columns:repeat(24,minmax(14px,1fr));gap:5px;min-width:500px}
.timing-hour-column{min-width:0;text-align:center;border-radius:3px}
.timing-hour-plot{height:190px;position:relative;display:flex;align-items:flex-end;justify-content:center;background:repeating-linear-gradient(to top,transparent 0,transparent 46px,#edf2fa 47px,transparent 48px)}
.timing-hour-fill{width:76%;border-radius:3px 3px 0 0;background:#719ce9;min-width:7px;transition:background .15s}
.timing-hour-column:hover .timing-hour-fill,.timing-hour-column:focus-visible .timing-hour-fill{background:#386dce}
.timing-hour-baseline{position:absolute;bottom:0;left:0;right:0;height:1px;background:#dfe7f4}
.timing-hour-label{display:block;font-size:10px;color:#8da1be;margin-top:10px;line-height:1.5}
.timing-track{height:7px;background:#eff4fc}
.timing-fill{background:#91ade2}
.timing-bar{font-size:11px;color:#7c90ae;grid-template-columns:42px minmax(35px,1fr) 106px;margin:6px 0}
.timing-heat{gap:4px;padding:3px}
.timing-heat>span,.timing-heat>strong{padding:9px 2px;font-size:10px}
.timing-cell{color:#4e75ad}
.timing-scroll{scrollbar-width:thin}
.timing-clock-switch{display:flex;justify-content:space-between;gap:20px;align-items:center;border:1px solid #dce5f3;border-radius:10px;padding:17px 20px;background:#fff;margin-bottom:14px}
.timing-clock-switch strong{color:#314867;font-size:14px}
.timing-clock-switch p{margin:4px 0 0;color:#718198;font-size:11px}
.timing-clock-choices{display:flex;gap:5px;flex-shrink:0;padding:4px;background:#f1f4fa;border-radius:8px}
.timing-clock-choices .button{border-color:transparent;background:transparent;min-height:34px}
.timing-clock-choices .button.primary{background:#3569d4;color:white}
.timing-filter-panel{background:#fff;border:1px solid #e6eaf1;border-radius:9px;margin-bottom:10px}
.timing-filter-panel>summary{cursor:pointer;color:#536b8d;font-size:12px;padding:13px 18px}
.timing-filter-panel>.filters{box-shadow:none;border:0;border-top:1px solid #edf1f7;border-radius:0;margin:0;padding-top:17px}
.timing-applied-scope{font-size:11px;color:#738298;margin:10px 0 17px;line-height:1.8}
.timing-applied-scope summary,.timing-coverage summary{cursor:pointer}
.timing-applied-scope p{padding:10px 14px;border-radius:7px;background:#f0f4fa}
.timing-site-heading{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin:25px 0 7px}
.timing-site-heading h2{font-size:17px;color:#324766}.timing-site-heading>span{font-size:11px;color:#788aa3}
.timing-coverage{font-size:11px;color:#7b8ba1;margin:0 0 20px}.timing-coverage .callout{margin-top:10px}
.timing-operation-plan{border-color:#dbe5f6}
.timing-operation-plan .section-head{padding-bottom:10px}.timing-operation-plan .eyebrow{color:#6d8ac0}
.timing-plan-controls{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}
.timing-plan-controls .field{min-width:150px;max-width:240px;flex:1}
.timing-plan-controls .field:nth-child(2){max-width:170px}.timing-plan-controls .button{margin-bottom:1px}
.timing-plan-date{font-size:11px;color:#718198;margin:14px 0}
.timing-plan-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:13px}
.timing-plan-card{padding:18px;background:#f7f9fd;border:1px solid #e6edf8;border-radius:9px;min-width:0}
.timing-plan-card-title{font-size:11px;font-weight:600;color:#587298;margin-bottom:15px}
.timing-plan-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.timing-plan-step{display:flex;flex-direction:column;align-items:flex-start;gap:4px;position:relative;min-width:0}
.timing-step-label{font-size:11px;color:#6e809a}.timing-step-time{font-size:26px;line-height:1.4;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-.5px;color:#334d73}
.timing-plan-step.prepare .timing-step-label,.timing-plan-step.prepare .timing-step-time{color:#3569d4}
.timing-step-date{font-size:10px;color:#718198;line-height:1.6}
.timing-local-counterpart{border-top:1px solid #e2e9f5;padding-top:12px;margin:15px 0 0;font-size:11px;line-height:1.7;color:#74839a}
.timing-plan-footnote{font-size:11px;line-height:1.8;color:#78869b;margin:13px 0 0}
.timing-plan-card .callout{margin-top:12px}
@media(max-width:1000px){.timing-clock-switch{align-items:flex-start;flex-direction:column;gap:12px}.timing-site-heading{flex-direction:column;gap:4px}.timing-plan-cards{grid-template-columns:1fr}}
@media(max-width:600px){.timing-clock-switch{padding:15px}.timing-clock-choices{width:100%}.timing-clock-choices .button{flex:1;font-size:11px;padding:7px}.timing-plan-controls{gap:10px}.timing-plan-controls .field{min-width:120px}.timing-plan-controls .field:nth-child(2){max-width:none}.timing-plan-card{padding:14px}.timing-plan-steps{gap:8px}.timing-step-time{font-size:22px}.timing-step-date{font-size:10px}.timing-site-heading h2{font-size:15px}}
@media(max-width:1000px){.timing-columns{grid-template-columns:1fr}}
/* Neutral reading surfaces; accents belong to actions, selection and charts. */
.page-head h1,.kpi-value{color:#25334b}
.section-head h2{color:#35445d}
.data-table td,.cell-main,.data-table td.numeric{color:#4b5c74}
.data-table{font-size:13px}
.data-table thead th{font-size:11px;color:#76869c}
.data-table .subline,.subline{font-size:11px;color:#7a8b9f}
.section-head p,.page-head .description,.insight-card p,.kpi-note,.scope-coverage,.scope-details,.trend-caption{color:#738298}
.section-head p{font-size:12px}
.insight-card p{font-size:12px}
.insight-card h3{color:#52637c}
.rank-row .cell-main{color:#536680}
.rank-row .subline{color:#8493a8;font-size:11px}
.field label,.field-label{color:#718198}
.field input,.field select,.field textarea{color:#4b5e79}
.button:not(.primary):not(.ghost){color:#566b88}
.kpi-label{color:#718198}.kpi-note{font-size:10px}
.badge{color:#7186a3}.badge.success{color:#498269}.badge.warning{color:#947343}.badge.danger{color:#ad645e}.badge.teal{color:#6c8ec1}
.scope-content h2{color:#526d92}
.scope-meta>strong,.scope-review-summary{color:#78899f}
.callout.info{color:#6b80a1}.callout{color:#917a53}
.callout.error{color:#b2615a}
.record-card p,.detail-meta{color:#738298}
.bar-label,.bar-value{color:#788ba6}
.table-toolbar,.pagination-footer{color:#7b8da8}
@media(min-width:1100px){.scope-content{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:18px}.scope-content>.overline{grid-column:1/-1}.scope-content>h2{grid-column:1;grid-row:2}.scope-content>.scope-meta{grid-column:1;grid-row:3}.scope-content>.scope-review-summary{grid-column:2;grid-row:2;justify-content:flex-end;align-self:center;margin-top:0;max-width:350px}.scope-content>.scope-details{grid-column:2;grid-row:3;margin-top:0;text-align:right}.scope-details>summary{margin-left:auto}.scope-content>.scope-details[open]{grid-column:1/-1;grid-row:4;text-align:left;margin-top:8px}.scope-content>.scope-details[open]>summary{margin-left:0}.overview-scope .scope-content{display:flex}}
@media(min-width:1180px){.kpis{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.kpi{padding:18px 15px 15px}.kpi-value{font-size:24px;letter-spacing:-.7px}.kpi-note{font-size:10px}}
@media(min-width:1600px){.kpi{padding:21px}.kpi-value{font-size:28px}.kpi-note{font-size:10px}}
@media(min-width:1800px){main{padding:38px 48px}.topbar{padding-left:48px;padding-right:48px}.kpi-value{font-size:30px}}
@media(max-width:1350px){.sales-analysis-grid{grid-template-columns:1fr}.overview-secondary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-secondary-grid>.section:last-child{grid-column:1/-1}}
@media(max-width:1200px){:root{--sidebar-width:204px}main{padding:26px 23px}.topbar{padding:12px 23px}.brand{padding:25px 20px}.brand strong{font-size:16px}.sidebar nav{padding:0 10px}.breadcrumbs>span{display:none}.setting-grid{grid-template-columns:1fr}.setting-grid .section.full{grid-column:auto}.auth-story{padding:44px}.overview-primary-grid{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}}
@media(max-width:900px){.sidebar{width:224px}.main-shell{margin-left:0;width:100%}#menu-toggle{display:inline-flex}.topbar{padding:12px 20px;height:66px;min-height:66px;gap:12px}.topbar-actions{gap:12px}.topbar-divider{display:none}main{padding:24px 20px}.grid-2,.grid-equal{grid-template-columns:1fr}.workspace-footer{padding:17px 20px}.dialog.wide-dialog{width:calc(100% - 30px)}.overview-primary-grid{grid-template-columns:1fr}.overview-focus-stack{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}
@media(max-width:600px){h1{font-size:23px}.topbar{padding:10px 14px;gap:8px;height:62px;min-height:62px}.breadcrumbs{display:none}.topbar-actions{gap:9px;flex:1;justify-content:space-between}.shop-context{gap:7px;max-width:calc(100% - 100px)}.shop-market{width:28px;height:28px;font-size:9px}.shop-context select{font-size:11px;min-width:100px;max-width:165px}.shop-context .overline{font-size:8px}.topbar .button{font-size:11px;padding:6px 9px}.topbar .icon-only{padding:6px;width:30px}main{padding:22px 15px 30px}.page-head{gap:12px;margin-bottom:21px}.page-head .description{font-size:11px}.eyebrow{font-size:8px}.kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.kpi{padding:16px}.kpi-value{font-size:25px;margin:8px 0}.kpi-label{font-size:11px}.kpi-note{font-size:10px}.filters{padding:13px;gap:10px}.filters .field{min-width:125px;flex:1 1 125px;max-width:none}.form-grid{grid-template-columns:1fr}.section-head{padding:18px 17px 15px;flex-wrap:nowrap}.section-body{padding:0 17px 18px}.panel-actions{width:auto;flex-shrink:0}.panel-actions>.button:not(.panel-icon-button){white-space:normal}.overview-grid .section-body{padding:0 17px 18px}.style-grid{grid-template-columns:1fr}.workspace-footer{padding:16px}.dialog,.dialog.wide-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 24px);border-radius:11px}.dialog-head{padding:16px}.dialog-head h2{font-size:14px}.dialog-body{padding:17px 14px}.data-table thead th,.data-table td{padding:12px}.data-table th:first-child,.data-table td:first-child{padding-left:14px}.review-editor{flex-wrap:wrap}.review-editor select,.review-editor input{min-width:100px}.scope-strip{gap:7px 11px}.overview-filters{padding:0;align-items:stretch;flex-direction:column}.overview-filter-main .field{min-width:0}.overview-parameters{align-self:flex-end}.overview-parameter-fields{position:static;max-width:100%;width:100%;margin-top:8px}.overview-scope .scope-content{display:block}.overview-scope .scope-content h2{margin:4px 0 8px}.overview-primary-grid,.overview-secondary-grid,.overview-focus-stack{grid-template-columns:1fr}.overview-secondary-grid>.section:last-child{grid-column:auto}.table-toolbar{gap:9px}.pagination-footer{gap:10px}.pagination-footer>.actions{gap:4px}.pagination-footer .button{padding:3px 6px}.scope-photo{width:52px;height:52px}.scope-content h2{font-size:16px}.scope-review-summary .badge{font-size:9px}.bar-row{grid-template-columns:95px minmax(45px,1fr) 110px;gap:8px}.bar-label,.bar-value{font-size:10px}.view-tabs .button{font-size:11px;padding:6px 8px}.result-grid{grid-template-columns:1fr}}
@media(min-width:601px){.kpis:has(>.kpi:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}.kpis:has(>.kpi:nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1180px){.kpis:has(>.kpi:nth-child(4):last-child){grid-template-columns:repeat(4,minmax(0,1fr))}.kpis:has(>.kpi:nth-child(5):last-child){grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){*{animation-duration:0s!important;transition:none!important}}
