.awb-workbench.awb-workbench{--awb-ink:#def2e8;--awb-muted:#a4c1b4;--awb-line:#36584c;color:var(--awb-ink);background:#10271f;border:1px solid #406755;border-radius:14px;overflow:hidden;min-width:0;margin:16px 0;font:14px/1.65 system-ui,-apple-system,"Segoe UI","Noto Sans JP",sans-serif;isolation:isolate}.awb-workbench.awb-workbench *{box-sizing:border-box}.awb-workbench.awb-workbench :is(h3,p,pre){color:inherit;margin:0}.awb-workbench.awb-workbench button{font:inherit;cursor:pointer;border-radius:7px;margin:0;line-height:1.5;min-height:0;box-shadow:none;text-transform:none;letter-spacing:normal}.awb-workbench.awb-workbench button:disabled{cursor:wait;opacity:.6}.awb-workbench.awb-workbench button:focus-visible,.awb-workbench.awb-workbench :is(input,select):focus-visible,.awb-pan:focus-visible{outline:3px solid #caeeab!important;outline-offset:3px}.awb-topline{display:flex;align-items:center;justify-content:space-between;padding:12px 17px;gap:12px;background:#193b2b;border-bottom:1px solid var(--awb-line)}.awb-topline>span{color:#b6eab6;font:800 11px system-ui;letter-spacing:.12em}.awb-topline small{color:#b1d1bd;font-size:11px}.awb-workbench.awb-workbench .awb-instruction{font-size:13px;padding:14px 17px;white-space:pre-wrap;overflow-wrap:anywhere}.awb-device-nav{display:flex;flex-wrap:wrap;gap:7px;padding:0 17px 14px}.awb-workbench.awb-workbench .awb-device-nav button{font-size:11px;padding:6px 11px;background:#153b2d;color:#d5e9dc;border:1px solid #4a6a58}.awb-workbench.awb-workbench .awb-device-nav button.is-selected{color:#122e1d;background:#bcd8af;border-color:#cbe9bd}.awb-workbench.awb-workbench .awb-pan-hint{display:none;padding:0 15px 12px;color:#c6d8b7;font-size:11px}.awb-pan{width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-color:#678775 #12291e;scrollbar-width:thin;border-block:1px solid var(--awb-line);background:#10271f}.awb-world{position:relative;width:960px;height:460px;margin-inline:auto;isolation:isolate;background-color:#10291f;background-image:linear-gradient(#7fb7930b 1px,transparent 1px),linear-gradient(90deg,#7fb7930b 1px,transparent 1px),radial-gradient(ellipse at 45% 40%,#214d343b,transparent 70%);background-size:26px 26px,26px 26px,auto}.awb-bench-label{position:absolute;left:20px;top:17px;color:#7fa992;font:10px ui-monospace,monospace;letter-spacing:.14em}.awb-bench-caption{position:absolute;bottom:14px;left:20px;right:20px;text-align:right;color:#86a994;font-size:10px}.awb-wires{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2;overflow:visible}.awb-wires path{fill:none;stroke-linecap:round}.awb-wire{stroke-width:4}.awb-wire-shadow{stroke:#020c0aaa;stroke-width:9;transform:translateY(2px)}.awb-draft{stroke:#d8f0bb;stroke-width:3;stroke-dasharray:7 5}.awb-draft[hidden]{display:none}.awb-device{position:absolute;transform:translate(-50%,-50%);z-index:3;user-select:none}.awb-workbench.awb-workbench .awb-device-body{display:block;width:100%;height:100%;padding:0;background:transparent;border:0;border-radius:10px;position:relative;filter:drop-shadow(0 12px 10px #0006);transition:filter .15s}.awb-workbench.awb-workbench .awb-device-body:hover,.awb-workbench.awb-workbench .awb-device-body.is-selected{filter:drop-shadow(0 0 9px #9dccb251) drop-shadow(0 12px 10px #0006)}.awb-device-body>svg{width:100%;height:100%;display:block}.awb-device-label{position:absolute;left:50%;bottom:calc(100% + 18px);transform:translateX(-50%);max-width:270px;width:max-content;color:#e2f3e6;font-size:13px;font-weight:750;background:#10271feb;border:1px solid #4e7560;border-radius:5px;padding:4px 9px;white-space:normal;text-align:center}.awb-device-hint{position:absolute;top:calc(100% + 13px);left:50%;transform:translateX(-50%);color:#a7c2aa;font-size:10px;white-space:nowrap}.awb-workbench.awb-workbench .awb-pin{position:absolute;transform:translate(-50%,-50%);width:26px;height:26px;padding:0;border:0!important;background:transparent!important;display:grid;place-items:center;z-index:4;touch-action:none;cursor:crosshair;color:#eff5d8;border-radius:50%!important}.awb-pin>i{width:14px;height:14px;border:3px solid #c3ad70;border-radius:50%;background:#313b2c;box-shadow:0 0 0 2px #15281d}.awb-pin>span{position:absolute;top:50%;transform:translateY(-50%);font:700 9px ui-monospace,monospace;color:#ecf1cc;background:#13281ded;border-radius:3px;padding:1px 4px;white-space:nowrap;max-width:140px;overflow:hidden;text-overflow:ellipsis;pointer-events:none}.awb-pin-left>span{right:26px}.awb-pin-right>span{left:26px}.awb-pin-usb>i{border-color:#99c7df}.awb-pin-ground>i{border-color:#b3c1b8}.awb-pin-power>i{border-color:#e29d87}.awb-pin-signal>i,.awb-pin-uart_tx>i{border-color:#e2ca79}.awb-pin-uart_rx>i{border-color:#89c99f}.awb-pin.is-connected>i{background:#dbecc2;box-shadow:0 0 0 3px #b7e9b32b}.awb-pin.is-selected>i,.awb-pin:hover>i{box-shadow:0 0 0 6px #d3f5bc4d;border-color:#ebf9c2}.awb-laptop{width:100%;height:100%;position:relative;padding:0 10px}.awb-laptop-screen{height:149px;background:#070f12;border:8px solid #697778;border-bottom-width:12px;border-radius:10px 10px 4px 4px;box-shadow:inset 0 0 0 1px #20312e;overflow:hidden;text-align:left}.awb-desktop-bar{display:flex;align-items:center;gap:4px;background:#253631;padding:5px}.awb-desktop-bar i{width:4px;height:4px;background:#b5cba7;border-radius:50%}.awb-desktop-bar span{font:6px ui-monospace,monospace;color:#b0c8b5;margin-left:auto}.awb-mini-terminal{white-space:pre-wrap;overflow-wrap:anywhere;color:#b5dabb!important;font:8px/1.5 ui-monospace,monospace;padding:10px;text-align:left}.awb-mini-terminal span,.awb-mini-terminal b{color:#b5dabb!important}.awb-mini-terminal b{display:block}.awb-laptop-base{height:38px;position:absolute;bottom:0;left:0;right:0;background:linear-gradient(#a5b1af,#617873);clip-path:polygon(4% 0,96% 0,100% 88%,95% 100%,5% 100%,0 88%);border-radius:0 0 8px 8px;padding:4px 26px}.awb-laptop-keys{height:18px;background:repeating-linear-gradient(90deg,transparent 0,transparent 11px,#788b81 11px,#788b81 13px),repeating-linear-gradient(0deg,#20362e 0,#20362e 3px,#8ca394 3px,#8ca394 5px);transform:perspective(90px) rotateX(15deg);border-radius:2px}.awb-laptop-base>i{display:block;width:44px;height:8px;margin:2px auto;background:#829a8f;border:1px solid #536e60;border-radius:2px}.awb-feedback{padding:12px 17px;font-size:12px;color:#d3e6c5;min-height:45px;white-space:pre-wrap;background:#193526;border-bottom:1px solid var(--awb-line)}.awb-connections{padding:12px 17px;background:#11281e;font-size:11px}.awb-connections>span{font:800 10px system-ui;letter-spacing:.08em;color:#8dbb9f}.awb-connections>div{display:flex;align-items:center;gap:8px;padding-top:9px;min-width:0;flex-wrap:wrap}.awb-connections b{font-weight:500;color:#b9d0c0;overflow-wrap:anywhere}.awb-connections i{font-style:normal;color:#c0dda5}.awb-workbench.awb-workbench .awb-connections button{font-size:10px;padding:2px 9px;background:#243e2c;color:#c9e1c2;border:1px solid #57735c;margin-left:auto}.awb-workbench.awb-workbench .awb-connections>p{margin-top:7px;color:#95b49f}.awb-control-panel{border-top:1px solid #50755e;padding:18px;background:#142d23;min-height:230px}.awb-panel-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:14px}.awb-panel-heading>div>span{font:9px ui-monospace,monospace;letter-spacing:.14em;color:#97bd9f}.awb-workbench.awb-workbench .awb-panel-heading h3{font-size:16px;font-weight:700;color:#e2efd9;margin-top:3px}.awb-panel-heading>small{font-size:10px;color:#97b89e}.awb-panel-tabs{display:flex;flex-wrap:wrap;gap:5px;padding-bottom:13px}.awb-workbench.awb-workbench .awb-panel-tabs button{padding:5px 12px;font-size:11px;background:#1c3b2b;color:#bcd6c3;border:1px solid #456a50}.awb-workbench.awb-workbench .awb-panel-tabs button[aria-pressed=true]{background:#bed6a6;color:#1c321d;border-color:#cce5ba}.awb-device-home{display:flex;align-items:center;gap:22px;padding:8px}.awb-device-home-icon{width:95px;height:113px;flex-shrink:0}.awb-device-home-icon>svg{width:100%;height:100%;filter:drop-shadow(0 7px 5px #0003)}.awb-device-home-icon .awb-laptop{transform:scale(.42);transform-origin:0 0;width:230px;height:186px}.awb-device-home>div>strong{font-size:15px;color:#dfebd5}.awb-workbench.awb-workbench .awb-device-home p{font-size:12px;color:#b9d0bb;margin:5px 0 12px}.awb-home-actions{display:flex;gap:8px;flex-wrap:wrap}.awb-workbench.awb-workbench .awb-home-actions button{background:#b8d4a0;color:#1c331e;border:1px solid #c2deac;padding:7px 12px;font-size:11px}.awb-settings{max-width:620px}.awb-settings-path{display:flex;gap:12px;align-items:center;color:#a9ccae;font-size:12px;margin:6px 0 12px}.awb-workbench.awb-workbench .awb-settings-path button{font-size:11px;padding:4px 9px;border:1px solid #54765b;background:#23452c;color:#d5e5c8}.awb-workbench.awb-workbench .awb-menu-item{display:flex;justify-content:space-between;width:100%;padding:11px 13px;font-size:13px;text-align:left;border:1px solid #53745a;background:#203f2c;color:#daebce;margin-bottom:7px}.awb-setting{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:8px 0;padding:12px;background:#1b3a29;border:1px solid #52765b;border-radius:7px;font-size:13px;color:#d9e9d0}.awb-workbench.awb-workbench select{font:12px system-ui;max-width:60%;min-width:110px;background:#d3e4c4;color:#203821;border:1px solid #93b37d;padding:7px 9px;border-radius:4px}.awb-scope{padding:10px;font-size:12px;color:#b9d0b7}.awb-scope strong{color:#e3efda;font-size:14px}.awb-scope p{padding-top:8px}.awb-terminal{border:1px solid #537c66;border-radius:8px;overflow:hidden;background:#07110d;box-shadow:0 9px 21px #0002}.awb-terminal-title{display:flex;justify-content:space-between;gap:8px;padding:8px 13px;font:11px ui-monospace,monospace;color:#c5dbbf;background:#213e2b;border-bottom:1px solid #3e5e48}.awb-terminal-title small{font-size:10px;color:#9bb697}.awb-terminal-history{max-height:280px;min-height:120px;overflow-y:auto;padding:12px 14px;scrollbar-color:#4c6d53 #10281b}.awb-workbench.awb-workbench .awb-terminal-history pre{font:12px/1.65 ui-monospace,SFMono-Regular,Consolas,"Noto Sans JP",monospace;white-space:pre-wrap;overflow-wrap:anywhere;color:#b9d5ac;padding:0 0 12px;background:transparent;border:0}.awb-workbench.awb-workbench .awb-terminal-history .awb-log-input{color:#e1efc4;padding-bottom:5px}.awb-workbench.awb-workbench .awb-terminal-history .awb-log-error{color:#efbe9c}.awb-workbench.awb-workbench .awb-terminal-history .awb-log-output{color:#cfe3b7}.awb-command-line{display:flex;align-items:center;gap:7px;padding:8px 13px;background:#0d2115;border-top:1px solid #29472d}.awb-command-line label{font:11px ui-monospace,monospace;color:#aada8a;flex-shrink:0}.awb-workbench.awb-workbench .awb-command-line input{min-width:0;flex:1;width:100%;font:12px ui-monospace,monospace;padding:8px 4px;background:transparent;border:0;border-radius:0;color:#e2efcb;box-shadow:none;height:auto}.awb-workbench.awb-workbench .awb-command-line button{color:#c1dda7;background:#243f23;border:1px solid #527347;font:18px ui-monospace,monospace;padding:0 8px;min-height:32px}.awb-workbench.awb-workbench .awb-terminal-hint{font-size:10px;color:#8eab86;padding:6px 13px 9px;background:#102517}.awb-observation{padding:16px 18px;background:#1c3827;border-top:1px solid #4a6c4d}.awb-observation>span{display:block;font:10px system-ui;letter-spacing:.06em;color:#9dc195;margin-bottom:8px}.awb-observation>strong{font-size:12px;color:#e3efcf;display:block;margin-bottom:8px}.awb-workbench.awb-workbench .awb-observation>pre{font:12px/1.8 ui-monospace,Consolas,"Noto Sans JP",monospace;white-space:pre-wrap;overflow-wrap:anywhere;background:transparent;border:0;color:#d8e7cb;padding:0}.awb-observation>p{font-size:12px}.awb-snapshot-settings{padding:12px 18px;color:#b8cfae;font-size:12px}.awb-snapshot-settings strong{color:#e5edcf}.awb-snapshot .awb-device-hint{font-size:9px}.awb-spinner{display:inline-block;width:12px;height:12px;border:2px solid #688c59;border-top-color:#e0f4c6;border-radius:50%;animation:awb-spin .8s linear infinite;margin-right:7px;vertical-align:middle}@keyframes awb-spin{to{transform:rotate(360deg)}}@media(max-width:1040px){.awb-workbench.awb-workbench .awb-pan-hint{display:block}}@media(max-width:480px){.awb-topline{padding:11px 12px}.awb-topline small{font-size:9px}.awb-control-panel{padding:13px}.awb-panel-heading>small{display:none}.awb-device-home{gap:12px;padding:4px}.awb-device-home-icon{width:68px;height:92px}.awb-device-home>div>strong{font-size:13px}.awb-device-home>div>p{font-size:11px}.awb-command-line{gap:4px;padding:6px 8px;flex-wrap:wrap}.awb-command-line label{width:100%}.awb-workbench.awb-workbench .awb-command-line input{font-size:13px}.awb-settings-path{overflow-wrap:anywhere}.awb-workbench.awb-workbench .awb-panel-tabs button{font-size:10px;padding:5px 9px}.awb-connections>div{font-size:10px}.awb-workbench.awb-workbench .awb-device-nav{padding-inline:12px}.awb-workbench.awb-workbench .awb-device-nav button{font-size:10px;padding:5px 8px}}@media(prefers-reduced-motion:reduce){.awb-spinner{animation:none}.awb-device-body{transition:none}}

@media(max-width:480px){.awb-device-home-icon .awb-laptop{transform:scale(.28)}}

/* Article workbench: the selected device and its guide share one working area. */
.awb-workbench.awb-interactive{overflow:clip;overflow-wrap:anywhere}
.awb-interactive [hidden]{display:none!important}
.awb-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 16px;background:#10291e;border-bottom:1px solid var(--awb-line)}
.awb-toolbar strong{flex:1;font-size:13px;font-weight:600;min-width:100px}
.awb-workbench .awb-toolbar button,.awb-workbench .awb-memo button,.awb-workbench .awb-local-memo{font-size:12px;line-height:1.4;color:#e2f1e7;background:#224333;border:1px solid #52745c;border-radius:6px;padding:9px 11px;min-height:38px}
.awb-toolbar button:hover,.awb-memo button:hover,.awb-local-memo:hover{background:#30553d}
.awb-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;align-items:start;min-width:0}
.awb-interactive[data-awb-guide-state=closed] .awb-layout{grid-template-columns:minmax(0,1fr)}
.awb-main{min-width:0}
.awb-memo{min-width:0;background:#173126;border-left:1px solid var(--awb-line);padding:16px;position:sticky;top:12px;max-height:calc(100vh - 32px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#68836d #173126}
.awb-memo-heading{display:flex;flex-direction:column;gap:3px;margin-bottom:14px}
.awb-memo-heading strong{font-size:16px;font-weight:600}
.awb-memo-heading span{font-size:12px;color:#b3ccbd}
.awb-memo-tabs{display:flex;gap:4px;margin-bottom:16px;flex-wrap:wrap}
.awb-workbench .awb-memo-tabs button{flex:1;padding:8px 5px}
.awb-workbench .awb-memo-tabs button[aria-pressed=true]{background:#bfd8a8;color:#162b1c;border-color:#bfd8a8}
.awb-workbench .awb-memo h4{font-size:13px;line-height:1.6;font-weight:650;color:#e2f1e7;margin:0 0 9px}
.awb-workbench .awb-memo p{font-size:13px;line-height:1.7;margin:9px 0;color:#d2e4d8;white-space:pre-wrap}
.awb-workbench .awb-memo .awb-memo-before,.awb-workbench .awb-memo .awb-memo-model{font-size:12px;color:#b6ccbe}
.awb-memo-step{padding:14px 0;border-bottom:1px solid var(--awb-line)}
.awb-memo-step:first-child{padding-top:0}
.awb-workbench .awb-memo p.awb-memo-wire{padding:5px 0;font-size:12px}
.awb-workbench .awb-memo textarea{display:block;width:100%;max-width:100%;resize:vertical;min-height:66px;white-space:pre-wrap;overflow-wrap:anywhere;background:#0d241b;color:#e2f1e7;border:1px solid #52745c;border-radius:4px;padding:8px;font:13px/1.5 ui-monospace,Consolas,monospace;margin:0 0 7px;box-shadow:none}
.awb-memo-actions{display:flex;gap:6px;flex-wrap:wrap}
.awb-workbench .awb-memo-actions button[data-awb-insert]{flex:1;background:#bfd8a8;color:#162b1c;border-color:#bfd8a8}
.awb-copy-status:empty{display:none}
.awb-memo-model{border-top:1px solid var(--awb-line);padding-top:12px}
.awb-interactive[data-awb-view=bench] :is(.awb-control-panel,.awb-observation-detail,.awb-device-nav){display:none}
.awb-interactive[data-awb-view=device] :is([data-awb-stage],.awb-connections-detail,.awb-instruction){display:none}
.awb-interactive .awb-control-panel{border-top:0;min-height:250px;padding:16px}
.awb-interactive .awb-panel-heading h3{font-size:21px;margin:2px 0 8px}
.awb-interactive .awb-panel-heading>div>span{font-size:12px;color:#b9dca8}
.awb-workbench .awb-local-memo{display:block;margin:12px 0 0 auto}
.awb-interactive .awb-pan{overflow:visible}
.awb-interactive .awb-world{margin:0;max-width:100%}
.awb-interactive .awb-pin{width:40px;height:40px}
.awb-interactive .awb-pin>span{font-size:11px;max-width:100px}
.awb-interactive .awb-pin-left>span{left:18px;right:auto}
.awb-interactive .awb-pin-right>span{right:18px;left:auto}
.awb-interactive .awb-device-label{max-width:230px;font-size:13px}
.awb-interactive .awb-device-hint{font-size:11px}
.awb-interactive .awb-bench-caption{font-size:11px;left:12px;right:12px;text-align:left;bottom:12px}
.awb-interactive .awb-bench-label{font-size:11px;letter-spacing:.05em;left:12px}
.awb-interactive .awb-feedback{font-size:13px}
.awb-interactive .awb-terminal-history{min-height:100px;max-height:330px}
.awb-interactive .awb-terminal-history pre,.awb-interactive .awb-observation>pre{font-size:13px}
.awb-interactive .awb-command-line input{font-size:16px}
.awb-interactive .awb-panel-tabs button,.awb-interactive .awb-device-nav button,.awb-interactive .awb-home-actions button{font-size:12px;min-height:38px}
.awb-connections-detail,.awb-observation-detail{padding:10px 16px;border-top:1px solid var(--awb-line);font-size:13px}
.awb-interactive summary{cursor:pointer;min-height:28px}
.awb-connections-detail .awb-connections,.awb-observation-detail .awb-observation{padding:10px 0;border:0}
.awb-history{padding:10px 13px;color:#b6ccbe;font-size:12px;border-top:1px solid var(--awb-line)}
.awb-history[open]{max-height:280px;overflow-y:auto}
.awb-workbench .awb-history pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.7 ui-monospace,Consolas,monospace;margin:8px 0;background:transparent;border:0}
.awb-memo-reference{padding:12px 0;border-bottom:1px solid var(--awb-line)}
.awb-memo-reference summary{font-size:13px;font-weight:600}
.awb-interactive.awb-compact .awb-layout{display:flex;flex-direction:column}
.awb-interactive.awb-compact .awb-memo{order:-1;width:100%;border-left:0;border-bottom:1px solid var(--awb-line);position:static;max-height:55vh}
.awb-interactive.awb-compact .awb-main{width:100%}
.awb-interactive.awb-compact :is(.awb-toolbar button,.awb-memo button,.awb-local-memo,.awb-panel-tabs button,.awb-device-nav button,.awb-home-actions button){min-height:44px}
.awb-interactive.awb-compact .awb-memo textarea,.awb-interactive.awb-compact select{font-size:16px}
@media(max-width:480px){.awb-interactive .awb-pin{width:44px;height:44px}.awb-toolbar{padding:10px 12px}.awb-toolbar strong{font-size:12px}.awb-interactive .awb-device-label{max-width:220px}.awb-interactive .awb-setting{align-items:flex-start;flex-direction:column;gap:8px}.awb-interactive select{max-width:100%;width:100%}.awb-interactive .awb-device-home{flex-wrap:wrap}.awb-interactive .awb-device-home-icon{display:none}}

/* Isolated simple-Lab prototype: one readable memo, one device area. */
.awb-workbench.awb-simple .awb-layout{display:block}
.awb-workbench.awb-simple .awb-device-nav{display:none}
.awb-workbench.awb-simple .awb-toolbar{padding:11px 18px}
.awb-simple-memo{margin:0;padding:16px 20px;background:#15372a;border-bottom:1px solid var(--awb-line);font-size:14px;color:#c1d8c8;user-select:text}
.awb-simple-memo>summary{font-size:15px;font-weight:650;line-height:1.6;color:#d1e3d5;min-height:28px}
.awb-simple-memo>div{padding:12px 0 0 20px}
.awb-workbench.awb-simple .awb-simple-memo p{font-size:14px;line-height:1.9;color:#c1d8c8;margin:0}
.awb-simple-memo code{font:600 13px/1.9 ui-monospace,SFMono-Regular,Consolas,'Noto Sans JP',monospace;color:#d0e8ae;white-space:normal;overflow-wrap:anywhere}
.awb-simple-memo .awb-simple-command{display:block;padding-left:8px;white-space:pre-wrap;user-select:all}
.awb-workbench.awb-simple .awb-simple-memo p.awb-simple-memo-note{font-size:12px;line-height:1.7;margin-top:14px;color:#aac5b1}
.awb-workbench.awb-simple .awb-panel-heading{margin-bottom:12px}
.awb-workbench.awb-simple .awb-panel-heading h3{font-size:18px;margin:0}
.awb-workbench.awb-simple .awb-simple-inspect>p{font-size:14px;margin:0 0 12px}
.awb-workbench.awb-simple .awb-simple-inspect>button{background:#c3dca6;color:#183021;border:1px solid #d0e6b9;padding:10px 16px;font-size:14px}
.awb-workbench.awb-simple .awb-simple-screen:empty{display:none}
.awb-workbench.awb-simple .awb-simple-screen{margin-top:16px;padding:16px;background:#07110d;border:1px solid #476751;border-radius:6px}
.awb-workbench.awb-simple .awb-simple-screen pre{font:13px/1.75 ui-monospace,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}
.awb-workbench.awb-simple .awb-topline,.awb-workbench.awb-simple .awb-local-memo{display:none}
@media(max-width:480px){.awb-simple-memo{padding:14px}.awb-simple-memo>div{padding-left:8px}.awb-workbench.awb-simple .awb-simple-memo p,.awb-simple-memo code{font-size:12px}.awb-simple-memo>summary{font-size:13px}}

.awb-step-list{display:grid;gap:12px}
.awb-memo-step{position:relative;padding:14px 16px;border:1px solid #31505b;border-radius:14px;background:linear-gradient(180deg,#11222d,#0f1c26);box-shadow:0 8px 18px #00000024}
.awb-memo-step-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.awb-memo-step-index{display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;border-radius:999px;background:#183746;border:1px solid #3f6574;color:#9ee3d4;font:800 11px/1.2 system-ui;letter-spacing:.08em}
.awb-memo-step-status{display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;border-radius:999px;background:#1a2731;border:1px solid #334957;color:#a8bcc8;font:700 11px/1.2 system-ui}
.awb-memo-step h4{margin:0 0 8px;font-size:15px;line-height:1.5;color:#e8f4fb}
.awb-memo-step-body p{margin:0 0 10px}
.awb-memo-step-body p:last-child{margin-bottom:0}
.awb-memo-step.is-complete{border-color:#73e0bf;background:linear-gradient(180deg,#123229,#102620);box-shadow:0 0 0 1px #73e0bf55,0 0 18px #64e7c83d,0 12px 28px #00000028;animation:awbMemoGlow 1.6s ease-in-out infinite alternate}
.awb-memo-step.is-complete .awb-memo-step-index{background:#0d4b40;border-color:#84f2d0;color:#eafff8}
.awb-memo-step.is-complete .awb-memo-step-status{background:#dbfff3;border-color:#c8f7e6;color:#0c4a3d}
.awb-memo-empty{padding:14px 16px;border:1px dashed #406071;border-radius:12px;color:#b6c7d3;background:#11202a}
@keyframes awbMemoGlow{from{box-shadow:0 0 0 1px #73e0bf44,0 0 12px #64e7c82d,0 12px 28px #00000024}to{box-shadow:0 0 0 1px #91f3d966,0 0 24px #82f3d055,0 12px 28px #00000024}}
@media(max-width:480px){.awb-step-list{gap:10px}.awb-memo-step{padding:12px}.awb-memo-step h4{font-size:14px}.awb-memo-step-head{flex-wrap:wrap}.awb-memo-step-index,.awb-memo-step-status{font-size:10px}}
@media(prefers-reduced-motion:reduce){.awb-memo-step.is-complete{animation:none}}

.awb-workbench .awb-browser{border:1px solid #6c8378;border-radius:10px;overflow:hidden;background:#f2f5ef;color:#183328;margin:12px 0}
.awb-workbench .awb-browser-title{display:flex;justify-content:space-between;gap:12px;padding:11px 15px;background:#304b3c;color:#e1eee2;border-bottom:1px solid #637c6b;font-size:14px}
.awb-workbench .awb-browser-title small{font-size:11px;color:#c5d9c6}
.awb-workbench .awb-browser-address{display:flex;align-items:center;gap:10px;padding:12px;background:#dce6d8;border-bottom:1px solid #a1b69f}
.awb-workbench .awb-browser-address label{font-size:12px;color:#385541}
.awb-workbench .awb-browser-address input{display:block;flex:1;min-width:0;width:100%;padding:11px 12px!important;min-height:44px;border:1px solid #92aa93!important;background:#fff!important;color:#163021!important;border-radius:6px;font-family:ui-monospace,monospace;font-size:14px!important;line-height:1.4}
.awb-workbench .awb-browser-address button{flex:none;padding:10px 14px!important;min-height:44px;background:#294f39!important;border:1px solid #47654c!important;color:#edf4e7!important;border-radius:6px}
.awb-workbench .awb-browser-page{min-height:230px;padding:22px 24px;background:#f7f9f3}
.awb-workbench .awb-browser-location{display:block;margin-bottom:16px;font-size:12px;color:#526b59;overflow-wrap:anywhere}
.awb-workbench .awb-browser-page pre{font-family:inherit!important;font-size:15px!important;line-height:1.8!important;color:#183328!important;background:transparent!important;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;margin:0!important;padding:0!important}
.awb-workbench .awb-browser-empty{padding:30px 0;color:#465e4a}
.awb-workbench .awb-browser-empty strong{font-size:18px;font-weight:500}
.awb-workbench .awb-browser-empty p{font-size:14px}
.awb-workbench .awb-browser-status{margin:0!important;padding:10px 15px;font-size:12px!important;line-height:1.7;background:#e6eddf!important;color:#354b35!important;border-top:1px solid #c0d0b7;min-height:40px}
.awb-workbench .awb-pin-network i,.awb-workbench .awb-pin-ethernet i{background:#99c4ee;border-color:#d0e7f6}
@media(max-width:540px){.awb-workbench .awb-browser-address{gap:6px;padding:9px}.awb-workbench .awb-browser-address label{display:none}.awb-workbench .awb-browser-address input{font-size:12px!important;padding:10px 8px!important}.awb-workbench .awb-browser-address button{padding:10px!important}.awb-workbench .awb-browser-page{padding:20px 16px}.awb-workbench .awb-browser-title small{font-size:10px}}
.awb-workbench .awb-browser-page-title{font-family:inherit!important;font-weight:500!important;font-size:23px!important;line-height:1.4!important;color:#173a25!important;margin:0 0 20px!important}
.awb-workbench .awb-device-link{position:absolute;top:calc(100% + 10px);left:50%;transform:translateX(-50%);color:#a8bdb0;font:11px/1.6 ui-monospace,monospace;white-space:nowrap;letter-spacing:.02em}
.awb-workbench .awb-device-link[data-connected=true]{color:#ceeaa7}
.awb-workbench .awb-device-hint{top:calc(100% + 33px)}
.awb-workbench .awb-focus-line{color:#eff9d9;background:#35533b;border-left:3px solid #c1de9b;padding:2px 5px;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.awb-workbench.awb-workbench .awb-output-explanation{font:13px/1.75 system-ui,-apple-system,"Segoe UI","Noto Sans JP",sans-serif;margin:4px 0 14px;padding:11px 13px;background:#1f3b2b;border-left:3px solid #bedb9a;color:#dcebcf;white-space:normal;overflow-wrap:anywhere}
.awb-workbench .awb-output-explanation>span{font-weight:600;color:#d3eab4;margin-right:7px}
.awb-workbench .awb-browser-page .awb-focus-line{background:#dce7bd;color:#1d402b;border-color:#688748}
.awb-workbench.awb-workbench .awb-browser-page .awb-output-explanation{margin:18px 0 0;background:#e4edd6;color:#26442e;border-color:#688748}
.awb-workbench .awb-browser-page .awb-output-explanation>span{color:#365326}
.awb-workbench [data-awb-guide][hidden]{display:none!important}
.awb-workbench.awb-workbench .awb-terminal>.awb-output-explanation{margin:0;padding:12px 14px;border-bottom:1px solid #3e5e48}

.awb-workbench .awb-connections-detail[hidden]{display:none!important}

/* v2.1.4: identity is resolved locally; labels and ports keep their saved positions/IDs. */
.awb-workbench .awb-panel-heading{display:flex;align-items:center;gap:16px}
.awb-workbench .awb-panel-hardware{width:76px;height:82px;flex:0 0 76px}
.awb-workbench .awb-panel-hardware svg{width:100%;height:100%}
.awb-workbench .awb-type-label{font-size:12px;color:#9eb9af}
.awb-workbench .awb-hardware-note{font-size:12px!important;line-height:1.7!important;color:#b5cec2!important;margin:0 0 18px!important}
.awb-workbench .awb-device-body>svg{width:100%;height:100%;display:block}
.awb-workbench .awb-kind-smartphone .awb-device-body,.awb-workbench .awb-kind-tablet .awb-device-body{filter:drop-shadow(0 9px 12px #06141066)}

/* 2.5: explanations are separate from the exact commands/settings. */
.awb-workbench .awb-setting-meaning{border-left:3px solid #68dac6;padding:9px 12px!important;margin:0 0 15px!important;background:#132d32;color:#d9ebe9!important;font-size:13px!important;line-height:1.75!important}

/* Lab Core v1: reusable physical placement/orientation layer (currently used by NFC). */
.awb-spatial-layer{position:absolute;inset:0;z-index:2;pointer-events:none}.awb-workbench .awb-spatial-zone{position:absolute;transform:translate(-50%,-50%);width:118px;height:112px;border:2px dashed #69c9bc;border-radius:24px;background:#143d3845;color:#d9fff7;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;pointer-events:auto;touch-action:none;padding:8px;z-index:2}.awb-workbench button.awb-spatial-zone{cursor:crosshair}.awb-spatial-zone b{font:800 26px/1 system-ui}.awb-spatial-zone small{font-size:9px;line-height:1.45;text-align:center;max-width:100px;color:#b7ddd5}.awb-spatial-zone.is-active{border-style:solid;background:#194f466e;box-shadow:0 0 0 5px #5ed8c51a}.awb-spatial-orientation{position:absolute;top:12px;right:12px;display:flex;align-items:center;gap:7px;pointer-events:auto;padding:7px 8px;border:1px solid #477c70;border-radius:10px;background:#0d261fd9;z-index:5}.awb-spatial-orientation>span:first-child{font-size:10px;color:#afd0c5;margin-right:2px}.awb-workbench .awb-orient-option{display:flex;align-items:center;gap:6px;min-height:34px;padding:5px 8px;border:1px solid #4f7569;background:#183b31;color:#d9eee6;border-radius:7px;font-size:10px}.awb-orient-option.is-active{background:#c4e8dc!important;color:#15362e!important;border-color:#d9f4ec!important}.awb-orient-option i{display:block;width:20px;height:13px;border:2px solid currentColor;border-radius:3px;background:transparent}.awb-orient-option.tilted i{transform:rotate(-23deg)}.awb-device[data-awb-spatial-device]{transition:left .14s ease,top .14s ease}.awb-device.awb-spatial-tilted .awb-device-body{transform:rotate(-22deg);transform-origin:50% 50%}.awb-device[data-awb-spatial-device] .awb-device-hint{white-space:normal;text-align:center;min-width:110px}.awb-spatial-layer .awb-spatial-zone:focus-visible,.awb-spatial-orientation button:focus-visible{outline:3px solid #cbf2df!important;outline-offset:3px}@media(max-width:540px){.awb-workbench .awb-spatial-zone{width:86px;height:92px;border-radius:18px}.awb-spatial-zone b{font-size:21px}.awb-spatial-zone small{font-size:8px}.awb-spatial-orientation{left:8px;right:auto;top:41px;flex-wrap:wrap;max-width:250px}.awb-spatial-orientation>span:first-child{width:100%}.awb-workbench .awb-orient-option{min-height:40px;font-size:10px}.awb-device[data-awb-spatial-device] .awb-device-hint{min-width:88px;font-size:9px}}@media(prefers-reduced-motion:reduce){.awb-device[data-awb-spatial-device]{transition:none}}


.awb-memo-step{overflow:hidden}
.awb-memo-step-summary{list-style:none;cursor:pointer;padding:0;margin:0}
.awb-memo-step-summary::-webkit-details-marker{display:none}
.awb-memo-step-summary::marker{content:''}
.awb-memo-step-summary .awb-memo-step-head{margin:0;padding:14px 16px;position:relative}
.awb-memo-step-summary .awb-memo-step-head::after{content:'▸';position:absolute;right:14px;top:50%;transform:translateY(-50%);color:#9cd1dd;font-size:16px;transition:transform .2s ease}
.awb-memo-step[open] .awb-memo-step-summary .awb-memo-step-head::after{transform:translateY(-50%) rotate(90deg)}
.awb-memo-step-summary h4{margin:0;flex:1;padding-right:24px}
.awb-memo-step-body{padding:0 16px 16px}
@media(max-width:480px){.awb-memo-step-summary .awb-memo-step-head{padding:12px}.awb-memo-step-body{padding:0 12px 12px}}

/* 2.19 floating Lab Guide: draggable, step-aware, always available. */
.awb-floating-guide{position:fixed;left:var(--guide-x,24px);top:var(--guide-y,88px);z-index:5000;width:min(380px,calc(100vw - 32px));max-height:min(760px,calc(100vh - 110px));display:flex;flex-direction:column;background:#111c29;border:1px solid #40576a;border-radius:14px;box-shadow:0 24px 70px #000a,0 0 0 1px #65d9bd12;color:#dceaf3;overflow:hidden;backdrop-filter:blur(14px)}
.awb-floating-guide.is-dragging{box-shadow:0 30px 85px #000d,0 0 0 2px #66e3c26b}
.awb-guide-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;background:linear-gradient(180deg,#1b2a3b,#162334);border-bottom:1px solid #354a5b;cursor:grab;user-select:none;touch-action:none}
.awb-guide-head:active{cursor:grabbing}.awb-guide-brand{display:flex;align-items:center;gap:9px;min-width:0}.awb-guide-orb{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:#173b38;border:1px solid #49a995;color:#75ebcb;font:900 10px ui-monospace,monospace;box-shadow:inset 0 0 18px #53d4b329}.awb-guide-brand>div{display:flex;flex-direction:column;min-width:0}.awb-guide-brand b{font:800 11px/1.2 ui-monospace,monospace;letter-spacing:.1em;color:#eef9f7}.awb-guide-brand small{font:8px/1.4 ui-monospace,monospace;letter-spacing:.15em;color:#7ea1af}.awb-guide-head-actions{display:flex;align-items:center;gap:6px}.awb-guide-live{font:800 8px ui-monospace,monospace;letter-spacing:.09em;color:#62d9bc}.awb-workbench .awb-guide-head-actions button{width:29px;height:29px;display:grid;place-items:center;padding:0;background:#223347;color:#cce0eb;border:1px solid #40576a;border-radius:7px;font-size:13px}.awb-guide-body{padding:13px;overflow:auto;scrollbar-width:thin;scrollbar-color:#4e6879 #111c29}.awb-guide-progress{display:grid;grid-template-columns:1fr auto;gap:6px 10px;align-items:center;margin-bottom:12px}.awb-guide-progress>span{font:800 9px ui-monospace,monospace;letter-spacing:.1em;color:#8fb0bc}.awb-guide-progress>b{font:800 10px ui-monospace,monospace;color:#7be7c7}.awb-guide-progress>div{grid-column:1/-1;height:4px;border-radius:999px;background:#233644;overflow:hidden}.awb-guide-progress i{display:block;height:100%;background:linear-gradient(90deg,#39c9a7,#7bf0d0);box-shadow:0 0 12px #55e2bf66}.awb-guide-current{padding:11px 12px;border:1px solid #2f4b5e;background:#142532;border-radius:10px;margin-bottom:12px}.awb-guide-current small{display:block;font:800 8px ui-monospace,monospace;letter-spacing:.13em;color:#6dddc0}.awb-guide-current strong{display:block;margin:4px 0;color:#f0f7fb;font-size:14px}.awb-workbench .awb-guide-current p{font-size:11px;line-height:1.7;color:#a9c0cd;margin:0}.awb-floating-guide .awb-step-list{gap:8px}.awb-floating-guide .awb-memo-step{padding:0;background:#13222d;border-color:#30495a;border-radius:10px;box-shadow:none}.awb-floating-guide .awb-memo-step-summary .awb-memo-step-head{padding:10px 11px}.awb-floating-guide .awb-memo-step-index{font-size:9px;padding:3px 7px}.awb-floating-guide .awb-memo-step-status{font-size:9px;padding:3px 7px}.awb-floating-guide .awb-memo-step-summary h4{font-size:12px;line-height:1.45}.awb-floating-guide .awb-memo-step-body{padding:0 11px 11px}.awb-floating-guide .awb-memo-step-body p{font-size:11px;line-height:1.65;color:#c8d9e2;margin:6px 0}.awb-floating-guide .awb-memo-step-body code{font-size:10px;line-height:1.6;color:#d8efb1}.awb-floating-guide .hgc-guide{margin:7px 0!important}.awb-floating-guide .hgc-guide summary{font-size:10px}.awb-floating-guide .hgc-inner{padding:10px}.awb-floating-guide .hgc-parts{display:none}.awb-guide-ask{margin-top:12px;padding-top:12px;border-top:1px solid #294052}.awb-guide-chips{display:flex;flex-wrap:wrap;gap:6px}.awb-workbench .awb-guide-chips button{padding:6px 8px;font-size:9px;background:#152b31;color:#aee2d3;border:1px solid #32675b;border-radius:999px}.awb-guide-reply{display:flex;gap:8px;margin:9px 0;padding:9px;border:1px solid #31516a;border-radius:9px;background:#0d1b27}.awb-guide-reply>span{display:grid;place-items:center;flex:0 0 24px;height:24px;border-radius:50%;background:#1c4c43;color:#7ef0cf;font:900 8px ui-monospace,monospace}.awb-workbench .awb-guide-reply p{margin:0;font-size:10px;line-height:1.65;color:#c7d9e3}.awb-guide-input{display:flex;gap:6px;margin-top:9px}.awb-guide-input input{min-width:0;flex:1;background:#0b1721!important;color:#e9f2f7!important;border:1px solid #38556a!important;border-radius:8px!important;padding:8px 9px!important;font-size:11px!important;height:auto!important;box-shadow:none!important}.awb-workbench .awb-guide-input button{flex:none;padding:7px 10px;background:#205145;color:#dffcf3;border:1px solid #438776;font-size:10px}.awb-guide-ask>small{display:block;margin-top:7px;color:#718d9b;font-size:8px;line-height:1.5}.awb-floating-guide.is-minimized{width:248px;max-height:none}.awb-floating-guide.is-minimized .awb-guide-body{display:none}.awb-floating-guide.is-minimized .awb-guide-head{border-bottom:0}.awb-floating-guide.is-minimized .awb-guide-live{display:none}
@media(max-width:760px){.awb-floating-guide{left:12px!important;right:12px!important;top:auto!important;bottom:12px!important;width:auto;max-height:65vh}.awb-guide-head{touch-action:auto}.awb-floating-guide.is-minimized{right:auto!important;width:238px}.awb-guide-live{display:none}}
@media(prefers-reduced-motion:reduce){.awb-floating-guide,.awb-guide-progress i{transition:none!important}}

/* Japanese Windows-inspired Lab settings. */
.awb-win-settings{max-width:none!important}.awb-win-settings>h3{font-size:18px!important;color:#f1f5f8!important;margin:8px 0 5px!important}.awb-win-lead{font-size:10px!important;color:#91aabd!important;margin:0 0 13px!important}.awb-win-settings-list{display:grid;gap:8px}.os-settings-body .awb-win-card{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:13px 15px!important;background:#262f37!important;border:1px solid #343f49!important;border-radius:9px!important;color:#eef3f6!important}.awb-win-card>span{display:flex;flex-direction:column;align-items:flex-start;gap:2px}.awb-win-card b{font-size:12px}.awb-win-card small{font-size:9px;color:#9bacb8}.awb-win-card i{font-style:normal;font-size:18px;color:#9eb0bd}.os-settings-body .awb-win-setting{background:#262f37!important;border:1px solid #343f49!important;border-radius:9px!important;padding:13px 15px!important;color:#eef3f6!important}.awb-win-setting>span{display:flex;flex-direction:column;gap:2px}.awb-win-setting b{font-size:12px}.awb-win-setting small{font-size:9px;color:#9bacb8}.awb-workbench .awb-win-toggle{display:flex!important;align-items:center!important;gap:8px!important;min-width:92px;padding:5px 7px!important;border-radius:999px!important;background:#333!important;border:1px solid #646464!important;color:#d7d7d7!important}.awb-win-toggle i{display:block;width:28px;height:16px;border-radius:999px;background:#5b5b5b;position:relative}.awb-win-toggle i:after{content:'';position:absolute;width:12px;height:12px;border-radius:50%;background:#ddd;left:2px;top:2px;transition:left .15s ease}.awb-win-toggle em{font-style:normal;font-size:10px}.awb-win-toggle.is-on{background:#0f6fa5!important;border-color:#49b8f0!important}.awb-win-toggle.is-on i{background:#52c7ff}.awb-win-toggle.is-on i:after{left:14px;background:#061b26}.awb-win-empty{padding:16px;border:1px dashed #3b4d5d;border-radius:9px;color:#a9bac5}.awb-win-empty b{display:block;color:#dfeaf0;margin-bottom:4px}.awb-win-empty p{font-size:10px!important;margin:0!important}
/* 2.19 Light theme for the floating Step Guide. */
html[data-hg-theme="light"] .awb-floating-guide,html[data-hgls-direct-theme="light"] .awb-floating-guide{background:#f8fbfd;border-color:#a9becb;color:#20343e;box-shadow:0 24px 70px #15354424,0 0 0 1px #0c8f7314}
html[data-hg-theme="light"] .awb-guide-head,html[data-hgls-direct-theme="light"] .awb-guide-head{background:#e8f0f5;border-color:#b9cbd5}
html[data-hg-theme="light"] .awb-guide-brand b,html[data-hgls-direct-theme="light"] .awb-guide-brand b{color:#1b3440}
html[data-hg-theme="light"] .awb-guide-brand small,html[data-hgls-direct-theme="light"] .awb-guide-brand small{color:#637f8d}
html[data-hg-theme="light"] .awb-guide-current,html[data-hgls-direct-theme="light"] .awb-guide-current{background:#eef5f7;border-color:#bfd2da}
html[data-hg-theme="light"] .awb-guide-current strong,html[data-hgls-direct-theme="light"] .awb-guide-current strong{color:#173640}
html[data-hg-theme="light"] .awb-workbench .awb-guide-current p,html[data-hgls-direct-theme="light"] .awb-workbench .awb-guide-current p{color:#5b737e}
html[data-hg-theme="light"] .awb-floating-guide .awb-memo-step,html[data-hgls-direct-theme="light"] .awb-floating-guide .awb-memo-step{background:#fff;border-color:#c2d3da}
html[data-hg-theme="light"] .awb-floating-guide .awb-memo-step-summary h4,html[data-hgls-direct-theme="light"] .awb-floating-guide .awb-memo-step-summary h4{color:#1d3944}
html[data-hg-theme="light"] .awb-floating-guide .awb-memo-step-body p,html[data-hgls-direct-theme="light"] .awb-floating-guide .awb-memo-step-body p{color:#4d6772}
html[data-hg-theme="light"] .awb-floating-guide .awb-memo-step-body code,html[data-hgls-direct-theme="light"] .awb-floating-guide .awb-memo-step-body code{color:#45660a;background:#f2f7e7}
html[data-hg-theme="light"] .awb-guide-ask,html[data-hgls-direct-theme="light"] .awb-guide-ask{border-color:#c7d7de}
html[data-hg-theme="light"] .awb-workbench .awb-guide-chips button,html[data-hgls-direct-theme="light"] .awb-workbench .awb-guide-chips button{background:#e8f6f2;color:#176a58;border-color:#93c9bb}
html[data-hg-theme="light"] .awb-guide-reply,html[data-hgls-direct-theme="light"] .awb-guide-reply{background:#eef5f7;border-color:#b5ced8}
html[data-hg-theme="light"] .awb-workbench .awb-guide-reply p,html[data-hgls-direct-theme="light"] .awb-workbench .awb-guide-reply p{color:#38535f}
html[data-hg-theme="light"] .awb-guide-input input,html[data-hgls-direct-theme="light"] .awb-guide-input input{background:#fff!important;color:#1a3440!important;border-color:#a9becb!important}


/* 2.20 — clearer ports + direct cable rewire. */
.awb-pin>span{margin-top:var(--awb-port-label-y,0px);z-index:7;max-width:118px;padding:2px 5px;background:#0c2119f2;border:1px solid #345a49;box-shadow:0 3px 10px #0007}
.awb-pin-left>span{right:29px}.awb-pin-right>span{left:29px}
.awb-pin.is-connected{cursor:grab}.awb-pin.is-connected:active{cursor:grabbing}.awb-pin.is-connected>i{box-shadow:0 0 0 3px #b7e9b32b,0 0 14px #73b6f244}
.awb-connections>div small{margin-left:auto;color:#7fa99a;font:8px ui-monospace,monospace;letter-spacing:.05em}.awb-connections>div button[data-awb-disconnect]{display:none!important}
.awb-workbench.awb-compact .awb-pin>span{max-width:92px;font-size:8px}

/* 2.22 — Free-size Lab Guide + movable workbench devices + clearer cable lanes. */
.awb-floating-guide{
  width:min(var(--guide-w,380px),calc(100vw - 16px));
  height:var(--guide-h,auto);
  min-width:260px;
  min-height:180px;
  max-width:calc(100vw - 16px);
  max-height:calc(100vh - 16px);
}
.awb-guide-body{flex:1;min-height:0;overflow:auto}
.awb-guide-resize-label{font:800 7px ui-monospace,monospace;letter-spacing:.12em;color:#708b99;pointer-events:none}
.awb-guide-resize{position:absolute;z-index:8;display:block;touch-action:none}
.awb-guide-resize-e{top:46px;right:-3px;bottom:14px;width:10px;cursor:ew-resize}
.awb-guide-resize-s{left:14px;right:14px;bottom:-3px;height:10px;cursor:ns-resize}
.awb-guide-resize-e::after{content:'';position:absolute;right:3px;top:42%;width:2px;height:38px;border-radius:999px;background:#7893a188}
.awb-guide-resize-s::after{content:'';position:absolute;left:44%;bottom:3px;width:42px;height:2px;border-radius:999px;background:#7893a188}
.awb-guide-resize-se{right:2px;bottom:2px;width:25px;height:25px;cursor:nwse-resize;border-radius:5px;background:linear-gradient(135deg,transparent 0 44%,#9ab1bd 45% 51%,transparent 52% 62%,#9ab1bd 63% 69%,transparent 70%)}
.awb-floating-guide.is-dragging,.awb-floating-guide.is-resizing{user-select:none}
.awb-floating-guide.is-resizing .awb-guide-body{pointer-events:none}
.awb-workbench.awb-workbench .awb-device-move{position:absolute;right:5px;top:5px;z-index:12;width:27px;height:27px;padding:0!important;display:grid;place-items:center;border:1px solid #708d7c!important;border-radius:50%!important;background:#13261fe8!important;color:#d9f6e8!important;font:700 14px/1 system-ui!important;cursor:grab!important;touch-action:none;box-shadow:0 3px 10px #0006!important}
.awb-workbench.awb-workbench .awb-device-move:hover{background:#254739!important;border-color:#a3ccb5!important}
.awb-workbench.awb-workbench .awb-device-move:active{cursor:grabbing!important}
.awb-workbench.awb-workbench .awb-layout-reset{padding:6px 9px;font-size:10px;background:#172d24;color:#aac8b7;border-color:#466657}
.awb-interactive[data-awb-view=device] .awb-layout-reset{display:none}
.awb-wire{transition:stroke .12s ease}
@media(max-width:760px){
 .awb-floating-guide{
   left:12px!important;right:auto!important;top:var(--guide-y,76px)!important;bottom:auto!important;
   width:min(var(--guide-w,calc(100vw - 24px)),calc(100vw - 24px));
   height:var(--guide-h,auto);
   min-width:240px;min-height:170px;max-width:calc(100vw - 24px);max-height:calc(100vh - 88px)
 }
 .awb-guide-head{touch-action:none}
 .awb-guide-live{display:none}
}

/* 2.24 — full Workbench light palette. Devices themselves remain realistic,
   while the bench, labels, controls, guide and wiring UI follow the page theme. */
html[data-hg-theme="light"] .awb-workbench.awb-workbench,html[data-hgls-direct-theme="light"] .awb-workbench.awb-workbench{
  --awb-ink:#173b34;--awb-muted:#58756d;--awb-line:#b8d0c8;background:#f8fbfa!important;color:#173b34!important;border-color:#b8d0c8!important
}
html[data-hg-theme="light"] .awb-topline,html[data-hgls-direct-theme="light"] .awb-topline{background:#e6f2ee!important;border-color:#b8d0c8!important}
html[data-hg-theme="light"] .awb-topline>span,html[data-hgls-direct-theme="light"] .awb-topline>span{color:#0a745f!important}
html[data-hg-theme="light"] .awb-topline small,html[data-hgls-direct-theme="light"] .awb-topline small{color:#5b756e!important}
html[data-hg-theme="light"] .awb-workbench .awb-device-nav button,html[data-hgls-direct-theme="light"] .awb-workbench .awb-device-nav button{background:#fff!important;border-color:#b6ccc6!important;color:#355b52!important}
html[data-hg-theme="light"] .awb-workbench .awb-device-nav button.is-selected,html[data-hgls-direct-theme="light"] .awb-workbench .awb-device-nav button.is-selected{background:#d9efe8!important;border-color:#73ad9f!important;color:#174a40!important}
html[data-hg-theme="light"] .awb-pan,html[data-hgls-direct-theme="light"] .awb-pan{background:#edf6f2!important;border-color:#b8d0c8!important;scrollbar-color:#97b9af #e4efec}
html[data-hg-theme="light"] .awb-world,html[data-hgls-direct-theme="light"] .awb-world{background-color:#edf6f2!important;background-image:linear-gradient(#397d6b10 1px,transparent 1px),linear-gradient(90deg,#397d6b10 1px,transparent 1px),radial-gradient(ellipse at 45% 40%,#9ed7c83b,transparent 70%)!important}
html[data-hg-theme="light"] .awb-bench-label,html[data-hgls-direct-theme="light"] .awb-bench-label,html[data-hg-theme="light"] .awb-bench-caption,html[data-hgls-direct-theme="light"] .awb-bench-caption{color:#628078!important}
html[data-hg-theme="light"] .awb-device-label,html[data-hgls-direct-theme="light"] .awb-device-label{background:#f8fbfaef!important;border-color:#98b8ae!important;color:#193f36!important;box-shadow:0 4px 14px #375d5215}
html[data-hg-theme="light"] .awb-device-hint,html[data-hgls-direct-theme="light"] .awb-device-hint{color:#58756d!important}
html[data-hg-theme="light"] .awb-pin>span,html[data-hgls-direct-theme="light"] .awb-pin>span{background:#f5faf8f2!important;border-color:#93b5aa!important;color:#20483e!important;box-shadow:0 3px 10px #2c514a20}
html[data-hg-theme="light"] .awb-pin>i,html[data-hgls-direct-theme="light"] .awb-pin>i{background:#e7efeb;box-shadow:0 0 0 2px #b3c9c1}
html[data-hg-theme="light"] .awb-feedback,html[data-hgls-direct-theme="light"] .awb-feedback{background:#e6f2ee!important;border-color:#b8d0c8!important;color:#31594f!important}
html[data-hg-theme="light"] .awb-connections,html[data-hgls-direct-theme="light"] .awb-connections{background:#f3f8f6!important;color:#31594f!important}
html[data-hg-theme="light"] .awb-connections b,html[data-hgls-direct-theme="light"] .awb-connections b{color:#31594f!important}
html[data-hg-theme="light"] .awb-control-panel,html[data-hgls-direct-theme="light"] .awb-control-panel{background:#f8fbfa!important;border-color:#b8d0c8!important}
html[data-hg-theme="light"] .awb-workbench .awb-panel-heading h3,html[data-hgls-direct-theme="light"] .awb-workbench .awb-panel-heading h3{color:#173b34!important}
html[data-hg-theme="light"] .awb-panel-heading>div>span,html[data-hgls-direct-theme="light"] .awb-panel-heading>div>span,html[data-hg-theme="light"] .awb-panel-heading>small,html[data-hgls-direct-theme="light"] .awb-panel-heading>small{color:#5d7a72!important}
html[data-hg-theme="light"] .awb-workbench .awb-panel-tabs button,html[data-hgls-direct-theme="light"] .awb-workbench .awb-panel-tabs button{background:#fff!important;border-color:#b8d0c8!important;color:#355b52!important}
html[data-hg-theme="light"] .awb-workbench .awb-panel-tabs button[aria-pressed=true],html[data-hgls-direct-theme="light"] .awb-workbench .awb-panel-tabs button[aria-pressed=true]{background:#dcefe9!important;border-color:#7bb2a4!important;color:#17483e!important}
html[data-hg-theme="light"] .awb-workbench .awb-device-home p,html[data-hgls-direct-theme="light"] .awb-workbench .awb-device-home p,html[data-hg-theme="light"] .awb-scope,html[data-hgls-direct-theme="light"] .awb-scope{color:#526f67!important}
html[data-hg-theme="light"] .awb-device-home>div>strong,html[data-hgls-direct-theme="light"] .awb-device-home>div>strong,html[data-hg-theme="light"] .awb-scope strong,html[data-hgls-direct-theme="light"] .awb-scope strong{color:#173b34!important}
html[data-hg-theme="light"] .awb-workbench .awb-menu-item,html[data-hgls-direct-theme="light"] .awb-workbench .awb-menu-item,html[data-hg-theme="light"] .awb-setting,html[data-hgls-direct-theme="light"] .awb-setting{background:#fff!important;border-color:#b8d0c8!important;color:#264f45!important}
html[data-hg-theme="light"] .awb-settings-path,html[data-hgls-direct-theme="light"] .awb-settings-path{color:#496b62!important}
html[data-hg-theme="light"] .awb-workbench .awb-settings-path button,html[data-hgls-direct-theme="light"] .awb-workbench .awb-settings-path button{background:#e7f3ef!important;border-color:#96b8ad!important;color:#28574d!important}
html[data-hg-theme="light"] .awb-workbench .awb-device-move,html[data-hgls-direct-theme="light"] .awb-workbench .awb-device-move{background:#f7fbf9ee!important;border-color:#8daca2!important;color:#2b5c51!important;box-shadow:0 3px 10px #375a511f!important}
html[data-hg-theme="light"] .awb-workbench .awb-layout-reset,html[data-hgls-direct-theme="light"] .awb-workbench .awb-layout-reset{background:#edf6f2!important;border-color:#a1bdb4!important;color:#41685e!important}
/* A terminal screen is intentionally dark in both themes, like a real terminal. */


/* 2.25 — closable Guide that keeps its position/size across Lab Steps. */
.awb-guide-shell{position:static}
.awb-workbench .awb-guide-head-actions .awb-guide-close{width:28px!important;height:28px!important;min-height:28px!important;padding:0!important;border-radius:7px!important;background:#2a3a4b!important;border:1px solid #4b6071!important;color:#d9e9f2!important;font:700 16px/1 system-ui!important;cursor:pointer!important}
.awb-workbench .awb-guide-head-actions .awb-guide-close:hover{background:#3b4d5f!important;color:#fff!important}
.awb-workbench .awb-guide-launcher{position:fixed;right:18px;bottom:18px;z-index:4999;display:grid;grid-template-columns:32px auto;grid-template-rows:auto auto;column-gap:9px;align-items:center;min-width:154px;padding:9px 12px!important;background:#16273a!important;border:1px solid #405c70!important;border-radius:12px!important;color:#e6f3f8!important;box-shadow:0 16px 45px #0008!important;text-align:left!important}
.awb-workbench .awb-guide-launcher>span{grid-row:1/3;display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#173b38;border:1px solid #49a995;color:#75ebcb;font:900 10px ui-monospace,monospace}
.awb-workbench .awb-guide-launcher>b{font:800 10px/1.2 ui-monospace,monospace;letter-spacing:.1em;color:#eef9f7}
.awb-workbench .awb-guide-launcher>small{font:8px/1.3 ui-monospace,monospace;letter-spacing:.12em;color:#8ba8b5}
html[data-hg-theme="light"] .awb-workbench .awb-guide-launcher,html[data-hgls-direct-theme="light"] .awb-workbench .awb-guide-launcher{background:#eef5f8!important;border-color:#a9becb!important;color:#20343e!important;box-shadow:0 16px 42px #193b4b2b!important}
html[data-hg-theme="light"] .awb-workbench .awb-guide-launcher>b,html[data-hgls-direct-theme="light"] .awb-workbench .awb-guide-launcher>b{color:#1b3440!important}
html[data-hg-theme="light"] .awb-workbench .awb-guide-launcher>small,html[data-hgls-direct-theme="light"] .awb-workbench .awb-guide-launcher>small{color:#637f8d!important}
html[data-hg-theme="light"] .awb-workbench .awb-guide-head-actions .awb-guide-close,html[data-hgls-direct-theme="light"] .awb-workbench .awb-guide-head-actions .awb-guide-close{background:#f5f9fb!important;border-color:#a9becb!important;color:#37535f!important}
@media(max-width:760px){.awb-workbench .awb-guide-launcher{right:12px;bottom:12px;min-width:142px}}


/* 2.28 — LAB GUIDE stays on-screen: square button minimizes/restores, never closes. */
.awb-floating-guide.is-minimized{width:248px!important;height:auto!important;min-width:0!important;min-height:0!important;max-height:none!important}
.awb-floating-guide.is-minimized .awb-guide-body{display:none!important}
.awb-floating-guide.is-minimized .awb-guide-head{border-bottom:0!important}
.awb-floating-guide.is-minimized .awb-guide-live,.awb-floating-guide.is-minimized .awb-guide-resize-label,.awb-floating-guide.is-minimized .awb-guide-resize{display:none!important}
.awb-workbench .awb-guide-minimize{width:29px;height:29px;display:grid;place-items:center;padding:0!important;background:#223347;color:#dcebf2;border:1px solid #40576a;border-radius:7px;font:800 16px/1 ui-monospace,monospace;cursor:pointer}
.awb-workbench .awb-guide-minimize:hover{background:#2c4056;border-color:#5e7b90}
html[data-hg-theme="light"] .awb-workbench .awb-guide-minimize,html[data-hgls-direct-theme="light"] .awb-workbench .awb-guide-minimize{background:#f5f9fb!important;border-color:#a9becb!important;color:#37535f!important}
@media(max-width:760px){.awb-floating-guide.is-minimized{left:12px!important;right:auto!important;width:238px!important;max-width:calc(100vw - 24px)!important}}


/* 2.34.2 — Command meaning lives only inside LAB GUIDE, not inside Terminal. */
.awb-floating-guide .hgc-guide{margin:10px 0 2px!important;border-radius:9px!important;font-size:11px!important;line-height:1.55!important;overflow:hidden}
.awb-floating-guide .hgc-guide>summary{padding:10px 11px!important;font-size:11px!important;line-height:1.4!important}
.awb-floating-guide .hgc-guide .hgc-inner{padding:0 11px 11px!important}
.awb-floating-guide .hgc-guide p,.awb-floating-guide .hgc-guide dd{font-size:10px!important;line-height:1.55!important}
.awb-floating-guide .hgc-guide .hgc-command{padding:9px!important;margin:8px 0!important}
.awb-floating-guide .hgc-guide code{font-size:10px!important;line-height:1.55!important}
.awb-floating-guide .hgc-guide .hgc-parts>div{grid-template-columns:1fr!important;gap:3px!important;padding:6px 0!important}
.awb-floating-guide .hgc-guide .hgc-badge{font-size:8px!important}
html[data-hg-theme="light"] .awb-floating-guide .hgc-guide,html[data-hgls-direct-theme="light"] .awb-floating-guide .hgc-guide{background:#f4f8fa!important;border-color:#b8cbd5!important;color:#20343e!important}
html[data-hg-theme="light"] .awb-floating-guide .hgc-guide>summary,html[data-hgls-direct-theme="light"] .awb-floating-guide .hgc-guide>summary{color:#173640!important;background:#edf4f7!important}
html[data-hg-theme="light"] .awb-floating-guide .hgc-guide .hgc-inner,html[data-hgls-direct-theme="light"] .awb-floating-guide .hgc-guide .hgc-inner{background:#f8fbfd!important}
html[data-hg-theme="light"] .awb-floating-guide .hgc-guide p,html[data-hg-theme="light"] .awb-floating-guide .hgc-guide dd,html[data-hgls-direct-theme="light"] .awb-floating-guide .hgc-guide p,html[data-hgls-direct-theme="light"] .awb-floating-guide .hgc-guide dd{color:#38535f!important}
html[data-hg-theme="light"] .awb-floating-guide .hgc-guide .hgc-command,html[data-hgls-direct-theme="light"] .awb-floating-guide .hgc-guide .hgc-command{background:#fff!important;border-color:#bfd0d8!important}

/* 2.34.3 — show the token-by-token explanation in LAB GUIDE. */
.awb-floating-guide .hgc-guide .hgc-parts{display:block!important}
.awb-floating-guide .hgc-guide .hgc-explain-block,.awb-floating-guide .hgc-guide .hgc-after{padding:8px 9px!important;margin:8px 0!important}
.awb-floating-guide .hgc-guide .hgc-explain-block>b,.awb-floating-guide .hgc-guide .hgc-after>b,.awb-floating-guide .hgc-guide .hgc-parts-title{font-size:10px!important}
.awb-floating-guide .hgc-guide .hgc-why{padding-top:6px!important}
html[data-hg-theme="light"] .awb-floating-guide .hgc-guide .hgc-explain-block,html[data-hg-theme="light"] .awb-floating-guide .hgc-guide .hgc-after,html[data-hgls-direct-theme="light"] .awb-floating-guide .hgc-guide .hgc-explain-block,html[data-hgls-direct-theme="light"] .awb-floating-guide .hgc-guide .hgc-after{background:#f1f8f7!important;border-color:#b6d8d0!important}
html[data-hg-theme="light"] .awb-floating-guide .hgc-guide .hgc-explain-block>b,html[data-hg-theme="light"] .awb-floating-guide .hgc-guide .hgc-after>b,html[data-hg-theme="light"] .awb-floating-guide .hgc-guide .hgc-parts-title,html[data-hgls-direct-theme="light"] .awb-floating-guide .hgc-guide .hgc-explain-block>b,html[data-hgls-direct-theme="light"] .awb-floating-guide .hgc-guide .hgc-after>b,html[data-hgls-direct-theme="light"] .awb-floating-guide .hgc-guide .hgc-parts-title{color:#087c69!important}


/* 2.34.16 — smaller first-open LAB GUIDE; users can still resize freely. */
@media(min-width:761px){
 .awb-floating-guide{
   /* Leave the left-hand Back control clear. An explicitly dragged x still wins;
      right docking follows the real width, including the minimized header. */
   left:var(--guide-x,auto);right:8px;
   width:min(var(--guide-w,320px),calc(100vw - 16px))!important;
   height:var(--guide-h,min(440px,calc(100vh - 32px)))!important;
   max-height:calc(100vh - 24px)!important;
 }
}


/* 2.34.36 — real app preparation instead of fake PC "状態を見る". */
.awb-editor-app{height:100%;min-height:330px;display:flex;flex-direction:column;background:#f8fafb;color:#182b34}
.awb-editor-app>header{display:flex;justify-content:space-between;align-items:center;padding:13px 16px;border-bottom:1px solid #ccd9df;background:#eef4f7}
.awb-editor-app>header b{font-size:16px}.awb-editor-app>header small{color:#657b86}
.awb-editor-toolbar{display:flex;justify-content:space-between;align-items:center;padding:9px 14px;background:#fff;border-bottom:1px solid #d9e3e7;font-size:12px}
.awb-editor-toolbar i{font-style:normal;color:#748790}
.awb-editor-app textarea{flex:1;min-height:220px;width:100%;resize:none;border:0!important;outline:0!important;padding:20px!important;background:#fff!important;color:#152a33!important;font:16px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace!important;caret-color:#078c74}
.awb-editor-app textarea:focus{box-shadow:inset 0 0 0 2px #39cdb1!important}
.awb-editor-app>p{margin:0!important;padding:10px 14px!important;border-top:1px solid #d9e3e7;background:#eef7f4;color:#47645e!important;font-size:12px!important}
.awb-editor-code textarea{background:#111923!important;color:#dbe8ed!important;caret-color:#65e7ca}
html[data-hgls-direct-theme="dark"] .awb-editor-app,.awb-workbench[data-hg-theme="dark"] .awb-editor-app{background:#0e1b22;color:#e5f2ef}
html[data-hgls-direct-theme="dark"] .awb-editor-app>header,.awb-workbench[data-hg-theme="dark"] .awb-editor-app>header{background:#13242c;border-color:#29434d}
html[data-hgls-direct-theme="dark"] .awb-editor-toolbar,.awb-workbench[data-hg-theme="dark"] .awb-editor-toolbar{background:#0d171d;border-color:#29434d}
html[data-hgls-direct-theme="dark"] .awb-editor-app textarea,.awb-workbench[data-hg-theme="dark"] .awb-editor-app textarea{background:#091217!important;color:#e6f5f1!important}
html[data-hgls-direct-theme="dark"] .awb-editor-app>p,.awb-workbench[data-hg-theme="dark"] .awb-editor-app>p{background:#102521;color:#a9c7c0!important;border-color:#29434d}


/* 2.34.39 — Lab Guide shows action, meaning and completion condition explicitly. */
.awb-step-guide-summary{
 display:grid;
 gap:7px;
 margin:4px 0 10px;
}
.awb-step-guide-row{
 padding:9px 10px;
 border:1px solid #2f4d5d;
 border-radius:9px;
 background:#0e1c26;
}
.awb-step-guide-row>b{
 display:block;
 margin-bottom:4px;
 font:800 8px/1.3 ui-monospace,monospace;
 letter-spacing:.11em;
 color:#76e7c8;
}
.awb-floating-guide .awb-step-guide-row>p{
 margin:0!important;
 color:#d5e4ea!important;
 font-size:10.5px!important;
 line-height:1.65!important;
}
.awb-step-guide-row.is-action{border-color:#35665d;background:#102923}
.awb-step-guide-row.is-meaning{border-color:#365069;background:#101f2c}
.awb-step-guide-row.is-done{border-color:#5b5430;background:#27240f}
.awb-step-guide-row.is-done>b{color:#f4d979}
.awb-step-detail{
 margin-top:9px;
 padding-top:9px;
 border-top:1px solid #294151;
}
.awb-step-detail>b{
 display:block;
 margin-bottom:5px;
 color:#8ca7b5;
 font:800 8px ui-monospace,monospace;
 letter-spacing:.11em;
}
.awb-guide-current-action{
 color:#e3f0f5!important;
 font-weight:700!important;
}
.awb-guide-current-meaning{
 margin-top:9px;
 padding:8px 9px;
 border-left:3px solid #62dabe;
 background:#102a28;
 border-radius:0 7px 7px 0;
}
.awb-guide-current-meaning>b{
 display:block;
 margin-bottom:3px;
 color:#71e6c7;
 font:800 8px ui-monospace,monospace;
 letter-spacing:.09em;
}
.awb-guide-current-meaning>span{
 display:block;
 color:#bbd4d2;
 font-size:10px;
 line-height:1.6;
}
html[data-hg-theme="light"] .awb-step-guide-row,
html[data-hgls-direct-theme="light"] .awb-step-guide-row{
 background:#f8fbfc;
 border-color:#c5d7dd;
}
html[data-hg-theme="light"] .awb-step-guide-row.is-action,
html[data-hgls-direct-theme="light"] .awb-step-guide-row.is-action{background:#eff9f6;border-color:#b9dbd2}
html[data-hg-theme="light"] .awb-step-guide-row.is-meaning,
html[data-hgls-direct-theme="light"] .awb-step-guide-row.is-meaning{background:#f2f7fb;border-color:#c5d7e4}
html[data-hg-theme="light"] .awb-step-guide-row.is-done,
html[data-hgls-direct-theme="light"] .awb-step-guide-row.is-done{background:#fff9e9;border-color:#e0d39b}
html[data-hg-theme="light"] .awb-floating-guide .awb-step-guide-row>p,
html[data-hgls-direct-theme="light"] .awb-floating-guide .awb-step-guide-row>p{color:#344e59!important}
html[data-hg-theme="light"] .awb-step-guide-row>b,
html[data-hgls-direct-theme="light"] .awb-step-guide-row>b{color:#087761}
html[data-hg-theme="light"] .awb-guide-current-action,
html[data-hgls-direct-theme="light"] .awb-guide-current-action{color:#274650!important}
html[data-hg-theme="light"] .awb-guide-current-meaning,
html[data-hgls-direct-theme="light"] .awb-guide-current-meaning{background:#edf8f5;border-left-color:#17a986}
html[data-hg-theme="light"] .awb-guide-current-meaning>b,
html[data-hgls-direct-theme="light"] .awb-guide-current-meaning>b{color:#08735d}
html[data-hg-theme="light"] .awb-guide-current-meaning>span,
html[data-hgls-direct-theme="light"] .awb-guide-current-meaning>span{color:#45635d}


/* 2.34.40 — exact operation path is repeated inside 詳しい手順. */
.awb-step-detail-primary{
 margin:6px 0 9px!important;
 padding:8px 10px!important;
 border:1px solid #3a786b;
 border-radius:8px;
 background:#102923;
 color:#dff8f1!important;
 line-height:1.65!important;
}
.awb-step-detail-primary>strong{
 color:#6ce6c7;
 font-size:9px;
 letter-spacing:.04em;
}
html[data-hg-theme="light"] .awb-step-detail-primary,
html[data-hgls-direct-theme="light"] .awb-step-detail-primary{
 background:#edf9f5;
 border-color:#afd9ce;
 color:#294a43!important;
}
html[data-hg-theme="light"] .awb-step-detail-primary>strong,
html[data-hgls-direct-theme="light"] .awb-step-detail-primary>strong{
 color:#08755f;
}


/* 2.34.41 — Lab Guide only has 手順 + この操作で何をする. */
.awb-step-guide-row.is-done,.awb-step-detail,.awb-step-detail-primary{display:none!important}
.awb-step-guide-row.is-procedure{border-color:#39796a;background:#102b24}
.awb-step-guide-row.is-procedure>b{color:#6ee4c5}
.awb-guide-current-block{margin-top:9px;padding:9px 10px;border:1px solid #39796a;border-radius:9px;background:#102b24}
.awb-guide-current-block.is-meaning{border-color:#365069;background:#101f2c}
.awb-guide-current-block>b{display:block;margin-bottom:4px;color:#72e6c7;font:800 8px ui-monospace,monospace;letter-spacing:.1em}
.awb-guide-current-block>p{margin:0!important;color:#dcebf0!important;font-size:10.5px!important;line-height:1.7!important}
html[data-hg-theme="light"] .awb-step-guide-row.is-procedure,
html[data-hgls-direct-theme="light"] .awb-step-guide-row.is-procedure,
html[data-hg-theme="light"] .awb-guide-current-block,
html[data-hgls-direct-theme="light"] .awb-guide-current-block{background:#eef9f5;border-color:#afd9ce}
html[data-hg-theme="light"] .awb-guide-current-block.is-meaning,
html[data-hgls-direct-theme="light"] .awb-guide-current-block.is-meaning{background:#f2f7fb;border-color:#c5d7e4}
html[data-hg-theme="light"] .awb-guide-current-block>b,
html[data-hgls-direct-theme="light"] .awb-guide-current-block>b{color:#08755f}
html[data-hg-theme="light"] .awb-guide-current-block>p,
html[data-hgls-direct-theme="light"] .awb-guide-current-block>p{color:#35515b!important}

/* 2.34.42 — visible Bad USB result / final Flag in Notes. */
.awb-editor-app.is-result textarea{
 font-weight:750!important;
 background:linear-gradient(180deg,#07161b,#091217)!important;
 color:#dffcf4!important;
 border-left:3px solid #4fe0be!important;
}
.awb-editor-app.is-result .awb-editor-toolbar i{color:#68e8c8!important;font-weight:900}
html[data-hg-theme="light"] .awb-editor-app.is-result textarea,
html[data-hgls-direct-theme="light"] .awb-editor-app.is-result textarea{
 background:#f2fbf8!important;color:#163e35!important;border-left-color:#18aa88!important;
}

/* 2.34.43 — one Lab Guide spans the whole Lesson Lab, not only current experiment. */
.awb-memo-step.is-locked{opacity:.66}
.awb-memo-step.is-locked .awb-memo-step-status{color:#8296a0}
.awb-memo-step.is-locked summary{cursor:default}


/* 2.34.48 — multi-device workbench spacing and compact wiring labels. */
.awb-interactive .awb-pan.awb-pan-wide{
 overflow-x:auto!important;
 overflow-y:hidden!important;
 max-width:100%!important;
}
.awb-interactive .awb-world.awb-world-wide{
 max-width:none!important;
 margin:0!important;
}
.awb-interactive .awb-pan.awb-pan-wide .awb-device-label{
 max-width:210px!important;
}
.awb-interactive .awb-pin>span{
 max-width:78px!important;
 overflow:visible!important;
 text-overflow:clip!important;
}
.awb-step-guide-row.is-procedure>p,
.awb-guide-current-block:not(.is-meaning)>p{
 white-space:pre-line!important;
}
@media(max-width:980px){
 .awb-interactive .awb-pan.awb-pan-wide{scrollbar-width:auto}
}


/* 2.34.49 — 3+ devices expand the workbench vertically; no horizontal scroll. */
.awb-interactive .awb-pan.awb-pan-tall{
  overflow:visible!important;
  overflow-x:visible!important;
  overflow-y:visible!important;
  max-width:100%!important;
}
.awb-interactive .awb-world.awb-world-tall{
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
}
.awb-interactive .awb-pan.awb-pan-tall .awb-device-label{
  max-width:210px!important;
}
.awb-interactive .awb-pan.awb-pan-tall .awb-bench-caption{
  bottom:18px!important;
}

/* Catalog 2: readable status on the light workbench. */
html[data-hg-theme="light"] .awb-device-link, html[data-hgls-direct-theme="light"] .awb-device-link{color:#385c52!important}
html[data-hg-theme="light"] .awb-device-hint, html[data-hgls-direct-theme="light"] .awb-device-hint{color:#3b5d55!important}

/* 2.34.71: transition belongs to the visible section, not a future Guide. */
.awb-section-label{font-size:12px;font-weight:700;color:var(--awb-muted);line-height:1.6;padding:0 0 12px;overflow-wrap:anywhere}
.awb-workbench .awb-section-transition{padding:16px;margin:0 0 18px;border:2px solid #54d5b8;border-radius:14px;background:#102f2c;color:#e8fff9;box-shadow:0 0 18px #54d5b821;overflow-wrap:anywhere}
.awb-workbench .awb-section-transition>b{display:block;font:700 16px/1.6 system-ui,sans-serif;color:inherit}
.awb-workbench .awb-section-transition p{margin:8px 0 14px;font-size:14px;line-height:1.7}
.awb-workbench .awb-section-transition button{display:block;width:100%;padding:12px 14px;border:1px solid #91ecd9;background:#087562;color:#fff;font-weight:750;white-space:normal;text-align:left;min-height:48px;overflow-wrap:anywhere}
.awb-workbench .awb-section-transition button:hover{background:#095f52}
.awb-floating-guide:focus-visible{outline:3px solid #5ee5c6;outline-offset:4px}
[data-hg-theme="light"] .awb-workbench .awb-section-transition{background:#e9fbf4;color:#143e36;border-color:#15876c;box-shadow:none}
[data-hg-theme="light"] .awb-section-label{color:#3c5b60}

.awb-workbench .awb-transition-error{padding:10px;margin:0 0 10px;background:#4a232c;color:#ffe3e8;border:1px solid #cf6477;border-radius:10px;overflow-wrap:anywhere}

.awb-floating-guide[data-awb-embedded-guide]{top:var(--guide-visible-top)!important;bottom:auto!important;max-height:var(--guide-visible-height)!important;min-height:0!important}

/* 2.34.78: no blank banner after successful operations; errors remain visible. */
.awb-workbench.awb-workbench .awb-feedback[hidden]{display:none!important}

/* 2.34.92 — full typed command; wiring stays a sentence, app paths keep arrows. */
.awb-floating-guide .awb-step-guide-row.is-command{min-width:0;background:#10232c;border:1px solid #355b6c;border-radius:9px;padding:10px;margin:10px 0}
.awb-floating-guide .awb-step-guide-row.is-command>b{display:block;color:#80d8e9;font-size:11px;margin-bottom:7px}
.awb-floating-guide pre.awb-guide-command{display:block;white-space:pre-wrap!important;overflow-wrap:anywhere;word-break:normal;max-width:100%;margin:0!important;padding:10px!important;background:#09131b!important;color:#e5f2f5!important;border-radius:6px;font:12px/1.7 ui-monospace,Consolas,monospace!important;overflow:auto;user-select:text}
.awb-floating-guide .awb-guide-command code{white-space:inherit!important;overflow-wrap:inherit;font:inherit!important;color:inherit!important;background:transparent!important;padding:0!important}
.awb-floating-guide .awb-guide-command-note{margin:8px 0 0!important;color:#c3dbe3!important;font-size:11px!important;line-height:1.6!important}
html[data-hg-theme="light"] .awb-step-guide-row.is-command,html[data-hgls-direct-theme="light"] .awb-step-guide-row.is-command{background:#eef7fb;border-color:#b4d3e0}
html[data-hg-theme="light"] .awb-step-guide-row.is-command>b,html[data-hgls-direct-theme="light"] .awb-step-guide-row.is-command>b{color:#146176}
html[data-hg-theme="light"] .awb-floating-guide pre.awb-guide-command,html[data-hgls-direct-theme="light"] .awb-floating-guide pre.awb-guide-command{background:#fff!important;color:#173945!important}
html[data-hg-theme="light"] .awb-floating-guide .awb-guide-command-note,html[data-hgls-direct-theme="light"] .awb-floating-guide .awb-guide-command-note{color:#355866!important}

.awb-connections .awb-disconnect{margin-left:.65em;border:1px solid currentColor;border-radius:6px;padding:.1em .55em;background:transparent;color:inherit;font:inherit;cursor:pointer}.awb-connections .awb-disconnect:focus-visible{outline:2px solid currentColor;outline-offset:2px}

.hga-confirmed-result{margin-top:1rem;padding:1rem;border:1px solid #557780;border-radius:10px}.hga-confirmed-result pre{white-space:pre-wrap;overflow-wrap:anywhere;color:inherit;font-size:14px}

/* 2.34.151: keep a saved, unrecognised device name readable without widening the stage. */
.awb-workbench .awb-device[data-hg-kind="device"] .awb-device-label{overflow-wrap:anywhere}
.hgls-mobile-guide-body .awb-step-guide-row{min-width:0;overflow-wrap:anywhere}
/* ESP32 / MQTT Device Tools: compact controls with text + color state cues. */
.hgt-iot{padding:18px;color:#eaf7f4;background:#101d28;min-height:100%;box-sizing:border-box}.hgt-iot-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.hgt-iot-heading h3{margin:0 0 5px;font-size:21px}.hgt-iot-heading p{margin:0;color:#b8cfcb;line-height:1.45}.hgt-iot-status{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.hgt-iot-badge{display:inline-flex;align-items:center;gap:7px;min-width:96px;padding:7px 10px;border:1px solid #52636d;border-radius:999px;background:#172732}.hgt-iot-badge small{font-size:10px;letter-spacing:.08em;color:#a9bbc1;text-transform:uppercase}.hgt-iot-badge b{font-size:12px;color:#d5e0e2;overflow-wrap:anywhere}.hgt-iot-badge.is-ready{border-color:#2aa88d;background:#143b38}.hgt-iot-badge.is-ready b{color:#7ff1cb}.hgt-iot-notice{margin:0 0 10px;padding:9px 11px;border-left:3px solid #e5b85b;background:#302a1d;color:#ffe2a3}.hgt-iot-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:10px}.hgt-iot-group{min-width:0;padding:13px;border:1px solid #314b57;border-radius:12px;background:#162631}.hgt-iot-group header{min-height:58px;margin-bottom:8px}.hgt-iot-group h4{margin:0 0 4px;font-size:16px}.hgt-iot-group header p{margin:0;color:#a9c0c2;font-size:12px;line-height:1.4}.hgt-iot-fields{display:grid;gap:7px}.hgt-iot-setting{display:grid;grid-template-columns:minmax(78px,.7fr) minmax(0,1.3fr);align-items:center;gap:8px}.hgt-iot-setting span{font-size:12px;font-weight:700;color:#d9ece8}.hgt-iot-setting select{width:100%;min-width:0;padding:7px 9px;border:1px solid #47616c;border-radius:7px;background:#0e1922;color:#edf8f6}.hgt-iot-setting select:disabled{opacity:.5}.hgt-iot-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.hgt-iot-button,.hgt-iot-checkpoint button{min-height:34px;padding:7px 11px;border:1px solid #28aa8e;border-radius:8px;background:#176c5d;color:#fff;font-weight:700;white-space:nowrap}.hgt-iot-button.is-secondary{border-color:#65747b;background:#25343c;color:#c8d4d7}.hgt-iot-button:disabled,.hgt-iot-checkpoint button:disabled{opacity:.42;cursor:not-allowed}.hgt-iot-checkpoint{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-top:10px;padding-top:9px;border-top:1px solid #2a424c}.hgt-iot-checkpoint>span{font-size:11px;line-height:1.35;color:#a9c0c2}.hgt-iot-checkpoint button{flex:0 0 auto;background:#175647;font-size:11px}.hgt-iot-result{margin-top:12px;padding:10px 12px;border:1px solid #2d7869;border-radius:9px;background:#102d2a}.hgt-iot-result strong{display:block;margin-bottom:5px;color:#82e7ca}.hgt-iot-result pre{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:#e5f5f1}.awb-guide-screen{margin:0 0 10px;padding:8px 10px;border-left:3px solid #22a98b;background:#eefaf6;color:#183b35}.awb-guide-screen b{display:block;margin-bottom:3px;font-size:10px;letter-spacing:.08em}.awb-guide-screen span{display:block;font-size:11px;line-height:1.35;font-weight:700}.awb-step-guide-summary code{white-space:pre-wrap}
@media(max-width:900px){.hgt-iot-groups{grid-template-columns:1fr}.hgt-iot-group header{min-height:0}.hgt-iot-heading{align-items:center}.hgt-iot-setting{grid-template-columns:110px minmax(0,1fr)}}
.hgt-iot-setting select{box-sizing:border-box}
.hgt-iot-groups{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}
.hgt-iot .hgt-iot-setting{min-width:0}
.hgt-iot .hgt-iot-setting select{box-sizing:border-box;min-width:0!important;max-width:100%;width:100%!important}
.awb-has-iot .awb-connections>div button[data-awb-disconnect]{display:inline-flex!important}
