:root {
  --navy-950: #07152b;
  --navy-900: #111647;
  --navy-800: #172b48;
  --page: #f3f6f8;
  --surface: #ffffff;
  --ink: #162238;
  --muted: #607089;
  --muted-strong: #4b5d75;
  --orange: #c8372c;
  --orange-dark: #a82921;
  --orange-soft: #fff0ed;
  --turquoise: #00a7a5;
  --turquoise-soft: #e7f8f6;
  --line: #d8e0e8;
  --line-strong: #b7c3d0;
  --danger: #b42318;
  --warning: #8a5b00;
  --warning-soft: #fff8e1;
  --success: #087a73;
  --success-soft: #e7f8f6;
  --font-ui: Arial, Helvetica, sans-serif;
  --font-mono: SFMono-Regular, Consolas, monospace;
  --radius-sm: 4px;
  --radius-md: 8px;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; overflow-x: hidden; background: var(--page); color: var(--ink); font: 14px/1.5 var(--font-ui); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
::selection { background: #b7eeeb; color: var(--navy-950); }
input, select { caret-color: var(--orange); }
* { scrollbar-color: var(--line-strong) var(--page); scrollbar-width: thin; }
h1, h2, h3, h4, p, dl, ol, ul { margin-top: 0; }
[hidden] { display: none !important; }

.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;
}

.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; display: flex; min-height: 44px; align-items: center; padding: 10px 14px; background: var(--surface); color: var(--navy-950); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--navy-950); outline-offset: 2px; box-shadow: 0 0 0 6px var(--turquoise); }

.app-shell { display: grid; width: 100%; min-height: 100vh; grid-template-columns: 236px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; display: flex; width: 100%; min-width: 0; height: 100vh; flex-direction: column; padding: 26px 18px 20px; overflow: hidden; background: var(--navy-950); color: #d9e3f0; }
.brand { display: flex; align-items: baseline; gap: 8px; padding: 0 10px 24px; border-bottom: 1px solid #2a3a55; }
.brand-name { color: #fff; font-size: 22px; font-weight: 900; letter-spacing: -.03em; }
.product-name { color: #74d8d3; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.sidebar nav { display: grid; gap: 3px; margin-top: 24px; }
.sidebar nav button { position: relative; display: flex; width: 100%; min-height: 44px; align-items: center; gap: 10px; padding: 10px 12px; border: 0; border-radius: var(--radius-sm); background: transparent; color: #b8c6d9; cursor: pointer; font-size: 13px; font-weight: 700; text-align: left; }
.sidebar nav button:hover, .sidebar nav button[aria-current="page"] { background: var(--navy-800); color: #fff; }
.sidebar nav button[aria-current="page"]::before { position: absolute; top: 10px; bottom: 10px; left: 0; width: 2px; background: var(--turquoise); content: ""; }
.sidebar nav svg { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.nav-count { min-width: 21px; margin-left: auto; padding: 1px 6px; border: 1px solid #4b5e79; border-radius: 999px; color: #d9e3f0; font: 700 10px/1.6 var(--font-mono); text-align: center; }
.environment { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 14px 10px 0; border-top: 1px solid #2a3a55; }
.environment-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--warning-soft); box-shadow: inset 0 0 0 3px #d89a24; }
.environment strong, .environment small { display: block; }
.environment strong { color: #fff; font-size: 11px; letter-spacing: .08em; }
.environment small { margin-top: 2px; color: #aebdd0; font-size: 11px; }

main { min-width: 0; }
.topbar { display: flex; min-height: 86px; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 30px; border-bottom: 1px solid var(--line); background: var(--surface); }
.topbar h1 { margin-bottom: 3px; color: var(--navy-950); font-size: 22px; line-height: 1.2; }
.topbar p { margin-bottom: 0; color: var(--muted-strong); font-size: 13px; }
.topbar-actions { display: flex; align-items: center; gap: 20px; }
.account-context { display: grid; padding-right: 20px; border-right: 1px solid var(--line); }
.account-context span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.account-context strong { color: var(--ink); font-size: 12px; }
.connection-state { display: flex; align-items: center; gap: 8px; color: var(--muted-strong); font-size: 12px; white-space: nowrap; }
.connection-state > span { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.connection-state.is-connected > span { background: var(--turquoise); }
.connection-state.is-connected strong { color: var(--success); }
.content { width: min(100%, 1500px); margin: 0 auto; padding: 24px 30px 40px; }

.field label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 800; }
.field input, .field select { width: 100%; min-height: 44px; padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); }

.button { min-height: 44px; padding: 10px 15px; border: 1px solid transparent; border-radius: var(--radius-sm); cursor: pointer; font-size: 13px; font-weight: 800; transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease; }
.button--primary { background: var(--orange); color: #fff; }
.button--primary:hover { background: var(--orange-dark); }
.button--secondary { border-color: var(--line-strong); background: var(--surface); color: var(--navy-900); }
.button--secondary:hover { border-color: var(--navy-900); background: #f8fafc; }
.button:disabled { cursor: not-allowed; opacity: .52; }
.text-action { min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: var(--navy-900); cursor: pointer; font-weight: 800; text-decoration: underline; text-decoration-color: #8ea1b8; text-underline-offset: 3px; }
.text-action:hover { color: var(--orange-dark); text-decoration-color: currentColor; }
.icon-button { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; }
.icon-button:hover { border-color: var(--navy-900); }
.icon-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.5; }

.trust-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 18px; padding: 13px 16px; border: 1px solid #efaaa3; border-radius: var(--radius-sm); background: var(--orange-soft); }
.trust-strip h2 { margin-bottom: 2px; color: var(--danger); font-size: 14px; }
.trust-strip p { max-width: 84ch; margin-bottom: 0; color: #71342e; font-size: 12px; }
.trust-strip > strong { color: var(--danger); font-size: 10px; letter-spacing: .06em; white-space: nowrap; }
.portal-view { animation: view-enter 180ms cubic-bezier(.22, 1, .36, 1); }
@keyframes view-enter { from { opacity: .88; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.overview-intro { display: flex; min-height: 150px; align-items: center; justify-content: space-between; gap: 48px; padding: 28px 30px; background: var(--navy-950); color: #fff; }
.overview-intro h2 { max-width: 25ch; margin-bottom: 8px; font-size: 26px; line-height: 1.15; letter-spacing: -.02em; }
.overview-intro > div > p { margin-bottom: 0; color: #bdcadb; }
.attention-callout { min-width: 270px; padding-left: 28px; border-left: 1px solid #3a4a64; }
.attention-callout > span { display: block; color: #ffb0a8; font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.attention-callout > strong { display: block; margin: 3px 0 1px; font: 700 17px/1.3 var(--font-mono); }
.attention-callout > p { margin-bottom: 2px; color: #d2ddec; font-size: 12px; }
.attention-callout .text-action { color: #fff; }
.service-stat-rail { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 18px; border: 1px solid var(--line); border-top: 0; background: var(--surface); }
.service-stat-rail div { padding: 17px 20px; border-left: 1px solid var(--line); }
.service-stat-rail div:first-child { border-left: 0; }
.service-stat-rail dt { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.service-stat-rail dd { margin: 3px 0 0; color: var(--navy-950); font: 700 24px/1.2 var(--font-mono); }
.service-stat-rail small { color: var(--muted-strong); font-size: 11px; }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr); gap: 16px; }
.work-panel { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.panel-heading, .section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.panel-heading { margin-bottom: 16px; }
.panel-heading h2, .section-heading h2, .proof-workspace h2 { margin-bottom: 4px; color: var(--navy-950); font-size: 18px; line-height: 1.25; }
.panel-heading p, .section-heading p, .proof-workspace header p { margin-bottom: 0; color: var(--muted-strong); font-size: 12px; }
.panel-heading > span, .section-count { color: var(--muted-strong); font: 700 11px/1.5 var(--font-mono); white-space: nowrap; }
.section-heading { margin-bottom: 18px; padding: 4px 2px 0; }

.ticket-list article { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(160px, auto); gap: 20px; align-items: center; padding: 15px 0; border-top: 1px solid var(--line); }
.ticket-list article:first-child { border-top: 0; }
.ticket-list article > div:first-child span { display: block; color: var(--muted); font: 700 10px/1.5 var(--font-mono); }
.ticket-list article > div:first-child button { min-height: 44px; padding: 6px 0; border: 0; background: transparent; color: var(--navy-900); cursor: pointer; font-weight: 800; text-align: left; }
.ticket-list article > div:nth-child(2) { display: flex; gap: 6px; align-items: center; }
.ticket-status { display: inline-flex; min-height: 24px; align-items: center; padding: 2px 8px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--muted-strong); font-size: 10px; font-weight: 800; white-space: nowrap; }
.ticket-status--active { border-color: #7cc8c3; background: var(--success-soft); color: var(--success); }
.ticket-status--waiting { border-color: #e4bd62; background: var(--warning-soft); color: var(--warning); }
.ticket-status--resolved { background: #f4f6f8; }
.priority { display: inline-flex; min-width: 28px; min-height: 24px; align-items: center; justify-content: center; padding: 2px 6px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--muted-strong); font: 800 10px/1.4 var(--font-mono); }
.priority--critical { border-color: #e7a39d; background: var(--orange-soft); color: var(--danger); }
.priority--high { border-color: #e4bd62; background: var(--warning-soft); color: var(--warning); }
.sla-text { font-size: 11px; font-weight: 800; }
.sla-text--risk { color: var(--danger); }
.sla-text--paused { color: var(--warning); }
.sla-text--healthy { color: var(--success); }

.activity-list { margin: 0; padding: 0; list-style: none; }
.activity-list li { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 12px; padding: 15px 0; border-top: 1px solid var(--line); }
.activity-list li:first-child { border-top: 0; }
.activity-list li > span { width: 9px; height: 9px; margin-top: 6px; border: 2px solid var(--surface); border-radius: 50%; background: var(--turquoise); box-shadow: 0 0 0 1px var(--turquoise); }
.activity-list li > div > div { display: flex; gap: 8px; align-items: baseline; }
.activity-list button { min-height: 44px; padding: 6px 0; border: 0; background: transparent; color: var(--navy-900); cursor: pointer; font: 800 11px/1.4 var(--font-mono); text-decoration: underline; text-underline-offset: 3px; }
.activity-list strong { color: var(--ink); font-size: 12px; }
.activity-list p { margin: 4px 0; color: var(--muted-strong); font-size: 12px; }
.activity-list time { color: var(--muted); font: 400 10px/1.5 var(--font-mono); }

.ticket-toolbar { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(180px, 240px) auto; gap: 12px; align-items: end; margin-bottom: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.field label { color: var(--muted-strong); }
.ticket-table-wrap, .sla-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
table { width: 100%; border-collapse: collapse; table-layout: fixed; }
th, td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
thead th { background: #f6f8fa; color: var(--muted-strong); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
tbody tr:last-child > * { border-bottom: 0; }
.ticket-table th:first-child { width: 31%; }
.ticket-table th:nth-child(2) { width: 15%; }
.ticket-table th:nth-child(3) { width: 11%; }
.ticket-table th:nth-child(4) { width: 14%; }
.ticket-table th:nth-child(5) { width: 19%; }
.ticket-table th:nth-child(6) { width: 10%; }
.ticket-table td { color: var(--ink); font-size: 12px; }
.ticket-link { display: grid; min-height: 44px; align-content: center; padding: 0; border: 0; background: transparent; cursor: pointer; text-align: left; }
.ticket-link span { color: var(--muted); font: 700 10px/1.4 var(--font-mono); }
.ticket-link strong { color: var(--navy-900); font-size: 12px; }
.ticket-link:hover strong { color: var(--orange-dark); text-decoration: underline; text-underline-offset: 3px; }
.empty-results { padding: 60px 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); text-align: center; }
.empty-results h3 { margin-bottom: 6px; color: var(--navy-950); font-size: 18px; }
.empty-results p { color: var(--muted-strong); }

.ticket-detail { margin-top: 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--surface); }
.ticket-detail > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.ticket-detail > header span { color: var(--muted); font: 700 11px/1.5 var(--font-mono); }
.ticket-detail > header h3 { margin: 3px 0 0; color: var(--navy-950); font-size: 20px; }
.ticket-detail__body { padding: 22px; }
.ticket-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 24px; border: 1px solid var(--line); }
.ticket-facts div { padding: 13px 14px; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.ticket-facts div:nth-child(-n+3) { border-top: 0; }
.ticket-facts div:nth-child(3n+1) { border-left: 0; }
.ticket-facts dt { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.ticket-facts dd { margin: 4px 0 0; color: var(--ink); font-size: 12px; font-weight: 700; }
.ticket-description { max-width: 78ch; margin-bottom: 24px; }
.ticket-detail__body h4 { margin-bottom: 7px; color: var(--navy-950); font-size: 13px; }
.ticket-description p { margin-bottom: 0; color: var(--muted-strong); }
.detail-timeline { margin: 0; padding: 0; list-style: none; }
.detail-timeline li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; padding: 13px 0; border-top: 1px solid var(--line); }
.detail-timeline time { color: var(--muted); font: 400 10px/1.5 var(--font-mono); }
.detail-timeline strong { font-size: 12px; }
.detail-timeline p { max-width: 78ch; margin: 3px 0 0; color: var(--muted-strong); font-size: 12px; }

.state-label { padding: 4px 8px; border: 1px solid #80ccc7; border-radius: 999px; background: var(--turquoise-soft); color: var(--success); font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.sla-hero { display: grid; grid-template-columns: minmax(260px, .65fr) minmax(0, 1.35fr); margin-bottom: 16px; overflow: hidden; border-radius: var(--radius-md); background: var(--navy-950); color: #fff; }
.sla-score { padding: 30px; border-right: 1px solid #344761; }
.sla-score > span { color: #aebdd0; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.sla-score > strong { display: block; margin: 5px 0; font: 700 38px/1.1 var(--font-mono); }
.sla-score p { margin-bottom: 0; color: #bdcadb; font-size: 12px; }
.sla-distribution { padding: 38px 30px; }
.sla-bar { display: flex; height: 12px; overflow: hidden; border-radius: 999px; background: #33465f; }
.sla-bar span { width: 96.4%; background: var(--turquoise); }
.sla-bar i { width: 3.6%; background: var(--orange); }
.sla-distribution dl { display: flex; gap: 32px; margin: 18px 0 0; }
.sla-distribution dl div { display: flex; gap: 8px; }
.sla-distribution dt { color: #aebdd0; font-size: 11px; }
.sla-distribution dd { margin: 0; font: 700 11px/1.5 var(--font-mono); }
.sla-table th:first-child { width: 22%; }
.sla-table td, .sla-table tbody th { font-size: 12px; }
.sla-table td strong { color: var(--success); }
.method-note { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 16px; padding: 20px 22px; border: 1px solid #88d0cc; border-radius: var(--radius-md); background: var(--turquoise-soft); }
.method-note h2 { margin-bottom: 4px; color: var(--navy-950); font-size: 16px; }
.method-note p { max-width: 80ch; margin-bottom: 0; color: #315e61; font-size: 12px; }
.method-note > strong { max-width: 26ch; color: var(--success); font-size: 12px; text-align: right; }
.activity-workspace { max-width: 980px; }
.activity-workspace .activity-list li { padding: 18px 4px; }

.readiness-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; margin-bottom: 16px; padding: 26px 28px; background: var(--navy-950); color: #fff; }
.readiness-heading h2 { margin-bottom: 7px; font-size: 24px; letter-spacing: -.02em; }
.readiness-heading p { max-width: 80ch; margin-bottom: 0; color: #bdcadb; font-size: 13px; }
.readiness-state { display: flex; align-items: center; gap: 8px; padding-top: 5px; color: #ffd08a; font-size: 11px; font-weight: 800; white-space: nowrap; }
.readiness-state i { width: 9px; height: 9px; border: 2px solid #ffd08a; border-radius: 50%; }
.architecture-flow { display: grid; grid-template-columns: 1fr 72px 1fr 72px 1fr; align-items: center; gap: 12px; margin-bottom: 16px; padding: 20px; border: 1px solid var(--line); background: var(--surface); }
.architecture-flow > div { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #f8fafc; text-align: center; }
.architecture-flow > div > span, .architecture-flow strong, .architecture-flow small { display: block; }
.architecture-flow > div > span { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.architecture-flow strong { margin: 4px 0 2px; color: var(--navy-950); }
.architecture-flow small { color: var(--muted-strong); font-size: 11px; }
.architecture-flow svg { width: 72px; fill: none; stroke: var(--turquoise); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.architecture-flow .architecture-flow__pending { border-color: #e4bd62; background: var(--warning-soft); }
.architecture-note { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-bottom: 16px; padding: 18px 20px; border: 1px solid #88d0cc; border-radius: var(--radius-md); background: var(--turquoise-soft); }
.architecture-note h2 { margin-bottom: 4px; color: var(--navy-950); font-size: 16px; }
.architecture-note p { max-width: 88ch; margin-bottom: 0; color: #315e61; font-size: 12px; }
.architecture-note > strong { max-width: 34ch; color: var(--success); font: 700 11px/1.6 var(--font-mono); text-align: right; }
.readiness-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.readiness-checklist ul, .access-packet ol { margin: 0; padding: 0; list-style: none; }
.readiness-checklist li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); }
.readiness-checklist li:first-child, .access-packet li:first-child { border-top: 0; }
.readiness-checklist li > span { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: var(--turquoise-soft); color: var(--success); font-size: 11px; font-weight: 900; }
.readiness-checklist li > span svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.readiness-checklist strong, .readiness-checklist small { display: block; }
.readiness-checklist strong { font-size: 12px; }
.readiness-checklist small { color: var(--muted-strong); font-size: 11px; }
.access-packet { counter-reset: access-step; }
.access-packet li { position: relative; display: grid; gap: 2px; padding: 11px 0 11px 40px; border-top: 1px solid var(--line); counter-increment: access-step; }
.access-packet li::before { position: absolute; top: 12px; left: 0; display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid #e4bd62; border-radius: 50%; color: var(--warning); content: counter(access-step); font: 700 10px/1 var(--font-mono); }
.access-packet li strong { font-size: 12px; }
.access-packet li span { color: var(--muted-strong); font-size: 11px; }

.validation-plan { margin-top: 16px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.validation-plan > header, .delivery-roadmap > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; padding: 20px 22px; }
.validation-plan h2, .delivery-roadmap h2 { margin-bottom: 4px; color: var(--navy-950); font-size: 18px; }
.validation-plan header p, .delivery-roadmap header p { max-width: 70ch; margin-bottom: 0; color: var(--muted-strong); font-size: 12px; }
.validation-plan ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0 22px; border-top: 1px solid var(--line); list-style: none; counter-reset: validation-step; }
.validation-plan li { position: relative; min-height: 98px; padding: 18px 20px 18px 48px; border-top: 1px solid var(--line); counter-increment: validation-step; }
.validation-plan li:nth-child(-n+2) { border-top: 0; }
.validation-plan li:nth-child(even) { border-left: 1px solid var(--line); }
.validation-plan li::before { position: absolute; top: 18px; left: 8px; display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; background: var(--navy-950); color: #fff; content: counter(validation-step); font: 700 10px/1 var(--font-mono); }
.validation-plan li strong, .validation-plan li span { display: block; }
.validation-plan li strong { margin-bottom: 4px; color: var(--navy-950); font-size: 12px; }
.validation-plan li span { color: var(--muted-strong); font-size: 11px; }
.validation-plan > footer { display: flex; align-items: baseline; gap: 14px; padding: 14px 22px; border-top: 1px solid #88d0cc; background: var(--turquoise-soft); }
.validation-plan > footer strong { color: var(--success); font-size: 11px; }
.validation-plan > footer span { color: #315e61; font-size: 12px; }

.delivery-roadmap { margin-top: 16px; overflow: hidden; background: var(--navy-950); color: #fff; }
.delivery-roadmap h2 { color: #fff; }
.delivery-roadmap header p { color: #bdcadb; }
.delivery-roadmap ol { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; border-top: 1px solid #30415d; list-style: none; }
.delivery-roadmap li { padding: 20px 22px; border-left: 1px solid #30415d; }
.delivery-roadmap li:first-child { border-left: 0; }
.delivery-roadmap li > span { display: block; margin-bottom: 6px; color: #74d8d3; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.delivery-roadmap li strong { font-size: 14px; }
.delivery-roadmap li p { margin: 5px 0 0; color: #bdcadb; font-size: 11px; }

.proof-workspace { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.proof-workspace > header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.proof-badge { padding: 4px 8px; border: 1px solid #80ccc7; border-radius: 999px; background: var(--turquoise-soft); color: var(--success); font-size: 10px; font-weight: 800; letter-spacing: .05em; }
.proof-status-rail { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; background: var(--navy-950); color: #fff; }
.proof-status-rail div { min-width: 0; padding: 14px 16px; border-left: 1px solid #30415d; }
.proof-status-rail div:first-child { border-left: 0; }
.proof-status-rail dt { color: #9eafc5; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.proof-status-rail dd { margin: 4px 0 0; overflow: hidden; font: 700 11px/1.5 var(--font-mono); text-overflow: ellipsis; white-space: nowrap; }
.proof-summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 22px; }
.proof-summary p { max-width: 84ch; margin-bottom: 0; color: var(--muted-strong); font-size: 12px; }
.proof-summary span { color: var(--danger); font-size: 10px; font-weight: 800; letter-spacing: .05em; white-space: nowrap; }

.workspace-footer { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; margin-top: 20px; padding: 14px 2px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.workspace-footer span { max-width: 70ch; }
.workspace-footer span:last-child { text-align: right; }
.noscript-panel { padding: 24px; border: 1px solid var(--line); background: var(--surface); }
.noscript-panel h2 { font-size: 18px; }
.noscript-panel code { color: var(--navy-900); font-family: var(--font-mono); }

@media (max-width: 1180px) {
  .overview-grid { grid-template-columns: 1fr; }
  .readiness-grid { grid-template-columns: 1fr; }
  .architecture-flow { grid-template-columns: 1fr 50px 1fr 50px 1fr; }
  .architecture-flow svg { width: 50px; }
  .ticket-list article { grid-template-columns: minmax(0, 1fr) auto minmax(150px, auto); }
}

@media (max-width: 900px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; z-index: 10; display: grid; height: auto; grid-template-columns: auto minmax(0, 1fr); align-items: center; padding: 14px 18px; }
  .brand { padding: 0 18px 0 0; border: 0; border-right: 1px solid #2a3a55; }
  .sidebar nav { display: flex; max-width: 100%; margin: 0 0 0 12px; overflow-x: auto; }
  .sidebar nav button { width: auto; flex: 0 0 auto; }
  .sidebar nav button[aria-current="page"]::before { top: auto; right: 10px; bottom: 0; height: 2px; width: auto; }
  .environment { display: none; }
  .topbar { padding: 16px 22px; }
  .content { padding: 20px 22px 34px; }
  .architecture-flow { grid-template-columns: 1fr; }
  .architecture-flow svg { width: 48px; margin: 0 auto; transform: rotate(90deg); }
  .ticket-table th:first-child { width: 28%; }
  .ticket-table th:nth-child(5) { width: 22%; }
}

@media (max-width: 700px) {
  .sidebar { display: block; padding: 12px 14px 8px; }
  .brand { width: max-content; padding: 0 0 10px; border: 0; }
  .brand-name { font-size: 19px; }
  .sidebar nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; margin: 0; padding-bottom: 3px; overflow: visible; }
  .sidebar nav button { width: 100%; min-height: 44px; justify-content: center; padding: 8px 6px; font-size: 11px; line-height: 1.25; text-align: center; }
  .sidebar nav svg, .nav-count { display: none; }
  .topbar { align-items: flex-start; padding: 14px 16px; }
  .topbar h1 { font-size: 18px; }
  .topbar p, .account-context { display: none; }
  .topbar-actions { gap: 12px; }
  .connection-state { font-size: 11px; }
  .content { padding: 14px 14px 28px; }
  .trust-strip { align-items: flex-start; flex-direction: column; gap: 8px; }
  .trust-strip > strong { white-space: normal; }
  .overview-intro { align-items: flex-start; flex-direction: column; gap: 24px; padding: 24px 20px; }
  .overview-intro h2 { font-size: 23px; }
  .attention-callout { width: 100%; min-width: 0; padding: 18px 0 0; border-top: 1px solid #3a4a64; border-left: 0; }
  .service-stat-rail { grid-template-columns: repeat(2, 1fr); }
  .service-stat-rail div { border-top: 1px solid var(--line); }
  .service-stat-rail div:nth-child(-n+2) { border-top: 0; }
  .service-stat-rail div:nth-child(odd) { border-left: 0; }
  .service-stat-rail dd { font-size: 20px; }
  .work-panel { padding: 18px; }
  .panel-heading, .section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .panel-heading .text-action { align-self: flex-start; }
  .ticket-list article { grid-template-columns: 1fr auto; gap: 8px 14px; }
  .ticket-list article > div:nth-child(2) { align-self: start; }
  .ticket-list article > .sla-text { grid-column: 1 / -1; }
  .ticket-toolbar { grid-template-columns: 1fr; }
  .ticket-toolbar .button { width: 100%; }
  .ticket-table-wrap, .sla-table-wrap { overflow: visible; border: 0; background: transparent; }
  .ticket-table thead, .sla-table thead { display: none; }
  .ticket-table, .ticket-table tbody, .ticket-table tr, .ticket-table th, .ticket-table td,
  .sla-table, .sla-table tbody, .sla-table tr, .sla-table th, .sla-table td { display: block; width: 100% !important; }
  .ticket-table tr, .sla-table tr { margin-bottom: 10px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
  .ticket-table th, .ticket-table td, .sla-table th, .sla-table td { display: flex; min-height: 38px; align-items: center; justify-content: space-between; gap: 18px; padding: 8px 0; border-bottom: 1px solid var(--line); text-align: right; }
  .ticket-table tr > *:last-child, .sla-table tr > *:last-child { border-bottom: 0; }
  .ticket-table th { justify-content: flex-start; text-align: left; }
  .ticket-table td::before { color: var(--muted); content: attr(data-label); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
  .sla-table td:nth-child(2)::before { content: "Tickets"; }
  .sla-table td:nth-child(3)::before { content: "Response target"; }
  .sla-table td:nth-child(4)::before { content: "Response met"; }
  .sla-table td:nth-child(5)::before { content: "Resolution target"; }
  .sla-table td:nth-child(6)::before { content: "Resolution met"; }
  .ticket-facts { grid-template-columns: 1fr 1fr; }
  .ticket-facts div:nth-child(-n+3) { border-top: 1px solid var(--line); }
  .ticket-facts div:nth-child(-n+2) { border-top: 0; }
  .ticket-facts div:nth-child(3n+1) { border-left: 1px solid var(--line); }
  .ticket-facts div:nth-child(odd) { border-left: 0; }
  .detail-timeline li { grid-template-columns: 1fr; gap: 4px; }
  .sla-hero { grid-template-columns: 1fr; }
  .sla-score { border-right: 0; border-bottom: 1px solid #344761; }
  .sla-distribution { padding: 28px 22px; }
  .sla-distribution dl { flex-wrap: wrap; gap: 14px 24px; }
  .method-note, .readiness-heading, .architecture-note, .proof-workspace > header, .proof-summary { align-items: flex-start; flex-direction: column; }
  .method-note > strong { max-width: none; text-align: left; }
  .architecture-note > strong { max-width: none; text-align: left; }
  .readiness-heading { padding: 22px 20px; }
  .readiness-heading h2 { font-size: 21px; }
  .architecture-flow { padding: 14px; }
  .proof-status-rail { grid-template-columns: 1fr 1fr; }
  .proof-status-rail div:nth-child(3) { border-left: 0; border-top: 1px solid #30415d; }
  .proof-status-rail div:nth-child(4) { border-top: 1px solid #30415d; }
  .proof-summary span { white-space: normal; }
  .validation-plan > header, .delivery-roadmap > header { flex-direction: column; gap: 6px; }
  .validation-plan ol { grid-template-columns: 1fr; }
  .validation-plan li:nth-child(-n+2) { border-top: 1px solid var(--line); }
  .validation-plan li:first-child { border-top: 0; }
  .validation-plan li:nth-child(even) { border-left: 0; }
  .validation-plan > footer { align-items: flex-start; flex-direction: column; gap: 2px; }
  .delivery-roadmap ol { grid-template-columns: 1fr; }
  .delivery-roadmap li { border-top: 1px solid #30415d; border-left: 0; }
  .delivery-roadmap li:first-child { border-top: 0; }
  .workspace-footer { flex-direction: column; gap: 8px; }
  .workspace-footer span:last-child { text-align: left; }
}

@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; }
}
