@charset "UTF-8";

:root {
  color-scheme: dark;
  --bg: #282828;
  --ivory: #fffffa;
  --cream: #f1eee7;
  --mint: #bcd8c8;
  --lime: #d8ff85;
  --orange: #ff6a24;
  --ink: #282828;
  --muted: #b8b9ae;
  --line: #45463f;
  --paper-line: #cfcec2;
  --paper-muted: #5d6257;
  --red: #9a352a;
  --radius: 3px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--ivory); font-size: 14px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .5; cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.35; word-break: keep-all; overflow-wrap: anywhere; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 650; }
svg { display: block; }
button svg { pointer-events: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
[hidden] { display: none !important; }
::selection { background: var(--lime); color: var(--ink); }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.skip-link { position: fixed; z-index: 20; left: 16px; top: -100px; padding: 12px 20px; background: var(--lime); color: var(--ink); border-radius: 2px; }
.skip-link:focus { top: 16px; }
.eyebrow { font: 10px/1.6 var(--mono); font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase; color: var(--mint); }

/* Shared retail suite header. */
.suite-header { max-width: 1280px; margin: auto; min-height: 88px; padding: 20px 32px; display: flex; gap: 24px; align-items: center; border-inline: 1px solid #45463f; border-bottom: 1px solid #45463f; }
.suite-brand { display: flex; flex-direction: column; gap: 6px; }
.suite-brand img { width: 124px; height: 28px; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); }
.suite-brand span { font: 9px/1.4 var(--mono); letter-spacing: 1px; color: #b8b9ae; }
.suite-nav { margin-left: auto; display: flex; gap: 24px; font-size: 12px; color: #d3d4c9; }
.suite-nav a { display: inline-flex; align-items: center; min-height: 40px; white-space: nowrap; }
.suite-nav a[aria-current="page"], .suite-nav a:hover { color: #d8ff85; }
.suite-cta { display: inline-flex; align-items: center; justify-content: center; gap: 16px; background: #d8ff85; color: #282828; padding: 10px 16px; min-height: 40px; border-radius: 2px; font-size: 12px; white-space: nowrap; }
.suite-cta:hover { background: #e5ffb0; }

.app-layout { min-height: 100vh; }
.main-shell { width: 100%; max-width: 1280px; margin: auto; padding: 0 32px; border-inline: 1px solid var(--line); min-width: 0; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 0 12px; }
.topbar > div { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 11px; }
.topbar > div > span { font: 10px/1.6 var(--mono); letter-spacing: .8px; color: var(--muted); }
.topbar i { font-style: normal; color: #76796c; }
.topbar strong { font-weight: 400; color: #d3d4c9; }
.lab-tag { color: var(--muted); font-size: 11px; }
.staff-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; padding: 34px 0 56px; }
.hero-copy { min-width: 0; }
.hero-copy h1 { margin: 24px 0; font-size: clamp(48px, 4.35vw, 62px); font-weight: 750; line-height: 1.16; letter-spacing: -2.8px; }
.hero-copy h1 span { color: var(--ivory); }
.hero-copy > p:last-of-type { color: #c7c8bd; font-size: 14px; line-height: 1.95; word-break: keep-all; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 0; margin-top: 34px; }
.hero-chips span { color: #d3d4c9; font-size: 11px; line-height: 1.3; padding: 0 13px; border-left: 1px solid #66685d; }
.hero-chips span:first-child { padding-left: 0; border-left: 0; }

/* Original paper workflow: a concept diagram, not an execution preview. */
.hero-diagram { min-width: 0; padding: 23px 26px 18px; background: var(--mint); color: var(--ink); border-radius: 3px; position: relative; }
.diagram-head { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid #8da898; color: #3d5346; font: 9px/1.6 var(--mono); letter-spacing: .8px; }
.diagram-head > span:last-child { white-space: nowrap; }
.workflow-paper { position: relative; margin: 24px 8px 27px 0; padding: 17px; background: var(--cream); border: 1px solid #61796b; border-radius: 2px; box-shadow: 7px 7px 0 #dce7db, 8px 8px 0 #7c9283; transform: rotate(-2deg); }
.paper-title { display: flex; align-items: center; gap: 8px; padding-bottom: 15px; margin-bottom: 15px; border-bottom: 1px solid var(--paper-line); color: #5d6257; font: 9px/1.4 var(--mono); letter-spacing: .7px; }
.paper-title .icon { width: 16px; height: 16px; }
.paper-title > span:last-child { display: grid; place-items: center; margin-left: auto; width: 25px; height: 25px; background: var(--orange); color: #282828; font: 19px/1 sans-serif; }
.diagram-row { display: flex; align-items: center; gap: 10px; padding: 10px 8px; }
.diagram-row > div { min-width: 0; }
.diagram-icon { width: 28px; height: 30px; flex-shrink: 0; display: grid; place-items: center; color: #3c5347; }
.diagram-icon .icon { width: 20px; height: 20px; }
.diagram-row small { display: block; color: #5d6257; font: 9px/1.6 var(--mono); letter-spacing: .5px; margin-bottom: 4px; }
.diagram-row strong { font-size: 13px; letter-spacing: -.4px; font-weight: 600; }
.diagram-chip { margin-left: auto; font-size: 10px; color: #4b5e50; white-space: nowrap; }
.diagram-connector { position: relative; width: 1px; height: 16px; margin-left: 22px; background: #8a998b; }
.diagram-connector::after { content: ""; position: absolute; left: -2px; bottom: 1px; width: 5px; height: 5px; border-right: 1px solid #8a998b; border-bottom: 1px solid #8a998b; transform: rotate(45deg); }
.ai-row { background: var(--lime); border: 1px solid #bed580; border-radius: 2px; }
.diagram-note { padding-top: 12px; border-top: 1px solid #8da898; color: #3d5346; font-size: 11px; text-align: right; }

.bi-entry { display: flex; align-items: center; gap: 26px; padding: 28px; background: var(--cream); color: var(--ink); border-radius: var(--radius); }
.bi-entry-art { width: 88px; flex-shrink: 0; text-align: center; }
.bi-entry-art svg { width: 88px; height: 57px; fill: #52705e; }
.bi-entry-art svg rect { rx: 0; }
.bi-entry-art svg rect:nth-of-type(2) { fill: #95b4a1; }
.bi-entry-art svg rect:nth-of-type(3) { fill: var(--orange); }
.bi-entry-art svg path { fill: none; stroke: #536659; stroke-width: 1.5; }
.bi-entry-art small { font: 9px/1.6 var(--mono); letter-spacing: 1px; color: #536659; }
.bi-entry > div:nth-child(2) { min-width: 0; flex: 1; }
.bi-entry .eyebrow { color: #536659; }
.bi-entry h2 { font-size: 23px; letter-spacing: -.8px; margin: 6px 0 9px; }
.bi-entry p:not(.eyebrow) { color: var(--paper-muted); font-size: 12px; line-height: 1.85; }
.bi-entry > .button { margin-left: auto; flex-shrink: 0; }
.workspace-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 48px 0 20px; }
.workspace-intro p:not(.eyebrow) { color: var(--muted); font-size: 13px; margin-top: 7px; }
.workspace-intro strong { color: var(--ivory); font-weight: 500; }
.workspace-intro a { display: inline-flex; align-items: center; gap: 16px; color: #d3d4c9; min-height: 44px; font-size: 12px; flex-shrink: 0; }
.workspace-intro a:hover { color: var(--lime); }
.workspace-intro .icon { width: 16px; height: 16px; }
.scenario-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid #686b5f; border-radius: 2px; }
.scenario-tab { display: flex; align-items: center; gap: 14px; width: 100%; min-width: 0; min-height: 92px; padding: 20px; border: 0; border-right: 1px solid #686b5f; background: transparent; color: #d3d4c9; text-align: left; transition: background .15s, color .15s; }
.scenario-tab:last-child { border-right: 0; }
.scenario-tab > span:not(.nav-index) { min-width: 0; }
.scenario-tab strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.5; }
.scenario-tab small { display: block; color: var(--muted); font-size: 11px; font-weight: 400; margin-top: 4px; }
.scenario-tab > .icon { width: 21px; height: 21px; }
.nav-index { margin-left: auto; align-self: flex-start; font: 10px/1.6 var(--mono); color: var(--muted); }
.scenario-tab:hover:not(:disabled) { background: #363930; color: var(--ivory); }
.scenario-tab[aria-pressed="true"], .scenario-tab[aria-pressed="true"]:hover:not(:disabled) { background: var(--lime); color: var(--ink); }
.scenario-tab[aria-pressed="true"] small, .scenario-tab[aria-pressed="true"] .nav-index { color: #495532; }
.scenario-tab:focus-visible { position: relative; z-index: 1; outline-offset: -5px; }
.loading-copy { grid-column: 1 / -1; padding: 24px; color: var(--muted); font-size: 13px; }
.connection-strip { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.connection-strip > div { display: flex; align-items: center; gap: 9px; min-width: 0; }
.connection-strip p { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.connection-strip button { min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 2px; background: transparent; color: var(--lime); white-space: nowrap; font-size: 11px; }
.connection-strip button:hover:not(:disabled) { background: #363930; }
.status-dot { display: inline-block; width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: var(--lime); }
.status-dot.pending { background: #b8b9ae; }
.status-dot.error { background: #ff996c; }
.error-notice { padding: 16px; margin: 20px 0; border: 1px solid #e8a58c; border-radius: 2px; background: #fae5da; color: var(--red); font-size: 14px; overflow-wrap: anywhere; }

#scenario-workspace { padding-top: 32px; }
.scenario-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 25px; }
.scenario-heading > div { min-width: 0; }
.scenario-heading .eyebrow { margin-bottom: 10px; }
.scenario-heading h2 { font-size: 34px; font-weight: 650; letter-spacing: -1.1px; }
.scenario-heading p:last-child { max-width: 830px; margin-top: 12px; color: #b8b9ae; font-size: 14px; line-height: 1.9; }
.role-badge { border-left: 2px solid var(--mint); padding: 4px 0 4px 12px; font-size: 12px; color: #d3d4c9; white-space: nowrap; }
.transformation { display: grid; grid-template-columns: 1fr 16px 1fr 16px 1fr; gap: 20px; padding: 26px 0; border-block: 1px solid var(--line); margin-bottom: 28px; }
.transformation > div { display: flex; gap: 13px; align-items: flex-start; min-width: 0; }
.phase-number { display: grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0; border: 1px solid #686b5f; border-radius: 2px; color: #d3d4c9; font: 10px/1 var(--mono); }
.phase-number .icon { width: 16px; height: 16px; }
.ai-phase .phase-number { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.transformation small { display: block; color: #d3d4c9; font-size: 11px; margin: 2px 0 8px; }
.transformation p { color: var(--muted); font-size: 13px; line-height: 1.85; }
.phase-arrow { color: var(--mint); align-self: center; }
.metrics-intro { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; font-size: 12px; color: #d3d4c9; }
.metrics-intro > span { font-weight: 600; }
.metrics-intro p { color: var(--muted); font-size: 11px; }
.staff-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0 0 28px; background: var(--cream); color: var(--ink); border-radius: var(--radius); }
.staff-metrics[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.metric-card { min-width: 0; padding: 24px; border-right: 1px solid var(--paper-line); }
.metric-card:last-child { border-right: 0; }
.metric-card dt { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--paper-muted); }
.metric-card dt .icon { width: 16px; height: 16px; color: #6d7d68; }
.metric-card dd { margin: 10px 0 0; font-size: 38px; line-height: 1.35; letter-spacing: -1.4px; font-weight: 650; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.metric-card p { margin-top: 7px; font-size: 11px; line-height: 1.85; letter-spacing: 0; font-weight: 400; color: var(--paper-muted); }

/* Cream writing surfaces keep evidence and long drafts easy to read. */
.workbench-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
.work-panel { min-width: 0; padding: 28px; border: 1px solid var(--paper-line); border-radius: var(--radius); background: var(--cream); color: var(--ink); color-scheme: light; }
.work-panel .eyebrow { color: #516b59; }
.output-panel { border-top: 4px solid var(--mint); padding-top: 25px; min-height: 690px; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.panel-heading > div { min-width: 0; }
.panel-heading .eyebrow { margin-bottom: 9px; font-size: 9px; letter-spacing: .7px; }
.panel-heading h3 { font-size: 21px; letter-spacing: -.7px; }
.small-badge { display: inline-block; flex-shrink: 0; border: 1px solid #c3c5b9; border-radius: 2px; padding: 4px 7px; color: #555d4e; font-size: 10px; white-space: nowrap; }
.small-badge.ready { background: var(--mint); border-color: #93b29e; color: #2c4b37; }
.small-badge.error { background: #f8ded1; border-color: #d3a38d; color: #8b3d27; }
.panel-description { color: var(--paper-muted); font-size: 13px; line-height: 1.9; overflow-wrap: anywhere; }
.source-evidence { margin: 23px 0; max-height: 385px; overflow: auto; overscroll-behavior: contain; padding: 5px; scrollbar-width: thin; scrollbar-color: #8c998a #e4e5da; }
.evidence-item { margin-bottom: 9px; border: 1px solid #c8cfc0; border-radius: 2px; background: #e5eade; }
.evidence-item:last-child { margin-bottom: 0; }
.evidence-item summary { display: flex; align-items: center; gap: 9px; min-height: 48px; padding: 11px; list-style: none; cursor: pointer; font-size: 12px; font-weight: 600; line-height: 1.7; overflow-wrap: anywhere; }
.evidence-item summary::-webkit-details-marker { display: none; }
.evidence-id { flex-shrink: 0; padding: 3px 5px; background: var(--mint); color: #314d39; font: 10px/1.6 var(--mono); border-radius: 2px; white-space: nowrap; }
.evidence-item summary::after { content: "+"; margin-left: auto; color: #516b59; font: 18px/1 var(--mono); }
.evidence-item[open] summary::after { content: "−"; }
.evidence-item p { padding: 0 12px 14px; color: #4f594b; font-size: 12px; line-height: 1.95; white-space: pre-line; overflow-wrap: anywhere; }
.evidence-item:focus-within { border-color: #536d5a; }
.input-label { display: block; margin: 18px 0 9px; font-size: 13px; font-weight: 650; }
.input-label > span { margin-left: 8px; color: var(--paper-muted); font-size: 10px; font-weight: 400; }
textarea { display: block; width: 100%; min-height: 115px; max-height: 650px; resize: vertical; padding: 13px; background: var(--ivory); color: var(--ink); border: 1px solid #a7af9e; border-radius: 2px; font-size: 14px; line-height: 1.9; }
textarea:focus { border-color: #3d5c44; }
textarea:disabled { background: #e7e7de; color: #666d60; }
.field-help { margin-top: 8px; color: var(--paper-muted); font-size: 12px; line-height: 1.9; }
.fault-control { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; margin: 22px 0; padding-top: 17px; border-top: 1px solid var(--paper-line); cursor: pointer; }
.fault-control input, .review-checkbox input { width: 18px; height: 18px; flex-shrink: 0; margin: 3px 0 0; accent-color: #385941; cursor: pointer; }
.fault-control strong { display: block; font-size: 12px; font-weight: 600; }
.fault-control small { display: block; margin-top: 4px; font-size: 12px; color: var(--paper-muted); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 11px 16px; border: 1px solid transparent; border-radius: 2px; font-size: 13px; line-height: 1.6; font-weight: 600; transition: background .15s; }
.button > .icon { width: 17px; height: 17px; }
.button-primary { width: 100%; background: var(--lime); border-color: #afca78; color: var(--ink); }
.button-primary:hover:not(:disabled) { background: #c8f06f; }
.button-primary span { flex: 1; }
.button-primary > .icon:last-child { margin-left: auto; }
.button-secondary { background: transparent; border-color: #7a8773; color: #334f3b; }
.button-secondary:hover:not(:disabled) { background: #e0e6d8; }
.button-dark { background: #282828; color: #fffffa; }
.button-dark:hover:not(:disabled) { background: #44483d; }
#staff-run-notice { margin-top: 12px; }
#draft-status.error { padding: 12px; background: #fae2d5; color: #8b3d27; border-left: 3px solid var(--orange); }
#draft-status.busy { display: flex; align-items: center; gap: 9px; color: #3d5c44; }
#draft-status.busy::before { content: ""; width: 14px; height: 14px; flex-shrink: 0; border: 2px solid #c7d5c1; border-top-color: #3d5c44; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.draft-empty { display: flex; flex-direction: column; align-items: center; padding: 62px 5px 48px; text-align: center; }
.document-art { position: relative; width: 162px; height: 183px; padding: 24px 19px; margin: 0 0 34px; border: 1px solid #8a9e8b; border-radius: 2px; background: #fcfcf5; box-shadow: 9px 9px 0 var(--mint); transform: rotate(-5deg); }
.art-corner { position: absolute; top: -1px; right: -1px; width: 25px; height: 25px; background: #e2e8da; border-bottom: 1px solid #a7b59f; border-left: 1px solid #a7b59f; }
.art-doc-header { display: flex; align-items: center; gap: 7px; color: #5c705b; font: 8px/1.6 var(--mono); margin-bottom: 21px; }
.art-doc-header .icon { width: 16px; height: 16px; }
.document-art > i { display: block; width: 100%; height: 3px; margin-bottom: 12px; background: #c3d0bb; }
.document-art > i:nth-of-type(2) { width: 83%; }
.document-art > i:nth-of-type(3) { width: 65%; }
.art-doc-check { display: flex; align-items: center; gap: 6px; margin-top: 19px; color: #486443; font: 8px/1.6 var(--mono); letter-spacing: .4px; }
.art-doc-check .icon { width: 14px; height: 14px; }
.art-spark { display: grid; place-items: center; position: absolute; right: -15px; bottom: 15px; width: 32px; height: 32px; background: var(--lime); color: #3e5330; border: 1px solid #9fb17d; border-radius: 2px; transform: rotate(9deg); }
.art-spark .icon { width: 18px; height: 18px; }
.draft-empty h4 { font-size: 20px; letter-spacing: -.6px; margin-bottom: 14px; }
.draft-empty > p { color: var(--paper-muted); font-size: 13px; line-height: 1.95; white-space: pre-line; }
.empty-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; margin-top: 24px; }
.empty-tags span { font-size: 10px; color: #57654f; padding: 0 12px; border-right: 1px solid #bdc7b4; }
.empty-tags span:last-child { border-right: 0; }
.bi-receipt { margin: 20px 0; padding: 15px; background: #dfeadd; border: 1px solid #b7cbb7; border-radius: 2px; color: #38523d; font-size: 12px; line-height: 1.9; overflow-wrap: anywhere; }
.bi-receipt > .icon { margin-bottom: 8px; }
.bi-receipt a { display: inline-block; min-height: 44px; padding-block: 10px; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.bi-receipt small { display: block; margin-top: 5px; font-size: 11px; color: #4f604d; }
.result-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 11px 0; margin: 18px 0; border-block: 1px solid var(--paper-line); color: #52634c; font: 10px/1.8 var(--mono); overflow-wrap: anywhere; }
.editable-summary { min-height: 110px; background: #f8faf1; }
.draft-section { margin-top: 24px; padding-top: 19px; border-top: 1px solid var(--paper-line); }
.draft-section > .input-label { margin-top: 0; font-size: 14px; }
.draft-section textarea { min-height: 145px; font-size: 14px; }
.citations { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.citations > span { margin-right: 4px; font-size: 11px; color: #52634c; }
.citation-button { min-width: 44px; min-height: 44px; padding: 6px 10px; border: 1px solid #9db59e; border-radius: 2px; background: #dfecdc; color: #37543b; font: 11px/1.5 var(--mono); }
.citation-button:hover { background: var(--mint); }
.review-checks { padding: 18px; margin-top: 25px; background: #ece5d8; border: 1px solid #cfc2ab; border-left: 3px solid var(--orange); border-radius: 2px; }
.review-checks h4 { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: #675034; font-size: 14px; }
.review-checks h4 > .icon { width: 16px; height: 16px; }
.review-checks li { position: relative; padding-left: 13px; margin-top: 7px; color: #61543f; font-size: 13px; line-height: 1.9; }
.review-checks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 4px; height: 4px; background: #a17746; }
.source-warning { margin-top: 13px; font-size: 12px; line-height: 1.9; color: #675b45; }
.approval-panel { margin-top: 25px; padding-top: 21px; border-top: 1px solid var(--paper-line); }
.approval-panel > p:first-child { margin-bottom: 15px; color: #465e42; font-size: 13px; line-height: 1.9; }
.review-checkbox { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding: 6px 0; cursor: pointer; color: #465742; font-size: 13px; line-height: 1.9; }
.review-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.review-actions .button { flex: 1; font-size: 12px; }
#approval-status { margin-top: 13px; color: #52634c; font-size: 12px; line-height: 1.95; }

.value-panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: 42px; padding: 32px; margin-top: 28px; background: var(--mint); border-radius: var(--radius); color: var(--ink); }
.value-panel .eyebrow { color: #3e5948; }
.value-panel h3 { margin: 10px 0 13px; font-size: 27px; letter-spacing: -.9px; }
.value-panel > div > p:not(.eyebrow) { color: #3f5747; font-size: 13px; line-height: 1.9; }
.value-panel h4 { font-size: 13px; color: #334e3e; margin-bottom: 10px; }
.value-panel ul { display: flex; flex-direction: column; }
.value-panel li { padding: 8px 0; border-bottom: 1px solid #96b29f; color: #334e3e; font-size: 12px; }
.value-panel .field-help { font-size: 12px; margin-top: 12px; }
.scenario-extension { display: flex; align-items: flex-start; gap: 30px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.scenario-extension > span { flex-shrink: 0; color: var(--muted); font-size: 11px; padding-top: 3px; }
.scenario-extension li { margin-bottom: 5px; font-size: 12px; color: var(--muted); line-height: 1.9; }
.scenario-extension strong { color: #d3d4c9; font-size: 12px; font-weight: 600; margin-right: 7px; }
.adoption-section { margin-top: 70px; }
.section-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 26px; }
.section-title .eyebrow { margin-bottom: 14px; }
.section-title h2 { font-size: 32px; letter-spacing: -1.1px; }
.section-title > p { max-width: 280px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.platform-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 2px; }
.platform-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 28px; border-right: 1px solid var(--line); }
.platform-card:last-child { border-right: 0; }
.capability-status { display: inline-block; color: #c8c8bb; font-size: 10px; border-left: 2px solid #a59b81; padding-left: 8px; margin-bottom: 28px; }
.capability-status.implemented { color: var(--lime); border-color: var(--lime); }
.platform-card > .icon { width: 27px; height: 27px; color: var(--mint); margin-bottom: 18px; }
.platform-card h3 { font-size: 21px; letter-spacing: -.6px; margin-bottom: 14px; }
.platform-card p { flex: 1; color: var(--muted); font-size: 13px; line-height: 1.95; }
.platform-card a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding-top: 8px; margin-top: 14px; color: var(--mint); font-size: 12px; }
.platform-card a + a { margin-top: 0; }
.platform-card a:hover { color: var(--lime); }
.rollout-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.rollout-strip strong { color: #d3d4c9; font: 12px/1.8 var(--mono); }
.rollout-strip p { color: var(--muted); font-size: 12px; line-height: 1.9; margin-top: 9px; }
.adoption-note { max-width: 1100px; color: var(--muted); font-size: 12px; line-height: 1.9; margin-top: 25px; }
.staff-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; padding: 27px 0; margin-top: 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.staff-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--mint); }
.staff-footer a:hover { color: var(--lime); }
.staff-footer strong { color: #d3d4c9; font-weight: 500; }
.staff-footer p { text-align: right; font-size: 11px; }
.noscript-notice { padding: 20px; background: #fae5da; color: #713d24; font-size: 14px; }

@media (max-width: 1100px) {
  .main-shell { padding-inline: 24px; }
  .staff-hero { gap: 30px; grid-template-columns: 1.1fr 1fr; }
  .hero-copy h1 { font-size: 50px; letter-spacing: -2.3px; }
  .hero-diagram { padding: 20px; }
  .workflow-paper { padding: 13px; }
  .diagram-row { gap: 7px; padding-inline: 5px; }
  .diagram-row strong { font-size: 12px; }
  .diagram-chip { display: none; }
  .bi-entry { gap: 20px; padding: 24px; }
  .bi-entry-art { width: 65px; }
  .bi-entry-art svg { width: 65px; height: 46px; }
  .bi-entry h2 { font-size: 21px; }
  .bi-entry > .button { font-size: 12px; padding-inline: 13px; }
  .scenario-tab { gap: 10px; padding: 18px 15px; }
  .scenario-tab strong { font-size: 14px; }
  .transformation { gap: 12px; }
  .transformation > div { gap: 10px; }
  .work-panel { padding: 23px; }
  .output-panel { padding-top: 20px; }
  .panel-heading h3 { font-size: 19px; }
  .panel-heading .eyebrow { font-size: 9px; }
  .panel-heading { align-items: flex-start; }
  .small-badge { font-size: 9px; }
  .value-panel { gap: 28px; }
  .value-panel h3 { font-size: 24px; }
  .platform-card { padding: 24px; }
  .platform-card h3 { font-size: 19px; }
  .section-title h2 { font-size: 29px; }
}

@media (max-width: 900px) {
  .topbar { align-items: flex-start; }
  .topbar > div { gap: 8px; }
  .topbar > div > span { font-size: 9px; }
  .lab-tag { font-size: 10px; }
  .staff-hero { grid-template-columns: 1fr; gap: 36px; padding-top: 35px; }
  .hero-copy h1 { font-size: 60px; }
  .hero-diagram { max-width: 560px; width: 100%; justify-self: end; padding: 24px 30px 18px; }
  .workflow-paper { padding: 18px; }
  .diagram-row { padding: 12px 10px; gap: 12px; }
  .diagram-row small { font-size: 9px; }
  .diagram-row strong { font-size: 14px; }
  .diagram-chip { display: block; }
  .bi-entry { flex-wrap: wrap; }
  .bi-entry > .button { margin-left: 85px; }
  .scenario-heading h2 { font-size: 29px; }
  .scenario-tab { gap: 8px; padding: 18px 12px; flex-wrap: wrap; align-items: flex-start; }
  .scenario-tab > span:not(.nav-index) { flex: 1; }
  .nav-index { display: none; }
  .transformation { grid-template-columns: 1fr; gap: 20px; }
  .phase-arrow { display: none; }
  .metric-card { padding: 20px; }
  .metric-card dd { font-size: 32px; }
  .workbench-grid { grid-template-columns: 1fr; }
  .work-panel { padding: 28px; }
  .output-panel { padding-top: 25px; min-height: 560px; }
  .panel-heading { align-items: center; }
  .panel-heading h3 { font-size: 22px; }
  .panel-heading .eyebrow { font-size: 10px; }
  .small-badge { font-size: 10px; }
  .source-evidence { max-height: 340px; }
  .evidence-item p, .evidence-item summary { font-size: 13px; }
  .draft-empty { padding-block: 46px; }
  .value-panel { grid-template-columns: 1fr; gap: 26px; }
  .section-title { display: block; }
  .section-title > p { max-width: none; margin-top: 14px; }
  .platform-grid { grid-template-columns: 1fr; }
  .platform-card { padding: 28px; border-right: 0; border-bottom: 1px solid var(--line); }
  .platform-card:last-child { border-bottom: 0; }
  .platform-card h3 { font-size: 22px; }
  .platform-card p { max-width: 660px; }
  .capability-status { margin-bottom: 20px; }
  .staff-footer p { width: 100%; text-align: left; }
}

@media (max-width: 760px) {
  .suite-header { flex-wrap: wrap; padding: 18px 20px; }
  .suite-brand { max-width: calc(100% - 138px); }
  .suite-brand img { max-width: 100%; }
  .suite-brand span { overflow-wrap: anywhere; }
  .suite-cta { margin-left: auto; }
  .suite-nav { order: 3; width: 100%; margin: 0; justify-content: space-between; gap: 8px; }
  .suite-nav a { font-size: 11px; }
  .main-shell { padding-inline: 20px; }
  .topbar { flex-direction: column; gap: 7px; padding-top: 23px; }
  .topbar > div { font-size: 10px; }
  .topbar > div > span { font-size: 9px; }
  .lab-tag { font-size: 11px; }
  .staff-hero { padding: 28px 0 36px; gap: 30px; }
  .hero-copy h1 { font-size: 48px; line-height: 1.2; letter-spacing: -2px; margin-block: 21px; }
  .hero-copy > p:last-of-type { font-size: 13px; }
  .hero-copy > p:last-of-type br { display: none; }
  .hero-chips { margin-top: 25px; }
  .hero-chips span { font-size: 10px; padding-inline: 10px; }
  .hero-chips span:first-child { padding-left: 0; }
  .hero-diagram { max-width: 100%; padding: 20px 24px 16px; }
  .diagram-head { font-size: 9px; }
  .diagram-row small { font-size: 9px; }
  .diagram-row strong { font-size: 12px; }
  .bi-entry { padding: 24px; gap: 18px; }
  .bi-entry-art { display: none; }
  .bi-entry > div:nth-child(2) { flex-basis: 100%; }
  .bi-entry > .button { margin-left: 0; }
  .bi-entry h2 { font-size: 22px; }
  .bi-entry p:not(.eyebrow) br { display: none; }
  .workspace-intro { flex-direction: column; align-items: flex-start; gap: 8px; margin: 36px 0 16px; }
  .workspace-intro p:not(.eyebrow) { font-size: 12px; }
  .workspace-intro a { font-size: 11px; gap: 12px; }
  .scenario-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scenario-tab { min-height: 85px; padding: 16px; align-items: center; gap: 12px; }
  .scenario-tab:nth-child(2) { border-right: 0; }
  .scenario-tab:nth-child(-n+2) { border-bottom: 1px solid #686b5f; }
  .scenario-tab strong { font-size: 14px; }
  .scenario-tab small { font-size: 10px; }
  .scenario-tab > .icon { width: 19px; height: 19px; }
  .connection-strip { align-items: flex-start; gap: 12px; padding-block: 16px; }
  .connection-strip > div { align-items: flex-start; }
  .connection-strip .status-dot { margin-top: 8px; }
  .connection-strip p { font-size: 11px; }
  .connection-strip button { font-size: 10px; padding-inline: 8px; }
  #scenario-workspace { padding-top: 26px; }
  .scenario-heading { align-items: flex-start; flex-direction: column; gap: 17px; }
  .scenario-heading h2 { font-size: 28px; }
  .scenario-heading p:last-child { font-size: 13px; }
  .role-badge { font-size: 11px; }
  .transformation { padding-block: 23px; }
  .metrics-intro { align-items: flex-start; flex-direction: column; gap: 5px; }
  .staff-metrics, .staff-metrics[data-count="2"] { grid-template-columns: 1fr; }
  .metric-card { display: grid; grid-template-columns: 1fr 1.35fr; gap: 18px; padding: 20px; border-right: 0; border-bottom: 1px solid var(--paper-line); }
  .metric-card:last-child { border-bottom: 0; }
  .metric-card dt { align-items: flex-start; justify-content: flex-start; padding-top: 5px; font-size: 11px; }
  .metric-card dt .icon { display: none; }
  .metric-card dd { margin: 0; font-size: 29px; letter-spacing: -.8px; }
  .work-panel { padding: 23px; }
  .output-panel { padding-top: 20px; }
  .panel-heading { align-items: flex-start; gap: 10px; }
  .panel-heading h3 { font-size: 20px; }
  .panel-heading .eyebrow { font-size: 9px; letter-spacing: .6px; }
  .panel-description { font-size: 12px; }
  .source-evidence { margin-inline: -4px; max-height: 365px; }
  .evidence-item p, .evidence-item summary { font-size: 12px; }
  textarea, .editable-summary, .draft-section textarea { font-size: 16px; }
  .draft-empty { padding: 43px 0 30px; }
  .draft-empty h4 { font-size: 20px; }
  .draft-empty > p { font-size: 12px; }
  .draft-empty > p br { display: none; }
  .review-actions { flex-direction: column; }
  .value-panel { padding: 25px; }
  .value-panel h3 { font-size: 24px; }
  .scenario-extension { flex-direction: column; gap: 10px; }
  .adoption-section { margin-top: 48px; }
  .section-title h2 { font-size: 28px; }
  .platform-card { padding: 26px; }
  .rollout-strip { grid-template-columns: 1fr; gap: 22px; }
  .rollout-strip p { margin-top: 5px; }
  .staff-footer { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 34px; }
}

@media (max-width: 480px) {
  .hero-copy h1 { font-size: 42px; }
  .hero-diagram { padding-inline: 18px; }
  .workflow-paper { padding: 12px; }
  .diagram-row { gap: 7px; padding: 10px 4px; }
  .diagram-row small { font-size: 9px; letter-spacing: .3px; }
  .diagram-chip { display: none; }
  .diagram-icon { width: 22px; }
  .diagram-icon .icon { width: 17px; height: 17px; }
  .diagram-connector { margin-left: 15px; }
  .panel-heading { flex-wrap: wrap; }
  .panel-heading > div { flex: 1 1 170px; }
  .panel-heading h3 { font-size: 19px; }
  .small-badge { font-size: 9px; padding-inline: 6px; }
  .metric-card { grid-template-columns: .9fr 1.2fr; gap: 12px; }
}

@media (max-width: 390px) {
  .suite-header { padding: 16px 14px; }
  .suite-cta { font-size: 11px; padding: 10px; }
  .suite-brand { max-width: calc(100% - 125px); }
  .main-shell { padding-inline: 14px; }
  .topbar > div { gap: 6px; }
  .topbar i { display: none; }
  .hero-copy .eyebrow { font-size: 9px; letter-spacing: .7px; }
  .hero-copy h1 { font-size: clamp(34px, 10.25vw, 40px); letter-spacing: -1.7px; }
  .hero-chips span { padding-inline: 9px; }
  .hero-diagram { padding-inline: 15px; }
  .diagram-head { font-size: 9px; letter-spacing: .4px; }
  .workflow-paper { padding: 10px; margin-right: 6px; }
  .paper-title { font-size: 9px; }
  .diagram-row { gap: 6px; }
  .diagram-row strong { font-size: 11px; letter-spacing: -.5px; }
  .diagram-note { font-size: 10px; }
  .bi-entry { padding: 20px; }
  .bi-entry h2 { font-size: 21px; }
  .scenario-tab { padding: 14px 11px; gap: 9px; }
  .scenario-tab strong { font-size: 13px; }
  .scenario-tab small { font-size: 10px; }
  .scenario-heading h2 { font-size: 25px; }
  .work-panel { padding: 20px; }
  .output-panel { padding-top: 17px; }
  .panel-heading h3 { font-size: 18px; }
  .metric-card { padding: 18px; }
  .metric-card dd { font-size: 27px; }
  .button { font-size: 12px; padding-inline: 12px; }
  .draft-empty h4 { font-size: 18px; }
  .value-panel { padding: 22px; }
  .value-panel h3 { font-size: 22px; }
  .section-title h2 { font-size: 25px; }
  .platform-card { padding: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
