:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#e6f3ff;background:#07111e;font-synthesis:none;--cyan:#68ddf0;--muted:#8eabc2;--line:#243b50;--accent:#63deef}*{box-sizing:border-box}body{margin:0}button,select{font:inherit;color:inherit}button{cursor:pointer;border:1px solid #304b62;background:#101f30;border-radius:7px;padding:9px 12px;font-size:13px;font-weight:600;min-height:36px}button:hover{border-color:#77d5e6;background:#1a3249}button:focus-visible,a:focus-visible,select:focus-visible,canvas:focus-visible,summary:focus-visible{outline:3px solid #eacb8f;outline-offset:4px}button[aria-pressed=true],button.primary{color:#092030;background:#7de2ee;border-color:#7de2ee}button:disabled{opacity:.45;cursor:default}a{color:#8ae3ef}select{min-height:40px;background:#0a1827;border:1px solid #304b62;padding:9px;border-radius:7px;font-size:14px}.topbar{height:82px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;border-bottom:1px solid var(--line);background:#080f1a}.identity{display:flex;align-items:center;gap:13px;text-decoration:none;color:inherit}.identity img{width:42px;height:42px}.identity span{font-size:10px;letter-spacing:2.5px;color:#84a9c5}.identity h1{font-size:23px;letter-spacing:-.8px;margin:4px 0 0;font-weight:600}.preview-tag{font-size:10px;letter-spacing:1.3px;color:#8fc7d6;border:1px solid #2d5563;padding:7px 9px;border-radius:4px;margin-right:8px}.scenarios{display:flex;align-items:center;gap:22px;padding:14px 28px;background:#0b1624;border-bottom:1px solid var(--line);min-height:67px}.nav-intro{font-size:10px;letter-spacing:1.7px;color:#7399b4;white-space:nowrap}.scenarios>div{display:flex;gap:7px;flex-wrap:wrap}.scenarios button{color:#a4bcd0;background:transparent;border-color:transparent;padding:8px 15px;font-size:13px}.scenarios button[aria-current=true]{background:#183444;border-color:#407186;color:#a6f4ff}.scenarios button small{color:#5d819e;margin-right:8px;font-size:10px}.explorer{display:grid;grid-template-columns:minmax(0,1fr) 352px;min-height:600px;height:calc(100dvh - 356px);max-height:1000px}.stage{position:relative;min-width:0;overflow:hidden;background:#091523}.stage:after{content:'';pointer-events:none;position:absolute;inset:0;box-shadow:inset 0 0 100px #030b1644}#viewport{position:absolute;inset:0}#viewport canvas{display:block;touch-action:none}#loading{position:absolute;inset:0;display:grid;align-content:center;justify-items:center;gap:18px;background:#091523;z-index:10;font-size:14px;color:#8ca7c1}#loading[hidden]{display:none}#loading strong{font-size:22px;color:#e6f3ff}.loading-orbit{width:42px;height:42px;border:1px solid #5be1ec;border-left-color:transparent;border-radius:50%;animation:spin 1.5s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.stage-heading{position:absolute;top:29px;left:30px;pointer-events:none;max-width:440px;z-index:2}.eyebrow{font-size:10px;font-weight:650;letter-spacing:1.5px;color:#84b4ca}.stage-heading h2{font-size:clamp(22px,2.2vw,33px);font-weight:500;letter-spacing:-1px;line-height:1.18;margin:10px 0}.stage-heading p{color:#a1bed0;font-size:13px;line-height:1.6;margin:0;max-width:370px}.scene-tools{position:absolute;right:20px;top:26px;display:flex;gap:5px;z-index:3}.scene-tools button{font-size:11px;background:#0a192bcc;min-height:32px;padding:6px 10px}.scene-tools button[aria-pressed=true]{background:#173647;color:#a4f1fc}.flow-caption{position:absolute;bottom:64px;left:28px;background:#091829ed;border:1px solid #325775;border-left:2px solid var(--accent);border-radius:8px;padding:14px 17px;display:flex;align-items:center;gap:14px;min-width:280px;max-width:calc(100% - 56px);box-shadow:0 8px 40px #020a1666}.flow-caption span:not(.flow-dot){font-size:9px;letter-spacing:1.5px;color:#84b8cc}.flow-caption strong{font-size:17px;font-weight:550;display:block;margin:7px 0;letter-spacing:-.2px}.flow-caption small{font-size:12px;color:#a8c7db}.flow-dot{width:8px;height:8px;flex:none;background:var(--accent);box-shadow:0 0 15px var(--accent);border-radius:50%}.scene-key{position:absolute;left:29px;bottom:25px;display:flex;gap:17px;font-size:10px;color:#89a7bd}.scene-key i{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--cyan);margin-right:7px}.scene-key .muted{background:#6a7d9e}.scene-key .offline{background:transparent;border:1px solid #e7bb71}.scene-help{position:absolute;right:22px;bottom:16px;font-size:10px;color:#7999b2}.inspector{background:linear-gradient(135deg,#102338,#0b1929);border-left:1px solid #284358;overflow:auto;min-height:0;scrollbar-color:#3b566e #0d1c2e}.inspector-tabs{display:flex;padding:14px 18px 0;gap:7px;position:sticky;top:0;background:#102034;z-index:3;border-bottom:1px solid #294054}.inspector-tabs button{border:0;border-bottom:2px solid transparent;background:none;border-radius:0;padding:12px 7px;color:#8aa8bf;font-size:12px}.inspector-tabs [aria-selected=true]{color:#8ce8ef;border-bottom-color:#71d8e9}.inspector [role=tabpanel]{padding:23px}.inspector [hidden]{display:none}.inspector h2{font-size:24px;line-height:1.15;font-weight:550;letter-spacing:-.7px;margin:9px 0 12px;overflow-wrap:anywhere}.inspector p{font-size:14px;color:#b1c7d9;line-height:1.75;margin:0 0 18px}.inspector h3{font-size:10px;color:#84aabd;letter-spacing:1.4px;text-transform:uppercase;margin:23px 0 10px}.connection{border:1px solid #2a4e63;border-radius:9px;padding:13px;background:#0b1b2b;margin:19px 0}.endpoint{display:flex;align-items:center;gap:9px}.endpoint span{font-size:10px;color:#6c99b6;min-width:32px}.endpoint button{background:transparent;border:0;padding:4px 0;font-size:13px;min-height:28px;color:#d5edf6}.connection hr{border:0;border-top:1px dashed #345066;margin:8px 0 8px 41px}.protocol-badge{display:inline-block;border:1px solid #356270;color:#91ecf3;font-size:12px;padding:7px 10px;border-radius:5px;background:#11343d}.status-note{font-size:11px;color:#e9c58a;line-height:1.55;margin-top:9px}.fact-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:19px 0}.fact-grid div{border-bottom:1px solid #2a4256;padding-bottom:12px}.fact-grid span{display:block;font-size:10px;color:#7397b2;margin-bottom:7px}.fact-grid strong{font-size:12px;font-weight:500;color:#d0e2f0}.dependency-list{display:grid;gap:6px}.dependency-list button{text-align:left;font-size:12px;font-weight:500;color:#aac6d9;display:flex;justify-content:space-between;background:#10293a;border-color:#274655}.dependency-list button small{color:#6dbdcd}.inspector ul{padding-left:17px;color:#b1c7d9;font-size:13px;line-height:1.65}.inspector li{margin:8px 0}.inspector details{border-top:1px solid #284256;padding:13px 0}.inspector summary{cursor:pointer;font-size:13px;color:#c3dfec}.inspector details p{font-size:12px;margin:10px 0 0}.select-label{display:block;font-size:10px;letter-spacing:1.3px;color:#83a7bc;margin-bottom:10px}.inspector select{width:100%;margin-bottom:22px}.system-role{color:#77dfe9!important;font-size:12px!important}.service-row{padding:10px 0;border-bottom:1px solid #284256;display:grid;gap:5px}.service-row b{font-size:13px;font-weight:550}.service-row span{font-size:12px;color:#7dc6d2}.service-row small{font-size:11px;line-height:1.5;color:#92aebf}.source-link{display:inline-block;font-size:11px;margin-top:14px;color:#87c7d9;text-underline-offset:3px}.sequence{border-top:1px solid #2c465b;background:#0d1b2b;padding:19px 28px 18px}.sequence-top{display:flex;align-items:center;justify-content:space-between;gap:20px}.sequence h2{font-size:17px;font-weight:500;letter-spacing:-.3px;margin:6px 0 0}.playback{display:flex;gap:6px;align-items:center}.playback button{font-size:12px;min-height:34px;padding:7px 12px}.playback #back,.playback #next{font-size:20px;padding:2px 10px}.speed-label{display:flex;align-items:center;gap:8px;font-size:11px;color:#8ba8bc;margin:0 7px}.speed-label select{font-size:11px;padding:5px;min-height:33px}.steps{display:grid;grid-template-columns:repeat(var(--step-count,4),minmax(0,1fr));gap:8px;margin-top:17px}.steps button{position:relative;overflow:hidden;text-align:left;display:flex;gap:13px;align-items:center;border-color:#284056;background:#102034;padding:12px 15px;min-height:60px}.step-number{font-size:13px;color:#688da8;font-weight:400}.steps strong{display:block;color:#aac7d9;font-size:12px;font-weight:500}.steps small{display:block;color:#627f9b;font-size:10px;margin-top:5px}.steps [aria-current=step]{border-color:#4d91a2;background:#113342}.steps [aria-current=step] strong{color:#bcf7ff}.steps [aria-current=step] .step-number{color:#7de2ee}.step-progress{position:absolute;left:0;right:0;bottom:0;height:2px;background:#80e4ee;transform:scaleX(0);transform-origin:left}.scope-strip{background:#07111e;border-top:1px solid #1c3146;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 28px;color:#7895ab;font-size:10px}.scope-strip button{padding:3px 0;min-height:24px;border:0;background:none;font-size:11px;color:#96c5d4}.exit-cinema{display:none;position:fixed;right:22px;top:20px;z-index:30;opacity:.7}body.cinema .topbar,body.cinema .scenarios,body.cinema .inspector,body.cinema .sequence,body.cinema .scope-strip,body.cinema .scene-tools,body.cinema .scene-help{display:none}body.cinema .explorer{height:100dvh;min-height:0;max-height:none;display:block}body.cinema .stage{height:100dvh}body.cinema .exit-cinema{display:block}#toast{position:absolute;top:120px;right:25px;background:#18344be8;border:1px solid #35556b;padding:10px 15px;border-radius:6px;font-size:12px;z-index:4}#toast:empty{display:none}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}dialog{color:#d7e8f4;background:#0d1f31;border:1px solid #436778;max-height:85dvh;width:min(850px,calc(100vw - 32px));border-radius:14px;padding:30px;box-shadow:0 30px 120px #0009}dialog::backdrop{background:#010712b8;backdrop-filter:blur(8px)}.dialog-heading{display:flex;gap:20px;justify-content:space-between;align-items:flex-start}dialog h2{font-size:25px;font-weight:550;letter-spacing:-.6px;margin:10px 0 18px}dialog h3{font-size:16px;color:#8dd7e2;margin-top:26px}dialog p,dialog li{font-size:14px;line-height:1.75;color:#a8c3d5}dialog li{margin-bottom:10px}dialog .license{font-size:12px;border-top:1px solid #2c495f;margin-top:25px;padding-top:15px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;margin-top:22px;text-align:left;font-size:13px}th{font-size:11px;color:#7fd6e4;text-transform:uppercase;letter-spacing:1px}th,td{padding:13px 10px;border-bottom:1px solid #2a475c;vertical-align:top;line-height:1.6}td:nth-child(2){color:#a5e5eb;white-space:nowrap}td:last-child{color:#a6bfce}
@media(min-width:1750px){.explorer{grid-template-columns:minmax(0,1fr) 390px}.inspector [role=tabpanel]{padding:27px}.stage-heading{top:35px;left:38px}}
@media(max-width:1150px){.nav-intro{display:none}.explorer{grid-template-columns:minmax(0,1fr) 310px}.inspector [role=tabpanel]{padding:19px}.stage-heading{max-width:300px}.stage-heading h2{font-size:26px}.stage-heading p{max-width:270px}.scene-tools{top:auto;bottom:65px;right:18px;flex-direction:column}.flow-caption{min-width:0;max-width:65%;left:20px}.scene-help{display:none}.playback{flex-wrap:wrap;justify-content:flex-end}.sequence-top>div:first-child{min-width:230px}.scenarios{padding:12px 20px}.scenarios button{padding:8px 10px}.steps button{padding:10px;gap:8px}.scope-strip{flex-wrap:wrap}}
@media(max-width:780px){.topbar{height:auto;min-height:83px;padding:15px;gap:12px;flex-wrap:wrap}.identity h1{font-size:21px}.preview-tag{display:none}.scenarios{padding:10px 12px}.scenarios>div{gap:3px}.scenarios button{font-size:11px;min-height:32px;padding:7px}.scenarios button small{margin-right:4px;font-size:9px}.explorer{display:flex;flex-direction:column;height:auto;max-height:none;min-height:0}.stage{height:640px;min-height:0}.stage-heading{top:22px;left:19px;max-width:320px}.stage-heading h2{font-size:27px}.stage-heading p{font-size:12px;max-width:300px}.stage-heading .eyebrow{font-size:9px}.scene-tools{top:146px;bottom:auto;right:15px;flex-direction:row;left:18px}.scene-tools button{font-size:10px}.flow-caption{bottom:54px;left:17px;max-width:calc(100% - 34px);min-width:260px;padding:11px 13px}.flow-caption strong{font-size:15px}.scene-key{left:18px;bottom:24px;font-size:9px;gap:12px}.inspector{border-left:0;border-top:1px solid #29485d;overflow:visible}.inspector-tabs{position:static}.inspector [role=tabpanel]{padding:20px}.sequence{padding:20px 16px}.sequence-top{align-items:flex-start;flex-direction:column;gap:16px}.playback{justify-content:flex-start;gap:5px}.playback button{font-size:11px;padding:7px 9px}.speed-label{margin:0 3px;gap:4px}.steps{grid-template-columns:1fr 1fr}.steps strong{font-size:12px}.scope-strip{padding:12px 17px;gap:9px;line-height:1.5}.scope-strip span{flex-basis:100%}.sequence h2{font-size:17px}dialog{padding:22px}.dialog-heading h2{font-size:22px}body.cinema .stage-heading{max-width:65%}}
@media(max-width:780px){main{display:flex;flex-direction:column}.explorer{display:contents}.stage{order:1;flex:none}.sequence{order:2}.inspector{order:3}.scope-strip{order:4}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}
.security-entry{border-color:#71c9df;color:#b1f2ff;background:#15394a}.security-priorities{display:grid;gap:8px;margin:18px 0}.security-priorities button{display:flex;gap:12px;align-items:center;text-align:left;font-size:14px;line-height:1.5;min-height:48px}.security-priorities button span{color:#88d8e8}.security-dialog{width:min(1120px,calc(100vw - 32px))}.security-dialog p{font-size:16px}.security-dialog table{font-size:14px;min-width:700px}.security-dialog td:nth-child(2){white-space:normal;min-width:200px;overflow-wrap:anywhere}.security-dialog td:nth-child(3){min-width:220px}.security-dialog th{font-size:13px}.policy-actions{display:flex;gap:10px;flex-wrap:wrap}.policy-actions button,.policy-tester button{font-size:14px}.policy-tester{border:1px solid #41647b;border-radius:10px;padding:20px;margin:25px 0;background:#102b3d}.policy-tester h3{margin-top:0}.policy-inputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.policy-inputs label{display:grid;gap:8px;font-size:14px;color:#bedce9}.policy-inputs select{width:100%;min-width:0}.policy-tester output{display:grid;gap:10px;margin:18px 0;padding:16px;background:#0a1c2e;border-left:3px solid #8ebacf;line-height:1.6;font-size:16px}.policy-tester output small{font-size:13px;color:#9db9ca}.policy-tester output.permit{border-color:#94d8dc}.policy-tester output.pending{border-color:#e8bf7c}.policy-tester output.deny{border-color:#f0a298}.policy-state{font-weight:600}.policy-state.permit{color:#9ee3e9}.policy-state.pending{color:#edc78d}.policy-state.deny{color:#f5b5aa}
@media(max-width:780px){.policy-inputs{grid-template-columns:1fr}.security-dialog{padding:18px}.policy-tester{padding:14px}.architecture-toolbar .security-entry{width:100%}}
/* Detailed architecture layers remain readable outside the 3D canvas. */
.vlan-legend{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;padding:12px 22px;background:#091421;border-bottom:1px solid #284257}.vlan-legend button{display:grid;gap:7px;text-align:left;background:#102032;border:1px solid transparent;border-top:3px solid var(--vlan-color);padding:12px 10px;border-radius:4px;min-width:0}.vlan-legend b{color:var(--vlan-color);font-size:13px;letter-spacing:.6px}.vlan-legend span{font-size:14px;line-height:1.3}.vlan-legend code{font-size:12px;color:#a8bed1}.vlan-legend button:hover,.vlan-legend [aria-pressed=true]{background:#1b3348;border-color:var(--vlan-color);color:#fff}.architecture-toolbar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:11px 24px;background:#0c1b2b;border-bottom:1px solid #294259}.architecture-toolbar>span{font-size:11px;letter-spacing:1.2px;color:#9ebbd0}.architecture-toolbar>div{display:flex;gap:7px;flex-wrap:wrap}.architecture-toolbar select{margin-left:auto;max-width:310px}.architecture-toolbar button{font-size:13px}.explorer{height:720px;max-height:none;min-height:650px;grid-template-columns:minmax(0,1fr) 365px}.stage-heading{max-width:420px}.stage-heading h2{font-size:26px}.stage-heading p{font-size:14px;max-width:370px}.scene-tools{top:auto;bottom:66px;right:20px;flex-direction:column}.flow-caption{max-width:min(500px,70%)}.flow-caption strong{font-size:14px;line-height:1.45}.address-card{border:1px solid #32546d;border-left:3px solid #78dbe8;background:#0a2030;padding:13px;margin:0 0 20px;border-radius:7px;display:grid;gap:8px}.address-card span{font-size:12px;color:#a4cad9}.address-card strong{font-size:16px;color:#d5f6ff;overflow-wrap:anywhere}.address-card small{font-size:12px;color:#8daec4;line-height:1.5}.control-chips{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0 18px}.control-chips button{min-height:36px;border:1px solid #3e6175;background:#133447;color:#a4ebef;font:600 13px Consolas,monospace}.asset-row{display:grid;width:100%;gap:6px;margin:0 0 8px;text-align:left;padding:12px;background:#102c3e;border-color:#284d64}.asset-row strong{font-size:14px;color:#d4efff}.asset-row span{font-size:13px;font-weight:400;color:#a6c3d5}.asset-row code{color:#8cdeed;font-size:13px}.mapping-note{font-size:12px!important;color:#92aabe!important}.family-control{border-bottom:1px solid #2a465b;padding:8px 0}.family-control .control-chips{margin-bottom:8px}.family-control p{margin-bottom:10px}.inspector h3{font-size:12px;line-height:1.4}.inspector-tabs{padding:10px 12px 0;gap:3px}.inspector-tabs button{font-size:13px;padding:12px 8px}.inspector li{font-size:14px}body.cinema .vlan-legend,body.cinema .architecture-toolbar{display:none}
@media(max-width:1150px){.vlan-legend{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.explorer{grid-template-columns:minmax(0,1fr) 320px}.architecture-toolbar>span{display:none}.stage-heading{max-width:330px}.stage-heading h2{font-size:24px}}
@media(max-width:780px){.vlan-legend{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;order:0}.vlan-legend button:last-child{grid-column:1/-1}.vlan-legend button{gap:4px;padding:10px}.architecture-toolbar{order:0;padding:12px;gap:10px}.architecture-toolbar select{margin-left:0;max-width:none;width:100%}.architecture-toolbar>div{display:grid;grid-template-columns:1fr 1fr 1fr;width:100%}.architecture-toolbar button{font-size:12px;padding:8px}.explorer{display:contents}.stage{height:650px}.stage-heading{max-width:calc(100% - 36px)}.stage-heading h2{font-size:23px}.scene-tools{top:158px;bottom:auto;left:18px;right:auto;flex-direction:row}.flow-caption{max-width:calc(100% - 34px);min-width:0}.inspector{order:3}.scope-strip{order:5}}

/* Eight segments use balanced rows at every breakpoint. */
.policy-actions a{display:inline-flex;align-items:center;padding:10px 14px;border:1px solid #51778a;border-radius:7px;background:#153447;color:#b6eff7;font-size:14px;text-decoration:none;min-height:40px}.policy-actions a:hover{background:#244b60}
@media(min-width:1151px){.vlan-legend{grid-template-columns:repeat(8,minmax(0,1fr))}}
@media(max-width:780px){.vlan-legend button:last-child{grid-column:auto}}

/* Make system information a primary part of the explorer. */
.explorer{grid-template-columns:minmax(0,1fr) clamp(400px,36vw,520px)}
.inspector{scroll-margin-top:16px}
.inspector-header{position:sticky;top:0;z-index:4;padding:20px 22px 0;background:#102338;border-bottom:1px solid #37566b;box-shadow:0 6px 20px #06111d33}
.inspector-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:15px}
.inspector-heading strong{font-size:22px;font-weight:600;letter-spacing:-.5px}
.inspector-heading span{font-size:13px;color:#a4c1d5;font-variant-numeric:tabular-nums}
.system-browser{display:grid;grid-template-columns:40px minmax(0,1fr) 40px;gap:7px;align-items:center}
.system-browser button{min-height:44px;font-size:24px;padding:0;background:#17394c;border-color:#3d7186;color:#b7f4ff}
.system-browser select{min-width:0;margin:0;min-height:44px;font-size:14px;border-color:#4d798e;background:#0b1c2d}
.inspector-header .inspector-tabs{position:static;background:transparent;padding:10px 0 0;gap:5px;border:0}
.inspector-header .inspector-tabs button{font-size:14px;padding:13px 9px;color:#a9c4d7}
.inspector-header .inspector-tabs [aria-selected=true]{color:#b5f6ff;border-bottom:3px solid #7de2ee;background:#173849;border-radius:5px 5px 0 0}
.inspector [role=tabpanel]{padding:25px}
.system-heading{padding-bottom:3px}
.system-heading .eyebrow{font-size:12px;line-height:1.5;letter-spacing:1.2px;color:#9acadd}
.system-heading h2{font-size:32px;line-height:1.16;font-weight:650;margin:10px 0}
.system-heading .system-role{font-size:17px!important;line-height:1.5;margin-bottom:18px;color:#91eaf2!important}
.system-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 21px}
.system-facts>div{min-width:0;padding:14px;background:#0a1d2e;border:1px solid #365b72;border-top:2px solid #77dce9;border-radius:7px}
.system-facts dt{font-size:12px;color:#a3c6d9;margin-bottom:8px}
.system-facts dd{margin:0;color:#e2f8ff;font:600 17px/1.45 Consolas,monospace;overflow-wrap:anywhere}
#systemContent p{font-size:16px;line-height:1.7;color:#c0d6e5}
#systemContent .system-purpose{margin-bottom:23px}
#systemContent h3{font-size:13px;letter-spacing:1.2px;color:#a3d5e2;margin:25px 0 12px}
#systemContent .control-chips{gap:8px}
#systemContent .control-chips button{font-size:14px;padding:8px 12px;min-height:38px}
.system-services{display:grid;gap:10px}
.system-services .service-row{padding:14px 16px;border:1px solid #315166;border-radius:8px;background:#0c2031;gap:7px}
.system-services .service-row b{font-size:16px;font-weight:600;color:#e3f2fb}
.system-services .service-row span{font-size:15px;line-height:1.5;color:#9ae6f1}
.system-services .service-row small{font-size:14px;line-height:1.6;color:#acc7d8}
#systemContent li{font-size:15px;line-height:1.7}
#systemContent .dependency-list button{font-size:14px;min-height:44px;padding:11px 13px}
#systemContent summary{font-size:15px;line-height:1.5;padding:3px 0}
#systemContent details p{font-size:14px}
#systemContent .source-link{font-size:13px}
#showSystemDetails{border-color:#65b8cf;background:#163d50;color:#bcf6ff}

/* Traffic processes and their playback are primary navigation. */
.scenarios{display:block;padding:23px 26px 25px;background:linear-gradient(120deg,#0d2638,#0b192b);border-top:1px solid #294a60;border-bottom:1px solid #3b697e}
.scenarios>.process-heading{display:flex;align-items:baseline;gap:18px;margin-bottom:18px}
.process-heading h2{font-size:26px;line-height:1.2;font-weight:600;letter-spacing:-.5px;margin:0;color:#edfaff}
.process-heading p{font-size:14px;line-height:1.5;margin:0;color:#b1cddd}
.scenarios>#scenarioButtons{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
#scenarioButtons button{display:flex;flex-direction:column;align-items:stretch;text-align:left;gap:12px;padding:17px 15px;min-height:150px;background:#10283a;border:1px solid #35576d;border-top:3px solid #466e85;border-radius:9px;white-space:normal}
#scenarioButtons button:hover{background:#1a394d;border-color:var(--process-color)}
#scenarioButtons button[aria-current=true]{background:#173e50;border-color:var(--process-color);box-shadow:inset 0 0 0 1px #77e5f22b,0 5px 20px #020e1a33}
.process-card-title{display:flex;gap:9px;align-items:center;line-height:1.3}
.process-number{color:#92c6d9;font-size:13px;font-variant-numeric:tabular-nums}
.process-card-title strong{color:#e2f4ff;font-size:17px;font-weight:650}
#scenarioButtons [aria-current=true] .process-card-title strong{color:#b7faff}
.process-description{font-size:13px;font-weight:400;line-height:1.6;color:#b2cddd}
.process-count{margin-top:auto;display:flex;align-items:center;justify-content:space-between;color:var(--process-color);font-size:12px;line-height:1.4}
.process-count>span{font-size:21px;line-height:1}
.sequence{padding:23px 26px;background:linear-gradient(110deg,#13364a,#0e2133);border-top:2px solid var(--accent);border-bottom:1px solid #426b80;scroll-margin-top:12px}
.sequence .eyebrow{font-size:12px;color:#9cdeeb;letter-spacing:1.5px}
.sequence h2{font-size:25px;line-height:1.35;font-weight:600;margin-top:8px;max-width:750px}
.sequence-top{gap:20px}
.playback{flex-wrap:wrap;justify-content:flex-end;flex-shrink:0;gap:8px}
.playback button{font-size:15px;min-height:46px;padding:11px 17px}
.playback #back,.playback #next{min-width:43px;font-size:26px;padding:3px 12px}
.playback #play{min-width:166px;font-weight:700;box-shadow:0 0 22px #74e5f221}
.speed-label{font-size:13px;color:#b5cedd}
.speed-label select{font-size:14px;min-height:44px;padding:8px}
.steps{gap:12px;margin-top:21px}
.steps button{min-height:83px;padding:17px;gap:14px;border-color:#3f6277;background:#0d2335;border-radius:8px}
.steps strong{font-size:16px;line-height:1.35;font-weight:600;color:#d4e9f5}
.steps small{font-size:12px;line-height:1.4;color:#97b6cc;margin-top:7px}
.step-number{display:grid;place-items:center;flex:none;width:33px;height:33px;border:1px solid #456b81;border-radius:50%;font-size:14px;color:#afcddb}
.steps [aria-current=step]{border-color:var(--accent);background:#194354;box-shadow:inset 0 0 0 1px #89e4ee22}
.steps [aria-current=step] .step-number{background:var(--accent);color:#092331;border-color:var(--accent)}
.steps [aria-current=step] strong{color:#d3fcff}
.step-progress{height:3px;background:var(--accent)}
.current-step{margin-top:18px;padding:15px 18px;border-left:3px solid var(--accent);background:#0a1c2b9e;border-radius:0 7px 7px 0}
.current-step-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
#sequenceState{font-size:11px;text-transform:uppercase;letter-spacing:1px;color:#b8ccdb;border:1px solid #416077;padding:5px 8px;border-radius:4px}
.is-playing #sequenceState{background:#163c48;color:#aaf1e8;border-color:#53858a}
#currentStepTitle{font-size:16px;line-height:1.4;font-weight:600;color:#e0f1fa}
#stepCounter{font-size:12px;color:#a6c9da;margin-left:auto;white-space:nowrap}
.current-step p{font-size:14px;color:#b6cfdf;line-height:1.7;margin:10px 0 0;max-width:1250px}
@media(max-width:1150px){.scenarios>#scenarioButtons{grid-template-columns:repeat(3,minmax(0,1fr))}#scenarioButtons button{min-height:125px}.sequence-top{flex-wrap:wrap}.sequence-top>div:first-child{min-width:0}.playback{justify-content:flex-start}.steps button{padding:14px 12px;gap:10px}.steps strong{font-size:15px}}
@media(max-width:780px){.scenarios{order:3;padding:20px 16px}.scenarios>.process-heading{display:block;margin-bottom:17px}.process-heading h2{font-size:25px}.process-heading p{font-size:13px;margin-top:8px}.scenarios>#scenarioButtons{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}#scenarioButtons button{padding:13px 11px;gap:10px;min-height:145px}.process-card-title{gap:7px}.process-card-title strong{font-size:16px}.process-number{font-size:12px}.process-description{font-size:12px}.sequence{order:4;padding:22px 16px}.sequence h2{font-size:23px}.sequence-top{gap:18px}.playback{gap:7px}.playback button{font-size:14px;padding:10px 13px;min-height:44px}.playback #play{min-width:161px}.steps{gap:9px}.steps button{padding:13px 10px;gap:9px;min-height:91px;align-items:flex-start}.steps strong{font-size:14px}.steps small{font-size:11px}.step-number{width:27px;height:27px;font-size:12px}.current-step{padding:13px 14px}.current-step-heading{gap:9px}#sequenceState{font-size:10px}#currentStepTitle{font-size:15px;flex-basis:calc(100% - 78px)}#stepCounter{margin-left:0}.current-step p{font-size:14px}}
@media(min-width:781px) and (max-width:1100px){.explorer{grid-template-columns:minmax(0,1fr) 380px}.inspector-header{padding:18px 18px 0}.inspector [role=tabpanel]{padding:21px}.system-heading h2{font-size:29px}.system-facts dd{font-size:16px}.inspector-header .inspector-tabs button{font-size:13px;padding:13px 7px}}
@media(max-width:780px){.stage{height:520px}.inspector{order:2}.sequence{order:4}.inspector-header{position:static;padding:22px 20px 0}.inspector [role=tabpanel]{padding:24px 20px}.inspector-header .inspector-tabs{gap:2px}.inspector-header .inspector-tabs button{font-size:13px;padding:13px 8px}.system-heading h2{font-size:30px}.system-facts{grid-template-columns:1fr}.system-facts>div{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;align-items:start}.system-facts dt{margin:3px 0 0;line-height:1.5}.scene-tools{right:18px;flex-wrap:wrap}.scene-tools button{padding:6px 8px}}

/* Room locations connect logical service details to the equipment view. */
.equipment-location{display:grid;gap:7px;padding:14px 16px;margin:0 0 22px;border:1px solid #3d5b70;border-left:3px solid #8fbac9;border-radius:7px;background:#152b3b}.equipment-location span{font-size:11px;letter-spacing:1.2px;color:#9cbcca}.equipment-location strong{font-size:15px;line-height:1.5;color:#e0ebf2}

/* Consolidated supporting reference beneath the traffic choices. */
#reference{min-height:44px;padding:10px 0;font-size:13px;text-align:left}
#referenceDialog .reference-section{margin-top:26px}
#referenceDialog .reference-section+.reference-section{padding-top:22px;border-top:1px solid var(--line)}
#referenceDialog .reference-section h3{font-size:16px;line-height:1.4;color:#b9edf6;margin:0 0 14px}
#referenceDialog #sourceLinks a{overflow-wrap:anywhere}

/* Compact related menus; traffic selection precedes the playback panel. */
.architecture-toolbar{justify-content:flex-end;gap:10px}
.architecture-toolbar select{margin-left:0;width:280px;max-width:100%;min-height:44px}
@media(max-width:780px){.architecture-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.architecture-toolbar select{width:100%;min-width:0;font-size:13px}}
@media(max-width:440px){.architecture-toolbar{grid-template-columns:1fr}}

/* Quiet VLAN navigation belongs beside the room, inside the existing inspector. */
.vlan-panel{margin:0 0 18px;border:1px solid #30495d;border-radius:8px;background:#0d2031}
.vlan-panel>summary{display:flex;align-items:center;gap:10px;min-height:46px;padding:10px 12px;cursor:pointer;list-style:none;color:#c5dbe8;font-size:14px;font-weight:600;line-height:1.4}
.vlan-panel>summary::-webkit-details-marker{display:none}
.vlan-panel>summary:hover{background:#142c3f;border-radius:8px}
.vlan-panel>summary small{margin-left:auto;flex-shrink:0;color:#92adbf;font-size:11px;font-weight:400}
.vlan-chevron{font-size:18px;color:#8cabbe;line-height:1;transition:transform .15s ease}
.vlan-panel[open] .vlan-chevron{transform:rotate(180deg)}
.vlan-panel .vlan-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:0 8px 8px;background:transparent;border:0;max-height:320px;overflow-y:auto;scrollbar-color:#3b566e #0d2031}
.vlan-panel .vlan-legend button{position:relative;display:grid;gap:4px;min-height:72px;padding:10px 9px;text-align:left;background:#102537;border:1px solid #294459;border-left:2px solid transparent;border-radius:5px;white-space:normal}
.vlan-panel .vlan-legend button:before{content:'';position:absolute;right:9px;top:12px;width:5px;height:5px;border-radius:50%;background:var(--vlan-color);opacity:.7}
.vlan-panel .vlan-legend b{font-size:11px;line-height:1.4;color:#a9c5d6;letter-spacing:.3px}
.vlan-panel .vlan-legend span{font-size:13px;line-height:1.35;color:#bdd1df}
.vlan-panel .vlan-legend code{font-size:11px;line-height:1.4;color:#8faabc;overflow-wrap:anywhere}
.vlan-panel .vlan-legend button:last-child{grid-column:auto}
.vlan-panel .vlan-legend button:hover,.vlan-panel .vlan-legend [aria-pressed=true]{background:#183548;border-color:#45657b;border-left-color:var(--vlan-color)}
.vlan-panel .vlan-legend button:focus-visible{outline:2px solid #a2dae6;outline-offset:-3px}
@media(prefers-reduced-motion:reduce){.vlan-chevron{transition:none}}

/* An interaction-driven companion to the room, with quiet, local motion. */
.relationship-view{margin:16px 18px 0;padding:14px;border:1px solid #365266;border-radius:10px;background:#0c1e2e;min-width:0}
.relationship-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#9dbdce;font-size:11px;font-weight:600;letter-spacing:.6px}
.relationship-heading button{min-height:32px;padding:5px 10px;font-size:11px;background:#152c3c!important;color:#bdd8e4!important;border-color:#3a5365!important}
.inspector .relationship-view h3{margin:9px 0 12px;color:#d8edf7;font-size:16px;font-weight:600;line-height:1.35;text-transform:none;letter-spacing:-.2px}
.relationship-viewport{position:relative;height:240px;overflow:hidden;margin:0 -7px;border-radius:7px;background:#0a1b2b;isolation:isolate}
.relationship-viewport canvas{width:100%;height:100%;display:block;touch-action:pan-y}
.inspector .relationship-viewport p{position:absolute;inset:0;margin:0;padding:25px;display:grid;place-content:center;text-align:center;color:#b9d3e2;font-size:13px;background:#0a1b2b}
.inspector .relationship-viewport p[hidden]{display:none}
.relationship-viewport.is-unavailable{height:100px}
.inspector .relationship-legend{margin:10px 0 7px;font-size:11px;line-height:1.5;color:#9dc4d3}
.inspector .relationship-caption{margin:0 0 12px;font-size:12px;line-height:1.6;color:#aec6d6}
.relationship-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;max-height:112px;overflow:auto;scrollbar-color:#416176 #0c1e2e;padding:3px}
.relationship-node{display:flex;align-items:center;gap:7px;min-width:0;min-height:36px;padding:6px 7px;border:1px solid #294354;border-radius:5px;background:#102638;color:#c2d9e6;text-align:left;font-size:11px;font-weight:500;line-height:1.4}
.relationship-node b{display:grid;place-items:center;flex:none;width:19px;height:19px;font-size:10px;font-weight:600;border-radius:4px;background:#203c4d;color:var(--node-color)}
.relationship-node>span{min-width:0;overflow-wrap:anywhere}
span.relationship-node{border-color:transparent;background:transparent;color:#94afc0}
@media(max-width:780px){.relationship-view{margin:18px 20px 0}.relationship-viewport{height:260px}.relationship-heading button{min-height:40px}.relationship-node{min-height:44px}.relationship-links{max-height:142px}}

/* Secondary architecture choices unfold inside the existing 3D tool. */
.relationship-actions{display:flex;gap:6px;align-items:center}
.relationship-heading{flex-wrap:wrap}
#relationshipExplore{border-color:#568094!important;color:#d1edf5!important}
.relationship-explorer{padding-top:13px;min-height:320px}
.relationship-explorer-heading{display:flex;gap:10px;align-items:center;margin:0 0 14px}
.inspector .relationship-explorer-heading h3{margin:0;font-size:14px;line-height:1.5}
.relationship-explorer-heading>button{padding:5px 8px;min-height:36px;font-size:12px;white-space:nowrap}
.relationship-choices{display:grid;gap:8px;max-height:290px;overflow:auto;padding:4px;scrollbar-color:#416176 #0c1e2e}
.relationship-choice{display:flex;flex-direction:column;gap:5px;min-height:44px;padding:12px;text-align:left;background:#102638;border-color:#355166;color:#cee2ec;font-size:13px;line-height:1.45}
.relationship-choice strong{font-weight:600}
.relationship-choice span{font-size:12px;font-weight:400;color:#9fbdce;line-height:1.6}
.relationship-choice:hover{background:#193648;border-color:#6da5b8}
@media(max-width:780px){.relationship-explorer-heading>button{min-height:44px}.relationship-choices{max-height:340px}}

/* October 6, 2026: keep standalone source links at least 24px tall for touch use (WCAG 2.2 target size). */
.source-link,#sourceLinks a{display:inline-block;min-height:24px;padding-block:4px}
#protocolRows .source-link{display:block;width:fit-content;margin-top:6px}
/* October 6, 2026: seven traffic processes. Seven across on wide screens, 4 + 3 on medium, and two columns on phones. */
.scenarios>#scenarioButtons{grid-template-columns:repeat(7,minmax(0,1fr))}
@media(max-width:1400px){.scenarios>#scenarioButtons{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:780px){.scenarios>#scenarioButtons{grid-template-columns:repeat(2,minmax(0,1fr))}#scenarioButtons button:last-child:nth-child(odd){grid-column:1/-1}}
/* October 6, 2026: what-if row, policy facts, course links, knowledge checks, clip recording, and phone stage. */
.whatif-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px}
.whatif-label{font-size:12px;font-weight:650;letter-spacing:.4px;color:#9fc3d6}
#whatIfButtons{display:flex;flex-wrap:wrap;gap:8px}
.scenarios #whatIfButtons button{min-height:36px;padding:7px 14px;border:1px solid #35576d;border-left:3px solid var(--process-color);border-radius:999px;background:#10283a;color:#cfe6f2;font-size:12px;font-weight:600}
.scenarios #whatIfButtons button:hover{background:#1a394d;border-color:var(--process-color)}
.scenarios #whatIfButtons button[aria-current=true]{background:#173e50;border-color:var(--process-color);color:#b7faff}
.fact-grid .policy-fact strong{font-weight:650}
.policy-fact.traffic strong{color:#7fe0b7}.policy-fact.pending strong,.policy-fact.manual strong{color:#e6bc82}.policy-fact.deny strong,.policy-fact.unreachable strong,.policy-fact.rejected strong{color:#ee9294}
.course-links{margin-top:22px;display:grid;gap:8px}
.course-links h3{margin-bottom:4px}
.course-links a{display:flex;flex-direction:column;gap:3px;min-height:44px;padding:11px 14px;border:1px solid #2f5a6e;border-left:3px solid #68ddf0;border-radius:8px;background:#0f2638;color:#d9f4fb;text-decoration:none}
.course-links a strong{font-size:13px;font-weight:650}
.course-links a span{font-size:12px;color:#93b8ca}
.course-links a:hover{background:#163448;border-color:#68ddf0}
.knowledge-check{margin-top:14px;border:1px solid #2b4a60;border-radius:9px;background:#0b1c2c}
.knowledge-check>summary{display:flex;align-items:center;gap:12px;min-height:48px;padding:10px 16px;cursor:pointer;font-weight:650;color:#e6f3ff}
.knowledge-check>summary span{font-size:12px;font-weight:500;color:#8eabc2}
#knowledgeQuestions{display:grid;gap:14px;padding:4px 16px 0}
.kc-question{margin:0;padding:14px 16px;border:1px solid #243d52;border-radius:8px;background:#0e2233}
.kc-question legend{padding:0 4px;font-size:14px;font-weight:600;color:#e6f3ff;line-height:1.5}
.kc-question label{display:flex;gap:10px;align-items:flex-start;min-height:36px;padding:7px 4px;font-size:14px;color:#c4d9e7;cursor:pointer}
.kc-question input{margin-top:3px;accent-color:#68ddf0}
.kc-feedback{margin:8px 0 0;padding:10px 12px;border-radius:6px;font-size:13px;line-height:1.6}
.kc-feedback:empty{margin:0;padding:0}
.kc-feedback.correct{background:#103a32;color:#bdf3dc}.kc-feedback.incorrect{background:#3a1b22;color:#f6c6cc}
.kc-note{margin:10px 16px 14px;font-size:12px;color:#7f9db3}
.recording-status{display:flex;align-items:center;gap:8px;padding:4px 6px 4px 12px;border:1px solid #6b2a33;border-radius:999px;background:#2a1118;color:#ffc9cf;font-size:12px;font-weight:650}
.recording-status[hidden]{display:none}
.rec-dot{width:9px;height:9px;border-radius:50%;background:#ff5d6c;animation:rec-pulse 1.2s ease-in-out infinite}
@keyframes rec-pulse{50%{opacity:.35}}
@media(prefers-reduced-motion:reduce){.rec-dot{animation:none}}
.recording-status button{min-height:28px;padding:4px 10px;font-size:12px}
body.recording #viewport canvas{object-fit:contain;background:#081522}
body.recording .stage-heading,body.recording .flow-caption,body.recording .scene-tools,body.recording .scene-key,body.recording .scene-help{opacity:.35}
.clip-form{display:grid;gap:16px;margin-top:8px}
.clip-field{display:grid;gap:6px;font-size:13px;font-weight:600;color:#cfe3ef}
.clip-field select{min-height:44px;padding:8px 10px;border:1px solid #35576d;border-radius:8px;background:#0b1c2c;color:#e6f3ff}
.clip-formats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0;padding:0;border:0}
.clip-formats legend{margin-bottom:6px;font-size:13px;font-weight:600;color:#cfe3ef}
.clip-formats label{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border:1px solid #2f5068;border-radius:9px;background:#0b1c2c;cursor:pointer}
.clip-formats label:has(input:checked){border-color:#68ddf0;background:#11324a}
.clip-formats span{display:grid;gap:3px}.clip-formats strong{font-size:14px;color:#e6f3ff}.clip-formats small{font-size:12px;color:#93b8ca}
.clip-formats input,.clip-check input{accent-color:#68ddf0}
.clip-check{display:flex;gap:10px;align-items:center;min-height:36px;font-size:14px;color:#c4d9e7}
.clip-note{margin:0;font-size:13px;color:#93b8ca}
.clip-actions{display:flex;justify-content:flex-end}
.clip-actions button{min-height:44px;padding:10px 20px;font-size:14px}
@media(max-width:780px){
 .clip-formats{grid-template-columns:1fr}
 .stage{height:600px}
 .flow-caption{bottom:46px;padding:9px 12px;border-radius:7px}
 .flow-caption strong{font-size:14px;margin:4px 0}
 .flow-caption small{font-size:11px}
 .stage-heading p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .whatif-row{gap:8px}
 .scenarios #whatIfButtons button{font-size:11px;padding:6px 11px}
}
/* October 6, 2026 (round 3): hover tooltips, packet inspection, connection map, attack drill, logical view, cinematic look, and clip options. */
.hover-tip{position:absolute;left:0;top:0;z-index:5;display:grid;gap:3px;max-width:260px;padding:9px 12px;border:1px solid #3d6a80;border-radius:8px;background:#071524f2;box-shadow:0 10px 30px #0008;pointer-events:none;font-size:12px;line-height:1.4;color:#c9deeb}
.hover-tip[hidden]{display:none}
.hover-tip strong{font-size:13px;color:#f0f9ff}
.hover-tip code{font:600 12px/1.4 Consolas,monospace;color:#8fe6f0}
.hover-tip span{color:#a5c1d3}
.packet-card{position:absolute;right:18px;top:74px;z-index:6;width:min(390px,calc(100% - 36px));max-height:calc(100% - 150px);overflow:auto;padding:16px 18px;border:1px solid #4a7d92;border-left:3px solid #fff1c2;border-radius:10px;background:#071627f5;box-shadow:0 20px 60px #000a;color:#cfe3ef;font-size:13px;line-height:1.55;scrollbar-color:#3b566e #071627}
.packet-card[hidden]{display:none}
.packet-card:focus-visible{outline:3px solid #eacb8f;outline-offset:2px}
.packet-card-head{display:flex;gap:12px;align-items:flex-start;justify-content:space-between}
.packet-card h2{margin:6px 0 0;font-size:16px;line-height:1.35;font-weight:600;color:#f3f9ff}
.packet-close{flex:none;min-height:32px;width:32px;padding:0;font-size:14px}
.packet-where{margin:10px 0 12px;color:#fff1c2;font-size:12px;font-weight:600}
.packet-layers{display:grid;gap:8px;margin:0}
.packet-layer{padding:9px 11px;border:1px solid #24445a;border-radius:7px;background:#0b1e30}
.packet-layer dt{font-size:11px;font-weight:650;letter-spacing:.4px;color:#8fd9e6;margin-bottom:5px}
.packet-layer dd{display:grid;grid-template-columns:110px minmax(0,1fr);gap:8px;margin:3px 0 0}
.packet-layer dd span{color:#8eabc2;font-size:12px}
.packet-layer dd code{font:12px/1.5 Consolas,monospace;color:#e2f3fb;overflow-wrap:anywhere}
.packet-wire{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.packet-wire span,.packet-decision span{display:block;font-size:10px;font-weight:650;letter-spacing:1.2px;color:#8eabc2;margin-bottom:4px}
.packet-wire p{margin:0;font-size:12px;color:#c3d8e6}
.packet-decision{margin:12px 0 0;padding:10px 12px;border-radius:7px;background:#0e2a28;color:#bdf3dc;font-size:12px}
.packet-decision.pending{background:#33280f;color:#f4dca9}.packet-decision.deny,.packet-decision.unreachable,.packet-decision.rejected{background:#3a1b22;color:#f6c6cc}
.packet-note{margin:10px 0 0;font-size:12px;color:#a8c3d5}
.packet-actions{display:flex;flex-wrap:wrap;gap:8px;margin:-6px 0 16px}
.packet-actions button{min-height:40px;padding:8px 13px;border-color:#5f8fa3;background:#12324a;color:#d8f6ff}
.drill-test{display:grid;gap:5px;margin:4px 0 16px;padding:12px 14px;border:1px solid #6b3a44;border-left:3px solid #ee9294;border-radius:8px;background:#2a141a}
.drill-test span{font-size:10px;font-weight:650;letter-spacing:1.2px;color:#f0b3b8}
.drill-test strong{font-size:13px;font-weight:600;color:#ffe3e5;line-height:1.5}
.drill-summary strong{color:#7fe0b7}
.drill-scorecard{display:grid;gap:6px;margin:0;padding:0!important;list-style:none}
.drill-scorecard li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;padding:9px 11px;margin:0;border:1px solid #2b4a60;border-radius:7px;background:#0b1e30;font-size:12px;line-height:1.45}
.drill-scorecard li[aria-current=step]{border-color:#ee9294;background:#2a141a}
.drill-scorecard strong{font-size:11px;color:#ee9294;text-align:right}.drill-scorecard li.pending strong{color:#e6bc82}
.drill-scorecard small{grid-column:1/-1;color:#8eabc2;font-size:11px}
.scenarios #whatIfButtons .drill-button{border-color:#7a3c46;background:#2a141a;color:#ffd5d8}
.scenarios #whatIfButtons .drill-button[aria-current=true]{background:#3a1b22;border-color:#ee9294;color:#ffe3e5}
.connections{display:grid;gap:8px}
.connections-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
#systemContent .connections-head p{margin:0;font-size:14px;line-height:1.5}
.connections-head button{flex:none;min-height:40px}
.connections-group{margin:10px 0 2px;font-size:12px;letter-spacing:.4px;color:#7fe0b7}
.connections-group.pending{color:#e6bc82}.connections-group.deny{color:#ee9294}
.connections-group span{font-weight:400;color:#8eabc2}
.connections-list{display:grid;gap:6px;margin:0;padding:0!important;list-style:none}
#systemContent .connections-list li{display:grid;grid-template-columns:44px minmax(0,1fr);gap:2px 10px;margin:0;padding:9px 11px;border:1px solid #24445a;border-left:3px solid #7fe0b7;border-radius:7px;background:#0b1e30;font-size:13px;line-height:1.45}
#systemContent .connections-list li.pending{border-left-color:#e6bc82}#systemContent .connections-list li.deny{border-left-color:#ee9294}
.connections-list b{grid-row:span 2;font:600 13px/1.4 Consolas,monospace;color:#e2f3fb}
.connections-list small{color:#8eabc2;font-size:12px}
body.look-cinematic .stage{background:#03070d}
.clip-options{display:grid;grid-template-columns:200px minmax(0,1fr);gap:14px;align-items:start}
.clip-extras{margin:0;padding:0;border:0;display:grid;gap:2px}
.clip-extras legend{margin-bottom:4px;font-size:13px;font-weight:600;color:#cfe3ef}
@media(max-width:780px){
 .packet-card{top:auto;bottom:12px;right:12px;left:12px;width:auto;max-height:70%}
 .packet-wire{grid-template-columns:1fr}
 .packet-layer dd{grid-template-columns:96px minmax(0,1fr)}
 .clip-options{grid-template-columns:1fr}
 .connections-head{flex-wrap:wrap}
}
.packet-card{padding:14px 16px}
.packet-layer{padding:8px 10px}
.packet-layer dd{grid-template-columns:100px minmax(0,1fr)}
@media(min-width:781px){.packet-card.left{right:auto;left:18px;top:150px;max-height:calc(100% - 230px)}}
/* Phones: short tool names keep the scene tools on one row (accessible names stay in full). */
.tool-short{display:none}
@media(max-width:780px){.tool-long{display:none}.tool-short{display:inline}.scene-tools{gap:4px}.scene-tools button{padding:6px 7px}.packet-layer dd{grid-template-columns:96px minmax(0,1fr)}}
/* On-stage step narration and playback: the words and controls sit beside the motion they describe. */
.flow-caption{max-width:min(600px,calc(100% - 56px))}
.flow-caption-text{min-width:0;flex:1}
.stage-description{margin:8px 0 0;font-size:12.5px;line-height:1.5;color:#b9d0df;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.stage-description:empty{display:none}
.stage-transport{display:flex;align-items:center;gap:5px;flex:none;align-self:center}
.stage-transport button{min-height:34px;padding:5px 11px;font-size:12px}
.stage-transport #stageBack,.stage-transport #stageNext{font-size:18px;padding:2px 10px}
.stage-transport #stagePlay{min-width:64px}
.stage-counter{font-size:11px;color:#8fb2c8;min-width:34px;text-align:center;font-variant-numeric:tabular-nums}
.flow-caption:not(.is-step) .stage-transport,.flow-caption:not(.is-step) .stage-description{display:none}
@media(max-width:780px){.stage-description{display:none}.stage-transport button{min-height:40px}.flow-caption{gap:10px}}
@media(max-width:440px){.stage-counter{display:none}}
body.cinema .stage-transport{opacity:.85}
.flow-caption{max-width:min(520px,calc(100% - 56px));padding:12px 14px;gap:12px}
.flow-caption strong{margin:5px 0}
.stage-description{margin-top:6px;font-size:12px;line-height:1.45}
@media(max-width:780px){#followToggle{display:none}.flow-caption{flex-wrap:wrap}.flow-caption-text{flex:1 1 calc(100% - 30px)}.stage-transport{margin-left:22px}}
/* Traffic walkthroughs are optional: a collapsed section below the explorer. */
.traffic-section{border-bottom:1px solid #294a60;background:#0b1828}
.traffic-section>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:18px;padding:18px 28px;min-height:64px}
.traffic-section>summary::-webkit-details-marker{display:none}
.traffic-section>summary:hover{background:#0f2134}
.traffic-section>summary:focus-visible{outline:3px solid #eacb8f;outline-offset:-3px}
.traffic-summary-text{display:flex;align-items:baseline;gap:14px;flex:1;min-width:0;flex-wrap:wrap}
.traffic-summary-text strong{font-size:20px;font-weight:600;letter-spacing:-.3px;color:#edfaff}
.traffic-summary-text span{font-size:13px;color:#a7c3d4}
.traffic-summary-count{font-size:11px;letter-spacing:.4px;color:#7fa6bd;white-space:nowrap}
.traffic-chevron{font-size:18px;color:#8cd8e6;transition:transform .2s}
.traffic-section[open]>.traffic-chevron,.traffic-section[open]>summary .traffic-chevron{transform:rotate(180deg)}
.traffic-section .scenarios>.process-heading{display:none}
.traffic-section .scenarios{border-top-color:#1f3a4e}
body:not(.process-active) #reset,body:not(.process-active) #followToggle{display:none}
@media(max-width:780px){.traffic-section{order:0}.traffic-section>summary{padding:16px;gap:12px}.traffic-summary-count{display:none}.traffic-summary-text strong{font-size:18px}}
@media(prefers-reduced-motion:reduce){.traffic-chevron{transition:none}}
/* Playback appears once a process is chosen, so nothing looks selected before the learner picks one. */
body:not(.process-active) #processPlayback{display:none}
/* Layout pass (October 7, 2026): one slim toolbar along the top of the stage, a Key popover, and a phone menu. */
.stage-toolbar{position:absolute;top:0;left:0;right:0;z-index:4;display:flex;align-items:center;justify-content:flex-end;gap:6px;padding:10px 16px;background:linear-gradient(#081624f0,#08162400);pointer-events:none}
.stage-toolbar>*{pointer-events:auto}
.stage-toolbar .recording-status{margin-right:auto}
/* The share and presentation actions sit at the left of the toolbar, the view options at the right (owner direction, 20 October 2026). */
.stage-toolbar .scene-tools{flex:1 1 auto}
.stage-toolbar .share-actions{display:flex;flex-wrap:wrap;gap:5px;margin-left:auto;padding-left:10px}
.stage-toolbar .scene-tools{position:static;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-end;gap:5px;top:auto;bottom:auto;left:auto;right:auto}
.stage-toolbar .scene-tools button{font-size:11px;min-height:30px;padding:5px 9px}
.phone-only{display:none}
.stage-heading{top:58px}
body.process-active .stage-heading p{display:none}
body.process-active .stage-heading h2{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:min(560px,60vw)}
.scene-key,.scene-help{display:none}
body.show-key .scene-key{display:flex;position:absolute;top:52px;right:16px;left:auto;bottom:auto;z-index:5;flex-direction:column;gap:9px;padding:12px 14px;border:1px solid #35566b;border-radius:9px;background:#081626f2;box-shadow:0 10px 30px #0008;font-size:11px}
body.show-key .scene-help{display:block;position:absolute;top:152px;right:16px;left:auto;bottom:auto;z-index:5;margin:0;max-width:220px;text-align:right}
#viewport canvas:focus-visible{outline:3px solid #eacb8f;outline-offset:-4px}
/* Step diagram replaces the 3D relationship thumbnail during walkthroughs. */
body.process-active #relationshipView{display:none}
.ladder{margin:0 0 18px;padding:12px 10px 8px;border:1px solid #2f4f63;border-radius:10px;background:#0a1a29}
.ladder figcaption{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0 4px 6px;font-size:9px;letter-spacing:1.3px;color:#7fa6bd}
.ladder-key{display:flex;align-items:center;gap:5px;letter-spacing:0;font-size:10px;color:#9ab7c9}
.ladder-key i{display:inline-block;width:8px;height:8px;border-radius:2px;margin-left:6px}
.ladder-head{font-size:10px;font-weight:600;fill:#cfe5f2}
.ladder-life{stroke:#35546a;stroke-width:1;stroke-dasharray:2 4}
.ladder-label{font-size:10.5px;fill:#b9d2e1}
.ladder-x{font-size:14px;font-weight:700}
.ladder-bg{fill:transparent}
.ladder-row{cursor:pointer;outline:none}
.ladder-row:hover .ladder-bg{fill:#12293b}
.ladder-row.current .ladder-bg{fill:#16334a;stroke:#4e8ea3}
.ladder-row.current .ladder-label{fill:#eefbff;font-weight:600}
.ladder-row:focus-visible .ladder-bg{stroke:#eacb8f;stroke-width:2}
/* In this step: the step's systems, one tap away in the inspector. */
.step-systems{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:10px 0 2px;font-size:11px;color:#8fb2c8}
.step-systems[hidden]{display:none}
.step-systems>span{letter-spacing:1px;text-transform:uppercase;font-size:9.5px;margin-right:2px}
.step-systems button{min-height:28px;padding:4px 9px;font-size:11.5px;background:#10293a;border-color:#2c5266;color:#d6eef7}
.step-systems b{font-weight:600;color:#d6eef7;font-size:11.5px}
.step-systems i{font-style:normal;color:#6f98ae}
/* Pause after each step: the stage caption says the step is done and points at Next. */
.flow-caption.step-complete #stageNext{background:#7de2ee;color:#092030;border-color:#7de2ee}
.flow-caption.step-complete .stage-counter::after{content:' ✓';color:#7fe0b7}
@media(max-width:1150px){.stage-toolbar .scene-tools button{font-size:10px;padding:5px 7px}}
@media(max-width:780px){
 .phone-only{display:inline-flex;align-items:center}
 .stage-toolbar{justify-content:flex-start;flex-wrap:wrap;padding:10px 12px}
 .stage-toolbar .scene-tools{display:none;position:absolute;top:48px;left:12px;right:12px;padding:10px;border:1px solid #35566b;border-radius:10px;background:#081626f5;box-shadow:0 12px 30px #000a;justify-content:flex-start}
 .stage-toolbar .scene-tools.open{display:flex}

 .stage-toolbar .share-actions{width:100%;margin-left:0;padding:8px 0 0;border-top:1px solid #35566b}
 .stage-toolbar .scene-tools button{min-height:40px;font-size:12px;padding:8px 11px}
 .stage-toolbar>button{min-height:36px;font-size:12px;padding:6px 11px;background:#0a192bcc}
 #toolsMenu::after{content:' ▾'}
 .stage-heading{top:56px}
 body.show-key .scene-key{top:auto;bottom:12px;right:12px}
 body.show-key .scene-help{display:none}
}
body.cinema .stage-toolbar{display:none}
/* Phones: give the building and its topology more of the stage (October 8, 2026). */
@media(max-width:780px){.stage{height:600px}.stage-heading p{display:none}.stage-heading h2{font-size:21px;margin:6px 0 0}.flow-caption:not(.is-step){padding:9px 12px}.flow-caption:not(.is-step) small{display:none}.flow-caption:not(.is-step) strong{font-size:13px;margin:4px 0 0}}
/* Explore: network segments carry their VLAN colour. */
.segment-choice{border-left:3px solid var(--node-color,#6fd4ea)!important}
/* October 19, 2026: the network diagram is its own section under the model, replacing the floating 3D topology layer. */
.network-diagram{border-top:1px solid #294a60;background:#091525;padding:30px 28px 38px}
.nd-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;max-width:1240px;margin:0 auto}
.nd-head .eyebrow{font-size:12px;letter-spacing:1.5px;color:#9cdeeb}
.nd-head h2{font-size:26px;line-height:1.2;font-weight:600;letter-spacing:-.5px;margin:6px 0 8px;color:#edfaff}
.nd-head p{font-size:14px;line-height:1.55;margin:0;color:#b1cddd;max-width:720px}
.nd-show3d{flex:none;min-height:40px}
.nd-status{max-width:1240px;margin:16px auto 22px;padding:10px 14px;border:1px solid #29425a;border-radius:8px;background:#0c1b2b;font-size:13px;line-height:1.5;color:#cfe3f1}
.nd-board{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-areas:"v10 v20 v30" "v80 core v40" "v50 v60 v70" ". offline .";column-gap:60px;row-gap:78px;max-width:1240px;margin:0 auto}
.nd-links{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:1;fill:none;stroke-linecap:round;stroke-linejoin:round}
.nd-uplink{transition:opacity .25s}.nd-uplink.is-quiet{opacity:.22}
.nd-trunk{stroke:#5d7c95}
.nd-gate{fill:#07111e;stroke:#7de2ee;stroke-width:2}.nd-gate.is-open{fill:#7de2ee;stroke:none}
.nd-check{stroke:#07111e;stroke-width:2.2;fill:none}
.nd-lit-glow{opacity:.22}.nd-lit.is-unreached{opacity:.3;stroke-dasharray:6 7}
.nd-stop{fill:#ff6b6b;stroke:#3a1418;stroke-width:4;paint-order:stroke}.nd-stop-x{stroke:#07111e;stroke-width:2.4}
.nd-packet{fill:#fff;filter:drop-shadow(0 0 5px #fff)}
.nd-core-wrap{grid-area:core;align-self:center;position:relative;border:2px dashed #4f9fbe;border-radius:26px;padding:28px 26px;background:#071423}
.nd-deny{position:absolute;left:-14px;top:-13px;z-index:2;padding:4px 10px;border:1px solid #4f9fbe;border-radius:12px;background:#07111e;font:700 11px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:1.2px;color:#7de2ee}
.nd-core{position:relative;z-index:2;display:grid;gap:3px;justify-items:center;width:100%;padding:16px 14px;border:2px solid #3b6c8c;border-radius:16px;background:#0d2a40;text-align:center}
.nd-core:hover,.nd-core.is-on{border-color:#7de2ee;background:#0f3150}
.nd-core strong{font-size:19px;color:#f3faff}.nd-core-role{font-size:13px;font-weight:500;color:#c2d6e6}
.nd-kicker{font:600 11px/1.4 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:1.4px;color:#7de2ee}
.nd-core-status{margin-top:6px;padding:4px 10px;border-radius:999px;background:#103e33;color:#bff3df;font-size:12px;font-weight:600}
.nd-core-status[data-kind=deny],.nd-core-status[data-kind=pending]{background:#3a1820;color:#ffc9c9}
.nd-core-status[data-kind=manual]{background:#3a2f1a;color:#f5dfb3}
.nd-vlan{position:relative;z-index:2;align-self:center;display:flex;flex-direction:column;border:2px solid var(--vlan);border-radius:14px;background:#0e1d2e;overflow:hidden;transition:opacity .25s,box-shadow .25s}
.nd-vlan.is-dim,.nd-offline.is-dim{opacity:.42}
.nd-vlan.is-on{box-shadow:0 0 0 4px color-mix(in srgb,var(--vlan) 28%,transparent)}
.nd-vlan-head{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:40px;padding:8px 14px;border:0;border-radius:0;background:var(--vlan);color:#07111e;text-align:left}
.nd-vlan-head:hover{background:var(--vlan);filter:brightness(1.08)}
.nd-vlan-head b{font-size:15px;letter-spacing:.3px}.nd-vlan-head code{font-size:13px;font-weight:700}
.nd-vlan h3{margin:12px 14px 9px;font-size:17px;line-height:1.3;font-weight:600;color:#f3faff}
.nd-chips{display:flex;flex-wrap:wrap;gap:6px;padding:0 14px 14px}
.nd-chip{min-height:30px;padding:5px 9px;border:1px solid #304b62;border-radius:6px;background:#091727;font:500 12px/1.3 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#dcecf8}
.nd-chip:hover{border-color:#7de2ee;background:#12304a}
.nd-chip.is-on{border-color:#7de2ee;color:#fff;background:#123a52}
.nd-chip.is-source,.nd-chip.is-target{border-color:var(--vlan,#7de2ee);background:var(--vlan,#7de2ee);color:#07111e;font-weight:700}
.nd-offline .nd-chip.is-source,.nd-offline .nd-chip.is-target{--vlan:#e5c58e}
.nd-offline{grid-area:offline;position:relative;z-index:2;display:grid;gap:8px;padding:14px 0 0;border:2px dashed #6f8aa6;border-radius:14px;background:#08111c;transition:opacity .25s}
.nd-offline .nd-kicker{padding:0 14px;color:#e5c58e}.nd-offline .nd-chips{padding-bottom:0}
.nd-offline p{margin:0;padding:0 14px 14px;font-size:13px;line-height:1.45;color:#aebdd0}
.nd-offline.is-on{border-color:#e5c58e}
/* Narrow boards: the core on top, then each VLAN on a shared trunk, then the offline area with no link. */
.nd-narrow.network-diagram{padding:24px 16px 30px}
.nd-narrow .nd-head{display:block}.nd-narrow .nd-show3d{margin-top:12px}
.nd-narrow .nd-head h2{font-size:24px}
.nd-narrow .nd-board{display:flex;flex-direction:column;gap:14px;padding-left:30px}
.nd-narrow .nd-core-wrap{padding:20px 16px;margin-bottom:10px}
.nd-narrow .nd-deny{left:-10px}
.nd-narrow .nd-vlan h3{font-size:16px;margin:10px 14px 8px}
.nd-narrow .nd-offline{margin-top:16px}
@media(max-width:780px){.network-diagram{order:3}}
@media(prefers-reduced-motion:reduce){.nd-uplink,.nd-vlan,.nd-offline{transition:none}}
.nd-vlan[data-vlan=v10],.nd-vlan[data-vlan=v20],.nd-vlan[data-vlan=v30]{align-self:end}
.nd-vlan[data-vlan=v50],.nd-vlan[data-vlan=v60],.nd-vlan[data-vlan=v70]{align-self:start}
.nd-narrow .nd-board>.nd-vlan,.nd-narrow .nd-core-wrap,.nd-narrow .nd-offline{align-self:stretch}
/* No underlines anywhere on the site (owner direction, 20 October 2026): the model is its own document, so the site rule does not reach it. */
a,a:hover,a:focus,a:active,a:visited{text-decoration:none!important}
