/* V229 — Step 1 Board Intake, Mapping & Circuit Reconstruction */
.v225-tabs.v229-three-tabs{grid-template-columns:repeat(3,1fr)}
.v229-report-tab.ready{border-color:#2a7d62;color:#9ff0ce}

.v229-chat-actions{display:none;gap:6px;flex-wrap:wrap;padding:8px 10px;border-top:1px solid var(--line-soft);background:#07111c}
.v229-chat-actions.show{display:flex}
.v229-chat-chip{border:1px solid #39345b;border-radius:999px;background:#091522;color:#bac7db;padding:7px 9px;font-size:8px;font-weight:850;letter-spacing:.03em;cursor:pointer}
.v229-chat-chip:hover{border-color:#7954e8;color:#fff}
.v229-chat-chip.primary{background:#5234a6;border-color:#8464e6;color:#fff}

.v229-view-tabs{display:flex;gap:6px;align-items:center;padding:7px 10px;border-bottom:1px solid var(--line-soft);background:#06101a;overflow:auto}
.v229-view-tabs button{border:1px solid #2f3553;border-radius:999px;background:#08131f;color:#9daabd;padding:6px 9px;font-size:7px;font-weight:900;letter-spacing:.08em;white-space:nowrap;cursor:pointer}
.v229-view-tabs button.active{background:#4f349f;border-color:#8968ec;color:#fff}
.v229-view-tabs button:disabled{opacity:.32;cursor:not-allowed}

.v229-intake-card{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);z-index:12;width:min(760px,calc(100% - 36px));display:none;border:1px solid #4b3c78;border-radius:14px;background:rgba(7,18,30,.96);box-shadow:0 18px 45px rgba(0,0,0,.42);padding:12px 14px;backdrop-filter:blur(12px)}
.v229-intake-card.show{display:block}
.v229-intake-kicker{font-size:7px;font-weight:900;letter-spacing:.15em;color:#b99cff}
.v229-intake-title{margin-top:3px;font-size:13px;font-weight:900}
.v229-intake-status{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:10px}
.v229-intake-status>div{border:1px solid #29324d;border-radius:9px;background:#081621;padding:7px 8px;min-width:0}
.v229-intake-status span{display:block;color:#77869b;font-size:7px;text-transform:uppercase;font-weight:850;letter-spacing:.08em}
.v229-intake-status b{display:block;margin-top:4px;font-size:8px;color:#e8eff7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.v229-report-panel{display:flex;flex-direction:column;gap:9px}
.v229-report-head,.v229-report-panel section{border:1px solid #29324d;border-radius:12px;background:#091827;padding:10px}
.v229-report-head{display:grid;grid-template-columns:minmax(0,1fr) 54px;gap:8px;align-items:start}
.v229-report-kicker{color:#6ae0b5;font-size:7px;font-weight:900;letter-spacing:.13em}
.v229-report-head h3{margin:5px 0 0;font-size:13px;line-height:1.25}
.v229-report-head p{margin:5px 0 0;color:#aebccd;font-size:8px;line-height:1.45}
.v229-report-score{width:48px;height:48px;border-radius:50%;border:1px solid #5e49a7;background:#171047;display:grid;place-items:center;font-size:11px;font-weight:900;color:#d9ceff}
.v229-report-panel h4{margin:0 0 6px;color:#b99cff;font-size:7px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.v229-report-value{font-size:10px;font-weight:800;color:#eef3fb;line-height:1.4}
.v229-report-panel small{display:block;margin-top:4px;color:#7d8aa0;font-size:7px}
.v229-report-panel ul{margin:6px 0 0;padding-left:16px;color:#becbdd;font-size:8px;line-height:1.5}
.v229-report-grid{display:grid!important;grid-template-columns:1fr 1fr;gap:7px}
.v229-report-grid>div{border:1px solid #222d46;border-radius:8px;background:#07131f;padding:7px}
.v229-coverage{display:flex;gap:5px;flex-wrap:wrap}
.v229-coverage span{border:1px solid #333c58;border-radius:999px;padding:5px 7px;font-size:7px;font-weight:850}
.v229-coverage .ok{color:#68e0b2;border-color:#2b715b}.v229-coverage .warn{color:#f5cc63;border-color:#66572d}.v229-coverage .muted{color:#7d8aa0}
.v229-inventory{display:flex;gap:5px;flex-wrap:wrap}
.v229-inventory span{min-width:42px;border:1px solid #303957;border-radius:8px;background:#07131f;padding:6px;text-align:center;font-size:8px}
.v229-inventory b{display:block;color:#fff;font-size:9px}.v229-note{margin:7px 0 0;color:#8190a4;font-size:7px;line-height:1.45}
.v229-block-row{display:grid;grid-template-columns:90px minmax(0,1fr) 34px;gap:6px;padding:7px 0;border-top:1px solid #222d46;font-size:8px;line-height:1.35}.v229-block-row:first-of-type{border-top:0}.v229-block-row b{color:#eaf0f7}.v229-block-row span{color:#9facbd}.v229-block-row em{color:#7de4bd;font-style:normal;text-align:right}
.v229-recommend{display:flex;flex-direction:column;gap:4px;padding:7px 0;border-top:1px solid #222d46}.v229-recommend:first-of-type{border-top:0}.v229-recommend b{font-size:8px;color:#f2cf6a}.v229-recommend span{font-size:8px;color:#a9b6c7;line-height:1.45}
.v229-unresolved{color:#7f8da1;font-size:8px;line-height:1.45}
.v229-report-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.v229-report-actions button{border:1px solid #373157;border-radius:9px;background:#091522;color:#e8edff;padding:8px 6px;font-size:7px;font-weight:900;cursor:pointer}.v229-report-actions button:last-child{grid-column:1/-1}

.v229-circuit-layer{position:absolute;inset:0;z-index:8;display:none;background:#050b14;padding:0;overflow:auto}.v229-circuit-layer.show{display:block}.v229-circuit-mode #yv225-board-image,.v229-circuit-mode #yv225-board-overlay,.v229-circuit-mode #yv225-empty{visibility:hidden!important}.v229-circuit-layer svg{width:100%;height:100%;min-height:420px}.v229-circuit-banner{position:absolute;left:14px;right:14px;top:14px;z-index:2;border:1px solid #4d4375;border-radius:10px;background:rgba(12,18,31,.94);padding:8px 10px;display:flex;justify-content:space-between;gap:12px}.v229-circuit-banner b{font-size:8px;color:#d8cbff;letter-spacing:.08em}.v229-circuit-banner span{font-size:7px;color:#8795aa;max-width:62%;text-align:right}
.v229-cnode rect{fill:#0b1b29;stroke:#5b4b93;stroke-width:2}.v229-cnode .title{fill:#f2f6ff;font-size:18px;font-weight:800}.v229-cnode .role{fill:#aebccd;font-size:12px}.v229-cnode .conf{fill:#6edfb7;font-size:11px}.v229-cedge line{stroke:#7d6bc3;stroke-width:2.5}.v229-cedge.inferred line{stroke-dasharray:9 7;stroke:#9a7be6}.v229-cedge text{fill:#9aa8ba;font-size:10px;paint-order:stroke;stroke:#050b14;stroke-width:4}.v229-cedge marker path,#v229Arrow path{fill:#9a7be6}.v229-legend text{fill:#68778e;font-size:12px}.v229-circuit-empty{height:100%;display:grid;place-items:center;color:#78869a;font-size:11px}

@media(max-width:1450px){.v229-intake-status{grid-template-columns:1fr 1fr}.v229-intake-card{bottom:10px}.v229-circuit-banner{flex-direction:column}.v229-circuit-banner span{max-width:none;text-align:left}}
\n\n/* V230.2 STEP1 UX SYNC FIX */\n.v229-intake-card{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;top:auto!important;transform:none!important;z-index:2!important;width:auto!important;max-width:none!important;margin:7px 0 0!important;padding:8px 10px!important;border-radius:10px!important;background:#07131f!important;box-shadow:none!important;backdrop-filter:none!important}\n.v229-intake-card.show{display:grid!important;grid-template-columns:155px minmax(0,1fr);gap:10px;align-items:center}\n.v229-intake-kicker{font-size:6px!important;margin:0}.v229-intake-title{font-size:10px!important;margin-top:2px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}\n.v229-intake-status{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;margin-top:0!important}.v229-intake-status>div{padding:5px 6px!important;border-radius:7px!important}.v229-intake-status span{font-size:6px!important}.v229-intake-status b{font-size:7px!important;margin-top:2px!important}\n@media(max-width:1450px){.v229-intake-card.show{grid-template-columns:130px minmax(0,1fr)!important}.v229-intake-status{grid-template-columns:repeat(4,minmax(0,1fr))!important}}\n@media(max-width:1000px){.v229-intake-card.show{grid-template-columns:1fr!important}.v229-intake-status{grid-template-columns:1fr 1fr!important}}\n

/* V230.3 STEP1 CONTROLS CLEANUP */
/* The intake card duplicated Workflow + Current Action + Current Result and could cover chat controls. */
#yv229-intake-card,.v229-intake-card{display:none!important;visibility:hidden!important;pointer-events:none!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden!important}
.v229-chat-actions{flex:0 0 auto!important;position:relative!important;z-index:12!important;background:#07111c!important}
.v229-chat-actions.show{display:flex!important}
.v229-chat-chip[data-v229-action="SKIP_SIDE2"]{background:#5a3bb5!important;border-color:#9c7cff!important;color:#fff!important;box-shadow:0 0 0 1px rgba(156,124,255,.12) inset}
.v229-chat-chip[data-v229-action="SKIP_SIDE2"]::before{content:"✓ ";font-weight:950}
#yv225-step-list .v225-run-card:has([data-run-step="1"]){cursor:pointer}


/* V231 STEP1 QUALITY + READABILITY */
.v229-report-panel{gap:12px!important}.v229-report-head,.v229-report-panel section{padding:12px!important}.v229-report-head h3{font-size:15px!important;line-height:1.32!important}.v229-report-head p{font-size:9px!important;line-height:1.55!important}.v229-report-panel h4{font-size:8px!important}.v229-report-value{font-size:11px!important}.v229-report-panel ul{font-size:9px!important;line-height:1.55!important}.v229-block-row{grid-template-columns:92px minmax(0,1fr) 38px!important;font-size:9px!important}.v229-block-row span small{display:block;margin-top:4px;color:#73849a;line-height:1.4}.v229-note{font-size:8px!important}.v229-report-actions{grid-template-columns:1fr 1fr!important}.v229-report-actions button{font-size:8px!important;min-height:38px}.v229-report-actions button:nth-child(3){grid-column:1/-1}.v229-report-actions button:last-child{grid-column:1/-1}
.v231-truth{border-color:#2d6f5d!important;background:linear-gradient(180deg,#09231f,#081924)!important}.v231-truth-title{font-size:12px;font-weight:900;color:#dffcf1;line-height:1.35}.v231-truth p{font-size:8px;color:#9fb9b4;line-height:1.45}.v231-truth-meta{font-size:7px;color:#72ddbc}.v231-truth a{display:inline-block;margin-top:8px;color:#bcabff;font-size:8px;font-weight:900}
.v231-candidates{display:grid;gap:6px;margin-top:8px}.v231-candidates>div{border:1px solid #26324c;border-radius:8px;padding:7px;background:#07131f;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px}.v231-candidates b{font-size:9px}.v231-candidates em{font-size:8px;color:#73e0bb;font-style:normal}.v231-candidates span{grid-column:1/-1;font-size:8px;color:#93a3b6}.v231-clues{display:flex;gap:5px;flex-wrap:wrap;align-items:center;margin-top:8px}.v231-clues>b{width:100%;font-size:7px;color:#8f9db0}.v231-clues code{font-size:7px;color:#e2d9ff;background:#15142b;border:1px solid #36305c;border-radius:5px;padding:3px 5px}.v231-gap{border-top:1px solid #24314a;padding:7px 0}.v231-gap:first-child{border-top:0}.v231-gap summary{cursor:pointer;color:#d8e0eb;font-size:9px;font-weight:800}.v231-gap summary b{float:right;color:#9d85ff}.v231-key-gaps{display:block;margin-top:4px;color:#8898ab;font-size:7px;line-height:1.4}
.v231-full-report-layer{position:absolute;inset:0;z-index:9;display:none;background:#050b14;overflow:hidden}.v231-full-report-layer.show{display:flex;flex-direction:column}.v231-full-head{flex:0 0 auto;padding:14px 16px;border-bottom:1px solid #2a334e;background:#07131f;display:flex;justify-content:space-between;gap:16px;align-items:center}.v231-full-head b{display:block;color:#d7c9ff;font-size:11px}.v231-full-head span{display:block;margin-top:3px;color:#8fa0b5;font-size:8px}.v231-full-head button{border:1px solid #4c3f76;background:#11182a;color:#fff;border-radius:8px;padding:8px 12px;font-size:8px;font-weight:900;cursor:pointer}.v231-full-scroll{overflow:auto;padding:16px;display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start}.v231-full-scroll>.v229-report-head,.v231-full-scroll>.v231-truth,.v231-full-scroll>section:nth-last-child(1){grid-column:1/-1}.v231-full-scroll section,.v231-full-scroll .v229-report-head{border:1px solid #29324d;border-radius:12px;background:#091827;padding:14px}.v231-full-scroll h4{margin:0 0 7px;color:#b99cff;font-size:9px;letter-spacing:.12em;text-transform:uppercase}.v231-full-scroll .v229-report-value{font-size:13px}.v231-full-scroll ul{font-size:10px;line-height:1.55}.v231-full-report-mode #yv225-board-image,.v231-full-report-mode #yv225-board-overlay,.v231-full-report-mode #yv225-empty{visibility:hidden!important}
.v229-circuit-layer{padding:0!important}.v231-circuit-shell{min-height:100%;padding:78px 18px 20px;overflow:auto}.v231-circuit-shell section{margin-top:14px}.v231-circuit-shell h3{margin:0 0 9px;color:#c9b8ff;font-size:11px}.v231-topology-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.v231-topology-card{border:1px solid #4d4276;border-radius:12px;background:#0a1a28;padding:12px;min-height:120px}.v231-topology-top{display:flex;justify-content:space-between;gap:10px;align-items:start}.v231-topology-top b{font-size:13px;line-height:1.25}.v231-topology-top em{font-size:9px;color:#70e1b9;font-style:normal}.v231-topology-card p{font-size:9px;line-height:1.5;color:#aab9ca}.v231-topology-card>small{display:block;margin-top:8px;font-size:7px;color:#8f7ee2;letter-spacing:.08em}.v231-topology-components{display:flex;gap:5px;flex-wrap:wrap}.v231-topology-components span{font-size:7px;border:1px solid #33405e;border-radius:5px;padding:3px 5px;color:#dbe3ef;background:#07131f}.v231-connection-list{display:grid;gap:7px}.v231-conn{border:1px solid #29334d;border-radius:9px;background:#07131f;padding:9px;display:grid;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr) auto;gap:6px;align-items:center}.v231-conn b{font-size:9px}.v231-conn>span{text-align:center;color:#9c83ff}.v231-conn em{font-size:7px;color:#72dfba;font-style:normal}.v231-conn p{grid-column:1/-1;margin:2px 0 0;color:#94a3b6;font-size:8px}.v231-no-net{border:1px dashed #68548e;border-radius:10px;background:#0c1020;padding:13px;display:grid;gap:5px}.v231-no-net b{color:#ffd969;font-size:10px}.v231-no-net span{font-size:9px;line-height:1.5;color:#a7b5c5}.v231-net-readiness>div{display:grid;grid-template-columns:1fr 1fr;gap:7px}.v231-net-readiness span{border:1px solid #28344e;border-radius:8px;padding:8px;color:#aebdcc;font-size:8px;background:#07131f}
@media(max-width:1100px){.v231-full-scroll{grid-template-columns:1fr}.v231-full-scroll>*{grid-column:1!important}.v231-topology-grid{grid-template-columns:1fr}.v231-net-readiness>div{grid-template-columns:1fr}}

.v231-label-toggle{margin-left:auto!important;border:1px solid #38315d!important;background:#0a1423!important;color:#b9a7ff!important;border-radius:999px!important;padding:5px 9px!important;font-size:7px!important;font-weight:900!important;cursor:pointer!important}
