:root {
  --lab-ink: #071c30;
  --lab-navy: #061725;
  --lab-panel: #0a2030;
  --lab-line: rgba(90, 155, 184, .25);
  --lab-cyan: #16dfc2;
  --lab-blue: #48a8ff;
  --lab-violet: #826fff;
  --lab-muted: #688095;
  --lab-paper: #edf5f8;
  --lab-radius: 22px;
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
.btg-lab { color: var(--lab-ink); background: #f5fafc; overflow: clip; }
.btg-lab *, .btg-lab *::before, .btg-lab *::after { box-sizing: border-box; }
.btg-lab button, .btg-lab input, .btg-lab select { font: inherit; }
.btg-lab button, .btg-lab a { -webkit-tap-highlight-color: transparent; }
.btg-lab button:focus-visible, .btg-lab a:focus-visible, .btg-lab input:focus-visible, .btg-lab select:focus-visible, .btg-lab [tabindex]:focus-visible { outline: 3px solid #ffcb4d; outline-offset: 3px; }
.btg-lab h1, .btg-lab h2, .btg-lab h3, .btg-lab p { margin-top: 0; }
.btg-lab h1, .btg-lab h2, .btg-lab h3 { hyphens: none; overflow-wrap: normal; word-break: normal; text-wrap: balance; }
.btg-lab button { cursor: pointer; }
.btg-lab button:disabled { cursor: not-allowed; opacity: .45; }

.lab-hero {
  min-height: min(880px, calc(100svh - 70px));
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #ecfaff;
  background: radial-gradient(circle at 72% 45%, rgba(23, 117, 143, .24), transparent 30%), radial-gradient(circle at 20% 0, rgba(73, 83, 164, .19), transparent 35%), #04111d;
}
.lab-particle-field, .lab-grid-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.lab-grid-overlay { opacity: .32; background-image: linear-gradient(rgba(71, 157, 188, .13) 1px, transparent 1px), linear-gradient(90deg, rgba(71, 157, 188, .13) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, black, transparent 92%); }
.lab-hero-inner { width: 100%; position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(400px, .95fr); align-items: center; gap: clamp(40px, 7vw, 110px); padding-top: 90px; padding-bottom: 90px; }
.lab-hero-copy { max-width: 790px; }
.lab-kicker, .lab-section-head > p, .lab-final > .shell > p { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; color: #139caa; font: 800 11px/1.2 Inter, sans-serif; letter-spacing: .2em; }
.lab-kicker i, .lab-system-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--lab-cyan); box-shadow: 0 0 13px var(--lab-cyan); }
.lab-hero h1 { max-width: 830px; margin-bottom: 30px; color: #f1faff; font: 800 clamp(43px, 5.3vw, 82px)/.98 Inter, sans-serif; letter-spacing: -.055em; }
.lab-hero-copy > p:not(.lab-kicker) { max-width: 690px; color: #9bb3c3; font: 500 clamp(16px, 1.35vw, 20px)/1.72 Inter, sans-serif; }
.lab-hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.lab-primary { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 30px; padding: 0 24px; border: 1px solid #10bdae; border-radius: 7px; color: #f5ffff; background: linear-gradient(120deg, #087e7f, #0b9f94); box-shadow: 0 18px 50px rgba(5, 169, 155, .16); font: 750 14px/1 Inter, sans-serif; text-decoration: none; transition: transform .2s, border-color .2s, box-shadow .2s; }
.lab-primary:hover { transform: translateY(-2px); box-shadow: 0 21px 60px rgba(5, 169, 155, .25); }
.lab-primary.compact { min-height: 48px; }
.lab-primary span { color: #8ffff1; }
.lab-system-status { display: inline-flex; align-items: center; gap: 9px; color: #7190a3; font: 700 9px/1 Inter, sans-serif; letter-spacing: .16em; }
.lab-hero-orb { width: min(38vw, 510px); aspect-ratio: 1; position: relative; justify-self: center; display: grid; place-items: center; }
.orb-ring { position: absolute; inset: 10%; border: 1px solid rgba(37, 208, 207, .25); border-radius: 50%; }
.orb-ring::before, .orb-ring::after { content: ''; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--lab-cyan); box-shadow: 0 0 16px var(--lab-cyan); }
.orb-ring::before { top: 12%; left: 20%; }.orb-ring::after { right: 11%; bottom: 28%; }
.ring-a { animation: orb-spin 22s linear infinite; }.ring-b { inset: 23%; border-style: dashed; animation: orb-spin 14s linear infinite reverse; }.ring-c { inset: 36%; animation: orb-spin 9s linear infinite; }
.orb-core { width: 28%; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(47, 234, 221, .45); border-radius: 50%; background: radial-gradient(circle, rgba(20, 215, 199, .2), rgba(4, 18, 30, .8) 68%); box-shadow: 0 0 70px rgba(22, 223, 194, .16); }
.orb-core img { width: 64%; height: auto; filter: brightness(0) invert(1); opacity: .88; }
.orb-label { position: absolute; padding: 9px 12px; border: 1px solid rgba(77, 168, 255, .19); color: #6fa7b9; background: rgba(5, 23, 36, .72); font: 700 8px/1 Inter, sans-serif; letter-spacing: .13em; backdrop-filter: blur(10px); }
.label-a { top: 4%; left: 14%; }.label-b { top: 30%; right: -2%; }.label-c { bottom: 9%; left: 9%; }.label-d { bottom: 24%; right: 5%; }
@keyframes orb-spin { to { transform: rotate(360deg); } }

.lab-local-nav { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid rgba(96, 152, 176, .17); background: rgba(4, 19, 31, .94); backdrop-filter: blur(16px); }
.lab-local-nav a { min-height: 68px; display: flex; align-items: center; justify-content: center; gap: 12px; border-right: 1px solid rgba(96, 152, 176, .14); color: #a6bac5; font: 700 12px/1 Inter, sans-serif; text-decoration: none; transition: color .2s, background .2s; }
.lab-local-nav a:hover { color: white; background: rgba(22, 223, 194, .06); }
.lab-local-nav span { color: var(--lab-cyan); font: 800 8px/1 Inter, sans-serif; letter-spacing: .1em; }

.lab-section { padding: clamp(88px, 9vw, 150px) 0; }
.lab-section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .65fr); align-items: end; gap: 30px 70px; margin-bottom: clamp(45px, 6vw, 80px); }
.lab-section-head > p { grid-column: 1 / -1; margin-bottom: -5px; }
.lab-section-head h2 { max-width: 850px; margin-bottom: 0; color: var(--lab-ink); font: 800 clamp(36px, 4.3vw, 66px)/1.02 Inter, sans-serif; letter-spacing: -.052em; }
.lab-section-head > span { max-width: 610px; color: #667e90; font: 500 16px/1.72 Inter, sans-serif; }
.lab-section-head.light h2 { color: #f2faff; }
.lab-section-head.light > span { color: #7893a5; }

.architecture-lab { background: linear-gradient(180deg, #f4fafc, #eaf4f7); }
.architecture-workbench { display: grid; grid-template-columns: minmax(330px, 430px) minmax(0, 1fr); gap: 22px; align-items: start; }
.lab-wizard, .architecture-console { border: 1px solid #c7dce5; border-radius: var(--lab-radius); background: rgba(255, 255, 255, .9); box-shadow: 0 28px 80px rgba(28, 76, 94, .08); }
.lab-wizard { position: sticky; top: 90px; overflow: hidden; transition: opacity .3s, transform .45s, max-height .5s; }
.lab-wizard.is-collapsed { max-height: 86px; opacity: .72; }
.lab-wizard.is-collapsed .wizard-body, .lab-wizard.is-collapsed .wizard-footer, .lab-wizard.is-collapsed .wizard-error { display: none; }
.wizard-steps { display: grid; grid-template-columns: repeat(6, 1fr); border-bottom: 1px solid #d8e6ec; }
.wizard-steps button { min-width: 0; min-height: 68px; display: grid; place-items: center; gap: 4px; padding: 8px 3px; border: 0; border-right: 1px solid #e0ebef; color: #7a8f9d; background: transparent; font: 650 8px/1.1 Inter, sans-serif; overflow: hidden; }
.wizard-steps button span { color: #78a0b2; font: 800 8px/1 Inter, sans-serif; }
.wizard-steps button.active { color: #05283a; background: #edf8f8; box-shadow: inset 0 -2px var(--lab-cyan); }
.wizard-steps button.complete span { color: #069e8e; }
.wizard-body { min-height: 560px; padding: 28px; }
.step-intro { margin-bottom: 25px; }
.step-intro > span { display: block; margin-bottom: 8px; color: #079b9d; font: 800 9px/1 Inter, sans-serif; letter-spacing: .14em; }
.step-intro h3 { margin-bottom: 9px; color: #092235; font: 780 25px/1.12 Inter, sans-serif; letter-spacing: -.025em; }
.step-intro p { margin-bottom: 0; color: #728896; font: 500 13px/1.55 Inter, sans-serif; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice-grid button { min-height: 52px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #d0e1e7; border-radius: 7px; color: #294354; background: #fbfdfe; font: 650 11px/1.35 Inter, sans-serif; text-align: left; transition: .2s; }
.choice-grid button i { width: 8px; height: 8px; flex: 0 0 auto; border: 1px solid #7fa3b2; border-radius: 50%; }
.choice-grid button:hover { border-color: #6cb9bc; }
.choice-grid button.active, .choice-grid button[aria-pressed="true"] { border-color: #0bb5a7; color: #052f3d; background: #e9f9f7; box-shadow: inset 0 0 0 1px rgba(11, 181, 167, .08); }
.choice-grid button.active i, .choice-grid button[aria-pressed="true"] i { border-color: var(--lab-cyan); background: #07ac9c; box-shadow: 0 0 0 3px rgba(7, 172, 156, .13); }
.compact-grid button { min-height: 45px; }
.wizard-body > h4 { margin: 25px 0 10px; color: #4c6675; font: 750 10px/1 Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.range-grid { display: grid; gap: 15px; }
.range-grid.two { grid-template-columns: 1fr 1fr; margin: 25px 0 5px; }
.range-field { display: grid; gap: 8px; }
.range-field > span { display: flex; justify-content: space-between; color: #496473; font: 650 11px/1.2 Inter, sans-serif; }
.range-field output { color: #087f80; font-weight: 800; }
.range-field > div { display: grid; grid-template-columns: minmax(70px, 1fr) 68px auto; align-items: center; gap: 8px; }
.range-field input[type="range"] { width: 100%; accent-color: #07a89c; }
.range-field input[type="number"], .select-field select { width: 100%; min-height: 38px; border: 1px solid #ccdfe6; border-radius: 6px; color: #183344; background: white; padding: 0 8px; }
.range-field em { color: #77909d; font: normal 650 10px/1 Inter, sans-serif; }
.select-field { display: grid; grid-template-columns: 1fr 110px; align-items: center; gap: 16px; margin-bottom: 20px; color: #496473; font: 650 12px/1.3 Inter, sans-serif; }
.toggle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 20px; }
.lab-toggle { min-height: 48px; display: flex; align-items: center; gap: 10px; padding: 8px 11px; border: 1px solid #d6e4e9; border-radius: 7px; color: #3e5968; background: #fbfdfe; }
.lab-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.lab-toggle > span { width: 30px; height: 17px; flex: 0 0 auto; position: relative; border-radius: 20px; background: #9eb0ba; transition: .2s; }
.lab-toggle > span::after { content: ''; position: absolute; width: 11px; height: 11px; top: 3px; left: 3px; border-radius: 50%; background: white; transition: .2s; }
.lab-toggle input:checked + span { background: #08a99c; }.lab-toggle input:checked + span::after { transform: translateX(13px); }
.lab-toggle b { font: 650 10px/1.25 Inter, sans-serif; }
.config-review { display: grid; gap: 0; margin: 0; border-top: 1px solid #dbe7ec; }
.config-review div { padding: 13px 0; border-bottom: 1px solid #dbe7ec; }
.config-review dt { margin-bottom: 5px; color: #77909e; font: 700 9px/1 Inter, sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.config-review dd { margin: 0; color: #183345; font: 600 11px/1.45 Inter, sans-serif; }
.lab-build-button { width: 100%; min-height: 58px; display: flex; align-items: center; justify-content: space-between; margin-top: 22px; padding: 0 18px; border: 1px solid #079f96; border-radius: 7px; color: white; background: linear-gradient(120deg, #087e7f, #0a9e91); font: 760 12px/1 Inter, sans-serif; }
.lab-build-button i { font-style: normal; color: #8ffff1; font-size: 18px; }
.wizard-error { min-height: 18px; margin: 0 28px; color: #b83b51; font: 650 11px/1.4 Inter, sans-serif; }
.wizard-footer { min-height: 70px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 10px 20px; border-top: 1px solid #d8e6ec; }
.wizard-footer .lab-primary { justify-self: end; }.wizard-footer [data-step-count] { color: #74909f; font: 800 9px/1 Inter, sans-serif; letter-spacing: .12em; }
.lab-secondary { min-height: 44px; padding: 0 15px; border: 1px solid #c4d9e1; border-radius: 6px; color: #536e7d; background: transparent; font: 700 11px/1 Inter, sans-serif; }

.architecture-console { overflow: hidden; background: #061725; border-color: #14394c; color: #dceef4; }
.console-topline { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 22px; border-bottom: 1px solid rgba(78, 140, 166, .2); color: #6e93a6; font: 800 8px/1 Inter, sans-serif; letter-spacing: .16em; }
.console-topline b { color: var(--lab-cyan); font: inherit; }
.architecture-progress { height: 3px; position: relative; background: rgba(72, 168, 255, .08); }
.architecture-progress i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--lab-cyan), var(--lab-blue)); box-shadow: 0 0 12px var(--lab-cyan); }
.architecture-progress span { position: absolute; top: 8px; right: 15px; color: #6f99aa; font: 750 8px/1 Inter, sans-serif; }
.architecture-visual { min-height: 570px; position: relative; overflow: hidden; background-image: linear-gradient(rgba(68, 138, 162, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(68, 138, 162, .1) 1px, transparent 1px), radial-gradient(circle at 50% 50%, rgba(22, 223, 194, .06), transparent 38%); background-size: 42px 42px, 42px 42px, auto; }
.architecture-visual svg { width: 100%; min-height: 570px; display: block; overflow: visible; }
.blueprint-origin { position: absolute; left: 50%; top: 48%; display: grid; place-items: center; transform: translate(-50%, -50%); color: #3f7183; font: 800 7px/1 Inter, sans-serif; letter-spacing: .12em; pointer-events: none; }
.blueprint-origin i { width: 36px; height: 36px; margin-bottom: 8px; border: 1px solid rgba(22, 223, 194, .45); border-radius: 50%; box-shadow: 0 0 30px rgba(22, 223, 194, .15); }
.architecture-console.is-building .blueprint-origin, .architecture-console.is-ready .blueprint-origin { opacity: 0; }
.architecture-scan { width: 24%; height: 100%; position: absolute; inset: 0 auto 0 -25%; opacity: 0; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(34, 218, 209, .08), rgba(95, 207, 255, .2), transparent); border-right: 1px solid rgba(103, 241, 232, .3); }
.arch-edge { fill: none; stroke: url(#labEdge); stroke-width: 1.7; opacity: .68; vector-effect: non-scaling-stroke; }
.arch-edge.reserve { stroke: #826fff; stroke-dasharray: 7 5; }.arch-edge.security { stroke: #25e4b9; stroke-width: 2.2; }.arch-edge.telemetry { stroke: #3a8fae; stroke-dasharray: 2 5; }.arch-edge.media { stroke: #9a78f3; }
.arch-node { cursor: pointer; transform-box: fill-box; transform-origin: center; }
.arch-node rect { fill: #092334; stroke: #2f6c83; stroke-width: 1; vector-effect: non-scaling-stroke; }
.arch-node:hover rect, .arch-node:focus rect { stroke: #21dfca; fill: #0b2d3e; }
.arch-node text { fill: #dcecf2; font-family: Inter, sans-serif; font-size: 9px; font-weight: 700; pointer-events: none; }
.arch-node .node-index { fill: #47c9c2; font-size: 7px; letter-spacing: .1em; }.arch-node .node-status { fill: #63899b; font-size: 6px; letter-spacing: .12em; }.arch-node circle { fill: var(--lab-cyan); filter: drop-shadow(0 0 4px var(--lab-cyan)); }
.data-packet { fill: #eaffff; filter: drop-shadow(0 0 4px #21f4d6); }.data-packet.reserve { fill: #9c8bff; }.data-packet.telemetry { fill: #55bdeb; }
.node-inspector { width: min(330px, calc(100% - 28px)); min-height: 105px; position: absolute; left: 14px; bottom: 14px; padding: 14px 16px; border: 1px solid rgba(61, 129, 157, .4); border-radius: 8px; color: #8ea9b6; background: rgba(4, 19, 31, .91); backdrop-filter: blur(12px); }
.node-inspector > span { display: block; margin-bottom: 7px; color: #28cabe; font: 800 7px/1 Inter, sans-serif; letter-spacing: .13em; }.node-inspector strong { display: block; color: #f2fcff; font: 750 13px/1.2 Inter, sans-serif; }.node-inspector p { margin: 5px 0 0; font: 500 10px/1.35 Inter, sans-serif; }
.node-inspector dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 12px 0 0; border-top: 1px solid rgba(74, 139, 164, .25); }.node-inspector dl div { padding-top: 9px; }.node-inspector dt { color: #577e8e; font: 750 6px/1 Inter, sans-serif; letter-spacing: .1em; }.node-inspector dd { margin: 4px 0 0; color: #b8d3dc; font: 700 8px/1 Inter, sans-serif; }
.build-controls { min-height: 64px; display: flex; justify-content: flex-end; gap: 8px; padding: 10px 14px; border-top: 1px solid rgba(73, 139, 165, .2); }
.build-controls button, .result-actions button { min-height: 42px; padding: 0 13px; border: 1px solid rgba(79, 142, 166, .4); border-radius: 5px; color: #9eb7c3; background: rgba(8, 34, 50, .6); font: 700 9px/1 Inter, sans-serif; }
.architecture-result { padding: 25px; border-top: 1px solid rgba(73, 139, 165, .2); background: #081c2a; }
.result-heading { display: flex; justify-content: space-between; gap: 25px; }
.result-heading small { color: #27cabe; font: 800 8px/1 Inter, sans-serif; letter-spacing: .13em; }.result-heading h3 { margin: 7px 0; color: #eefaff; font: 760 18px/1.25 Inter, sans-serif; }.result-heading p { margin: 0; color: #718f9e; font: 500 11px/1.5 Inter, sans-serif; }
.result-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }.result-actions a { min-height: 42px; display: inline-flex; align-items: center; gap: 12px; padding: 0 13px; border-radius: 5px; color: #052c32; background: var(--lab-cyan); font: 750 9px/1 Inter, sans-serif; text-decoration: none; }
.result-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 22px 0; background: rgba(70, 133, 158, .22); }.result-metrics div { min-height: 78px; padding: 14px; background: #071b29; }.result-metrics b { display: block; color: #eafaff; font: 760 16px/1 Inter, sans-serif; }.result-metrics span { display: block; margin-top: 7px; color: #6f90a0; font: 650 8px/1.25 Inter, sans-serif; text-transform: uppercase; letter-spacing: .06em; }
.result-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }.result-columns h4 { margin: 0 0 12px; color: #a9c4cf; font: 740 10px/1 Inter, sans-serif; }.result-columns ul { margin: 0; padding: 0; list-style: none; }.result-columns li { position: relative; padding: 6px 0 6px 14px; color: #7f9dab; font: 500 10px/1.4 Inter, sans-serif; }.result-columns li::before { content: ''; width: 5px; height: 5px; position: absolute; left: 0; top: 11px; border-radius: 50%; background: var(--lab-cyan); }

.defense-lab, .partner-lab { background: #04111d; color: #eaf8fc; }
.defense-console { overflow: hidden; border: 1px solid #183e52; border-radius: var(--lab-radius); background: #061725; box-shadow: 0 30px 90px rgba(0, 0, 0, .22); }
.scenario-tabs { display: flex; overflow-x: auto; scrollbar-width: thin; border-bottom: 1px solid #18394b; }
.scenario-tabs button { min-width: 180px; min-height: 58px; flex: 1 0 auto; padding: 0 16px; border: 0; border-right: 1px solid #18394b; color: #7190a1; background: transparent; font: 700 10px/1.25 Inter, sans-serif; }
.scenario-tabs button.active { color: #f3ffff; background: rgba(16, 173, 159, .08); box-shadow: inset 0 -2px var(--lab-cyan); }
.defense-toolbar { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 8px 18px; border-bottom: 1px solid #18394b; }
.defense-state { display: inline-flex; align-items: center; gap: 9px; color: #8aa8b6; font: 800 8px/1.2 Inter, sans-serif; letter-spacing: .1em; }.defense-state i { width: 7px; height: 7px; border-radius: 50%; background: var(--lab-blue); box-shadow: 0 0 10px var(--lab-blue); }
.defense-toolbar > div { display: flex; gap: 7px; }.defense-toolbar button { min-height: 38px; padding: 0 11px; border: 1px solid #285066; border-radius: 5px; color: #91adba; background: #081e2c; font: 700 9px/1 Inter, sans-serif; }
.simulation-brief { padding: 17px 18px 14px; border-bottom: 1px solid #18394b; background: linear-gradient(90deg, rgba(12, 49, 66, .72), rgba(5, 22, 33, .92)); }
.simulation-brief > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }.simulation-brief header > span, .simulation-details small { color: #6f98a9; font: 800 7px/1 Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; }.simulation-outcome { padding: 7px 9px; border: 1px solid #2a6170; border-radius: 999px; color: #dffdf8; background: rgba(23, 173, 160, .13); font: 800 8px/1 Inter, sans-serif; letter-spacing: .06em; }.simulation-outcome.impact { border-color: rgba(255, 96, 120, .6); color: #ffc9d2; background: rgba(255, 64, 95, .13); }.simulation-outcome.recovered { border-color: rgba(232, 168, 68, .55); color: #ffe0a9; background: rgba(232, 168, 68, .11); }
.simulation-metrics { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; margin-top: 13px; background: rgba(87, 145, 165, .2); }.simulation-metrics div { min-height: 57px; padding: 10px; background: rgba(3, 19, 30, .72); }.simulation-metrics b { display: block; color: #eafcff; font: 780 13px/1 Inter, sans-serif; }.simulation-metrics span { display: block; margin-top: 6px; color: #6f95a5; font: 700 7px/1.15 Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.simulation-details { display: grid; grid-template-columns: .85fr 1.35fr; gap: 20px; margin-top: 14px; }.simulation-details p, .simulation-details ul { margin: 8px 0 0; }.simulation-controls { display: flex; flex-wrap: wrap; gap: 6px; }.simulation-controls span { padding: 5px 7px; border: 1px solid #294e5f; border-radius: 4px; color: #72909d; font: 700 8px/1 Inter, sans-serif; }.simulation-controls span.on { border-color: rgba(32, 210, 190, .5); color: #73e6d7; background: rgba(22, 223, 194, .08); }.simulation-details ul { padding-left: 15px; color: #97b2bd; font: 500 9px/1.45 Inter, sans-serif; }.simulation-details li + li { margin-top: 4px; }.simulation-disclaimer { margin: 13px 0 0; color: #668494; font: 500 8px/1.45 Inter, sans-serif; }
.defense-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; min-height: 480px; }
.threat-canvas { min-height: 480px; position: relative; overflow: hidden; border-right: 1px solid #18394b; background-image: linear-gradient(rgba(50, 114, 140, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(50, 114, 140, .09) 1px, transparent 1px), radial-gradient(circle at 50% 45%, rgba(25, 92, 117, .13), transparent 45%); background-size: 42px 42px, 42px 42px, auto; }
.threat-canvas svg { width: 100%; height: 100%; position: absolute; inset: 0; overflow: visible; }
.threat-canvas path { fill: none; stroke: #21485a; stroke-width: .35; stroke-dasharray: 1.2 1.2; vector-effect: non-scaling-stroke; transition: stroke .3s, filter .3s; }
.threat-canvas path.threat { stroke: #ff405f; filter: drop-shadow(0 0 4px rgba(255, 64, 95, .8)); animation: dash-flow .65s linear infinite; }.threat-canvas path.analysis { stroke: #e8a844; }.threat-canvas path.safe { stroke: #16dfc2; }
@keyframes dash-flow { to { stroke-dashoffset: -4.8; } }
.threat-node { width: 130px; min-height: 72px; position: absolute; left: var(--x); top: var(--y); z-index: 2; display: grid; align-content: center; gap: 7px; transform: translate(-50%, -50%); padding: 10px 12px; border: 1px solid #28566a; border-radius: 8px; color: #c5dbe3; background: #092131; text-align: left; transition: border-color .25s, box-shadow .25s, transform .25s; }
.threat-node i { color: #5b8a9d; font: normal 750 7px/1 Inter, sans-serif; }.threat-node span { font: 700 10px/1.25 Inter, sans-serif; }.threat-node b { width: 7px; height: 7px; position: absolute; left: 12px; bottom: 9px; border-radius: 50%; background: #3d7185; }
.threat-node.current { transform: translate(-50%, -50%) scale(1.05); }.threat-node.threat { border-color: #ff405f; box-shadow: 0 0 25px rgba(255, 64, 95, .18); }.threat-node.threat b { background: #ff405f; box-shadow: 0 0 10px #ff405f; }.threat-node.analysis { border-color: #e8a844; box-shadow: 0 0 25px rgba(232, 168, 68, .15); }.threat-node.analysis b { background: #e8a844; }.threat-node.system { border-color: var(--lab-blue); }.threat-node.system b { background: var(--lab-blue); }.threat-node.safe { border-color: var(--lab-cyan); box-shadow: 0 0 25px rgba(22, 223, 194, .16); }.threat-node.safe b { background: var(--lab-cyan); box-shadow: 0 0 10px var(--lab-cyan); }
.threat-pulse { width: 14px; height: 14px; position: absolute; z-index: 3; left: var(--pulse-x, 8%); top: var(--pulse-y, 20%); border: 2px solid var(--lab-blue); border-radius: 50%; opacity: 0; transform: translate(-50%, -50%); pointer-events: none; transition: left .55s cubic-bezier(.2,.75,.25,1), top .55s cubic-bezier(.2,.75,.25,1), border-color .2s, opacity .2s; }.threat-pulse::after { content: ''; position: absolute; inset: -8px; border: 1px solid currentColor; border-radius: 50%; opacity: .55; animation: threat-ring 1.15s ease-out infinite; }.threat-pulse.active { opacity: 1; color: var(--lab-blue); box-shadow: 0 0 18px currentColor; }.threat-pulse.threat { color: #ff405f; border-color: #ff405f; }.threat-pulse.analysis { color: #e8a844; border-color: #e8a844; }.threat-pulse.safe { color: var(--lab-cyan); border-color: var(--lab-cyan); }.threat-pulse.system { color: var(--lab-blue); border-color: var(--lab-blue); }
@keyframes threat-ring { from { transform: scale(.35); opacity: .75; } to { transform: scale(1.6); opacity: 0; } }
.event-log { display: grid; grid-template-rows: 52px minmax(0, 1fr); background: #051520; }
.event-log header { display: flex; align-items: center; justify-content: space-between; padding: 0 14px; border-bottom: 1px solid #18394b; color: #63889a; font: 800 8px/1 Inter, sans-serif; letter-spacing: .1em; }.event-log header b { color: #27cabf; }
.event-log ol { max-height: 428px; overflow-y: auto; margin: 0; padding: 10px 14px; list-style: none; scrollbar-color: #25536a transparent; }
.event-log li { display: grid; grid-template-columns: 35px 60px 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid rgba(57, 107, 128, .18); }.event-log time { color: #55798a; font: 650 8px/1.3 Inter, sans-serif; }.event-log li > span { color: var(--lab-blue); font: 800 7px/1.3 Inter, sans-serif; letter-spacing: .05em; }.event-log p { margin: 0; color: #91aab5; font: 500 9px/1.4 Inter, sans-serif; }.event-log li.threat > span { color: #ff6078; }.event-log li.analysis > span { color: #e8a844; }.event-log li.safe > span { color: var(--lab-cyan); }
.threat-timeline { display: flex; margin: 0; padding: 16px 20px; border-top: 1px solid #18394b; list-style: none; }.threat-timeline li { min-width: 20px; flex: 1; position: relative; display: flex; align-items: center; }.threat-timeline li::after { content: ''; height: 1px; flex: 1; background: #25495b; }.threat-timeline li:last-child::after { display: none; }.threat-timeline i { width: 9px; height: 9px; border: 1px solid #396579; border-radius: 50%; }.threat-timeline span { position: absolute; top: 13px; left: -1px; color: #4f7486; font: 700 6px/1 Inter, sans-serif; }.threat-timeline li.current i { border-color: #e8a844; background: #e8a844; box-shadow: 0 0 10px rgba(232, 168, 68, .8); }.threat-timeline li.done i, .threat-timeline li.done::after { border-color: var(--lab-cyan); background: var(--lab-cyan); }
.defense-footer { min-height: 75px; display: flex; justify-content: flex-end; align-items: center; gap: 10px; padding: 12px 18px; border-top: 1px solid #18394b; }
.defense-console.is-contained .defense-state { color: #58e4cf; }.defense-console.is-contained .defense-state i { background: var(--lab-cyan); box-shadow: 0 0 12px var(--lab-cyan); }

.showroom-lab { background: linear-gradient(180deg, #eef6f9, #e7f1f5); }
.showroom-zone-tabs { display: flex; overflow-x: auto; scrollbar-width: thin; margin-bottom: 14px; border: 1px solid #c6dbe3; border-radius: 10px; background: rgba(255, 255, 255, .72); }
.showroom-zone-tabs button { min-width: 190px; min-height: 58px; flex: 1 0 auto; display: flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-right: 1px solid #d6e5eb; color: #577180; background: transparent; font: 700 10px/1.2 Inter, sans-serif; }.showroom-zone-tabs button span { color: #149d9d; font-size: 8px; }.showroom-zone-tabs button.active, .showroom-zone-tabs button[aria-selected="true"] { color: #062b3b; background: #e8f8f6; box-shadow: inset 0 -2px var(--lab-cyan); }
.showroom-configurator { margin: 0 0 14px; padding: 17px 18px; border: 1px solid #bfd5de; border-radius: 10px; background: rgba(255,255,255,.78); box-shadow: 0 12px 28px rgba(31,77,98,.07); }.showroom-configurator header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }.showroom-configurator header span { display: block; color: #089f9e; font: 800 7px/1 Inter,sans-serif; letter-spacing: .14em; }.showroom-configurator header strong { display: block; margin-top: 7px; color: #133346; font: 750 15px/1.2 Inter,sans-serif; }.showroom-configurator header p { margin: 2px 0 0; color: #5a7481; font: 700 10px/1.3 Inter,sans-serif; }.showroom-config-fields { display: grid; grid-template-columns: repeat(5,minmax(130px,1fr)); gap: 10px; margin-top: 16px; }.showroom-config-fields label { min-width: 0; display: grid; gap: 7px; color: #55717e; font: 750 8px/1.15 Inter,sans-serif; letter-spacing: .04em; text-transform: uppercase; }.showroom-config-fields select { min-width: 0; min-height: 40px; padding: 0 28px 0 10px; border: 1px solid #c7dce4; border-radius: 6px; color: #18384a; background: #fbfeff; font: 700 10px/1 Inter,sans-serif; }.showroom-configurator footer { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-top:14px; padding-top:12px; border-top:1px solid #dbe8ed; }.showroom-configurator footer b { color:#31866f; font:700 9px/1.35 Inter,sans-serif; }.showroom-configurator footer .config-warning { color:#a96b22; }.showroom-configurator footer button { min-height:38px; padding:0 11px; border:1px solid #c5dae1; border-radius:6px; color:#315566; background:#f2f8fa; font:700 9px/1 Inter,sans-serif; }.showroom-config-note { display:flex; align-items:center; gap:14px; color:#63808d; font:600 10px/1.45 Inter,sans-serif; }.showroom-config-note b { flex:0 0 auto; color:#174255; font:750 11px/1.2 Inter,sans-serif; }
.showroom-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; min-height: 650px; border: 1px solid #bfd4de; border-radius: var(--lab-radius); overflow: hidden; background: white; box-shadow: 0 30px 80px rgba(31, 77, 98, .12); }
.showroom-webgl { min-width: 0; min-height: 650px; position: relative; overflow: hidden; background: linear-gradient(145deg, #edf3f5, #dce7ea); touch-action: none; }
.showroom-canvas { width: 100%; height: 100%; display: block; }
.showroom-loader { position: absolute; inset: 0; z-index: 5; display: grid; place-content: center; justify-items: center; gap: 16px; color: #557785; background: linear-gradient(145deg, #f2f7f8, #dce8eb); font: 800 8px/1 Inter, sans-serif; letter-spacing: .13em; }.showroom-loader i { width: 52px; height: 52px; border: 1px solid #9ebbc4; border-top-color: var(--lab-cyan); border-radius: 50%; animation: orb-spin .9s linear infinite; }
.showroom-hud { width: 100%; min-height: 52px; position: absolute; z-index: 3; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; color: #315968; font: 800 7px/1 Inter, sans-serif; letter-spacing: .13em; text-shadow: 0 1px 2px rgba(255,255,255,.85); pointer-events: none; }.showroom-hud span { display: flex; align-items: center; gap: 8px; }.showroom-hud i { width: 6px; height: 6px; border-radius: 50%; background: var(--lab-cyan); box-shadow: 0 0 10px rgba(0,174,173,.55); }
.showroom-hotspots { position: absolute; inset: 0; z-index: 3; pointer-events: none; }.showroom-hotspots[hidden] { display: none; }.webgl-hotspot { width: 44px; min-width: 44px; min-height: 44px; position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 0; overflow: hidden; border: 1px solid rgba(19, 137, 143, .48); border-radius: 50%; color: #174150; background: rgba(250, 253, 253, .9); box-shadow: 0 8px 22px rgba(28, 65, 78, .12); backdrop-filter: blur(10px); font: 760 7px/1 Inter, sans-serif; letter-spacing: .08em; pointer-events: auto; transform-origin: left top; transition: width .2s, max-width .2s, padding .2s, border-radius .2s, background .2s; }.webgl-hotspot span { max-width: 0; overflow: hidden; opacity: 0; white-space: nowrap; transition: max-width .2s, opacity .15s; }.webgl-hotspot i { width: 10px; height: 10px; flex: 0 0 auto; border: 1px solid #009d9c; border-radius: 50%; }.webgl-hotspot:hover, .webgl-hotspot:focus-visible, .webgl-hotspot.active { width: auto; max-width: 210px; justify-content: flex-start; padding: 7px 11px; border-radius: 7px; color: #062f3b; border-color: #00aead; background: rgba(255,255,255,.97); box-shadow: 0 10px 26px rgba(12, 106, 112, .2); }.webgl-hotspot:hover span, .webgl-hotspot:focus-visible span, .webgl-hotspot.active span { max-width: 160px; opacity: 1; }.webgl-hotspot.active i { background: #00aead; box-shadow: 0 0 10px rgba(0,174,173,.55); }
.showroom-controls { position: absolute; z-index: 4; left: 14px; right: 14px; bottom: 14px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; pointer-events: none; }.showroom-controls button { min-height: 44px; padding: 0 12px; border: 1px solid rgba(63, 105, 119, .35); border-radius: 6px; color: #eaf9fb; background: rgba(18, 45, 55, .84); box-shadow: 0 7px 18px rgba(17,46,56,.14); backdrop-filter: blur(10px); font: 700 9px/1 Inter, sans-serif; pointer-events: auto; }.showroom-controls button[aria-pressed="true"] { border-color: #0db6ac; color: white; background: rgba(3, 102, 103, .9); }
.showroom-info { display: flex; flex-direction: column; padding: 35px 28px; border-left: 1px solid #cfdee5; background: #fbfdfe; }.showroom-info > span { color: #059f9f; font: 800 8px/1 Inter, sans-serif; letter-spacing: .15em; }.showroom-info h3 { margin: 33px 0 18px; color: #082236; font: 780 clamp(29px, 2.5vw, 40px)/1 Inter, sans-serif; letter-spacing: -.045em; }.showroom-info > p { color: #687f90; font: 500 13px/1.62 Inter, sans-serif; }.showroom-info > ul { margin: 15px 0; padding: 0; list-style: none; }.showroom-info > ul li { padding: 8px 0; border-bottom: 1px solid #d9e6eb; color: #607a89; font: 600 10px/1.3 Inter, sans-serif; }
.showroom-equipment { margin-top: auto; padding: 18px; border: 1px solid #cddfe6; border-radius: 9px; background: #f0f7f9; }.showroom-equipment span { display: block; margin-bottom: 8px; color: #089f9e; font: 800 7px/1 Inter, sans-serif; letter-spacing: .12em; }.showroom-equipment strong { display: block; color: #153244; font: 740 13px/1.25 Inter, sans-serif; }.showroom-equipment p { margin: 7px 0 0; color: #718896; font: 500 10px/1.45 Inter, sans-serif; }
.showroom-fallback { position: absolute; inset: 60px 20px 70px; overflow: auto; padding: 22px; color: #526e7b; background: rgba(250,253,253,.95); border: 1px solid #bed4dc; border-radius: 10px; }.showroom-fallback strong { color: #0a2f3f; }.showroom-fallback p { padding: 12px 0; border-bottom: 1px solid #d4e3e7; font-size: 12px; }
.showroom-webgl.text-mode .showroom-canvas, .showroom-webgl.text-mode .showroom-hotspots, .showroom-webgl.text-mode .showroom-hud { visibility: hidden; }
.showroom-webgl.text-mode .showroom-fallback { display: block; }

.partner-lab-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.partner-lab-filters { min-width: 0; display: flex; overflow-x: auto; scrollbar-width: thin; gap: 8px; padding-bottom: 4px; }.partner-lab-filters button { min-width: max-content; min-height: 42px; padding: 0 14px; border: 1px solid #214658; border-radius: 5px; color: #7795a3; background: transparent; font: 700 9px/1 Inter, sans-serif; }.partner-lab-filters button.active { color: #eaffff; border-color: #10bcae; background: rgba(16, 188, 174, .08); }.partner-lab-toolbar > span { flex: 0 0 auto; color: #6e8b99; font: 650 9px/1 Inter, sans-serif; }.partner-lab-toolbar > span b { color: var(--lab-cyan); }
.partner-orbit-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.partner-orbit-grid a { min-width: 0; min-height: 172px; position: relative; display: grid; grid-template-rows: 64px auto auto; align-content: center; gap: 10px; padding: 18px; border: 1px solid #173a4c; border-radius: 9px; color: #b3c9d2; background: #071925; text-decoration: none; animation: partner-in .45s both; animation-delay: var(--delay); transition: transform .2s, border-color .2s, background .2s; }.partner-orbit-grid a:hover, .partner-orbit-grid a:focus-visible { transform: translateY(-3px); border-color: #267a87; background: #09202e; }.partner-orbit-grid a.is-relevant { border-color: rgba(22, 223, 194, .58); background: linear-gradient(145deg, rgba(15, 132, 126, .14), #071925 55%); }.partner-orbit-grid a > span { min-width: 0; min-height: 58px; display: flex; align-items: center; justify-content: center; padding: 8px 12px; border-radius: 7px; background: #f7f9fb; }.partner-orbit-grid img { width: 100%; max-width: 126px; height: 42px; max-height: 42px; object-fit: contain; filter: none; opacity: 1; transition: transform .2s; }.partner-orbit-grid a:hover img, .partner-orbit-grid a:focus-visible img { transform: scale(1.025); }.partner-orbit-grid b { min-width: 0; font: 700 10px/1.25 Inter, sans-serif; }.partner-orbit-grid small { color: #607f8f; font: 500 8px/1.35 Inter, sans-serif; }.partner-orbit-grid i { position: absolute; top: 12px; right: 12px; color: #36c9bd; font-style: normal; font-size: 11px; }
@keyframes partner-in { from { opacity: 0; transform: translateY(10px); } }

.lab-final { position: relative; overflow: hidden; color: white; background: radial-gradient(circle at 80% 40%, rgba(34, 153, 158, .18), transparent 30%), #061725; border-top: 1px solid #183e51; }
.lab-final .shell { min-height: 430px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-top: 70px; padding-bottom: 70px; }
.lab-final h2 { max-width: 900px; margin: 0 0 35px; color: #f2fbff; font: 800 clamp(38px, 5vw, 70px)/1.02 Inter, sans-serif; letter-spacing: -.05em; }

@media (max-width: 1180px) {
  .architecture-workbench { grid-template-columns: 360px minmax(0, 1fr); }
  .wizard-body { padding: 23px; }
  .partner-orbit-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .showroom-layout { grid-template-columns: minmax(0, 1fr) 290px; }
  .showroom-config-fields { grid-template-columns: repeat(3, minmax(140px, 1fr)); }
}
@media (max-width: 1024px) {
  .lab-hero-inner { grid-template-columns: minmax(0, 1fr) 340px; }
  .architecture-workbench { grid-template-columns: 1fr; }
  .lab-wizard { position: relative; top: auto; }
  .lab-wizard.is-collapsed { max-height: 82px; }
  .wizard-body { min-height: 440px; }
  .defense-grid { grid-template-columns: minmax(0, 1fr) 280px; }
  .simulation-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .showroom-layout { grid-template-columns: 1fr; }
  .showroom-info { min-height: 260px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; border-left: 0; border-top: 1px solid #cfdee5; }
  .showroom-info > span { grid-column: 1 / -1; }.showroom-info h3 { margin: 10px 0 0; }.showroom-info > p { margin: 10px 0 0; }.showroom-info > ul { margin: 0; }.showroom-equipment { margin: 0; }
  .partner-orbit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .lab-hero { min-height: auto; }
  .lab-hero-inner { grid-template-columns: 1fr; padding-top: 100px; padding-bottom: 75px; }
  .lab-hero-copy { position: relative; z-index: 1; }
  .lab-hero-orb { width: 390px; max-width: 76vw; position: absolute; right: -13%; bottom: -10%; opacity: .38; }
  .lab-local-nav { top: 0; overflow-x: auto; grid-template-columns: repeat(4, minmax(135px, 1fr)); }
  .lab-local-nav a { min-height: 58px; }
  .lab-section-head { grid-template-columns: 1fr; gap: 20px; }
  .architecture-visual, .architecture-visual svg { min-height: 620px; }
  .architecture-visual svg { height: auto; }
  .node-inspector { width: calc(100% - 28px); }
  .result-heading, .partner-lab-toolbar { align-items: flex-start; flex-direction: column; }
  .result-actions { justify-content: flex-start; }
  .result-metrics { grid-template-columns: 1fr 1fr; }
  .defense-grid { grid-template-columns: 1fr; }
  .simulation-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }.simulation-details { grid-template-columns: 1fr; }
  .threat-canvas { min-height: 620px; border-right: 0; border-bottom: 1px solid #18394b; }
  .event-log ol { max-height: 290px; }
  .showroom-webgl { min-height: 560px; }
  .showroom-configurator { padding: 14px; }.showroom-configurator header { display: block; }.showroom-configurator header p { margin-top: 8px; }.showroom-configurator footer { align-items: flex-start; flex-direction: column; }.showroom-configurator footer button { width: 100%; min-height: 44px; }
  .showroom-info { grid-template-columns: 1fr; }.showroom-info > span { grid-column: auto; }
  .partner-orbit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  :root { --lab-radius: 14px; }
  .lab-hero h1 { font-size: clamp(39px, 12.6vw, 56px); line-height: 1; letter-spacing: -.05em; }
  .lab-hero-copy > p:not(.lab-kicker) { font-size: 15px; line-height: 1.6; }
  .lab-hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .lab-primary { width: 100%; min-height: 54px; }
  .lab-section { padding: 75px 0; }
  .lab-section-head { margin-bottom: 38px; }
  .lab-section-head h2 { font-size: clamp(34px, 10vw, 47px); }
  .lab-section-head > span { font-size: 14px; }
  .wizard-steps { grid-template-columns: repeat(6, minmax(58px, 1fr)); overflow-x: auto; }
  .wizard-steps button { min-width: 58px; min-height: 60px; font-size: 0; }
  .wizard-steps button span { font-size: 8px; }
  .wizard-body { min-height: 0; padding: 22px 16px 28px; }
  .choice-grid { grid-template-columns: 1fr; }
  .choice-grid button { min-height: 48px; font-size: 11px; }
  .range-grid.two, .toggle-grid { grid-template-columns: 1fr; }
  .wizard-footer { position: sticky; bottom: 0; z-index: 4; padding: 9px 12px; background: rgba(255,255,255,.96); }
  .wizard-footer .lab-primary { width: auto; }
  .wizard-error { margin: 0 16px; }
  .lab-wizard.is-collapsed { max-height: 62px; }
  .architecture-visual { min-height: 670px; }
  .architecture-visual svg { min-height: 0; }
  .build-controls { justify-content: flex-start; overflow-x: auto; }
  .build-controls button { min-width: max-content; min-height: 44px; }
  .architecture-result { padding: 20px 15px; }
  .result-heading { display: block; }.result-actions { margin-top: 16px; }.result-actions button, .result-actions a { min-height: 44px; }
  .result-metrics { grid-template-columns: 1fr 1fr; }.result-columns { grid-template-columns: 1fr; }
  .scenario-tabs button { min-width: 150px; min-height: 54px; }
  .defense-toolbar { align-items: flex-start; flex-direction: column; padding: 13px; }.defense-toolbar > div { width: 100%; }.defense-toolbar button { min-height: 44px; flex: 1; }
  .simulation-brief { padding: 14px 13px; }.simulation-brief > header { align-items: flex-start; flex-direction: column; }.simulation-metrics { grid-template-columns: 1fr 1fr; }.simulation-metrics div:last-child { grid-column: 1 / -1; }.simulation-details { gap: 14px; }
  .threat-canvas { min-height: 720px; }
  .threat-node { width: 112px; min-height: 66px; padding: 9px; }.threat-node span { font-size: 9px; }
  .event-log li { grid-template-columns: 34px 54px 1fr; }
  .threat-timeline { overflow-x: auto; }.threat-timeline li { min-width: 50px; }
  .defense-footer .lab-primary { width: auto; }
  .showroom-zone-tabs button { min-width: 155px; min-height: 52px; }
  .showroom-config-fields { grid-template-columns: 1fr 1fr; }
  .showroom-webgl { min-height: min(610px, 72svh); }
  .showroom-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; }.showroom-controls button { min-height: 44px; padding: 0 8px; font-size: 8px; }
  .showroom-controls button:last-child { grid-column: 1 / -1; }
  .webgl-hotspot:hover:not(.active) { width: 44px; padding: 0; border-radius: 50%; }.webgl-hotspot:hover:not(.active) span { max-width: 0; opacity: 0; }
  .showroom-info { padding: 26px 20px; }
  .partner-lab-toolbar { gap: 13px; }.partner-lab-filters { width: 100%; }.partner-lab-filters button { min-height: 44px; }
  .partner-orbit-grid { grid-template-columns: 1fr 1fr; gap: 7px; }.partner-orbit-grid a { min-height: 158px; padding: 13px; }.partner-orbit-grid img { max-width: 88px; max-height: 38px; }
  .lab-final .shell { min-height: 360px; }
}
@media (max-width: 390px) {
  .lab-hero h1 { font-size: 40px; }
  .lab-kicker { font-size: 9px; }
  .range-field > div { grid-template-columns: minmax(50px, 1fr) 62px auto; }
  .console-topline { padding: 0 12px; }.console-topline span { max-width: 42%; }
  .node-inspector { min-height: 116px; }
  .showroom-config-fields { grid-template-columns: 1fr; }
  .partner-orbit-grid { grid-template-columns: 1fr; }.partner-orbit-grid a { min-height: 145px; }
}
@media (min-width: 1920px) {
  .lab-hero-inner, .lab-section > .shell, .lab-final > .shell { max-width: 1680px; }
  .architecture-workbench { grid-template-columns: 470px minmax(0, 1fr); }
  .architecture-visual, .architecture-visual svg { min-height: 680px; }
  .showroom-layout, .showroom-webgl { min-height: 760px; }
  .partner-orbit-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .btg-lab *, .btg-lab *::before, .btg-lab *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .lab-particle-field { display: none; }
}
@media print {
  body * { visibility: hidden !important; }
  .architecture-console, .architecture-console * { visibility: visible !important; }
  .architecture-console { position: absolute; inset: 0; width: 100%; border: 0; }
  .build-controls, .result-actions { display: none !important; }
}

/* v46.2 — readable, keyboard-operable simulation controls */
.scenario-tabs { flex-wrap: wrap; }
.scenario-tabs button { font-size: 14px; line-height: 1.4; min-height: 58px; color: #b6ced9; flex: 1 1 180px; }
.simulation-brief { padding: 24px; }
.simulation-brief header > span, .simulation-details small { font-size: 13px; line-height: 1.5; color: #b6ced9; letter-spacing: .03em; }
.simulation-outcome { font-size: 13px; line-height: 1.5; border-radius: 12px; }
.simulation-metrics { grid-template-columns: repeat(auto-fit,minmax(135px,1fr)); gap: 2px; }
.simulation-metrics div { min-height: 92px; padding: 16px; overflow-wrap: anywhere; }
.simulation-metrics b { font-size: 22px; line-height: 1.25; }
.simulation-metrics span { font-size: 12px; line-height: 1.5; color: #b6ced9; }
.simulation-details { grid-template-columns: 1.1fr 1fr; margin-top: 24px; }
.simulation-controls { gap: 10px; margin: 12px 0; }
.simulation-controls .simulation-control { display: flex; align-items: center; justify-content: space-between; flex: 1 1 190px; gap: 12px; min-height: 56px; padding: 12px 14px; border: 2px solid #638496; border-radius: 10px; background: #102e40; color: #f0f8fc; cursor: pointer; text-align: left; font: 600 15px/1.4 Inter, sans-serif; }
.simulation-controls .simulation-control span { padding: 0; border: 0; color: inherit; font: inherit; }
.simulation-controls .simulation-control b { flex-shrink: 0; font-size: 12px; }
.simulation-controls .simulation-control.on { border-color: #58dcc8; background: #103f43; color: #e7fff9; }
.simulation-control:focus-visible, .room-simulation button:focus-visible, .room-simulation summary:focus-visible { outline: 3px solid #ffd18a; outline-offset: 3px; }
.simulation-details ul { font-size: 15px; line-height: 1.6; color: #d2e0e8; }
.simulation-disclaimer, .simulation-hint { font-size: 13px; line-height: 1.6; color: #b6ced9; }
.simulation-recovery { min-width: 0; margin-top: 20px; padding: 14px; border: 1px solid #638496; border-radius: 10px; color: #dcebf1; }
.simulation-recovery legend { padding: 0 8px; font: 600 15px/1.5 Inter,sans-serif; }
.simulation-targets { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.simulation-targets label { display: grid; gap: 8px; font: 500 14px/1.5 Inter,sans-serif; }
.simulation-targets input { width: 100%; min-width: 0; min-height: 48px; padding: 10px; color: #effaff; background: #071b29; border: 1px solid #638496; border-radius: 6px; font: 600 18px/1.4 Inter,sans-serif; }
.defense-state, .defense-toolbar button, .defense-footer button { font-size: 14px; line-height: 1.5; min-height: 44px; }
.defense-grid { grid-template-columns: minmax(0,1fr) 360px; }
.threat-node { width: 146px; min-height: 92px; padding: 12px; }
.threat-node span { font-size: 14px; line-height: 1.35; }
.threat-node i { font-size: 12px; color: #b6ced9; }
.threat-canvas path { stroke-width: 2; }
.event-log header { font-size: 13px; line-height: 1.4; color: #b6ced9; }
.event-log li { grid-template-columns: 40px 70px minmax(0,1fr); }
.event-log time, .event-log li > span { font-size: 11px; line-height: 1.5; color: #b6ced9; overflow-wrap: anywhere; }
.event-log p { font-size: 14px; line-height: 1.5; color: #d2e0e8; }
.threat-timeline span { font-size: 11px; color: #b6ced9; }
.room-simulation { margin: 24px 0; padding: 24px; border: 1px solid #b7cddb; border-radius: 16px; background: #fff; color: #102c40; }
.room-simulation h3 { margin: 0 0 12px; font-size: 22px; }
.room-simulation p { font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.room-simulation-actions { display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.room-simulation-actions button, .room-simulation-actions a { min-height:48px; padding:12px 18px; border:1px solid #075bb4; border-radius:8px; background:#075bb4; color:white; font:600 15px/1.5 Inter,sans-serif; cursor:pointer; }
.room-simulation-actions button:disabled { opacity:.5; cursor:default; }
.room-simulation summary { padding:16px 0; cursor:pointer; font-size:16px; font-weight:700; }
.room-simulation canvas { display:block; width:100%; height:auto; border-radius:10px; }
@media(max-width:1100px) { .defense-grid {grid-template-columns:1fr;} .event-log ol {max-height:280px;} .threat-node {width:140px;} }
@media(max-width:768px) { .simulation-details {grid-template-columns:1fr;} .simulation-targets {grid-template-columns:1fr;} .simulation-brief {padding:16px;} .room-simulation {padding:16px;} }
@media(max-width:560px) { .simulation-metrics {grid-template-columns:repeat(2,minmax(0,1fr));} .simulation-controls .simulation-control {flex-basis:100%;} .threat-canvas {min-height:820px;} .threat-node {width:220px;min-height:86px;} .threat-node span {font-size:15px;} .defense-footer {flex-wrap:wrap;} .scenario-tabs button {flex-basis:45%;min-width:0;} }
html.accessible-mode .simulation-control, html.accessible-mode .simulation-targets input, html.accessible-mode .room-simulation { background:var(--accessible-bg,#fff)!important;color:var(--accessible-text,#000)!important;border-color:currentColor!important; }
html.accessible-mode .simulation-control[aria-pressed="true"] { outline:3px solid currentColor;outline-offset:-6px; }
@media(prefers-reduced-motion:reduce) { .threat-pulse, .threat-pulse::after, .threat-canvas path {animation:none!important;transition:none!important;} }

html.accessible-mode .simulation-controls .simulation-control, html.accessible-mode .simulation-controls .simulation-control span, html.accessible-mode .simulation-controls .simulation-control b, html.accessible-mode .simulation-recovery, html.accessible-mode .simulation-targets label, html.accessible-mode .room-simulation *, html.accessible-mode .simulation-hint {color:var(--accessible-text,#000)!important;}
html.accessible-mode .room-simulation-actions button, html.accessible-mode .room-simulation-actions a {background:var(--accessible-bg,#fff)!important;color:var(--accessible-text,#000)!important;border:2px solid currentColor!important;}

/* v46.3.0 — mobile Technology Lab safeguards */
.btg-lab, .btg-lab * { min-width: 0; }
.btg-lab img, .btg-lab svg, .btg-lab video, .btg-lab iframe { max-width: 100%; }
.btg-lab h1, .btg-lab h2, .btg-lab h3, .btg-lab p, .btg-lab li, .btg-lab button, .btg-lab a, .btg-lab label, .btg-lab summary { overflow-wrap: anywhere; }
.btg-lab button, .btg-lab a { max-width: 100%; }

@media (max-width: 768px) {
  .btg-lab button, .btg-lab a { min-height: 44px; }
  .btg-lab input, .btg-lab select { min-height: 44px; }
  .lab-hero-inner { min-width: 0; }
  .lab-hero h1, .lab-section-head h2, .lab-final h2 { max-width: 100%; overflow-wrap: anywhere; hyphens: auto; }
  .lab-hero-actions { align-items: stretch; }
  .lab-primary, .lab-secondary { max-width: 100%; white-space: normal; overflow-wrap: anywhere; line-height: 1.3; }
  .lab-local-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
  .lab-local-nav a { min-height: 58px; padding: 10px 8px; text-align: center; line-height: 1.25; white-space: normal; }
  .wizard-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
  .wizard-steps button { min-height: 64px; padding: 8px 5px; font-size: 10px; line-height: 1.2; white-space: normal; }
  .wizard-body, .architecture-result, .simulation-brief, .room-simulation { min-width: 0; max-width: 100%; }
  .architecture-visual, .architecture-visual svg { max-width: 100%; }
  .build-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; overflow: visible; }
  .build-controls button, .result-actions button, .result-actions a { width: 100%; min-width: 0; white-space: normal; line-height: 1.25; }
  .scenario-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
  .scenario-tabs button { min-width: 0; flex: initial; min-height: 58px; padding: 10px 8px; white-space: normal; line-height: 1.3; }
  .defense-toolbar { min-width: 0; }
  .defense-toolbar > div { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .defense-toolbar button, .defense-footer button { min-width: 0; width: 100%; padding: 9px 8px; white-space: normal; line-height: 1.25; }
  .defense-footer { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .simulation-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .simulation-controls { display: grid; grid-template-columns: 1fr; }
  .simulation-controls .simulation-control { width: 100%; min-width: 0; }
  .simulation-targets { grid-template-columns: 1fr; }
  .showroom-zone-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
  .showroom-zone-tabs button { min-width: 0; min-height: 58px; padding: 10px 8px; white-space: normal; line-height: 1.3; }
  .showroom-webgl { min-width: 0; max-width: 100%; min-height: 500px; }
  .showroom-controls { left: 10px; right: 10px; bottom: 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .showroom-controls button { width: 100%; min-width: 0; padding: 8px 6px; font-size: 10px; line-height: 1.2; white-space: normal; }
  .showroom-controls button:last-child { grid-column: auto; }
  .showroom-info, .showroom-configurator, .showroom-info h3, .showroom-info p, .showroom-info li { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
  .showroom-info h3 { font-size: clamp(1.8rem, 8vw, 2.6rem); line-height: 1.08; }
  .webgl-hotspot.active { max-width: calc(100vw - 54px); }
  .webgl-hotspot.active span { max-width: calc(100vw - 108px); white-space: normal; overflow-wrap: anywhere; }
  .partner-lab-toolbar, .partner-lab-filters { min-width: 0; max-width: 100%; }
}

@media (max-width: 560px) {
  .lab-local-nav { grid-template-columns: 1fr 1fr; }
  .wizard-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .build-controls, .showroom-controls { grid-template-columns: 1fr; }
  .showroom-controls button:last-child { grid-column: auto; }
  .result-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .result-actions button, .result-actions a { width: 100%; }
  .showroom-config-fields { grid-template-columns: 1fr; }
  .showroom-info { padding: 23px 17px; }
  .architecture-visual { min-height: 540px; }
  .threat-canvas { min-height: 700px; }
  .event-log { min-width: 0; }
  .event-log ol { max-width: 100%; overflow-x: hidden; overflow-y: auto; }
}


@media(max-width:900px) { .threat-canvas {min-height:820px;} .threat-node {width:220px;min-height:86px;} .threat-node span {font-size:15px;} }

/* v46.3.0 — final Technology Lab mobile precedence */
@media (max-width: 768px) {
  .lab-local-nav { grid-template-columns: repeat(2, minmax(0,1fr)); overflow: visible; }
  .wizard-steps { grid-template-columns: repeat(3, minmax(0,1fr)); overflow: visible; }
  .scenario-tabs, .showroom-zone-tabs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); overflow: visible; }
  .scenario-tabs button, .showroom-zone-tabs button { min-width: 0; flex: initial; white-space: normal; }
}
@media (max-width: 560px) {
  .wizard-steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .threat-node { width: 112px; min-height: 66px; padding: 9px; }
  .threat-node span { font-size: 13px; line-height: 1.3; overflow-wrap: anywhere; }
}

/* v46.3.2 — room controls occupy their own row, never the WebGL viewport. */
.showroom-layout { grid-template-rows: minmax(650px, auto) auto; }
.showroom-layout > .showroom-webgl { grid-column: 1; grid-row: 1; }
.showroom-layout > .showroom-info { grid-column: 2; grid-row: 1; }
.showroom-layout > .showroom-controls {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  width: 100%;
  min-width: 0;
  padding: 12px;
  border-top: 1px solid #bfd4de;
  background: #eff7fa;
  pointer-events: auto;
}
.showroom-layout > .showroom-controls button { min-height: 44px; padding: 10px 13px; font-size: 11px; line-height: 1.3; white-space: normal; }

@media (min-width: 769px) and (max-width: 1024px) {
  .showroom-layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; }
  .showroom-layout > .showroom-webgl { grid-column: 1; grid-row: 1; }
  .showroom-layout > .showroom-controls { grid-column: 1; grid-row: 2; }
  .showroom-layout > .showroom-info { grid-column: 1; grid-row: 3; }
}

@media (max-width: 768px) {
  .lab-hero-inner { width: 100%; max-width: 100%; padding: 112px 20px 64px; }
  .lab-hero-copy { width: 100%; min-width: 0; max-width: 100%; }
  .lab-hero h1 { max-width: 100%; font-size: clamp(31px, 8vw, 48px); line-height: 1.12; letter-spacing: -.028em; overflow-wrap: anywhere; hyphens: auto; }
  .lab-hero-copy > p:not(.lab-kicker) { max-width: 100%; font-size: clamp(15px, 4vw, 18px); line-height: 1.55; overflow-wrap: anywhere; }
  .lab-hero-actions { width: 100%; align-items: stretch; }
  .lab-hero-actions .lab-primary { width: 100%; min-width: 0; padding: 14px 18px; line-height: 1.3; text-align: center; white-space: normal; }
  .lab-hero-orb { right: -28%; opacity: .22; pointer-events: none; }
  .showroom-layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; }
  .showroom-layout > .showroom-webgl { grid-column: 1; grid-row: 1; min-height: min(560px, 62svh); }
  .showroom-layout > .showroom-controls { grid-column: 1; grid-row: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 12px; }
  .showroom-layout > .showroom-controls button { width: 100%; min-width: 0; min-height: 48px; padding: 10px 8px; font-size: 12px; }
  .showroom-layout > .showroom-info { grid-column: 1; grid-row: 3; }
}
@media (max-width: 560px) {
  .lab-hero-inner { padding: 112px 18px 56px; }
  .lab-hero h1 { font-size: clamp(30px, 8.3vw, 38px); }
  .showroom-layout > .showroom-webgl { min-height: min(500px, 58svh); }
  .showroom-layout > .showroom-controls { grid-template-columns: 1fr; }
}

/* v46.3.3 — leave room for the fixed, two-row header at every mobile width. */
@media (max-width: 768px) {
  .lab-hero-inner {
    padding-top: calc(var(--lab-header-height, 148px) + 30px);
  }
  .lab-kicker { position: relative; z-index: 1; min-width: 0; overflow-wrap: anywhere; }
  .lab-local-nav a, .lab-section { scroll-margin-top: calc(var(--lab-header-height, 148px) + 12px); }
}
