
#fotas-app{--red:#af1832;--ink:#22292e;--muted:#707b81;--line:#dfe3e3;--green:#137760;--cyan:#71e2ce;--dark:#102329;font-family:Inter,'Segoe UI',Arial,sans-serif;color:var(--ink);font-size:14px;line-height:1.5;min-height:100vh}#fotas-app *{box-sizing:border-box}#fotas-app button,#fotas-app input,#fotas-app select{font:inherit}#fotas-app button{cursor:pointer}#fotas-app button:focus-visible,#fotas-app a:focus-visible,#fotas-app input:focus-visible,#fotas-app [tabindex]:focus-visible{outline:3px solid #dd8b41;outline-offset:4px}#fotas-app button{transition:background .18s,border-color .18s,transform .18s}#fotas-app button:disabled{cursor:not-allowed;opacity:.4}#fotas-app h1,#fotas-app h2,#fotas-app h3,#fotas-app p{margin:0}#fotas-app .topbar{height:82px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(30px,calc((100vw - 1500px)/2));gap:20px}#fotas-app .brand{display:flex;align-items:center;gap:24px}#fotas-app .wordmark{display:inline-block;background:var(--red);color:white;font-weight:750;font-style:italic;font-size:35px;line-height:1;padding:4px 8px 6px;letter-spacing:-1.7px;border-radius:2px;position:relative}#fotas-app .wordmark:after{content:'';position:absolute;height:3px;background:#555;bottom:-6px;left:0;right:0;border-radius:2px}#fotas-app .brand-sub{border-left:0;padding-left:0;color:#59666b;font-size:11px;letter-spacing:1.5px;line-height:1.65}#fotas-app .header-end{display:flex;align-items:center;gap:20px}#fotas-app .header-end a{color:#5d666a;text-decoration:none;font-size:12px}#fotas-app .lang{display:flex;gap:2px;background:#f0f2f1;border-radius:5px;padding:3px}#fotas-app .lang button{border:0;background:transparent;color:#6d7479;font-size:11px;padding:5px 8px;border-radius:3px}#fotas-app .lang button[aria-pressed=true]{background:white;color:var(--ink);box-shadow:0 1px 3px #0001}#fotas-app main{max-width:1560px;margin:auto;padding:34px 30px 22px}#fotas-app .intro{display:flex;justify-content:space-between;align-items:center;gap:28px;margin-bottom:27px}#fotas-app .eyebrow{color:var(--red);font-size:10px;letter-spacing:2.3px;font-weight:750;margin-bottom:7px}#fotas-app h1{font-size:clamp(27px,3vw,39px);font-weight:550;letter-spacing:-1.5px;line-height:1.2}#fotas-app .subtitle{color:#69777c;margin-top:8px;font-size:13px}#fotas-app .stop-all{padding:12px 19px;color:white;background:var(--red);border:1px solid var(--red);border-radius:5px;font-size:12px;font-weight:650;display:flex;gap:12px;align-items:center;white-space:nowrap}#fotas-app .stop-all:hover{background:#8f142b;transform:translateY(-1px)}#fotas-app .workspace{background:white;border:1px solid var(--line);border-radius:9px;overflow:hidden;box-shadow:0 8px 35px #11232905}#fotas-app .modebar{display:flex;align-items:stretch;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 22px;gap:15px}#fotas-app .tabs{display:flex;gap:24px}#fotas-app .tab{display:flex;gap:9px;align-items:center;border:0;border-bottom:3px solid transparent;background:none;color:#7a8589;padding:18px 0 15px;font-size:12px;white-space:nowrap}#fotas-app .tab[aria-pressed=true]{border-bottom-color:var(--red);color:var(--ink);font-weight:700}#fotas-app .tab span:first-child{font-family:monospace;font-size:10px;color:#889296}#fotas-app .online{display:flex;align-items:center;gap:7px;font-size:10px;letter-spacing:1px;color:#547068;white-space:nowrap}#fotas-app .dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#22967b}#fotas-app .main-grid{display:grid;grid-template-columns:minmax(0,1fr) 292px}#fotas-app .visual-column{min-width:0}#fotas-app .stage{position:relative;background:radial-gradient(ellipse at 55% 46%,#213d43 0%,#11272e 60%,#0d1f25 100%);color:#e9f2f1;overflow:hidden}#fotas-app .stage-top{position:absolute;left:24px;top:19px;right:22px;display:flex;justify-content:space-between;z-index:2;pointer-events:none}#fotas-app .scene-kicker{font-family:Consolas,monospace;color:#85a3a8;font-size:9px;letter-spacing:1.5px}#fotas-app .scene-title{font-size:14px;margin-top:5px;font-weight:550}#fotas-app .live-badge{align-self:flex-start;font:9px Consolas,monospace;letter-spacing:1px;color:#85c3b5;border:1px solid #6ec1b22b;padding:4px 7px;border-radius:3px}#fotas-app #scene{display:block;width:100%;aspect-ratio:1120/585;min-height:310px}#fotas-app .stage-bottom{position:absolute;bottom:16px;left:24px;right:22px;display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:9px;color:#91afb4}#fotas-app .legend{display:flex;align-items:center;gap:13px;flex-wrap:wrap}#fotas-app .legend span{display:flex;align-items:center;gap:6px}#fotas-app .swatch{height:2px;width:17px;background:#72e2ce;display:inline-block}#fotas-app .swatch.amber{background:#f3b361}#fotas-app .swatch.red{background:#f36675}#fotas-app .view-controls{display:flex;gap:4px}#fotas-app .view-controls button{background:#0c202bd9;color:#b4c8cd;border:1px solid #416069;padding:5px 8px;font-size:11px;border-radius:3px;min-width:26px}#fotas-app .paused-cover{display:none;position:absolute;inset:0;background:#09171c66;align-items:center;justify-content:center;pointer-events:none;z-index:3}#fotas-app .paused-cover span{background:#162d34;border:1px solid #58727b;color:#fff;padding:13px 25px;border-radius:5px;font-size:13px;letter-spacing:2px}#fotas-app.is-paused .paused-cover{display:flex}#fotas-app .transport{display:flex;align-items:center;justify-content:space-between;padding:11px 20px;background:#f8faf9;border-bottom:1px solid var(--line);gap:10px}#fotas-app .transport-left{display:flex;align-items:center;gap:8px}#fotas-app .plain-btn{border:1px solid #dce2e2;background:white;border-radius:4px;padding:6px 11px;font-size:11px;color:#435158}#fotas-app .plain-btn:hover{background:#f0f3f2;border-color:#aebbbd}#fotas-app .speed{border:0;background:transparent;font:11px Consolas,monospace;color:#738087;padding:6px}#fotas-app .clock{color:#879499;font:10px Consolas,monospace;margin-left:8px;min-width:48px}#fotas-app .options{display:flex;gap:15px;align-items:center;font-size:10px;color:#63757a}#fotas-app .options label{display:flex;align-items:center;gap:5px;cursor:pointer}#fotas-app input[type=checkbox]{accent-color:#426f69;width:12px;height:12px}#fotas-app .scenario-section{padding:17px 20px 19px}#fotas-app .section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}#fotas-app .small-title{font-size:10px;font-weight:750;letter-spacing:1.2px}#fotas-app .subtle{font-size:10px;color:#849195}#fotas-app .scenario-list{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}#fotas-app .scenario{min-width:0;display:flex;align-items:center;gap:11px;text-align:left;background:#fff;border:1px solid #dce2e2;border-radius:5px;padding:12px;color:#29383e}#fotas-app .scenario:hover{background:#f7f9f8;border-color:#afbdbe;transform:translateY(-1px)}#fotas-app .scenario[aria-pressed=true]{background:#fcf3f4;border-color:#ba3a4e;box-shadow:inset 0 0 0 1px #ba3a4e1a}#fotas-app .scenario-icon{width:31px;height:31px;flex-shrink:0;color:#6e8186}#fotas-app .scenario[aria-pressed=true] .scenario-icon{color:var(--red)}#fotas-app .scenario-name{display:block;font-size:12px;font-weight:650}#fotas-app .scenario-info{font-size:9px;color:#899396;display:block;margin-top:3px}#fotas-app .scenario-arrow{margin-left:auto;color:#a4afb0;font-size:16px}#fotas-app .side{border-left:1px solid var(--line);padding:21px 21px 0;display:flex;flex-direction:column;gap:20px;background:#fdfefd}#fotas-app .side-head{display:flex;justify-content:space-between;align-items:center}#fotas-app .mono{font:9px Consolas,monospace;color:#8c969b}#fotas-app .device{background:linear-gradient(#39434b,#252d34);height:53px;border-radius:4px;box-shadow:0 6px 10px #18313b17;position:relative;padding:10px 15px;display:flex;justify-content:space-between;align-items:center;border:1px solid #1f2b34}#fotas-app .device:before,#fotas-app .device:after{content:'•';position:absolute;top:15px;color:#8b9499;font-size:13px;left:4px}#fotas-app .device:after{left:auto;right:4px}#fotas-app .device-brand{font-size:18px;font-weight:750;font-style:italic;color:white;letter-spacing:-1px}#fotas-app .device-port{background:#0d1c21;border:1px solid #95aaa94a;padding:4px 7px;color:#64dfc1;font:8px monospace;letter-spacing:3px}#fotas-app .device-caption{display:flex;justify-content:space-between;font-size:8px;color:#8d979b;margin-top:8px;text-transform:uppercase;letter-spacing:1px}#fotas-app .status-card{padding:15px;background:#f2f6f4;border-left:2px solid #438d79;border-radius:0 4px 4px 0;min-height:129px}#fotas-app .status-card[data-kind=alarm]{background:#fcf0f1;border-left-color:var(--red)}#fotas-app .status-card[data-kind=detected]{background:#fff8ec;border-left-color:#c9933d}#fotas-app .status-kicker{color:#438d79;font-size:9px;font-weight:750;letter-spacing:1.4px;text-transform:uppercase}#fotas-app .status-card[data-kind=alarm] .status-kicker{color:var(--red)}#fotas-app .status-card[data-kind=detected] .status-kicker{color:#ac7826}#fotas-app .status-title{font-size:18px;font-weight:550;letter-spacing:-.4px;margin-top:7px}#fotas-app .status-desc{font-size:11px;color:#77858a;line-height:1.65;margin-top:6px}#fotas-app .metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:-2px}#fotas-app .metric{border-bottom:1px solid var(--line);padding-bottom:12px}#fotas-app .metric label{color:#8d989b;font-size:9px;display:block}#fotas-app .metric strong{font-size:17px;font-weight:550;display:block;margin-top:4px;letter-spacing:-.3px}#fotas-app .metric small{font-size:10px;color:#8d9699;font-weight:400}#fotas-app .sequence{display:flex;flex-direction:column;gap:0;margin:0;padding:0;list-style:none}#fotas-app .sequence li{display:flex;align-items:center;gap:10px;color:#929fa3;font-size:11px;position:relative;padding-bottom:13px}#fotas-app .sequence li:before{content:attr(data-n);display:grid;place-items:center;border:1px solid #d9e1e1;background:#fff;width:21px;height:21px;border-radius:50%;font:9px monospace;z-index:1}#fotas-app .sequence li:not(:last-child):after{content:'';position:absolute;left:10px;top:20px;width:1px;height:15px;background:#dfe6e4}#fotas-app .sequence li.done{color:#3e7063}#fotas-app .sequence li.done:before{border-color:#64a58e;background:#edf7f1;color:#3e8068}#fotas-app .sequence li.current{color:#a32337;font-weight:650}#fotas-app .sequence li.current:before{border-color:#b2394b;color:#af233d;background:#fff6f7}#fotas-app .threshold{display:none;background:#f3f5f4;border:1px solid #e2e7e5;border-radius:4px;padding:10px}#fotas-app .threshold label{display:flex;justify-content:space-between;font-size:10px;color:#647278}#fotas-app .threshold input{width:100%;accent-color:var(--red);margin:8px 0 0}#fotas-app .log{margin-top:auto;padding-top:1px}#fotas-app .log-list{min-height:52px;margin:8px 0 16px;font-size:9px;color:#839195}#fotas-app .log-line{display:flex;gap:8px;border-top:1px solid #eef0ef;padding:7px 0;align-items:start}#fotas-app .log-line span{flex:1;color:#56686e}#fotas-app .log-line b{font-weight:500;color:#9d2940;font-size:8px}#fotas-app .telemetry{border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:0}#fotas-app .plot-panel{padding:18px 23px 13px;min-width:0}#fotas-app .plot-panel+ .plot-panel{border-left:1px solid var(--line)}#fotas-app .plot-meta{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:10px;gap:8px}#fotas-app .plot-meta .value{font:10px Consolas,monospace;color:#518376}#fotas-app .plot{width:100%;height:106px;display:block}#fotas-app .plot-axis{display:flex;justify-content:space-between;color:#9ba5a9;font:8px Consolas,monospace;margin-top:5px}#fotas-app .learn{display:flex;align-items:flex-start;gap:13px;padding:19px 3px 15px}#fotas-app .learn-number{font:11px Consolas,monospace;color:var(--red);border:1px solid #d4dad8;border-radius:50%;height:24px;width:24px;display:grid;place-items:center;flex-shrink:0}#fotas-app .learn p{font-size:12px;line-height:1.65;color:#708087;max-width:1050px}#fotas-app .learn strong{color:#3f555c;font-weight:600}#fotas-app footer{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid #dde3e0;padding-top:14px;color:#929b9c;font-size:9px}#fotas-app footer a{color:#64767a;text-decoration:none}#fotas-app .hotspot{cursor:pointer}#fotas-app .hotspot .target-base{transition:stroke .2s,fill .2s}#fotas-app .hotspot:hover .target-base,#fotas-app .hotspot:focus-visible .target-base{fill:#af1832;stroke:#ffb2bd}#fotas-app .hotspot:hover .target-label{fill:#fff}#fotas-app .scene-label{font-family:Consolas,monospace;letter-spacing:.8px}#fotas-app .muted-label{fill:#849fa6}#fotas-app .scene-labels{opacity:1}#fotas-app.labels-off .scene-labels{opacity:0}#fotas-app .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
@media(min-width:1500px){#fotas-app .main-grid{grid-template-columns:minmax(0,1fr) 320px}#fotas-app .side{padding:25px 25px 0;gap:24px}}
@media(max-width:1050px){#fotas-app main{padding:25px 20px}#fotas-app .main-grid{grid-template-columns:minmax(0,1fr) 255px}#fotas-app .side{padding:17px 15px 0;gap:15px}#fotas-app .tabs{gap:18px}#fotas-app .scenario{gap:7px;padding:10px 8px}#fotas-app .scenario-icon{width:24px}#fotas-app .scenario-name{font-size:10px}#fotas-app .scenario-info{font-size:8px}#fotas-app .scenario-arrow{display:none}#fotas-app .options{gap:7px}#fotas-app .clock{display:none}#fotas-app .scene-title{font-size:12px}#fotas-app .stage-top{left:18px}#fotas-app .legend{gap:8px}#fotas-app .stage-bottom{left:18px;font-size:8px}#fotas-app #scene{min-height:335px}}
@media(max-width:780px){#fotas-app .topbar{height:68px;padding:0 18px}#fotas-app .brand-sub{display:none}#fotas-app .wordmark{font-size:28px}#fotas-app main{padding:25px 12px 18px}#fotas-app .intro{gap:12px;align-items:flex-start;margin:0 6px 24px}#fotas-app h1{font-size:29px;letter-spacing:-1px}#fotas-app .subtitle{font-size:11px;max-width:280px}#fotas-app .eyebrow{font-size:8px}#fotas-app .stop-all{padding:9px;font-size:10px;margin-top:21px;gap:6px}#fotas-app .modebar{padding:0 15px}#fotas-app .tabs{gap:18px;flex:1;justify-content:space-between}#fotas-app .tab{font-size:10px;gap:6px}#fotas-app .online{display:none}#fotas-app .main-grid{grid-template-columns:1fr}#fotas-app #scene{min-height:0;aspect-ratio:1120/680}#fotas-app .stage-top{top:14px}#fotas-app .scene-kicker{font-size:7px}#fotas-app .scene-title{font-size:11px}#fotas-app .live-badge{font-size:7px}#fotas-app .stage-bottom{bottom:12px;left:13px;right:13px}#fotas-app .legend{font-size:7px}#fotas-app .view-controls button{padding:3px 6px}#fotas-app .transport{padding:9px 12px}#fotas-app .plain-btn{font-size:10px;padding:5px 8px}#fotas-app .options{font-size:9px}#fotas-app .scenario-section{padding:15px 12px}#fotas-app .scenario-list{gap:6px}#fotas-app .scenario{flex-direction:column;align-items:flex-start;gap:6px;min-height:93px;padding:10px}#fotas-app .scenario-icon{width:25px;height:25px}#fotas-app .scenario-info{font-size:8px}#fotas-app .side{border-left:0;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:17px}#fotas-app .side-head{grid-column:1/-1}#fotas-app .device-wrap{display:none}#fotas-app .status-card{grid-column:1;grid-row:2;min-height:132px}#fotas-app .status-title{font-size:16px}#fotas-app .metrics{grid-column:2;grid-row:2;gap:8px}#fotas-app .metric strong{font-size:15px}#fotas-app .sequence{grid-column:1;grid-row:3}#fotas-app .log{grid-column:2;grid-row:3;margin-top:0}#fotas-app .threshold{grid-column:1/-1}#fotas-app .telemetry{grid-template-columns:1fr}#fotas-app .plot-panel+ .plot-panel{border-left:0;border-top:1px solid var(--line)}#fotas-app .plot{height:100px}#fotas-app .learn{padding:18px 5px}#fotas-app .learn p{font-size:11px}#fotas-app footer{align-items:flex-start;padding:13px 5px 0;font-size:8px}#fotas-app .header-end a{display:none}}
@media(prefers-reduced-motion:reduce){#fotas-app *{transition:none!important}}
/* The interactive scene is the primary view. Technical analysis sits underneath. */
#fotas-app main{max-width:1680px;padding:25px 30px 22px}#fotas-app .topbar{height:72px}#fotas-app .intro{margin-bottom:23px}#fotas-app h1{font-size:31px;letter-spacing:-.8px}#fotas-app .eyebrow{letter-spacing:1.6px;font-size:9px}#fotas-app .main-grid{display:block}#fotas-app .stage{background:#091321}#fotas-app #scene{aspect-ratio:1600/735;min-height:0}#fotas-app .stage-top{top:24px;left:28px;right:26px}#fotas-app .scene-kicker{font-size:9px;color:#a2bac8;letter-spacing:1.6px}#fotas-app .scene-title{font-size:20px;font-weight:500;margin-top:7px;letter-spacing:-.2px;color:#edf2f4}#fotas-app .live-badge{border-color:#bac9d133;background:#07121a99;color:#b3c7d0;padding:5px 8px;font-size:8px}#fotas-app .stage-bottom{bottom:16px;left:26px;right:25px}#fotas-app .legend{font-size:9px;color:#95aeb9;gap:20px}#fotas-app .view-controls button{background:#142131;border-color:#394956}#fotas-app .transport{background:#101b29;border-color:#30404b;padding:13px 22px}#fotas-app .plain-btn{background:#1a2938;border-color:#3b4d5b;color:#c4d6de;font-size:11px;padding:7px 13px}#fotas-app .plain-btn:hover{background:#253a4b;border-color:#789099}#fotas-app .speed,#fotas-app .clock{color:#9cb1bd}#fotas-app .options{color:#a2b7c0;font-size:10px;gap:20px}#fotas-app .scenario-section{padding:18px 22px 20px}#fotas-app .scenario-list{gap:12px}#fotas-app .scenario{border-radius:5px;padding:13px 16px;gap:14px}#fotas-app .scenario-name{font-size:13px}#fotas-app .scenario-info{font-size:10px}#fotas-app .scenario-icon{width:33px;height:33px}#fotas-app .side{border-left:0;border-top:1px solid var(--line);padding:20px 23px;display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:22px;background:#f8faf9}#fotas-app .side-head,#fotas-app .device-wrap{display:none}#fotas-app .status-card{grid-column:1;grid-row:1;min-height:130px;background:#edf3ef}#fotas-app .metrics{grid-column:2;grid-row:1;margin:0;gap:10px}#fotas-app .metric{padding:0 0 10px}#fotas-app .sequence{grid-column:3;grid-row:1;justify-content:center;padding-left:16px}#fotas-app .sequence li{padding-bottom:10px}#fotas-app .sequence li:not(:last-child):after{height:12px}#fotas-app .threshold{grid-column:3;grid-row:2;align-self:start}#fotas-app .log{grid-column:1 / 3;grid-row:2;padding:0;margin:0}#fotas-app .log-list{display:flex;gap:20px;min-height:0;margin:8px 0 0}#fotas-app .log-line{flex:1;font-size:10px;padding:5px 0 0}#fotas-app .log .section-heading{max-width:160px}#fotas-app .telemetry{background:#fff}#fotas-app .plot{height:115px}#fotas-app .scene-labels{font-family:Consolas,monospace;letter-spacing:.6px}#fotas-app .hotspot:hover rect,#fotas-app .hotspot:focus-visible rect{stroke:#d78c9a;fill:#392230}
@media(max-width:1050px){#fotas-app .scene-title{font-size:17px}#fotas-app .side{grid-template-columns:1fr 1fr 1fr;padding:18px;gap:15px}#fotas-app .scenario-name{font-size:12px}#fotas-app .clock{display:inline}#fotas-app .status-title{font-size:16px}}
@media(max-width:780px){#fotas-app main{padding:24px 10px 18px}#fotas-app .topbar{height:65px}#fotas-app .intro{margin:0 7px 21px}#fotas-app h1{font-size:25px;max-width:280px;line-height:1.15}#fotas-app .eyebrow{font-size:7px}#fotas-app .subtitle{font-size:10px}#fotas-app .stop-all{font-size:10px;margin-top:14px;padding:9px 8px}#fotas-app .stage-top{left:13px;top:13px;right:13px}#fotas-app .scene-kicker{font-size:6px;letter-spacing:.5px}#fotas-app .scene-title{font-size:11px;margin-top:5px}#fotas-app .live-badge{font-size:6px;padding:3px 4px}#fotas-app #scene{min-height:0;aspect-ratio:1600/735}#fotas-app .stage-bottom{bottom:6px;left:13px;right:13px}#fotas-app .legend{font-size:6px;gap:8px}#fotas-app .swatch{width:10px}#fotas-app .view-controls button{font-size:9px;padding:2px 5px;min-width:20px}#fotas-app .transport{padding:10px;gap:5px}#fotas-app .plain-btn{font-size:9px;padding:6px 8px}#fotas-app .options{font-size:8px;gap:6px}#fotas-app .speed{font-size:10px}#fotas-app .clock{display:none}#fotas-app .scenario-section{padding:14px 10px}#fotas-app .scenario-list{gap:6px}#fotas-app .scenario{min-height:98px;padding:11px 9px;gap:6px}#fotas-app .scenario-name{font-size:10px}#fotas-app .scenario-info{font-size:8px}#fotas-app .scenario-icon{height:24px;width:24px}#fotas-app .side{grid-template-columns:1fr 1fr;gap:15px;padding:16px}#fotas-app .status-card{grid-column:1;grid-row:1;padding:12px;min-height:142px}#fotas-app .metrics{grid-column:2;grid-row:1}#fotas-app .sequence{grid-column:1;grid-row:2;padding:0}#fotas-app .log{grid-column:2;grid-row:2}#fotas-app .log-list{display:block;margin-top:6px}#fotas-app .log-line{padding:4px 0;font-size:8px}#fotas-app .threshold{grid-column:1 / -1;grid-row:3}#fotas-app .status-title{font-size:15px}#fotas-app .status-desc{font-size:10px}#fotas-app .telemetry{grid-template-columns:1fr}#fotas-app footer{flex-wrap:wrap}#fotas-app footer>span{width:100%}}

#fotas-app .actor-hit{cursor:pointer}#fotas-app .actor-hit:hover .hit-area,#fotas-app .actor-hit:focus-visible .hit-area{stroke:#e5eef5;stroke-opacity:.45;stroke-dasharray:5 9;fill:#ffffff05}

/* Wide field view; a fullscreen command keeps the scene and live analysis together. */
#fotas-app main{max-width:none;padding:22px 24px}#fotas-app .topbar{padding:0 26px}#fotas-app .swatch:not(.amber):not(.red){background:#ff3047;height:3px}#fotas-app .swatch.red{height:7px;width:7px;border:1px solid #ef9cad;background:transparent;border-radius:50%}
#fotas-app .workspace-actions{display:flex;align-items:center;gap:18px}#fotas-app .expand-btn{border:1px solid #d6dfe0;background:#fff;color:#33464d;border-radius:5px;padding:8px 12px;font-size:11px;white-space:nowrap}#fotas-app .scenario-list{grid-template-columns:repeat(var(--scenario-count,3),minmax(0,1fr))}#fotas-app .scenario-actions{display:flex;align-items:center;gap:14px}#fotas-app .all-btn{border:1px solid #af1832;background:#fff7f8;color:#971c32;border-radius:4px;padding:5px 10px;font-size:10px}#fotas-app .active-events{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}#fotas-app .active-events:empty{display:none}#fotas-app .active-label{font-size:10px;color:#728286;margin-right:4px}#fotas-app .event-chip{display:inline-flex;border:1px solid #d3dedc;border-radius:5px;background:#f5f8f7;overflow:hidden}#fotas-app .event-chip.is-focused{border-color:#aa2b41;background:#fcf2f4}#fotas-app .event-chip button{border:0;background:none;color:#536b70;padding:6px 9px;font-size:10px}#fotas-app .event-chip.is-focused button:first-child{color:#94253a}#fotas-app .event-chip button:last-child{border-left:1px solid #d3dedc;padding:6px 8px}#fotas-app .event-chip i{display:inline-block;width:5px;height:5px;background:#bf3548;border-radius:50%;margin-right:5px}#fotas-app .transport{flex-wrap:wrap}#fotas-app .log-list{flex-wrap:wrap;gap:10px 22px}#fotas-app .log-line{min-width:130px}#fotas-app .actor-hit{cursor:pointer}#fotas-app #scene [tabindex]:focus,#fotas-app #scene [tabindex]:focus-visible{outline:none}
#fotas-app .actor-hit:focus-visible .hit-area{stroke:#a5dfd5;stroke-width:1.5;stroke-opacity:.9;stroke-dasharray:4 5}
#fotas-app .hotspot:focus-visible>rect{stroke:#a5dfd5;stroke-width:2}
#fotas-app .workspace.is-expanded{position:fixed;inset:0;z-index:1000;width:100%;height:100dvh;background:#fff;border-radius:0;border:0;display:flex;flex-direction:column;overflow:auto}#fotas-app .workspace.is-expanded .modebar{flex:0 0 55px}#fotas-app .workspace.is-expanded .main-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;flex:1;min-height:0}#fotas-app .workspace.is-expanded .visual-column{display:flex;flex-direction:column;min-height:0}#fotas-app .workspace.is-expanded .stage{flex:1;min-height:220px}#fotas-app .workspace.is-expanded #scene{height:100%;width:100%;aspect-ratio:auto!important}#fotas-app .workspace.is-expanded .stage-top{top:15px;left:20px}#fotas-app .workspace.is-expanded .scene-title{font-size:16px}#fotas-app .workspace.is-expanded .scenario-section{padding:10px 16px}#fotas-app .workspace.is-expanded .scenario{padding:9px;gap:8px}#fotas-app .workspace.is-expanded .scenario-name{font-size:11px}#fotas-app .workspace.is-expanded .scenario-info{font-size:8px}#fotas-app .workspace.is-expanded .scenario-icon{width:25px;height:25px}#fotas-app .workspace.is-expanded .section-heading{margin-bottom:8px}#fotas-app .workspace.is-expanded .active-events{margin-top:8px}#fotas-app .workspace.is-expanded .side{display:flex;flex-direction:column;border-left:1px solid var(--line);border-top:0;overflow:auto;gap:15px;padding:18px}#fotas-app .workspace.is-expanded .side-head{display:flex}#fotas-app .workspace.is-expanded .status-card{min-height:125px}#fotas-app .workspace.is-expanded .sequence{padding-left:0}#fotas-app .workspace.is-expanded .log-list{display:block}#fotas-app .workspace.is-expanded .telemetry{flex:0 0 auto}#fotas-app .workspace.is-expanded .plot-panel{padding:10px 20px}#fotas-app .workspace.is-expanded .plot{height:75px}#fotas-app .workspace.is-expanded .plot-meta{margin-bottom:5px}#fotas-app .workspace.is-expanded .transport{padding:9px 16px}#fotas-app .workspace.is-expanded .online{display:none}
@media(min-width:1700px){#fotas-app .workspace.is-expanded .main-grid{grid-template-columns:minmax(0,1fr) 330px}}
@media(max-width:1100px){#fotas-app .workspace-actions .online{display:none}#fotas-app .options{gap:12px}#fotas-app .workspace.is-expanded .main-grid{grid-template-columns:minmax(0,1fr) 240px}#fotas-app .workspace.is-expanded .scenario-info{display:none}}
@media(max-width:780px){#fotas-app main{padding:18px 10px}#fotas-app .workspace-actions{gap:0}#fotas-app .modebar{padding:0 10px;gap:10px;flex-wrap:wrap}#fotas-app .tabs{gap:12px}#fotas-app .tab{font-size:9px}#fotas-app .expand-btn{font-size:10px;padding:6px}#fotas-app .workspace-actions{padding-bottom:8px;width:100%;justify-content:flex-end}#fotas-app .scenario-list{grid-template-columns:repeat(2,minmax(0,1fr))}#fotas-app .scenario{flex-direction:row;align-items:center;min-height:68px;padding:9px}#fotas-app .scenario-name{font-size:11px}#fotas-app .scenario-info{font-size:9px}#fotas-app .scenario-actions .subtle{display:none}#fotas-app .options{width:100%;justify-content:flex-start;gap:16px}#fotas-app .transport{gap:10px}#fotas-app .workspace.is-expanded{display:block}#fotas-app .workspace.is-expanded .main-grid{display:block}#fotas-app .workspace.is-expanded .stage{min-height:0}#fotas-app .workspace.is-expanded #scene{height:auto;aspect-ratio:1600 / 735!important}#fotas-app .workspace.is-expanded .side{display:grid;grid-template-columns:1fr 1fr;overflow:visible;border-left:0;border-top:1px solid var(--line)}#fotas-app .workspace.is-expanded .side-head{display:none}#fotas-app .workspace.is-expanded .scenario-info{display:block}#fotas-app .workspace.is-expanded .scene-title{font-size:11px}}
@media(max-height:650px) and (min-width:781px){#fotas-app .workspace.is-expanded .main-grid{flex:none;min-height:410px}#fotas-app .workspace.is-expanded .plot{height:50px}#fotas-app .workspace.is-expanded .scenario-info,#fotas-app .workspace.is-expanded .active-label{display:none}}
#fotas-app .stage-top .live-badge{display:none}

#fotas-app .build-badge{font-family:Consolas,monospace;white-space:nowrap;color:#a3223b}#fotas-app .swatch.green{background:#6ee2ae;height:3px}#fotas-app .scenario[data-kind=observe]{border-color:#adcdbf}#fotas-app .scenario[data-kind=observe]:hover{border-color:#438f6d;background:#f1faf5}#fotas-app .scenario[data-kind=observe][aria-pressed=true]{border-color:#368763;background:#eaf7ef;box-shadow:inset 0 0 0 1px #36876322}#fotas-app .scenario[data-kind=observe] .scenario-icon{color:#368763}#fotas-app .event-chip[data-kind=observe].is-focused{border-color:#368763;background:#eaf7ef}#fotas-app .event-chip[data-kind=observe] i{background:#368763}#fotas-app .event-chip[data-kind=observe].is-focused button:first-child{color:#2d7957}#fotas-app .hotspot[data-kind=observe]:hover rect,#fotas-app .hotspot[data-kind=observe]:focus-visible rect{stroke:#82e1b4;fill:#163c30}#fotas-app #event-effects{pointer-events:none}#fotas-app[data-mode=perimeter] .plot{height:136px}#fotas-app[data-mode=perimeter] .workspace.is-expanded .plot{height:90px}#fotas-app .scenario-info .channel{font-weight:650;color:#6c7b7e}#fotas-app .monitor-screen{font-family:Consolas,monospace}
@media(max-width:1150px){#fotas-app .scenario-info{font-size:9px}#fotas-app .scenario{gap:7px;padding:10px}#fotas-app .scenario-icon{width:25px}}
@media(max-width:780px){#fotas-app footer{flex-wrap:wrap}#fotas-app .stage-bottom .legend{gap:7px}#fotas-app .scenario-list{grid-template-columns:repeat(2,minmax(0,1fr))}#fotas-app .workspace.is-expanded #scene{aspect-ratio:var(--scene-aspect,1600 / 780)!important}}
/* Fourth mode stays visible without horizontal overflow on phones. */
@media(max-width:1050px){#fotas-app .modebar{flex-wrap:wrap;gap:0}#fotas-app .tabs{flex:1;min-width:0;gap:18px}#fotas-app .workspace-actions{margin-left:auto}#fotas-app .online{display:none}}
@media(max-width:780px){#fotas-app .modebar{padding:0 12px}#fotas-app .tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));flex-basis:100%;gap:0 12px}#fotas-app .tab{white-space:normal;padding:11px 0 9px;font-size:11px}#fotas-app .workspace-actions{padding:6px 0}#fotas-app .build-badge{white-space:normal}}
/* A single global stop control; scenarios are started individually below. */
#fotas-app .playback-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 22px;background:#fafbf9;border-bottom:1px solid var(--line);flex-shrink:0}
#fotas-app .playback-copy{min-width:0;flex:1}#fotas-app .playback-copy strong{display:block;font-size:12px;font-weight:650;color:#33464d}#fotas-app .playback-copy>span{display:block;font-size:11px;color:#718086;margin-top:2px}
#fotas-app .playback-bar .stop-all{margin:0;min-height:42px;padding:9px 16px;font-size:11px;gap:8px;justify-content:center}
#fotas-app .workspace.is-expanded .playback-bar{padding:9px 16px}#fotas-app .workspace.is-expanded .modebar{flex-shrink:0}
@media(max-width:780px){#fotas-app .playback-bar{flex-wrap:wrap;padding:11px 12px;gap:10px}#fotas-app .playback-copy{flex-basis:100%}#fotas-app .playback-bar .stop-all{margin-left:auto}#fotas-app .transport-left{flex-wrap:wrap}}

/* Separate illustrative non-threat, neutral and alarm scenarios. */
#fotas-app .scenario-groups{display:grid;grid-template-columns:repeat(var(--scenario-count,3),minmax(0,1fr));gap:14px}
#fotas-app .scenario-group{grid-column:span var(--group-count);min-width:0;display:flex;flex-direction:column}#fotas-app .scenario-group .scenario-list{flex:1;align-items:stretch}#fotas-app .scenario-group-title{font-size:10px;font-weight:700;letter-spacing:.5px;line-height:1.4;margin:0 0 8px;color:#9b2d42;display:flex;align-items:center;gap:6px}#fotas-app .scenario-group-title:before{content:'';width:6px;height:6px;flex:none;border-radius:50%;background:currentColor}
#fotas-app .scenario-group[data-kind=observe] .scenario-group-title{color:#368763}#fotas-app .scenario-group[data-kind=neutral] .scenario-group-title{color:#987320}
#fotas-app .scenario[data-kind=alarm]{border-color:#d6a3ac}#fotas-app .scenario[data-kind=neutral]{border-color:#d5bd7a}#fotas-app .scenario[data-kind=neutral]:hover{border-color:#b79535;background:#fffaf0}#fotas-app .scenario[data-kind=neutral][aria-pressed=true]{border-color:#b79535;background:#fff6d9;box-shadow:inset 0 0 0 1px #b7953522}#fotas-app .scenario[data-kind=neutral] .scenario-icon{color:#aa872c}
#fotas-app .event-chip[data-kind=neutral].is-focused{border-color:#b79535;background:#fff6d9}#fotas-app .event-chip[data-kind=neutral] i{background:#c9a43c}#fotas-app .event-chip[data-kind=neutral].is-focused button:first-child{color:#987320}
#fotas-app .hotspot[data-kind=neutral]:hover rect,#fotas-app .hotspot[data-kind=neutral]:focus-visible rect{stroke:#e3c777;fill:#4a3c1d}#fotas-app .status-card[data-kind=neutral]{background:#fff8e2;border-left-color:#c3a13e}#fotas-app .status-card[data-kind=neutral] .status-kicker{color:#987320}#fotas-app .legend .swatch.green{background:#6ee2ae}#fotas-app .legend .swatch.neutral{background:#e7bd58}
@media(max-width:780px){#fotas-app .scenario-group{grid-column:1 / -1}#fotas-app .scenario-group .scenario-list{grid-template-columns:repeat(2,minmax(0,1fr))}#fotas-app .scenario-groups{gap:14px}#fotas-app .stage-bottom .legend{gap:5px}}
/* Keep the scene controls below the drawing at every normal/fullscreen width. */
#fotas-app .stage-bottom{position:relative;inset:auto;padding:8px 22px 12px;flex:none;min-height:42px}
#fotas-app .view-controls{flex-shrink:0}
@media(min-width:781px){#fotas-app .workspace.is-expanded .stage{display:flex;flex-direction:column}#fotas-app .workspace.is-expanded #scene{flex:1;min-height:0;height:0}}
@media(max-width:780px){#fotas-app .stage-bottom{padding:7px 12px 10px}}
