:root{color-scheme:dark;--bg:#080f18;--pane:#0d1723;--pane2:#111e2b;--line:#253548;--text:#ecf3fb;--mute:#899eb1;--teal:#52d6cd;--blue:#7dbaff;--green:#74dfad;--red:#f58e98;--amber:#ffcf79;--shadow:0 18px 44px #0006;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}*{box-sizing:border-box}body,html{height:100%;margin:0;background:var(--bg);color:var(--text);font-size:12px}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--teal);outline-offset:2px}.hidden{display:none!important}.top{height:65px;background:#0c1723;border-bottom:1px solid var(--line);padding:0 22px;display:flex;align-items:center;justify-content:space-between;gap:15px}.brand{display:flex;gap:11px;align-items:center;white-space:nowrap}.logomark{width:37px;height:37px;border:1px solid #367c83;background:#15383e;display:grid;place-items:center;border-radius:10px;color:#63e3da;padding:5px}.logomark svg{width:100%}.brandname{font-size:16px;font-weight:800;letter-spacing:.3px}.brandname span{font-weight:500;color:#a0b9ca}.brandname small{display:block;color:#668497;font-size:8px;letter-spacing:1.1px;font-weight:650;margin-top:2px}.breadcrumbs{color:var(--mute)}.breadcrumbs span{padding:0 11px;color:#4c6276}.breadcrumbs strong{color:#c0d1e2;font-weight:550}.topstatus{display:flex;align-items:center;gap:10px}.badge{border:1px solid #2c4053;background:#101f2d;border-radius:7px;padding:7px 10px;color:#a5bbcc;font-size:10px;white-space:nowrap}.badge.demo{color:#ecc995;border-color:#68513b;background:#3a2c1f88}.onlinepoint{display:inline-block;width:6px;height:6px;background:var(--teal);border-radius:50%;margin-right:5px}.avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#174951;color:#a3faf1;border:1px solid #2b6971;font-weight:800}.shell{height:calc(100vh - 65px);display:grid;grid-template-columns:minmax(0,1fr)}.left,.right{min-height:0;overflow:auto;background:#0c1622;scrollbar-width:thin}.left{border-right:1px solid var(--line)}.right{border-left:1px solid var(--line)}.sidehead{height:55px;border-bottom:1px solid var(--line);padding:0 16px;display:flex;align-items:center;justify-content:space-between}.sidehead strong{font-size:12px;font-weight:730}.sidehead span{font-size:9px;color:#698399;letter-spacing:1.2px}.sidecontent{padding:17px}.searchbox{display:flex;gap:9px;align-items:center;border:1px solid #304256;border-radius:9px;background:#10202e;padding:0 10px;height:38px;color:#8ba6bb}.searchbox input{border:0;background:transparent;outline:0;width:100%;min-width:0}.sectionlabel{font-size:9px;font-weight:800;letter-spacing:1.25px;color:#698398;margin:22px 0 10px}.palette{display:flex;align-items:center;gap:11px;padding:10px 8px;margin:4px -4px;border-radius:9px;border:1px solid transparent;cursor:grab}.palette:hover{background:#162636;border-color:#345064}.palette-icon{width:37px;height:37px;flex-shrink:0;display:grid;place-items:center;font-size:21px;color:#8bc7f9;border:1px solid #294d64;background:#182f45;border-radius:9px}.palette-icon.switch{color:#83e8d5;background:#123d37;border-color:#27665b}.palette-icon.host{color:#bdc4f6;background:#293047;border-color:#434969}.palette-icon.cloud{color:#b3b0ff;background:#33304e;border-color:#524a72}.palette b{display:block;font-size:11.5px}.palette small{display:block;color:#879bb1;font-size:10px;margin-top:4px}.palette .plus{margin-left:auto;color:#8ea7ba;font-size:16px}.tip{padding:12px;background:#102632;border:1px solid #2c5058;border-radius:9px;margin-top:22px;color:#a0c0cd}.tip strong{color:#c4eee8}.tip p{line-height:1.65;margin:6px 0 0;font-size:10.5px}.tip kbd{border:1px solid #41616a;border-radius:4px;padding:0 3px}.legend{display:grid;gap:12px;color:#9aaebd;padding:19px 2px;font-size:10.5px}.legend>div{display:flex;align-items:center;gap:11px}.line-key{width:25px;border-top:3px solid var(--teal)}.line-key.suspended{border-color:var(--red);border-top-style:dashed}.line-key.bundle{border-top-width:6px;border-color:#66baf0}.line-key.convert{border-color:var(--amber);border-top-style:dotted}.workspace{display:flex;flex-direction:column;min-width:0;min-height:0}.toolbar{height:69px;flex-shrink:0;border-bottom:1px solid var(--line);background:#0e1a27;padding:0 16px;display:flex;align-items:center;justify-content:space-between;gap:10px}.labheading{display:flex;align-items:center;gap:10px;min-width:0}.labicon{width:37px;height:37px;border:1px solid #35566a;background:#18364a;border-radius:9px;display:grid;place-items:center;font-size:23px;color:#80bce8}.labheading h1{font-size:13px;margin:0;white-space:nowrap}.labheading p{font-size:10px;color:#8a9eb1;margin:5px 0 0;white-space:nowrap}.labheading p span{color:#40576b;padding:0 3px}.toolactions{display:flex;gap:7px;align-items:center}.btn{border:1px solid #34485a;border-radius:8px;background:#172839;color:#cfe0eb;font-size:10.8px;font-weight:690;white-space:nowrap;padding:9px 11px;min-height:34px}.btn:hover{background:#24394a}.btn.primary{background:#18686c;border-color:#329f9f;color:#e6fdf9}.btn.green{color:#9cf1c8}.btn.red{color:#f8a3a9}.btn.active{color:#b9fff5;border-color:#42cfc2;background:#1c4848}.btn.small{padding:7px 9px;min-height:29px}.canvas{position:relative;flex:1;min-height:200px;overflow:hidden;background:#0c1825;background-image:radial-gradient(circle,#33516a7c 1px,transparent 1px);background-size:23px 23px;isolation:isolate}.canvas.linking{cursor:crosshair}.wires{position:absolute;inset:0;z-index:1;width:100%;height:100%;pointer-events:none}.wirepath{stroke:#4ba9aa;fill:none;stroke-width:2.7}.wirepath.suspended{stroke:#dd727e;stroke-width:2.6;stroke-dasharray:8 6}.wirepath.offline{stroke:#5d7082;stroke-dasharray:5 6}.wirepath.convert{stroke:#ebb770;stroke-dasharray:2 6}.wirepath.bundle{stroke:#71b8ef;stroke-width:5}.wirepath.selected{filter:drop-shadow(0 0 5px #74d6ee);stroke:#83efe5}.wirehit{stroke:transparent;stroke-width:22;fill:none;pointer-events:stroke;cursor:context-menu}.wirelabel{fill:#122b38;stroke:#3b7583;stroke-width:1;pointer-events:none}.wirelabeltext{fill:#b6e8e5;font-size:10px;font-weight:700;text-anchor:middle;dominant-baseline:central;pointer-events:none}.node{position:absolute;z-index:3;width:184px;height:91px;border:1px solid #375266;border-radius:11px;background:linear-gradient(145deg,#182f42,#102131);box-shadow:0 11px 30px #0007;user-select:none;touch-action:none;cursor:grab}.node:hover{border-color:#6b9fac}.node.selected{border:2px solid var(--teal);box-shadow:0 0 0 4px #45c5bc14,0 15px 40px #0008}.node.stopped{opacity:.77;background:linear-gradient(145deg,#17232f,#101b27)}.nodeheader{padding:10px 9px 9px;display:flex;align-items:center;gap:9px}.stencil{width:49px;height:43px;flex-shrink:0;color:#84d3e6}.stencil.switch{color:#72ddce}.stencil.cloud{color:#b7aaff}.stencil.host{color:#a8bef3}.stencil.service{color:#eac692}.node-label{min-width:0;flex:1}.node-label b{font-size:12px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.node-label small{font-size:10px;color:#8eacbf;margin-top:5px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.led{width:7px;height:7px;flex-shrink:0;border-radius:50%;background:var(--green);box-shadow:0 0 8px #50e0a777;align-self:flex-start;margin-top:5px}.node.stopped .led{background:#8795a8;box-shadow:none}.nodefooter{height:25px;background:#0c1b28a6;border-top:1px solid #284354;border-radius:0 0 10px 10px;display:flex;align-items:center;justify-content:space-between;padding:0 10px;font-size:9.8px;color:#8ca7b7}.nodefooter strong{color:#80dfd2;font-weight:500}.node.stopped .nodefooter strong{color:#a2abb7}.nodeport{position:absolute;width:8px;height:8px;border-radius:50%;background:#69b9c1;border:2px solid #b2f1f4;pointer-events:none}.nodeport.left{top:42px;left:-5px}.nodeport.right{top:42px;right:-5px}.canvas-top{position:absolute;top:15px;left:18px;z-index:6;display:flex;gap:7px}.chip{border:1px solid #31485a;background:#0d1b29ef;color:#a7bac9;padding:8px 10px;border-radius:8px;font-size:10px;backdrop-filter:blur(12px)}.chip b{color:#e1f3f3}.chip.teal{color:#81e1d6}.link-instruction{position:absolute;z-index:9;left:50%;transform:translateX(-50%);top:62px;border:1px solid #3aaba7;background:#154344ed;padding:10px 13px;border-radius:9px;white-space:nowrap;box-shadow:var(--shadow)}.canvas-bottom{position:absolute;left:17px;bottom:13px;z-index:5;display:flex;gap:10px;align-items:center;color:#7791a5;font-size:10px}.minimap{position:absolute;z-index:2;right:16px;bottom:15px;width:126px;height:78px;border:1px solid #3b5669;background:#13293bcf;border-radius:9px}.mini-node{position:absolute;width:12px;height:8px;border-radius:2px;background:#60d5c8;border:1px solid #9aeee9;transform:translate(-50%,-50%)}.mini-node.stopped{background:#5c7080;border-color:#8398a9}.terminal-output{padding:10px 15px;overflow:auto;white-space:pre-wrap;flex:1;font:11px/1.62 ui-monospace,SFMono-Regular,Consolas,monospace;color:#d2e6dc}.terminal-output .dim{color:#7892a3}.terminal-output .cyan{color:#6ae5d8}.terminal-output .bad{color:#e59e9e}.terminal-output .good{color:#94e9c1}.inspector{padding:17px}.inspector h2{font-size:15px;margin:0}.inspector .secondary{color:#8fa9bc;line-height:1.55;font-size:10.5px}.inspect-head{display:flex;align-items:center;gap:12px;margin-bottom:15px}.inspect-head .stencil{width:50px;height:50px}.pill{display:inline-flex;padding:6px 9px;color:#91efca;background:#16433966;border:1px solid #346b5c;border-radius:7px;font-size:10px}.pill.warn{color:#f2c783;background:#4e362044;border-color:#75573c}.pill.stop{color:#b8c2cc;background:#202d3b;border-color:#445569}.rule{border-top:1px solid #293b4b;margin:16px 0}.ins-label{margin:19px 0 10px;font-size:9px;letter-spacing:1.2px;font-weight:800;color:#7891a6;text-transform:uppercase}.kv{display:flex;justify-content:space-between;align-items:start;padding:8px 0;border-bottom:1px solid #1d2e3b;gap:10px;font-size:10.5px}.kv>span:first-child{color:#8ea4b5}.kv>span:last-child{font-weight:600;text-align:right;max-width:60%;overflow-wrap:anywhere}.row-buttons{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}.inspector .row-buttons>.btn{flex:1}.iface-row{display:flex;align-items:center;gap:9px;background:#101f2e;border:1px solid #263b4c;border-radius:7px;padding:9px;margin:5px 0}.iface-row b{font-size:10px}.iface-row small{color:#7e9aab;margin-left:auto;text-align:right;font-size:10px}.notice{border:1px solid #5c5139;background:#34291d88;color:#edcd94;padding:11px;border-radius:9px;line-height:1.55;font-size:10.5px;margin:11px 0}.goodnote{border-color:#315f58;background:#103a35;color:#a1eddd}.contextmenu{position:fixed;z-index:50;min-width:215px;padding:6px;background:#142638;border:1px solid #3d566a;border-radius:11px;box-shadow:0 19px 50px #000a}.contextmenu .menu-title{padding:10px 11px;font-size:10px;color:#80a0b4;letter-spacing:.6px;border-bottom:1px solid #2d4152;margin-bottom:6px}.contextmenu button{width:100%;background:transparent;border:0;padding:10px 11px;border-radius:6px;text-align:left;color:#dcecf4;display:flex;gap:13px;justify-content:space-between}.contextmenu button:hover{background:#254153}.contextmenu button.danger{color:#f4a0a7}.contextmenu button:disabled{color:#627789;opacity:.6}.contextmenu hr{border:0;border-top:1px solid #2d4051;margin:5px}.modal-backdrop{position:fixed;z-index:60;inset:0;background:#020811ba;display:flex;align-items:center;justify-content:center;padding:15px;backdrop-filter:blur(6px)}.modal{width:min(810px,96vw);max-height:91vh;display:flex;flex-direction:column;background:#102131;border:1px solid #3d586a;border-radius:15px;box-shadow:0 35px 90px #000a}.modal>header{padding:21px 24px;border-bottom:1px solid #2e4658;display:flex;align-items:center;justify-content:space-between}.modal h2{font-size:19px;margin:5px 0 0}.eyebrow{font-size:9px;letter-spacing:1.5px;font-weight:800;color:#65bcb5}.iconbtn{border:1px solid #345267;border-radius:7px;background:#1d3141;width:30px;height:30px}.modal-content{overflow:auto;min-height:100px;padding:21px 24px;scrollbar-width:thin}.modal>footer{padding:16px 24px;border-top:1px solid #2e4658;display:flex;justify-content:flex-end;gap:9px}.formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field{display:flex;flex-direction:column;gap:7px}.field label{color:#91adbd;font-size:10px;font-weight:650}.field input,.field select,.field textarea{width:100%;padding:10px 11px;border-radius:8px;background:#0a1926;border:1px solid #345065;outline:none;color:#e3eff4}.field textarea{min-height:70px;resize:vertical}.subhead{font-size:12px;font-weight:750;margin:19px 0 10px}.muted{color:#8eabbd;font-size:11px;line-height:1.6}.formslots{border:1px solid #2e4656;border-radius:9px;padding:12px;display:grid;gap:9px}.slotrow{display:grid;grid-template-columns:72px 1fr;align-items:center;gap:10px}.slotrow span{color:#b7cddd;font-size:10px}.slotrow select{padding:8px;background:#102a3a;border:1px solid #34556a;border-radius:7px;color:#d8ebf1}.portlist{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;max-height:160px;overflow:auto}.portlist button{padding:8px 5px;border-radius:6px;border:1px solid #3b5262;background:#142c3c;color:#b4cddb;text-align:left;font-size:10px}.portlist button:hover{border-color:var(--teal)}.tabrow{display:flex;gap:8px;margin-bottom:15px}.tabrow button{flex:1}.diffgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.diffcard{padding:13px;border:1px solid #344a5c;background:#0c1c2b;border-radius:9px}.diffcard h3{margin:0 0 10px;font-size:12px}.diffcard .kv{font-size:10px}.issues{margin:13px 0 0;padding-left:19px;color:#f0c187;line-height:1.8}.issues.none{color:#9ce5cf}.packet-table{border-collapse:collapse;width:100%;font:10.5px ui-monospace,Consolas,monospace}.packet-table th{text-align:left;background:#182c3d;color:#9cb6ca;padding:9px}.packet-table td{border-bottom:1px solid #283e4b;padding:9px;color:#b7cbd9}.packet-table .emptycell{text-align:center;padding:24px;color:#7d9aad}.toast{position:fixed;z-index:80;top:75px;left:50%;transform:translateX(-50%);background:#194649;border:1px solid #4ab9b4;border-radius:9px;padding:10px 15px;color:#d2f8f0;opacity:0;pointer-events:none;transition:opacity .2s}.toast.show{opacity:1}@media(max-width:1280px){.palette{gap:7px}.toolbar{padding:0 8px}.toolactions{gap:4px}.btn{padding:8px}.breadcrumbs{display:none}}@media(max-width:980px){.topstatus .badge:not(.demo){display:none}.toolactions .btn{font-size:0}.toolactions .btn::first-letter{font-size:12px}}@media(max-width:680px){.top{padding:0 12px}.toolbar{height:auto;min-height:60px;flex-wrap:wrap;padding:8px}.toolactions .btn{font-size:11px}.canvas-top .chip:nth-child(n+3){display:none}.modal{max-height:96vh}.formgrid,.diffgrid{grid-template-columns:1fr}.portlist{grid-template-columns:repeat(2,1fr)}}
/* v0.4 interactive controls and original Cisco-style network pictograms (not official Cisco artwork). */
.led{height:8px;width:8px;border-radius:50%;background:#748397;box-shadow:0 0 0 4px #70839918;align-self:flex-start;margin-top:8px}.led.live{background:#63deb0;box-shadow:0 0 9px #63deb099}.notice{margin:13px 0;padding:12px 14px;color:#c4d7e5;border:1px solid #36536a;background:#0b2432;border-radius:8px;line-height:1.6}.notice[data-level="converter"]{border-color:#9c7841;color:#ffe0ae}.notice[data-level="blocked"]{border-color:#99494c;color:#ffb7bd}.notice[data-level="ok"]{border-color:#377d65;color:#a5f0ca}.notice[data-level="unknown"]{border-color:#54718d}.checkline{display:flex;align-items:center;gap:9px;color:#bdd4e3;margin:14px 0}.checkline input{accent-color:#5ad7c9}.scrollpanel{display:grid;gap:6px;max-height:390px;overflow:auto;padding-right:7px}.portrow{border:1px solid #2b4557;background:#0d2230;border-radius:7px;padding:7px 10px;display:flex;justify-content:space-between;align-items:center;gap:10px}.portrow>span>strong{display:block;color:#dcf5f5}.portrow small{display:block;color:#86a6b6;margin-top:4px}.portrow select{max-width:53%;border:1px solid #34536b;background:#122c3d;border-radius:7px;padding:8px;font-size:10px}.slotrow select{background:#102838;border:1px solid #456079;border-radius:6px;padding:8px;color:#dceef5}.add-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;max-height:430px;overflow:auto}.add-card{min-height:111px;text-align:left;background:#102b3b;border:1px solid #38566a;border-radius:9px;padding:11px;display:flex;flex-direction:column;gap:5px}.add-card:hover{border-color:#67d9d0;background:#1a3b4a}.add-card .stencil{height:34px;width:45px}.add-card strong{font-size:11px}.add-card small{color:#90adbd}.capturebar{display:flex;align-items:center;gap:10px;margin-bottom:12px}.node .stencil svg{width:100%;height:100%}.minimap{pointer-events:none}.minimap span{position:absolute;width:10px;height:7px;border-radius:3px;box-shadow:0 0 0 1px #a9cfe6aa}.canvas-top{pointer-events:none}.contextmenu button:focus-visible,.btn:focus-visible,.node:focus-visible{outline:2px solid #5addd0;outline-offset:2px}.palette-icon.switch{color:#76d3c6}.palette-icon.router{color:#79baf4}.modal-footer{display:flex;gap:8px;justify-content:flex-end}
@media(max-width:850px){.add-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v0.8: filled, dimensional topology stencil artwork at every UI scale. */
.stencil svg,.palette-icon svg{display:block;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 2px 2px #020b1680)}
.palette-icon{padding:2px;border-radius:7px;background:#142536!important;border-color:#30516a!important}
.stencil{color:#57cbea}
.node .stencil{width:53px;height:47px}
.add-card .stencil{width:64px;height:58px}
/* v0.9 original traditional stencil picker */
.stencil-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:14px 0 22px}
.stencil-option{display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;background:#0b2332;border:1px solid #335164;border-radius:9px;padding:10px 5px;color:#bfd8e7;font-size:10px;cursor:pointer}
.stencil-option:has(input:checked){background:#163b4b;border-color:#66d7d3;color:#f0feff}
.stencil-option input{accent-color:#5edbd0;align-self:flex-end}
.stencil-option-art{width:76px;height:62px;display:grid;place-items:center}
.stencil-option-art svg{max-width:100%;max-height:100%}
.stencil-live-preview{display:grid;place-items:center;min-height:120px;margin-top:13px;border:1px dashed #476578;border-radius:10px;background:#071824}
.stencil-live-preview svg,.stencil-live-preview img{max-width:130px;max-height:112px}
@media(max-width:680px){.stencil-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Chassis front-panel builder */
.chassis-workbench{border:1px solid #426074;border-radius:12px;background:linear-gradient(150deg,#152f41,#091722);padding:13px;margin:15px 0 19px;box-shadow:inset 0 1px #779caf55}
.chassis-rail{display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:1.2px;color:#9bb3c1;border-bottom:1px solid #3b5366;padding:0 3px 10px;margin-bottom:12px}.chassis-rail strong{color:#e4eef6;font-size:14px}
.chassis-bays{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:9px}.chassis-bay{border:1px solid #38576c;border-radius:7px;background:#0b1b28;padding:8px;min-width:0}.chassis-bay.populated{border-color:#4d9caa}.chassis-bay.supervisor{background:#183247}.chassis-bay.primary{border-color:#68e2bb}
.bay-num{color:#8ca9b9;font-size:9px;font-weight:800;letter-spacing:1px;margin-bottom:6px}.bay-face{min-height:67px;background:linear-gradient(100deg,#345062,#172c3c);border:2px solid #526f80;border-radius:4px;padding:8px;box-shadow:inset 0 0 8px #0006}.populated .bay-face{background:linear-gradient(100deg,#276b80,#143f55)}.supervisor .bay-face{background:linear-gradient(100deg,#2b5c64,#14343e)}.bay-face-title{font-size:9px;font-weight:700;overflow-wrap:anywhere}.bay-indicators{margin-top:12px;display:flex;gap:4px;flex-wrap:wrap}.bay-led{display:inline-block;background:#6ddfbb;border-radius:50%;width:6px;height:6px}.bay-port-pips{display:flex;gap:3px;flex-wrap:wrap}.bay-port-pips i{display:block;background:#071925;border:1px solid #75b0c5;width:8px;height:7px;border-radius:1px}.bay-config{display:flex;flex-direction:column;gap:5px;margin-top:8px}.bay-config select{width:100%;min-width:0;background:#142c3c;border:1px solid #466377;border-radius:5px;color:#dbeefa;padding:7px;font-size:10px}.bay-config small{font-size:9px;color:#8bb0c2;min-height:16px}.chassis-summary{margin-top:12px;border-top:1px solid #395568;padding-top:9px;color:#85e1d3;font-size:11px}.chassis-interface-preview{border:1px solid #2d4c60;border-radius:7px;padding:11px;background:#0d1d2b;color:#b4d3e5;font:10px/1.8 ui-monospace,Consolas,monospace;max-height:100px;overflow:auto}
.stencil-pack-list{max-height:270px;overflow:auto;display:grid;gap:7px;margin:12px 0 20px}.stencil-pack-row{display:flex;align-items:center;gap:12px;padding:9px;border:1px solid #365368;border-radius:8px;background:#0b2030}.stencil-pack-row img{width:50px;height:42px;object-fit:contain}.stencil-pack-row span{flex:1;overflow-wrap:anywhere}

/* v0.11 graphical switch stack planning */
.stack-rack{margin-top:16px;display:grid;gap:10px;max-height:390px;overflow:auto;padding:3px}.stack-member{display:grid;grid-template-columns:minmax(170px,1fr) minmax(160px,1fr);gap:12px;border:1px solid #37596b;border-radius:9px;background:#0b1b29;padding:11px}.stack-member-face{background:linear-gradient(115deg,#344b5a,#122d40);border:2px solid #587184;border-radius:7px;padding:10px;box-shadow:inset 0 2px #adc6d733}.stack-number{font-size:9px;color:#9cc6d6;letter-spacing:1.2px}.stack-switch-face{margin:12px 0 8px;display:flex;gap:10px;align-items:center}.stack-face-leds{display:flex;gap:3px}.stack-face-leds i{background:#71efcc;width:5px;height:5px;border-radius:50%}.stack-face-ports{display:grid;grid-template-columns:repeat(8,1fr);gap:3px;flex:1}.stack-face-ports i{height:10px;border-radius:2px;background:#061522;border:1px solid #7ab2c0}.stack-model{font-size:10px;color:#d8eaf2}.stack-member-config{display:flex;flex-direction:column;gap:5px}.stack-member-config label{font-size:9px;color:#9ec1d1}.stack-member-config select,.stack-member-config input{width:100%;border:1px solid #3e6274;background:#102d3f;border-radius:5px;padding:7px;color:#e2f2f5;font-size:11px}.stack-reorder{display:flex;gap:6px;margin-top:4px}.stack-reorder button{flex:1}.stack-member-config input{max-width:100px}@media(max-width:680px){.stack-member{grid-template-columns:1fr}}

/* v0.12 offline stack interconnect / rear-panel simulation */
.stack-rear-label{font-size:9px;color:#bad4e2;margin-top:7px;display:flex;align-items:center;gap:8px}.rear-port{display:inline-flex;align-items:center;justify-content:center;border:2px solid #d3ad5e;background:#10212d;width:20px;height:18px;border-radius:3px;color:#f6e0aa;font-weight:bold}.stack-fault-label{display:flex;gap:6px;align-items:center;color:#edc991!important;flex-wrap:wrap}.stack-fault-label input{width:auto!important}.stack-cable-panel{margin-top:14px;border-top:1px solid #385064;padding-top:10px}.stack-cable-grid{display:grid;gap:6px}.stack-cable{display:flex;justify-content:space-between;gap:14px;align-items:center;background:#102839;border:1px solid #3d5e71;border-radius:6px;padding:9px;font-size:11px;color:#d1e8ef;flex-wrap:wrap}.stack-cable input{vertical-align:middle}.stack-cable-down{border-color:#a56753;background:#37282b}.stack-cable-down>span:first-child{opacity:.65;text-decoration:line-through}

/* v0.14: human-entered route lengths; no pixel-to-meter inference */
.stack-route-label{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#c5d8e8}.stack-route-label input{width:92px;min-width:72px;padding:5px;background:#071a2a;color:#e7f1fc;border:1px solid #45617a;border-radius:4px}.stack-reach{font-size:10px;color:#9fe7cc}.stack-reach-warning{color:#ffae90}.stack-cable>span:last-child{display:flex;align-items:center;gap:8px;flex-wrap:wrap}

/* v0.17: wide read-only WireView counter grid and responsive footer. */
.wire-observation-table{min-width:920px}.modal-content .scrollpanel:has(.wire-observation-table){display:block;width:100%;max-width:100%;min-width:0;overflow:auto}.modal>footer{flex-wrap:wrap}
/* v0.18 bounded packet-snapshot controls, readable on desktop and mobile */
.capture-controls{display:grid;grid-template-columns:minmax(120px,2fr) repeat(4,minmax(74px,1fr));gap:9px;margin:13px 0 14px;align-items:end}
.capture-controls label{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:11px;color:#9db3c3;font-weight:600}
.capture-controls select{max-width:100%;width:100%;min-width:0;background:#132b40;color:#d5e7f3;border:1px solid #40627a;border-radius:6px;padding:8px 5px;outline-offset:2px}
#wire-pcap-body{margin:6px 0 12px}
#wire-pcap-body .scrollpanel{max-height:250px;overflow:auto}
@media(max-width:820px){.capture-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.capture-controls label:first-child{grid-column:1 / -1}}

/* Keep toolbar buttons inside workspace instead of covering inspector at 1280px. */
.toolbar{min-width:0;overflow:hidden}.toolactions{min-width:0;max-width:100%;overflow-x:auto;scrollbar-width:thin}.toolactions>.btn{flex-shrink:0}.canvas-bottom{gap:6px}

/* v0.33 phone panels: a desk phone per open panel, docked over the canvas. Every state on the
   screen comes from the phone; the light strip lights only while the phone reports an incoming ring. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.phone-dock{position:absolute;z-index:7;top:56px;right:16px;bottom:10px;max-width:calc(100% - 32px);display:flex;gap:12px;align-items:flex-start;overflow-x:auto;pointer-events:none;scrollbar-width:thin}
.phone-dock>.phone-panel:first-child{margin-left:auto}
.phone-panel{pointer-events:auto;position:relative;flex:0 0 262px;width:262px;max-height:100%;overflow-y:auto;scrollbar-width:thin;display:flex;flex-direction:column;gap:7px;padding:11px 12px 9px;background:#0e1b28f2;border:1px solid #2c4356;border-radius:14px;box-shadow:var(--shadow);backdrop-filter:blur(10px)}
.phone-strip{position:absolute;top:0;left:22px;right:22px;height:3px;border-radius:0 0 3px 3px;background:#22384a}
.phone-panel[data-call-state="ringing-in"] .phone-strip{background:var(--red);box-shadow:0 0 14px #f58e98aa;animation:phone-ring 1.1s ease-in-out infinite}
@keyframes phone-ring{0%,100%{opacity:1}50%{opacity:.25}}
.phone-panel>*{flex-shrink:0}
.phone-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.phone-title{margin:0;font-size:14px;font-weight:700;letter-spacing:.01em}
.phone-model{margin:2px 0 0;color:var(--mute);font-size:10px}
.phone-close{border:1px solid transparent;background:none;color:#8ea6b8;border-radius:7px;width:28px;height:28px;line-height:1}
.phone-close:hover{border-color:#34485a;color:var(--text)}
.phone-screen{border:1px solid #34556a;border-radius:9px;background:linear-gradient(180deg,#17323f,#10232f);box-shadow:inset 0 2px 10px #020a1280,inset 0 0 0 1px #0a1822;padding:8px 10px 8px;color:#e2f0f5;min-height:150px;display:flex;flex-direction:column;gap:3px}
.phone-screen p{margin:0}
.phone-line{display:flex;align-items:center;gap:7px;font-size:11px;border-bottom:1px solid #2c4b5c;padding-bottom:6px}
.phone-led{flex:none;width:8px;height:8px;border-radius:50%;background:#2f4859;box-shadow:inset 0 1px 1px #0008}
.phone-panel[data-call-state="ringing-in"] .phone-led{background:var(--amber);box-shadow:0 0 7px #ffcf79aa;animation:phone-ring 1.1s ease-in-out infinite}
.phone-panel:is([data-call-state="dialing"],[data-call-state="ringing-out"],[data-call-state="connected"]) .phone-led{background:var(--green);box-shadow:0 0 7px #74dfad99}
.phone-ext{font-weight:700;font-variant-numeric:tabular-nums}
.phone-name{color:#a9c3d0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1}
.phone-reg{flex:none;font-size:10px;color:#a9c3d0}
.phone-reg[data-reg="registered"]{color:var(--green)}
.phone-reg:is([data-reg="rejected"],[data-reg="unregistered"]){color:var(--red)}
.phone-net{display:flex;flex-wrap:wrap;gap:2px 9px;font-size:10px;color:#9fb9c7;font-variant-numeric:tabular-nums}
.phone-call{margin-top:5px}
.phone-call-state{font-size:15px;font-weight:650;line-height:1.25}
.phone-panel[data-call-state="ringing-in"] .phone-call-state{color:#ffd9dd}
.phone-callerid{font-size:12px;color:#cfe3ea;margin-top:2px!important;min-height:15px}
.phone-timer{font-size:22px;font-weight:300;letter-spacing:-.01em;font-variant-numeric:tabular-nums;line-height:1.15;min-height:25px}
.phone-media{display:flex;flex-direction:column;gap:1px;font-size:10px;color:#9fd6c3}
.phone-rtp{color:#8ea9b6}
.phone-end-reason{font-size:11px;color:var(--amber);min-height:14px}
.phone-availability{margin-top:auto!important;font-size:10px;color:#7f9aab}
.phone-panel[data-available="false"] .phone-availability{color:var(--amber)}
.phone-panel[data-available="false"] .phone-screen{background:linear-gradient(180deg,#141f29,#0e1720)}
.phone-panel[data-available="false"][data-call-state="unavailable"] .phone-call-state{color:#b8c6cf}
.phone-entry{display:flex;gap:6px}
.phone-number{flex:1;min-width:0;padding:7px 10px;border-radius:8px;background:#0a1926;border:1px solid #345065;color:#e3eff4;font-size:14px;letter-spacing:.06em;font-variant-numeric:tabular-nums}
.phone-backspace{width:40px;border-radius:8px;border:1px solid #34485a;background:#172839;color:#cfe0eb;font-size:14px}
.phone-keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}
.phone-key{height:33px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;border-radius:9px;border:1px solid #304a5e;background:linear-gradient(180deg,#1a2e40,#142636);color:#e6f1f7;box-shadow:0 1px 0 #3e5a6e66 inset}
.phone-key b{font-size:15px;font-weight:650;line-height:1}
.phone-key small{font-size:7.5px;letter-spacing:.08em;color:#8199aa;min-height:9px}
.phone-key:hover:not(:disabled){background:#21384b}
.phone-key:active:not(:disabled){transform:translateY(1px)}
.phone-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px}
.phone-actions button{min-height:34px;border-radius:9px;font-size:11px;font-weight:700}
.phone-dial{border:1px solid #2f7a5d;background:#12392f;color:#a8f3cf}
.phone-answer{border:1px solid #3fb383;background:#1d6b4b;color:#eafff4}
.phone-hangup{border:1px solid #c4606c;background:#6b2430;color:#ffe9ec}
.phone-actions button:hover:not(:disabled){filter:brightness(1.15)}
.phone-status{margin:0;min-height:13px;font-size:10px;color:#9db3c3;line-height:1.4}
@media(prefers-reduced-motion:reduce){.phone-panel[data-call-state="ringing-in"] :is(.phone-strip,.phone-led){animation:none}}
@media(max-width:850px){.phone-dock{top:auto;left:8px;right:8px;max-width:none}.phone-panel{flex-basis:244px;width:244px}}
.login-page{display:grid;place-items:center;min-height:100%}.login-card{width:min(380px,92vw);background:#102131;border:1px solid #3d586a;border-radius:15px;box-shadow:0 35px 90px #000a;padding:26px 28px;display:grid;gap:12px}.login-card h1{font-size:19px;margin:0}.login-card form{display:grid;gap:13px}.login-card a{color:var(--teal)}a.badge{text-decoration:none}a.badge:hover{border-color:var(--teal);color:var(--text)}
/* Lab lifecycle (web/lab-lifecycle.js): device text is shown as the device holds it. */
.config-text{margin:12px 0 0;padding:14px 16px;max-height:52vh;overflow:auto;background:#07121c;border:1px solid #23394c;border-radius:8px;color:#d7e6f2;font:11.5px/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre;tab-size:4}
.labstrip{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:44px;padding:6px 16px;background:#0b1622;border-bottom:1px solid var(--line)}
.labstrip-title{display:flex;align-items:baseline;gap:10px;min-width:0}
.labstrip-title strong{font-size:12.5px;font-weight:700;color:#e3eef8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:46ch}
.labstrip-title span{font-size:10.5px;color:var(--mute);white-space:nowrap}
.labstrip-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.labstrip-actions .btn{flex:0 0 auto;min-height:30px;padding:6px 10px}
.btn.danger{border-color:#7b3d47;background:#3a1d24;color:#ffd0d6}
.lab-job-state{font-size:12px;font-weight:650;margin:0 0 12px}
.lab-job-state.running{color:var(--blue)}.lab-job-state.done{color:var(--green)}.lab-job-state.failed{color:var(--red)}.lab-job-state.unknown{color:var(--amber)}
.lab-job-steps{margin:0;padding:0 0 0 22px;max-height:46vh;overflow:auto;font-size:11px;line-height:1.5}
.lab-job-steps li{padding:5px 0 5px 4px;border-bottom:1px solid #1d2e3b;color:#c9d9e6}
.lab-job-steps li::marker{color:#56708a;font-variant-numeric:tabular-nums}
.lab-job-steps li.ok strong{color:var(--green)}.lab-job-steps li.failed{color:#ffc6cc}.lab-job-steps li.failed strong{color:var(--red)}.lab-job-steps li.skipped{color:var(--mute)}
@media(max-width:820px){.labstrip{flex-wrap:wrap}.labstrip-title strong{max-width:70vw}}
.linkbtn{border:0;background:none;padding:0;color:var(--teal);font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.linkbtn:hover{color:#8af0e8}
#lab-configs-table td{font-family:inherit;vertical-align:top}
.checkpoint-form{display:flex;gap:8px;align-items:center;margin:14px 0 4px}
.checkpoint-form label{font-size:11px;color:var(--mute)}
.checkpoint-form input{flex:1;min-width:0;height:34px;border:1px solid #34485a;border-radius:8px;background:#0b1a27;padding:0 10px}
.field-error{min-height:16px;margin:2px 0 8px;color:var(--red);font-size:11px}
.checkpoint-list{list-style:none;margin:0;padding:0;max-height:46vh;overflow:auto}
.checkpoint-list li{padding:11px 0;border-bottom:1px solid #1d2e3b}
.checkpoint-list li.empty{color:var(--mute);font-size:11px}
.checkpoint-head{display:flex;justify-content:space-between;gap:10px;align-items:baseline}
.checkpoint-head strong{font-size:12px;color:#e3eef8}.checkpoint-head span{font-size:10.5px;color:var(--mute)}
.checkpoint-devices{margin:4px 0 8px;color:#a9bdcd;font-size:10.5px;line-height:1.5}
.checkpoint-actions{display:flex;gap:6px}.checkpoint-actions .btn{flex:0 0 auto;min-height:28px;padding:5px 10px}
/* The lab brief: a reading column, not a form. */
.lab-brief{max-width:68ch;font-size:13px;line-height:1.65;color:#d9e6f1}
.lab-brief h3{font-size:16px;line-height:1.3;margin:2px 0 14px;color:#f1f7fc;font-weight:700}
.lab-brief h4{font-size:13.5px;margin:20px 0 8px;color:#e8f1f8}.lab-brief h5{font-size:12.5px;margin:16px 0 6px;color:#cfe0ec}
.lab-brief p{margin:0 0 12px}.lab-brief strong{color:#f4f9fd;font-weight:650}
.lab-brief code{font:12px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;background:#0a1824;border:1px solid #23394c;border-radius:4px;padding:1px 5px;color:#bff3ec}
.lab-brief ul,.lab-brief ol{margin:0 0 12px;padding-left:22px}.lab-brief li{margin:3px 0}
.lab-brief table{border-collapse:collapse;width:100%;margin:6px 0 14px;font-size:11.5px;line-height:1.45}
.lab-brief th{text-align:left;color:#9cb6ca;background:#14273a;padding:7px 9px;font-weight:600}
.lab-brief td{padding:7px 9px;border-bottom:1px solid #22384a;vertical-align:top}
#lab-brief.has-brief{border-color:#2f8e8a;color:#c9fbf5}
.labstrip-pending{display:flex;align-items:center;gap:10px;padding:4px 6px 4px 12px;border:1px solid #6b5a3a;background:#2f2618;border-radius:9px;color:#f1d79e;font-size:11px}
.labstrip-pending .btn{flex:0 0 auto;min-height:28px;padding:5px 10px}
/* Check my lab: one segment per check, then the checks as a lab sheet. */
.check-chip{margin-left:7px;padding:1px 6px;border-radius:5px;background:#0b3b3b;color:#c9fbf5;font-variant-numeric:tabular-nums}
.check-chip.all{background:#1f5a3f;color:#d8ffe9}
.check-score{margin:12px 0 8px;font-size:12.5px;font-weight:650;color:#e3eef8}
.check-track{display:flex;gap:3px;height:8px;margin:0 0 14px}
.check-track span{flex:1;border-radius:2px;background:#26394b}
.check-track span.pass{background:var(--green)}.check-track span.fail{background:var(--red)}.check-track span.error{background:var(--amber)}
.check-list{list-style:none;margin:0;padding:0;max-height:48vh;overflow:auto;counter-reset:check}
.check-list li{padding:10px 0 10px 12px;border-left:3px solid #26394b;border-bottom:1px solid #1d2e3b;margin-bottom:2px}
.check-list li.pass{border-left-color:var(--green)}.check-list li.fail{border-left-color:var(--red)}.check-list li.error{border-left-color:var(--amber)}
.check-head{display:flex;gap:10px;align-items:baseline}
.check-word{flex:0 0 108px;font-size:10.5px;font-weight:700;color:var(--mute)}
li.pass .check-word{color:var(--green)}li.fail .check-word{color:var(--red)}li.error .check-word{color:var(--amber)}
.check-head strong{flex:1;font-size:12px;font-weight:600;color:#e3eef8}
.check-node{font-size:10.5px;color:var(--mute)}
.check-evidence{margin:7px 0 0 118px;padding:7px 9px;background:#07121c;border:1px solid #1f3446;border-radius:6px;color:#bcd0de;font:10.5px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre-wrap;max-height:120px;overflow:auto}
@media(max-width:680px){.check-word{flex-basis:auto}.check-evidence{margin-left:0}}
/* Books tab (books.js): the course textbook and handbooks in a same-origin PDF frame */
.books-modal{width:min(1280px,97vw);height:93vh;max-height:93vh}.books-actions{display:flex;align-items:center;gap:8px}.books-actions a.btn{text-decoration:none;display:inline-flex;align-items:center}.books-body{flex:1;min-height:0;display:grid;grid-template-columns:250px 1fr}.books-list{border-right:1px solid #2e4658;padding:14px;overflow:auto;display:flex;flex-direction:column;gap:7px;scrollbar-width:thin}.books-item{text-align:left;border:1px solid #2c4053;background:#0f1f2d;border-radius:9px;padding:11px 12px;color:#dcecf4}.books-item:hover{background:#162636;border-color:#345064}.books-item[aria-current=true]{border-color:var(--teal);background:#123a3c}.books-item b{display:block;font-size:11.5px;line-height:1.4}.books-item small{display:block;color:#879bb1;font-size:10px;margin-top:5px}.books-tag{color:#f2c783;border:1px solid #75573c;border-radius:5px;padding:1px 5px;margin-left:4px;font-size:8.5px;letter-spacing:.8px;font-weight:800}.books-frame{width:100%;height:100%;border:0;background:#525659;border-radius:0 0 15px 0}.books-empty{padding:6px}@media(max-width:680px){.books-body{grid-template-columns:1fr;grid-template-rows:auto 1fr}.books-list{border-right:0;border-bottom:1px solid #2e4658;max-height:30vh}.books-actions a.btn{font-size:10px;padding:7px}}
/* Labs button (course-labs.js): the course labs, grouped by stage */
.courselabs-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.courselabs-item{text-align:left;border:1px solid #2c4053;background:#0f1f2d;border-radius:9px;padding:10px 12px;color:#dcecf4}.courselabs-item:hover{background:#162636;border-color:var(--teal)}.courselabs-item b{display:block;font-size:11.5px;line-height:1.4}.courselabs-item small{display:block;color:#879bb1;font-size:10px;margin-top:4px;font-family:ui-monospace,Consolas,monospace}@media(max-width:680px){.courselabs-group{grid-template-columns:1fr}}
/* The workspace's slide-outs (web/side-panels.js): the device library from the left and
   Properties & diagnostics from the right, over the canvas, which keeps the whole width. */
/* The page never scrolls: a taller (wrapped) toolbar takes its height from the canvas. */
.shell{overflow:clip}
.stage{position:relative;flex:1;min-height:0;display:flex;overflow:clip}
.stage>.canvas{flex:1;min-width:0;min-height:0}
.slideout{position:absolute;top:0;bottom:0;z-index:30;width:min(290px,88%);visibility:hidden;transition:transform .2s cubic-bezier(.2,.7,.3,1),visibility 0s linear .2s}
.slideout.left{left:0;transform:translateX(-102%);box-shadow:18px 0 44px #0009}
.slideout.right{right:0;width:min(330px,92%);transform:translateX(102%);box-shadow:-18px 0 44px #0009}
.slideout.open{visibility:visible;transform:none;transition:transform .2s cubic-bezier(.2,.7,.3,1)}
.slideout .sidehead{position:sticky;top:0;z-index:1;background:#0c1622}
@media(prefers-reduced-motion:reduce){.slideout,.slideout.open{transition:none}}
.labheading>.panel-toggle{flex-shrink:0;margin-right:4px}
/* Where the toolbar is short of room (the brief open, a narrower window) the panel toggles are
   their glyphs; their names stay as aria-label and title. */
.shell.brief-open .panel-label{display:none}
@media(max-width:1500px){.panel-label{display:none}}
.panel-toggle{display:inline-flex;align-items:center;gap:7px}
.panel-toggle[aria-expanded="true"]{color:#b9fff5;border-color:#42cfc2;background:#1c4848}
.panel-glyph{position:relative;flex-shrink:0;width:14px;height:11px;border:1.5px solid currentColor;border-radius:2px}
.panel-glyph::after{content:'';position:absolute;background:currentColor}
.panel-glyph.lib::after{left:0;top:0;bottom:0;width:4px}
.panel-glyph.insp::after{right:0;top:0;bottom:0;width:5px}
.panel-glyph.brief::after{left:2px;right:2px;top:2px;height:1.5px;box-shadow:0 3px 0 currentColor}
.toolactions .view-sep{width:1px;height:22px;background:var(--line);margin:0 3px}
.host-roles-read{margin:4px 0 0;font:12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;color:#c9dbe7}
/* Phone panels stay clear of the properties while they are open. */
.stage:has(> #inspector-panel.open) .phone-dock{right:calc(min(330px,92%) + 16px)}
/* The brief's commands copy with a click (brief-panel.js). */
.lab-brief code.copyable{position:relative;cursor:copy}
.lab-brief code.copyable:hover,.lab-brief code.copyable:focus-visible{border-color:#2f8e8a;background:#0d2530;outline:none}
.lab-brief code.copyable:hover::after{content:'⧉';margin-left:5px;color:#52d6cd;font-size:10px}
.lab-brief code.copyable[data-copied]::after{content:attr(data-copied);position:absolute;left:50%;bottom:calc(100% + 5px);transform:translateX(-50%);margin:0;padding:3px 7px;border:1px solid #2f8e8a;border-radius:5px;background:#103a35;color:#c9fbf5;font:600 10px/1.3 Inter,ui-sans-serif,system-ui,sans-serif;white-space:nowrap;pointer-events:none}
/* A student gets the lab's tools, not the designer's (app.js renderLogin). The Runtime session
   stays: it is how a student resumes a stored lab from another browser. */
body.student #stencil-library,body.student #model-readiness,body.student #stack-builder,body.student #add-device,body.student #link-toggle,body.student #save-project,body.student #import-project{display:none}
.canvas-bottom .btn[hidden]{display:none}
/* Toasts at the bottom left, clear of the toolbar and above the console area. */
.toast{top:auto;bottom:18px;left:18px;transform:none;max-width:min(560px,calc(100vw - 36px))}
body:has(#console-dock:not([hidden]):not(.maximized)) .toast{bottom:calc(var(--console-dock-h,0px) + 14px)}
/* The canvas tools' strip is only its buttons: its empty area lets a click reach the device under it. */
.canvas-bottom{pointer-events:none}
.canvas-bottom>*{pointer-events:auto}
