:root {
  --ink: #242821;
  --ink-soft: #33382f;
  --paper: #f7f2e9;
  --paper-strong: #fffdf8;
  --paper-deep: #ece4d6;
  --sage: #789480;
  --sage-dark: #3f5d49;
  --sage-soft: #dce8dd;
  --gold: #d6a03d;
  --gold-soft: #f2e3c3;
  --rose: #b85f48;
  --rose-soft: #f0d9d1;
  --blue: #668ca1;
  --text-muted: #5f645a;
  --line: rgba(36, 40, 33, .14);
  --line-strong: rgba(36, 40, 33, .28);
  --shadow: 0 22px 54px rgba(36, 40, 33, .13);
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 15px; }
body::selection { color: var(--paper-strong); background: var(--sage-dark); }
button, input, select { color: inherit; font: inherit; }
button { cursor: pointer; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -80px; padding: 11px 16px; background: var(--paper-strong); color: var(--ink); font-weight: 700; }
.skip-link:focus { top: 14px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.demo-ribbon { position: fixed; z-index: 50; top: 0; left: 0; right: 0; display: flex; min-height: 34px; align-items: center; gap: 16px; padding: 6px 24px; background: #982f24; color: white; font-size: .72rem; letter-spacing: .025em; }
.demo-ribbon strong { font-size: .68rem; letter-spacing: .08em; }
.demo-ribbon span:nth-child(2) { font-weight: 800; }
.ribbon-note { margin-left: auto; color: #f7dcd7; }
.app-shell { display: grid; grid-template-columns: 244px minmax(0, 1fr); min-height: 100vh; padding-top: 34px; }

.sidebar { position: sticky; top: 34px; display: flex; height: calc(100vh - 34px); flex-direction: column; padding: 30px 18px 22px; background: var(--ink); color: #f5f0e7; }
.brand-lockup { display: flex; align-items: center; justify-content: space-between; padding: 0 12px; }
.brand { color: white; font: 700 2rem/1 var(--serif); letter-spacing: -.04em; text-decoration: none; }
.brand span { color: var(--gold); }
.demo-badge { border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 5px 9px; color: #d8d6cc; font-size: .63rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.practice-name { margin: 13px 12px 29px; color: #aaa99f; font-size: .72rem; }
.side-nav { display: grid; gap: 5px; }
.nav-item { display: grid; grid-template-columns: 22px minmax(0, 1fr); min-width: 0; min-height: 46px; align-items: center; gap: 12px; overflow: hidden; border: 0; border-radius: 11px; padding: 0 13px; background: transparent; color: #c8c7bd; text-align: left; transition: background .18s ease-out, color .18s ease-out, transform .18s ease-out; }
.nav-item svg { width: 19px; }
.nav-item:hover { background: rgba(255,255,255,.07); color: white; transform: translateX(2px); }
.nav-item.is-active { background: var(--sage); color: #10150f; font-weight: 800; }
.sidebar-foot { margin-top: auto; padding: 18px 12px 0; border-top: 1px solid rgba(255,255,255,.12); }
.source-pair { display: flex; align-items: center; gap: 7px; color: #e6e2d8; font-size: .72rem; font-weight: 700; }
.source-pair i { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 7px; background: rgba(255,255,255,.1); color: #f0d083; font-size: .56rem; font-style: normal; text-transform: uppercase; }
.source-pair b { color: #777a70; }
.sidebar-foot p { margin: 13px 0 0; color: #8d9086; font-size: .65rem; line-height: 1.55; }

.workspace { min-width: 0; padding: 32px clamp(28px, 4vw, 68px) 30px; }
.home-link { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; margin-bottom: 18px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 0 14px; background: var(--paper-strong); color: var(--ink); font-size: .8rem; font-weight: 700; text-decoration: none; }
.home-link:hover { background: var(--paper-deep); }
.home-link svg { width: 16px; height: 16px; }
.workspace-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.location-line, .section-context { margin: 0 0 6px; color: var(--sage-dark); font-size: .69rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.location-line span { margin-inline: 5px; color: var(--text-muted); }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-family: var(--serif); letter-spacing: -.025em; }
h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 600; }
h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); font-weight: 500; line-height: 1.02; }
h3 { font-size: 1.3rem; font-weight: 600; }
.head-actions { display: flex; align-items: center; gap: 18px; }
.quiet-action { display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; color: #555b51; font-size: .74rem; font-weight: 700; }
.quiet-action svg { width: 16px; }
.freshness { display: flex; align-items: center; gap: 8px; color: #555b51; font-size: .7rem; }
.freshness i { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 4px var(--sage-soft); }

.filter-bar { display: flex; align-items: end; gap: 18px; padding: 18px 0 22px; }
.period-switcher { display: flex; gap: 2px; margin: 0 auto 0 0; border: 0; padding: 3px; border-radius: 999px; background: var(--paper-deep); }
.period-switcher legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.period-button { min-height: 36px; border: 0; border-radius: 999px; padding: 0 15px; background: transparent; color: #65685f; font-size: .72rem; font-weight: 800; }
.period-button.is-active { background: var(--paper-strong); color: var(--ink); box-shadow: 0 4px 12px rgba(36,40,33,.09); }
.filter-field { display: grid; gap: 5px; color: #666a61; font-size: .63rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.filter-field select, .filter-field input { min-height: 39px; border: 1px solid var(--line); border-radius: 10px; padding: 0 34px 0 11px; background: var(--paper-strong); color: var(--ink); font-size: .75rem; text-transform: none; letter-spacing: 0; }
.search-field { position: relative; }
.search-field svg { position: absolute; z-index: 1; bottom: 11px; left: 11px; width: 16px; color: #757970; }
.search-field input { width: 196px; padding-left: 34px; }
.view-status { min-height: 1px; }
.view-status[data-loading="true"] { min-height: 34px; padding: 8px 11px; background: var(--gold-soft); color: #60410f; font-size: .72rem; }
.view-panel { min-height: 680px; animation: view-in .34s cubic-bezier(.16,1,.3,1); }
.view-panel[hidden] { display: none; }
@keyframes view-in { from { opacity: .4; clip-path: inset(0 0 14% 0); } to { opacity: 1; clip-path: inset(0); } }

.overview-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 50px; padding: clamp(42px, 7vw, 84px) 0 44px; }
.overview-intro h2 { max-width: 850px; }
.overview-intro h2 strong { color: var(--sage-dark); font-weight: 600; }
.lead { max-width: 720px; margin: 22px 0 0; color: #5b6056; font-size: .98rem; line-height: 1.7; }
.primary-action { display: inline-flex; min-height: 48px; align-items: center; gap: 25px; border: 0; border-radius: 999px; padding: 0 18px 0 22px; background: var(--ink); color: white; font-size: .75rem; font-weight: 800; box-shadow: 0 12px 26px rgba(36,40,33,.18); transition: transform .18s ease-out, box-shadow .18s ease-out; }
.primary-action:hover { transform: translateY(-2px); box-shadow: 0 17px 32px rgba(36,40,33,.24); }
.primary-action svg { width: 18px; }
.metric-ledger { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); }
.metric-ledger > div { padding: 24px 22px 22px 0; }
.metric-ledger > div + div { border-left: 1px solid var(--line); padding-left: 22px; }
.metric-ledger dt, .finance-strip dt, .capacity-strip dt { color: #686c62; font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .055em; }
.metric-ledger dd { margin: 8px 0 5px; font: 600 clamp(2rem, 3.2vw, 3.2rem)/1 var(--serif); font-variant-numeric: tabular-nums; }
.metric-ledger dd span { margin-left: 3px; color: #62675d; font-size: .48em; }
.metric-ledger small { color: var(--text-muted); font-size: .65rem; }
.metric-ledger .metric-exception dd { color: var(--rose); }

.overview-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(270px, .75fr); gap: 30px; padding: 32px 0 50px; }
.performance-field, .attention-list, .finance-chart { border-radius: 16px; background: var(--paper-strong); box-shadow: 0 14px 42px rgba(36,40,33,.08); }
.performance-field { padding: 26px 28px 19px; }
.performance-field header, .attention-list header, .finance-chart header { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.performance-field header p { margin: 5px 0 0; color: var(--text-muted); font-size: .69rem; }
.field-key { display: flex; align-items: center; gap: 6px; color: #6a6e64; font-size: .61rem; }
.field-key i { width: 18px; height: 2px; background: var(--sage); }
.field-key i:nth-of-type(2) { margin-left: 7px; background: var(--gold); }
.pace-chart { position: relative; min-height: 285px; margin-top: 18px; padding: 0 0 24px 40px; overflow: hidden; }
.pace-chart::before { content: ""; position: absolute; inset: 0 0 24px 40px; background: linear-gradient(to bottom, var(--line) 1px, transparent 1px); background-size: 100% 25%; opacity: .6; }
.pace-chart svg { position: relative; width: 100%; height: 250px; overflow: visible; }
.target-line { stroke: var(--gold); stroke-dasharray: 6 7; }
.pace-area { fill: var(--sage-soft); stroke: none; }
.pace-line { stroke: var(--sage-dark); stroke-width: 3; }
.pace-chart circle { fill: var(--paper-strong); stroke: var(--sage-dark); stroke-width: 3; }
.chart-scale { position: absolute; inset: -3px auto 23px 0; display: flex; flex-direction: column; justify-content: space-between; color: var(--text-muted); font-size: .62rem; }
.chart-days { position: absolute; right: 0; bottom: 0; left: 40px; display: flex; justify-content: space-between; color: var(--text-muted); font-size: .62rem; }
.attention-list { overflow: hidden; }
.attention-list header { padding: 26px 24px 20px; border-bottom: 1px solid var(--line); }
.attention-list header span { color: var(--text-muted); font-size: .62rem; }
.attention-list button { display: grid; grid-template-columns: 9px 1fr auto; width: 100%; align-items: start; gap: 13px; border: 0; border-bottom: 1px solid var(--line); padding: 19px 24px; background: transparent; text-align: left; }
.attention-list button:hover { background: #f8f4ec; }
.attention-list button:last-child { border-bottom: 0; }
.change-mark { width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: var(--sage); }
.change-mark.is-gold { background: var(--gold); }
.change-mark.is-rose { background: var(--rose); }
.attention-list strong, .attention-list small { display: block; }
.attention-list strong { font-size: .74rem; }
.attention-list small { margin-top: 6px; color: var(--text-muted); font-size: .65rem; line-height: 1.4; }
.attention-list time { color: var(--text-muted); font-size: .62rem; }

.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 40px; padding: 54px 0 34px; }
.section-heading-row h2 { font-size: clamp(2.8rem, 5vw, 4.8rem); }
.section-heading-row > p { max-width: 470px; margin: 0; color: #62665c; line-height: 1.65; }
.table-wrap { overflow: hidden; border-top: 1px solid var(--line-strong); background: rgba(255,253,248,.48); }
.data-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.data-table th { padding: 14px 13px; color: var(--text-muted); font-size: .63rem; font-weight: 800; text-align: left; text-transform: uppercase; letter-spacing: .05em; }
.data-table th:not(:first-child), .data-table td:not(:first-child) { text-align: right; }
.data-table th button { border: 0; padding: 0; background: transparent; color: inherit; font: inherit; text-transform: inherit; letter-spacing: inherit; }
.data-table td { padding: 17px 13px; border-top: 1px solid var(--line); font-size: .75rem; }
.data-table tbody tr { transition: background .16s ease-out; }
.data-table tbody tr:hover { background: var(--paper-strong); }
.person-cell { display: flex; align-items: center; gap: 11px; text-align: left; }
.person-cell i { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: var(--sage-soft); color: var(--sage-dark); font-size: .65rem; font-style: normal; font-weight: 800; }
.person-cell strong, .person-cell small { display: block; }
.person-cell small { margin-top: 3px; color: var(--text-muted); }
.row-action { border: 0; border-radius: 999px; padding: 7px 11px; background: var(--paper-deep); font-size: .64rem; font-weight: 800; }
.utilisation { display: inline-flex; min-width: 49px; justify-content: center; border-radius: 999px; padding: 6px 9px; background: var(--sage-soft); color: var(--sage-dark); font-weight: 800; }
.utilisation.is-watch { background: var(--gold-soft); color: #664710; }
.empty-state { padding: 60px 20px; text-align: center; }
.empty-state strong, .empty-state span { display: block; }
.empty-state span { margin-top: 8px; color: var(--text-muted); }

.bonus-summary { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 13px; margin-bottom: 32px; padding: 24px 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); }
.bonus-summary strong { font: 600 3.5rem/1 var(--serif); }
.bonus-summary span { color: #62665c; }
.bonus-summary p { margin: 0; color: var(--sage-dark); font-size: .7rem; font-weight: 800; }
.notice-line { display: flex; align-items: center; gap: 10px; margin: 20px 0; color: #696d63; font-size: .68rem; }
.notice-line svg { width: 17px; color: var(--gold); }
.finance-strip, .capacity-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 34px; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); }
.finance-strip div, .capacity-strip div { padding: 22px 0; }
.finance-strip div + div, .capacity-strip div + div { border-left: 1px solid var(--line); padding-left: 24px; }
.finance-strip dd, .capacity-strip dd { margin: 7px 0 0; font: 600 2.5rem var(--serif); }
.finance-chart { padding: 28px; }
.finance-chart header span { color: var(--text-muted); font-size: .65rem; }
.bar-field { display: grid; grid-template-columns: repeat(6, 1fr); height: 340px; align-items: end; gap: clamp(15px, 3vw, 42px); margin-top: 28px; padding: 30px 12px 0; border-bottom: 1px solid var(--line-strong); background: linear-gradient(to bottom, var(--line) 1px, transparent 1px); background-size: 100% 25%; }
.bar-month { display: grid; grid-template-columns: 1fr 1fr; height: 100%; align-items: end; gap: 4px; position: relative; }
.bar-month i { display: block; min-height: 3px; background: var(--sage); }
.bar-month i:nth-child(2) { background: var(--gold); }
.bar-month span { position: absolute; right: 0; bottom: -24px; left: 0; color: var(--text-muted); font-size: .62rem; text-align: center; }
.bar-legend { display: flex; justify-content: flex-end; gap: 18px; margin-top: 40px; color: #6b6f65; font-size: .63rem; }
.bar-legend span { display: flex; align-items: center; gap: 7px; }
.bar-legend i { width: 8px; height: 8px; background: var(--sage); }
.bar-legend .collected { background: var(--gold); }
.capacity-weeks { border-top: 1px solid var(--line-strong); }
.capacity-week { display: grid; grid-template-columns: 125px minmax(0, 1fr) 70px; align-items: center; gap: 22px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.capacity-week > strong { font-size: .75rem; }
.capacity-track { height: 18px; position: relative; background: var(--paper-deep); }
.capacity-track span { position: absolute; inset: 0 auto 0 0; background: var(--sage); }
.capacity-track i { position: absolute; inset: 0 0 0 auto; background: var(--gold-soft); }
.capacity-week > span { color: #62665c; font-size: .68rem; text-align: right; }
.trace-select { display: grid; gap: 6px; color: #6a6e64; font-size: .63rem; font-weight: 800; text-transform: uppercase; }
.trace-select select { min-height: 42px; border: 1px solid var(--line); border-radius: 10px; padding: 0 38px 0 12px; background: var(--paper-strong); text-transform: none; }
.trace-stage { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 50px; padding-top: 30px; border-top: 1px solid var(--line-strong); }
.trace-spine { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.trace-spine::before { content: ""; position: absolute; top: 29px; right: 12%; left: 12%; height: 1px; background: var(--line-strong); }
.trace-step { position: relative; padding: 0 18px; text-align: center; }
.trace-step i { display: grid; position: relative; z-index: 1; width: 58px; height: 58px; margin: 0 auto 24px; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--paper); color: var(--sage-dark); font-style: normal; font-weight: 800; }
.trace-step strong, .trace-step span { display: block; }
.trace-step strong { font: 600 1.12rem var(--serif); }
.trace-step span { margin-top: 8px; color: #696d63; font-size: .67rem; line-height: 1.5; }
.trace-result { border-radius: 16px; padding: 27px; background: var(--sage-dark); color: white; box-shadow: var(--shadow); }
.trace-result span { color: #cbd8ce; font-size: .65rem; font-weight: 800; text-transform: uppercase; }
.trace-result strong { display: block; margin: 14px 0 28px; font: 600 3.2rem var(--serif); }
.trace-result p { margin: 0; color: #dbe4dd; font-size: .7rem; line-height: 1.6; }
.workspace-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 58px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text-muted); font-size: .65rem; }
.workspace-foot strong { color: #982f24; }

.detail-drawer { position: fixed; z-index: 80; inset: 0; }
.detail-drawer[hidden] { display: none; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(20,23,19,.48); backdrop-filter: blur(3px); }
.drawer-panel { position: absolute; top: 34px; right: 0; bottom: 0; width: min(480px, 92vw); overflow-y: auto; padding: 48px 38px; background: var(--paper-strong); box-shadow: -22px 0 60px rgba(20,23,19,.2); animation: drawer-in .32s cubic-bezier(.16,1,.3,1); }
@keyframes drawer-in { from { transform: translateX(100%); box-shadow: none; } to { transform: translateX(0); } }
.drawer-close { display: grid; position: absolute; top: 26px; right: 25px; width: 40px; height: 40px; place-items: center; border: 0; border-radius: 50%; background: var(--paper-deep); }
.drawer-close svg { width: 18px; }
.drawer-panel h2 { font-size: 3rem; }
.drawer-metrics { display: grid; grid-template-columns: 1fr 1fr; margin-top: 32px; border-top: 1px solid var(--line-strong); }
.drawer-metrics div { padding: 20px 12px 20px 0; border-bottom: 1px solid var(--line); }
.drawer-metrics div:nth-child(even) { border-left: 1px solid var(--line); padding-left: 18px; }
.drawer-metrics span, .drawer-metrics strong { display: block; }
.drawer-metrics span { color: var(--text-muted); font-size: .62rem; text-transform: uppercase; }
.drawer-metrics strong { margin-top: 7px; font: 600 1.6rem var(--serif); }
.drawer-note { margin-top: 26px; padding: 18px; background: var(--sage-soft); color: var(--sage-dark); font-size: .73rem; line-height: 1.6; }

@media (max-width: 1080px) {
  .app-shell { grid-template-columns: 204px minmax(0, 1fr); }
  .workspace { padding-inline: 28px; }
  .overview-grid { grid-template-columns: 1fr; }
  .attention-list { display: grid; grid-template-columns: repeat(3, 1fr); }
  .attention-list header { grid-column: 1 / -1; }
  .attention-list button { grid-template-columns: 9px 1fr; border-right: 1px solid var(--line); }
  .attention-list time { display: none; }
  .trace-stage { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .demo-ribbon { gap: 9px; padding-inline: 14px; }
  .ribbon-note { display: none; }
  .app-shell { display: block; padding-bottom: 74px; }
  .sidebar { position: fixed; z-index: 40; top: auto; right: 0; bottom: 0; left: 0; height: 70px; padding: 7px 9px; border-top: 1px solid rgba(255,255,255,.14); }
  .brand-lockup, .practice-name, .sidebar-foot { display: none; }
  .side-nav { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); min-width: 0; gap: 2px; }
  .nav-item { display: flex; min-height: 56px; flex-direction: column; justify-content: center; gap: 3px; border-radius: 9px; padding: 4px 2px; text-align: center; }
  .nav-item svg { width: 17px; height: 17px; }
  .nav-item span { width: 100%; overflow: hidden; font-size: .6rem; text-overflow: ellipsis; white-space: nowrap; }
  .nav-item:hover { transform: none; }
  .workspace { width: 100vw; max-width: 100%; overflow: hidden; padding: 22px 16px 24px; }
  .workspace-head { display: grid; align-items: start; }
  .workspace-head > *, .filter-bar > *, .overview-intro > *, .section-heading-row > * { min-width: 0; }
  .head-actions { align-items: center; flex-direction: row; justify-content: space-between; gap: 8px; margin-top: 13px; }
  .quiet-action { font-size: .64rem; }
  .freshness { font-size: .59rem; }
  .filter-bar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .period-switcher { grid-column: 1 / -1; width: 100%; min-inline-size: 0; overflow: hidden; }
  .period-button { flex: 1; }
  .filter-field { min-width: 0; }
  .filter-field select, .search-field input { width: 100%; min-width: 0; max-width: 100%; }
  .overview-intro { grid-template-columns: 1fr; gap: 25px; padding-top: 45px; }
  .overview-intro h2 { width: 100%; max-width: 100%; font-size: clamp(2.55rem, 11.5vw, 4rem); overflow-wrap: break-word; }
  .primary-action { width: 100%; justify-content: space-between; }
  .metric-ledger { grid-template-columns: 1fr 1fr; }
  .metric-ledger > div:nth-child(3) { border-left: 0; }
  .metric-ledger > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .metric-ledger dd { font-size: 2.2rem; }
  .overview-grid { padding-top: 22px; }
  .performance-field { padding: 20px 14px 14px; }
  .performance-field header { flex-direction: column; }
  .attention-list { display: block; }
  .attention-list button { border-right: 0; }
  .section-heading-row { align-items: start; flex-direction: column; gap: 14px; padding-top: 44px; }
  .section-heading-row h2 { font-size: 3.3rem; }
  .table-wrap { overflow: visible; background: transparent; }
  .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
  .data-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .data-table tr { margin-bottom: 12px; border-radius: 14px; padding: 14px; background: var(--paper-strong); }
  .data-table td, .data-table td:not(:first-child) { display: flex; align-items: center; justify-content: space-between; border: 0; padding: 7px 0; text-align: right; }
  .data-table td::before { content: attr(data-label); color: var(--text-muted); font-size: .63rem; font-weight: 800; text-transform: uppercase; }
  .data-table td:first-child::before, .data-table td:last-child::before { content: none; }
  .data-table td:first-child { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
  .data-table td:last-child { padding-top: 12px; }
  .row-action { width: 100%; min-height: 38px; }
  .bonus-summary { grid-template-columns: 1fr; }
  .bonus-summary p { margin-top: 5px; }
  .finance-strip, .capacity-strip { grid-template-columns: 1fr; }
  .finance-strip div + div, .capacity-strip div + div { border-top: 1px solid var(--line); border-left: 0; padding-left: 0; }
  .bar-field { height: 260px; gap: 12px; padding-inline: 0; }
  .capacity-week { grid-template-columns: 1fr 52px; gap: 10px; }
  .capacity-track { grid-column: 1 / -1; grid-row: 2; }
  .trace-spine { grid-template-columns: 1fr; gap: 0; }
  .trace-spine::before { top: 25px; bottom: 25px; left: 28px; width: 1px; height: auto; }
  .trace-step { display: grid; grid-template-columns: 58px 1fr; gap: 17px; padding: 0 0 24px; text-align: left; }
  .trace-step i { grid-row: 1 / 3; margin: 0; }
  .trace-step span { margin-top: 4px; }
  .workspace-foot { align-items: start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
