
/* OD-LAYOUT-PRIMITIVES v1 — structural primitives, preserved from the project. */
@layer od-layout {
  [hidden]:not([hidden="until-found" i]) { display: none !important; }
  dialog:not([open]) { display: none !important; }
  :where(.od-stack,.od-row,.od-row-top,.od-cluster,.od-grid,.od-field,.od-stat,.od-cell,.od-tile)>:where(*) { min-width:0; }
  .od-stack{display:flex;flex-direction:column;gap:var(--od-gap,8px)}
  .od-row{display:flex;align-items:center;gap:var(--od-gap,8px)}
  .od-row-top{display:flex;align-items:flex-start;gap:var(--od-gap,8px)}
  .od-cluster{display:flex;flex-wrap:wrap;align-items:center;gap:var(--od-gap,8px)}
  .od-fill{flex:1 1 0;min-width:0}.od-fixed{flex:none}
  .od-grid{display:grid;gap:var(--od-gap,12px);grid-template-columns:repeat(var(--od-cols,3),minmax(0,1fr))}
  .od-stat,.od-field,.od-cell{display:grid;gap:var(--od-gap,2px)}
  :where(.od-stat,.od-field,.od-cell)>:where(*){display:block}
  .od-tile{display:grid;grid-template-rows:auto 1fr}.od-tile>*{display:block}
  .od-media{display:block;width:100%;height:auto;aspect-ratio:var(--od-ratio,auto)}.od-media-cover{object-fit:cover}
  .od-icon{display:inline-block;inline-size:var(--od-icon-size,1em);block-size:var(--od-icon-size,1em);flex:none}
  .od-truncate{display:block;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
  .od-clamp-2,.od-clamp-3{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
  .od-clamp-2{-webkit-line-clamp:2}.od-clamp-3{-webkit-line-clamp:3}.od-lines-2{min-height:calc(2*1.4em)}
  .od-nowrap{white-space:nowrap}.od-keep{word-break:keep-all;overflow-wrap:anywhere}
  .od-screen{display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:100%}
  .od-scroll{overflow-y:auto;overscroll-behavior:contain;min-height:0}
  .od-rail{display:flex;gap:var(--od-gap,8px);overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;padding-inline:var(--od-rail-pad,16px);scroll-padding-inline:var(--od-rail-pad,16px)}
  .od-rail::-webkit-scrollbar{display:none}.od-rail>*{flex:none;scroll-snap-align:start}
  .od-rail>:last-child{margin-inline-end:var(--od-rail-pad,16px)}
  .od-spacer{flex:none;visibility:hidden;pointer-events:none}.od-touch{min-width:44px;min-height:44px}
}
:root [hidden]:where(:not([hidden="until-found" i])){display:none}
/* /OD-LAYOUT-PRIMITIVES v1 */
:root {
  --bg:#F6F8FB;--panel:#FFFFFF;--text:#18283D;--muted:#64748B;--line:#E1E7EF;
  --blue:#3667D6;--blue-dark:#2852AF;--blue-light:#EDF3FF;--up:#CF4B4B;--down:#278363;
  --amber:#A66B16;--amber-bg:#FFF8E9;--green-bg:#ECF7F1;--red-bg:#FDF0F0;
  --s1:4px;--s2:8px;--s3:12px;--s4:16px;--s5:20px;--s6:24px;--s8:32px;
  --t-xs:12px;--t-sm:14px;--t-body:14px;--t-lg:18px;--t-title:24px;--t-number:28px;
  --radius:8px;--radius-lg:12px;--duration:160ms;
  --font:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font:400 var(--t-body)/1.7 var(--font);font-variant-numeric:tabular-nums;letter-spacing:0}
button,input,select{font:inherit;color:inherit}button,select,input[type=checkbox],input[type=date],input[type=time]{cursor:pointer}
button{letter-spacing:.02em}button:disabled{cursor:not-allowed}
button,a,input,select,[tabindex]{-webkit-tap-highlight-color:transparent}
:focus-visible{outline:3px solid #82A7FC;outline-offset:3px}
a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}
h1,h2,h3,p{margin:0}h1{font-size:var(--t-title);font-weight:600;line-height:1.4;letter-spacing:0}
h2{font-size:16px;font-weight:600;line-height:1.5}h3{font-size:var(--t-sm);font-weight:600;line-height:1.6}
small,.small{font-size:var(--t-xs);line-height:1.6}.muted{color:var(--muted)}.blue{color:var(--blue)}.up{color:var(--up)}.down{color:var(--down)}.amber{color:var(--amber)}
.shell{display:grid;grid-template-columns:192px minmax(0,1fr);min-height:100vh}
.sidebar{background:var(--panel);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:28px 16px 20px;position:sticky;top:0;height:100dvh;min-width:0}
.brand{display:flex;gap:10px;align-items:center;padding:0 4px 32px}
.brand-mark{width:32px;height:36px;color:var(--blue);flex:none}
.brand-title{font-size:15px;font-weight:600;white-space:nowrap;line-height:1.5}
.brand-kicker{font-size:10px;letter-spacing:.09em;color:var(--muted);line-height:1.8}
.nav{display:flex;flex-direction:column;gap:8px}
.nav button{display:flex;gap:12px;align-items:center;border:0;border-radius:6px;padding:12px;background:transparent;text-align:left;color:#54647B;font-weight:550;white-space:nowrap}
.nav button[aria-current=page]{color:var(--blue);background:var(--blue-light)}
.nav .od-icon{--od-icon-size:18px}
.nav-label{display:block}
.nav-caption{padding:28px 12px 8px;color:var(--muted);font-size:11px;letter-spacing:.08em}
.sidebar-note{margin-top:auto;border-top:1px solid var(--line);padding:20px 8px 0;font-size:12px;color:var(--muted)}
.sidebar-note strong{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:550;color:var(--text);margin-bottom:8px}
.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--amber);flex:none}
.sidebar-note p+p{margin-top:4px}
.main{min-width:0;padding:24px 28px 28px;max-width:1600px;width:100%;margin-inline:auto}
.page-head{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:16px;min-height:44px}
.page-head .subtitle{font-size:12px;color:var(--muted);margin-top:2px}
.head-actions{display:flex;gap:8px;align-items:center}
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:6px 12px;border:1px solid var(--line);border-radius:6px;background:var(--panel);font-weight:550;line-height:1.5;color:var(--text);white-space:nowrap;transition:background var(--duration),border-color var(--duration)}
.button.primary{background:var(--blue);border-color:var(--blue);color:white}
.button.subtle{background:transparent;border-color:transparent;color:var(--blue)}
.button.small{min-height:28px;padding:4px 8px;font-size:12px}
.button:disabled{background:#F1F4F8;color:#758397;border-color:var(--line);opacity:.75}
.icon-button{width:36px;min-width:36px;padding:8px}
.button .od-icon{--od-icon-size:16px}
.badge{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;background:#F1F4F8;color:#526277;border:1px solid transparent;border-radius:4px;font-size:11px;line-height:1.6;white-space:nowrap}
.badge.info{background:var(--blue-light);color:var(--blue-dark)}.badge.warn{background:var(--amber-bg);color:#8B5B12}.badge.success{background:var(--green-bg);color:#237453}.badge.fail{background:var(--red-bg);color:#B23E3E}
.data-notice{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 16px;align-items:center;padding:8px 12px;margin-bottom:16px;background:#EFF3F9;border:1px solid #DFE7F2;border-radius:6px;font-size:12px;color:#4C6080}
.data-notice .od-icon{--od-icon-size:14px}
.data-notice strong{font-weight:550}
.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);min-width:0}
.toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;margin-bottom:16px}
.date-group,.scope-group{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.control-label{color:var(--muted);font-size:12px;font-weight:550}
input:not([type=checkbox]),select{min-height:36px;border:1px solid #D7DFE9;border-radius:6px;background:var(--panel);padding:6px 10px;max-width:100%;line-height:1.5}
input[type=date]{min-width:140px;width:144px}input[type=time]{width:100px}
select{max-width:228px;padding-right:24px}input[type=checkbox]{width:15px;height:15px;accent-color:var(--blue);margin:0;flex:none}
.date-arrows{display:flex;gap:4px}
.date-status{font-size:12px;color:var(--amber);padding:0 4px}
.scope-status{padding:12px 16px;margin-bottom:16px;border-color:#EACF9E;background:var(--amber-bg);color:#835513}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:20px 0 12px}
.section-heading:first-child{margin-top:0}.section-heading .heading-title{display:flex;align-items:center;gap:8px}
.section-heading .meta{font-size:12px;color:var(--muted)}
.metric-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.metric-card{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0;padding:16px 14px 12px;border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);text-align:left;transition:border-color var(--duration),background var(--duration)}
.metric-card .metric-label{font-size:13px;color:#53647A;display:flex;justify-content:space-between;align-items:center;gap:4px;white-space:nowrap;font-weight:550}
.info-mark{font-size:11px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #B9C4D3;border-radius:50%;width:14px;height:14px;line-height:1;color:#72839B;flex:none}
.metric-value{display:flex;gap:4px;align-items:baseline;white-space:nowrap;min-height:36px}
.metric-number{font-size:clamp(24px,2vw,var(--t-number));font-weight:600;line-height:1.3;letter-spacing:-.01em}
.metric-unit{font-size:11px;color:var(--muted);letter-spacing:0}.metric-foot{font-size:11px;color:var(--muted);line-height:1.6}
.metric-note{font-size:11px;color:var(--amber);line-height:1.6}
.support-strip{display:flex;flex-wrap:wrap;align-items:center;gap:8px 24px;padding:12px 16px;margin-top:12px}
.support-stat{display:flex;align-items:baseline;gap:8px;background:none;border:0;padding:0;font-size:12px}
.support-stat strong{font-size:18px;font-weight:600;color:var(--text)}.support-stat .unit{font-size:11px;color:var(--muted)}
.strip-note{margin-left:auto;font-size:11px;color:var(--muted)}
.panel-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:16px 20px 12px}
.panel-head .caption{display:block;font-size:11px;color:var(--muted);margin-top:2px}
.comparison{margin-top:16px}
.comparison-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:0 20px 16px}
.compare-cell{padding:0 16px;border-right:1px solid var(--line);min-width:0}.compare-cell:first-child{padding-left:0}.compare-cell:last-child{border-right:0;padding-right:0}
.compare-name{font-size:12px;color:#53647A;display:block;min-height:24px}
.compare-values{display:flex;gap:12px;align-items:baseline;justify-content:space-between;margin:4px 0}
.compare-values strong{font-size:24px;font-weight:600;line-height:1.4;white-space:nowrap}
.compare-values strong small{font-size:11px;color:var(--muted);margin-left:3px;font-weight:400}
.compare-yesterday{display:grid;text-align:right;font-size:11px;color:var(--muted);line-height:1.5;white-space:nowrap}
.compare-yesterday b{font-size:15px;font-weight:550;color:#53647A}
.compare-delta{font-size:11px;display:block}
.overview-bottom{display:grid;grid-template-columns:minmax(0,1.22fr) minmax(0,1fr);gap:16px;margin-top:16px}
.table-wrap{overflow-x:auto;max-width:100%;min-width:0}
.overview-bottom .table-wrap{max-height:360px;overflow:auto}
.topic-table th{position:sticky;top:0;z-index:1}
table{border-collapse:collapse;width:100%;font-size:12px;text-align:left;white-space:nowrap}
th{color:var(--muted);font-weight:550;background:#F8FAFD;font-size:11px}
th,td{padding:9px 16px;border-bottom:1px solid #EDF0F5}
tbody tr:last-child td{border-bottom:0}th.numeric,td.numeric{text-align:right}
.topic-table th:first-child,.topic-table td:first-child{padding-left:20px}
.topic-table td{padding-top:7px;padding-bottom:7px}
.topic-link{display:inline-flex;align-items:center;gap:8px;border:0;background:none;padding:0;letter-spacing:0;text-align:left}
.rank{font-size:10px;color:#8B99AC;min-width:12px}.topic-link strong{font-size:12px;font-weight:550}
.bar-cell{width:26%}.bar-track{display:block;height:6px;background:#F0F4FA;border-radius:2px;min-width:40px}.bar-fill{display:block;height:6px;background:#7C9FEA;border-radius:2px}
.table-note{font-size:11px;color:var(--muted);padding:10px 20px;border-top:1px solid var(--line)}
.table-search{width:136px!important;min-height:30px!important;font-size:12px;padding:5px 8px!important}
.search-group{display:flex;align-items:center;gap:6px}.search-group label{font-size:11px;color:var(--muted)}
.empty{padding:24px 16px;text-align:center;color:var(--muted);font-size:13px;line-height:1.8}
.minute-panel{display:flex;flex-direction:column}
.segmented{display:inline-flex;background:#F1F4F8;padding:3px;border-radius:6px;gap:2px}
.segmented button{border:0;background:transparent;font-size:11px;color:var(--muted);padding:3px 8px;border-radius:4px}
.segmented button[aria-pressed=true]{background:white;color:var(--blue);box-shadow:0 1px 3px #18283D14}
.minute-graphic{padding:0 12px;flex:1;display:flex;flex-direction:column;justify-content:center;min-height:200px}
.minute-svg{width:100%;height:auto;display:block}
.minute-stats{display:grid;grid-template-columns:1fr 1fr;padding:12px 20px;gap:16px;border-top:1px solid var(--line)}
.minute-stats strong{font-size:18px;font-weight:600}.minute-stats span{font-size:11px;color:var(--muted)}
.page-footer{margin-top:20px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 16px;color:#6B7D94;font-size:11px}
.history-controls{padding:16px 20px;margin-bottom:12px}
.filter-row{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}
.range-buttons{display:flex;gap:4px;align-items:center}
.range-buttons button{border:1px solid transparent;background:transparent;min-height:32px;padding:4px 10px;font-size:12px;border-radius:5px}
.range-buttons button[aria-pressed=true]{color:var(--blue);background:var(--blue-light)}
.custom-range{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:12px}
.custom-range input{width:140px;min-width:128px;min-height:32px;padding:4px 8px;font-size:12px}
.control-divider{height:1px;background:var(--line);margin:12px 0}
.check-label{display:inline-flex;gap:6px;align-items:center;font-size:12px;cursor:pointer}
.legend-dot{width:14px;height:3px;background:var(--blue);display:inline-block}.legend-bar{width:7px;height:11px;background:var(--blue);display:inline-block}
.history-options{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.history-options-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.error{font-size:12px;color:#B43F3F;line-height:1.7;margin-top:8px}
.selection-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;margin-bottom:12px;flex-wrap:wrap}
.selection-text{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:12px}.selection-text strong{font-size:14px;font-weight:600}
.selection-values{display:flex;flex-wrap:wrap;gap:8px 24px;font-size:12px}.selection-values b{font-weight:550;margin-left:6px}
.readout{display:grid;grid-template-columns:168px repeat(3,minmax(0,1fr));gap:12px;padding:10px 16px;background:#EFF4FC;border:1px solid #DAE4F6;border-radius:6px;margin-bottom:12px;font-size:12px;align-items:center}
.readout span{display:block}.readout strong{font-weight:550}.readout small{color:var(--muted);display:block;font-size:10px}
.chart-stack{display:flex;flex-direction:column;gap:12px}
.history-chart{padding:12px 16px 4px}
.chart-header{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px;padding:0 4px}
.chart-header h3{display:flex;gap:8px;align-items:baseline;font-size:14px}.chart-header h3 span{font-size:11px;color:var(--muted);font-weight:400}
.chart-value{font-size:18px;font-weight:600;color:var(--blue)}.chart-value small{color:var(--muted);font-size:11px;font-weight:400;margin-left:4px}
.chart-svg{display:block;width:100%;height:180px;touch-action:pan-y}
.chart-svg text,.minute-svg text{font-family:var(--font);fill:var(--muted);font-size:10px}
.chart-svg .value-label{fill:#4169B7;font-size:9px}
.chart-point{cursor:pointer;outline:none}.chart-point:focus-visible{stroke:#18283D;stroke-width:3}
.chart-svg .hover-line{stroke:#657A99;stroke-width:1;stroke-dasharray:4 3;pointer-events:none}
.chart-svg .hover-dot{fill:var(--blue);stroke:white;stroke-width:2;pointer-events:none}
.chart-hint{font-size:11px;color:var(--muted);margin:8px 4px 16px}
.raw-panel{margin-top:16px}.raw-panel table{min-width:920px}
.management-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}
.summary-box{padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.summary-box strong{font-size:24px;font-weight:600;white-space:nowrap}.summary-box strong small{font-size:12px;font-weight:400;color:var(--muted);margin-left:4px}
.summary-box .od-field>span{font-size:12px;color:var(--muted)}.summary-box .od-field>small{font-size:11px}
.management-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:16px}
.backfill-intro{padding:20px}.backfill-intro h2{margin-bottom:8px}.backfill-intro p{font-size:12px;color:var(--muted);max-width:60ch}
.workflow-rail{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:20px 0}
.workflow-rail .od-field{font-size:12px}.step-num{font-size:11px;color:var(--blue);border:1px solid #CFDDFB;background:var(--blue-light);border-radius:50%;width:22px;height:22px;display:flex!important;align-items:center;justify-content:center;margin-bottom:4px}
.workflow-rail small{color:var(--muted);font-size:10px}
.principles{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.principles .badge{font-size:10px;background:#F3F6FA;color:#5B6C84}
.schedule-body{padding:0 20px 16px}
.schedule-enable{display:flex;align-items:center;justify-content:space-between;padding:0 0 12px;border-bottom:1px solid var(--line)}
.schedule-row{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:12px 0;border-bottom:1px solid #EDF0F5}
.schedule-row .od-field>span{font-weight:550;font-size:12px}.schedule-row small{color:var(--muted);font-size:11px}
.schedule-row input{min-height:32px;font-size:12px}
.schedule-foot{font-size:11px;color:var(--muted);margin:12px 0}
.schedule-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.schedule-status{font-size:11px;color:var(--muted)}
.coverage-panel{margin-top:16px}.coverage-body{padding:0 20px 16px}
.calendar-legend{display:flex;gap:12px;font-size:11px;color:var(--muted);flex-wrap:wrap}
.calendar-legend i{display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:4px;background:#D8E6FE;border:1px solid #AFC9F5}
.calendar-legend i.gap{background:#FFF1CE;border-color:#DDBA76}.calendar-legend i.closed{background:#F1F4F8;border-color:#E1E7EF}
.calendar-months{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.calendar-month h3{font-size:12px;font-weight:550;margin-bottom:8px}
.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.calendar-week{font-size:10px;color:var(--muted);text-align:center;padding:2px}
.calendar-day{min-width:0;min-height:28px;border:1px solid #E8EDF4;background:#F8FAFC;font-size:10px;border-radius:4px;padding:2px;position:relative}
.calendar-day.available{background:#EDF3FF;border-color:#D8E4FC;color:#355C9F}
.calendar-day.gap{background:var(--amber-bg);border-color:#EBD1A2;color:#8C601B}
.calendar-day.selected{border:1px solid var(--blue);font-weight:600}
.calendar-day:disabled{cursor:default;color:#9AA6B7;background:#FAFBFD}
.calendar-day .gap-mark{font-size:9px;line-height:1;display:block}
.calendar-blank{min-height:28px}
.coverage-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin-top:12px}
.task-panel{margin-top:16px}.task-table{min-width:680px}
.task-link{background:none;border:0;padding:0;font-size:12px;color:var(--blue);text-align:left}
.task-sub{display:block;font-size:10px;color:var(--muted)}
.wizard{padding:20px}
.wizard-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.wizard-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:16px 0 20px}
.wizard-step{display:flex;gap:6px;align-items:center;color:#8A98AC;font-size:11px}
.wizard-step .step-num{background:#F2F5F8;border-color:#E3E8EF;color:#8794A7;margin:0;width:20px;height:20px;font-size:10px;flex:none}
.wizard-step.active{color:var(--blue);font-weight:550}.wizard-step.active .step-num{background:var(--blue);border-color:var(--blue);color:white}
.wizard-step.done .step-num{background:var(--blue-light);border-color:#D5E3FE;color:var(--blue)}
.wizard-body h3{margin-bottom:8px;font-size:14px}.wizard-body p{font-size:12px;color:var(--muted);line-height:1.8}
.wizard-fields{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}.wizard-fields label{font-size:12px}
.wizard-fields .od-field{flex:1;min-width:140px;gap:6px}
.field-options{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0}
.wizard-callout{padding:12px;background:#F7F9FC;border:1px solid var(--line);border-radius:6px;margin:12px 0;font-size:12px}
.check-list{list-style:none;margin:12px 0;padding:0}
.check-list li{padding:8px 0;border-bottom:1px solid var(--line);font-size:12px;display:flex;gap:8px;align-items:flex-start}
.check-list li .badge{margin-left:auto}
.wizard-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:20px}
.wizard-footer .od-cluster{justify-content:flex-end}
.coverage-preview{margin-top:12px;overflow-x:auto}.coverage-preview table{font-size:11px}
.progress{height:6px;background:#EAF0F8;border-radius:3px;margin:16px 0;overflow:clip}
.progress-fill{height:100%;background:var(--blue);border-radius:3px}
.phase-list{display:flex;flex-direction:column;gap:8px;margin:12px 0}
.phase{display:flex;align-items:center;gap:8px;font-size:12px;color:#8794A6}
.phase .phase-symbol{display:flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;border:1px solid #DCE4EE;font-size:10px;flex:none}
.phase.active{color:var(--blue)}.phase.active .phase-symbol{border-color:#A7C1F4;background:var(--blue-light)}
.phase.done{color:#52667D}.phase.done .phase-symbol{background:var(--green-bg);color:var(--down);border-color:#CBE7D9}
.result-box{padding:12px;background:var(--amber-bg);border:1px solid #E9D2A9;border-radius:6px;margin-top:16px}
.result-box strong{display:block;font-size:13px;font-weight:550;color:#835513;margin-bottom:4px}
.drawer{position:fixed;inset:0 0 0 auto;margin:0;height:100dvh;max-height:100dvh;width:480px;max-width:100vw;padding:0;border:0;border-left:1px solid var(--line);background:var(--panel);color:var(--text);box-shadow:-12px 0 48px #18283D1F}
.drawer::backdrop{background:#18283D55}
.drawer-inner{display:grid;grid-template-rows:auto 1fr auto;height:100%;min-height:0}
.drawer-head{padding:20px 24px;border-bottom:1px solid var(--line);display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.drawer-head h2{font-size:18px}.drawer-head p{font-size:11px;color:var(--muted);margin-top:4px}
.drawer-body{overflow-y:auto;min-height:0;padding:20px 24px}
.drawer-body .drawer-lead{font-size:13px;line-height:1.85;margin-bottom:16px}
.detail-value{padding:16px;background:var(--bg);border:1px solid var(--line);border-radius:6px;display:flex;align-items:baseline;gap:8px;margin-bottom:16px}
.detail-value strong{font-size:28px;font-weight:600;line-height:1.4}.detail-value small{font-size:12px;color:var(--muted)}
.detail-table{margin:0}.detail-table>div{padding:12px 0;border-bottom:1px solid var(--line)}
.detail-table dt{font-size:11px;color:var(--muted);margin-bottom:4px}.detail-table dd{font-size:13px;line-height:1.85;margin:0;overflow-wrap:anywhere}
.drawer-warning{background:var(--amber-bg);color:#865815;border:1px solid #EFDDBD;border-radius:6px;padding:12px;font-size:12px;line-height:1.85;margin-top:16px}
.drawer-foot{border-top:1px solid var(--line);padding:16px 24px;display:flex;gap:8px;align-items:center;justify-content:space-between;background:var(--panel)}
.drawer-foot small{font-size:10px;color:var(--muted)}
.toast-region{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:50;max-width:calc(100vw - 32px);pointer-events:none}
.toast{background:#243851;color:white;padding:10px 16px;border-radius:6px;box-shadow:0 4px 20px #18283D24;font-size:12px;line-height:1.8}
.skip-link{position:fixed;left:12px;top:8px;z-index:100;background:white;padding:8px 12px;transform:translateY(-160%)}
.skip-link:focus{transform:none}
@media(hover:hover){
  .button:hover:not(:disabled){border-color:#B5C5DD;background:#F5F8FD}
  .button.primary:hover:not(:disabled){background:var(--blue-dark);border-color:var(--blue-dark);color:white}
  .button.subtle:hover{background:var(--blue-light);color:var(--blue-dark)}
  .nav button:hover{background:#F1F5FC;color:var(--blue-dark)}
  .metric-card:hover{border-color:#ADC3EC;background:#FCFDFF}
  .topic-link:hover,.task-link:hover{color:var(--blue-dark);text-decoration:underline}
  .calendar-day:not(:disabled):hover{border-color:var(--blue)}
  .range-buttons button:hover{color:var(--blue-dark);background:#F3F6FC}
  .topic-table tbody tr:hover,.task-table tbody tr:hover{background:#FAFCFF}
}
@media(min-width:1600px){.metric-number{font-size:28px}}
@media(max-width:1279px){.main{padding:20px}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.metric-number{font-size:26px}.overview-bottom,.management-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.compare-cell{padding-inline:12px}.compare-values{gap:8px}.compare-values strong{font-size:22px}}
@media(max-width:1099px){
  .shell{grid-template-columns:minmax(0,1fr)}.sidebar{position:static;height:auto;border-right:0;border-bottom:1px solid var(--line);padding:12px 20px;display:flex;flex-direction:row;gap:24px;align-items:center}
  .brand{padding:0}.brand-mark{width:26px;height:32px}.brand-kicker{display:none}.nav{flex-direction:row;gap:8px;margin-left:auto}
  .nav button{padding:8px 12px;gap:8px}.nav-caption,.sidebar-note{display:none}.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .overview-bottom,.management-grid{grid-template-columns:1fr 1fr}.compare-values{flex-wrap:wrap}.compare-yesterday{text-align:left}
  .readout{grid-template-columns:136px repeat(3,minmax(0,1fr))}.main{padding:20px}.toolbar{gap:12px}
}
@media(max-width:767px){
  .main{padding:16px}.sidebar{display:block;padding:12px 16px}.brand{padding-bottom:12px}.brand-title{font-size:14px}.brand-mark{width:24px;height:28px}
  .nav{margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.nav button{justify-content:center;padding:10px 4px;font-size:12px;gap:6px}.nav .od-icon{--od-icon-size:16px}
  .page-head{align-items:flex-start}.page-head h1{font-size:22px}.head-actions{gap:4px}.head-actions .button{font-size:12px;min-height:32px;padding:6px 8px}.head-actions .workspace-badge{display:none}
  .data-notice{padding:8px 10px;font-size:11px}.notice-secondary{display:none}
  .toolbar{padding:12px;display:block}.date-group{gap:8px}.date-group>label{width:100%}.date-group #knownDates{flex:1;max-width:none;min-width:140px;font-size:12px}
  .scope-group{margin-top:12px;border-top:1px solid var(--line);padding-top:12px;justify-content:space-between}.scope-group select{flex:1;max-width:224px;font-size:12px}
  .date-group #latestDate{font-size:12px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.metric-card{padding:12px;gap:6px}
  .metric-number{font-size:26px}.metric-label{font-size:12px!important}.metric-foot,.metric-note{font-size:10px}.metric-value{min-height:34px}.metric-unit{font-size:10px}
  .section-heading{gap:8px;margin-top:16px}.section-heading .meta{font-size:10px}.section-heading h2{font-size:14px}
  .support-strip{gap:12px;padding:12px}.support-stat{flex-wrap:wrap;gap:4px}.strip-note{margin:0;width:100%}
  .comparison-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 16px 4px;gap:12px}
  .compare-cell{border:0;padding:0 0 12px;border-bottom:1px solid var(--line)}.compare-cell:last-child{grid-column:1/-1}
  .compare-values{flex-wrap:nowrap}.compare-yesterday{text-align:right}.compare-name{font-size:11px}.compare-values strong{font-size:24px}
  .overview-bottom,.management-grid{grid-template-columns:minmax(0,1fr)}.panel-head{padding:16px}.panel-head h2{font-size:14px}
  .topic-table td,.topic-table th{padding-inline:10px}.topic-table td:first-child,.topic-table th:first-child{padding-left:16px}
  .table-note{padding-inline:16px;font-size:10px}.search-group label{display:none}.table-search{width:120px!important}
  .minute-graphic{min-height:180px}.history-controls{padding:12px}.custom-range{gap:6px}.custom-range input{width:130px;min-width:124px;max-width:100%;font-size:11px}
  .range-buttons{gap:0}.range-buttons button{padding-inline:8px;font-size:11px}.filter-row{gap:12px}
  .history-options{gap:12px}.check-label{font-size:11px}.history-options-actions{width:100%;justify-content:space-between}.history-options-actions .button{font-size:11px;padding-inline:8px}
  .selection-bar{padding:12px}.selection-text{font-size:11px;gap:8px}.selection-text strong{font-size:13px}.selection-values{gap:8px 12px;font-size:11px}
  .readout{grid-template-columns:1fr 1fr;gap:8px 12px;font-size:11px;padding:12px}.readout small{font-size:10px}
  .chart-header h3{font-size:13px}.chart-header h3 span{font-size:10px}.chart-value{font-size:16px}
  .history-chart{padding:12px 8px 4px}.chart-svg{height:180px}.chart-hint{font-size:10px}.chart-svg text{font-size:10px}.chart-svg .value-label{font-size:9px}
  .management-summary{gap:8px;grid-template-columns:1fr}.summary-box{padding:12px 16px}.summary-box strong{font-size:24px}.summary-box .od-field{display:flex;flex-wrap:wrap;gap:4px 12px}
  .backfill-intro,.wizard{padding:16px}.workflow-rail{gap:8px}.workflow-rail .od-field{font-size:11px}.workflow-rail small{font-size:9px}
  .schedule-body{padding-inline:16px}.schedule-row .od-field>span{font-size:12px}
  .calendar-months{grid-template-columns:minmax(0,1fr);gap:20px}.calendar-grid{gap:4px}.calendar-day{min-height:32px;font-size:11px}.coverage-body{padding-inline:16px}
  .wizard-steps{gap:4px}.wizard-step{font-size:10px;gap:4px}.wizard-step .step-num{width:18px;height:18px;font-size:9px}.wizard-footer .button{font-size:11px;padding-inline:10px}
  .drawer{width:100vw;border:0}.drawer-head{padding:16px 20px}.drawer-body{padding:20px}.drawer-foot{padding:12px 20px}
  .toast-region{bottom:16px}.page-footer{font-size:10px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* Production states and management forms share the selected workspace rhythm. */
textarea{font:inherit;color:inherit;width:100%;max-width:100%;resize:vertical;min-height:80px;border:1px solid #D7DFE9;border-radius:6px;background:var(--panel);padding:8px 10px;line-height:1.7}
.metric-label{white-space:normal!important;min-height:22px}.metric-label>.metric-name{overflow-wrap:anywhere}.metric-foot,.metric-note{overflow-wrap:anywhere}.metric-foot{min-height:18px}.metric-note{min-height:18px}
.metric-card[data-status=partial]{border-color:#E4BD79;background:#FFFCF5}.metric-card[data-status=missing] .metric-number{color:#8290A3}.metric-card[data-status=pending]{border-color:#E4BD79}.metric-unit{white-space:normal}
.data-notice[data-state=error],.data-notice[data-state=stale]{background:var(--amber-bg);border-color:#E9D2A9;color:#835513}.data-notice[data-state=ok] .status-dot{background:var(--down)}
.badge.info{background:var(--blue-light);color:var(--blue-dark)}.status-inline{font-size:10px;color:var(--amber)}.partial-text{color:var(--amber);font-weight:550}.readout{align-items:start}.readout small{overflow-wrap:anywhere}
.chart-svg .partial-point{stroke:var(--amber);fill:#FFF8E9;stroke-width:1.5}.chart-svg .hover-dot{fill:var(--blue);stroke:white;stroke-width:1.5}.chart-svg .hover-line{stroke:#93A9D0;stroke-dasharray:3 3;pointer-events:none}.chart-svg .chart-point:focus{outline:none;stroke-width:3;stroke:#1D4DC2}.chart-svg .value-label{pointer-events:none}
#historyStatus{margin-top:6px;min-height:17px}.status-dot.ok{background:var(--down)}.source-list{padding:0 20px 16px}.source-row{padding:12px 0;display:flex;align-items:flex-start;gap:12px;border-bottom:1px solid var(--line)}.source-row:last-child{border:0}.source-row .od-field{flex:1;min-width:0;overflow-wrap:anywhere}.source-row p{font-size:12px}.source-row small{font-size:11px;color:var(--muted)}
.login-panel{padding:24px;max-width:500px;margin:24px auto}.login-panel h2{margin:12px 0 6px;font-size:18px}.form-stack{display:flex;flex-direction:column;gap:12px;margin-top:16px}.form-stack .od-field{gap:4px;font-size:12px}.form-stack .button{align-self:flex-start}.form-stack input:not([type=checkbox]){width:100%}.form-stack [type=file]{font-size:11px}.form-stack .error{margin:0}.form-stack .check-label{align-items:flex-start}.form-stack input[type=checkbox]{margin-top:3px}
.account-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}.account-settings{margin-top:16px;align-items:start}.import-panel{padding:20px}.import-panel>p{margin-top:6px}.summary-box strong{font-size:22px}.summary-box .od-field{min-width:0}.task-sub{max-width:340px;white-space:normal;overflow-wrap:anywhere}.task-actions{display:flex;gap:6px;flex-wrap:wrap}.job-log{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;background:#F7F9FC;border:1px solid var(--line);border-radius:6px;padding:12px;max-height:320px;overflow:auto}.job-error{color:#B43F3F;white-space:normal;overflow-wrap:anywhere}.coverage-preview{max-height:240px}.calendar-day.unknown{border-style:dashed;color:#8190A2}.calendar-day.closed{background:#F1F4F8;color:#8B99AC}.schedule-enable .badge{font-size:10px}.minute-stats{min-height:72px}.minute-stats strong{overflow-wrap:anywhere}.wizard-body [aria-busy=true]{color:var(--muted)}.wizard-body .field-options{gap:12px 16px}.wizard-body .field-options label{min-width:100px}.wizard-callout{overflow-wrap:anywhere}.calendar-months .empty{grid-column:1/-1}.drawer-foot{gap:12px}.drawer-foot small{max-width:55%}.drawer-body .source-list{padding:0}.drawer-body h3{margin:16px 0 8px}.drawer-body .task-actions{margin-top:16px}
button[aria-busy=true]{cursor:progress}.date-arrows .button{font-size:22px;line-height:1}.icon-button{font-size:22px}.chart-value .badge{vertical-align:middle;margin-left:8px}.section-heading .badge{max-width:100%;white-space:normal}.scope-status{font-size:12px}
@media(max-width:767px){.source-list{padding-inline:16px}.source-row{gap:8px}.source-row>span.badge{max-width:88px;white-space:normal}.login-panel{margin:8px 0;padding:20px}.import-panel{padding:16px}.account-bar .od-cluster{width:100%}.date-group #reviewDate{min-width:128px;flex:1}.date-group #knownDates{width:100%;max-width:100%;min-width:0}.date-group #latestDate{margin-left:0}.chart-header h3{max-width:100%}.chart-value{margin-left:auto}.data-notice .od-row{min-width:0}.account-settings{gap:16px}.metric-number{font-size:24px}.metric-card .metric-label{align-items:flex-start}.metric-unit{font-size:10px}.support-stat{max-width:100%}.wizard-step{align-items:flex-start}.calendar-day{min-height:34px}}

.history-coverage{display:block;margin-top:5px;color:var(--muted,#60718a);font-size:11px;font-weight:400;line-height:1.6}
