:root {
  --cloud: #f2f5f7;
  --paper: #ffffff;
  --ink: #0b1720;
  --ink-soft: #40515d;
  --line: #d5dde2;
  --line-strong: #a9b6be;
  --orange: #ff9900;
  --orange-soft: #fff0d8;
  --cyan: #00a6a6;
  --cyan-soft: #dff5f3;
  --positive: #187a58;
  --negative: #bd3c45;
  --muted: #687983;
  --display: "Bahnschrift SemiCondensed", "Arial Narrow", sans-serif;
  --body: "Segoe UI Variable", "Segoe UI", sans-serif;
  --mono: "Cascadia Mono", "Consolas", monospace;
  --radius: 10px;
  --shadow: 0 18px 50px rgba(11, 23, 32, .08);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cloud);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button, input, select { color: inherit; font: inherit; }
button, select { cursor: pointer; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--paper);
  border: 2px solid var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

[hidden] { display: none !important; }

.app-shell { min-height: 100vh; }

.topbar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(28px, calc((100vw - 1380px) / 2));
  background: var(--ink);
  color: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}
.brand-mark { display: flex; align-items: end; gap: 3px; width: 29px; height: 25px; }
.brand-mark i { display: block; width: 7px; background: var(--orange); border-radius: 1px 1px 0 0; }
.brand-mark i:nth-child(1) { height: 9px; }
.brand-mark i:nth-child(2) { height: 16px; }
.brand-mark i:nth-child(3) { height: 25px; }
.brand strong, .brand small { display: block; line-height: 1; }
.brand strong { font: 600 20px/1 var(--display); letter-spacing: .03em; }
.brand small { margin-top: 4px; color: #b8c5cc; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }

.topbar-status { display: flex; align-items: center; gap: 14px; color: #c9d2d8; font-size: 12px; }
.connection-status { display: inline-flex; align-items: center; gap: 7px; }
.connection-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,153,0,.15); }
.connection-status.is-ready i { background: #52c99a; box-shadow: 0 0 0 4px rgba(82,201,154,.14); }
.connection-status.is-error i { background: #ff6973; box-shadow: 0 0 0 4px rgba(255,105,115,.14); }
.topbar-divider { width: 1px; height: 18px; background: #3a4851; }
.updated-at time { color: #fff; font-family: var(--mono); }

.command-deck {
  padding: 42px max(28px, calc((100vw - 1380px) / 2)) 30px;
  background:
    linear-gradient(90deg, rgba(0,166,166,.06) 1px, transparent 1px) 0 0 / 52px 52px,
    linear-gradient(rgba(0,166,166,.06) 1px, transparent 1px) 0 0 / 52px 52px,
    #e8eef1;
  border-bottom: 1px solid var(--line-strong);
}

.command-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 28px; }
.eyebrow { margin: 0 0 7px; color: var(--cyan); font: 700 11px/1.2 var(--mono); letter-spacing: .11em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 8px; font: 600 clamp(36px, 4.1vw, 62px)/.98 var(--display); letter-spacing: -.035em; }
h1 em { color: var(--negative); font-style: normal; }
.page-intro { max-width: 650px; margin-bottom: 0; color: var(--ink-soft); font-size: 16px; }

.metric-definition { position: relative; display: grid; gap: 5px; min-width: 200px; }
.metric-definition > span { color: var(--muted); font: 600 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.definition-trigger { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 9px 0; background: transparent; border: 0; border-bottom: 2px solid var(--ink); font: 600 13px var(--mono); }
.definition-trigger span { display: grid; place-items: center; width: 19px; height: 19px; border: 1px solid var(--line-strong); border-radius: 50%; }
.definition-tooltip { position: absolute; z-index: 5; top: calc(100% + 8px); right: 0; width: min(330px, 86vw); padding: 15px; background: var(--ink); color: #edf3f5; border-radius: 6px; box-shadow: var(--shadow); font-size: 13px; }

.filters { padding: 18px; background: rgba(255,255,255,.84); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 20px rgba(11,23,32,.04); backdrop-filter: blur(8px); }
.preset-fieldset { display: flex; align-items: center; gap: 16px; padding: 0 0 16px; margin: 0 0 16px; border: 0; border-bottom: 1px solid var(--line); }
.preset-fieldset legend { width: auto; float: left; color: var(--muted); font-size: 12px; }
.segmented { display: inline-flex; gap: 3px; padding: 3px; background: var(--cloud); border-radius: 6px; }
.segmented button { padding: 6px 10px; background: transparent; border: 0; border-radius: 4px; color: var(--ink-soft); font-size: 12px; }
.segmented button.is-active { background: var(--ink); color: #fff; }
.filter-grid { display: grid; grid-template-columns: 1fr 1fr 1.25fr 1.25fr 1.25fr auto; gap: 12px; align-items: end; }
.field, .inline-select { display: grid; gap: 6px; }
.field > span, .inline-select > span { color: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: .02em; }
.field input, .field select, .inline-select select, .search-field input {
  min-width: 0;
  height: 42px;
  padding: 0 34px 0 11px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 5px;
}
.field input { padding-right: 10px; }
.field select, .inline-select select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%); background-position: calc(100% - 15px) 17px, calc(100% - 10px) 17px; background-size: 5px 5px; background-repeat: no-repeat; }
.filter-actions { display: flex; gap: 8px; }
.button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; border-radius: 5px; border: 1px solid transparent; font-weight: 650; text-decoration: none; white-space: nowrap; }
.button svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.button-primary { background: var(--orange); color: var(--ink); border-color: #e78a00; }
.button-primary:hover { background: #e98b00; }
.button-secondary { background: var(--paper); border-color: var(--line-strong); }
.button-secondary:hover { border-color: var(--ink); }
.button:disabled { cursor: wait; opacity: .55; }
.filter-error { margin: 12px 0 0; color: var(--negative); font-size: 13px; }

.state-region, .dashboard { width: min(1380px, calc(100% - 56px)); margin-inline: auto; }
.loading-state, .message-state { min-height: 180px; display: flex; align-items: center; justify-content: center; gap: 18px; }
.loading-state span:last-child { display: grid; color: var(--muted); }
.loading-state strong { color: var(--ink); font: 600 18px var(--display); }
.loading-orbit { width: 34px; height: 34px; border: 3px solid var(--line); border-top-color: var(--orange); border-radius: 50%; animation: orbit .8s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
.message-state { justify-content: flex-start; margin: 28px 0; padding: 22px; min-height: 0; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--negative); border-radius: var(--radius); }
.message-state h2 { margin-bottom: 3px; font: 600 21px var(--display); }
.message-state p { margin-bottom: 0; color: var(--muted); }
.message-state .button { margin-left: auto; }
.message-symbol { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; background: #fbe7e8; color: var(--negative); border-radius: 50%; font: 700 17px var(--mono); }
.empty-state { border-left-color: var(--cyan); }
.empty-state .message-symbol { background: var(--cyan-soft); color: #007a7a; }

.dashboard { padding: 28px 0 20px; }
.runway { overflow: hidden; background: var(--ink); color: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.runway-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px 13px; border-bottom: 1px solid #35444e; }
.runway h2 { margin: 0; font: 600 24px var(--display); }
.period-meta { display: flex; gap: 13px; align-items: center; color: #b7c4cb; font: 11px var(--mono); }
.estimated-flag { display: inline-flex; gap: 6px; align-items: center; color: #ffd798; }
.estimated-flag i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.runway-body { display: grid; grid-template-columns: 285px minmax(0, 1fr); min-height: 230px; }
.runway-total { display: flex; flex-direction: column; justify-content: center; padding: 24px; border-right: 1px solid #35444e; }
.runway-total > span { color: #aab9c1; font-size: 12px; }
.runway-total > strong { margin: 5px 0 16px; color: #fff; font: 600 clamp(31px, 3vw, 46px)/1 var(--mono); letter-spacing: -.06em; }
.delta { display: grid; gap: 3px; }
.delta > span { width: max-content; padding: 3px 8px; background: rgba(255,255,255,.1); border-radius: 3px; font: 700 13px var(--mono); }
.delta.is-positive > span { background: rgba(189,60,69,.24); color: #ff9ea5; }
.delta.is-negative > span { background: rgba(24,122,88,.28); color: #8fe2c0; }
.delta small { color: #81939d; font-size: 11px; }
.runway-chart-wrap { position: relative; min-height: 230px; padding: 18px 20px 7px; }
.runway-scale { display: flex; justify-content: space-between; padding: 9px 24px; background: #101f29; color: #7f929d; border-top: 1px solid #35444e; font: 10px var(--mono); text-transform: uppercase; letter-spacing: .08em; }

.kpi-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 14px 0; }
.kpi-card { min-width: 0; padding: 17px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.kpi-card::before { content: ""; display: block; width: 22px; height: 3px; margin-bottom: 17px; background: var(--cyan); }
.kpi-primary::before { width: 42px; background: var(--orange); }
.kpi-label { display: block; margin-bottom: 5px; color: var(--muted); font-size: 11px; }
.kpi-card strong { display: block; overflow: hidden; color: var(--ink); font: 600 22px/1.15 var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.kpi-card .kpi-name { font: 600 19px/1.3 var(--display); letter-spacing: -.01em; }
.kpi-card small { display: block; overflow: hidden; margin-top: 6px; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }

.panel { margin-top: 14px; padding: 23px 24px 21px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 22px; margin-bottom: 18px; }
.panel-head h2 { margin-bottom: 0; font: 600 25px/1.1 var(--display); letter-spacing: -.015em; }
.panel-head .eyebrow { margin-bottom: 5px; }
.legend { display: flex; gap: 17px; color: var(--muted); font-size: 11px; }
.legend span::before { content: ""; display: inline-block; width: 18px; height: 3px; margin-right: 7px; vertical-align: middle; background: var(--orange); }
.legend .legend-previous::before { height: 0; border-top: 2px dashed var(--cyan); background: none; }
.chart-frame { position: relative; min-height: 300px; }
.chart-frame-large { min-height: 350px; }
.comparison-note { margin: 12px 0 0; padding-top: 12px; color: var(--muted); border-top: 1px solid var(--line); font-size: 12px; }
.inline-select { min-width: 235px; }
.inline-select.compact { min-width: 155px; }
.inline-select select { height: 38px; }
.service-focus-control { display: flex; align-items: end; gap: 15px; }
.service-focus-control > p { display: grid; gap: 2px; min-width: 120px; margin: 0; padding-left: 15px; border-left: 1px solid var(--line); }
.service-focus-control > p span { color: var(--muted); font-size: 10px; }
.service-focus-control > p strong { font: 600 13px var(--mono); }

.table-wrap { overflow: auto; margin-top: 18px; border: 1px solid var(--line); border-radius: 6px; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th { position: sticky; top: 0; z-index: 1; padding: 10px 12px; background: #e9eef1; color: var(--ink-soft); border-bottom: 1px solid var(--line-strong); font-size: 10px; letter-spacing: .06em; text-align: left; text-transform: uppercase; }
td { padding: 10px 12px; border-bottom: 1px solid #e5eaed; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #f6f8f9; }
.numeric { text-align: right; font-family: var(--mono); }
.status-estimated { display: inline-flex; align-items: center; gap: 5px; color: #9a5d00; }
.status-estimated::before { content: ""; width: 6px; height: 6px; background: var(--orange); border-radius: 50%; }
.variation-up { color: var(--negative); }
.variation-down { color: var(--positive); }
.zero-cost { color: var(--muted); font-style: italic; }
.trend-label { display: inline-block; padding: 2px 6px; background: var(--cloud); border-radius: 3px; color: var(--muted); font-size: 10px; font-weight: 650; }
.trend-label.is-up { background: #fbe7e8; color: var(--negative); }
.trend-label.is-down { background: #e1f2eb; color: var(--positive); }

.table-tools { display: flex; align-items: end; gap: 8px; }
.search-field { position: relative; display: block; }
.search-field svg { position: absolute; top: 11px; left: 10px; width: 16px; fill: none; stroke: var(--muted); stroke-width: 2; }
.search-field input { width: 220px; height: 38px; padding-left: 33px; padding-right: 9px; }
.split-content { display: grid; grid-template-columns: minmax(250px, .65fr) minmax(420px, 1.35fr); gap: 28px; align-items: center; }
.donut-wrap { position: relative; height: 330px; }
.donut-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.donut-center span { color: var(--muted); font-size: 11px; }
.donut-center strong { font: 600 25px var(--mono); }
.table-tall { max-height: 330px; margin-top: 0; }
.table-empty { padding: 24px; margin: 0; color: var(--muted); text-align: center; }

.panel-hint { max-width: 370px; margin: 0; color: var(--muted); font-size: 11px; text-align: right; }
.region-hint { max-width: none; margin: -9px 0 16px; text-align: left; }
.region-layout { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 28px; }
.region-ranking h3 { margin: 0 0 11px; color: var(--muted); font: 650 11px var(--body); letter-spacing: .05em; text-transform: uppercase; }
.region-ranking ol { display: grid; gap: 7px; padding: 0; margin: 0; list-style: none; }
.region-item { position: relative; overflow: hidden; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 9px; min-height: 49px; padding: 8px 10px; background: var(--cloud); border-radius: 5px; }
.region-item::before { content: ""; position: absolute; inset: auto 0 0; width: var(--share); height: 3px; background: var(--cyan); }
.region-position { display: grid; place-items: center; width: 23px; height: 23px; background: var(--paper); color: var(--muted); border-radius: 50%; font: 10px var(--mono); }
.region-name { overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.region-code { display: block; color: var(--muted); font: 9px var(--mono); }
.region-cost { text-align: right; font: 600 11px var(--mono); }

.account-bars { display: grid; gap: 13px; }
.account-row { display: grid; grid-template-columns: minmax(130px, 220px) minmax(120px, 1fr) auto; gap: 14px; align-items: center; font-size: 12px; }
.account-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-track { height: 7px; overflow: hidden; background: #e2e8eb; border-radius: 99px; }
.bar-fill { display: block; width: var(--share); height: 100%; background: var(--cyan); border-radius: inherit; }
.account-value { min-width: 100px; text-align: right; font: 11px var(--mono); }

.dashboard-footer { display: flex; justify-content: space-between; padding: 18px 2px 0; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }
.dashboard-footer strong { color: var(--ink); font-family: var(--mono); }

.logout-form { display: flex; align-items: center; gap: 9px; padding-left: 13px; border-left: 1px solid rgba(255, 255, 255, .14); }
.signed-user { color: #aab8c0; font: 10px var(--mono); }
.logout-form button { padding: 5px 9px; background: transparent; color: #d5dde2; border: 1px solid rgba(255, 255, 255, .2); border-radius: 4px; font: 650 10px var(--body); cursor: pointer; }
.logout-form button:hover { color: #fff; border-color: rgba(255, 255, 255, .45); }
.logout-form button:focus-visible { outline: 3px solid rgba(255, 153, 0, .35); outline-offset: 2px; }

.login-shell { position: relative; min-height: 100vh; overflow: hidden; display: grid; place-items: center; padding: 32px 18px; background: var(--ink); }
.login-shell::before { content: ""; position: absolute; top: -22vw; right: -18vw; width: 56vw; height: 56vw; min-width: 620px; min-height: 620px; background: radial-gradient(circle, rgba(0, 166, 166, .19), transparent 66%); pointer-events: none; }
.login-grid { position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .16) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(120deg, #000, transparent 70%); }
.login-card { position: relative; z-index: 1; width: min(460px, 100%); padding: 34px 36px 30px; background: var(--paper); border-top: 5px solid var(--orange); border-radius: 8px; box-shadow: 0 26px 80px rgba(0, 0, 0, .35); }
.login-brand { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 45px; color: var(--ink); }
.login-brand .brand-mark { background: var(--ink); }
.login-brand strong, .login-brand small { display: block; }
.login-brand strong { font: 650 21px/1 var(--display); }
.login-brand small { margin-top: 3px; color: var(--muted); font: 9px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.login-heading h1 { max-width: 360px; margin: 0 0 12px; color: var(--ink); font-size: clamp(35px, 6vw, 48px); line-height: .98; }
.login-heading > p:last-child { margin: 0; color: var(--muted); font-size: 13px; }
.login-form { display: grid; gap: 15px; margin-top: 31px; }
.login-field input { width: 100%; }
.field-validation { min-height: 14px; color: var(--negative); font-size: 10px; }
.field-validation:empty { display: none; }
.login-validation { color: var(--negative); font-size: 12px; }
.login-validation:empty, .login-validation ul:empty { display: none; }
.login-validation ul { padding: 10px 12px; margin: 0; background: #fbe7e8; border-left: 3px solid var(--negative); list-style: none; }
.login-submit { width: 100%; min-height: 45px; margin-top: 4px; }
.login-footer { display: grid; gap: 7px; padding-top: 22px; margin-top: 25px; color: var(--muted); border-top: 1px solid var(--line); }
.login-footer span { display: flex; align-items: center; gap: 7px; font-size: 11px; }
.login-footer i { width: 7px; height: 7px; background: var(--positive); border-radius: 50%; box-shadow: 0 0 0 4px rgba(24, 122, 88, .11); }
.login-footer small { font-size: 10px; }

.error-page { width: min(620px, calc(100% - 40px)); margin: 15vh auto; padding: 35px; background: var(--paper); border-top: 5px solid var(--negative); border-radius: var(--radius); box-shadow: var(--shadow); }
.error-page h1 { font-size: 42px; }
.error-page > p { color: var(--muted); }
.request-id { display: grid; gap: 5px; padding: 12px; background: var(--cloud); border-radius: 5px; }
.request-id span { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.request-id code { color: var(--ink); overflow-wrap: anywhere; }

@media (max-width: 1120px) {
  .filter-grid { grid-template-columns: repeat(3, 1fr); }
  .filter-actions { grid-column: span 3; justify-content: flex-end; }
  .kpi-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 780px) {
  .topbar { height: 62px; padding-inline: 18px; }
  .updated-at, .topbar-divider { display: none; }
  .signed-user { display: none; }
  .command-deck { padding: 28px 18px 22px; }
  .command-heading { display: grid; gap: 20px; }
  h1 { font-size: 43px; }
  .metric-definition { width: 100%; }
  .filters { padding: 13px; }
  .preset-fieldset { display: block; }
  .preset-fieldset legend { float: none; margin-bottom: 8px; }
  .segmented { width: 100%; overflow-x: auto; }
  .segmented button { flex: 1 0 auto; }
  .filter-grid { grid-template-columns: 1fr 1fr; }
  .field:nth-of-type(n+3) { grid-column: 1 / -1; }
  .filter-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .state-region, .dashboard { width: calc(100% - 28px); }
  .runway-head, .panel-head { align-items: flex-start; flex-direction: column; }
  .period-meta { align-items: flex-start; flex-direction: column; }
  .runway-body { grid-template-columns: 1fr; }
  .runway-total { padding-bottom: 8px; border-right: 0; }
  .runway-chart-wrap { min-height: 205px; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .panel { padding: 19px 16px; }
  .legend { flex-wrap: wrap; }
  .panel-head-controls, .table-tools { align-items: stretch; }
  .service-focus-control { width: 100%; align-items: end; }
  .inline-select, .search-field input { width: 100%; min-width: 0; }
  .table-tools { width: 100%; flex-direction: column; }
  .split-content, .region-layout { grid-template-columns: 1fr; }
  .donut-wrap { height: 270px; }
  .chart-frame { min-height: 250px; }
  .region-layout .chart-frame { min-height: 280px; }
  .panel-hint { text-align: left; }
  .dashboard-footer { flex-direction: column; gap: 5px; }
}

@media (max-width: 440px) {
  body { font-size: 14px; }
  .brand strong { font-size: 18px; }
  .connection-status { font-size: 10px; }
  .logout-form { padding-left: 8px; }
  .login-card { padding: 28px 22px 24px; }
  .login-brand { margin-bottom: 35px; }
  .command-deck { padding-inline: 14px; }
  h1 { font-size: 37px; }
  .page-intro { font-size: 14px; }
  .filters { margin-inline: -2px; }
  .filter-grid { grid-template-columns: 1fr; }
  .field, .field:nth-of-type(n+3), .filter-actions { grid-column: 1; }
  .filter-actions { grid-template-columns: 1fr; }
  .state-region, .dashboard { width: calc(100% - 20px); }
  .runway-head { padding: 17px 16px 11px; }
  .runway-total { padding: 19px 16px 5px; }
  .runway-total > strong { font-size: 34px; }
  .runway-chart-wrap { padding-inline: 8px; }
  .runway-scale { padding-inline: 16px; }
  .runway-scale span:nth-child(2) { display: none; }
  .kpi-grid { grid-template-columns: 1fr; }
  .kpi-card { padding: 14px 16px; }
  .kpi-card::before { margin-bottom: 11px; }
  .panel-head h2 { font-size: 22px; }
  .service-focus-control { align-items: stretch; flex-direction: column; }
  .service-focus-control > p { padding: 8px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .account-row { grid-template-columns: 1fr auto; }
  .bar-track { grid-column: 1 / -1; grid-row: 2; }
  .account-value { min-width: 0; }
}

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