@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&family=Manrope:wght@400;500;600;700&family=Source+Serif+4:ital,wght@0,500;1,500&display=swap");

:root {
  color-scheme: light;
  font-family: "DM Sans", Inter, ui-sans-serif, system-ui, sans-serif;
  font-synthesis: none;
  --bg: #f5f4ef;
  --surface: #fffefa;
  --surface-2: #ebeae4;
  --ink: #151515;
  --muted: #686962;
  --line: color-mix(in srgb, var(--ink) 18%, transparent);
  --accent: #335cff;
  --accent-ink: #ffffff;
  --accent-soft: color-mix(in srgb, var(--accent) 12%, var(--surface));
  --success: #147a54;
  --warning: #a96305;
  --danger: #c63b2f;
  --shadow: 0 18px 54px rgba(20, 22, 23, 0.12);
  --radius: 12px;
  --container: min(1380px, calc(100vw - 64px));
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--ink); }
body.dialog-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 72%, white); outline-offset: 3px; }
button:disabled { cursor: not-allowed; opacity: 0.42; }
svg { display: block; }

.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 12px 16px; background: var(--ink); color: var(--surface); text-decoration: none; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.suite-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.suite-icon { width: 1.05em; height: 1.05em; flex: 0 0 auto; }
.suite-kicker { margin: 0 0 12px; color: var(--muted); font: 600 11px/1.2 "IBM Plex Mono", monospace; letter-spacing: 0.13em; text-transform: uppercase; }
.suite-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.suite-button { min-height: 46px; border: 1px solid var(--line); border-radius: 8px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; text-decoration: none; font-size: 14px; font-weight: 700; cursor: pointer; transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
.suite-button:not(:disabled):active { transform: translateY(1px); }
.suite-button--primary { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.suite-button--primary:not(:disabled):hover { background: color-mix(in srgb, var(--accent) 88%, black); }
.suite-button--secondary { background: transparent; color: var(--ink); }
.suite-button--secondary:not(:disabled):hover { border-color: var(--ink); background: var(--surface); }
.suite-button--small { min-height: 40px; padding-inline: 15px; font-size: 12px; }
.suite-icon-button { width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; display: inline-grid; place-items: center; cursor: pointer; }
.suite-icon-button:hover { background: var(--surface-2); }
.suite-text-link { padding: 0 0 5px; border: 0; border-bottom: 1px solid currentColor; background: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; cursor: pointer; }
.suite-disclosure { max-width: 760px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.suite-status { min-height: 30px; padding: 6px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface); font-size: 11px; font-weight: 700; white-space: nowrap; }
.suite-status--success { color: var(--success); border-color: color-mix(in srgb, var(--success) 32%, transparent); background: color-mix(in srgb, var(--success) 8%, var(--surface)); }
.suite-status--warning { color: var(--warning); border-color: color-mix(in srgb, var(--warning) 32%, transparent); background: color-mix(in srgb, var(--warning) 8%, var(--surface)); }
.suite-status--danger { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 32%, transparent); background: color-mix(in srgb, var(--danger) 8%, var(--surface)); }
.suite-notice { position: fixed; z-index: 80; right: 22px; bottom: 22px; max-width: min(420px, calc(100vw - 44px)); min-height: 48px; padding: 12px 16px; border-radius: 10px; background: var(--ink); color: var(--surface); box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; font-size: 12px; line-height: 1.35; pointer-events: none; animation: notice-in 240ms ease both, notice-out 220ms 1450ms ease forwards; }
.suite-notice span { min-width: 0; overflow-wrap: anywhere; }
.suite-notice .suite-icon { flex: 0 0 auto; }
.suite-partial { padding: 10px 18px; border-bottom: 1px solid color-mix(in srgb, var(--warning) 30%, var(--line)); background: color-mix(in srgb, var(--warning) 10%, var(--surface)); color: color-mix(in srgb, var(--warning) 78%, black); display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; font-weight: 700; }
.suite-field { display: grid; gap: 7px; position: relative; }
.suite-field > span:first-child, .writing-title > span, .writing-brief > span, .handoff-draft > span { font-size: 11px; font-weight: 700; color: var(--muted); }
.suite-field input, .suite-field textarea, .writing-title input, .writing-brief textarea, .handoff-draft textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); padding: 12px; }
.suite-field textarea, .writing-brief textarea, .handoff-draft textarea { min-height: 112px; resize: vertical; }
.suite-field-error { min-height: 16px; color: var(--danger); font-size: 11px; }
.suite-input-prefix { position: absolute; z-index: 1; bottom: 14px; left: 14px; font-weight: 700; }
.suite-input-prefix + input { padding-left: 30px; }

@keyframes notice-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes notice-out { to { opacity: 0; transform: translateY(8px); } }
@keyframes spin { to { transform: rotate(1turn); } }
@keyframes pulse { 50% { opacity: 0.45; } }

/* Route-owned product depth */
.app-role, .systems-operator { display: grid; justify-items: end; gap: 2px; font-size: 10px; color: var(--muted); }
.app-role b, .systems-operator b { max-width: 320px; color: currentColor; font-size: 11px; text-align: right; }
.product-view-tabs { width: min(1680px, 100%); margin: 0 auto; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.product-view-tabs--web { margin-bottom: 22px; }
.product-view-tabs--app, .product-view-tabs--mobile, .product-view-tabs--systems { border-inline: 0; }
.product-view-tabs button { min-width: 0; min-height: 64px; padding: 11px 14px; border: 0; border-right: 1px solid var(--line); background: transparent; color: inherit; display: grid; align-content: center; gap: 4px; text-align: left; cursor: pointer; }
.product-view-tabs button:last-child { border-right: 0; }
.product-view-tabs button:hover { background: color-mix(in srgb, var(--accent) 7%, transparent); }
.product-view-tabs button.is-active { background: var(--accent-soft); box-shadow: inset 0 -3px var(--accent); }
.product-view-tabs span { font-size: 12px; font-weight: 800; }
.product-view-tabs small { min-width: 0; overflow: hidden; color: var(--muted); font-size: 9px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.theme-aegis .product-view-tabs, .theme-aegis .product-workbench { background: var(--surface-2); }
.theme-aegis .product-view-tabs button.is-active, .theme-aegis .product-journey-tabs button.is-active, .theme-aegis .product-command-list li.is-current, .theme-aegis .product-command-entry { background: color-mix(in srgb, var(--accent) 18%, var(--surface-2)); color: var(--ink); }

.product-workbench { width: min(1680px, calc(100% - 40px)); margin: 28px auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); overflow: hidden; }
.product-workbench--web { width: 100%; margin-block: 28px 0; }
.product-workbench-header { padding: clamp(22px, 3vw, 38px); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(210px, 0.32fr); align-items: end; gap: 34px; }
.product-workbench-header h2 { max-width: 780px; margin: 0; font-size: clamp(28px, 3.5vw, 52px); letter-spacing: -0.045em; line-height: 1; }
.product-workbench-header > div:first-child > p:last-child { max-width: 760px; margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.product-progress { display: grid; gap: 8px; }
.product-progress strong { font: 600 28px/1 "IBM Plex Mono", monospace; }
.product-progress > span { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.product-progress i { display: block; height: 100%; border-radius: inherit; background: var(--accent); transition: width 220ms ease; }
.product-progress small { color: var(--muted); font-size: 10px; }
.product-journey-tabs { border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
.product-journey-tabs button { min-width: 0; min-height: 98px; padding: 16px 20px; border: 0; border-right: 1px solid var(--line); background: transparent; color: inherit; display: grid; align-content: center; gap: 5px; text-align: left; cursor: pointer; }
.product-journey-tabs button:last-child { border-right: 0; }
.product-journey-tabs button.is-active { background: var(--accent-soft); box-shadow: inset 0 -3px var(--accent); }
.product-journey-tabs span, .product-journey-tabs small { color: var(--muted); font: 600 9px/1.3 "IBM Plex Mono", monospace; text-transform: uppercase; letter-spacing: 0.08em; }
.product-journey-tabs b { min-width: 0; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.product-context { border-bottom: 1px solid var(--line); }
.product-context summary { min-height: 48px; padding: 0 22px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; font-weight: 800; cursor: pointer; list-style: none; }
.product-context summary::-webkit-details-marker { display: none; }
.product-context summary::before { content: "+"; width: 20px; height: 20px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--accent); }
.product-context[open] summary::before { content: "−"; }
.product-context-grid { padding: 0 22px 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.product-context-grid article { min-width: 0; padding: 18px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface-2) 54%, var(--surface)); }
.product-context-grid h3 { margin: 0 0 10px; font-size: 15px; line-height: 1.2; }
.product-context-grid p:not(.suite-kicker), .product-context-grid strong, .product-context-grid li { color: var(--muted); font-size: 10px; line-height: 1.55; }
.product-context-grid strong { display: block; margin-top: 10px; color: var(--ink); }
.product-context-grid ul { margin: 10px 0 0; padding-left: 16px; }
.product-context-grid li + li { margin-top: 5px; }
.product-context-grid li b, .product-context-grid li small { display: block; margin-top: 2px; color: var(--ink); font-size: 9px; }
.product-command-error, .product-command-detail, .product-command-entry { margin: 18px 22px 0; padding: 15px 18px; border: 1px solid var(--line); display: flex; align-items: center; gap: 16px; }
.product-command-error { border-color: color-mix(in srgb, var(--danger) 54%, var(--line)); background: color-mix(in srgb, var(--danger) 8%, var(--surface)); color: var(--danger); font-size: 12px; font-weight: 700; }
.product-command-detail { display: grid; grid-template-columns: 0.8fr 1.4fr auto; }
.product-command-detail h3, .product-command-entry h3 { margin: 0; font-size: 15px; }
.product-command-detail p:not(.suite-kicker) { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.product-command-detail code { padding: 6px 8px; border-radius: 4px; background: var(--surface-2); font-size: 9px; }
.product-command-entry { align-items: end; display: grid; grid-template-columns: minmax(180px, 0.55fr) minmax(260px, 1.45fr); background: var(--accent-soft); }
.product-command-input { display: grid; gap: 6px; }
.product-command-input > span { font-size: 10px; font-weight: 800; }
.product-command-input input, .product-command-input textarea, .product-command-input select { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; background: var(--surface); color: var(--ink); }
.product-command-input textarea { min-height: 72px; resize: vertical; }
.product-command-input small { color: var(--muted); font-size: 9px; }
.product-workbench-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr); }
.product-command-list { margin: 0; padding: 0; list-style: none; border-right: 1px solid var(--line); }
.product-command-list li { min-height: 96px; padding: 14px 18px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.product-command-list li:last-child { border-bottom: 0; }
.product-command-list li.is-current { background: var(--accent-soft); box-shadow: inset 3px 0 var(--accent); }
.product-command-list li.is-complete { background: color-mix(in srgb, var(--success) 5%, transparent); }
.product-command-index { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--muted); font: 600 9px/1 "IBM Plex Mono", monospace; }
.product-command-list .is-complete .product-command-index { border-color: color-mix(in srgb, var(--success) 50%, var(--line)); color: var(--success); }
.product-command-list b { display: block; font-size: 12px; }
.product-command-list p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.product-command-list small { display: block; margin-top: 6px; color: var(--warning); font-size: 9px; }
.product-command-list button { min-height: 36px; min-width: 90px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; background: transparent; font-size: 10px; font-weight: 800; cursor: pointer; }
.product-command-list .is-current button { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.product-artifact { min-width: 0; padding: 22px; background: color-mix(in srgb, var(--surface-2) 16%, var(--surface)); }
.theme-aegis .product-artifact { background: color-mix(in srgb, var(--surface) 7%, var(--surface-2)); }
.product-artifact-title { padding-bottom: 18px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.product-artifact-title > .suite-icon { width: 26px; height: 26px; color: var(--accent); }
.product-artifact-title h3 { margin: 0; font-size: 16px; }
.product-artifact dl { margin: 0; }
.product-artifact dl > div { padding: 10px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(90px, 0.7fr) minmax(0, 1.3fr); gap: 12px; }
.product-artifact dt { color: var(--muted); font-size: 9px; }
.product-artifact dd { margin: 0; overflow-wrap: anywhere; font-size: 10px; font-weight: 700; line-height: 1.4; text-align: right; }
.product-artifact dd:where(:not(:empty)) { color: var(--ink); }
.product-artifact-actions { margin-top: 18px; display: grid; gap: 8px; }
.product-activity { margin-top: 22px; display: grid; gap: 7px; }
.product-activity span { padding-left: 10px; border-left: 2px solid var(--line); color: var(--muted); font-size: 9px; line-height: 1.4; }

/* Loading, empty, and error inspection states */
.suite-loading-shell, .suite-state { min-height: 100dvh; padding: 48px; display: grid; place-content: center; justify-items: center; text-align: center; background: var(--bg); }
.suite-state h1 { max-width: 700px; margin: 0 0 16px; font-size: clamp(36px, 6vw, 76px); letter-spacing: -0.04em; line-height: 0.98; }
.suite-state > p:not(.suite-kicker):not(.suite-disclosure) { max-width: 590px; margin: 0 0 26px; color: var(--muted); line-height: 1.65; }
.suite-state .suite-disclosure { margin-top: 30px; }
.suite-state-mark { width: 70px; height: 70px; margin-bottom: 24px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--accent); }
.suite-state-mark .suite-icon { width: 30px; height: 30px; }
.suite-loader { width: 36px; height: 36px; margin-bottom: 24px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--accent); animation: spin 900ms linear infinite; }
.suite-skeleton-lines { width: min(480px, 80vw); margin-top: 24px; display: grid; gap: 10px; }
.suite-skeleton-lines i { height: 12px; border-radius: 2px; background: var(--surface-2); animation: pulse 1.2s ease-in-out infinite; }
.suite-skeleton-lines i:nth-child(2) { width: 78%; }
.suite-skeleton-lines i:nth-child(3) { width: 52%; }

/* Shared dialog */
.suite-dialog-backdrop { position: fixed; z-index: 100; inset: 0; padding: 24px; background: rgba(10, 12, 12, 0.62); display: grid; place-items: center; }
.suite-dialog-backdrop[hidden] { display: none; }
.suite-dialog { width: min(520px, 100%); padding: 34px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 32px 96px rgba(0, 0, 0, 0.3); position: relative; }
.suite-dialog h2 { margin: 0 0 10px; font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.04em; line-height: 1; }
.suite-dialog > p:not(.suite-kicker) { color: var(--muted); line-height: 1.55; }
.suite-dialog form { display: grid; gap: 16px; margin-top: 24px; }
.suite-dialog-close { position: absolute; top: 16px; right: 16px; }

/* Web design family */
.theme-aegis { --bg: #151416; --surface: #f3f0e8; --surface-2: #282629; --ink: #f4f0e7; --muted: #aaa5a0; --line: rgba(255, 255, 255, 0.16); --accent: #ff5d44; --accent-ink: #151416; }
.theme-relay { --bg: #f7f6f1; --surface: #ffffff; --surface-2: #eceef9; --ink: #101114; --muted: #64666d; --accent: #234dff; --accent-ink: #ffffff; }
.theme-angel { --bg: #eff4f4; --surface: #fbfdfd; --surface-2: #dce9e8; --ink: #0c2430; --muted: #5b7077; --accent: #0b706d; --accent-ink: #ffffff; --warning: #bb6b10; }
.theme-countsure { --bg: #f3f5f4; --surface: #ffffff; --surface-2: #e3e8e6; --ink: #17201d; --muted: #64716b; --accent: #18a75d; --accent-ink: #06170e; }
.theme-euler { --bg: #f8f1df; --surface: #fffcf3; --surface-2: #e9edec; --ink: #0d2447; --muted: #5f6e7f; --accent: #00a8c9; --accent-ink: #061d2f; --warning: #d67821; }
.web-site { min-height: 100dvh; background: var(--bg); color: var(--ink); }
.web-nav { width: var(--container); min-height: 76px; margin: 0 auto; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.web-brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; text-decoration: none; font-weight: 800; letter-spacing: -0.03em; }
.web-brand-mark { width: 32px; height: 32px; border-radius: 7px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font: 700 14px/1 "IBM Plex Mono", monospace; }
.web-nav nav { display: flex; gap: 28px; }
.web-nav nav a { text-decoration: none; color: var(--muted); font-size: 12px; font-weight: 700; }
.web-nav nav a:hover { color: var(--ink); }
.web-nav-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.web-hero { width: var(--container); min-height: min(830px, calc(100dvh - 76px)); margin: 0 auto; padding: 82px 0 68px; display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(500px, 1.12fr); gap: clamp(52px, 7vw, 120px); align-items: center; }
.web-hero-copy { max-width: 660px; }
.web-hero-copy h1 { margin: 0; max-width: 700px; font: 600 clamp(64px, 7.4vw, 96px)/0.93 "Manrope", sans-serif; letter-spacing: -0.05em; text-wrap: balance; }
.web-hero-body { max-width: 580px; margin: 28px 0 34px; color: var(--muted); font-size: clamp(17px, 1.45vw, 22px); line-height: 1.58; }
.web-hero-art { min-width: 0; min-height: 500px; position: relative; display: grid; place-items: center; }
.web-trust { width: 100%; min-height: 92px; padding: 0 max(32px, calc((100vw - min(1380px, calc(100vw - 64px))) / 2)); border-block: 1px solid var(--line); display: flex; align-items: stretch; overflow-x: auto; }
.web-trust span { min-width: 190px; padding: 24px 28px; border-right: 1px solid var(--line); display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.web-trust span:first-child { border-left: 1px solid var(--line); }
.web-trust b { color: var(--accent); font: 600 10px/1 "IBM Plex Mono", monospace; }
.web-product-proof { width: var(--container); padding: 140px 0; margin: 0 auto; }
.web-section-heading { max-width: 820px; margin-bottom: 52px; }
.web-section-heading h2, .web-story-row h2, .web-final h2 { margin: 0; font: 600 clamp(46px, 5.2vw, 78px)/0.98 "Manrope", sans-serif; letter-spacing: -0.05em; text-wrap: balance; }
.web-section-heading > p:last-child, .web-story-row > div:first-child > p:not(.suite-kicker), .web-final > p:not(.suite-kicker) { max-width: 680px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.web-demo { border: 1px solid var(--line); border-radius: 14px; background: color-mix(in srgb, var(--surface) 95%, transparent); color: color-mix(in srgb, var(--ink) 92%, black); overflow: hidden; box-shadow: var(--shadow); }
.theme-aegis .web-demo { --bg: #f3f0e8; --surface: #f3f0e8; --surface-2: #e4dfd6; --ink: #171719; --muted: #6d6965; --line: rgba(23, 23, 25, 0.18); color: var(--ink); }
.web-demo-bar { min-height: 54px; padding: 0 18px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 600 11px/1 "IBM Plex Mono", monospace; text-transform: uppercase; letter-spacing: 0.08em; }
.web-story { width: var(--container); margin: 0 auto; }
.web-story-row { min-height: 650px; padding: 100px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr); gap: clamp(60px, 10vw, 160px); align-items: center; }
.web-story-row.is-reverse > div:first-child { order: 2; }
.web-story-row > div:first-child { max-width: 590px; }
.web-story-row .suite-text-link { margin-top: 20px; }
.web-story-visual { min-height: 390px; padding: 46px; border: 1px solid var(--line); position: relative; overflow: hidden; display: flex; align-items: flex-end; justify-content: space-between; }
.web-story-visual > span { position: absolute; top: 20px; left: 22px; color: var(--muted); font: 500 11px/1 "IBM Plex Mono", monospace; }
.web-story-visual > b { max-width: 280px; font-size: clamp(26px, 3vw, 42px); letter-spacing: -0.04em; line-height: 1; }
.web-story-visual i { position: absolute; width: 52%; aspect-ratio: 1; border: 1px solid var(--accent); border-radius: 50%; top: 16%; left: 24%; }
.web-story-visual i::before, .web-story-visual i::after { content: ""; position: absolute; inset: 18%; border: 1px solid var(--line); transform: rotate(42deg); }
.web-story-visual i::after { inset: 38%; border-color: var(--accent); border-radius: 50%; }
.web-final { width: var(--container); min-height: 620px; margin: 80px auto 0; padding: 110px; border-radius: 14px 14px 0 0; background: var(--accent); color: var(--accent-ink); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.web-final .suite-kicker, .web-final > p:not(.suite-kicker) { color: color-mix(in srgb, var(--accent-ink) 72%, transparent); }
.web-final .suite-button--primary { margin-top: 16px; border-color: var(--accent-ink); background: var(--accent-ink); color: var(--accent); }
.web-footer { width: var(--container); min-height: 250px; margin: 0 auto; padding: 54px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-content: center; }
.web-footer > div { display: flex; gap: 24px; justify-content: flex-end; }
.web-footer > div a { text-decoration: none; color: var(--muted); font-size: 12px; }
.web-footer .suite-disclosure { grid-column: 1 / -1; }

/* Web artefacts */
.aegis-constellation { width: 100%; max-width: 690px; }
.aegis-constellation svg { width: 100%; overflow: visible; }
.aegis-constellation path { fill: none; stroke-width: 1.5; }
.aegis-constellation .path-base { stroke: color-mix(in srgb, var(--ink) 24%, transparent); }
.aegis-constellation .path-risk { stroke: var(--accent); stroke-width: 2.4; }
.aegis-constellation circle { fill: var(--bg); stroke: var(--ink); stroke-width: 1.4; }
.aegis-constellation circle:nth-of-type(3) { fill: var(--accent); stroke: var(--accent); }
.aegis-path-labels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.aegis-path-labels span { min-width: 0; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.aegis-path-labels b { display: block; margin-bottom: 4px; color: var(--accent); font: 600 9px/1 "IBM Plex Mono", monospace; }
.aegis-demo-grid { min-height: 600px; display: grid; grid-template-columns: 220px minmax(0, 1fr) 260px; }
.aegis-alert-list { border-right: 1px solid var(--line); }
.aegis-alert-list button { width: 100%; min-height: 112px; padding: 20px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: inherit; text-align: left; cursor: pointer; display: grid; gap: 6px; }
.aegis-alert-list button.is-active { background: color-mix(in srgb, var(--accent) 10%, transparent); box-shadow: inset 3px 0 var(--accent); }
.aegis-alert-list span, .aegis-alert-list small { color: var(--muted); font: 500 9px/1.4 "IBM Plex Mono", monospace; }
.aegis-demo-grid > .aegis-constellation { padding: 54px 28px; align-self: center; }
.aegis-demo-grid > aside { padding: 32px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.aegis-demo-grid aside h3 { margin: 0; font-size: 28px; letter-spacing: -0.04em; }
.aegis-demo-grid dl, .app-inspector dl { margin: 8px 0 12px; display: grid; gap: 12px; }
.aegis-demo-grid dl div, .app-inspector dl div { padding-bottom: 10px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 14px; }
.aegis-demo-grid dt, .app-inspector dt { color: var(--muted); font-size: 11px; }
.aegis-demo-grid dd, .app-inspector dd { margin: 0; font-size: 11px; font-weight: 700; text-align: right; }

.relay-anatomy { width: 100%; max-width: 640px; min-height: 380px; border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--line)); background: var(--surface); color: var(--ink); position: relative; display: grid; place-items: center; }
.relay-anatomy::before, .relay-anatomy::after { content: ""; position: absolute; background: var(--accent); opacity: 0.25; }
.relay-anatomy::before { width: 1px; inset-block: 0; left: 50%; }
.relay-anatomy::after { height: 1px; inset-inline: 0; top: 50%; }
.relay-anatomy > button { min-width: 210px; min-height: 58px; border: 0; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.relay-part { position: absolute; z-index: 1; padding: 8px 10px; border: 1px solid var(--accent); background: var(--surface); color: var(--accent); font: 600 9px/1 "IBM Plex Mono", monospace; }
.relay-part--label { left: 21%; top: 32%; }
.relay-part--icon { right: 24%; top: 45%; }
.relay-ruler, .relay-callout { position: absolute; color: var(--muted); font: 500 9px/1 "IBM Plex Mono", monospace; }
.relay-ruler--top { top: 18px; left: 50%; transform: translateX(-50%); }
.relay-callout--left { left: 16px; bottom: 18px; }
.relay-callout--right { right: 16px; bottom: 18px; }
.relay-demo-grid { min-height: 570px; display: grid; grid-template-columns: 190px minmax(0, 1fr) 240px; }
.relay-inventory { border-right: 1px solid var(--line); }
.relay-inventory button { width: 100%; min-height: 100px; padding: 18px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; display: grid; gap: 8px; }
.relay-inventory button.is-active { box-shadow: inset 3px 0 var(--accent); background: var(--accent-soft); }
.relay-inventory small { color: var(--muted); }
.relay-demo-grid > .relay-anatomy { margin: 46px 34px; align-self: center; }
.relay-demo-grid > aside { padding: 34px 22px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.relay-demo-grid aside > span, .relay-demo-grid aside p { color: var(--muted); font-size: 11px; }
.relay-demo-grid aside > strong { font-size: 30px; letter-spacing: -0.04em; }
.relay-meter { height: 6px; background: var(--surface-2); }
.relay-meter i { display: block; height: 100%; background: var(--accent); }

.angel-monitor { width: 100%; max-width: 760px; min-height: 420px; padding: 28px; border-radius: 80px 80px 12px 12px; background: #092b3c; color: #e9f4f1; display: grid; grid-template-columns: 0.72fr 1.4fr 0.8fr; gap: 16px; align-items: end; position: relative; overflow: hidden; }
.angel-monitor > div:not(.angel-lung) { min-height: 94px; padding: 16px; border-top: 1px solid rgba(255, 255, 255, 0.22); display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; }
.angel-monitor span { color: #9db7bd; font-size: 10px; }
.angel-monitor strong { font-size: 25px; letter-spacing: -0.04em; }
.suite-spark { width: 100%; height: 38px; overflow: visible; }
.suite-spark polyline { stroke: var(--accent); stroke-width: 2; }
.angel-trend polyline { stroke: #5ee0d1; }
.angel-lung { position: absolute; width: 230px; height: 230px; top: 54px; left: 50%; transform: translateX(-50%); opacity: 0.33; }
.angel-lung::before { content: ""; position: absolute; width: 2px; height: 108px; left: 50%; top: 0; background: #85e2d6; }
.angel-lung i { position: absolute; width: 84px; height: 150px; top: 70px; border: 1px solid #85e2d6; border-radius: 62% 38% 54% 46%; }
.angel-lung i:first-child { left: 20px; transform: rotate(8deg); }
.angel-lung i:last-child { right: 20px; transform: scaleX(-1) rotate(8deg); }
.web-demo--angel { background: #eff8f6; color: #0c2430; }
.angel-demo-footer { min-height: 102px; padding: 20px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 18px; align-items: center; }
.angel-demo-footer > div { display: grid; gap: 6px; }
.angel-demo-footer span { color: #5b7077; font-size: 11px; }
.web-demo--angel .angel-monitor { max-width: none; border-radius: 0; }

.count-tray { width: 100%; max-width: 680px; padding: 30px; border: 9px solid color-mix(in srgb, var(--ink) 16%, var(--surface)); border-radius: 16px; background: color-mix(in srgb, var(--surface-2) 80%, var(--surface)); display: grid; grid-template-columns: repeat(6, minmax(42px, 1fr)); gap: 9px; box-shadow: inset 0 0 0 1px var(--line); }
.count-slot { min-width: 0; aspect-ratio: 1 / 1.1; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); display: grid; place-items: center; color: var(--success); font: 600 clamp(20px, 2.2vw, 34px)/1 "IBM Plex Mono", monospace; }
.count-slot.is-scanned::after { content: "✓"; position: absolute; }
.count-slot { position: relative; }
.count-slot.is-scanned::after { right: 3px; bottom: 2px; color: var(--success); font-size: 9px; }
.count-slot.is-missing { color: var(--danger); border-color: var(--danger); background: color-mix(in srgb, var(--danger) 7%, var(--surface)); }
.count-slot.is-missing::after { content: "!"; position: absolute; right: 4px; bottom: 2px; font-size: 9px; font-weight: 800; }
.count-tray-aggregation { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.count-tray-aggregation b { color: var(--ink); font: 700 13px/1.2 "IBM Plex Mono", monospace; white-space: nowrap; }
.count-tray-aggregation span { color: var(--muted); font-size: 11px; line-height: 1.35; text-align: right; }
.count-demo-grid { min-height: 560px; padding: 38px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr); gap: 42px; align-items: center; }
.count-demo-grid > aside { display: flex; flex-direction: column; gap: 14px; }
.count-demo-grid h3 { margin: 0; font-size: 34px; letter-spacing: -0.04em; }
.count-demo-grid aside > p:not(.suite-kicker) { color: var(--muted); line-height: 1.55; }

.web-demo--euler { max-width: 960px; margin-inline: auto; }
.euler-preview { width: min(520px, 100%); margin: 0 auto; padding: 36px; display: grid; gap: 18px; color: var(--ink); }
.web-hero-art > .euler-preview { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
.euler-mode { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 8px; background: var(--surface-2); }
.euler-mode button { min-height: 42px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font-weight: 700; cursor: pointer; }
.euler-mode button.is-active { background: var(--surface); color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); }
.euler-balance, .euler-health, .euler-fee { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.euler-balance span, .euler-health span, .euler-fee span { color: var(--muted); font-size: 11px; }
.euler-balance strong, .euler-health strong { font-size: 26px; font-variant-numeric: tabular-nums; }
.euler-health { flex-wrap: wrap; }
.euler-health small { width: 100%; color: var(--muted); }
.euler-health.is-risk strong, .euler-health.is-risk small { color: var(--warning); }

/* Shared app chrome */
.theme-icu { --bg: #edf2f4; --surface: #ffffff; --surface-2: #e2ebee; --ink: #102a3a; --muted: #647781; --accent: #08706e; --accent-ink: #ffffff; }
.theme-sentinel { --bg: #eae8e1; --surface: #fdfbf5; --surface-2: #e5e0d5; --ink: #24201e; --muted: #706963; --accent: #315fbd; --accent-ink: #ffffff; --danger: #d44832; }
.theme-run-guard { --bg: #e8ecf1; --surface: #ffffff; --surface-2: #e3e9f0; --ink: #14243b; --muted: #657285; --accent: #245ee5; --accent-ink: #ffffff; }
.theme-relay-control { --bg: #eff0f2; --surface: #ffffff; --surface-2: #e7e9ef; --ink: #111216; --muted: #65666d; --accent: #1849ff; --accent-ink: #ffffff; }
.theme-countsure-ops { --bg: #e9eef0; --surface: #ffffff; --surface-2: #e0e7e8; --ink: #13242a; --muted: #64747a; --accent: #16a85f; --accent-ink: #04180c; }
.app-workspace, .ai-workspace { min-height: 100dvh; background: var(--bg); color: var(--ink); display: flex; flex-direction: column; }
.app-header { min-height: 64px; padding: 0 18px; border-bottom: 1px solid var(--line); background: var(--surface); display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 22px; }
.app-brand { display: flex; align-items: center; gap: 10px; }
.app-brand > span { width: 32px; height: 32px; border-radius: 7px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font: 700 13px/1 "IBM Plex Mono", monospace; }
.app-brand strong { letter-spacing: -0.03em; }
.app-context { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 10px; }
.app-connection { display: flex; align-items: center; gap: 7px; }
.app-connection i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.app-footer { min-height: 44px; padding: 8px 18px; border-top: 1px solid var(--line); background: var(--surface); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.app-footer > span { color: var(--muted); font: 500 9px/1 "IBM Plex Mono", monospace; white-space: nowrap; }
.saas-layout { min-height: 0; flex: 1; display: grid; grid-template-columns: 224px minmax(0, 1fr) 286px; overflow: hidden; }
.entity-rail { min-height: 0; border-right: 1px solid var(--line); background: var(--surface); overflow: auto; }
.suite-search { display: block; padding: 14px; }
.suite-search input { width: 100%; height: 38px; border: 1px solid var(--line); border-radius: 7px; padding: 0 11px; background: var(--bg); color: var(--ink); font-size: 11px; }
.entity-rail-label { padding: 8px 15px; border-block: 1px solid var(--line); color: var(--muted); font: 600 9px/1 "IBM Plex Mono", monospace; text-transform: uppercase; letter-spacing: 0.11em; }
.entity-list button { width: 100%; min-height: 82px; padding: 14px 15px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; display: grid; grid-template-columns: 1fr auto; gap: 5px 10px; cursor: pointer; }
.entity-list button.is-active { box-shadow: inset 3px 0 var(--accent); background: var(--accent-soft); }
.entity-list button span { color: var(--muted); font: 500 9px/1 "IBM Plex Mono", monospace; }
.entity-list button strong { font-size: 13px; }
.entity-list button small { grid-column: 1 / -1; color: var(--muted); font-size: 10px; }
.entity-record-context { min-height: 82px; padding: 14px 15px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 92%, var(--line)); display: grid; grid-template-columns: 1fr auto; gap: 5px 10px; opacity: 0.72; }
.entity-record-context span { color: var(--muted); font: 500 9px/1 "IBM Plex Mono", monospace; }
.entity-record-context strong { font-size: 13px; }
.entity-record-context small { grid-column: 1 / -1; color: var(--muted); font-size: 10px; }
.entity-no-results { padding: 20px 15px; display: grid; gap: 9px; }
.entity-no-results span { color: var(--muted); font-size: 11px; line-height: 1.45; }
.entity-no-results button { min-height: 38px; padding: 0; border: 0; color: var(--accent); font-weight: 700; }
.saas-center { min-width: 0; min-height: 0; padding: 22px; overflow: auto; background: var(--bg); }
.workspace-title { min-height: 54px; margin-bottom: 18px; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.workspace-title h1 { margin: 0; font-size: clamp(22px, 2.2vw, 36px); line-height: 1; letter-spacing: -0.04em; }
.metric-strip { min-height: 86px; border-block: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.metric-strip > div { min-width: 0; padding: 14px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.metric-strip > div:last-child { border-right: 0; }
.metric-strip span { color: var(--muted); font-size: 9px; }
.metric-strip strong { font-size: 17px; letter-spacing: -0.03em; }
.metric-strip .suite-spark { height: 22px; }
.app-inspector { min-height: 0; padding: 22px 18px; border-left: 1px solid var(--line); background: var(--surface); overflow: auto; display: flex; flex-direction: column; gap: 12px; }
.app-inspector h2 { margin: 0; font-size: 22px; letter-spacing: -0.04em; }
.inspector-alert { padding: 14px; border: 1px solid color-mix(in srgb, var(--danger) 30%, var(--line)); background: color-mix(in srgb, var(--danger) 7%, var(--surface)); color: var(--danger); display: flex; gap: 10px; }
.inspector-alert > .suite-icon { margin-top: 2px; }
.inspector-alert div { display: grid; gap: 5px; }
.inspector-alert span { color: var(--muted); font-size: 10px; line-height: 1.4; }
.history-block { margin-top: auto; padding-top: 20px; display: grid; gap: 8px; }
.history-block > span { padding-top: 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; line-height: 1.45; }
.event-timeline { min-height: 66px; margin-top: 18px; padding: 14px; border-top: 1px solid var(--line); display: flex; gap: 8px; overflow-x: auto; }
.event-timeline span { min-width: 170px; padding-left: 12px; border-left: 2px solid var(--accent); color: var(--muted); font-size: 9px; line-height: 1.4; }

/* SaaS route-specific surfaces */
.icu-chart { min-height: 260px; margin-top: 18px; padding: 18px; background: var(--surface); border: 1px solid var(--line); }
.chart-heading { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 10px; }
.suite-spark.large { height: 180px; margin-top: 18px; }
.suite-spark.large polyline { stroke-width: 2.2; }
.icu-lower { margin-top: 14px; display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 14px; }
.icu-lower > div { min-height: 150px; padding: 18px; border-top: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 8px; }
.icu-lower .suite-spark { margin-top: auto; }
.icu-lower span { color: var(--muted); font-size: 10px; }
.risk-graph { min-height: 420px; margin-top: 10px; border-block: 1px solid var(--line); position: relative; display: grid; place-items: center; }
.risk-graph svg { width: 94%; }
.risk-graph path { fill: none; stroke: var(--accent); stroke-width: 2; }
.risk-graph circle { fill: var(--surface); stroke: var(--ink); stroke-width: 1.5; }
.risk-graph circle:nth-child(3) { fill: var(--danger); stroke: var(--danger); }
.risk-graph > div { position: absolute; inset: auto 0 50px; }
.risk-graph > div span { position: absolute; left: var(--x); color: var(--muted); font-size: 9px; }
.deck-map { padding: 18px; border: 1px solid var(--line); background: var(--surface); display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.deck-slot { min-height: 110px; padding: 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--bg); text-align: left; display: flex; flex-direction: column; justify-content: space-between; cursor: pointer; }
.deck-slot span { color: var(--muted); font: 500 9px/1 "IBM Plex Mono", monospace; }
.deck-slot b { font-size: 11px; }
.deck-slot.is-blocked { border-color: var(--danger); color: var(--danger); background: color-mix(in srgb, var(--danger) 8%, var(--surface)); }
.deck-slot.is-placed { border-color: var(--success); color: var(--success); background: color-mix(in srgb, var(--success) 8%, var(--surface)); }
.trace-strip { min-height: 60px; margin-top: 14px; padding: 12px; background: #17243a; color: #d7e4f0; display: flex; gap: 16px; overflow-x: auto; }
.trace-strip span { min-width: 180px; font: 400 9px/1.5 "IBM Plex Mono", monospace; }
.recovery-steps { padding: 0; margin: 6px 0; list-style: none; display: grid; gap: 8px; }
.recovery-steps li { min-height: 40px; padding: 11px; border: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.recovery-steps li.is-current { border-color: var(--accent); color: var(--accent); }
.recovery-steps li.is-done { border-color: var(--success); color: var(--success); }
.component-table { margin-top: 18px; border-top: 1px solid var(--line); }
.component-row { min-height: 52px; width: 100%; padding: 0 12px; border: 0; border-bottom: 1px solid var(--line); background: var(--surface); display: grid; grid-template-columns: 1.2fr 1fr 0.7fr 0.9fr 0.9fr 0.9fr; align-items: center; gap: 12px; text-align: left; font-size: 10px; }
button.component-row { cursor: pointer; }
.component-row.is-active { background: var(--accent-soft); box-shadow: inset 3px 0 var(--accent); }
.component-row--head { min-height: 36px; background: transparent; color: var(--muted); font: 600 8px/1 "IBM Plex Mono", monospace; text-transform: uppercase; }
.component-anatomy-inline { padding: 18px; background: var(--surface); }
.component-anatomy-inline .relay-anatomy { max-width: none; min-height: 240px; }
.count-ops-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(230px, 0.7fr); gap: 18px; }
.count-ops-layout .count-tray { max-width: none; grid-template-columns: repeat(6, 1fr); }
.discrepancy-list { padding: 18px; border-top: 1px solid var(--line); background: var(--surface); }
.discrepancy-list button { width: 100%; min-height: 72px; padding: 12px; border: 1px solid color-mix(in srgb, var(--danger) 30%, var(--line)); background: color-mix(in srgb, var(--danger) 6%, var(--surface)); color: var(--danger); text-align: left; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.discrepancy-list button + button { margin-top: 8px; }
.discrepancy-list button span { flex: 1; display: grid; gap: 5px; }
.discrepancy-list button small { color: var(--muted); }
.resolved-message { min-height: 100px; display: grid; place-items: center; color: var(--success); text-align: center; }
.instrument-silhouette { min-height: 140px; display: grid; place-items: center; font: 500 86px/1 "IBM Plex Mono", monospace; color: var(--accent); }

/* Mobile family */
.theme-countsure-mobile { --bg: #eff2ef; --surface: #ffffff; --surface-2: #e4e9e5; --ink: #16201a; --muted: #68716b; --accent: #23a858; --accent-ink: #06150b; }
.theme-euler-mobile { --bg: #f4eedf; --surface: #fffaf0; --surface-2: #0f2844; --ink: #10253f; --muted: #667386; --accent: #02b7d4; --accent-ink: #052337; }
.theme-angel-mobile { --bg: #eaf0f1; --surface: #ffffff; --surface-2: #dce8e7; --ink: #112d3a; --muted: #637780; --accent: #16827c; --accent-ink: #ffffff; }
.theme-fieldcase-mobile { --bg: #f1ede3; --surface: #fffdf7; --surface-2: #e8e0d3; --ink: #2b2622; --muted: #716a63; --accent: #285fc8; --accent-ink: #ffffff; --danger: #df4635; }
.theme-glide-mobile { --bg: #141716; --surface: #f5f0e4; --surface-2: #242826; --ink: #111713; --muted: #6b716b; --accent: #79f0b2; --accent-ink: #0b1a12; --danger: #ff6b54; }
.mobile-board { min-height: 100dvh; padding: 28px 30px 22px; background: var(--bg); color: var(--ink); display: flex; flex-direction: column; }
.theme-glide-mobile .mobile-board-header, .theme-glide-mobile .mobile-board-footer { color: #e7efe9; }
.theme-glide-mobile .mobile-board-header .suite-kicker, .theme-glide-mobile .mobile-board-header > div:last-child, .theme-glide-mobile .mobile-board-footer .suite-disclosure, .theme-glide-mobile .mobile-board-footer > span { color: #8d9a91; }
.theme-glide-mobile .mobile-board-header .suite-icon-button { border-color: rgba(255, 255, 255, 0.2); color: #e7efe9; }
.mobile-board-header { width: min(1680px, 100%); margin: 0 auto 26px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.mobile-board-header h1 { margin: 0; font-size: clamp(34px, 4vw, 64px); line-height: 0.95; letter-spacing: -0.05em; }
.mobile-board-header > div:last-child { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 11px; }
.phone-journey { width: min(1680px, 100%); min-height: 620px; margin: auto; display: grid; grid-template-columns: repeat(5, minmax(220px, 1fr)); gap: clamp(18px, 2vw, 34px); align-items: center; }
.phone-frame { min-width: 0; height: min(660px, calc(100dvh - 218px)); min-height: 560px; padding: 15px 12px 18px; border: 7px solid #1b1e1d; border-radius: 36px; background: var(--surface); color: var(--ink); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22); display: flex; flex-direction: column; position: relative; overflow: hidden; transition: transform 180ms ease, box-shadow 180ms ease; }
.phone-frame.is-active { transform: translateY(-10px); box-shadow: 0 30px 74px color-mix(in srgb, var(--accent) 20%, rgba(0, 0, 0, 0.28)); }
.phone-speaker { width: 34%; height: 18px; position: absolute; z-index: 2; top: 5px; left: 33%; border-radius: 0 0 12px 12px; background: #1b1e1d; }
.phone-status { min-height: 22px; padding: 0 8px; display: flex; align-items: center; justify-content: space-between; font: 600 8px/1 "IBM Plex Mono", monospace; }
.phone-appbar { min-height: 46px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
.phone-logo { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-size: 10px; font-weight: 800; }
.phone-appbar b { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.phone-menu { width: 32px; height: 32px; padding: 0; border: 0; background: transparent; display: grid; place-items: center; }
.phone-content { min-height: 0; flex: 1; padding: 20px 5px 12px; overflow: auto; display: flex; flex-direction: column; }
.phone-content .suite-kicker { margin-bottom: 7px; font-size: 8px; }
.phone-content h2 { margin: 0 0 14px; font-size: clamp(19px, 2vw, 27px); line-height: 1; letter-spacing: -0.04em; }
.phone-label { margin-top: 14px; font-size: 13px; }
.phone-content > p:not(.suite-kicker) { margin: 6px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.phone-command-input { margin-top: 12px; display: grid; gap: 5px; }
.phone-command-input > span { color: var(--muted); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.phone-command-input input, .phone-command-input select, .phone-command-input textarea { width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: 7px; padding: 9px; background: var(--surface); color: var(--ink); font-size: 10px; }
.phone-command-input textarea { min-height: 62px; resize: vertical; }
.phone-action { width: 100%; min-height: 48px; padding: 0 13px; border: 0; border-radius: 9px; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 800; cursor: pointer; }
.phone-homebar { width: 38%; height: 4px; margin: 10px auto 0; border-radius: 4px; background: color-mix(in srgb, var(--ink) 50%, transparent); }
.journey-progress { width: min(1120px, 100%); margin: 24px auto 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.journey-progress button { min-height: 50px; padding: 6px 14px; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--muted); display: grid; gap: 5px; text-align: left; font-size: 9px; cursor: pointer; }
.journey-progress button.is-complete { border-color: var(--accent); color: var(--ink); }
.journey-progress span { font: 600 8px/1 "IBM Plex Mono", monospace; color: var(--accent); }
.mobile-board-footer { width: min(1680px, 100%); margin: 14px auto 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.mobile-board-footer > span { color: var(--muted); font: 500 9px/1 "IBM Plex Mono", monospace; }
.mobile-scan, .mobile-map { min-height: 220px; position: relative; overflow: hidden; background: color-mix(in srgb, var(--surface-2) 65%, var(--surface)); }
.scan-frame { position: absolute; inset: 34px 24px; border: 2px solid var(--accent); border-radius: 12px; }
.scan-frame::before { content: ""; position: absolute; inset: 42% -10px auto; height: 2px; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.scan-button { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); position: absolute; left: calc(50% - 28px); bottom: 12px; display: grid; place-items: center; }
.mobile-count { min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.mobile-count > strong { font-size: 38px; letter-spacing: -0.06em; }
.mobile-count small { font-size: 13px; }
.mobile-count .count-tray { padding: 10px; border-width: 4px; grid-template-columns: repeat(6, 1fr); gap: 3px; }
.mobile-count .count-slot { font-size: 9px; }
.mobile-instrument { min-height: 220px; display: grid; grid-template-columns: 1fr 1fr; place-items: center; color: var(--accent); font: 500 80px/1 "IBM Plex Mono", monospace; }
.mobile-instrument span { color: var(--ink); font: 600 11px/1.45 "DM Sans", sans-serif; }
.mobile-success { min-height: 220px; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--success); text-align: center; }
.mobile-success .suite-icon { width: 70px; height: 70px; padding: 18px; border: 2px solid currentColor; border-radius: 50%; }
.mobile-room-list, .mobile-market-list, .mobile-census, .mobile-alert-list, .mobile-route-list { display: grid; gap: 7px; }
.mobile-room-list span, .mobile-market-list span, .mobile-census span, .mobile-alert-list span, .mobile-route-list span { min-height: 48px; padding: 10px; border: 1px solid var(--line); border-radius: 7px; display: flex; flex-direction: column; justify-content: center; gap: 4px; font-size: 10px; }
.mobile-room-list span:first-child, .mobile-market-list span:first-child, .mobile-census span:first-child, .mobile-alert-list span:first-child, .mobile-route-list span.is-active { border-color: var(--accent); background: var(--accent-soft); }
.mobile-market-list b, .mobile-alert-list b { color: var(--muted); font-size: 8px; }
.mobile-risk-ring { min-height: 220px; border: 24px solid var(--surface-2); border-radius: 50%; display: grid; place-content: center; text-align: center; }
.mobile-risk-ring span, .mobile-risk-ring strong { display: block; }
.mobile-risk-ring span { color: var(--muted); font-size: 10px; }
.mobile-collateral, .mobile-health, .mobile-wallet { min-height: 220px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.mobile-collateral strong, .mobile-health strong, .mobile-wallet strong { font-size: 34px; letter-spacing: -0.05em; }
.mobile-collateral span, .mobile-health span, .mobile-wallet span, .mobile-wallet small { color: var(--muted); font-size: 10px; }
.mobile-collateral i, .mobile-health i { height: 6px; background: var(--accent); }
.mobile-trajectory { min-height: 220px; display: flex; flex-direction: column; justify-content: center; }
.mobile-trajectory .suite-spark.large { height: 130px; }
.mobile-trajectory span { color: var(--muted); font-size: 9px; }
.mobile-dose { min-height: 220px; display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; align-content: center; }
.mobile-dose strong { color: var(--accent); }
.mobile-dose span { color: var(--muted); font-size: 9px; }
.mobile-dose i { grid-column: 1 / -1; height: 1px; background: var(--line); }
.mobile-critical { min-height: 220px; padding: 24px; background: color-mix(in srgb, var(--danger) 8%, var(--surface)); color: var(--danger); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; text-align: center; }
.mobile-critical .suite-icon { width: 44px; height: 44px; }
.mobile-critical span { color: var(--muted); font-size: 9px; }
.mobile-checklist { display: grid; gap: 7px; }
.mobile-checklist span { min-height: 42px; padding: 9px; border: 1px solid color-mix(in srgb, var(--success) 30%, var(--line)); color: var(--success); display: flex; align-items: center; gap: 8px; font-size: 9px; }
.mobile-path { min-height: 220px; position: relative; display: flex; align-items: center; justify-content: space-around; }
.mobile-path::before { content: ""; position: absolute; height: 2px; inset-inline: 14%; background: var(--accent); }
.mobile-path i { z-index: 1; width: 28px; height: 28px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); }
.mobile-capture { min-height: 220px; display: grid; gap: 8px; }
.mobile-capture div { border: 1px solid var(--line); background: repeating-linear-gradient(45deg, var(--surface-2), var(--surface-2) 8px, var(--surface) 8px, var(--surface) 16px); position: relative; }
.mobile-capture div::after { content: ""; position: absolute; width: 70px; height: 90px; border: 2px solid var(--danger); border-radius: 50%; left: 42%; top: 24%; transform: rotate(18deg); }
.mobile-capture span { color: var(--muted); font-size: 9px; }
.mobile-map { background: #17201d; }
.mobile-map::before, .mobile-map::after { content: ""; position: absolute; inset: -20% -40%; border: 1px solid rgba(255, 255, 255, 0.1); transform: rotate(18deg); }
.mobile-map::after { inset: 10% -50%; transform: rotate(-32deg); }
.route-line { position: absolute; width: 70%; height: 68%; left: 10%; top: 12%; border: 3px solid var(--accent); border-color: var(--accent) var(--accent) transparent transparent; border-radius: 50%; transform: rotate(20deg); }
.route-line--short { width: 46%; height: 50%; left: 30%; }
.map-pin { position: absolute; left: 45%; top: 40%; color: var(--accent); }
.driver-dot { position: absolute; left: 22%; bottom: 22%; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 9px; font-weight: 800; }
.share-badge { position: absolute; left: 12px; right: 12px; bottom: 14px; padding: 10px; border-radius: 7px; background: var(--surface); color: var(--ink); font-size: 9px; font-weight: 700; }
.pickup-code { min-height: 220px; display: grid; place-content: center; text-align: center; }
.pickup-code span { color: var(--muted); font-size: 10px; }
.pickup-code strong { font: 700 54px/1 "IBM Plex Mono", monospace; letter-spacing: 0.12em; }

/* AI family */
.theme-ailistz { --bg: #f3f0f4; --surface: #ffffff; --surface-2: #ece8f0; --ink: #221d28; --muted: #716a77; --accent: #7857d8; --accent-ink: #ffffff; }
.theme-relay-copilot { --bg: #eef0f3; --surface: #ffffff; --surface-2: #e7e9ef; --ink: #111216; --muted: #64666d; --accent: #174cff; --accent-ink: #ffffff; --success: #5c8f12; }
.theme-angel-evidence { --bg: #eaf0f1; --surface: #ffffff; --surface-2: #dfe9e9; --ink: #102d39; --muted: #63767e; --accent: #087570; --accent-ink: #ffffff; }
.theme-case-narrative { --bg: #eeeae1; --surface: #fffdf7; --surface-2: #e8e0d4; --ink: #2a2521; --muted: #716960; --accent: #2c5fc3; --accent-ink: #ffffff; --danger: #d74635; }
.theme-count-vision { --bg: #0d1821; --surface: #13232e; --surface-2: #1a2e3a; --ink: #eff8f5; --muted: #91a5ad; --line: rgba(255, 255, 255, 0.14); --accent: #31d88e; --accent-ink: #06150f; --danger: #ff5b4e; }
.ai-layout { min-height: 0; flex: 1; display: grid; grid-template-columns: 210px minmax(0, 1fr) 310px; overflow: hidden; }
.ai-rail { min-height: 0; border-right: 1px solid var(--line); background: var(--surface); display: grid; grid-template-columns: 54px 1fr; overflow: auto; }
.ai-tools { border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.ai-tools button { width: 54px; height: 54px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--muted); font: 500 9px/1 "IBM Plex Mono", monospace; cursor: pointer; }
.ai-tools button.is-active { color: var(--accent); box-shadow: inset 3px 0 var(--accent); }
.ai-plan { padding: 18px 12px; display: flex; flex-direction: column; gap: 12px; }
.ai-plan > span { color: var(--muted); display: grid; grid-template-columns: 24px 1fr; gap: 8px; align-items: center; font-size: 10px; line-height: 1.3; text-transform: capitalize; }
.ai-plan i { width: 24px; height: 24px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; font: 500 8px/1 "IBM Plex Mono", monospace; font-style: normal; }
.ai-plan span.is-done { color: var(--ink); }
.ai-plan span.is-done i { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.ai-canvas { min-width: 0; min-height: 0; padding: 22px; overflow: auto; background: var(--bg); }
.ai-inspector { min-width: 0; min-height: 0; padding: 20px 18px; border-left: 1px solid var(--line); background: var(--surface); overflow: auto; display: flex; flex-direction: column; gap: 12px; }
.ai-approval-bar { min-height: 48px; padding: 0 20px 0 230px; border-top: 1px solid var(--line); background: var(--surface); display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--muted); font-size: 10px; }
.ai-approval-bar b { color: var(--ink); text-transform: capitalize; }
.writing-canvas { background: var(--surface); }
.ai-canvas-toolbar { min-height: 44px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 6px; }
.ai-canvas-toolbar button { width: 32px; height: 28px; border: 1px solid var(--line); background: transparent; font-size: 9px; }
.ai-canvas-toolbar span { margin-left: auto; color: var(--muted); font-size: 9px; }
.writing-title, .writing-brief, .handoff-draft { display: grid; gap: 7px; }
.writing-title { margin-top: 22px; }
.writing-title input { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); padding-inline: 0; font-size: 32px; font-weight: 700; letter-spacing: -0.04em; }
.writing-brief { margin-top: 24px; }
.writing-brief textarea { min-height: 150px; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); padding-inline: 0; line-height: 1.65; }
.generated-draft { margin-top: 20px; min-height: 180px; padding: 24px 0; border-top: 1px solid var(--line); }
.generated-draft p { max-width: 720px; margin: 0; font: 500 18px/1.7 "Source Serif 4", serif; }
.ai-inspector-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.ai-inspector-tabs button { min-height: 38px; border: 0; background: transparent; color: var(--muted); font-size: 10px; }
.ai-inspector-tabs button.is-active { color: var(--accent); box-shadow: inset 0 -2px var(--accent); }
.persona-switch { display: grid; grid-template-columns: 1fr; gap: 6px; }
.persona-switch button { min-height: 38px; border: 1px solid var(--line); background: transparent; text-align: left; padding: 0 10px; font-size: 10px; cursor: pointer; }
.persona-switch button.is-active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.diff-stage { min-height: 300px; margin-top: 18px; padding: 30px; border: 1px solid var(--line); background: var(--surface); display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; }
.diff-stage article { min-height: 190px; padding: 18px; border: 1px dashed var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; }
.diff-stage article > span, .diff-stage article small { color: var(--muted); font-size: 9px; }
.diff-stage article button { min-width: 170px; min-height: 52px; border: 0; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.diff-stage article:last-child button { min-height: 44px; border-radius: 8px; }
.diff-arrow { color: var(--accent); font-size: 30px; }
.api-preview { margin-top: 16px; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 14px; }
.api-preview pre { min-width: 0; min-height: 170px; margin: 0; padding: 18px; background: #111824; color: #dfe8ff; overflow: auto; }
.api-preview code { font: 400 11px/1.6 "IBM Plex Mono", monospace; }
.api-preview > div { padding: 18px; border-top: 1px solid var(--line); background: var(--surface); display: grid; gap: 8px; align-content: start; }
.api-preview span { color: var(--muted); font-size: 10px; }
.evidence-list, .confidence-list { display: grid; gap: 7px; }
.evidence-list > span { min-height: 48px; padding: 10px; border: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 4px 8px; align-items: center; font-size: 9px; color: var(--muted); }
.evidence-list > span .suite-icon { grid-row: 1 / 3; color: var(--success); }
.evidence-list > span.is-warning { border-color: var(--warning); color: var(--warning); background: color-mix(in srgb, var(--warning) 7%, var(--surface)); }
.evidence-list > span.is-warning .suite-icon { color: var(--warning); }
.angel-evidence-canvas .cited-summary { min-height: 290px; padding: 26px; border: 1px solid var(--line); background: var(--surface); }
.cited-summary p { max-width: 850px; margin: 0; font: 500 clamp(18px, 2vw, 28px)/1.5 "Source Serif 4", serif; }
.cited-summary button { border: 0; padding: 0; background: transparent; color: var(--accent); font: inherit; cursor: pointer; }
.handoff-draft { margin-top: 16px; padding: 20px; background: var(--surface); border-top: 1px solid var(--line); }
.narrative-sections { min-height: 360px; padding: 28px; border: 1px solid var(--line); background: var(--surface); display: grid; gap: 24px; }
.narrative-sections article { padding-left: 18px; border-left: 3px solid var(--success); }
.narrative-sections article:last-child { border-left-color: var(--danger); }
.narrative-sections article > span { color: var(--muted); font: 600 9px/1 "IBM Plex Mono", monospace; text-transform: uppercase; }
.narrative-sections p { font: 500 18px/1.65 "Source Serif 4", serif; }
.narrative-sections button { border: 0; padding: 2px; background: var(--accent-soft); color: var(--accent); font: inherit; }
.narrative-sections mark { padding: 2px 5px; background: color-mix(in srgb, var(--danger) 12%, var(--surface)); color: var(--danger); }
.transaction-mini-path { min-height: 110px; display: flex; align-items: center; justify-content: space-around; position: relative; }
.transaction-mini-path::before { content: ""; position: absolute; height: 2px; inset-inline: 12%; background: var(--accent); }
.transaction-mini-path i { z-index: 1; width: 28px; height: 28px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); }
.vision-tray { padding: 22px; border: 1px solid var(--line); background: var(--surface); display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 18px; align-items: center; }
.vision-tray .count-tray { max-width: none; background: #9cabaf; }
.vision-focus { min-height: 160px; padding: 18px; border-left: 2px solid var(--danger); background: color-mix(in srgb, var(--danger) 7%, var(--surface)); display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.vision-focus span { color: var(--muted); font-size: 10px; }
.vision-history { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vision-history span { padding: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.confidence-list button { min-height: 44px; padding: 0 10px; border: 1px solid var(--line); background: transparent; display: flex; justify-content: space-between; align-items: center; font-size: 10px; }
.confidence-list button.is-low { border-color: var(--danger); color: var(--danger); background: color-mix(in srgb, var(--danger) 7%, var(--surface)); }

/* Systems / embedded family */
.theme-intellivue { --bg: #161b1c; --surface: #071012; --surface-2: #172022; --ink: #eaf4ef; --muted: #8fa3a0; --line: rgba(255, 255, 255, 0.14); --accent: #00d5d5; --accent-ink: #001415; --danger: #f02c33; }
.theme-symphonia { --bg: #20282e; --surface: #e9edf2; --surface-2: #1c2f45; --ink: #102033; --muted: #687788; --accent: #1264c9; --accent-ink: #ffffff; --danger: #e43f38; }
.theme-or-wall { --bg: #1c2429; --surface: #07182f; --surface-2: #0d2341; --ink: #f4f8fb; --muted: #9aacbd; --line: rgba(255, 255, 255, 0.16); --accent: #28d182; --accent-ink: #041710; --danger: #fb3f45; }
.theme-radian-touring { --bg: #171818; --surface: #eee9df; --surface-2: #d5d1c8; --ink: #232526; --muted: #666b6c; --accent: #1e61e6; --accent-ink: #ffffff; --warning: #d98520; }
.theme-kern-controller { --bg: #18221b; --surface: #10281b; --surface-2: #193723; --ink: #edf4df; --muted: #9aae96; --line: rgba(255, 255, 255, 0.14); --accent: #a6ef39; --accent-ink: #10200b; --warning: #e19b2e; }
.systems-stage { min-height: 100dvh; padding: 20px 26px 16px; background: var(--bg); color: var(--ink); display: flex; flex-direction: column; }
.systems-meta { width: min(1700px, 100%); min-height: 64px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.systems-meta, .systems-footer { color: #e1e8e5; }
.systems-meta .suite-kicker, .systems-footer .suite-disclosure, .systems-footer > span { color: #7f8b87; }
.systems-meta .suite-icon-button { border-color: rgba(255, 255, 255, 0.18); color: #dce5e1; }
.systems-meta h1 { margin: 0; font-size: 22px; letter-spacing: -0.04em; }
.systems-meta .suite-kicker { margin-bottom: 5px; }
.device-theatre { min-height: 0; flex: 1; display: grid; place-items: center; perspective: 1200px; }
.device-bezel { width: min(1240px, 94vw); aspect-ratio: 16 / 10; max-height: calc(100dvh - 150px); padding: 28px; border: 2px solid #59605f; border-radius: 28px; background: #262d2c; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.42), inset 0 0 0 8px #111514; position: relative; }
.device-bezel--e04 { width: min(1680px, 96vw); aspect-ratio: 2.5 / 1; max-height: min(680px, calc(100dvh - 150px)); padding: 30px 42px 44px; border-radius: 100px 100px 24px 24px; background: #242525; }
.bezel-label { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); color: #9ba2a0; font: 600 8px/1 "IBM Plex Mono", monospace; text-transform: uppercase; letter-spacing: 0.1em; }
.bezel-sensor { position: absolute; top: 10px; right: 18px; width: 8px; height: 8px; border-radius: 50%; background: #090b0a; }
.bezel-led { position: absolute; bottom: 10px; right: 18px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.system-screen { width: 100%; height: 100%; border-radius: 9px; overflow: hidden; background: var(--surface); color: var(--ink); }
.systems-footer { width: min(1700px, 100%); min-height: 38px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.systems-footer > span { color: var(--muted); font: 500 8px/1 "IBM Plex Mono", monospace; }
.system-action { min-height: 48px; padding: 0 18px; border: 0; border-radius: 7px; background: var(--accent); color: var(--accent-ink); font-weight: 800; cursor: pointer; }
.system-action--secondary { border: 1px solid var(--line); background: transparent; color: var(--ink); }
.system-action--alarm { background: var(--danger); color: white; }
.system-action--warning { background: var(--warning); color: #1c1304; }
.intellivue-screen { background: #03090a; color: #d9eee9; display: flex; flex-direction: column; }
.monitor-alarm { min-height: 58px; padding: 0 18px; background: #3b1417; color: #ffb3b4; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.monitor-alarm.is-active { background: var(--danger); color: white; }
.monitor-alarm b { font-size: 20px; letter-spacing: 0.02em; }
.monitor-alarm span { font-size: 10px; }
.monitor-grid { min-height: 0; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 260px; }
.monitor-wave { min-height: 0; padding: 12px 20px; display: grid; grid-template-rows: 1.3fr 1fr 1fr; gap: 8px; }
.monitor-parameter { min-height: 0; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); display: grid; grid-template-columns: auto auto 1fr; grid-template-rows: auto 1fr; align-items: end; gap: 4px 12px; }
.monitor-parameter > span { grid-column: 1 / -1; color: #00d5d5; font: 600 10px/1 "IBM Plex Mono", monospace; }
.monitor-parameter > strong { color: #00e8e8; font: 500 clamp(42px, 7vh, 84px)/0.9 "IBM Plex Mono", monospace; }
.monitor-parameter > small { color: #66a6a6; font-size: 10px; }
.monitor-parameter .suite-spark { height: 100%; min-height: 40px; }
.monitor-cyan polyline { stroke: #00e8e8; }
.monitor-green polyline { stroke: #42e04d; }
.monitor-yellow polyline { stroke: #e9df36; }
.monitor-settings { padding: 18px; border-left: 1px solid rgba(255, 255, 255, 0.14); display: flex; flex-direction: column; gap: 12px; }
.monitor-settings p { color: #8fa3a0; font: 600 10px/1 "IBM Plex Mono", monospace; }
.monitor-settings strong { color: #ff4c50; font-size: 26px; }
.monitor-settings span { padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); font-size: 11px; }
.monitor-settings button { min-height: 44px; }
.monitor-settings .system-action { margin-top: auto; }
.symphonia-screen { display: flex; flex-direction: column; }
.symphonia-screen > header { min-height: 54px; padding: 0 16px; background: #163149; color: white; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; font-size: 10px; }
.symphonia-screen > header span:last-child { text-align: right; }
.symphonia-layout { min-height: 0; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 330px; }
.symphonia-layout > section { padding: 18px; overflow: auto; }
.symphonia-layout > section > p { color: var(--muted); font-size: 10px; font-weight: 700; }
.embedded-deck { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.embedded-deck button { min-height: 86px; padding: 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; text-align: left; }
.embedded-deck button span { color: var(--muted); font-size: 9px; }
.embedded-deck button.is-missing { border-color: var(--danger); background: color-mix(in srgb, var(--danger) 8%, white); color: var(--danger); }
.embedded-deck button.is-placed { border-color: var(--success); color: var(--success); }
.symphonia-layout > aside { padding: 20px; border-left: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: 12px; overflow: auto; }
.embedded-block { padding: 16px; background: color-mix(in srgb, var(--danger) 8%, white); color: var(--danger); }
.embedded-block h2 { margin: 10px 0 6px; font-size: 22px; }
.embedded-block p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.symphonia-layout ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.symphonia-layout li { min-height: 36px; padding: 10px; border: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.symphonia-layout li.is-current { border-color: var(--accent); color: var(--accent); }
.symphonia-layout li.is-done { border-color: var(--success); color: var(--success); }
.or-wall-screen { background: #07182f; color: white; }
.or-wall-screen > header { min-height: 62px; padding: 0 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.or-wall-screen > header span:last-child { text-align: right; }
.or-wall-brand { font-weight: 800; }
.or-count-main { height: calc(100% - 62px); padding: 24px; display: grid; grid-template-columns: 0.9fr 1.4fr 0.7fr; gap: 22px; align-items: stretch; }
.or-count-number { display: flex; flex-direction: column; justify-content: center; align-items: center; border-right: 1px solid rgba(255, 255, 255, 0.14); }
.or-count-number > strong { font: 600 clamp(54px, 9vw, 112px)/0.9 "IBM Plex Mono", monospace; letter-spacing: -0.08em; }
.or-count-number small { font-size: 0.34em; letter-spacing: -0.04em; }
.or-count-number > span { margin-top: 18px; color: var(--danger); display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 800; }
.or-count-number > span.is-complete { color: var(--accent); }
.or-zones { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.or-zones > div { min-height: 110px; padding: 14px; border: 1px solid rgba(255, 255, 255, 0.16); display: flex; flex-direction: column; justify-content: space-between; }
.or-zones span { color: var(--muted); font-size: 10px; }
.or-zones b { font-size: 16px; }
.or-zones .is-ready { border-color: color-mix(in srgb, var(--accent) 38%, transparent); color: var(--accent); }
.or-zones .has-alert { border-color: var(--danger); color: var(--danger); }
.or-count-main > aside { padding-left: 8px; display: flex; flex-direction: column; gap: 12px; }
.or-count-main > aside p { font-size: 18px; }
.or-count-main > aside > span { color: var(--warning); font-size: 11px; }
.or-count-main > aside .system-action--alarm { margin-top: auto; }
.radian-screen { display: grid; grid-template-columns: 0.7fr 1.8fr 0.65fr; background: #eae5db; color: #242627; }
.driver-cluster { padding: 30px; background: #efebe3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.driver-cluster > span:first-child { position: absolute; top: 46px; left: 70px; font-weight: 800; }
.driver-cluster > strong { font: 600 clamp(52px, 6vw, 92px)/0.9 "IBM Plex Mono", monospace; letter-spacing: -0.08em; }
.driver-cluster small { display: block; margin-top: 6px; font-size: 11px; letter-spacing: 0; text-align: center; }
.driver-cluster > b { color: var(--accent); }
.driver-cluster i { width: 70%; height: 34px; border: solid #5d6262; border-width: 0 2px; transform: perspective(80px) rotateX(50deg); }
.driver-cluster span:last-child { color: var(--muted); }
.radian-map { position: relative; overflow: hidden; background: #dedbd3; }
.map-road { position: absolute; height: 3px; background: white; box-shadow: 0 0 0 1px #c6c3bc; transform-origin: left; }
.map-road--one { width: 110%; left: -10%; top: 58%; transform: rotate(-15deg); }
.map-road--two { width: 120%; left: 8%; top: 16%; transform: rotate(42deg); }
.map-route { position: absolute; width: 74%; height: 62%; left: 10%; top: 22%; border: 6px solid var(--accent); border-left-color: transparent; border-bottom-color: transparent; border-radius: 50%; transform: rotate(-8deg); }
.car-marker { position: absolute; left: 43%; top: 58%; color: var(--accent); font-size: 28px; }
.maneuver { position: absolute; left: 6%; top: 7%; padding: 13px 16px; border-radius: 8px; background: rgba(255, 255, 255, 0.92); display: grid; gap: 4px; }
.maneuver span { color: var(--muted); font-size: 10px; }
.radian-map > button { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); min-height: 42px; padding: 0 16px; border: 0; border-radius: 20px; background: #2b2f31; color: white; font-weight: 700; }
.passenger-zone { padding: 26px 22px; border-left: 1px solid #c7c3ba; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.media-art { min-height: 120px; background: #3c3a37; color: white; display: flex; flex-direction: column; justify-content: flex-end; padding: 12px; position: relative; overflow: hidden; }
.media-art i { position: absolute; width: 90px; height: 90px; border-radius: 50%; top: 10px; right: -10px; border: 12px solid var(--warning); }
.media-art span { z-index: 1; font-size: 11px; }
.climate-control { display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; text-align: center; }
.climate-control button { height: 42px; border: 1px solid #c3c0b8; border-radius: 50%; background: transparent; font-size: 20px; }
.climate-control strong { font-size: 28px; }
.kern-screen { background: #10281b; color: #edf4df; }
.kern-screen > header { min-height: 56px; padding: 0 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.kern-screen > header span:first-child { color: var(--accent); font-weight: 800; }
.kern-screen > header span:last-child { text-align: right; color: var(--muted); font-size: 10px; }
.kern-layout { height: calc(100% - 56px); padding: 18px; display: grid; grid-template-columns: 1fr 1.2fr 0.75fr; gap: 16px; }
.crop-scene { padding: 14px; border: 1px solid rgba(255, 255, 255, 0.14); display: flex; flex-direction: column; justify-content: space-between; }
.crop-image { min-height: 50%; background: linear-gradient(180deg, #193d27, #0e2016); display: flex; align-items: flex-end; justify-content: space-around; overflow: hidden; }
.crop-image i { width: 28px; height: 70%; border-radius: 70% 20% 60% 30%; background: #538a3f; transform: rotate(-10deg); transform-origin: bottom; }
.crop-image i:nth-child(2n) { height: 84%; background: #6da64a; transform: rotate(12deg); }
.crop-scene > strong { font-size: clamp(24px, 4vw, 44px); letter-spacing: -0.04em; }
.kern-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.kern-metrics span { min-height: 44px; border-top: 1px solid rgba(255, 255, 255, 0.14); display: flex; align-items: center; font-size: 10px; }
.recipe-timeline { padding: 14px; border-top: 1px solid rgba(255, 255, 255, 0.14); display: flex; flex-direction: column; }
.recipe-timeline > p, .module-rail > p { color: var(--muted); font-size: 10px; font-weight: 700; }
.timeline-track { min-height: 0; flex: 1; margin: 8px 0 14px; position: relative; border-left: 2px solid rgba(255, 255, 255, 0.2); }
.timeline-track > i { position: absolute; left: -5px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.timeline-track > span { position: absolute; top: calc(var(--i) * 24% + 4%); left: 16px; right: 0; min-height: 42px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); display: flex; justify-content: space-between; gap: 10px; }
.timeline-track em { color: var(--accent); font-style: normal; font-size: 10px; }
.module-rail { padding: 14px; border-left: 1px solid rgba(255, 255, 255, 0.14); display: flex; flex-direction: column; gap: 8px; }
.module-rail > span { min-height: 42px; padding: 8px; border: 1px solid rgba(255, 255, 255, 0.1); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 7px; font-size: 9px; }
.module-rail i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.module-rail b { color: var(--accent); }
.module-rail span.has-alert { border-color: var(--warning); color: var(--warning); }
.module-rail span.has-alert i { background: var(--warning); }
.module-rail .system-action { margin-top: auto; }

/* Responsive contracts */
@media (max-width: 1180px) {
  :root { --container: min(100% - 40px, 1120px); }
  .web-nav { grid-template-columns: auto minmax(0, 1fr) auto; }
  .web-nav nav { display: flex; min-width: 0; justify-content: flex-start; gap: 18px; overflow-x: auto; scrollbar-width: thin; }
  .web-nav nav a { flex: 0 0 auto; white-space: nowrap; }
  .web-hero { grid-template-columns: 1fr 1fr; gap: 36px; }
  .web-hero-copy h1 { font-size: clamp(58px, 7vw, 84px); }
  .aegis-demo-grid, .relay-demo-grid { grid-template-columns: 180px minmax(0, 1fr); }
  .aegis-demo-grid > aside, .relay-demo-grid > aside { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; }
  .relay-demo-grid > .relay-anatomy { margin-inline: 24px; }
  .saas-layout { grid-template-columns: 190px minmax(0, 1fr); }
  .app-inspector { grid-column: 1 / -1; min-height: 220px; border-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
  .app-inspector .history-block { margin-top: 0; }
  .phone-journey { overflow-x: auto; grid-template-columns: repeat(5, minmax(240px, 1fr)); padding: 20px; scroll-snap-type: x mandatory; }
  .phone-frame { scroll-snap-align: center; }
  .ai-layout { grid-template-columns: 180px minmax(0, 1fr); overflow: auto; }
  .ai-inspector { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
  .ai-approval-bar { padding-left: 20px; }
  .product-context-grid { grid-template-columns: 1fr 1fr; }
  .product-workbench-grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr); }
}

@media (max-width: 820px) {
  :root { --container: min(100% - 28px, 780px); }
  .web-nav { min-height: 96px; padding: 12px 0 10px; grid-template-columns: minmax(0, 1fr) auto; align-content: center; row-gap: 10px; }
  .web-nav nav { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .web-hero { min-height: auto; padding: 74px 0; grid-template-columns: 1fr; }
  .web-hero-copy { max-width: 680px; }
  .web-hero-copy h1 { font-size: clamp(54px, 12vw, 82px); }
  .web-hero-art { min-height: 440px; }
  .web-product-proof { padding: 100px 0; }
  .web-story-row, .web-story-row.is-reverse { min-height: 0; grid-template-columns: 1fr; gap: 36px; }
  .web-story-row.is-reverse > div:first-child { order: 0; }
  .web-story-visual { min-height: 340px; }
  .web-final { min-height: 520px; padding: 60px 34px; }
  .web-footer { grid-template-columns: 1fr; }
  .web-footer > div { justify-content: flex-start; flex-wrap: wrap; }
  .aegis-demo-grid, .relay-demo-grid { display: block; }
  .aegis-alert-list, .relay-inventory { border: 0; display: flex; overflow-x: auto; }
  .aegis-alert-list button, .relay-inventory button { min-width: 190px; border-right: 1px solid var(--line); }
  .aegis-demo-grid > .aegis-constellation { padding: 44px 24px; }
  .aegis-demo-grid > aside, .relay-demo-grid > aside { display: flex; }
  .relay-demo-grid > .relay-anatomy { margin: 30px auto; width: calc(100% - 48px); }
  .angel-monitor { min-height: 380px; grid-template-columns: 1fr 1fr; border-radius: 40px 40px 12px 12px; }
  .angel-monitor > div:nth-child(3) { grid-column: 1 / -1; }
  .angel-demo-footer { grid-template-columns: 1fr; }
  .count-demo-grid { grid-template-columns: 1fr; }
  .count-tray { grid-template-columns: repeat(6, 1fr); padding: 18px; }
  .app-header { grid-template-columns: 1fr auto; }
  .app-context { display: none; }
  .saas-layout { overflow: visible; grid-template-columns: 1fr; }
  .entity-rail { max-height: 210px; border-right: 0; border-bottom: 1px solid var(--line); }
  .entity-list { display: flex; overflow-x: auto; }
  .entity-list button { min-width: 190px; }
  .entity-record-context { min-width: 190px; }
  .saas-center { overflow: visible; }
  .app-inspector { display: flex; }
  .component-row { grid-template-columns: 1.2fr 0.8fr 0.7fr; }
  .component-row > :nth-child(4), .component-row > :nth-child(5), .component-row > :nth-child(6) { display: none; }
  .count-ops-layout { grid-template-columns: 1fr; }
  .mobile-board { padding-inline: 16px; }
  .mobile-board-header { align-items: flex-start; }
  .mobile-board-header > div:last-child > span { display: none; }
  .phone-journey { margin: 0; min-height: 620px; }
  .journey-progress { overflow-x: auto; grid-template-columns: repeat(5, minmax(150px, 1fr)); }
  .ai-layout { grid-template-columns: 1fr; overflow: visible; }
  .ai-rail { max-height: 190px; border-right: 0; border-bottom: 1px solid var(--line); }
  .ai-plan { display: grid; grid-template-columns: repeat(4, minmax(110px, 1fr)); overflow-x: auto; }
  .ai-canvas { overflow: visible; }
  .ai-inspector { display: flex; }
  .diff-stage, .api-preview { grid-template-columns: 1fr; }
  .diff-arrow { transform: rotate(90deg); justify-self: center; }
  .vision-tray { grid-template-columns: 1fr; }
  .device-bezel { width: 100%; max-height: none; }
  .monitor-grid { grid-template-columns: 1fr 210px; }
  .symphonia-layout { grid-template-columns: 1fr 260px; }
  .or-count-main { grid-template-columns: 1fr 1fr; }
  .or-count-main > aside { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .or-count-main > aside .system-action--alarm { margin: 0 0 0 auto; }
  .kern-layout { grid-template-columns: 1fr 1fr; }
  .module-rail { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); }
  .module-rail > p { grid-column: 1 / -1; }
  .module-rail .system-action { grid-column: 1 / -1; }
  .product-view-tabs { overflow-x: auto; grid-template-columns: repeat(4, minmax(160px, 1fr)); }
  .product-view-tabs button { min-width: 160px; }
  .product-workbench { width: calc(100% - 28px); }
  .product-workbench-header { grid-template-columns: 1fr; }
  .product-progress { max-width: 360px; }
  .product-workbench-grid { grid-template-columns: 1fr; }
  .product-command-list { border-right: 0; border-bottom: 1px solid var(--line); }
  .product-command-entry { grid-template-columns: 1fr; align-items: stretch; }
}

@media (max-width: 560px) {
  .suite-button { width: 100%; }
  .suite-actions { align-items: stretch; }
  .suite-actions > * { flex: 1 1 100%; }
  .web-nav { width: calc(100% - 24px); }
  .web-brand { font-size: 14px; }
  .web-nav-actions .suite-button { width: auto; padding-inline: 12px; }
  .web-hero { width: calc(100% - 28px); padding-top: 64px; }
  .web-hero-copy h1 { font-size: clamp(48px, 15vw, 68px); }
  .web-hero-body { margin-top: 22px; font-size: 16px; }
  .web-hero-art { min-height: 360px; }
  .web-product-proof, .web-story { width: calc(100% - 28px); }
  .web-section-heading h2, .web-story-row h2, .web-final h2 { font-size: 42px; }
  .web-story-row { padding: 70px 0; }
  .web-final { width: calc(100% - 28px); padding: 48px 24px; }
  .web-footer { width: calc(100% - 28px); }
  .aegis-path-labels { grid-template-columns: 1fr 1fr; }
  .relay-anatomy { min-height: 320px; }
  .angel-monitor { min-height: 410px; padding: 18px; }
  .angel-lung { width: 190px; }
  .count-tray { grid-template-columns: repeat(4, 1fr); }
  .count-tray-aggregation { align-items: flex-start; flex-direction: column; }
  .count-tray-aggregation span { text-align: left; }
  .count-demo-grid { padding: 18px; }
  .euler-preview { padding: 22px; }
  .app-header { padding-inline: 12px; }
  .app-footer, .systems-footer, .mobile-board-footer { align-items: flex-start; flex-direction: column; }
  .saas-center { padding: 16px; }
  .metric-strip { grid-template-columns: 1fr 1fr; }
  .metric-strip > div:nth-child(2n) { border-right: 0; }
  .icu-lower { grid-template-columns: 1fr; }
  .deck-map { grid-template-columns: repeat(2, 1fr); }
  .count-ops-layout .count-tray { grid-template-columns: repeat(4, 1fr); }
  .mobile-board-header h1 { font-size: 42px; }
  .phone-journey { grid-template-columns: repeat(5, minmax(270px, 1fr)); gap: 20px; padding-inline: calc((100vw - 302px) / 2); }
  .phone-frame { height: 620px; min-height: 620px; }
  .journey-progress { display: none; }
  .ai-canvas { padding: 14px; }
  .ai-approval-bar { overflow-x: auto; justify-content: flex-start; }
  .vision-history { grid-template-columns: 1fr; }
  .systems-stage { padding: 12px; overflow-x: hidden; }
  .systems-meta, .systems-footer { min-width: 0; width: 100%; }
  .device-theatre { width: 100%; min-width: 0; min-height: 520px; display: block; overflow: visible; padding: 22px 0; }
  .device-bezel, .device-bezel--e04 { width: 100%; min-width: 0; height: 470px; margin: 20px 0; padding: 22px 8px 18px; border-radius: 20px; }
  .device-bezel--e04 { height: 380px; }
  .system-screen, .system-screen * { min-width: 0; }
  .system-action { min-height: 40px; padding-inline: 8px; font-size: 10px; }

  .monitor-alarm { min-height: 50px; padding-inline: 10px; grid-template-columns: auto 1fr; gap: 8px; }
  .monitor-alarm b { font-size: 14px; }
  .monitor-alarm span { display: none; }
  .monitor-grid { grid-template-columns: minmax(0, 1fr) 112px; }
  .monitor-wave { padding: 6px 8px; gap: 3px; }
  .monitor-parameter { padding: 3px 0; grid-template-columns: auto auto minmax(54px, 1fr); gap: 2px 5px; }
  .monitor-parameter > span { font-size: 8px; }
  .monitor-parameter > strong { font-size: 30px; }
  .monitor-parameter > small { font-size: 8px; }
  .monitor-parameter .suite-spark { min-height: 24px; }
  .monitor-settings { padding: 8px; gap: 6px; }
  .monitor-settings p { font-size: 8px; }
  .monitor-settings strong { font-size: 16px; }
  .monitor-settings span { padding: 6px 0; font-size: 8px; }
  .monitor-settings button { min-height: 36px; padding-inline: 5px; font-size: 8px; }

  .symphonia-screen > header { min-height: 44px; padding-inline: 8px; display: flex; justify-content: center; }
  .symphonia-screen > header span { display: none; }
  .symphonia-layout { grid-template-columns: minmax(0, 1fr) 128px; }
  .symphonia-layout > section { padding: 8px; }
  .symphonia-layout > section > p { margin-block: 0 6px; font-size: 8px; }
  .embedded-deck { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .embedded-deck button { min-height: 78px; padding: 5px; font-size: 9px; }
  .embedded-deck button span { font-size: 7px; }
  .symphonia-layout > aside { padding: 8px; gap: 6px; }
  .embedded-block { padding: 8px; }
  .embedded-block h2 { margin: 6px 0 4px; font-size: 14px; }
  .embedded-block p { font-size: 8px; line-height: 1.35; }
  .symphonia-layout ol { gap: 3px; }
  .symphonia-layout li { min-height: 28px; padding: 5px; font-size: 8px; }
  .symphonia-layout .system-action { min-height: 34px; font-size: 8px; }

  .or-wall-screen > header { min-height: 44px; padding-inline: 10px; font-size: 10px; }
  .or-count-main { height: calc(100% - 44px); padding: 10px; grid-template-columns: 0.75fr 1.25fr; grid-template-rows: minmax(0, 1fr) auto; gap: 8px; }
  .or-count-number > strong { font-size: 38px; }
  .or-count-number > span { margin-top: 10px; font-size: 12px; }
  .or-zones { gap: 6px; }
  .or-zones > div { min-height: 68px; padding: 8px; }
  .or-zones span { font-size: 8px; }
  .or-zones b { font-size: 11px; }
  .or-count-main > aside { grid-column: 1 / -1; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .or-count-main > aside p, .or-count-main > aside > span { display: none; }
  .or-count-main > aside .system-action--alarm { margin: 0; }

  .radian-screen { grid-template-columns: minmax(0, 1fr); grid-template-rows: 84px minmax(0, 1fr) 58px; }
  .driver-cluster { padding: 7px 10px; display: grid; grid-template-columns: auto auto auto 1fr; align-items: center; justify-items: start; gap: 6px 12px; }
  .driver-cluster > span:first-child { position: static; grid-row: 1 / 3; color: var(--accent); font-size: 10px; }
  .driver-cluster > strong { font-size: 34px; }
  .driver-cluster > strong small { display: block; margin-top: 1px; font-size: 7px; }
  .driver-cluster > b { font-size: 10px; }
  .driver-cluster i { display: none; }
  .driver-cluster span:last-child { justify-self: end; font-size: 9px; }
  .passenger-zone { padding: 5px 8px; border: 0; border-top: 1px solid #c7c3ba; display: grid; grid-template-columns: minmax(0, 1fr) 112px; align-items: center; gap: 8px; }
  .passenger-zone .media-art { min-height: 46px; padding: 6px; }
  .passenger-zone .media-art i { width: 42px; height: 42px; border-width: 6px; top: 2px; }
  .passenger-zone .climate-control { grid-template-columns: 30px 1fr 30px; }
  .passenger-zone .climate-control button { width: 30px; height: 30px; }
  .passenger-zone .climate-control strong { font-size: 18px; }

  .kern-screen > header { min-height: 44px; display: flex; justify-content: center; }
  .kern-screen > header span { display: none; }
  .kern-layout { height: calc(100% - 44px); padding: 8px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 8px; }
  .crop-scene, .recipe-timeline { padding: 8px; }
  .crop-image { min-height: 88px; }
  .crop-image i { width: 16px; }
  .crop-scene > strong { font-size: 18px; }
  .kern-metrics { gap: 3px; }
  .kern-metrics span { min-height: 26px; font-size: 8px; }
  .timeline-track { margin: 4px 0 8px; }
  .timeline-track > span { left: 10px; min-height: 28px; padding: 4px 0; gap: 4px; font-size: 8px; }
  .timeline-track em { font-size: 8px; }
  .recipe-timeline .system-action { min-height: 36px; }
  .module-rail { grid-column: 1 / -1; padding: 4px; border-left: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .module-rail > p { display: none; }
  .module-rail > span { min-height: 30px; padding: 4px; font-size: 8px; }
  .module-rail .system-action { min-height: 36px; margin: 0; grid-column: 1 / -1; }
  .product-view-tabs { width: 100%; }
  .product-workbench { width: 100%; margin-block: 18px; border-radius: 0; }
  .product-workbench--web { border-radius: var(--radius); }
  .product-workbench-header { padding: 22px 18px; gap: 22px; }
  .product-workbench-header h2 { font-size: 32px; }
  .product-journey-tabs { overflow-x: auto; grid-template-columns: repeat(3, minmax(210px, 1fr)); }
  .product-journey-tabs button { min-width: 210px; }
  .product-context-grid { grid-template-columns: 1fr; padding-inline: 14px; }
  .product-command-error, .product-command-detail, .product-command-entry { margin-inline: 14px; }
  .product-command-detail { grid-template-columns: 1fr; }
  .product-command-list li { grid-template-columns: 30px minmax(0, 1fr); }
  .product-command-list li > button { grid-column: 2; width: 100%; }
  .product-artifact { padding: 18px 14px; }
  .product-artifact-title { grid-template-columns: auto minmax(0, 1fr); }
  .product-artifact-title .suite-status { grid-column: 1 / -1; width: max-content; }
  .app-role { display: none; }
  .systems-operator { justify-items: start; }
}

@media (max-height: 820px) and (min-width: 821px) {
  .web-site .web-hero { min-height: calc(100dvh - 76px); padding-block: 42px 34px; }
  .web-site .web-hero-copy h1 { font-size: clamp(58px, 6.5vw, 82px); }
  .web-site .web-hero-body { margin-block: 18px 22px; font-size: 16px; }
  .web-site .web-hero-art { min-height: 420px; }
  .phone-frame { height: 560px; min-height: 540px; }
  .phone-journey { min-height: 540px; }
  .mobile-board-header { margin-bottom: 14px; }
  .journey-progress { margin-top: 14px; }
  .systems-meta { min-height: 48px; }
  .device-bezel { max-height: calc(100dvh - 112px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .phone-frame.is-active { transform: none; }
}

/* Interaction-depth r4: the selected screen is the product. */
.category-product-main { width: 100%; min-width: 0; }
.product-experience {
  --product-panel: var(--surface);
  --product-subpanel: color-mix(in srgb, var(--surface-2) 58%, var(--surface));
  width: min(1680px, calc(100% - 40px));
  margin: 28px auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--product-panel);
  color: var(--ink);
  box-shadow: var(--shadow);
  overflow: clip;
}
.theme-aegis .product-experience { --product-panel: #211f22; --product-subpanel: #2b292d; }
.theme-aegis .product-experience .suite-status { border-color: rgba(255, 255, 255, .18); background: #302e32; color: #f4f0e7; }
.theme-aegis .product-experience .suite-status--success { border-color: color-mix(in srgb, var(--success) 55%, transparent); background: color-mix(in srgb, var(--success) 22%, #211f22); color: #9de6c6; }
.theme-aegis .product-experience input,
.theme-aegis .product-experience textarea,
.theme-aegis .product-experience select { border-color: rgba(255, 255, 255, .18); background: #171619; color: #f4f0e7; }
.theme-aegis .product-experience input::placeholder,
.theme-aegis .product-experience textarea::placeholder { color: #8f8a86; }
.theme-aegis .suite-notice { background: #f4f0e7; color: #151416; }
.product-experience--web { width: 100%; margin: 34px 0 0; }
.product-experience-header {
  min-height: 168px;
  padding: clamp(24px, 3.2vw, 48px);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr);
  align-items: end;
  gap: 44px;
  background:
    linear-gradient(115deg, color-mix(in srgb, var(--accent) 10%, transparent), transparent 58%),
    var(--product-panel);
}
.product-experience-header h2 { margin: 0; font-size: clamp(34px, 4vw, 64px); letter-spacing: -.055em; line-height: .96; }
.product-experience-header > div:first-child > p:last-child { max-width: 760px; margin: 16px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.product-purpose { padding: 18px 20px; border: 1px solid var(--line); border-left: 3px solid var(--accent); background: color-mix(in srgb, var(--accent) 6%, var(--product-panel)); display: grid; gap: 8px; }
.product-purpose span { color: var(--muted); font: 600 9px/1.2 "IBM Plex Mono", monospace; letter-spacing: .12em; text-transform: uppercase; }
.product-purpose strong { font-size: 13px; line-height: 1.5; }
.persistent-safety-context { min-height: 86px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); background: color-mix(in srgb, var(--product-subpanel) 94%, black); }
.persistent-safety-context > div { min-width: 0; padding: 15px 20px; border-right: 1px solid var(--line); display: grid; align-content: center; gap: 7px; }
.persistent-safety-context > div:last-child { border-right: 0; }
.persistent-safety-context span { color: var(--muted); font: 600 8px/1 "IBM Plex Mono", monospace; text-transform: uppercase; letter-spacing: .1em; }
.persistent-safety-context strong { color: var(--accent); font-size: clamp(16px, 2vw, 26px); line-height: 1.05; overflow-wrap: anywhere; }
.persistent-safety-context small { font-size: 9px; }

.product-mode-nav { border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); background: var(--product-subpanel); }
.product-mode-nav button { min-width: 0; min-height: 92px; padding: 17px 20px; border: 0; border-right: 1px solid var(--line); background: transparent; color: inherit; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: center; gap: 6px 12px; text-align: left; cursor: pointer; }
.product-mode-nav button:last-child { border-right: 0; }
.product-mode-nav button:hover { background: color-mix(in srgb, var(--accent) 7%, transparent); }
.product-mode-nav button.is-active { background: color-mix(in srgb, var(--accent) 13%, var(--product-panel)); box-shadow: inset 0 -3px var(--accent); }
.product-mode-nav span { font-size: 15px; font-weight: 800; }
.product-mode-nav small { min-width: 0; color: var(--muted); font-size: 10px; line-height: 1.35; }
.product-mode-nav b { grid-area: 1 / 2 / 3; align-self: center; color: var(--accent); font: 600 10px/1 "IBM Plex Mono", monospace; }

.product-job-nav { padding: 10px; border-bottom: 1px solid var(--line); background: var(--product-panel); display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.product-job-nav button { min-width: 0; min-height: 64px; padding: 11px 13px; border: 1px solid var(--line); background: transparent; color: inherit; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: center; gap: 4px 10px; text-align: left; cursor: pointer; }
.product-job-nav button:hover { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.product-job-nav button.is-active { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--product-panel)); }
.product-job-nav span { color: var(--muted); font: 600 8px/1 "IBM Plex Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.product-job-nav b { grid-column: 1; min-width: 0; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.product-job-nav small { grid-area: 1 / 2 / 3; align-self: center; color: var(--accent); font: 600 8px/1 "IBM Plex Mono", monospace; }

.product-screen-shell { min-width: 0; display: grid; grid-template-columns: 220px minmax(0, 1fr) 300px; min-height: 650px; }
.product-screen-shell > .product-view-tabs { width: auto; margin: 0; border: 0; border-right: 1px solid var(--line); display: block; background: var(--product-subpanel); overflow-y: auto; }
.product-screen-shell > .product-view-tabs button { width: 100%; min-height: 82px; padding: 14px 16px; border: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 10px; }
.product-screen-shell > .product-view-tabs button.is-active { background: color-mix(in srgb, var(--accent) 13%, var(--product-panel)); color: inherit; box-shadow: inset 3px 0 var(--accent); }
.product-screen-shell > .product-view-tabs button span { font-size: 12px; }
.product-screen-shell > .product-view-tabs button small { grid-column: 1 / -1; white-space: normal; }
.product-screen-shell > .product-view-tabs button b { grid-area: 1 / 2; color: var(--accent); font: 600 8px/1.2 "IBM Plex Mono", monospace; text-transform: uppercase; }

.product-screen { min-width: 0; padding: clamp(20px, 2.5vw, 36px); background: var(--product-panel); }
.product-screen-title { margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.product-screen-title span:not(.suite-status) { color: var(--accent); font: 600 9px/1 "IBM Plex Mono", monospace; letter-spacing: .12em; text-transform: uppercase; }
.product-screen-title h3 { margin: 7px 0 0; font-size: clamp(24px, 2.4vw, 38px); letter-spacing: -.035em; }
.product-screen h3, .product-screen h4 { overflow-wrap: anywhere; }
.product-screen p { line-height: 1.55; }

.screen-action-panel { min-width: 0; padding: 26px 22px; border-left: 1px solid var(--line); background: var(--product-subpanel); display: flex; flex-direction: column; gap: 18px; }
.screen-action-panel h3 { margin: 0; font-size: 20px; letter-spacing: -.025em; }
.screen-action-panel > div:first-child > p:last-child { margin: 9px 0 0; color: var(--muted); font-size: 11px; }
.screen-action-panel .product-command-error { margin: 0; }
.screen-gate { padding: 12px; border: 1px solid color-mix(in srgb, var(--warning) 42%, var(--line)); background: color-mix(in srgb, var(--warning) 9%, var(--product-panel)); color: var(--warning); display: flex; align-items: flex-start; gap: 8px; font-size: 10px; line-height: 1.45; }
.screen-command-status { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 7px; }
.screen-command-status > button { min-height: 48px; padding: 9px 10px; border: 1px solid var(--line); background: var(--product-panel); color: inherit; display: flex; align-items: center; gap: 9px; text-align: left; cursor: pointer; }
.screen-command-status > button.is-current { border-color: var(--accent); }
.screen-command-status > button.is-complete { color: var(--success); }
.screen-command-status b, .screen-command-status small { display: block; }
.screen-command-status b { font-size: 10px; }
.screen-command-status small { margin-top: 3px; color: var(--muted); font-size: 8px; }

.screen-overview { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(230px, .75fr); gap: 16px; }
.screen-overview-lead, .screen-readiness, .screen-metric-grid article { border: 1px solid var(--line); background: var(--product-subpanel); }
.screen-overview-lead { min-height: 270px; padding: clamp(24px, 3vw, 42px); display: flex; flex-direction: column; align-items: flex-start; }
.screen-overview-lead h3 { max-width: 720px; margin: 0; font-size: clamp(27px, 3vw, 42px); letter-spacing: -.045em; line-height: 1.05; }
.screen-overview-lead > p:not(.suite-kicker) { max-width: 680px; margin: 18px 0 26px; color: var(--muted); font-size: 13px; }
.screen-overview-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.screen-readiness { padding: 24px; display: grid; place-items: center; align-content: center; gap: 20px; text-align: center; }
.screen-readiness-ring { width: 142px; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--progress) * 1%), var(--surface-2) 0); display: grid; place-content: center; position: relative; }
.screen-readiness-ring::before { content: ""; position: absolute; inset: 12px; border-radius: inherit; background: var(--product-subpanel); }
.screen-readiness-ring > * { z-index: 1; }
.screen-readiness-ring strong { font: 600 28px/1 "IBM Plex Mono", monospace; }
.screen-readiness-ring span { margin-top: 5px; color: var(--muted); font-size: 8px; }
.screen-readiness h4 { margin: 0 0 8px; font-size: 17px; }
.screen-readiness > div:last-child > span { display: block; color: var(--muted); font-size: 9px; line-height: 1.55; }
.screen-metric-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.screen-metric-grid article { min-height: 92px; padding: 18px; display: grid; align-content: space-between; }
.screen-metric-grid span { color: var(--muted); font-size: 9px; }
.screen-metric-grid strong { font: 600 20px/1.1 "IBM Plex Mono", monospace; }

.screen-queue { display: grid; gap: 16px; }
.screen-queue .suite-search { display: grid; gap: 7px; }
.screen-queue .suite-search span { color: var(--muted); font-size: 9px; font-weight: 700; }
.screen-queue .suite-search input { min-height: 48px; padding: 0 15px; border: 1px solid var(--line); background: var(--product-subpanel); color: inherit; }
.screen-queue-list { border: 1px solid var(--line); }
.screen-queue-list > button { width: 100%; min-height: 78px; padding: 14px 16px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: inherit; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 14px; text-align: left; cursor: pointer; }
.screen-queue-list > button:last-child { border-bottom: 0; }
.screen-queue-list > button:hover, .screen-queue-list > button.is-active { background: color-mix(in srgb, var(--accent) 9%, var(--product-panel)); }
.screen-queue-list > button.is-active { box-shadow: inset 3px 0 var(--accent); }
.screen-queue-list > button > span { color: var(--accent); font: 600 9px/1 "IBM Plex Mono", monospace; }
.screen-queue-list b, .screen-queue-list small { display: block; }
.screen-queue-list b { font-size: 12px; }
.screen-queue-list small { margin-top: 5px; color: var(--muted); font-size: 9px; }
.screen-queue-list strong { color: var(--muted); font: 600 10px/1 "IBM Plex Mono", monospace; }

.screen-graph { min-height: 480px; border: 1px solid var(--line); background: var(--product-subpanel); position: relative; overflow: hidden; }
.screen-graph > svg { width: 100%; height: 360px; }
.screen-graph > svg path { fill: none; stroke: color-mix(in srgb, var(--muted) 55%, transparent); stroke-width: 3; }
.screen-graph > svg path.graph-risk-path { stroke: var(--accent); stroke-width: 5; }
.screen-graph > svg circle { fill: var(--product-panel); stroke: var(--accent); stroke-width: 3; }
.screen-graph-labels { padding: 12px; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 6px; }
.screen-graph-labels button { min-width: 0; padding: 10px; border: 1px solid var(--line); background: var(--product-panel); color: inherit; display: grid; gap: 5px; text-align: left; cursor: pointer; }
.screen-graph-labels span { color: var(--accent); font-size: 8px; }
.screen-graph-labels b { overflow: hidden; font-size: 9px; text-overflow: ellipsis; }
.screen-graph--aegis > .aegis-constellation { min-height: 400px; padding: 40px; }
.graph-legend { position: absolute; left: 18px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.graph-legend span { padding: 7px 9px; background: color-mix(in srgb, var(--product-panel) 90%, transparent); font-size: 8px; }
.graph-legend i { width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; display: inline-block; background: var(--accent); }

.screen-timeline { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(210px, .65fr); border: 1px solid var(--line); }
.screen-timeline > section { min-width: 0; padding: 26px; border-right: 1px solid var(--line); background: var(--product-subpanel); }
.screen-chart-heading { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.screen-chart-heading h3 { margin: 0; }
.screen-chart-heading > strong { color: var(--accent); font: 600 9px/1 "IBM Plex Mono", monospace; text-transform: uppercase; }
.screen-timeline .suite-spark { min-height: 290px; margin-top: 24px; }
.screen-chart-axis { display: flex; justify-content: space-between; color: var(--muted); font-size: 8px; }
.screen-timeline ol { max-height: 470px; margin: 0; padding: 0; list-style: none; overflow-y: auto; }
.screen-timeline li { min-height: 66px; padding: 13px 15px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 9px; font-size: 10px; }
.screen-timeline time { color: var(--accent); font: 600 8px/1 "IBM Plex Mono", monospace; }

.safety-monitor { min-height: 430px; border: 1px solid var(--line); background: color-mix(in srgb, var(--product-subpanel) 92%, black); overflow: hidden; }
.safety-monitor > header { min-height: 82px; padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.safety-monitor > header h3 { margin: 5px 0 0; font-size: clamp(24px, 3vw, 42px); }
.safety-monitor-grid { min-height: 346px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(220px, .65fr); }
.safety-monitor-grid > section { padding: 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.safety-monitor-grid > section > span, .driver-critical-grid span { color: var(--muted); font: 600 9px/1 "IBM Plex Mono", monospace; text-transform: uppercase; letter-spacing: .1em; }
.safety-monitor-grid > section > strong { margin: 12px 0 20px; color: var(--accent); font-size: clamp(64px, 9vw, 112px); line-height: .85; letter-spacing: -.07em; }
.safety-monitor-grid > section > strong small, .driver-critical-grid strong small { font-size: 13px; letter-spacing: 0; }
.safety-monitor-grid .suite-spark { flex: 1; min-height: 170px; }
.safety-monitor-grid > aside { display: grid; grid-template-rows: repeat(4, 1fr); }
.safety-monitor-grid > aside div { padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.safety-monitor-grid > aside span { color: var(--muted); font-size: 10px; }
.safety-monitor-grid > aside b { font-size: 12px; text-align: right; }
.driver-critical-grid { min-height: 346px; display: grid; grid-template-columns: .75fr .75fr 1.5fr; }
.driver-critical-grid section { min-width: 0; padding: 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.driver-critical-grid section:last-child { border-right: 0; }
.driver-critical-grid strong { color: var(--accent); font-size: clamp(32px, 5vw, 68px); line-height: 1; letter-spacing: -.05em; overflow-wrap: anywhere; }
.driver-critical-grid section:last-child strong { font-size: clamp(24px, 3.2vw, 44px); }
.driver-critical-grid b { color: var(--muted); font-size: 11px; }
.screen-control--monitor .monitor-limit-context { display: grid; gap: 12px; }
.monitor-limit-context span { color: var(--muted); font-size: 10px; }
.monitor-limit-context strong { color: var(--accent); font-size: 54px; }
.monitor-limit-context strong small { font-size: 12px; }
.monitor-limit-context b { padding-top: 10px; border-top: 1px solid var(--line); font-size: 10px; }

.screen-evidence { display: grid; gap: 14px; }
.evidence-coverage { padding: 24px; border: 1px solid var(--line); background: var(--product-subpanel); display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 24px; }
.evidence-coverage-value { width: 120px; aspect-ratio: 1; border: 1px solid var(--accent); border-radius: 50%; display: grid; place-content: center; text-align: center; }
.evidence-coverage-value strong { font: 600 25px/1 "IBM Plex Mono", monospace; }
.evidence-coverage-value span { margin-top: 5px; color: var(--muted); font-size: 8px; }
.evidence-coverage h3 { margin: 0; }
.evidence-coverage p:not(.suite-kicker) { color: var(--muted); font-size: 10px; }
.coverage-track { height: 5px; background: var(--surface-2); display: block; }
.coverage-track i { height: 100%; display: block; background: var(--accent); }
.evidence-source-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.evidence-source-grid article { min-width: 0; min-height: 132px; padding: 16px; border: 1px solid var(--line); display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; }
.evidence-source-grid article > span:first-child { color: var(--accent); font: 600 9px/1 "IBM Plex Mono", monospace; }
.evidence-source-grid b, .evidence-source-grid small { display: block; }
.evidence-source-grid b { font-size: 11px; }
.evidence-source-grid small, .evidence-source-grid p { color: var(--muted); font-size: 8px; }

.screen-detail { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(220px, .75fr); gap: 12px; }
.screen-detail > * { padding: 25px; border: 1px solid var(--line); background: var(--product-subpanel); }
.screen-detail h3, .screen-detail h4 { margin: 0; }
.screen-detail p:not(.suite-kicker) { color: var(--muted); font-size: 11px; }
.screen-detail dl, .screen-assignment dl, .screen-builder dl, .screen-review dl { margin: 22px 0 0; }
.screen-detail dl > div, .screen-assignment dl > div, .screen-builder dl > div, .screen-review dl > div { padding: 10px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(90px, .7fr) minmax(0, 1.3fr); gap: 12px; }
.screen-detail dt, .screen-assignment dt, .screen-builder dt, .screen-review dt { color: var(--muted); font-size: 9px; text-transform: capitalize; }
.screen-detail dd, .screen-assignment dd, .screen-builder dd, .screen-review dd { margin: 0; overflow-wrap: anywhere; font-size: 10px; font-weight: 700; text-align: right; }

.screen-compare { min-height: 410px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 12px; }
.screen-compare article { padding: 26px; border: 1px solid var(--line); background: var(--product-subpanel); }
.screen-compare article.is-proposed { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--product-panel)); }
.screen-compare h3 { margin: 0; font-size: clamp(26px, 3vw, 42px); }
.screen-compare ul { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.screen-compare li { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 10px; }
.compare-delta { display: grid; place-content: center; gap: 8px; text-align: center; }
.compare-delta span { color: var(--accent); font-size: 28px; }
.compare-delta b { max-width: 80px; font-size: 9px; }

.screen-map { min-height: 430px; border: 1px solid var(--line); background: var(--product-subpanel); }
.screen-map--zones { padding: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.screen-map--zones button { min-height: 125px; padding: 16px; border: 1px solid var(--line); background: var(--product-panel); color: inherit; display: grid; align-content: space-between; gap: 8px; text-align: left; cursor: pointer; }
.screen-map--zones button.is-active { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, var(--product-panel)); }
.screen-map--zones span, .screen-map--zones small { color: var(--muted); font-size: 8px; }
.screen-map--count { padding: 24px; display: grid; grid-template-columns: 1fr 180px; gap: 18px; }
.screen-map--count .count-tray { height: 100%; }
.screen-map--count aside { padding: 18px; border-left: 1px solid var(--line); display: grid; align-content: center; gap: 12px; }
.screen-map--count aside strong { font: 600 42px/1 "IBM Plex Mono", monospace; }
.screen-map--count aside span { color: var(--muted); font-size: 9px; }
.screen-map--deck { padding: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.screen-map--deck button { min-height: 100px; border: 1px solid var(--line); background: var(--product-panel); color: inherit; display: grid; place-content: center; gap: 7px; cursor: pointer; }
.screen-map--deck button.is-alert { border-color: var(--danger); }
.screen-map--deck button.is-ready { border-color: var(--success); }
.screen-map--route { position: relative; overflow: hidden; }
.screen-map--route .maneuver { position: absolute; right: 24px; top: 24px; }

.screen-scanner { min-height: 440px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(210px, .8fr); border: 1px solid var(--line); }
.screen-scanner > section { min-height: 440px; background: radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--accent) 25%, transparent), transparent 36%), #171719; position: relative; overflow: hidden; }
.scanner-reticle { position: absolute; inset: 17%; border: 1px solid color-mix(in srgb, var(--accent) 65%, white); display: grid; place-items: center; }
.scanner-reticle i { position: absolute; inset: 20%; border: 1px dashed color-mix(in srgb, var(--accent) 42%, transparent); border-radius: 50%; }
.scanner-reticle i:nth-child(2) { inset: 35%; }
.scanner-reticle .suite-icon { width: 40px; height: 40px; color: var(--accent); }
.scanner-sweep { position: absolute; left: 12%; right: 12%; top: 20%; height: 2px; background: var(--accent); box-shadow: 0 0 20px var(--accent); animation: scanner-sweep 2.6s ease-in-out infinite alternate; }
@keyframes scanner-sweep { to { top: 80%; } }
.screen-scanner > aside { padding: 24px; background: var(--product-subpanel); display: grid; align-content: center; gap: 10px; }
.screen-scanner > aside h3 { margin: 0 0 12px; }
.screen-scanner > aside span { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 9px; }

.screen-validation { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 18px; }
.validation-score { min-height: 300px; padding: 22px; border: 1px solid var(--line); background: var(--product-subpanel); display: grid; place-content: center; justify-items: center; text-align: center; }
.validation-score strong { font: 600 72px/1 "IBM Plex Mono", monospace; }
.validation-score span { color: var(--muted); font-size: 9px; }
.validation-score i { width: 60px; height: 6px; margin-top: 18px; background: var(--success); }
.validation-score i.is-blocked { background: var(--danger); }
.screen-validation ol { margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); }
.screen-validation li { min-height: 82px; padding: 15px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.screen-validation li:last-child { border-bottom: 0; }
.screen-validation li.is-passed > .suite-icon { color: var(--success); }
.screen-validation li.is-blocked > .suite-icon { color: var(--danger); }
.screen-validation b, .screen-validation small { display: block; }
.screen-validation b { font-size: 11px; }
.screen-validation small { margin-top: 4px; color: var(--muted); font-size: 8px; }

.screen-assignment { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr); gap: 12px; }
.screen-assignment > * { padding: 24px; border: 1px solid var(--line); background: var(--product-subpanel); }
.screen-assignment h3 { margin: 0; }
.screen-assignment p:not(.suite-kicker) { color: var(--muted); font-size: 10px; }
.screen-assignment section > div { margin-top: 20px; display: grid; gap: 16px; }
.screen-assignment .assignment-role-group { margin: 0; display: grid; gap: 7px; }
.screen-assignment .assignment-role-group h4 { margin: 0 0 2px; color: var(--muted); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.screen-assignment section button { min-height: 62px; padding: 10px 12px; border: 1px solid var(--line); background: var(--product-panel); color: inherit; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 10px; text-align: left; cursor: pointer; }
.screen-assignment section button.is-active { border-color: var(--accent); }
.screen-assignment section button > span { width: 36px; aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-content: center; font-size: 9px; font-weight: 800; }
.screen-assignment section button b, .screen-assignment section button small { display: block; }
.screen-assignment section button b { font-size: 10px; }
.screen-assignment section button small { color: var(--muted); font-size: 8px; }

.screen-builder, .screen-review { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(220px, .65fr); gap: 12px; }
.screen-builder > *, .screen-review > * { padding: 22px; border: 1px solid var(--line); background: var(--product-subpanel); }
.editor-toolbar { margin-bottom: 12px; display: flex; gap: 5px; }
.editor-toolbar button { min-height: 32px; padding: 0 10px; border: 1px solid var(--line); background: var(--product-panel); color: inherit; font-size: 9px; cursor: pointer; }
.screen-builder label { display: grid; gap: 8px; }
.screen-builder label > span { color: var(--muted); font-size: 9px; font-weight: 700; }
.screen-builder textarea { width: 100%; min-height: 330px; padding: 20px; border: 1px solid var(--line); background: var(--product-panel); color: inherit; resize: vertical; line-height: 1.7; }
.screen-builder h3, .screen-review h3 { margin: 0; }
.review-title { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.review-title > div { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; }
.review-title .suite-icon { grid-row: 1 / 3; width: 28px; height: 28px; color: var(--accent); }
.screen-review aside ul { margin: 18px 0 24px; padding: 0; list-style: none; display: grid; gap: 10px; }
.screen-review aside li { display: flex; gap: 8px; color: var(--muted); font-size: 9px; line-height: 1.4; }

.screen-history { display: grid; grid-template-columns: minmax(0, 1fr) 190px; border: 1px solid var(--line); }
.screen-history ol { margin: 0; padding: 0; list-style: none; }
.screen-history li { min-height: 70px; padding: 14px 18px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.screen-history li > span { color: var(--accent); font: 600 8px/1 "IBM Plex Mono", monospace; }
.screen-history li b, .screen-history li small { display: block; }
.screen-history li b { font-size: 10px; }
.screen-history li small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.screen-history li time { color: var(--muted); font-size: 8px; }
.screen-history aside { padding: 20px; border-left: 1px solid var(--line); background: var(--product-subpanel); display: grid; align-content: center; gap: 9px; }
.screen-history aside strong { font: 600 34px/1 "IBM Plex Mono", monospace; }
.screen-history aside span { color: var(--muted); font-size: 9px; }

.screen-control { min-height: 420px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(250px, .85fr); gap: 12px; }
.screen-control > * { padding: 24px; border: 1px solid var(--line); background: var(--product-subpanel); }
.glide-code-control { min-height: 420px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr); gap: 12px; }
.glide-code-control > * { padding: 28px; border: 1px solid var(--line); background: var(--product-subpanel); }
.glide-code-control section > p:not(.suite-kicker), .glide-code-control aside p, .glide-code-control section > small { color: var(--muted); font-size: 11px; line-height: 1.5; }
.glide-code-control label { margin: 26px 0 10px; display: grid; gap: 8px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.glide-code-control input { width: min(100%, 280px); padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font: 800 32px/1 "IBM Plex Mono", monospace; letter-spacing: .32em; }
.glide-code-control aside { display: grid; align-content: start; gap: 10px; }
.glide-code-control aside .suite-icon { width: 32px; height: 32px; color: var(--muted); }
.glide-code-control aside.is-valid .suite-icon { color: var(--success); }
.glide-code-control aside span { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.glide-code-control aside strong { font-size: 24px; }
.share-status-card { margin-top: 22px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; display: flex; align-items: center; gap: 14px; background: var(--surface); }
.share-status-card .suite-icon { width: 28px; height: 28px; color: var(--accent); }
.share-status-card div { display: grid; gap: 4px; }
.share-status-card small { color: var(--muted); }
.saved-view-banner { margin: 0 0 12px; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--success) 45%, var(--line)); border-radius: 9px; background: color-mix(in srgb, var(--success) 7%, var(--product-subpanel)); display: flex; align-items: center; gap: 10px; }
.saved-view-banner .suite-icon { width: 20px; height: 20px; color: var(--success); }
.saved-view-banner div { display: grid; gap: 2px; }
.saved-view-banner b { font-size: 10px; }
.saved-view-banner span { color: var(--muted); font-size: 9px; }
.control-scale { margin-top: 30px; display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; gap: 8px; }
.control-scale button { height: 48px; border: 1px solid var(--line); background: var(--product-panel); color: inherit; cursor: pointer; }
.control-scale strong { font: 600 48px/1 "IBM Plex Mono", monospace; text-align: center; }
.kern-control-console { min-height: 420px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(230px, .8fr); gap: 12px; }
.kern-control-console > * { padding: 24px; border: 1px solid var(--line); background: var(--product-subpanel); }
.kern-control-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kern-control-values > div { min-height: 105px; padding: 14px; border: 1px solid var(--line); display: grid; align-content: space-between; }
.kern-control-values .is-proposed { border-color: var(--accent); }
.kern-control-values span { color: var(--muted); font-size: 8px; }
.kern-control-values strong { font: 600 28px/1 "IBM Plex Mono", monospace; }
.kern-control-values small { font-size: 9px; }
.kern-control-console label { margin-top: 26px; display: grid; gap: 10px; font-size: 10px; font-weight: 700; }
.kern-control-console input[type="range"] { width: 100%; accent-color: var(--accent); }
.kern-control-console label small { color: var(--muted); font-size: 8px; }
.kern-impact-bars { margin-top: 25px; display: grid; gap: 14px; }
.kern-impact-bars span { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 10px; }
.kern-impact-bars b { font-size: 9px; }
.kern-impact-bars i { height: 7px; background: var(--accent); }
.kern-control-console > aside { align-content: start; }
.kern-control-console > aside > .suite-icon { width: 30px; height: 30px; }
.kern-control-console > aside.is-safe > .suite-icon { color: var(--success); }
.kern-control-console > aside.is-blocked > .suite-icon { color: var(--danger); }
.kern-control-console > aside h3 { margin: 8px 0; }
.kern-control-console > aside > p:not(.suite-kicker) { color: var(--muted); font-size: 10px; }
.kern-control-console dl { margin: 18px 0 0; }
.kern-control-console dl > div { padding: 9px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; font-size: 9px; }
.kern-control-console dd { margin: 0; font-weight: 700; }

.audit-drawer { border-top: 1px solid var(--line); background: var(--product-subpanel); }
.audit-drawer > summary { min-height: 64px; padding: 12px 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; list-style: none; }
.audit-drawer > summary::-webkit-details-marker { display: none; }
.audit-drawer > summary > span { display: flex; align-items: center; gap: 10px; font-size: 11px; }
.audit-drawer > summary > span::after { content: "+"; width: 22px; height: 22px; margin-left: 5px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-content: center; color: var(--accent); }
.audit-drawer[open] > summary > span::after { content: "−"; }
.audit-drawer > summary small { color: var(--muted); font-size: 9px; }
.audit-drawer .product-workbench { width: calc(100% - 28px); margin: 0 14px 14px; border-radius: 8px; box-shadow: none; }

@media (max-width: 1220px) {
  .product-screen-shell { grid-template-columns: 190px minmax(0, 1fr); }
  .screen-action-panel { grid-column: 1 / -1; min-height: auto; border-top: 1px solid var(--line); border-left: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .6fr) auto; align-items: center; }
  .screen-action-panel .screen-command-status { grid-column: 1 / -1; margin: 0; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
  .screen-action-panel > .suite-button { min-width: 180px; }
}

@media (max-width: 820px) {
  .product-experience { width: calc(100% - 24px); margin-block: 16px; border-radius: 12px; }
  .product-experience--web { width: 100%; }
  .product-experience-header { grid-template-columns: 1fr; gap: 22px; }
  .product-purpose { max-width: 620px; }
  .product-mode-nav { overflow-x: auto; grid-template-columns: repeat(3, minmax(230px, 1fr)); }
  .product-job-nav { overflow-x: auto; grid-template-columns: repeat(3, minmax(230px, 1fr)); }
  .product-screen-shell { display: block; min-height: 0; }
  .product-screen-shell > .product-view-tabs { border-right: 0; border-bottom: 1px solid var(--line); display: flex; overflow-x: auto; }
  :is(.aegis-alert-list, .relay-inventory, .entity-list, .journey-progress, .ai-plan, .product-view-tabs, .product-journey-tabs, .product-mode-nav, .product-job-nav, .product-screen-shell > .product-view-tabs) { scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior-x: contain; }
  :is(.aegis-alert-list, .relay-inventory, .entity-list, .journey-progress, .ai-plan, .product-view-tabs, .product-journey-tabs, .product-mode-nav, .product-job-nav, .product-screen-shell > .product-view-tabs)::-webkit-scrollbar { width: 0; height: 0; display: none; }
  .product-screen-shell > .product-view-tabs button { min-width: 180px; min-height: 72px; border-right: 1px solid var(--line); border-bottom: 0; }
  .product-screen-shell > .product-view-tabs button.is-active { box-shadow: inset 0 -3px var(--accent); }
  .product-screen { padding: 20px; }
  .screen-action-panel { display: flex; }
  .screen-action-panel .screen-command-status { display: grid; }
  .screen-overview, .screen-detail, .screen-assignment, .screen-builder, .screen-review, .screen-control, .kern-control-console, .glide-code-control { grid-template-columns: 1fr; }
  .screen-metric-grid { grid-template-columns: 1fr 1fr; }
  .screen-timeline, .screen-scanner { grid-template-columns: 1fr; }
  .screen-timeline > section { border-right: 0; border-bottom: 1px solid var(--line); }
  .screen-timeline .suite-spark { min-height: 220px; }
  .safety-monitor-grid { grid-template-columns: 1fr; }
  .safety-monitor-grid > section { border-right: 0; border-bottom: 1px solid var(--line); }
  .driver-critical-grid { grid-template-columns: 1fr; }
  .driver-critical-grid section { min-height: 150px; border-right: 0; border-bottom: 1px solid var(--line); }
  .driver-critical-grid section:last-child { border-bottom: 0; }
  .screen-compare { grid-template-columns: 1fr; }
  .compare-delta { grid-template-columns: auto 1fr; justify-content: center; }
  .compare-delta span { transform: rotate(90deg); }
  .screen-map--zones { grid-template-columns: repeat(2, 1fr); }
  .evidence-source-grid { grid-template-columns: 1fr; }
  .screen-history { grid-template-columns: 1fr; }
  .screen-history aside { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 560px) {
  .product-experience { width: 100%; margin: 10px 0; border-inline: 0; border-radius: 0; }
  .product-experience-header { min-height: 0; padding: 24px 18px; }
  .product-experience-header h2 { font-size: 38px; }
  .product-mode-nav { grid-template-columns: repeat(3, minmax(210px, 1fr)); }
  .product-mode-nav button { min-height: 84px; padding: 14px; }
  .product-screen-shell > .product-view-tabs button { min-width: 160px; }
  .product-screen { padding: 18px 14px; }
  .product-screen-title { align-items: flex-start; }
  .product-screen-title h3 { font-size: 28px; }
  .product-screen-title .suite-status { display: none; }
  .persistent-safety-context { grid-template-columns: repeat(2, 1fr); }
  .persistent-safety-context > div:nth-child(2) { border-right: 0; }
  .persistent-safety-context > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .safety-monitor > header { align-items: flex-start; }
  .safety-monitor-grid > section, .driver-critical-grid section { padding: 20px; }
  .safety-monitor-grid > section > strong { font-size: 64px; }
  .screen-action-panel { padding: 20px 14px; }
  .screen-overview-lead { min-height: 0; padding: 24px 18px; }
  .screen-overview-lead h3 { font-size: 33px; }
  .screen-metric-grid { grid-template-columns: 1fr; }
  .screen-queue-list > button { grid-template-columns: 28px minmax(0, 1fr); }
  .screen-queue-list > button > strong { grid-column: 2; }
  .screen-graph { min-height: 390px; }
  .screen-graph > svg { height: 260px; }
  .screen-graph--aegis > .aegis-constellation { min-height: 360px; padding: 18px; }
  .screen-timeline > section, .evidence-coverage, .screen-detail > *, .screen-assignment > *, .screen-builder > *, .screen-review > *, .screen-control > *, .kern-control-console > *, .glide-code-control > * { padding: 18px; }
  .evidence-coverage { grid-template-columns: 1fr; }
  .evidence-coverage-value { width: 100px; }
  .evidence-source-grid article { grid-template-columns: 24px minmax(0, 1fr); }
  .evidence-source-grid article .suite-status { grid-column: 2; width: max-content; }
  .screen-map--zones { grid-template-columns: 1fr; }
  .screen-map--count { grid-template-columns: 1fr; padding: 14px; }
  .screen-map--count aside { border-top: 1px solid var(--line); border-left: 0; }
  .screen-map--deck { grid-template-columns: repeat(2, 1fr); padding: 12px; }
  .screen-validation { grid-template-columns: 1fr; }
  .validation-score { min-height: 180px; }
  .screen-builder textarea { min-height: 260px; }
  .kern-control-values { grid-template-columns: 1fr; }
  .kern-control-values > div { min-height: 82px; }
  .audit-drawer > summary { align-items: flex-start; flex-direction: column; }
}
