.toolscan-assistant{margin-top:25px;border:1px solid #294b56;border-radius:18px;background:linear-gradient(145deg,#10252e,#0b171e);overflow:hidden;text-align:start;max-width:100%;font-size:14px;line-height:1.6}
.assistant-head{display:flex;align-items:center;gap:10px;padding:16px 18px;border-bottom:1px solid #29434c}.assistant-orb{display:grid;place-items:center;width:36px;height:36px;border:1px solid #43ddb2;border-radius:12px;color:#43ddb2;font-weight:700;background:#143a31}.assistant-head strong{font-size:15px;color:#f0f8fb}.assistant-head small{display:block;font-size:11px;color:#93b5c4}.assistant-label{margin-inline-start:auto;font-size:10px;color:#43ddb2;white-space:nowrap}
.assistant-log{max-height:340px;overflow-y:auto;padding:16px;overscroll-behavior:contain;scrollbar-width:thin}.assistant-message{max-width:96%;margin:0 0 13px;padding:12px 14px;border-radius:12px;background:#152c35;border:1px solid #284450;color:#d6e9ef;font-size:13px;white-space:pre-line}.assistant-message.user{margin-inline-start:auto;background:#123d32;border-color:#28745e}.assistant-message.step{border-inline-start:3px solid #ffa64c}.assistant-message small{display:block;color:#48dfb3;font-size:10px;margin-bottom:5px}
.assistant-chips{display:flex;flex-wrap:wrap;gap:7px;padding:0 16px 14px}.toolscan-assistant button{font:inherit;cursor:pointer}.assistant-chips button,.assistant-controls button,.assistant-ai button,.assistant-start{border:1px solid #345460;background:#132e38;color:#cde6ef;border-radius:8px;padding:8px 11px;font-size:11px}.toolscan-assistant button:hover{border-color:#44dfb3;color:#fff}.toolscan-assistant button:focus-visible,.toolscan-assistant textarea:focus-visible{outline:2px solid #48e3b8;outline-offset:3px}.toolscan-assistant button:disabled{opacity:.45;cursor:default}
.assistant-compose{display:flex;gap:9px;border-top:1px solid #29434c;padding:12px 16px;align-items:flex-end}.assistant-compose textarea{min-width:0;flex:1;resize:vertical;min-height:48px;max-height:120px;padding:10px 11px;color:#e2f2f7;background:#09161d;border:1px solid #35535d;border-radius:9px;font:inherit;font-size:12px}.assistant-compose button{height:45px;min-width:44px;border:0;border-radius:10px;background:#43dfb3;color:#06291f;font-weight:700}.assistant-foot{padding:0 16px 13px;color:#8cacba;font-size:10px}.assistant-controls{display:flex;gap:7px;padding:0 16px 12px;align-items:center}.assistant-controls[hidden],.assistant-ai[hidden]{display:none}.assistant-progress{margin-inline-start:auto;font-size:10px;color:#b4d3dd}.assistant-ai{margin:0 16px 14px;padding:12px;border:1px solid #36515c;border-radius:10px}.assistant-ai label{display:flex;gap:7px;font-size:11px;margin-bottom:10px}.assistant-ai p{font-size:11px;margin:0 0 10px;color:#a9c4ce}
.assistant-highlight{outline:3px solid #ffa64c!important;outline-offset:5px;box-shadow:0 0 0 7px #ffa64c22!important;scroll-margin-top:140px}.assistant-cross-hole{position:absolute;inset:0;z-index:9;background:#091820;display:flex;flex-direction:column;padding:20px;color:#d9edf4;overflow:auto}.assistant-cross-hole[hidden]{display:none}.assistant-cross-hole strong{color:#ffc274;font-size:15px}.assistant-cross-hole svg{width:100%;max-height:370px;flex:1;min-height:200px}.assistant-cross-hole p{font-size:13px;line-height:1.6}.assistant-cross-hole .cross-main{fill:#224250;stroke:#47727f;stroke-width:2}.assistant-cross-hole .cross-bore{fill:#08171f;stroke:#74cbd2;stroke-width:2}.assistant-cross-hole .cross-drill{fill:#d7b448;stroke:#fff0a9}.assistant-cross-hole[data-step="1"] .cross-entry,.assistant-cross-hole[data-step="2"] .cross-exit{stroke:#ffa64c;stroke-width:8}.assistant-cross-hole .cross-focus{fill:none;stroke:transparent;stroke-width:3}
@media(max-width:700px){.toolscan-assistant{margin-top:20px}.assistant-label{display:none}.assistant-log{max-height:260px}.assistant-head{padding:13px}.assistant-compose{padding:12px}.assistant-chips{padding-inline:12px}.assistant-cross-hole{padding:12px}}
@media(prefers-reduced-motion:reduce){.toolscan-assistant *{scroll-behavior:auto!important}}

@media(min-width:1000px){.hero:has(.toolscan-assistant){align-items:start}.hero:has(.toolscan-assistant) #simulator-anchor{position:sticky;top:145px;align-self:start}.hero:has(.toolscan-assistant) .hero-copy{padding-top:15px}}

.hero>.assistant-fea-active{display:block;width:100%;padding:0;margin:0;position:sticky;top:145px;align-self:start}.hero>.assistant-fea-active .fea-demo-copy{display:none}.assistant-controls{flex-wrap:wrap}
@media(max-width:999px){.hero>.assistant-fea-active{position:static}}

.hero.assistant-engaged .hero-copy>:not(#toolscan-assistant){display:none}.hero.assistant-engaged .toolscan-assistant{margin-top:0;scroll-margin-top:145px}.assistant-overview{border:0;background:transparent;color:#94b8c6;font-size:10px;margin-inline-start:auto;padding:5px}.assistant-label{display:none}
@media(max-width:700px){.hero.assistant-engaged .hero-copy{position:sticky;top:70px;z-index:8;background:#09151b}.hero.assistant-engaged .assistant-log{max-height:130px}.hero.assistant-engaged .assistant-message{font-size:12px;padding:8px 10px;margin-bottom:8px}.hero.assistant-engaged .assistant-head{padding:9px 12px}.hero.assistant-engaged .assistant-compose textarea{min-height:35px;max-height:60px}.hero.assistant-engaged .assistant-chips{padding-bottom:8px}.hero.assistant-engaged .assistant-foot{font-size:9px;padding-bottom:7px}.hero.assistant-engaged .demo-stage,.hero.assistant-engaged .fea-demo-viewport{height:55vh;min-height:320px}}

.assistant-message{overflow-wrap:anywhere}

.assistant-cross-hole{padding:0;overflow:hidden}.assistant-cross-frame{border:0;width:100%;height:100%;min-height:360px;flex:1;display:block}

.assistant-demo-language{padding:3px 10px;color:#b9d5de;font-size:10px;background:#102832}
