:root{font-family:Inter,'Segoe UI',system-ui,-apple-system,sans-serif;color:#202b3b;background:#f5f7fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,select{font:inherit}button{cursor:pointer}.app{min-height:100vh;display:grid;grid-template-columns:238px minmax(0,1fr)}.sidebar{background:#fff;border-right:1px solid #e3e9f1;display:flex;flex-direction:column;padding:23px 14px;min-height:100vh}.brand{display:flex;gap:11px;align-items:center;padding:2px 11px 34px}.brandmark{display:grid;place-items:center;width:39px;height:39px;border-radius:11px;background:#eaf1ff;color:#1763ca;font-size:27px}.brand strong{display:block;font-size:15px;letter-spacing:-.4px}.brand small{display:block;color:#8995a7;font-size:9px;letter-spacing:1.1px;margin-top:2px}.navcaption{font-size:10px;letter-spacing:1.2px;font-weight:700;color:#97a3b3;padding:0 12px 12px}nav{display:grid;gap:4px}.nav{background:none;border:0;border-radius:8px;color:#66758a;display:flex;align-items:center;gap:12px;text-align:left;padding:12px 14px;font-size:13px;font-weight:500}.nav span{font-size:18px;width:20px;text-align:center}.nav:hover{background:#f3f6fb}.nav.active{background:#eaf2ff;color:#135dc4;font-weight:700}.sidebar-foot{margin-top:auto;border-top:1px solid #e9edf3;padding:21px 10px 4px;font-size:11px;font-weight:600;color:#536277}.sidebar-foot small{display:block;color:#9aa5b4;font-size:10px;font-weight:400;margin:6px 0 0 15px}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#28a978;margin-right:6px}.workspace{min-width:0}.topbar{height:65px;border-bottom:1px solid #e5eaf2;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 35px;gap:15px}.crumb{font-size:12px;color:#7a879a}.crumb span{margin:0 11px;color:#b7c1cd}.crumb b{color:#344358;font-weight:600}.topright{display:flex;align-items:center;gap:22px}.demo-chip{font-size:10px;font-weight:750;color:#356a9b;letter-spacing:.65px;background:#eff6ff;border:1px solid #d8e9ff;padding:8px 11px;border-radius:20px}.avatar{height:30px;width:30px;display:grid;place-items:center;background:#dfe9f7;color:#3568a8;border-radius:50%;font-weight:700}main{padding:34px clamp(22px,3.4vw,55px);max-width:1650px;margin:auto}.page-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:21px}.eyebrow{font-size:10px;letter-spacing:1.3px;color:#3776c5;font-weight:750;margin-bottom:7px}h1{font-size:28px;letter-spacing:-.9px;margin:0 0 5px;font-weight:730}h2{font-size:15px;letter-spacing:-.25px;margin:0 0 4px;font-weight:720}p{margin:0;color:#7b889a;font-size:12px;line-height:1.6}.head-actions,.filters{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.scenario-label{color:#7b889a;font-size:12px}select,.btn{border:1px solid #dbe3ed;background:#fff;color:#3a4a60;border-radius:7px;padding:9px 12px;font-size:12px}.btn{font-weight:650}.btn.primary{background:#2166c6;border-color:#2166c6;color:white;box-shadow:0 2px 5px #2867bd22}.btn.primary:hover{background:#1457b2}.btn:disabled{opacity:.65;cursor:wait}.btn.ghost:hover{background:#f2f6fc}.notice{display:flex;gap:12px;align-items:center;background:#edf5ff;border:1px solid #d7e8ff;color:#496784;border-radius:8px;padding:12px 15px;font-size:11px;margin-bottom:20px}.notice b{color:#2d5d9d}.notice-icon{font-size:17px;color:#2a70d0}.page{display:none}.page.active{display:block}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:18px}.metric,.panel{background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 2px 8px #23395505}.metric{padding:18px 20px}.metric-top{display:flex;justify-content:space-between;gap:8px;color:#7b899b;font-size:11px}.metric-top span{font-size:18px;color:#96b1d6}.metric strong{display:block;font-size:30px;letter-spacing:-1px;margin:10px 0 3px;color:#263449}.metric small{color:#9ba5b3;font-size:10px}.metric .status-big{font-size:20px;letter-spacing:-.4px;margin-top:16px}.metric .status-big.success{color:#198f65}.columns{display:grid;grid-template-columns:1.1fr .9fr;gap:18px}.panel{padding:20px;min-width:0;margin-bottom:18px}.panelhead{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:19px}.link-btn{border:0;background:none;color:#1c65c3;font-size:11px;font-weight:700;white-space:nowrap}.minor{font-size:11px;color:#9ca8b6}.bars{display:grid;gap:14px;padding:4px 0}.bar{display:grid;grid-template-columns:56px 1fr 24px;align-items:center;gap:12px;font-size:11px;color:#68778c}.track{height:8px;border-radius:9px;background:#eff3f8;overflow:hidden}.fill{height:100%;background:#4a8bdc;border-radius:9px;transition:width .4s}.fill.hot{background:#e7a04c}.bar b{text-align:right;color:#354358}.mini-steps{display:grid;gap:0}.mini-step{display:flex;gap:12px;align-items:start;border:0;background:none;text-align:left;padding:0 0 17px;width:100%;color:#43536a}.mini-step:last-child{padding-bottom:0}.step-mark{display:grid;place-items:center;border-radius:50%;height:23px;min-width:23px;background:#eef2f8;color:#70849d;font-size:11px;font-weight:750;position:relative}.mini-step:not(:last-child) .step-mark:after{content:'';position:absolute;top:25px;height:16px;width:1px;background:#dce5f0}.mini-step.done .step-mark{background:#e4f6ed;color:#198f65}.mini-step.active .step-mark{background:#e4efff;color:#1f66c8}.mini-step strong{display:block;font-size:11px;margin-top:2px}.mini-step small{display:block;font-size:10px;color:#99a5b5;margin-top:3px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:11px;white-space:nowrap;text-align:left}th{background:#f7f9fc;color:#8290a3;font-size:10px;font-weight:700}th,td{padding:12px 13px;border-bottom:1px solid #edf0f5}tbody tr:hover{background:#f8fbff}.clickrow{cursor:pointer}.tag{display:inline-flex;align-items:center;border-radius:5px;padding:5px 8px;background:#e9f4ee;color:#29865d;font-size:10px;font-weight:650}.tag.warn{background:#fff3e6;color:#b16c19}.tag.muted{background:#f1f4f8;color:#65758a}.workflow-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,.75fr);gap:18px}.canvas{background:#f9fbfe;border:1px solid #e8edf5;border-radius:9px;padding:20px;min-height:530px}.canvas-caption{text-align:center;font-size:9px;letter-spacing:.8px;font-weight:700;color:#9aa8b9;margin-bottom:18px}.canvas-caption span{margin:0 7px;color:#aac4e9}.flow{display:grid;justify-items:center;gap:0;max-width:640px;margin:auto}.node{display:flex;align-items:center;text-align:left;gap:12px;width:min(100%,460px);border:1px solid #dce5f0;background:white;border-radius:9px;padding:12px 15px;box-shadow:0 2px 6px #2b52700a;color:#42536a}.node:hover,.node.selected{border-color:#73a7ea;background:#f5f9ff}.node.complete{border-left:3px solid #25a373}.node.active-run{border-left:3px solid #286dd0;background:#edf5ff}.node-icon{display:grid;place-items:center;background:#edf4ff;color:#2d70c6;border-radius:7px;min-width:34px;height:34px;font-size:16px}.node strong{display:block;font-size:11px}.node small{display:block;color:#93a0b0;font-size:10px;margin-top:2px}.node-state{margin-left:auto;color:#9dacbe;font-size:12px}.node.complete .node-state{color:#2aa373}.connector{height:18px;width:1px;background:#bdd1eb;position:relative}.connector:after{content:'⌄';position:absolute;top:4px;left:-4px;color:#8da9cd;font-size:12px}.inspector{align-self:start}.inspector h3{font-size:17px;margin:0 0 10px}.inspector p{font-size:12px;margin-bottom:18px}.inspector dl{display:grid;gap:12px;margin:0}.inspector dt{color:#94a1b1;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}.inspector dd{font-size:12px;margin:3px 0 0;line-height:1.6;color:#3c4d61}.inspector-note{margin-top:24px;padding:12px;border-radius:7px;background:#f6f9fd;color:#8190a3;font-size:11px;line-height:1.6}.log{background:#f8fafc;border:1px solid #e8edf3;border-radius:7px;padding:14px;font:11px/1.9 Consolas,monospace;color:#62738a;min-height:60px;max-height:230px;overflow:auto}.log .ok{color:#168860}.log .info{color:#286cc5}.explorer-grid{display:grid;grid-template-columns:310px minmax(0,1fr);gap:18px}.hunt-list{display:grid;gap:5px}.hunt-item{display:flex;align-items:center;justify-content:space-between;gap:10px;background:white;border:1px solid transparent;border-radius:7px;padding:10px 12px;text-align:left;color:#42536a}.hunt-item:hover,.hunt-item.active{background:#edf5ff;border-color:#d6e7ff}.hunt-item strong{font-size:11px}.hunt-item small{display:block;color:#9aa6b5;font-size:10px;margin-top:4px}.hunt-item .count{font-size:11px;color:#8b98a9}.explorer-main{min-width:0}.codebar{display:flex;justify-content:space-between;gap:10px;background:#eef2f7;border:1px solid #e3e8f0;border-radius:7px 7px 0 0;padding:9px 13px;color:#697d95;font-size:10px}.codebar span:last-child{color:#9aa7b7}pre{margin:0;background:#182638;color:#c5d8ee;padding:18px;border-radius:0 0 7px 7px;white-space:pre-wrap;word-break:break-word;font:12px/1.8 Consolas,'Courier New',monospace;max-height:350px;overflow:auto}.empty{padding:24px 4px;color:#8b9aab;font-size:12px}.table-footer{padding-top:15px;color:#9aa6b5;font-size:10px}footer{border-top:1px solid #e5eaf1;margin-top:26px;padding-top:17px;display:flex;justify-content:space-between;gap:12px;color:#a0abba;font-size:9px;letter-spacing:.7px}@media(max-width:1200px){.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.workflow-layout{grid-template-columns:1fr}.inspector{align-self:auto}}@media(max-width:980px){.columns,.explorer-grid{grid-template-columns:1fr}.sidebar{width:210px}.app{grid-template-columns:210px minmax(0,1fr)}}@media(max-width:680px){.app{display:block}.sidebar{min-height:0;width:auto;padding:12px}.brand{padding:0 4px 10px}.sidebar nav{display:flex;overflow:auto}.nav{white-space:nowrap}.navcaption,.sidebar-foot{display:none}.topbar{padding:0 16px;height:50px}.demo-chip{font-size:8px}.avatar{display:none}main{padding:20px 12px}.page-head{align-items:start;flex-direction:column}.metrics{gap:9px}.metric{padding:13px}.panel{padding:13px}.panelhead{flex-wrap:wrap}.canvas{padding:10px;min-height:0}.node{padding:9px}footer{flex-direction:column}}

/* Light / dark theme: understated Fluent-inspired palette */
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #dbe3ed;background:#fff;color:#455a76;border-radius:8px;padding:8px 12px;font-size:12px;font-weight:600;white-space:nowrap;cursor:pointer}
.theme-toggle:hover{background:#f2f6fc}
html[data-theme="dark"]{color-scheme:dark;color:#e3eaf4;background:#101923}
html[data-theme="dark"] body{background:#101923}
html[data-theme="dark"] .sidebar,html[data-theme="dark"] .topbar,html[data-theme="dark"] .metric,html[data-theme="dark"] .panel{background:#182432;border-color:#2b3b4e;box-shadow:none}
html[data-theme="dark"] .sidebar-foot,html[data-theme="dark"] footer{border-color:#2b3b4e}
html[data-theme="dark"] .brandmark,html[data-theme="dark"] .nav.active,html[data-theme="dark"] .node-icon{background:#233c5b;color:#a8cbff}
html[data-theme="dark"] .nav{color:#acbbcd}
html[data-theme="dark"] .nav:hover,html[data-theme="dark"] .btn.ghost:hover{background:#223449}
html[data-theme="dark"] .nav.active{color:#c1dcff}
html[data-theme="dark"] .crumb,html[data-theme="dark"] .scenario-label,html[data-theme="dark"] p,html[data-theme="dark"] .metric-top,html[data-theme="dark"] .bar,html[data-theme="dark"] .minor,html[data-theme="dark"] .node small,html[data-theme="dark"] .mini-step small,html[data-theme="dark"] .hunt-item small{color:#a5b5c9}
html[data-theme="dark"] .crumb b,html[data-theme="dark"] .metric strong,html[data-theme="dark"] .bar b,html[data-theme="dark"] .inspector dd{color:#e3eaf4}
html[data-theme="dark"] .demo-chip,html[data-theme="dark"] .notice{background:#1b3148;border-color:#315273;color:#b6d6fa}
html[data-theme="dark"] .notice b{color:#d4e8ff}
html[data-theme="dark"] select,html[data-theme="dark"] .btn:not(.primary),html[data-theme="dark"] .theme-toggle{background:#202e40;border-color:#38506a;color:#e2ebf7}
html[data-theme="dark"] .theme-toggle:hover{background:#2b4058}
html[data-theme="dark"] .avatar{background:#2b4566;color:#d1e6ff}
html[data-theme="dark"] .canvas,html[data-theme="dark"] .log,html[data-theme="dark"] .inspector-note{background:#141f2d;border-color:#2c4057;color:#b5c6da}
html[data-theme="dark"] .node,html[data-theme="dark"] .hunt-item{background:#202e40;border-color:#35475c;color:#e3eaf4}
html[data-theme="dark"] .node:hover,html[data-theme="dark"] .node.selected,html[data-theme="dark"] .hunt-item:hover,html[data-theme="dark"] .hunt-item.active,html[data-theme="dark"] .node.active-run{background:#263e59;border-color:#4e83bf}
html[data-theme="dark"] .step-mark,html[data-theme="dark"] .tag.muted,html[data-theme="dark"] .codebar{background:#283a50;color:#c1d3e8;border-color:#364d67}
html[data-theme="dark"] .tag{background:#1c3b33;color:#9de2bd}
html[data-theme="dark"] .tag.warn{background:#493724;color:#ffd096}
html[data-theme="dark"] .track{background:#2c4058}
html[data-theme="dark"] th{background:#233348;color:#c0d0e3}
html[data-theme="dark"] th,html[data-theme="dark"] td{border-color:#304256}
html[data-theme="dark"] tbody tr:hover{background:#22364b}
html[data-theme="dark"] .inspector dt,html[data-theme="dark"] .table-footer{color:#9badc3}
html[data-theme="dark"] .codebar{border-color:#354b64}
html[data-theme="dark"] pre{background:#0e1825}
@media(max-width:680px){.topright{gap:6px}.theme-toggle{padding:6px 9px}.theme-toggle span{display:none}}

/* MITRE coverage view */
.coverage-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(285px,1fr);gap:16px;margin-bottom:16px}
.coverage-metrics{margin-bottom:16px}.coverage-matrix{padding:6px 18px 18px}.cov-legend{display:flex;gap:16px;flex-wrap:wrap;padding:12px 18px;font-size:12px;color:var(--muted,#64748b)}.cov-legend span{display:flex;align-items:center;gap:6px}.cov-dot{height:10px;width:10px;border-radius:3px;background:#a8b8cf}.cov-dot.reviewed{background:#287cbb}.cov-dot.candidate{background:#b1bfd1}.cov-dot.empty{background:transparent;border:1px solid #a8b8cf}.cov-tactic{padding:14px 0;border-top:1px solid var(--line,#e4e9f0)}.cov-tactic-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.cov-tactic-head strong{font-size:13px}.cov-tactic-head small,.cov-none{color:var(--muted,#64748b);font-size:12px}.cov-chips{display:flex;gap:8px;flex-wrap:wrap}.cov-chip{font:inherit;cursor:pointer;text-align:left;display:flex;flex-direction:column;gap:3px;border-radius:8px;padding:10px;min-width:132px;max-width:180px;flex:1;border:1px solid #bdcce0;background:#f2f6fc;color:#244563}.cov-chip.reviewed{background:#e6f2ff;border-color:#9fc8f1}.cov-chip.selected{outline:2px solid #347cbd;outline-offset:1px}.cov-chip b{font-size:12px}.cov-chip span{font-size:11px;line-height:1.3}.cov-chip small{font-size:10px;opacity:.8}.cov-detail{padding:20px}.cov-detail h3{font-size:22px;margin:8px 0}.cov-detail p{font-size:13px;line-height:1.5}.cov-detail a{color:#287cbb}.cov-detail-stat{font-weight:600;font-size:13px;margin:18px 0 12px}.cov-hunt{display:flex;flex-direction:column;text-align:left;gap:6px;width:100%;font:inherit;padding:12px;border-radius:8px;border:1px solid var(--line,#e4e9f0);background:transparent;color:inherit;margin-bottom:8px;cursor:pointer}.cov-hunt:hover{border-color:#5792c4}.cov-hunt span{font-size:12px;line-height:1.4}.cov-hunt small{font-size:11px;color:var(--muted,#64748b);line-height:1.4}.cov-inspector{align-self:start}html[data-theme="dark"] .cov-chip{background:#263449;color:#d9e7f8;border-color:#475c75}html[data-theme="dark"] .cov-chip.reviewed{background:#1c425c;border-color:#4685b7}html[data-theme="dark"] .cov-chip.selected{outline-color:#75b7ee}html[data-theme="dark"] .cov-detail a{color:#8bc7ff}@media(max-width:950px){.coverage-layout{grid-template-columns:1fr}}@media(max-width:600px){.cov-chip{min-width:110px}}

/* V5 investigation experience */
.journey-panel{margin-bottom:18px}.journey-intro{display:flex;align-items:center;justify-content:space-between;gap:18px;background:var(--soft,#f2f6fc);border:1px solid var(--line,#dce5f0);padding:18px;border-radius:12px;margin:16px 0}.journey-intro p{font-size:13px;margin:6px 0 0}.journey-app{min-height:130px}.journey-empty{padding:28px;text-align:center;border:1px dashed #a6b7cd;border-radius:10px;color:var(--muted,#687b91)}.journey-progress{display:flex;gap:5px;margin:18px 0}.journey-progress span{height:6px;flex:1;background:#dce5f0;border-radius:8px}.journey-progress span.passed{background:#3277c8}.journey-progress span.current{background:#74a7e7}.journey-stage{padding:18px;border:1px solid var(--line,#dce5f0);border-radius:12px}.journey-kicker{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#3c7fca;font-weight:800}.journey-stage h3{margin:7px 0 8px;font-size:20px}.journey-stage p{line-height:1.65}.journey-hint{background:#eaf3ff;color:#194a7d;border-left:3px solid #3277c8;padding:12px 14px;margin:15px 0;border-radius:6px;font-size:13px}.journey-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}.journey-actions button{cursor:pointer;border:1px solid #b9cde6;border-radius:8px;background:#fff;color:#1c497a;padding:10px 14px;font-weight:650}.journey-actions button.primary{background:#246bc1;color:white;border-color:#246bc1}.journey-actions button:disabled{opacity:.45;cursor:not-allowed}.journey-actions button:hover:not(:disabled){filter:brightness(.95)}.journey-table{width:100%;border-collapse:collapse;font-size:12px;margin-top:12px}.journey-table th,.journey-table td{padding:10px;border-bottom:1px solid #dce5f0;text-align:left}.journey-table th{background:#f2f6fc;color:#294b70}.journey-table button{background:#eaf3ff;border:1px solid #a9c8f2;color:#195a9d;border-radius:5px;padding:6px 9px;cursor:pointer}.journey-detail{background:#f5f8fc;border:1px solid #d5e0ed;border-radius:9px;padding:14px;margin-top:12px}.journey-detail dl{display:grid;grid-template-columns:130px 1fr;gap:7px;font-size:13px}.journey-detail dt{color:#536c87}.journey-detail dd{margin:0;overflow-wrap:anywhere}.journey-code{white-space:pre-wrap;overflow-wrap:anywhere;background:#17283d;color:#e5f2ff;padding:16px;border-radius:8px;font-size:12px;line-height:1.65}.journey-result{border-left:4px solid #3277c8;padding:14px;background:#f0f6ff;margin-top:12px}.journey-result.success{border-left-color:#24815a;background:#edf8f2}.journey-choice{display:grid;gap:8px;margin-top:12px}.journey-choice button{text-align:left;background:#fff;color:#263f5b;border:1px solid #b7c9df;padding:13px;border-radius:9px;cursor:pointer}.journey-choice button:hover{border-color:#3277c8;background:#edf5ff}.journey-tiny{font-size:12px;color:#657c96}.donut{position:relative;min-width:215px;min-height:215px;isolation:isolate}.donut-center{position:absolute;inset:35px;background:#fff;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:18px;z-index:2}.donut-center strong{font-size:40px;line-height:1.15;color:#193a60}.donut-center small{font-size:11px;line-height:1.4;color:#415d7c;max-width:125px}.tactic-legend button{border:1px solid #cddbec!important;border-radius:9px!important}.tactic-legend button:first-child{border-color:#2c73c9!important}.journey-panel .eyebrow{color:#3476bf}
html[data-theme="dark"] .journey-intro,html[data-theme="dark"] .journey-detail{background:#1b2a3e;color:#dce8f7;border-color:#39516c}html[data-theme="dark"] .journey-stage{border-color:#39516c}html[data-theme="dark"] .journey-hint,html[data-theme="dark"] .journey-result{background:#203c5b;color:#e2edfb}html[data-theme="dark"] .journey-result.success{background:#193d33}html[data-theme="dark"] .journey-table th{background:#1c3149;color:#e2edfb}html[data-theme="dark"] .journey-table td{border-color:#39516c}html[data-theme="dark"] .journey-actions button:not(.primary),html[data-theme="dark"] .journey-choice button{background:#1d3149;color:#e2edfb;border-color:#4c6a8a}html[data-theme="dark"] .donut-center{background:#17263a}html[data-theme="dark"] .donut-center strong{color:#e9f3ff}html[data-theme="dark"] .donut-center small{color:#bfd1e8}
@media(max-width:720px){.journey-intro{flex-direction:column;align-items:stretch}.journey-detail dl{grid-template-columns:1fr}.journey-table{font-size:10px}.journey-table th,.journey-table td{padding:5px}}

/* V6 visual refresh */
:root{--accent:#3267df}body{background:radial-gradient(circle at 80% 0%,#eef0ff 0,transparent 32%),#f3f5fb}.sidebar{background:linear-gradient(175deg,#0e1c36,#172c4d 80%,#203257);border-color:#243955}.brand strong,.sidebar-foot{color:#f7faff}.brand small,.sidebar-foot small,.navcaption{color:#9eb2d1}.nav{color:#c1d1e8}.nav:hover{background:#ffffff15}.nav.active{background:linear-gradient(100deg,#3467e3,#5d53cb);color:white}.brandmark{background:#ffffff17;color:#9fd6ff}.status-dot{background:#38d9b3}.topbar{background:#ffffffed}.panel,.metric{border-radius:15px;box-shadow:0 7px 25px #193c7910}.metric{border-top:3px solid #8c87f1}.metric:nth-child(2){border-top-color:#2cbdb7}.metric:nth-child(3){border-top-color:#edaa63}.metric:nth-child(4){border-top-color:#4489ec}.btn.primary{background:linear-gradient(110deg,#3268e3,#6756cf);border:0}.eyebrow{color:#6756cf}.portfolio-hero{position:relative;isolation:isolate;overflow:hidden;min-height:335px;border-radius:22px;background:linear-gradient(115deg,#111f43,#233e77 55%,#373276);display:grid;grid-template-columns:minmax(0,1.3fr) minmax(270px,.7fr);gap:20px;margin-bottom:23px;padding:42px 45px;color:white;box-shadow:0 20px 45px #192b6330}.hero-glow{position:absolute;z-index:-1;right:-100px;top:-160px;width:530px;height:530px;border-radius:50%;background:radial-gradient(circle,#6570df55,transparent 68%)}.hero-label{font-size:10px;letter-spacing:2px;color:#8fe1e5;font-weight:800}.portfolio-hero h2{font-size:clamp(28px,3.3vw,47px);line-height:1.13;letter-spacing:-1.8px;margin:17px 0}.portfolio-hero em{font-style:normal;color:#8de8dc}.portfolio-hero p{max-width:630px;color:#d1dcf4;font-size:13px;line-height:1.85}.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0}.hero-btn,.hero-outline{border-radius:9px;padding:12px 17px;font-size:12px;font-weight:750}.hero-btn{border:0;background:#85e5d5;color:#112a48}.hero-outline{border:1px solid #ffffff80;background:#ffffff0b;color:white}.hero-foot{display:flex;gap:22px;flex-wrap:wrap;color:#9db6db;font-size:9px;font-weight:750;letter-spacing:1px}.hero-visual{position:relative;min-height:240px;display:grid;place-items:center}.hero-orbit{position:absolute;width:220px;height:220px;border:1px solid #8ea9ff60;border-radius:50%}.orbit-two{width:300px;height:300px;border-style:dashed;opacity:.65}.hero-center{height:115px;width:115px;border-radius:30px;background:linear-gradient(145deg,#59bce3,#6261d8);box-shadow:0 0 55px #56bdf85e;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:48px;font-weight:700}.hero-center small{font-size:9px;letter-spacing:1px}.hero-node{position:absolute;padding:10px 14px;border-radius:10px;background:#f9fbff;color:#4b5c7e;box-shadow:0 10px 25px #0a163766;font-size:10px;font-weight:700}.hero-node b{display:block;color:#1b3766;margin-top:3px}.node-a{top:3%;left:5%}.node-b{right:0;top:22%}.node-c{left:5%;bottom:6%}#tacticDonut{width:290px!important;height:290px!important;min-width:290px!important;min-height:290px!important;border-radius:50%;position:relative}#tacticDonut:after{content:'';position:absolute;inset:40px;border-radius:50%;background:#fff}#tacticDonut>*,#tacticDonut .donut-center{position:relative;z-index:1}#tacticDonut .donut-center{background:#fff!important;border-radius:50%;padding:15px!important;min-width:150px;min-height:130px;display:flex;flex-direction:column;justify-content:center;align-items:center}#tacticDonut .donut-center strong{font-size:36px!important}#tacticDonut .donut-center small{font-size:11px!important;line-height:1.5;text-align:center;max-width:145px}#coverage .panel{border-top:3px solid #7069db}.journey-stage{border-radius:15px!important}.journey-hint{border-left:4px solid #50a6df!important}.journey-result{border-radius:10px}.nav span{color:#8ed6f3} @media(max-width:900px){.portfolio-hero{grid-template-columns:1fr}.hero-visual{display:none}}@media(max-width:680px){.portfolio-hero{padding:28px 23px}#tacticDonut{width:235px!important;height:235px!important;min-width:235px!important;min-height:235px!important}#tacticDonut:after{inset:34px}}
html[data-theme="dark"] .sidebar{background:linear-gradient(175deg,#0b1528,#1b2750)}html[data-theme="dark"] .portfolio-hero{background:linear-gradient(115deg,#0e1935,#293e76 55%,#443477)}html[data-theme="dark"] #tacticDonut:after,html[data-theme="dark"] #tacticDonut .donut-center{background:#1b2637!important}
.sample-event-row{cursor:pointer}.sample-event-row:hover td{background:#eaf3ff}html[data-theme="dark"] .sample-event-row:hover td{background:#253e5b}.sample-event-row:focus-visible{outline:2px solid #367de0;outline-offset:-2px}.journey-detail dd{line-height:1.5}



.enrich-grid{display:grid;grid-template-columns:minmax(320px,390px) minmax(0,1fr);gap:36px;align-items:center}.donut{width:min(100%,330px);aspect-ratio:1;height:auto;border-radius:50%;display:grid;place-items:center;margin:auto;position:relative;background:conic-gradient(#2c73c9 0 50%,#e2e8f0 50% 100%)}.donut:before{content:'';position:absolute;inset:52px;border-radius:50%;background:var(--card-bg,#fff)}.donut-center{position:relative;text-align:center}.donut-center strong{display:block;font-size:56px;line-height:1.1}.donut-center small{display:block;font-size:13px;color:#8090a0;max-width:160px;line-height:1.4;margin:6px auto 0}.tactic-legend{display:grid;gap:9px}.tactic-legend button{border:1px solid #e1e7ee;border-radius:8px;background:transparent;text-align:left;padding:10px;color:inherit}.tactic-legend button:hover{border-color:#4a8bdc}.tactic-legend b{float:right}.guide-step{padding:14px;border:1px solid #e1e8f1;border-radius:9px;margin:10px 0}.guide-step strong{display:block;margin-bottom:6px;font-size:13px}.guide-step p{font-size:12px}.guide-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.guide-actions button{border:1px solid #b9cfe9;background:#edf5ff;color:#205ca3;padding:8px 12px;border-radius:6px;font-size:11px}.guide-code{white-space:pre-wrap;max-height:270px;overflow:auto}.guide-note{font-size:11px;padding:12px;background:#edf5ff;border-radius:8px;color:#486785;margin:12px 0}.guide-table{width:100%;overflow:auto}.guide-meta{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.guide-meta div{background:#f4f7fb;border-radius:8px;padding:12px;font-size:11px}.guide-meta b{display:block;margin-bottom:5px}.full-link{display:inline-block;margin-top:10px;color:#2369c3;font-size:12px}.pill{font-size:10px;border:1px solid #dbe4ef;border-radius:15px;padding:5px 9px}@media(max-width:850px){.enrich-grid{grid-template-columns:1fr;gap:22px}.donut{width:min(100%,300px)}}
html[data-theme=dark] .donut:before{background:#202b3a}html[data-theme=dark] .guide-meta div,html[data-theme=dark] .guide-note{background:#24354b;color:#cad8e8}html[data-theme=dark] .tactic-legend button,html[data-theme=dark] .guide-step{border-color:#405069;color:#d8e3f2}html[data-theme=dark] .guide-actions button{background:#233b5a;color:#d8eaff}


/* Real lab tour — additive styles, no changes to existing components */
.lab-intro{margin-bottom:18px}.lab-intro h2{font-size:26px;margin:10px 0}.lab-intro p{max-width:900px;line-height:1.7}.lab-labels{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}.lab-labels span{border:1px solid var(--line,#30455e);border-radius:99px;padding:7px 10px;font-size:12px}.lab-grid{display:grid;grid-template-columns:minmax(250px,.85fr) minmax(0,1.3fr);gap:18px;margin-bottom:18px}.lab-step-list{display:grid;gap:9px}.lab-step{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:1px solid #344761;background:transparent;color:inherit;border-radius:12px;padding:12px;cursor:pointer}.lab-step.active{border-color:#4e9aff;background:rgba(64,130,235,.15)}.lab-step b{display:block;font-size:13px}.lab-step small{display:block;opacity:.7;margin-top:4px}.lab-step .number{color:#7ebcff;font-weight:700}.lab-detail{min-height:270px;line-height:1.65}.lab-detail h3{font-size:20px;margin:10px 0}.lab-detail .eyebrow{margin-top:14px}.lab-detail p{margin:8px 0 15px}.lab-nav,.lab-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:18px}.lab-replay{margin-top:20px;border:1px solid #344761;border-radius:12px;padding:18px;min-height:80px}.lab-replay .lab-trail{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}.lab-replay .lab-trail span{padding:7px 9px;background:rgba(77,143,232,.14);border-radius:8px;font-size:12px}.lab-replay table{width:100%;border-collapse:collapse;font-size:13px}.lab-replay td,.lab-replay th{padding:10px;border-bottom:1px solid #344761;text-align:left}.lab-replay .lab-scroll{overflow-x:auto}.lab-replay .lab-email{margin-top:16px;border-left:3px solid #6ca9ff;padding:12px;background:rgba(77,143,232,.09)}.lab-evidence{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.lab-evidence>div{border:1px solid #344761;border-radius:12px;padding:15px}.lab-evidence p{line-height:1.6;font-size:13px;margin-bottom:0}@media(max-width:850px){.lab-grid,.lab-evidence{grid-template-columns:1fr}}
/* Visual, browser-only lab execution replay */
.lab-console{margin-top:18px}.lab-console-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:16px 0 20px}.lab-console-toolbar label{font-weight:700;font-size:12px}.lab-console-toolbar select{max-width:360px}.lab-run-status{font-size:12px;font-weight:700;color:#5370a0;margin-left:auto}.lab-console-grid{display:grid;grid-template-columns:minmax(320px,.85fr) minmax(350px,1.15fr);gap:14px}.lab-azure-window,.lab-data-window,.lab-excel-window,.lab-mail-window,.lab-event-window{border:1px solid #d9e3f2;border-radius:12px;background:#fff;overflow:hidden;color:#1b304d}.lab-window-head{display:flex;align-items:center;gap:10px;padding:13px 15px;background:#f7faff;border-bottom:1px solid #dfe8f5}.lab-window-head>div{display:flex;flex-direction:column;gap:2px;min-width:0}.lab-window-head strong{font-size:13px;overflow-wrap:anywhere}.lab-window-head small{font-size:11px;color:#6c7f9a}.lab-window-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:7px;background:#e3eeff;color:#2167cb;font-weight:800}.lab-live-label,.lab-sheet-count,.lab-mail-state{margin-left:auto;white-space:nowrap;font-size:10px;font-weight:800;color:#55749d}.lab-window-bar{padding:9px 14px;font-size:11px;font-weight:700;border-bottom:1px solid #e9eef6}.lab-window-bar span{float:right;font-weight:400;color:#8290a5}.lab-pipeline{padding:15px 25px;max-height:575px;overflow:auto}.lab-pipe-node{border:1px solid #d3dfef;border-left:4px solid #9cb5d6;border-radius:8px;display:flex;align-items:center;gap:10px;padding:9px 11px;min-height:53px;transition:background .25s,border-color .25s}.lab-pipe-node>div{min-width:0;flex:1}.lab-pipe-node b{display:block;font-size:11px}.lab-pipe-node small{display:block;font-size:10px;color:#7b8aa1;margin-top:3px}.lab-node-icon{width:25px;height:25px;display:grid;place-items:center;border-radius:6px;background:#edf3fa;color:#52749c;font-size:12px;font-weight:800;flex-shrink:0}.lab-node-state{font-size:10px;color:#8898aa}.lab-pipe-node.processing{border-color:#3c7af4;border-left-color:#3779f8;background:#eef5ff;box-shadow:0 0 0 2px #e2ecff}.lab-pipe-node.processing .lab-node-state{color:#2563eb;font-weight:800}.lab-pipe-node.complete{border-left-color:#16a34a;background:#f4fff7}.lab-pipe-node.complete .lab-node-icon{background:#d9f8e3;color:#167e3a}.lab-pipe-node.complete .lab-node-state{color:#198548}.lab-pipe-arrow{text-align:center;height:16px;line-height:16px;color:#93a6c2}.lab-data-tabs{display:flex;border-bottom:1px solid #e3eaf3}.lab-tab{padding:11px 17px;border:0;border-bottom:2px solid transparent;background:none;color:#637895;cursor:pointer;font-size:12px;font-weight:700}.lab-tab.active{border-bottom-color:#2872eb;color:#2466c9}.lab-data-pane{height:560px;overflow:auto}.lab-data-hint{font-size:11px;color:#6d819b;padding:11px 13px;margin:0}.lab-mini-table{width:100%;border-collapse:collapse;font-size:11px}.lab-mini-table th{background:#f1f5fb;text-align:left;font-size:10px;color:#506681}.lab-mini-table th,.lab-mini-table td{border-bottom:1px solid #e7edf5;padding:9px 11px;vertical-align:top}.lab-mini-table td small{display:block;color:#8796a9;font-size:10px;margin-top:3px}.lab-match{color:#bc3446;font-weight:800}.lab-excel-window{margin-top:15px}.excel-head .lab-window-icon{background:#167346;color:#fff}.lab-excel-toolbar{display:flex;gap:19px;padding:10px 15px;background:#f3faf6;border-bottom:1px solid #d9e9dd;color:#366448;font-size:11px}.lab-excel-save{margin-left:auto;color:#218052}.lab-sheet-scroll{overflow:auto;max-height:340px;min-height:200px}.lab-sheet{border-collapse:collapse;min-width:1350px;width:100%;font-size:11px;color:#253951}.lab-sheet th{background:#2875ac;color:#fff;white-space:nowrap;text-align:left}.lab-sheet th,.lab-sheet td{border:1px solid #d7e3f0;padding:8px 9px;vertical-align:top}.lab-sheet tbody tr:nth-child(even){background:#eef4fc}.lab-sheet .lab-rownum{width:32px}.lab-sheet-new{animation:labRowFlash 1.2s ease}.lab-alert-cell{background:#fbd9df;color:#a72336;font-weight:800}.lab-placeholder td{text-align:center;color:#8293a9;padding:55px 12px}.lab-sheet-footer{display:flex;justify-content:space-between;gap:12px;background:#eef7f2;border-top:1px solid #d5e9dc;padding:10px 13px;font-size:11px;color:#236945}.lab-sheet-footer span{color:#698b79}.lab-bottom-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:14px;margin-top:15px}.lab-mail-window,.lab-event-window{min-height:245px}.lab-mail-empty{padding:45px 20px;text-align:center;font-size:12px;color:#8a9ab0}.lab-mail-content{padding:15px 19px;font-size:12px;line-height:1.65}.lab-mail-content h3{font-size:15px;margin:14px 0 8px}.lab-mail-content p{margin:8px 0}.lab-mail-content ul{padding-left:18px}.lab-mail-meta{border-bottom:1px solid #e7edf5;padding-bottom:10px}.lab-mail-link{color:#246cc6;text-decoration:underline}.lab-mail-note{font-style:italic;color:#6e809a}.lab-mail-state.sent{color:#16874c}.lab-event-log{max-height:320px;overflow:auto;padding:15px 22px 15px 35px;font-size:11px;line-height:1.7;color:#506784;margin:0}.lab-event-log li{margin-bottom:7px}.lab-console-disclaimer{font-size:11px;color:#7385a0;margin:16px 0 0}.lab-console .lab-data-window,.lab-console .lab-azure-window{min-width:0}@keyframes labRowFlash{from{background:#c6f5d6}to{background:transparent}}@media(max-width:920px){.lab-console-grid,.lab-bottom-grid{grid-template-columns:1fr}.lab-data-pane{height:350px}.lab-pipeline{max-height:450px}}@media(max-width:560px){.lab-console-toolbar{align-items:stretch}.lab-console-toolbar select{max-width:100%;width:100%}.lab-run-status{width:100%;margin:0}.lab-window-bar span{display:none}}
/* dark-theme compatibility with the site's existing theme control */
[data-theme="dark"] .lab-azure-window,[data-theme="dark"] .lab-data-window,[data-theme="dark"] .lab-excel-window,[data-theme="dark"] .lab-mail-window,[data-theme="dark"] .lab-event-window{background:#17243a;color:#e2eaf8;border-color:#354561}
[data-theme="dark"] .lab-window-head,[data-theme="dark"] .lab-window-bar,[data-theme="dark"] .lab-mini-table th,[data-theme="dark"] .lab-excel-toolbar,[data-theme="dark"] .lab-sheet-footer{background:#1d2e49;color:#e2eaf8;border-color:#354561}
[data-theme="dark"] .lab-pipe-node{border-color:#3d5270;background:#20324d}[data-theme="dark"] .lab-pipe-node.complete{background:#173c35}[data-theme="dark"] .lab-pipe-node.processing{background:#1e3c69}[data-theme="dark"] .lab-sheet{color:#e2eaf8}[data-theme="dark"] .lab-sheet tbody tr:nth-child(even){background:#213451}[data-theme="dark"] .lab-sheet th{background:#235782}[data-theme="dark"] .lab-sheet td{border-color:#354561}[data-theme="dark"] .lab-mini-table td{border-color:#354561}

/* Wide reference data in the Sentinel watchlist simulation */
.lab-data-pane { overflow-x: auto; }
.lab-data-pane .lab-mini-table:has(th:nth-child(4)) { min-width: 980px; }
.lab-data-pane .lab-mini-table:has(th:nth-child(4)) td:last-child { min-width: 340px; white-space: normal; line-height: 1.5; }
.lab-data-pane .lab-mini-table:has(th:nth-child(4)) td:first-child { min-width: 220px; }
.lab-data-pane .lab-mini-table:has(th:nth-child(4)) td:nth-child(3) { min-width: 200px; }


/* Drag the right edge of a table header to resize its column. */
.lab-resizable-table{table-layout:fixed;min-width:100%;border-collapse:collapse}
.lab-resizable-table th{position:relative;white-space:nowrap;padding-right:18px}
.lab-resizable-table td{overflow-wrap:anywhere}
.lab-col-resizer{position:absolute;right:0;top:0;bottom:0;width:11px;cursor:col-resize;touch-action:none;user-select:none;z-index:2}
.lab-col-resizer::after{content:"";position:absolute;top:18%;bottom:18%;left:5px;width:2px;background:#b6c8de;opacity:.5;border-radius:2px}
.lab-col-resizer:hover::after,.lab-col-resizer:focus-visible::after,.lab-col-resizer.dragging::after{background:#2872eb;opacity:1;width:3px}
.lab-col-resizer:focus-visible{outline:2px solid #2872eb;outline-offset:-2px}

/* Show the real nested For each actions while processing each hunt. */
.lab-loop-details{margin:4px 8px 10px 20px;padding:9px 10px;border:1px solid #aabfdb;border-left:3px solid #4b79bc;border-radius:8px;background:#f6f9ff;color:#233c60}
.lab-loop-caption{font-size:11px;font-weight:700;margin-bottom:7px}
.lab-loop-step{display:flex;align-items:center;gap:7px;padding:7px 8px;margin:5px 0;border:1px solid #dce6f3;border-radius:6px;background:white;font-size:11px}
.lab-loop-step b{flex:1;font-weight:650}.lab-loop-step small{font-size:10px;color:#64748b}
.lab-loop-step.processing{border-color:#4f84ef;background:#eaf2ff;box-shadow:inset 3px 0 #2563eb}
.lab-loop-step.complete{border-color:#9cdec1;background:#f0fff7}
.lab-run-spacer td{height:25px!important;background:#e6edf7!important;border-top:2px solid #9eb4d1!important;border-bottom:2px solid #9eb4d1!important;padding:0!important}


/* V8: Prevent fixed-layout columns from overlapping or bleeding into neighbours.
   Existing min-width rules on watchlist cells must not override colgroup widths. */
.lab-console .lab-resizable-table {
  table-layout: fixed !important;
  min-width: 0 !important;
  max-width: none !important;
  width: auto;
}
.lab-console .lab-resizable-table th,
.lab-console .lab-resizable-table td,
.lab-console .lab-data-pane .lab-mini-table:has(th:nth-child(4)) td:first-child,
.lab-console .lab-data-pane .lab-mini-table:has(th:nth-child(4)) td:nth-child(3),
.lab-console .lab-data-pane .lab-mini-table:has(th:nth-child(4)) td:last-child {
  min-width: 0 !important;
  max-width: none;
  box-sizing: border-box;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: normal;
  white-space: normal;
}
.lab-console .lab-resizable-table th {
  white-space: nowrap;
  text-overflow: ellipsis;
  padding-right: 17px;
}
.lab-console .lab-resizable-table td { line-height: 1.45; }
.lab-console .lab-resizable-table col { min-width: 0; }

/* V9: show multiple completed reporting blocks without forcing a tiny spreadsheet viewport. */
.lab-console .lab-sheet-scroll { max-height: 1350px; min-height: 400px; }
.lab-repeat-hint { margin: 0 0 16px; padding: 12px 15px; border: 1px solid #cbdcf5; background: #f1f6ff; color: #31517b; border-radius: 10px; font-size: 12px; line-height: 1.6; }
[data-theme="dark"] .lab-repeat-hint { background: #1e304d; color: #d5e4ff; border-color: #435b7e; }
@media (max-width: 600px) { .lab-console .lab-sheet-scroll { max-height: 950px; min-height: 330px; } }

/* V10: uniform register rows, repeat headings at every new reporting block. */
.lab-console .lab-sheet tbody tr:not(.lab-run-spacer):not(.lab-run-repeat-header):not(.lab-placeholder) { height: 56px; }
.lab-console .lab-sheet tbody tr:not(.lab-run-spacer):not(.lab-run-repeat-header):not(.lab-placeholder) td { height: 56px; padding: 7px 9px; vertical-align: middle; }
.lab-console .lab-sheet .lab-cell-content { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; max-height: 34px; line-height: 17px; overflow-wrap: anywhere; }
.lab-console .lab-sheet .lab-run-repeat-header { height: 34px; }
.lab-console .lab-sheet .lab-run-repeat-header th { background: #2875ac; color: #fff; padding: 8px 9px; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border: 1px solid #d7e3f0; }
[data-theme="dark"] .lab-console .lab-sheet .lab-run-repeat-header th { background: #235782; }

/* V11: compact, consistent register rows; allow the Notes column more room. */
.lab-console .lab-sheet tbody tr:not(.lab-run-spacer):not(.lab-run-repeat-header):not(.lab-placeholder) { height: 40px; }
.lab-console .lab-sheet tbody tr:not(.lab-run-spacer):not(.lab-run-repeat-header):not(.lab-placeholder) td { height: 40px; padding: 4px 8px; vertical-align: middle; }
.lab-console .lab-sheet .lab-cell-content { max-height: 30px; line-height: 15px; }

/* V12: consistent watchlist grid rows and comparison controls */
.lab-console .lab-data-pane .lab-mini-table:has(th:nth-child(4)) tbody tr{height:43px!important;max-height:43px!important}
.lab-console .lab-data-pane .lab-mini-table:has(th:nth-child(4)) tbody td{height:43px!important;max-height:43px!important;min-height:43px!important;padding:5px 10px!important;vertical-align:middle!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;line-height:1.4!important}
.lab-console .lab-data-pane .lab-mini-table:has(th:nth-child(4)) tbody td:last-child{white-space:nowrap!important}
.lab-run-browser{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:10px 13px;margin:10px 0 15px;border:1px solid #d9e3f2;border-radius:9px;background:#f7faff;color:#263d60;font-size:12px}
.lab-run-browser label{font-weight:800}.lab-run-browser select{max-width:400px;min-width:230px;padding:7px 9px;border-radius:6px;border:1px solid #c4d6ed;background:#fff;color:#18365c}.lab-run-browser span{color:#526b8d}
.lab-run-date{font:inherit;color:#2266bf;border:1px solid transparent;border-radius:5px;background:transparent;padding:4px 5px;cursor:pointer;text-decoration:underline;text-underline-offset:2px;text-align:left}
.lab-run-date:hover,.lab-run-date:focus-visible{background:#e4efff;border-color:#8db6f0}
.lab-run-date.selected{background:#e4efff;border-color:#76a6e9;font-weight:800}
.lab-sheet tbody tr[data-run-id]{cursor:pointer}
.lab-sheet tbody tr[data-run-id]:hover td{box-shadow:inset 0 0 0 1px #b6d5f7}
[data-theme="dark"] .lab-run-browser{background:#1d2e49;color:#e2eaf8;border-color:#354561}
[data-theme="dark"] .lab-run-browser select{background:#17243a;color:#e2eaf8}
[data-theme="dark"] .lab-run-date{color:#91c3ff}


/* V13: show the entire watchlist content without clipped notes. */
.lab-console .lab-data-pane .lab-mini-table:has(th:nth-child(4)) tbody tr {
  height:auto !important; max-height:none !important;
}
.lab-console .lab-data-pane .lab-mini-table:has(th:nth-child(4)) tbody td,
.lab-console .lab-data-pane .lab-mini-table:has(th:nth-child(4)) tbody td:last-child {
  height:auto !important; max-height:none !important; min-height:0 !important;
  padding:10px 11px !important; vertical-align:top !important;
  overflow:visible !important; text-overflow:clip !important;
  white-space:normal !important; overflow-wrap:break-word !important;
  line-height:1.55 !important;
}
/* Keep each watchlist row visually uniform across its columns, with natural height. */
.lab-console .lab-data-pane .lab-mini-table:has(th:nth-child(4)) tbody tr { border-bottom:1px solid #e7edf5; }
/* Make clickable dates resemble ordinary spreadsheet text rather than blue buttons. */
.lab-console .lab-run-date,
[data-theme="dark"] .lab-console .lab-run-date {
  color:inherit; font-weight:800; text-decoration:none; border:0;
  background:transparent; border-radius:0; padding:2px 0;
}
.lab-console .lab-run-date.selected,
.lab-console .lab-run-date:hover {
  color:inherit; background:transparent; border:0; text-decoration:underline;
  text-underline-offset:3px;
}
.lab-console .lab-run-date:focus-visible { outline:2px solid #2872eb; outline-offset:2px; }

/* V14 streamlined navigation, with legacy sections preserved for editor compatibility. */
.lab-quickstart{margin:0 0 18px;padding:13px 17px;border:1px solid #c9d9f2;border-radius:12px;background:#f3f7ff;color:#25436f;font-size:13px;line-height:1.55}
.lab-quickstart strong{color:#152d56}.lab-quickstart span{color:#506c93}
[data-theme="dark"] .lab-quickstart{background:#1c2b47;border-color:#3b5074;color:#e1ebfc}
[data-theme="dark"] .lab-quickstart strong{color:#fff}
.lab-data-pane .lab-mini-table:has(th:nth-child(4)) tbody tr{height:52px}
.lab-data-pane .lab-mini-table:has(th:nth-child(4)) tbody td{height:52px;min-height:52px;max-height:52px;box-sizing:border-box;vertical-align:middle;line-height:1.4;overflow:hidden}
@media(max-width:700px){.lab-quickstart{font-size:12px;padding:11px 12px}}

/* V15: Keep the legacy overview simulator wired for compatibility, but remove
   its duplicate controls from the visitor experience. */
.head-actions.legacy-controls { display:none !important; }

/* Watchlist: generous Notes and LogicTuning columns keep each row compact.
   The existing horizontal scroll and draggable column dividers remain. */
.lab-console .lab-data-pane .lab-mini-table:has(th:nth-child(4)) tbody tr {
  height:44px !important; max-height:44px !important;
}
.lab-console .lab-data-pane .lab-mini-table:has(th:nth-child(4)) tbody td {
  height:44px !important; min-height:44px !important; max-height:44px !important;
  padding:8px 11px !important; vertical-align:middle !important;
  white-space:nowrap !important; overflow:hidden !important;
  text-overflow:clip !important; overflow-wrap:normal !important;
}

/* Rich, safe multi-paragraph content in the real-lab walkthrough */
.lab-detail .lab-rich-text p{margin:8px 0 12px;line-height:1.75}
.lab-detail .lab-rich-text ul{margin:8px 0 16px;padding-left:24px;list-style:disc}
.lab-detail .lab-rich-text li{margin:7px 0;line-height:1.65}
.lab-register-gallery{margin-top:22px;padding-top:12px;border-top:1px solid var(--line,#344761)}
.lab-gallery-intro{font-size:13px;opacity:.8}
.lab-gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:12px;margin-top:12px}
.lab-gallery-item{display:flex;flex-direction:column;gap:7px;text-decoration:none;color:inherit;border:1px solid var(--line,#344761);border-radius:12px;padding:9px;background:rgba(110,155,220,.06)}
.lab-gallery-item:hover,.lab-gallery-item:focus-visible{border-color:#6aaaff}
.lab-gallery-item img{width:100%;height:110px;object-fit:cover;object-position:top left;border-radius:7px}
.lab-gallery-item strong{font-size:13px}
.lab-gallery-item small{font-size:12px;opacity:.7;line-height:1.45}

/* Compact watchlist: prevent oversized Notes column from hiding Reviewed By. */
.lab-console .lab-data-pane .lab-mini-table:has(th:nth-child(5)) {min-width:0;}
.lab-console .lab-data-pane .lab-mini-table:has(th:nth-child(5)) th,
.lab-console .lab-data-pane .lab-mini-table:has(th:nth-child(5)) td {min-width:0!important;box-sizing:border-box;white-space:normal!important;overflow-wrap:break-word;vertical-align:middle;}
.lab-console .lab-data-pane .lab-mini-table:has(th:nth-child(5)) td:last-child {min-width:0!important;white-space:normal!important;}
.lab-grid{scroll-margin-top:16px;}

/* Reviewed preview: use the same typography as adjacent copy, not site-wide list defaults. */
#labDetail [data-lab-step="purpose"] .lab-rich-text ul,
#labDetail [data-lab-step="purpose"] .lab-rich-text li {
  font-family:inherit !important; font-size:11px !important; font-weight:400 !important;
  color:#71829b !important; line-height:1.75 !important; letter-spacing:normal !important;
  text-transform:none !important;
}
#labDetail [data-lab-step="purpose"] .lab-rich-text ul {padding-left:20px !important;margin:6px 0 12px !important;}
#labDetail [data-lab-step="purpose"] .lab-rich-text li {margin:2px 0 !important;padding:0 !important;}
[data-theme="dark"] #labDetail [data-lab-step="purpose"] .lab-rich-text li {color:#aabbd2 !important;}
/* Let each watchlist cell show all its content, without massive column gaps. */
#labDataPane .lab-mini-table:has(th:nth-child(5)) {table-layout:fixed !important;min-width:0 !important;}
#labDataPane .lab-mini-table:has(th:nth-child(5)) tbody tr {height:auto !important;max-height:none !important;}
#labDataPane .lab-mini-table:has(th:nth-child(5)) tbody td {
 height:auto !important;min-height:0 !important;max-height:none !important;
 padding:8px 10px !important;vertical-align:middle !important;
 white-space:normal !important;overflow:visible !important;text-overflow:clip !important;
 overflow-wrap:break-word !important;line-height:1.45 !important;
}

/* PREVIEW V2 — natural-height selector, sticky on desktop. */
.lab-grid {align-items:start !important;grid-template-columns:minmax(265px,.78fr) minmax(0,1.5fr) !important;}
.lab-grid > article:first-child {align-self:start !important;height:auto !important;min-height:0 !important;position:sticky;top:56px;}
.lab-grid > article:last-child {align-self:start !important;min-height:0 !important;}
/* Explicitly target the actual generated list, overriding generic global li styles. */
#labDetail [data-lab-step] .lab-rich-text ul,
#labDetail [data-lab-step] .lab-rich-text ul li,
#labDetail [data-lab-step] .lab-rich-text li {
 font-family:Inter,'Segoe UI',system-ui,-apple-system,sans-serif !important;
 font-size:12px !important; font-weight:400 !important; line-height:1.65 !important;
 color:#71829b !important; letter-spacing:normal !important;
}
#labDetail [data-lab-step] .lab-rich-text ul {padding-left:21px !important;margin:7px 0 13px !important;}
#labDetail [data-lab-step] .lab-rich-text li {margin:3px 0 !important;padding:0 !important;}
html[data-theme="dark"] #labDetail [data-lab-step] .lab-rich-text li {color:#aabbd2 !important;}
@media(max-width:850px){.lab-grid{grid-template-columns:1fr !important;}.lab-grid > article:first-child{position:static !important;}}


/* V3: paragraphs with bold labels replace bullets entirely */
#labDetail .lab-plain-entries p,
#labDetail .lab-plain-entries p.lab-entry {
 font:inherit !important; font-size:12px !important; line-height:1.7 !important;
 color:#71829b !important; margin:8px 0 15px !important;
 padding:0 !important; letter-spacing:normal !important;
}
#labDetail .lab-plain-entries .lab-entry strong {
 font:inherit !important; font-weight:700 !important; color:inherit !important;
}
/* Full-text table: no cell wrapping, no clipping, horizontal scrolling */
.lab-data-pane {overflow-x:auto !important;overflow-y:auto !important;}
.lab-data-pane table.lab-mini-table:has(th:nth-child(5)) {min-width:1670px !important; table-layout:fixed !important;}
.lab-data-pane table.lab-mini-table:has(th:nth-child(5)) th,
.lab-data-pane table.lab-mini-table:has(th:nth-child(5)) td {
 white-space:nowrap !important; overflow:visible !important;
 text-overflow:clip !important; overflow-wrap:normal !important;
 word-break:normal !important; line-height:1.45 !important;
 padding:9px 11px !important; height:auto !important;
}
/* gallery can use four columns when available */
@media(min-width:1150px){.lab-gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important;}}


/* Explicitly target rendered text, not a wrapper that gets discarded. */
#labDetail .lab-formatted-copy p,
#labDetail .lab-formatted-copy p.lab-formatted-entry,
#labDetail .lab-formatted-copy p.lab-formatted-paragraph {
  font-family:inherit !important;font-size:12px !important;font-weight:400 !important;
  line-height:1.7 !important;color:#71829b !important;
  letter-spacing:normal !important;margin:0 0 14px !important;padding:0 !important;
  white-space:normal !important;
}
#labDetail .lab-formatted-copy p.lab-formatted-entry {margin:0 0 15px !important;}
#labDetail .lab-formatted-copy p.lab-formatted-entry strong {font-size:inherit !important;font-weight:700 !important;color:inherit !important;}
/* Watchlist is deliberately horizontally scrollable; no clipping or wrapping. */
#labDataPane {overflow-x:auto !important;}
#labDataPane table.lab-mini-table:has(th:nth-child(5)) {table-layout:fixed !important;min-width:0 !important;}
#labDataPane table.lab-mini-table:has(th:nth-child(5)) th,
#labDataPane table.lab-mini-table:has(th:nth-child(5)) td,
.lab-console #labDataPane table.lab-mini-table:has(th:nth-child(5)) td {
 white-space:nowrap !important;overflow:visible !important;text-overflow:clip !important;
 overflow-wrap:normal !important;word-break:normal !important;
 padding:8px 10px !important;vertical-align:middle !important;
}

/* In-page screenshot gallery lightbox */
.lab-gallery-open {text-align:left;cursor:zoom-in;font:inherit;color:inherit;width:100%;}
.lab-gallery-open:focus-visible {outline:3px solid #4c77ec;outline-offset:3px;}
.lab-lightbox {position:fixed;inset:0;z-index:99999;background:rgba(8,17,36,.88);display:flex;align-items:center;justify-content:center;padding:20px;box-sizing:border-box;}
.lab-lightbox-panel {width:min(1400px,100%);max-height:100%;display:flex;flex-direction:column;min-height:0;gap:10px;color:#fff;}
.lab-lightbox-bar {display:flex;align-items:center;gap:16px;font-size:14px;}
.lab-lightbox-title {flex:1;}
.lab-lightbox-count {white-space:nowrap;opacity:.8;}
.lab-lightbox button {cursor:pointer;background:#fff;color:#172b4c;border:0;border-radius:10px;font-size:20px;min-width:42px;min-height:42px;}
.lab-lightbox button:focus-visible {outline:3px solid #8fb4ff;outline-offset:3px;}
.lab-lightbox-stage {display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:0;flex:1;}
.lab-lightbox-image {display:block;max-width:calc(100% - 110px);max-height:calc(100vh - 160px);width:auto;height:auto;object-fit:contain;box-shadow:0 10px 35px #0008;background:#fff;}
.lab-lightbox-arrow {flex:0 0 44px;font-size:34px !important;}
.lab-lightbox-hint {text-align:center;font-size:12px;opacity:.8;}
@media(max-width:600px){.lab-lightbox{padding:10px}.lab-lightbox-stage{gap:5px}.lab-lightbox-image{max-width:calc(100% - 94px)}.lab-lightbox-arrow{flex-basis:40px}}

/* Screenshot viewer: readable zoom, panning and compact controls */
.lab-lightbox-zoom-controls{display:inline-flex;align-items:center;gap:7px;margin-left:auto;margin-right:12px;white-space:nowrap}
.lab-lightbox-zoom-controls button{background:#fff;color:#14243e;border:1px solid #a8b7cf;border-radius:7px;min-width:34px;min-height:32px;cursor:pointer;font-weight:700}
.lab-lightbox-zoom-value{font:600 13px system-ui;color:#fff;min-width:42px;text-align:center}
.lab-lightbox-viewport{width:min(84vw,1500px);height:min(76vh,850px);overflow:auto;display:flex;align-items:flex-start;justify-content:flex-start;overscroll-behavior:contain;cursor:grab;scrollbar-width:thin}
.lab-lightbox-viewport .lab-lightbox-image{display:block;width:100%;max-width:none;max-height:76vh;object-fit:contain;flex:none;user-select:none;pointer-events:none}
@media(max-width:650px){.lab-lightbox-zoom-controls{gap:3px;margin-right:4px}.lab-lightbox-viewport{width:78vw;height:70vh}.lab-lightbox-zoom-controls button{min-width:29px;padding:4px}}
