:root{--color-bg:#111;--color-surface:#1d1d1d;--color-border:#333;--color-text:#eee;--color-muted:#aaa;--color-accent:#7cc8ff;--color-success:#7bd88f;--color-warning:#ffd166;--color-error:#ff7b7b;--radius:8px;--radius-sm:6px;--ws-surface:#1d1d1d;--ws-surface-active:#1e2f3f;--ws-surface-hover:#242424;--ws-panel:#2a2a2a;--ws-border:#333;--ws-border-soft:#6d7480;--ws-border-accent:#2a4a6e;--ws-kicker:#9fb6c8;--ws-text-bright:#f5f5f5;--ws-text-soft:#d8e8f8;--ws-priority:var(--color-accent)}*,:before,:after{box-sizing:border-box}body{background:var(--color-bg);color:var(--color-text);margin:0;font-family:Arial,sans-serif}.shell{max-width:1600px;margin:0 auto;padding:1rem}.card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius);margin-bottom:1rem;padding:1rem}.card-header-row{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.5rem;display:flex}.card-header-row h2,.card-header-row h3{margin:0}.bb-kicker{text-transform:uppercase;letter-spacing:.05em;color:var(--ws-kicker);margin:0;font-size:.82rem;font-weight:600}.bb-priority{color:var(--ws-priority);font-size:.72rem;font-weight:600}.bb-status-badge{background:var(--ws-panel);border:1px solid var(--ws-border);color:var(--color-muted);text-transform:lowercase;border-radius:12px;padding:.15rem .5rem;font-size:.75rem;display:inline-block}.bb-status-badge.active{color:var(--color-accent);border-color:var(--ws-border-accent)}.bb-status-badge.success{color:var(--color-success);border-color:#2d6b3f}.bb-callout{border:1px solid var(--ws-border-soft);border-radius:var(--radius-sm);background:var(--ws-panel);color:var(--ws-text-bright);white-space:pre-wrap;word-break:break-word;margin:.25rem 0 0;padding:.55rem .65rem;font-size:.95rem;line-height:1.5}.bb-task-active{border:1px dashed var(--color-accent);border-radius:var(--radius-sm);color:var(--color-text);white-space:pre-wrap;word-break:break-word;background:#1a2530;margin:0;padding:.5rem .55rem;font-size:.95rem;line-height:1.45;position:relative;overflow:hidden}.bb-chip-row{flex-wrap:wrap;gap:.35rem;display:flex}.bb-chip{border:1px solid var(--ws-border-accent);color:#cfe8ff;background-color:#0d47a1;border-radius:999px;padding:.2rem .5rem;font-size:.78rem;display:inline-block}.bb-chip.active{border-color:var(--color-accent);color:#e8f4ff;background:#243a52}.tools-chip-row{flex-wrap:wrap;gap:.35rem;display:flex}.tool-chip{color:#e8e8e8;background:#1a1a1a;border:1px solid #3a3a3a;border-radius:999px;align-items:center;gap:.3rem;max-width:100%;padding:.18rem .5rem .18rem .4rem;font-family:inherit;font-size:.78rem;line-height:1.25;display:inline-flex}button.tool-chip{cursor:pointer}button.tool-chip:hover{filter:brightness(1.12)}button.tool-chip:focus-visible{outline-offset:2px;outline:2px solid #7cc8ff}.tool-dot{background:#888;border-radius:50%;flex-shrink:0;width:.5rem;height:.5rem}.tool-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.tool-kind{text-transform:uppercase;letter-spacing:.04em;color:#9aa7b5;border-left:1px solid #333;padding-left:.3rem;font-size:.65rem}.tool-add-hint{color:#ffb4b4;margin-left:.05rem;font-size:.85rem;font-weight:700;line-height:1}.tool-chip.status-owned{background:#142018;border-color:#2d5a3a}.tool-chip.status-owned .tool-dot{background:#3ecf6a;box-shadow:0 0 0 2px #3ecf6a33}.tool-chip.status-missing{background:#241414;border-color:#6a3030}.tool-chip.status-missing .tool-dot{background:#ff6b6b;box-shadow:0 0 0 2px #ff6b6b33}.tool-chip.status-unknown{background:#1f1a10;border-color:#5a4a28}.tool-chip.status-unknown .tool-dot{background:#e0b84a}.row{flex-wrap:wrap;align-items:flex-end;gap:.5rem;display:flex}.grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.6rem;display:grid}.muted{color:var(--color-muted)}.hidden{display:none}label{flex-direction:column;gap:.25rem;font-size:.9rem;display:flex}.wide-input{flex:100%}:where(input,textarea,select,button:not(.reassess-confidence):not(.tool-chip)){border-radius:var(--radius-sm);color:var(--color-text);background:#222;border:1px solid #444;padding:.45rem;font-size:.95rem}button{cursor:pointer;transition:background .12s}:where(button:hover:not(:disabled):not(.reassess-confidence):not(.tool-chip)){background:#2b2b2b}:where(button:disabled:not(.reassess-confidence)){opacity:.45;cursor:not-allowed}.workspace-page{width:100%;min-width:0;font-size:.84rem}.workspace-page .card{padding:.7rem .75rem}.workspace-page label{font-size:inherit;gap:.15rem}.workspace-page input,.workspace-page textarea,.workspace-page select{padding:.28rem .42rem;font-size:.8rem;line-height:1.3}.workspace-page textarea{min-height:2.25rem}.workspace-page .btn-primary{padding:.32rem .75rem;font-size:.8rem}.workspace-tabs{border-bottom:1px solid var(--color-border);background:var(--color-bg);flex-wrap:wrap;align-items:flex-end;gap:.35rem;margin-bottom:.35rem;padding:0 .35rem;display:flex}.workspace-page .workspace-tabs{z-index:40;position:sticky;top:0}.workspace-tab-btn{border:1px solid var(--color-border);border-bottom-color:var(--color-border);color:#b7b7b7;letter-spacing:.01em;opacity:.82;background:#1b1b1b;border-radius:10px 10px 0 0;margin-bottom:-1px;padding:.32rem .72rem;font-family:inherit;font-size:.82rem;font-weight:500}.workspace-tab-btn:hover:not(:disabled){color:#d7d7d7;opacity:.95}.workspace-tab-btn:disabled,.workspace-tab-btn.tab-btn-disabled{opacity:.38;color:#7a7a7a;cursor:not-allowed;filter:grayscale(.35)}.workspace-tab-btn.active{border-color:var(--color-border);border-bottom-color:var(--color-surface);color:#f5fbff;letter-spacing:.015em;text-shadow:0 0 10px #7cc8ff2e;opacity:1;z-index:1;background:#2263ab;font-weight:700;position:relative}.subnav-tabs{background:#151515;border:1px solid #2a2a2a;border-radius:10px;flex-wrap:wrap;gap:.35rem;margin-bottom:.35rem;padding:.25rem;display:flex}.subnav-tab-btn{color:#9aa7b5;cursor:pointer;text-align:center;background:0 0;border:1px solid #0000;border-radius:7px;flex:auto;min-width:6.5rem;padding:.38rem .65rem;font-family:inherit;font-size:.8rem;font-weight:600;line-height:1.25}.subnav-tab-btn:hover:not(:disabled){color:#d8e8f8;background:#1c1c1c}.subnav-tab-btn.active{color:#e8f4ff;background:#1e2f3f;border-color:#2a4a6e;box-shadow:0 0 0 1px #2a4a6e59}.subnav-tab-btn:disabled{opacity:.45;cursor:not-allowed}.workspace-panel{border-top-left-radius:0;gap:.5rem;margin-top:0;display:grid}.workspace-page .data-table{width:calc(100% - 1.5rem);margin-inline:.75rem}.workspace-section-title{color:var(--ws-text-bright,#f5f5f5);margin:0 0 .25rem;font-size:.92rem}.workspace-section-sub{color:var(--ws-kicker,#9fb6c8);margin:0 0 .5rem;font-size:.76rem;line-height:1.35}.workspace-meta{margin:0 0 .25rem;font-size:.76rem}.workspace-status{margin:0 0 .25rem;font-size:.78rem}.workspace-divider{border:none;border-top:1px solid var(--color-border);width:100%;height:0;margin:.5rem 0;padding:0}.workspace-matrix-grid{gap:.35rem;margin-bottom:.25rem;display:grid}.workspace-matrix-row{grid-template-columns:minmax(0,1.4fr) minmax(7rem,.65fr);align-items:center;gap:.35rem;font-size:.78rem;display:grid}.workspace-matrix-row.tools-row{grid-template-columns:minmax(0,1fr) minmax(10rem,1.15fr)}@media (width<=640px){.workspace-matrix-row,.workspace-matrix-row.tools-row{grid-template-columns:1fr}}.workspace-callout{border-radius:var(--radius-sm);background:#121820;border:1px solid #2a3a4a;margin:.25rem 0 0;padding:.4rem .5rem;font-size:.74rem;line-height:1.4}.btn-primary{color:#d8ecff;background:#1a4a72;border:1px solid #2a6496;border-radius:6px;justify-self:start;padding:.45rem 1rem;font-size:.88rem;font-weight:600}.btn-primary:hover:not(:disabled){background:#225a8a}.btn-primary:disabled{opacity:.5;cursor:wait}.reassess-card{border-radius:var(--radius);background:#0e1e2e;border:1px solid #2a4a6e;margin:.5rem 0 .7rem;padding:.6rem .75rem}.reassess-card p{margin:.15rem 0}.reassess-preview-card p{font-size:.9rem}.reassess-card-header{justify-content:space-between;align-items:center;margin-bottom:.4rem;display:flex}.reassess-label{letter-spacing:.06em;text-transform:uppercase;color:var(--color-accent);font-size:.75rem;font-weight:700}.reassess-confidence{background:#1a2a3a;border-radius:12px;padding:.15rem .5rem;font-family:inherit;font-size:12px;font-weight:700}.reassess-card .reassess-card-header :is(button,span).reassess-confidence{font-size:12px}.confidence-high{color:var(--color-success);border:1px solid #2d6b3f}.confidence-mid{color:var(--color-warning);border:1px solid #6b5a1e}.confidence-low{color:var(--color-error);border:1px solid #6b2a2a}.reassess-field{gap:.25rem;margin-top:.55rem;display:grid}.reassess-field:first-of-type{margin-top:.15rem}.reassess-field-label{text-transform:uppercase;letter-spacing:.05em;color:var(--color-accent);opacity:.8;font-size:.72rem}.reassess-field-value{color:var(--color-text);margin:0;font-size:.92rem;line-height:1.4}.bb-hypothesis-text{border:1px solid var(--ws-border-soft);border-radius:var(--radius-sm);background:var(--ws-panel);color:var(--ws-text-bright);margin:0;padding:.45rem .55rem;font-size:1rem;font-style:italic;line-height:1.35}.dtc-code-pill{color:#ffe3d9;letter-spacing:.01em;background:#bf360c;border:1px solid #8d2610;border-radius:6px;margin:0 .12rem;padding:.02rem .35rem 0;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-style:normal;font-weight:500;line-height:1;display:inline-block}.reassess-preview-overlay{z-index:1350;background:#0000009e;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0;overflow:auto}.reassess-preview-modal{flex-direction:column;gap:.65rem;width:min(42rem,100%);min-height:0;max-height:min(90vh,90dvh);margin:0;display:flex;overflow:hidden;box-shadow:0 14px 36px #00000073}.reassess-preview-modal>.card-header-row,.reassess-preview-modal>.reassess-preview-meta,.reassess-preview-modal>.reassess-preview-actions{flex:none}.reassess-preview-meta{margin:0;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.8rem}.reassess-preview-card{overscroll-behavior:contain;scrollbar-width:thin;-webkit-overflow-scrolling:touch;flex:auto;min-height:0;margin:0;overflow:hidden auto}.reassess-preview-steps{gap:.35rem;margin:0;padding:0;list-style:none;display:grid}.reassess-preview-steps li{border:1px dashed var(--color-accent);border-radius:var(--radius-sm);color:var(--color-text);background:#1a2530;margin:0;padding:.45rem .55rem;font-size:.88rem;line-height:1.35}.reassess-preview-actions{border-top:1px solid var(--color-border,#333);justify-content:flex-end;padding-top:.15rem;display:flex}.runner-finished-banner{border:1px solid var(--color-success);color:#d8ffe5;border-radius:var(--radius-sm);background:#18261e;padding:.5rem .65rem;font-size:.9rem}pre{border:1px solid var(--color-border);white-space:pre-wrap;border-radius:var(--radius-sm);background:#101010;padding:.75rem;font-size:.83rem;overflow:auto}#app{height:100%}.brainbay-tour-step.shepherd-has-title .shepherd-content .shepherd-header{background:#1f2937;border-bottom:1px solid #374151;padding:12px 16px 10px}.brainbay-tour-step .shepherd-title{color:#6aa84f;font-size:14px;font-weight:700}.brainbay-tour-step .shepherd-content{color:#d1d5db;background:#111827;border:1px solid #374151;border-radius:10px;max-width:340px;font-size:13px;line-height:1.6;box-shadow:0 12px 32px #00000080}.brainbay-tour-step .shepherd-text{color:#d1d5db;padding:12px 16px}.brainbay-tour-step .shepherd-text p{margin:0 0 8px}.brainbay-tour-step .shepherd-text p:last-child{margin-bottom:0}.brainbay-tour-step .shepherd-text strong{color:#f9fafb;font-weight:600}.brainbay-tour-step .shepherd-footer{background:#1f2937;border-top:1px solid #374151;border-radius:0 0 10px 10px;justify-content:flex-end;gap:8px;padding:10px 16px;display:flex}.brainbay-tour-step .shepherd-button{color:#d1d5db;cursor:pointer;background:#374151;border:none;border-radius:6px;padding:6px 14px;font-size:12.5px;font-weight:600;transition:background .15s}.brainbay-tour-step .shepherd-button.shepherd-button-primary{color:#fff;background:#6aa84f}.brainbay-tour-step .shepherd-button.shepherd-button-primary:hover{background:#5a9441}.brainbay-tour-step .shepherd-button.shepherd-button-secondary:hover{background:#4b5563}.brainbay-tour-step .shepherd-cancel-icon{color:#6b7280;font-size:18px;line-height:1}.brainbay-tour-step .shepherd-cancel-icon:hover{color:#f3f4f6}.shepherd-modal-overlay-container .shepherd-modal-overlay{fill:#0000008c}.shepherd-button{color:#ffffffbf;cursor:pointer;background:#3288e6;border:0;border-radius:3px;margin-right:.5rem;padding:.5rem 1.5rem;transition:all .5s}.shepherd-button:not(:disabled):hover{color:#ffffffbf;background:#196fcc}.shepherd-button.shepherd-button-secondary{color:#000000bf;background:#f1f2f3}.shepherd-button.shepherd-button-secondary:not(:disabled):hover{color:#000000bf;background:#d6d9db}.shepherd-button:disabled{cursor:not-allowed}.shepherd-footer{border-bottom-right-radius:5px;border-bottom-left-radius:5px;justify-content:flex-end;padding:0 .75rem .75rem;display:flex}.shepherd-footer .shepherd-button:last-child{margin-right:0}.shepherd-cancel-icon{color:#808080bf;cursor:pointer;background:0 0;border:none;margin:0;padding:0;font-size:2em;font-weight:400;transition:color .5s}.shepherd-cancel-icon:hover{color:#000000bf}.shepherd-has-title .shepherd-content .shepherd-cancel-icon{color:#808080bf}.shepherd-has-title .shepherd-content .shepherd-cancel-icon:hover{color:#000000bf}.shepherd-title{color:#000000bf;flex:1 0 auto;margin:0;padding:0;font-size:1rem;font-weight:400;display:flex}.shepherd-header{border-top-left-radius:5px;border-top-right-radius:5px;justify-content:flex-end;align-items:center;padding:.75rem .75rem 0;line-height:2em;display:flex}.shepherd-has-title .shepherd-content .shepherd-header{background:#e6e6e6;padding:1em}.shepherd-text{color:#000000bf;padding:.75em;font-size:1rem;line-height:1.3em}.shepherd-text p{margin-top:0}.shepherd-text p:last-child{margin-bottom:0}.shepherd-content{border-radius:5px;outline:none;padding:0}.shepherd-element{opacity:0;visibility:hidden;z-index:9999;background:#fff;border:none;border-radius:5px;outline:none;width:100%;max-width:400px;margin:0;padding:0;transition:opacity .3s,visibility .3s;box-shadow:0 1px 4px #0003}.shepherd-enabled.shepherd-element{opacity:1;visibility:visible}.shepherd-element[data-popper-reference-hidden]:not(.shepherd-centered){opacity:0;pointer-events:none;visibility:hidden}.shepherd-element,.shepherd-element *,.shepherd-element :after,.shepherd-element :before{box-sizing:border-box}.shepherd-arrow,.shepherd-arrow:before{z-index:-1;width:16px;height:16px;position:absolute}.shepherd-arrow:before{content:"";background:#fff;transform:rotate(45deg)}.shepherd-element[data-popper-placement^=top]>.shepherd-arrow{bottom:-8px}.shepherd-element[data-popper-placement^=bottom]>.shepherd-arrow{top:-8px}.shepherd-element[data-popper-placement^=left]>.shepherd-arrow{right:-8px}.shepherd-element[data-popper-placement^=right]>.shepherd-arrow{left:-8px}.shepherd-element.shepherd-centered>.shepherd-arrow{opacity:0}.shepherd-element.shepherd-has-title[data-popper-placement^=bottom]>.shepherd-arrow:before{background-color:#e6e6e6}.shepherd-target-click-disabled.shepherd-enabled.shepherd-target,.shepherd-target-click-disabled.shepherd-enabled.shepherd-target *{pointer-events:none}.shepherd-modal-overlay-container{opacity:0;pointer-events:none;z-index:9997;width:100vw;height:0;transition:all .3s ease-out,height 0s .3s,opacity .3s;position:fixed;top:0;left:0;overflow:hidden}.shepherd-modal-overlay-container.shepherd-modal-is-visible{opacity:.5;height:100vh;transition:all .3s ease-out,height,opacity .3s;transform:translateZ(0)}.shepherd-modal-overlay-container.shepherd-modal-is-visible path{pointer-events:all}.login-scene.svelte-8ukb9p{background:var(--color-bg);justify-content:center;align-items:center;min-height:82vh;padding:2rem 1rem;display:flex;position:relative;overflow:hidden}.login-streamers.svelte-8ukb9p{pointer-events:none;background-image:var(--login-streamers-bg);opacity:.95;background-position:top;background-repeat:no-repeat;background-size:cover;position:absolute;inset:0}.login-streamers.svelte-8ukb9p:after{content:"";background:linear-gradient(180deg, #070d1514 0%, #1111118c 42%, var(--color-bg) 78%);position:absolute;inset:0}.login-card.svelte-8ukb9p{z-index:1;background:#161a20f0;border:1px solid #2f3f52;flex-direction:column;gap:.85rem;width:min(420px,100%);padding:1.65rem 1.5rem 1.4rem;display:flex;position:relative;box-shadow:0 24px 48px #00000073,inset 0 0 0 1px #7cc8ff0f}.login-card-accent.svelte-8ukb9p{background:linear-gradient(90deg, transparent, var(--color-accent), #5eead4, transparent);opacity:.85;border-radius:0 0 4px 4px;height:2px;position:absolute;top:0;left:1.25rem;right:1.25rem}.login-brand.svelte-8ukb9p{justify-content:center;margin-top:.15rem;display:flex}.login-logo.svelte-8ukb9p{filter:contrast(1.08)saturate(1.05)brightness(1.03);width:min(220px,72vw);display:block}.login-kicker.svelte-8ukb9p{text-align:center;letter-spacing:.14em;text-transform:uppercase;color:#8eb4cc;margin:0;font-size:.72rem}.login-highlights.svelte-8ukb9p{border-radius:var(--radius-sm);background:#0a10188c;border:1px solid #7cc8ff24;flex-direction:column;gap:.45rem;margin:.15rem 0 .35rem;padding:.75rem .85rem;list-style:none;display:flex}.login-highlights.svelte-8ukb9p li:where(.svelte-8ukb9p){color:#c5d4e0;padding-left:1.1rem;font-size:.84rem;line-height:1.35;position:relative}.login-highlights.svelte-8ukb9p li:where(.svelte-8ukb9p):before{content:"";background:var(--color-accent);border-radius:50%;width:.42rem;height:.42rem;position:absolute;top:.48em;left:0;box-shadow:0 0 8px #7cc8ff8c}.login-error.svelte-8ukb9p{text-align:center;margin:0;font-size:.84rem}.login-btn.svelte-8ukb9p{color:#e8f4ff;letter-spacing:.01em;background:linear-gradient(#1f5f92 0%,#164a73 100%);border:1px solid #2f6fa3;border-radius:8px;justify-content:center;align-items:center;gap:.55rem;width:100%;margin-top:.15rem;padding:.72rem 1rem;font-size:.92rem;font-weight:600;transition:transform .12s,box-shadow .12s,background .12s;display:flex;box-shadow:0 10px 22px #0a284659}.login-btn.svelte-8ukb9p:hover:not(:disabled){background:linear-gradient(#2670a8 0%,#1a5685 100%);transform:translateY(-1px);box-shadow:0 12px 26px #0a284673}.login-btn.svelte-8ukb9p:active:not(:disabled){transform:translateY(0)}.login-btn.svelte-8ukb9p:disabled{opacity:.72;cursor:wait;transform:none}.login-btn-arrow.svelte-8ukb9p{opacity:.9;font-size:1.05rem;line-height:1}@media (width<=480px){.login-card.svelte-8ukb9p{padding:1.35rem 1.1rem 1.15rem}}.auth-interstitial.svelte-1n46o8q{text-align:center;max-width:28rem;margin:2rem auto;padding:1.25rem 1.35rem}.auth-interstitial.svelte-1n46o8q .error:where(.svelte-1n46o8q){margin:0 0 .75rem}.linkish.svelte-1n46o8q{color:var(--color-accent,#5eb1ff);cursor:pointer;font:inherit;background:0 0;border:none;padding:0;text-decoration:underline}
