@import "https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@300..700&display=swap";@import "https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,600;8..60,700&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500;600&display=swap";._panel_1kafr_1{border:1px solid var(--line);border-radius:var(--radius-tab);background:var(--bg-raised);color:var(--ink);font-family:var(--font-sans)}._header_1kafr_9{justify-content:space-between;align-items:center;gap:var(--sp-3);padding:var(--sp-3) var(--sp-4);border-bottom:1px solid var(--line);display:flex}._header_1kafr_9 h2,._header_1kafr_9 span,._summary_1kafr_20,._metadata_1kafr_21,._change_1kafr_22{margin:0}._header_1kafr_9 h2{font:inherit;font-weight:700}._header_1kafr_9 span{color:var(--ink-2);font-size:var(--fs-meta)}._entries_1kafr_36{margin:0;padding:0;list-style:none;display:grid}._entry_1kafr_43{gap:var(--sp-2);padding:var(--sp-3) var(--sp-4);border-bottom:1px solid var(--line);display:grid}._entry_1kafr_43:last-child{border-bottom:0}._summary_1kafr_20{font-size:var(--fs-body);line-height:normal}._metadata_1kafr_21{gap:var(--sp-1) var(--sp-3);color:var(--ink-2);font-size:var(--fs-label);flex-wrap:wrap;display:flex}._change_1kafr_22{gap:var(--sp-2);grid-template-columns:minmax(0,1fr) minmax(0,1fr);display:grid}._change_1kafr_22 div{min-width:0;padding:var(--sp-2);border-radius:var(--radius-glyph);background:var(--bg-inset)}._change_1kafr_22 dt{color:var(--ink-2);font-size:var(--fs-status);text-transform:uppercase;font-weight:700}._change_1kafr_22 dd{margin:var(--sp-1) 0 0;overflow-wrap:anywhere;font-size:var(--fs-meta);line-height:normal}._empty_1kafr_89{padding:var(--sp-4);color:var(--ink-2);font-size:var(--fs-body);margin:0}.lab-button{--button-border:#000;--button-primary-bg:#000;--button-primary-fg:#fff;--button-secondary-bg:#fff;--button-secondary-fg:#000;--button-icon-size:36px;--button-min-height:36px;--button-padding-block:4px;--button-padding-inline:16px;--radius-button:14px;--component-radius-button:var(--radius-button)}.lab-hq{--font-sans:"Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--font-display:var(--font-sans);--font-logo:var(--font-sans);--bg-canvas:#f5f6f7;--bg-chrome:#eef0f2;--bg-raised:#f8fafb;--bg-inset:#e6eaef;--bg-thumb:#eef1f4;--surface:#fff;--canvas-paper:#fbfbfb;--surface-lane:#ffffff8c;--surface-ghost-hover:#ffffffb3;--surface-system:#e9eff6;--surface-provider:#f9ecdf;--line:#d3d8de;--input-border:#c5cbd2;--line-soft:#e2e6eb;--line-ghost:#c3cad3;--line-system:#c9d9ea;--line-provider:#ecd0b4;--dot:#d8dde3;--ink:#1b2028;--ink-2:#515863;--muted:#8b929c;--faint:#b3bac4;--flow-arrow:#c1c8d1;--transparent:transparent;--button-border:#000;--button-primary-bg:#000;--button-primary-fg:#fff;--button-secondary-bg:#fff;--button-secondary-fg:#000;--button-icon-size:36px;--button-min-height:36px;--button-padding-block:4px;--button-padding-inline:16px;--component-radius-button:var(--radius-button);--component-color-button-primary-bg:var(--button-primary-bg);--component-color-button-primary-text:var(--button-primary-fg);--component-color-button-primary-hover-bg:var(--button-primary-bg);--component-color-button-primary-active-bg:var(--button-primary-bg);--component-color-button-secondary:var(--button-border);--accent:#3a6ea5;--accent-hover:#2f5b89;--accent-soft:#9dbfdd;--focus-ring:#3a6ea58c;--peach:#f0cdb6;--peach-line:#dcae87;--provider-label:#b97e4e;--sticky-yellow:#fff1a8;--sticky-peach:#f6d2bd;--sticky-blue:#cfe2f3;--sticky-green:#d8e8d5;--sticky-ink:#303640;--sticky-handle:#30364052;--shadow-sm:0 4px 14px -8px #28374e40;--shadow-md:0 12px 30px -16px #28374e47;--shadow-tab-active:inset 0 -2px 0 var(--accent);--radius-2xs:2px;--radius-xs:3px;--radius-control:4px;--radius-button:14px;--radius-glyph:5px;--radius-sm:8px;--radius-tab:10px;--radius-md:12px;--radius-lg:16px;--radius-xl:18px;--radius-pill:999px;--fs-title:18px;--fs-tab:14px;--fs-lane-title:21px;--fs-lane-no:22px;--fs-body:13px;--fs-empty-title:13.5px;--fs-meta:12px;--fs-card:12.5px;--fs-caption:15px;--fs-chip-meta:11.5px;--fs-icon:16px;--fs-icon-sm:15px;--fs-label:11px;--fs-status:10.5px;--fs-readable-floor:16px;--fs-chapter-title:36px;--fs-section-title:25px;--fs-section-no:24px;--fs-core-job:19px;--fs-principle:21px;--sp-1:4px;--sp-2:8px;--sp-3:12px;--sp-4:16px;--sp-5:20px;--sp-6:24px;--sp-8:40px;--sp-10:64px;--header-h:40px;--dock-bottom:20px;--intake-w:282px;--motion-lift:.2s;--ease-lift:cubic-bezier(.2, .7, .2, 1)}.lab-hq .app-header,.lab-hq .canvas{--bg-canvas:var(--canvas-paper);--bg-chrome:#fafbfb;--bg-raised:#fafafa;--bg-inset:#f0f0f0;--bg-well:#f7f7f7;--bg-thumb:#eef1f4;--surface:#fff;--surface-lane:#ffffff8c;--surface-ghost-hover:#ffffffb3;--line-strong:#b0b0b0;--line:#d8dbde;--line-soft:#e2e2e2;--line-dashed:#bdbdbd;--line-ghost:var(--line-dashed);--dot-grid:#d8dde3;--dot:var(--dot-grid);--ink:#1c1c1c;--ink-2:#666;--muted:#8f8f8f;--faint:#c4c4c4;--flow-arrow:var(--faint);--glyph-stroke:#4a4a4a;--mark-ring:#2e2e2e;--mark-core:#6b6b6b;--accent:#46688f;--accent-fill:#d9e2eb;--accent-hover:var(--ink);--accent-soft:var(--ink);--focus-ring:#1c1c1c73;--shadow-sm:0 4px 14px -8px #0000001a;--shadow-md:0 12px 30px -16px #00000024;--shadow-selected:0 12px 30px -16px #00000038;--shadow-hover:0 8px 22px -14px #0003;--shadow-tab-active:inset 0 -2px 0 var(--ink);--family-border:#c9cdd1;--family-bg:#eff1f3;--family-border-selected:var(--ink);--family-bg-selected:var(--surface);--tab-inactive:var(--faint);--tab-active:var(--ink);--motion-family-color:.15s}@keyframes dl-enter{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes dl-fade{0%{opacity:0}to{opacity:1}}.lab-hq .canvas,.lab-hq .chapter-workspace{animation:dl-enter .32s var(--ease-lift) both}.lab-hq .lanes>.lane,.lab-hq .chapter-filmstrip>.chapter-artboard{animation:dl-enter .36s var(--ease-lift) both}.lab-hq,.lab-hq *{box-sizing:border-box}.lab-hq{height:100dvh;color:var(--ink);background:var(--bg-canvas);font-family:var(--font-sans);margin:0;overflow:hidden}.lab-hq a{color:var(--accent);text-decoration:none}.lab-hq a:hover{color:var(--accent-hover)}.lab-hq .app-header a,.lab-hq .canvas a{color:var(--ink)}.lab-hq .app-header a:hover,.lab-hq .canvas a:hover{color:var(--ink-2)}.lab-hq :focus-visible{outline:3px solid var(--focus-ring);outline-offset:3px}.lab-hq button:not(.concept):not(.app-tab):not(.intake-tab){font-weight:500;border-radius:var(--radius-button)!important}.lab-button{font-weight:500;border-radius:var(--component-radius-button)!important}.lab-primary-action{border:1px solid var(--button-border);background:var(--button-primary-bg);color:var(--button-primary-fg);min-height:var(--button-min-height);padding:var(--button-padding-block) var(--button-padding-inline)}.lab-secondary-action{border:1px solid var(--button-border);background:var(--button-secondary-bg);color:var(--button-secondary-fg);min-height:var(--button-min-height);padding:var(--button-padding-block) var(--button-padding-inline)}.lab-hq button:not(.concept):not(.app-tab):not(.intake-tab).lab-icon-button,.lab-hq.lab-dialog>button:not(.concept):not(.app-tab):not(.intake-tab):last-child{padding:0;border-radius:var(--radius-pill)!important}.lab-hq button:not(.concept):not(.app-tab):not(.intake-tab):has(>svg:only-child){padding:0;border-radius:var(--radius-pill)!important}.lab-hq .app{flex-direction:column;height:100%;display:flex;overflow:hidden}.lab-hq .app-header{z-index:3;height:var(--header-h);flex:0 0 var(--header-h);border-bottom:1px solid var(--line);background:var(--bg-chrome);color:var(--ink);padding:0 var(--sp-4);animation:dl-fade .28s var(--ease-lift) both;align-items:center;display:flex;position:sticky;top:0}.lab-hq .app-brand{align-items:center;gap:9px;width:260px;display:flex}.lab-hq .app-logo{border:1.5px solid var(--mark-core);border-radius:var(--radius-pill);justify-content:center;align-items:center;width:16px;height:16px;display:flex}.lab-hq .app-logo:after{border-radius:var(--radius-pill);background:var(--mark-ring);content:"";width:7px;height:7px}.lab-hq .app-title{font-family:var(--font-logo);font-size:var(--fs-title);letter-spacing:-.02em;white-space:nowrap;margin:0;font-weight:500}.lab-hq .app-title em{color:var(--ink);font-style:italic;font-weight:400}.lab-hq .app-nav{flex:1;justify-content:center;align-self:stretch;display:flex}.lab-hq .app-tab{color:var(--tab-active);cursor:pointer;font:inherit;font-size:var(--fs-tab);white-space:nowrap;flex-shrink:0;align-items:center;padding:0 14px;font-weight:500;display:flex;background:var(--transparent)!important;border:0!important;border-radius:0!important}.lab-hq .app-tab:hover{color:var(--ink)}.lab-hq .app-tab.is-active{box-shadow:var(--shadow-tab-active);color:var(--tab-active);font-weight:600}.lab-hq .app-tab.is-disabled{color:var(--tab-inactive);cursor:default}.lab-hq .app-actions{justify-content:flex-end;width:260px;display:flex}.lab-hq .btn-icon{border:1px solid var(--line);border-radius:var(--radius-pill);background:var(--surface);width:30px;height:30px;color:var(--ink);cursor:pointer;font:inherit;font-size:var(--fs-icon);flex-shrink:0;justify-content:center;align-items:center;line-height:1;display:flex}.lab-hq .btn-icon:hover{border-color:var(--ink)}.lab-hq .btn-icon--sm{width:28px;height:28px;font-size:var(--fs-icon-sm)}.lab-hq .btn-icon--xs{width:24px;height:24px;color:var(--ink-2);font-size:var(--fs-meta);padding:0;line-height:1}.lab-hq .collapse-glyph{justify-content:center;align-items:center;line-height:1;display:flex}.lab-hq .collapse-glyph--down{transform:translateY(-3px)}.lab-hq .action-menu-wrap{position:relative}.lab-hq .action-menu{z-index:5;top:calc(100% + var(--sp-2));border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--surface);min-width:220px;box-shadow:var(--shadow-md);padding:var(--sp-1);position:absolute;right:0;overflow:hidden}.lab-hq .action-menu-item{align-items:center;gap:var(--sp-2);border-radius:var(--radius-glyph);background:var(--transparent);width:100%;color:var(--ink);cursor:pointer;font:inherit;font-size:var(--fs-body);padding:var(--sp-2) var(--sp-3);text-align:left;border:0;display:flex}.lab-hq .action-menu-item:hover{background:var(--bg-raised);color:var(--ink)}.lab-hq .action-menu-item .concept-thumb{width:80px;height:36px;padding:var(--sp-1);flex:0 0 80px}.lab-hq .glyph-family{gap:var(--sp-1);border:1px solid var(--line);border-radius:var(--radius-glyph);background:var(--surface);width:100%;height:100%;padding:var(--sp-1);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.lab-hq .glyph-family-head{border-radius:var(--radius-2xs);background:var(--accent-fill);grid-column:1/-1}.lab-hq .glyph-family-card{border:1px solid var(--line-soft);border-radius:var(--radius-2xs);background:var(--bg-raised);min-width:0}.lab-hq .canvas{background-color:var(--bg-canvas);background-image:radial-gradient(var(--dot) 1px, var(--transparent) 1px);min-height:0;color:var(--ink);background-size:26px 26px;flex:1;position:relative;overflow:hidden}.lab-hq .lanes{gap:var(--sp-4);height:100%;padding:var(--sp-5) var(--sp-8) 170px var(--sp-10);flex-direction:column;display:flex;overflow-y:auto}.lab-hq .canvas.flows-collapsed .lanes{padding-bottom:var(--sp-10)}.lab-hq .lane{z-index:0;border:1px solid var(--family-border);border-radius:var(--radius-xl);background:var(--family-bg);cursor:default;min-width:0;min-height:0;padding:var(--sp-3) 18px 18px;transition:border-color var(--motion-family-color) ease, background-color var(--motion-family-color) ease, box-shadow var(--motion-lift) var(--ease-lift);flex-direction:column;flex:none;display:flex;position:relative}.lab-hq .lane .family-drag-handle{top:calc(var(--sp-5) + 2px);left:calc(var(--sp-3) * -2 - var(--sp-1));z-index:2;border-radius:var(--radius-xs);background:var(--transparent);width:16px;height:16px;color:var(--muted);cursor:grab;opacity:.5;transition:opacity var(--motion-family-color) ease, transform var(--motion-family-color) ease, color var(--motion-family-color) ease;pointer-events:auto;flex-direction:column;gap:3px;padding:0;display:flex;position:absolute;transform:none;border:0!important}.lab-hq .lane:hover .family-drag-handle,.lab-hq .lane:focus-within .family-drag-handle{opacity:1}.lab-hq .lane .family-drag-handle:hover,.lab-hq .lane .family-drag-handle:focus-visible{color:var(--ink);background:var(--bg-raised)}.lab-hq .lane .family-drag-handle:active{cursor:grabbing;color:var(--accent)}.lab-hq .lane .family-drag-handle:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}.lab-hq .lane .family-drag-handle-line{border-radius:var(--radius-pill);transform-origin:50%;background:currentColor;width:16px;height:2px}.lab-hq .lane.is-dragging-family{cursor:grabbing;opacity:.48;z-index:10;will-change:transform;pointer-events:none;box-shadow:var(--shadow-selected);animation:none}.lab-hq .lane.is-dragging-family .family-drag-handle{pointer-events:none}.lab-hq .lane.is-family-drop-target{border-color:var(--family-border-selected);box-shadow:var(--shadow-selected)}.lab-hq .lane[data-family-drop-position=before]:before,.lab-hq .lane[data-family-drop-position=after]:after{content:"";left:calc(var(--sp-3) * -1);right:calc(var(--sp-3) * -1);border-radius:var(--radius-pill) var(--radius-pill) 0 0;background:var(--accent);height:3px;box-shadow:0 0 0 2px var(--surface), 0 0 0 4px var(--accent);pointer-events:none;z-index:5;position:absolute}.lab-hq .lane[data-family-drop-position=before]:before{top:calc(var(--sp-3) * -1 - 3px);border-radius:var(--radius-pill) var(--radius-pill) 0 0}.lab-hq .lane[data-family-drop-position=after]:after{bottom:calc(var(--sp-3) * -1 - 3px);border-radius:0 0 var(--radius-pill) var(--radius-pill)}.lab-hq .lane:has(.action-menu){z-index:1}.lab-hq .lane:hover{border-color:var(--family-border-selected);background:var(--family-bg-selected);box-shadow:var(--shadow-hover)}.lab-hq .lane.is-selected-family{border-color:var(--family-border-selected);background:var(--family-bg-selected);box-shadow:var(--shadow-selected)}.lab-hq .lane-head{align-items:baseline;gap:10px;display:flex}.lab-hq .lane-no,.lab-hq .lane-name{font-family:var(--font-display)}.lab-hq .lane-no{color:var(--provider-label);font-size:var(--fs-lane-no);font-weight:300}.lab-hq .lane-name{font-size:var(--fs-lane-title);font-weight:300}.lab-hq .lane-meta{margin-left:var(--sp-2);color:var(--muted);font-size:var(--fs-meta)}.lab-hq .lane-head .action-menu-wrap{align-self:center;margin-left:auto}.lab-hq .lane-desc{max-width:720px;color:var(--ink-2);font-size:var(--fs-readable-floor);text-overflow:ellipsis;white-space:nowrap;margin:0;line-height:1.5;overflow:hidden}.lab-hq .lane-cards{gap:var(--sp-3);margin-top:var(--sp-4);flex-wrap:wrap;display:flex}.lab-hq .concept{border:1px solid var(--ink-2);border-radius:var(--radius-md);background:var(--surface);width:172px;box-shadow:var(--shadow-sm);color:var(--ink);cursor:pointer;font:inherit;text-align:left;transition:transform var(--motion-lift) var(--ease-lift), box-shadow var(--motion-lift) var(--ease-lift);flex:0 0 172px;padding:9px;display:block}.lab-hq .concept:hover{box-shadow:var(--shadow-hover);color:var(--ink);transform:translateY(-3px)}.lab-hq .concept.is-selected{border-color:var(--ink);box-shadow:var(--shadow-selected)}.lab-hq .concept-thumb{border:1px solid var(--line-soft);border-radius:var(--radius-sm);background:var(--bg-thumb);justify-content:center;align-items:center;height:56px;padding:7px;display:flex}.lab-hq .concept-name{min-height:30px;color:var(--ink);font-size:var(--fs-readable-floor);font-synthesis:none;margin:7px 0 0;font-weight:500;line-height:1.3}.lab-hq .hq-editable-copy{border-radius:var(--radius-2xs);cursor:text}.lab-hq .hq-editable-copy:hover{box-shadow:inset 0 -1px 0 var(--accent-soft)}.lab-hq .hq-editable-copy:focus{outline:3px solid var(--focus-ring);outline-offset:3px}.lab-hq .concept-status{margin:var(--sp-1) 0 0;color:var(--muted);font-size:var(--fs-status);letter-spacing:.1em;text-transform:uppercase;align-items:center;gap:6px;font-weight:600;display:flex}.lab-hq .concept-status:before{border-radius:var(--radius-pill);background:var(--faint);content:"";width:6px;height:6px}.lab-hq .concept--ghost{border:1px dashed var(--muted);background:var(--transparent);min-height:108px;box-shadow:none;color:var(--ink);font-size:var(--fs-card);justify-content:center;align-items:center;font-weight:600;display:flex}.lab-hq .concept--ghost:hover{background:var(--surface-ghost-hover);box-shadow:none;color:var(--ink);transform:none}.lab-hq .ghost-artifact-menu{flex:0 0 172px;width:172px}.lab-hq .ghost-artifact-menu>.concept--ghost{flex:none;width:100%;height:100%}.lab-hq .glyph-wire,.lab-hq .glyph-prototype{border-radius:var(--radius-glyph);background:var(--surface);width:100%;height:100%;padding:6px;position:relative}.lab-hq .glyph-wire{gap:var(--sp-1);flex-direction:column;display:flex}.lab-hq .glyph-wire .bar{border-radius:var(--radius-xs);background:var(--accent-fill);width:60%;height:6px}.lab-hq .glyph-wire .field{border-radius:var(--radius-xs);background:var(--bg-inset);flex:1}.lab-hq .glyph-flow,.lab-hq .glyph-wireflow{align-items:center;gap:5px;width:100%;display:flex}.lab-hq .glyph-node{width:var(--sp-3);height:var(--sp-3);flex:0 0 var(--sp-3);border:2px solid var(--glyph-stroke);border-radius:var(--radius-pill);background:var(--surface)}.lab-hq .glyph-node--end{border-color:var(--accent)}.lab-hq .glyph-screen{border:2px solid var(--glyph-stroke);border-radius:var(--radius-control);background:var(--surface);flex:0 0 17px;width:17px;height:13px}.lab-hq .glyph-screen--peach{border-color:var(--accent);background:var(--accent-fill)}.lab-hq .glyph-connector{background:var(--faint);flex:1;height:2px}.lab-hq .glyph-browser-dots{gap:3px;display:flex}.lab-hq .glyph-browser-dots i{width:var(--sp-1);height:var(--sp-1);border-radius:var(--radius-pill);background:var(--line)}.lab-hq .glyph-browser-field{border-radius:var(--radius-xs);background:var(--bg-inset);width:50%;height:7px;margin-top:6px}.lab-hq .glyph-hotspot{right:9px;bottom:var(--sp-2);width:var(--sp-3);height:var(--sp-3);border:2px solid var(--accent);border-radius:var(--radius-pill);position:absolute}.lab-hq .glyph-story{gap:var(--sp-1);width:100%;height:100%;display:flex}.lab-hq .glyph-story-column{flex-direction:column;flex:1;gap:3px;display:flex}.lab-hq .glyph-story-epic,.lab-hq .glyph-story-card{border-radius:var(--radius-2xs);height:9px}.lab-hq .glyph-story-epic{background:var(--accent-fill)}.lab-hq .glyph-story-card{background:var(--surface)}.lab-hq button.intake-tab{z-index:2;border:1px solid var(--line);background:var(--surface);color:var(--ink-2);cursor:pointer;font:inherit;font-size:var(--fs-status);letter-spacing:.13em;text-transform:uppercase;writing-mode:vertical-rl;border-left:0;padding:14px 7px;font-weight:600;position:absolute;top:92px;left:0;border-radius:0 var(--radius-tab) var(--radius-tab) 0!important}.lab-hq .intake-tab:hover{color:var(--ink)}.lab-hq .intake-panel{z-index:2;top:76px;left:var(--sp-5);width:var(--intake-w);border:1px solid var(--line-strong);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-md);padding:var(--sp-4) var(--sp-4) 18px;position:absolute}.lab-hq .intake-content{color:var(--ink)}.lab-hq .intake-head{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.lab-hq .intake-empty{border:1px dashed var(--line-dashed);border-radius:var(--radius-md);background:var(--bg-raised);padding:var(--sp-6) var(--sp-4);text-align:center}.lab-hq .intake-empty-title{font-size:var(--fs-empty-title);margin:0;font-weight:600}.lab-hq .intake-empty-body{color:var(--ink-2);font-size:var(--fs-card);margin:6px 0 0;line-height:1.55}.lab-hq .intake-list{gap:var(--sp-3);display:grid}.lab-hq .intake-item{border-bottom:1px solid var(--line-soft);padding-bottom:var(--sp-3)}.lab-hq .intake-item:last-child{border-bottom:0;padding-bottom:0}.lab-hq .intake-item-meta,.lab-hq .intake-item-actions{color:var(--muted);font-size:var(--fs-meta)}.lab-hq .intake-item-title{margin:var(--sp-1) 0;font-size:var(--fs-body);font-weight:600}.lab-hq .label{color:var(--muted);font-size:var(--fs-label);letter-spacing:.14em;text-transform:uppercase;font-weight:600}.lab-hq .flows-dock{z-index:2;right:var(--sp-6);bottom:var(--dock-bottom);left:var(--sp-6);border:1px solid var(--line-strong);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-md);padding:var(--sp-3) 18px var(--sp-4);position:absolute}.lab-hq .flows-head{align-items:center;gap:14px;margin-bottom:10px;display:flex}.lab-hq .flows-caption{color:var(--ink-2);font-family:var(--font-display);font-size:var(--fs-caption);margin:0 0 0 auto;font-style:italic;font-weight:400}.lab-hq .flows-track-wrap{overflow-x:auto}.lab-hq .flows-track{align-items:center;gap:var(--sp-2);min-width:880px;display:flex}.lab-hq .flow-chip{border:1px solid var(--line-soft);border-radius:var(--radius-tab);background:var(--bg-raised);min-width:0;color:var(--ink);cursor:pointer;font:inherit;padding:9px var(--sp-3);text-align:left;flex:1;align-self:stretch}.lab-hq .flow-chip:hover,.lab-hq .flow-chip.is-highlighted{border-color:var(--ink)}.lab-hq .flow-chip.is-dimmed{color:var(--muted)}.lab-hq .flow-chip-name{font-size:var(--fs-readable-floor);font-weight:500;line-height:1.3;display:block}.lab-hq .flow-chip-steps{color:var(--muted);font-size:var(--fs-chip-meta);margin-top:2px;display:block}.lab-hq .flow-arrow{color:var(--flow-arrow);font-size:var(--fs-body);flex-shrink:0}.lab-hq .flows-pill{z-index:2;bottom:var(--dock-bottom);border:1px solid var(--line);border-radius:var(--radius-pill);background:var(--surface);box-shadow:var(--shadow-sm);color:var(--ink-2);cursor:pointer;font:inherit;font-size:var(--fs-label);letter-spacing:.14em;padding:var(--sp-2) 18px;text-transform:uppercase;align-items:center;gap:10px;font-weight:600;display:flex;position:absolute;left:50%;transform:translate(-50%)}.lab-hq .flows-pill:hover{border-color:var(--ink);color:var(--ink)}.lab-hq .lab-notice{z-index:4;top:calc(var(--header-h) + var(--sp-3));right:var(--sp-6);border:1px solid var(--line-strong);border-radius:var(--radius-md);background:var(--surface);max-width:320px;box-shadow:var(--shadow-sm);color:var(--ink-2);font-size:var(--fs-body);padding:var(--sp-3) var(--sp-4);margin:0;position:absolute}.lab-hq .lab-collaboration-status{background:var(--bg-raised);border-bottom:1px solid var(--line);color:var(--ink-2);font-size:var(--fs-meta);align-items:center;gap:var(--sp-2);min-height:32px;padding:var(--sp-1) var(--sp-4);justify-content:flex-end;display:flex}.lab-hq .lab-collaboration-profile form{gap:var(--sp-5);display:grid}.lab-hq .lab-collaboration-profile-field{gap:var(--sp-2);display:grid}.lab-hq .lab-collaboration-profile>button{display:none}.lab-hq.lab-dialog{width:min(calc(100vw - (var(--sp-6) * 2)), 560px);max-width:560px;height:auto;max-height:calc(100vh - (var(--sp-6) * 2));gap:var(--sp-4);border-color:var(--line-strong);border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-md);color:var(--ink);padding:var(--sp-5);overflow:auto}.lab-hq.lab-dialog>button:last-child{top:var(--sp-2);right:var(--sp-2);width:var(--button-icon-size);height:var(--button-icon-size);border:1px solid var(--button-border);border-radius:var(--radius-button);background:var(--button-secondary-bg);color:var(--button-secondary-fg);font-weight:500}.lab-hq.lab-dialog h2{color:var(--ink);font-family:inherit;font-size:var(--fs-title);font-weight:500}.lab-hq.lab-dialog h2+p{color:var(--ink-2);font-family:inherit;font-size:var(--fs-body)}.lab-hq .lab-dialog-header{gap:var(--sp-1)}.lab-hq .lab-dialog-form{gap:var(--sp-4);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.lab-hq .lab-dialog-field{align-content:start;gap:var(--sp-2);display:grid}.lab-hq .lab-dialog-field label{color:var(--ink);font-size:var(--fs-body)}.lab-hq .lab-dialog-field input:not([type=radio]):not([type=checkbox]),.lab-hq .lab-dialog-field select,.lab-hq .lab-dialog-field textarea,.lab-hq .chapter-input-field input,.lab-hq .chapter-input-field textarea{border-color:var(--input-border);border-radius:var(--radius-control);background:var(--surface);color:var(--ink);font-family:inherit;font-size:var(--fs-body)}.lab-hq .lab-dialog-field input:not([type=radio]):not([type=checkbox]),.lab-hq .lab-dialog-field select,.lab-hq .chapter-input-field input{height:34px}.lab-hq .lab-dialog-field input:focus-visible,.lab-hq .lab-dialog-field select:focus-visible,.lab-hq .lab-dialog-field textarea:focus-visible,.lab-hq .chapter-input-field input:focus-visible,.lab-hq .chapter-input-field textarea:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}.lab-hq .lab-dialog-span-full{grid-column:1/-1}.lab-hq .lab-dialog-error{color:var(--provider-label);font-size:var(--fs-meta);margin:0}.lab-hq .lab-dialog-footer{justify-content:flex-end;gap:var(--sp-2);flex-direction:row;display:flex}.lab-hq .lab-dialog-footer>button{width:auto;min-height:var(--button-min-height);border-radius:var(--radius-button);height:auto;font-size:var(--fs-body);padding:var(--button-padding-block) var(--button-padding-inline);font-weight:500}.lab-hq .lab-dialog-footer>.ds-primary-action{box-shadow:none;border:1px solid var(--button-border)!important;background:var(--button-primary-bg)!important;color:var(--button-primary-fg)!important;font-weight:500!important}.lab-hq .lab-dialog-footer>.ds-primary-action:hover{border-color:var(--button-border)!important;background:var(--button-primary-bg)!important}.lab-hq .lab-dialog-footer>.bg-destructive{border-color:var(--provider-label)!important;background:var(--provider-label)!important}.lab-hq .lab-dialog-footer>button:not(.ds-primary-action,.bg-destructive,.is-destructive){border:1px solid var(--button-border);background:var(--button-secondary-bg);color:var(--button-secondary-fg);font-weight:500}.lab-hq .lab-dialog-footer>button:not(.ds-primary-action,.bg-destructive,.is-destructive):hover{border-color:var(--button-border);background:var(--button-secondary-bg);color:var(--button-secondary-fg)}.lab-hq.lab-dialog-preview{width:min(calc(100vw - (var(--sp-6) * 2)), 880px);max-width:880px;height:min(calc(100vh - (var(--sp-6) * 2)), 680px);grid-template-rows:auto minmax(0,1fr) auto;gap:0;max-height:680px;padding:0;overflow:hidden}.lab-hq .lab-dialog-preview-header{border-bottom:1px solid var(--line-soft);padding:var(--sp-4) 48px var(--sp-3) var(--sp-4)}.lab-hq .lab-dialog-preview-body{min-height:0;padding:var(--sp-4);overflow-y:auto}.lab-hq .lab-dialog-flow-preview{gap:var(--sp-3);min-height:0;padding:var(--sp-4);grid-template-rows:auto minmax(0,1fr);display:grid;overflow:hidden}.lab-hq .lab-dialog-preview-footer{border-top:1px solid var(--line-soft);padding:var(--sp-3) var(--sp-4)}.lab-collaboration-dock{z-index:30;right:var(--sp-3);bottom:var(--sp-10);align-items:center;gap:var(--sp-1);border:1px solid var(--line);border-radius:var(--radius-sm);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);height:auto;box-shadow:var(--shadow-sm);padding:var(--sp-1);background:#fff9;display:flex;position:fixed;overflow:visible}.lab-collaboration-identity{align-items:center;gap:var(--sp-1);color:var(--ink-2);font-size:var(--fs-status);padding-left:var(--sp-1);line-height:1;display:flex}.lab-collaboration-dot{border-radius:var(--radius-pill);background:var(--accent);width:6px;height:6px}.lab-hq .lab-collaboration-dock-action{height:auto;min-height:0;color:var(--ink-2);padding:var(--sp-1);text-underline-offset:2px;box-shadow:none;background:0 0;border:0;font-size:9px;font-weight:400;line-height:1;text-decoration:underline;border-radius:0!important}.lab-hq .lab-collaboration-dock-action:hover{color:var(--ink);background:0 0}.lab-collaboration-dot.is-error{background:var(--provider-label)}.lab-hq .lab-collaboration-migration{max-width:640px}.lab-collaboration-migration-list{gap:var(--sp-1);max-height:52vh;padding:var(--sp-2) 0;display:grid;overflow:auto}.lab-collaboration-migration-item{align-items:start;gap:var(--sp-3);border-bottom:1px solid var(--line-soft);color:var(--ink);padding:var(--sp-2);grid-template-columns:auto 1fr;display:grid}.lab-collaboration-migration-item span{gap:var(--sp-1);display:grid}.lab-collaboration-migration-item small,.lab-collaboration-migration-status,.lab-collaboration-error{color:var(--ink-2);font-size:var(--fs-meta)}.lab-collaboration-conflict,.lab-collaboration-restore{align-items:center;gap:var(--sp-2);border:1px solid var(--line);border-radius:var(--radius-control);background:var(--bg-raised);color:var(--ink-2);font-size:var(--fs-meta);padding:var(--sp-2);display:flex}.lab-hq .lab-collaboration-restore{z-index:8;right:var(--sp-4);bottom:var(--sp-4);box-shadow:var(--shadow-sm);position:absolute}.lab-hq .chapter-input-attribution,.lab-hq .chapter-sticky-attribution,.lab-hq .chapter-three-diagram-author{color:var(--ink-2);font-size:var(--fs-meta);font-weight:400}.lab-hq .chapter-sticky-attribution{right:var(--sp-2);bottom:var(--sp-2);left:var(--sp-2);margin:0;position:absolute}.lab-hq .chapter-input-delete,.lab-hq .chapter-three-flow-status.is-error,.lab-hq .lab-collaboration-error{color:var(--provider-label)}.lab-hq .chapter-workspace{flex:1;min-height:0;position:relative;overflow:hidden}.lab-hq .chapter-canvas{background-color:var(--canvas-paper);cursor:grab;overscroll-behavior:contain;width:100%;height:100%;overflow:auto}.lab-hq .chapter-canvas.is-panning{cursor:grabbing;-webkit-user-select:none;user-select:none}.lab-hq .chapter-canvas-surface{background-color:var(--canvas-paper);background-image:radial-gradient(var(--dot) 1px, var(--transparent) 1px);background-size:26px 26px;width:5200px;height:2600px;position:relative}.lab-hq .chapter-canvas-content{transform-origin:0 0;position:absolute;top:480px;left:640px}.lab-hq .chapter-canvas-toolbar{z-index:2;bottom:var(--sp-6);left:var(--sp-6);align-items:center;gap:var(--sp-1);border:1px solid var(--line);border-radius:var(--radius-pill);background:var(--surface);box-shadow:var(--shadow-md);height:44px;padding:5px 6px;display:flex;position:absolute}.lab-hq .chapter-note-source{border-radius:var(--radius-pill);background:var(--transparent);color:var(--ink-2);cursor:grab;font:inherit;font-size:var(--fs-readable-floor);padding:2px var(--sp-3) 2px 2px;touch-action:none;-webkit-user-select:none;user-select:none;border:0;justify-content:center;align-items:center;gap:10px;display:flex}.lab-hq .chapter-note-source:hover{background:var(--bg-inset);color:var(--ink)}.lab-hq .chapter-note-source.is-dragging{cursor:grabbing}.lab-hq .chapter-note-source-icon{border:1px solid var(--sticky-handle);border-radius:var(--radius-control);background:var(--sticky-yellow);width:22px;height:22px;box-shadow:var(--shadow-sm);flex:0 0 22px;position:relative;overflow:hidden}.lab-hq .chapter-note-source-icon:after{border-top:1px solid var(--sticky-handle);border-left:1px solid var(--sticky-handle);background:var(--surface);content:"";width:10px;height:10px;position:absolute;bottom:-1px;right:-1px}.lab-hq .chapter-sticky-note{z-index:2;border:1px solid var(--sticky-handle);border-radius:var(--radius-control);min-width:140px;min-height:120px;box-shadow:var(--shadow-md);color:var(--sticky-ink);cursor:move;padding:22px var(--sp-4) var(--sp-4);touch-action:none;position:absolute;overflow:hidden}.lab-hq .chapter-sticky-note:before{border-radius:var(--radius-pill);background:var(--sticky-handle);content:"";width:28px;height:3px;position:absolute;top:9px;left:50%;transform:translate(-50%)}.lab-hq .chapter-sticky-note.is-draft{opacity:.8;pointer-events:none}.lab-hq .chapter-sticky-note.is-yellow,.lab-hq .chapter-palette-swatch.is-yellow{background:var(--sticky-yellow)}.lab-hq .chapter-sticky-note.is-peach,.lab-hq .chapter-palette-swatch.is-peach{background:var(--sticky-peach)}.lab-hq .chapter-sticky-note.is-blue,.lab-hq .chapter-palette-swatch.is-blue{background:var(--sticky-blue)}.lab-hq .chapter-sticky-note.is-green,.lab-hq .chapter-palette-swatch.is-green{background:var(--sticky-green)}.lab-hq .chapter-sticky-copy,.lab-hq .chapter-sticky-editor{width:100%;min-height:100%;color:inherit;font:inherit;font-size:var(--fs-readable-floor);white-space:pre-wrap;margin:0;line-height:1.45}.lab-hq .chapter-sticky-copy:empty:before{color:var(--ink-2);content:"Double-click to add a comment"}.lab-hq .chapter-sticky-editor{resize:none;background:var(--transparent);border:0;outline:0;height:100%;padding:0}.lab-hq .chapter-context-palette{z-index:3;gap:var(--sp-2);border:1px solid var(--line);border-radius:var(--radius-pill);background:var(--surface);box-shadow:var(--shadow-md);padding:var(--sp-2);transform:translateY(calc(-100% - var(--sp-2)));display:flex;position:absolute}.lab-hq .chapter-palette-swatch{border:1px solid var(--button-border);border-radius:var(--radius-button);cursor:pointer;width:28px;height:28px;font-weight:500}.lab-hq .chapter-palette-swatch.is-selected{box-shadow:0 0 0 2px var(--surface), 0 0 0 4px var(--accent)}.lab-hq .chapter-note-delete{border:0;border-left:1px solid var(--line-soft);background:var(--transparent);color:var(--destructive);cursor:pointer;font:inherit;font-size:var(--fs-readable-floor);padding:0 var(--sp-2) 0 var(--sp-4)}.lab-hq .chapter-note-delete:hover{background:var(--surface-provider)}.lab-hq .chapter-editable-copy{cursor:text}.lab-hq .chapter-editable-copy[data-empty=true]{width:100%;display:inline-block}.lab-hq .chapter-source-trigger>span:has(>.chapter-editable-copy[data-empty=true]){flex:1}.lab-hq .chapter-editable-copy:hover{box-shadow:inset 0 -1px 0 var(--accent-soft)}.lab-hq .chapter-editable-copy:has(.chapter-copy-editor){width:100%;display:block}.lab-hq .chapter-copy-editor{resize:vertical;border:1px solid var(--accent-soft);border-radius:var(--radius-control);background:var(--surface);width:100%;min-width:120px;min-height:30px;color:inherit;field-sizing:content;font:inherit;font-size:inherit;line-height:inherit;padding:var(--sp-1) var(--sp-2)}.lab-hq .chapter-zoom-controls{z-index:2;right:var(--sp-6);bottom:var(--sp-6);align-items:center;gap:var(--sp-2);border:1px solid var(--line);border-radius:var(--radius-pill);background:var(--surface);height:44px;box-shadow:var(--shadow-md);padding:6px var(--sp-2);display:flex;position:absolute}.lab-hq .chapter-zoom-button,.lab-hq .chapter-zoom-reset{background:var(--transparent);color:var(--ink);cursor:pointer;font:inherit;font-size:var(--fs-readable-floor);border:0}.lab-hq .chapter-zoom-button{border-radius:var(--radius-pill);justify-content:center;align-items:center;width:30px;height:30px;display:flex}.lab-hq .chapter-zoom-button:hover,.lab-hq .chapter-zoom-reset:hover{color:var(--accent-hover)}.lab-hq .chapter-zoom-button:disabled{color:var(--faint);cursor:default}.lab-hq .chapter-zoom-value{min-width:52px;color:var(--ink-2);font-size:var(--fs-readable-floor);text-align:center}.lab-hq .chapter-zoom-reset{border-left:1px solid var(--line-soft);padding:0 var(--sp-2) 0 var(--sp-3)}.lab-hq .chapter-plate{margin-bottom:var(--sp-6)}.lab-hq .chapter-eyebrow,.lab-hq .chapter-title,.lab-hq .chapter-section-title,.lab-hq .chapter-section-dek,.lab-hq .chapter-semantic-label,.lab-hq .chapter-neutral-label,.lab-hq .chapter-provider-label,.lab-hq .chapter-fact-value,.lab-hq .chapter-core-job-copy,.lab-hq .chapter-work-system h3,.lab-hq .chapter-work-system p,.lab-hq .chapter-principle-statement p{margin:0}.lab-hq .chapter-eyebrow,.lab-hq .chapter-semantic-label,.lab-hq .chapter-neutral-label,.lab-hq .chapter-provider-label{font-size:var(--fs-readable-floor);letter-spacing:.12em;text-transform:uppercase;font-weight:600}.lab-hq .chapter-eyebrow,.lab-hq .chapter-semantic-label{color:var(--accent)}.lab-hq .chapter-eyebrow{letter-spacing:.16em}.lab-hq .chapter-title{margin-top:var(--sp-1);font-family:var(--font-display);font-size:var(--fs-chapter-title);font-weight:300;line-height:1.1}.lab-hq .chapter-filmstrip{align-items:flex-start;gap:36px;display:flex}.lab-hq .chapter-artboard{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-sm);padding:var(--sp-6) 26px;flex:none}.lab-hq .lanes>.lane:nth-of-type(2),.lab-hq .chapter-filmstrip>.chapter-artboard:nth-of-type(2){animation-delay:50ms}.lab-hq .lanes>.lane:nth-of-type(3),.lab-hq .chapter-filmstrip>.chapter-artboard:nth-of-type(3){animation-delay:.1s}.lab-hq .lanes>.lane:nth-of-type(4),.lab-hq .chapter-filmstrip>.chapter-artboard:nth-of-type(4){animation-delay:.15s}.lab-hq .lanes>.lane:nth-of-type(n+5),.lab-hq .chapter-filmstrip>.chapter-artboard:nth-of-type(n+5){animation-delay:.2s}.lab-hq .chapter-artboard--inputs{width:620px;position:relative}.lab-hq .chapter-input-add{top:var(--sp-6);border:1px solid var(--button-border);border-radius:var(--radius-button);background:var(--button-secondary-bg);color:var(--button-secondary-fg);font-weight:500;position:absolute;right:26px}.lab-hq .chapter-input-add svg{width:18px;height:18px}.lab-hq .chapter-source-label{align-items:center;gap:var(--sp-2);min-width:0;display:inline-flex}.lab-hq .chapter-input-provenance-mark{color:var(--accent);flex:none;display:inline-flex}.lab-hq .chapter-input-provenance-mark svg{width:16px;height:16px}.lab-hq .chapter-input-form{gap:var(--sp-5);display:grid}.lab-hq .chapter-input-field{gap:var(--sp-2);display:grid}.lab-hq .chapter-input-provenance-field{gap:var(--sp-3);border:0;margin:0;padding:0;display:grid}.lab-hq .chapter-input-provenance-field legend{color:var(--ink);font-size:var(--fs-readable-floor);font-weight:500}.lab-hq .chapter-input-provenance-option{align-items:center;gap:var(--sp-2);display:flex}.lab-hq .chapter-input-warning{color:var(--ink-2);font-size:var(--fs-readable-floor)}.lab-hq .chapter-artboard--jobs{width:680px}.lab-hq .chapter-artboard--principle{width:640px}.lab-hq .chapter-artboard--placement{width:760px}.lab-hq .chapter-workspace.is-multi-provider .chapter-artboard--inputs{width:720px}.lab-hq .chapter-workspace.is-multi-provider .chapter-artboard--jobs{width:860px}.lab-hq .chapter-workspace.is-multi-provider .chapter-artboard--principle{width:760px}.lab-hq .chapter-workspace.is-multi-provider .chapter-artboard--placement{width:1040px}.lab-hq .chapter-section-title-row{align-items:baseline;gap:10px;display:flex}.lab-hq .chapter-section-number,.lab-hq .chapter-section-title{font-family:var(--font-display);font-weight:400}.lab-hq .chapter-section-number{color:var(--peach-line);font-size:var(--fs-section-no)}.lab-hq .chapter-section-title{font-size:var(--fs-section-title);font-weight:300}.lab-hq .chapter-section-dek{color:var(--ink-2);font-size:var(--fs-readable-floor);margin-top:3px}.lab-hq .chapter-table-head,.lab-hq .chapter-table-row{align-items:baseline;display:grid}.lab-hq .chapter-table--inputs .chapter-table-head,.lab-hq .chapter-table--inputs .chapter-table-row{grid-template-columns:1fr 1.35fr}.lab-hq .chapter-table--placement .chapter-table-head,.lab-hq .chapter-table--placement .chapter-table-row{gap:0 var(--sp-4);grid-template-columns:1.25fr 1fr 1fr}.lab-hq .chapter-table--placement.is-multi-provider .chapter-table-head,.lab-hq .chapter-table--placement.is-multi-provider .chapter-table-row{grid-template-columns:1.1fr 1fr 1.1fr 1.35fr}.lab-hq .chapter-table-head{border-bottom:1px solid var(--line);color:var(--muted);font-size:var(--fs-readable-floor);letter-spacing:.12em;text-transform:uppercase;padding:14px 0 7px;font-weight:600}.lab-hq .chapter-table-row{border-bottom:1px solid var(--line-soft);color:var(--ink-2);font-size:var(--fs-readable-floor);padding:9px 0}.lab-hq .chapter-table-key{color:var(--ink);font-weight:500}.lab-hq .chapter-table-source-cell{min-width:0}.lab-hq .chapter-hypothesis-grid,.lab-hq .chapter-trust-contract,.lab-hq .chapter-primary-workspace,.lab-hq .chapter-persistent-context{color:var(--ink-2);font-size:var(--fs-readable-floor);line-height:1.5}.lab-hq .chapter-hypothesis-grid strong,.lab-hq .chapter-trust-contract strong,.lab-hq .chapter-primary-workspace strong,.lab-hq .chapter-persistent-context strong,.lab-hq .chapter-review-prompt strong{color:var(--ink);font-weight:600}.lab-hq .chapter-primary-workspace strong,.lab-hq .chapter-persistent-context strong,.lab-hq .chapter-review-prompt strong{margin-right:var(--sp-1)}.lab-hq .chapter-hypothesis-grid{gap:var(--sp-2);margin-top:var(--sp-3);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.lab-hq .chapter-hypothesis-grid>div{border:1px solid var(--line-soft);border-radius:var(--radius-tab);background:var(--bg-raised);padding:var(--sp-3)}.lab-hq .chapter-hypothesis-grid p,.lab-hq .chapter-trust-contract p{margin-top:var(--sp-1)}.lab-hq .chapter-research-note,.lab-hq .chapter-review-prompt{margin-top:var(--sp-3);color:var(--ink-2);font-size:var(--fs-readable-floor);line-height:1.5}.lab-hq .chapter-research-note{border-left:2px solid var(--accent-soft);padding-left:var(--sp-3)}.lab-hq .chapter-review-prompt{border-top:1px solid var(--line-soft);padding-top:var(--sp-3)}.lab-hq .chapter-trust-contract,.lab-hq .chapter-primary-workspace,.lab-hq .chapter-persistent-context{margin-top:var(--sp-4);border:1px solid var(--line-system);border-radius:var(--radius-md);background:var(--surface-system);padding:var(--sp-3) var(--sp-4)}.lab-hq .chapter-primary-workspace{margin-top:var(--sp-3)}.lab-hq .chapter-persistent-context{border-color:var(--line-provider);background:var(--surface-provider)}.lab-hq .chapter-source-trigger{justify-content:space-between;align-items:center;gap:var(--sp-2);background:var(--transparent);width:100%;color:var(--ink-2);cursor:pointer;font:inherit;text-align:left;border:0;padding:0;display:flex}.lab-hq .chapter-source-trigger:hover{color:var(--accent)}.lab-hq .chapter-source-trigger svg{flex:0 0 18px;width:18px;height:18px}.lab-hq.chapter-source-reader{width:min(calc(100vw - (var(--sp-8) * 2)), 1240px);max-width:1240px;height:min(calc(100dvh - (var(--sp-8) * 2)), 840px);border-color:var(--line);background:var(--surface);max-height:840px;box-shadow:var(--shadow-md);grid-template-rows:minmax(0,1fr);grid-template-columns:52px minmax(0,1fr) 52px;gap:0;padding:0;display:grid;inset:50% auto auto 50%;overflow:hidden;transform:translate(-50%,-50%)translate(0,0)}.lab-hq .chapter-source-reader-nav{border:1px solid var(--line);border-radius:var(--radius-pill);background:var(--surface);width:44px;height:44px;color:var(--ink-2);cursor:pointer;justify-content:center;place-self:center;align-items:center;display:flex}.lab-hq .chapter-source-reader-nav:hover{border-color:var(--accent-soft);color:var(--accent)}.lab-hq .chapter-source-reader-nav:disabled{border-color:var(--line-soft);color:var(--faint);cursor:default}.lab-hq .chapter-source-reader-nav svg{width:22px;height:22px}.lab-hq .chapter-source-reader-document{grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0;display:grid;overflow:hidden}.lab-hq .chapter-source-reader-header,.lab-hq .chapter-source-reader-body{width:min(100%,1080px);margin:0 auto}.lab-hq .chapter-source-reader-header{border-bottom:1px solid var(--line);padding:var(--sp-4) var(--sp-5) var(--sp-3)}.lab-hq .chapter-source-reader-kicker{color:var(--accent);font-size:var(--fs-readable-floor);letter-spacing:.12em;text-transform:uppercase;font-weight:600}.lab-hq .chapter-source-reader-title{margin-top:var(--sp-2);color:var(--ink);font-family:var(--font-display);font-size:28px;font-weight:400;line-height:1.05}.lab-hq .chapter-source-reader-summary{max-width:780px;margin-top:var(--sp-2);color:var(--ink-2);font-size:var(--fs-caption);line-height:1.45}.lab-hq .chapter-source-reader-meta{gap:var(--sp-4);margin-top:var(--sp-4);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.lab-hq .chapter-source-reader-meta div{border-left:2px solid var(--accent-soft);padding-left:var(--sp-3)}.lab-hq .chapter-source-reader-meta dt{color:var(--muted);font-size:var(--fs-readable-floor);letter-spacing:.08em;text-transform:uppercase;font-weight:600}.lab-hq .chapter-source-reader-meta dd{margin-top:var(--sp-1);color:var(--ink);font-size:var(--fs-readable-floor)}.lab-hq .chapter-source-reader-body{padding:var(--sp-4) var(--sp-5) var(--sp-6);overflow-y:auto}.lab-hq .chapter-source-reader-body section+section{margin-top:var(--sp-8)}.lab-hq .chapter-source-reader-markdown{color:var(--ink-2);font-size:var(--fs-readable-floor);overflow-wrap:anywhere;line-height:1.65}.lab-hq .chapter-source-reader-markdown>:first-child{margin-top:0}.lab-hq .chapter-source-reader-markdown>*+*{margin-top:var(--sp-4)}.lab-hq .chapter-source-reader-markdown h1,.lab-hq .chapter-source-reader-markdown h2,.lab-hq .chapter-source-reader-markdown h3,.lab-hq .chapter-source-reader-markdown h4,.lab-hq .chapter-source-reader-markdown h5,.lab-hq .chapter-source-reader-markdown h6,.lab-hq .chapter-source-reader-body>section>h2{color:var(--ink);font-family:var(--font-display);font-weight:400;line-height:1.15}.lab-hq .chapter-source-reader-markdown h1,.lab-hq .chapter-source-reader-body>section>h2{font-size:var(--fs-section-title)}.lab-hq .chapter-source-reader-markdown h2{font-size:var(--fs-principle)}.lab-hq .chapter-source-reader-markdown h3{font-size:var(--fs-readable-floor);font-weight:600}.lab-hq .chapter-source-reader-markdown h4,.lab-hq .chapter-source-reader-markdown h5,.lab-hq .chapter-source-reader-markdown h6{font-size:var(--fs-caption);font-weight:600}.lab-hq .chapter-source-reader-body p,.lab-hq .chapter-source-reader-body li,.lab-hq .chapter-source-reader-markdown td,.lab-hq .chapter-source-reader-markdown th{color:var(--ink-2);font-size:var(--fs-readable-floor);line-height:1.65}.lab-hq .chapter-source-reader-body p{margin-top:var(--sp-3)}.lab-hq .chapter-source-reader-markdown a{color:var(--accent);text-underline-offset:2px;text-decoration:underline}.lab-hq .chapter-source-reader-markdown a:hover{color:var(--accent-hover)}.lab-hq .chapter-source-reader-markdown strong{color:var(--ink);font-weight:600}.lab-hq .chapter-source-reader-markdown em{color:var(--ink)}.lab-hq .chapter-source-reader-markdown ul,.lab-hq .chapter-source-reader-markdown ol{gap:var(--sp-2);margin:var(--sp-3) 0 0;padding-left:var(--sp-5);display:grid}.lab-hq .chapter-source-reader-markdown ul{list-style:outside}.lab-hq .chapter-source-reader-markdown ol{list-style:decimal}.lab-hq .chapter-source-reader-markdown li::marker{color:var(--accent)}.lab-hq .chapter-source-reader-markdown blockquote{margin:var(--sp-4) 0 0;border-left:2px solid var(--accent-soft);color:var(--ink-2);padding-left:var(--sp-4)}.lab-hq .chapter-source-reader-markdown blockquote .chapter-source-reader-markdown>*+*{margin-top:var(--sp-3)}.lab-hq .chapter-source-reader-markdown hr{border:0;border-top:1px solid var(--line-soft);height:0}.lab-hq .chapter-source-reader-markdown code{border-radius:var(--radius-control);background:var(--bg-raised);color:var(--ink);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:var(--fs-body);padding:0 var(--sp-1)}.lab-hq .chapter-source-reader-markdown pre{border:1px solid var(--line-soft);border-radius:var(--radius-sm);background:var(--bg-raised);padding:var(--sp-4);overflow-x:auto}.lab-hq .chapter-source-reader-markdown pre code{overflow-wrap:normal;white-space:pre;background:0 0;padding:0;line-height:1.55;display:block}.lab-hq .chapter-source-reader-table-wrap{border:1px solid var(--line-soft);border-radius:var(--radius-sm);overflow-x:auto}.lab-hq .chapter-source-reader-markdown table{border-collapse:collapse;width:100%;min-width:max-content}.lab-hq .chapter-source-reader-markdown th,.lab-hq .chapter-source-reader-markdown td{border-bottom:1px solid var(--line-soft);min-width:160px;padding:var(--sp-3) var(--sp-4);text-align:left;vertical-align:top}.lab-hq .chapter-source-reader-markdown th{color:var(--ink);font-weight:600}.lab-hq .chapter-source-reader-markdown tbody tr:last-child td{border-bottom:0}.lab-hq .chapter-source-reader-body ul{gap:var(--sp-2);margin:var(--sp-3) 0 0;padding-left:var(--sp-5);list-style:outside;display:grid}.lab-hq .chapter-source-reader-body li::marker{color:var(--accent)}@media (width<=860px){.lab-hq .lab-dialog-form{grid-template-columns:1fr}.lab-hq .lab-dialog-span-full{grid-column:auto}.lab-hq.chapter-source-reader{width:calc(100vw - (var(--sp-3) * 2));height:calc(100dvh - (var(--sp-3) * 2));grid-template-columns:var(--sp-8) minmax(0, 1fr) var(--sp-8);inset:50% auto auto 50%}.lab-hq .chapter-source-reader-nav{width:36px;height:36px}.lab-hq .chapter-source-reader-header,.lab-hq .chapter-source-reader-body{padding-right:var(--sp-4);padding-left:var(--sp-4)}.lab-hq .chapter-source-reader-title{font-size:var(--fs-section-title)}.lab-hq .chapter-source-reader-meta{grid-template-columns:1fr}}.lab-hq .chapter-facts{gap:36px;margin-top:14px;display:flex}.lab-hq .chapter-facts>div:first-child{flex:none}.lab-hq .chapter-fact-value{font-size:var(--fs-readable-floor);margin-top:3px}.lab-hq .chapter-system-panel,.lab-hq .chapter-provider-panel{border-radius:var(--radius-md)}.lab-hq .chapter-system-panel{border:1px solid var(--line-system);background:var(--surface-system)}.lab-hq .chapter-provider-panel{border:1px solid var(--line-provider);background:var(--surface-provider)}.lab-hq .chapter-provider-label{color:var(--provider-label)}.lab-hq .chapter-core-job{padding:var(--sp-4) 18px;margin-top:14px}.lab-hq .chapter-core-job-copy{font-family:var(--font-display);font-size:var(--fs-core-job);margin-top:6px;line-height:1.4}.lab-hq .chapter-neutral-label{color:var(--muted)}.lab-hq .chapter-work-systems-label{margin-top:18px}.lab-hq .chapter-work-systems{margin-top:var(--sp-2);grid-template-columns:1fr 1fr;gap:10px;display:grid}.lab-hq .chapter-work-system{border:1px solid var(--line-soft);border-radius:var(--radius-tab);background:var(--bg-raised);padding:11px var(--sp-3)}.lab-hq .chapter-work-system h3{font-size:var(--fs-readable-floor);font-weight:600;line-height:1.35}.lab-hq .chapter-work-system p{margin-top:var(--sp-1);color:var(--ink-2);font-size:var(--fs-readable-floor);line-height:1.45}.lab-hq .chapter-forces-heading{border-bottom:1px solid var(--line);margin-top:18px;padding-bottom:7px}.lab-hq .chapter-force{border-bottom:1px solid var(--line-soft);color:var(--ink-2);font-size:var(--fs-readable-floor);grid-template-columns:84px 1fr;align-items:baseline;padding:9px 0;display:grid}.lab-hq .chapter-ownership-model{margin-top:var(--sp-4);align-items:stretch;gap:14px;display:flex}.lab-hq .chapter-owner-panel{padding:var(--sp-3) 14px;flex:1}.lab-hq .chapter-owner-item{margin-top:var(--sp-2);border:1px solid var(--line-system);border-radius:var(--radius-sm);background:var(--surface);font-size:var(--fs-readable-floor);padding:var(--sp-2) var(--sp-3);font-weight:600}.lab-hq .chapter-provider-panel .chapter-owner-item{border-color:var(--line-provider)}.lab-hq .chapter-ownership-arrow{color:var(--accent);align-self:center;font-size:20px}.lab-hq .chapter-principle-statement{border-top:1px solid var(--line-soft);font-family:var(--font-display);font-size:var(--fs-principle);padding-top:var(--sp-4);margin-top:18px;line-height:1.5}.lab-hq .chapter-principle-emphasis{color:var(--accent);font-style:italic}.lab-hq .chapter-boundaries-label{margin-top:18px}.lab-hq .chapter-boundaries{gap:var(--sp-2);margin-top:var(--sp-2);grid-template-columns:1fr 1fr;display:grid}.lab-hq .chapter-boundary{border:1px solid var(--line-provider);border-radius:var(--radius-tab);background:var(--surface-provider);font-size:var(--fs-readable-floor);padding:10px var(--sp-3);font-weight:600;line-height:1.4}.lab-hq .chapter-artboard--inventory{width:640px}.lab-hq .chapter-artboard--workflow{width:560px}.lab-hq .chapter-artboard--states{width:780px}.lab-hq .chapter-artboard--strategy{width:840px}.lab-hq .chapter-interaction-grid{margin-top:var(--sp-4);grid-template-columns:1fr 1fr;gap:10px;display:grid}.lab-hq .chapter-interaction-group{border:1px solid var(--line-soft);border-radius:var(--radius-md);background:var(--bg-raised);padding:13px 15px}.lab-hq .chapter-interaction-group.is-system{border-color:var(--line-system);background:var(--surface-system)}.lab-hq .chapter-interaction-group.is-provider{border-color:var(--line-provider);background:var(--surface-provider)}.lab-hq .chapter-interaction-group.is-wide{grid-column:1/-1}.lab-hq .chapter-interaction-list{margin:var(--sp-2) 0 0;color:var(--ink);font-size:var(--fs-readable-floor);gap:7px;padding:0;line-height:1.4;list-style:none;display:grid}.lab-hq .chapter-interaction-group.is-wide .chapter-interaction-list{gap:7px var(--sp-4);grid-template-columns:1fr 1fr}.lab-hq .chapter-footer-label{margin-top:var(--sp-4)}.lab-hq .chapter-outline-pills,.lab-hq .chapter-anchor-pills{gap:var(--sp-2);margin-top:var(--sp-2);flex-wrap:wrap;display:flex}.lab-hq .chapter-outline-pills>span,.lab-hq .chapter-anchor-pills>span{border:1px solid var(--line);border-radius:var(--radius-pill);color:var(--ink-2);font-size:var(--fs-readable-floor);padding:5px var(--sp-3)}.lab-hq .chapter-anchor-pills>span{border-color:var(--line-system);background:var(--surface-system)}.lab-hq .chapter-workflow-chain{margin-top:var(--sp-4)}.lab-hq .chapter-workflow-step-wrap{flex-direction:column;align-items:center;display:flex}.lab-hq .chapter-workflow-step{gap:var(--sp-3);border:1px solid var(--line-soft);border-radius:var(--radius-tab);background:var(--surface);width:100%;padding:11px var(--sp-3);grid-template-columns:34px 1fr;display:grid}.lab-hq .chapter-workflow-step.is-system{border-color:var(--line-system);background:var(--surface-system)}.lab-hq .chapter-workflow-number{color:var(--peach-line);font-family:var(--font-display);font-size:var(--fs-section-no);line-height:1}.lab-hq .chapter-workflow-step h3,.lab-hq .chapter-workflow-step p{font-size:var(--fs-readable-floor);margin:0;line-height:1.4}.lab-hq .chapter-workflow-step h3{font-weight:600}.lab-hq .chapter-workflow-step p{color:var(--ink-2);margin-top:2px}.lab-hq .chapter-workflow-arrow{color:var(--accent);font-size:20px;line-height:24px}.lab-hq .chapter-state-table{margin-top:var(--sp-4);border:1px solid var(--line);border-radius:var(--radius-md);overflow:hidden}.lab-hq .chapter-state-table-head,.lab-hq .chapter-state-table-row{gap:0 var(--sp-4);grid-template-columns:1fr 1.35fr 1.35fr;display:grid}.lab-hq .chapter-state-table-head{background:var(--ink);color:var(--surface);font-size:var(--fs-readable-floor);letter-spacing:.1em;padding:10px var(--sp-3);text-transform:uppercase;font-weight:600}.lab-hq .chapter-state-table-row{border-bottom:1px solid var(--line-soft);color:var(--ink-2);font-size:var(--fs-readable-floor);padding:10px var(--sp-3);line-height:1.4}.lab-hq .chapter-state-table-row:last-child{border-bottom:0}.lab-hq .chapter-strategy-panel{border:1px solid var(--line-soft);border-radius:var(--radius-md);background:var(--bg-raised);padding:var(--sp-4)}.lab-hq .chapter-strategy-panel.is-system{border-color:var(--line-system);background:var(--surface-system)}.lab-hq .chapter-strategy-panel.is-provider{border-color:var(--line-provider);background:var(--surface-provider)}.lab-hq .chapter-strategy-panel>h3,.lab-hq .chapter-strategy-panel>p,.lab-hq .chapter-operating-model p,.lab-hq .chapter-multimodal-step h4,.lab-hq .chapter-multimodal-step p,.lab-hq .chapter-application-rule h3,.lab-hq .chapter-application-rule p{margin:0}.lab-hq .chapter-strategy-panel>p{margin-top:var(--sp-2);color:var(--ink-2);font-size:var(--fs-readable-floor);line-height:1.5}.lab-hq .chapter-operating-model{margin-top:var(--sp-3)}.lab-hq .chapter-operating-model>div{color:var(--ink-2);font-size:var(--fs-readable-floor);grid-template-columns:1fr 20px;align-items:center;line-height:1.4;display:grid}.lab-hq .chapter-operating-model span{color:var(--accent);text-align:right}.lab-hq .chapter-operating-model .is-emphasis{color:var(--accent);font-weight:600}.lab-hq .chapter-strategy-grid{gap:var(--sp-3);margin-top:var(--sp-3);grid-template-columns:1fr 1fr;display:grid}.lab-hq .chapter-multimodal-panel{margin-top:var(--sp-3)}.lab-hq .chapter-multimodal-sequence{align-items:stretch;gap:var(--sp-2);margin-top:var(--sp-3);display:flex}.lab-hq .chapter-multimodal-step-wrap{align-items:center;gap:var(--sp-2);flex:1;min-width:0;display:flex}.lab-hq .chapter-multimodal-step{border:1px solid var(--line-soft);border-radius:var(--radius-tab);background:var(--surface);flex:1;min-width:0;padding:10px}.lab-hq .chapter-multimodal-step.is-system{border-color:var(--line-system);background:var(--surface-system)}.lab-hq .chapter-multimodal-step h4,.lab-hq .chapter-multimodal-step p{font-size:var(--fs-readable-floor);line-height:1.35}.lab-hq .chapter-multimodal-step h4{font-weight:600}.lab-hq .chapter-multimodal-step p{margin-top:var(--sp-1);color:var(--ink-2)}.lab-hq .chapter-multimodal-step-wrap>span{color:var(--accent);font-size:20px}.lab-hq .chapter-trust-sequence{gap:var(--sp-3);display:flex;margin-top:var(--sp-3)!important}.lab-hq .chapter-trust-sequence strong{color:var(--accent);font-size:var(--fs-readable-floor);letter-spacing:.1em;text-transform:uppercase;font-weight:600}.lab-hq .chapter-application-rule{margin-top:var(--sp-4);border-top:1px solid var(--line);padding-top:var(--sp-4)}.lab-hq .chapter-application-rule p{margin-top:var(--sp-2);font-family:var(--font-display);font-size:var(--fs-core-job);line-height:1.45}.lab-hq .chapter-application-rule em{color:var(--accent)}.lab-hq .sr-only{clip:rect(0, 0, 0, 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media (width<=860px){.lab-hq .app-brand,.lab-hq .app-actions{width:auto;min-width:42px}.lab-hq .app-title{display:none}.lab-hq .app-tab{padding:0 var(--sp-2);font-size:var(--fs-tab)}.lab-hq .lanes{padding-right:var(--sp-4);padding-left:52px}.lab-hq .lane-meta{display:none}}@media (prefers-reduced-motion:reduce){.lab-hq .app-header,.lab-hq .canvas,.lab-hq .chapter-workspace,.lab-hq .lanes>.lane,.lab-hq .chapter-filmstrip>.chapter-artboard{animation:none}}.lab-hq .chapter-three-workspace{flex:1;min-height:0;position:relative;overflow:hidden}.lab-hq .chapter-three-canvas{background-color:var(--canvas-paper);cursor:grab;overscroll-behavior:contain;width:100%;height:100%;overflow:auto}.lab-hq .chapter-three-canvas.is-panning{cursor:grabbing;-webkit-user-select:none;user-select:none}.lab-hq .chapter-three-surface{background-color:var(--canvas-paper);background-image:radial-gradient(var(--dot) 1px, var(--transparent) 1px);background-size:26px 26px;width:11000px;height:5900px;position:relative}.lab-hq .chapter-three-content{transform-origin:0 0;position:absolute;top:480px;left:640px}.lab-hq .chapter-three-artboard--placement{width:820px}.lab-hq .chapter-three-artboard--ideal{width:2650px}.lab-hq .chapter-three-artboard--story-map{width:2100px}.lab-hq .chapter-three-artboard--wireflow{width:3440px}.lab-hq .chapter-three-artboard--prototype{width:420px}.lab-hq .chapter-three-artboard--ideal .chapter-three-diagram{width:2550px;height:1250px}.lab-hq .chapter-three-artboard--erx-flow{width:7800px}.lab-hq .chapter-three-artboard--erx-flow .chapter-three-diagram{width:7700px;height:2600px}.lab-hq .chapter-three-artboard--wireflow .chapter-three-diagram{width:2500px;height:900px}.lab-hq .chapter-three-content .chapter-plate{margin-bottom:var(--sp-6)}.lab-hq .chapter-three-content .chapter-eyebrow,.lab-hq .chapter-three-content .chapter-title,.lab-hq .chapter-three-content .chapter-section-title,.lab-hq .chapter-three-content .chapter-section-dek{margin-bottom:0;margin-left:0;margin-right:0}.lab-hq .chapter-three-content .chapter-eyebrow{color:var(--accent);font-size:var(--fs-readable-floor);letter-spacing:.16em;text-transform:uppercase;font-weight:600}.lab-hq .chapter-three-content .chapter-title{margin-top:var(--sp-1);font-family:var(--font-display);font-size:var(--fs-chapter-title);font-weight:300;line-height:1.1}.lab-hq .chapter-three-content .chapter-filmstrip{align-items:flex-start;gap:36px;display:flex}.lab-hq .chapter-three-content .chapter-artboard{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-sm);padding:var(--sp-6) 26px;flex:none}.lab-hq .chapter-three-content .chapter-section-title-row{align-items:baseline;gap:10px;display:flex}.lab-hq .chapter-three-content .chapter-section-number,.lab-hq .chapter-three-content .chapter-section-title{font-family:var(--font-display);font-weight:400}.lab-hq .chapter-three-content .chapter-section-number{color:var(--peach-line);font-size:var(--fs-section-no)}.lab-hq .chapter-three-content .chapter-section-title{font-size:var(--fs-section-title);font-weight:300}.lab-hq .chapter-three-content .chapter-section-dek{color:var(--ink-2);font-size:calc(var(--fs-readable-floor) + 1px);margin-top:3px;line-height:1.45}.lab-hq .chapter-three-workspace .chapter-zoom-controls{z-index:2;right:var(--sp-6);bottom:var(--sp-6);align-items:center;gap:var(--sp-2);border:1px solid var(--line);border-radius:var(--radius-pill);background:var(--surface);height:44px;box-shadow:var(--shadow-md);padding:6px var(--sp-2);display:flex;position:absolute}.lab-hq .chapter-three-workspace .chapter-zoom-button,.lab-hq .chapter-three-workspace .chapter-zoom-reset{background:var(--transparent);color:var(--ink);cursor:pointer;font:inherit;font-size:var(--fs-readable-floor);border:0}.lab-hq .chapter-three-workspace .chapter-zoom-button{border-radius:var(--radius-pill);justify-content:center;align-items:center;width:30px;height:30px;display:flex}.lab-hq .chapter-three-workspace .chapter-zoom-button:hover,.lab-hq .chapter-three-workspace .chapter-zoom-reset:hover{color:var(--accent-hover)}.lab-hq .chapter-three-workspace .chapter-zoom-button:disabled{color:var(--faint);cursor:default}.lab-hq .chapter-three-workspace .chapter-zoom-value{min-width:52px;color:var(--ink-2);font-size:var(--fs-readable-floor);text-align:center}.lab-hq .chapter-three-workspace .chapter-zoom-reset{border-left:1px solid var(--line-soft);padding:0 var(--sp-2) 0 var(--sp-3)}.lab-hq .chapter-three-panel{border:1px solid var(--line-soft);border-radius:var(--radius-md);background:var(--bg-raised);color:var(--ink);padding:13px 15px}.lab-hq .chapter-three-panel.is-system{border-color:var(--line-system);background:var(--surface-system)}.lab-hq .chapter-three-panel.is-provider{border-color:var(--line-provider);background:var(--surface-provider)}.lab-hq .chapter-three-panel.is-neutral{border-color:var(--line-soft);background:var(--bg-raised)}.lab-hq .chapter-three-placement-rule{margin-top:var(--sp-4);padding:14px var(--sp-4)}.lab-hq .chapter-three-placement-rule>:first-child,.lab-hq .chapter-three-flow-list-header,.lab-hq .chapter-three-coverage-label{color:var(--accent);font-size:var(--fs-readable-floor);letter-spacing:.12em;text-transform:uppercase;font-weight:600}.lab-hq .chapter-three-placement-rule>:last-child{font-family:var(--font-display);font-size:var(--fs-core-job);margin-top:6px;line-height:1.45}.lab-hq .chapter-three-placement-grid{align-items:start;gap:var(--sp-3);grid-template-columns:1fr 1fr;margin-top:14px;display:grid}.lab-hq .chapter-three-placement-grid>:last-child{gap:var(--sp-3);display:grid}.lab-hq .chapter-three-flow-list{margin:0;padding:0;list-style:none}.lab-hq .chapter-three-flow-list+.chapter-three-flow-list{margin-top:var(--sp-3)}.lab-hq .chapter-three-flow-list-header{align-items:baseline;gap:var(--sp-2);display:flex}.lab-hq .chapter-three-panel.is-provider .chapter-three-flow-list-header,.lab-hq .chapter-three-panel.is-provider .chapter-three-flow-id{color:var(--provider-label)}.lab-hq .chapter-three-panel.is-neutral .chapter-three-flow-list-header,.lab-hq .chapter-three-panel.is-neutral .chapter-three-flow-id{color:var(--muted)}.lab-hq .chapter-three-flow-list-header>:last-child{color:var(--muted);letter-spacing:normal;text-transform:none;font-weight:400}.lab-hq .chapter-three-flow-item{font-size:calc(var(--fs-readable-floor) + 1px);margin-top:7px;line-height:1.4}.lab-hq .chapter-three-flow-id{color:var(--accent);font-weight:600}.lab-hq .chapter-three-flow-note{color:var(--muted);font-size:var(--fs-readable-floor);margin-top:1px;line-height:1.4}.lab-hq .chapter-three-diagram{margin-top:var(--sp-3);position:relative;overflow:hidden}.lab-hq .chapter-three-diagram-svg{width:100%;height:100%;position:absolute;inset:0;overflow:visible}.lab-hq .chapter-three-diagram-node{border:1.5px solid var(--accent);border-radius:var(--radius-sm);background:var(--surface);color:var(--ink);padding:7px var(--sp-2);text-align:center;justify-content:center;align-items:center;font-size:13px;line-height:1.3;display:flex;position:absolute}.lab-hq .chapter-three-artboard--erx-flow .chapter-three-diagram-node{font-size:var(--fs-body);overflow:hidden}.lab-hq .chapter-three-diagram-node.is-start{flex-direction:column}.lab-hq .chapter-three-diagram-sticky{border-radius:var(--radius-2xs);box-shadow:var(--shadow-sm);color:var(--ink);font-size:var(--fs-meta);padding:var(--sp-2) var(--sp-2) 6px;white-space:pre-line;flex-direction:column;line-height:1.35;display:flex;position:absolute}.lab-hq .chapter-three-diagram-author{padding-top:var(--sp-2);color:var(--ink-2);margin-top:auto;font-size:10px}.lab-hq .chapter-three-diagram-label{border-radius:var(--radius-xs);background:var(--surface);color:var(--accent);white-space:nowrap;padding:1px 5px;font-size:12.5px;position:absolute;transform:translate(-50%,-50%)}.lab-hq .chapter-three-diagram-title{color:var(--ink);font-family:var(--font-display);letter-spacing:.08em;white-space:nowrap;font-size:28px;font-style:italic;position:absolute}.lab-hq .chapter-three-diagram-start{color:var(--accent);font-family:var(--font-display);letter-spacing:.04em;font-size:26px;font-style:italic;font-weight:600;line-height:1}.lab-hq .chapter-three-diagram-ribbon{border-radius:var(--radius-xs);background:var(--surface-provider);color:var(--provider-label);font-size:var(--fs-label);margin-left:6px;padding:2px 9px;font-weight:600;display:inline-flex;transform:rotate(-4deg)}.lab-hq .chapter-three-legend{align-items:center;gap:var(--sp-4);display:flex;position:absolute;top:0;left:0}.lab-hq .chapter-three-legend-item{color:var(--ink-2);font-size:var(--fs-readable-floor);align-items:center;gap:6px;display:inline-flex}.lab-hq .chapter-three-legend-item:before{width:var(--sp-3);height:var(--sp-3);border-radius:var(--radius-sm);background:var(--surface);content:"";border:1.5px solid}.lab-hq .chapter-three-diagram-svg path{fill:none;stroke:#56a8e8;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round}.lab-hq .chapter-three-diagram-svg marker path,.lab-hq .chapter-three-diagram-svg .is-arrowhead{fill:#56a8e8;stroke:none}.lab-hq .chapter-three-diagram-node.is-system,.lab-hq .chapter-three-legend-item.is-system{color:#2d9cdb;border-color:#56a8e8}.lab-hq .chapter-three-diagram-node.is-provider,.lab-hq .chapter-three-legend-item.is-provider{color:#b96a27;border-color:#f2994a}.lab-hq .chapter-three-diagram-node.is-patient,.lab-hq .chapter-three-legend-item.is-patient{color:#7c3db8;border-color:#9b51e0}.lab-hq .chapter-three-diagram-node.is-terminal,.lab-hq .chapter-three-legend-item.is-terminal{color:#278a52;border-color:#6fcf97}.lab-hq .chapter-three-diagram-sticky.is-teal{background:#a9e7db}.lab-hq .chapter-three-diagram-sticky.is-salmon{background:#f4a08c}.lab-hq .chapter-three-diagram-sticky.is-blue{background:#aecbfa}.lab-hq .chapter-three-story-layout{align-items:flex-start;gap:var(--sp-4);margin-top:18px;padding-bottom:26px;display:flex}.lab-hq .chapter-three-story-rail{flex-direction:column;flex:0 0 250px;gap:10px;width:250px;display:flex}.lab-hq .chapter-three-story-rail-panel{border:1px solid var(--line-soft);border-radius:var(--radius-sm);background:var(--bg-raised);color:var(--ink-2);font-size:var(--fs-readable-floor);padding:var(--sp-3) 14px;line-height:1.5}.lab-hq .chapter-three-story-rail-panel>:first-child{letter-spacing:.08em;text-transform:uppercase;font-weight:600}.lab-hq .chapter-three-story-rail-panel>:not(:first-child){margin-top:7px}.lab-hq .chapter-three-story-board{flex:1;min-width:0}.lab-hq .chapter-three-story-job{max-width:780px;font-size:calc(var(--fs-readable-floor) + 1px);text-align:center;margin:0 auto;font-weight:600;line-height:1.5}.lab-hq .chapter-three-usage-sequence{align-items:center;gap:var(--sp-4);margin-top:var(--sp-4);font-size:var(--fs-readable-floor);letter-spacing:.16em;text-transform:uppercase;white-space:nowrap;font-weight:600;display:flex}.lab-hq .chapter-three-usage-sequence:before,.lab-hq .chapter-three-usage-sequence:after{background:var(--ink);content:"";flex:1;height:1.5px}.lab-hq .chapter-three-story-row,.lab-hq .chapter-three-story-grid{margin-top:var(--sp-3);grid-template-columns:130px repeat(7,minmax(0,1fr));align-items:stretch;gap:10px;display:grid}.lab-hq .chapter-three-row-label{color:var(--muted);font-size:var(--fs-readable-floor);letter-spacing:.08em;text-transform:uppercase;align-self:center;font-weight:600;line-height:1.35}.lab-hq .chapter-three-actor-card,.lab-hq .chapter-three-backbone-card,.lab-hq .chapter-three-story-card,.lab-hq .chapter-three-held-card{border:1px solid var(--line);border-radius:var(--radius-sm);color:var(--ink);padding:11px var(--sp-3);text-align:center}.lab-hq .chapter-three-actor-card{padding:var(--sp-3) 14px}.lab-hq .chapter-three-actor-card>:first-child,.lab-hq .chapter-three-backbone-card>:nth-child(2),.lab-hq .chapter-three-story-card>:first-child,.lab-hq .chapter-three-held-card>:first-child{font-size:calc(var(--fs-readable-floor) + 1px);font-weight:600;line-height:1.3}.lab-hq .chapter-three-actor-card>:not(:first-child),.lab-hq .chapter-three-backbone-card>:not(:nth-child(2)),.lab-hq .chapter-three-story-card>:not(:first-child),.lab-hq .chapter-three-held-card>:not(:first-child){margin-top:var(--sp-1);color:var(--ink-2);font-size:var(--fs-readable-floor);line-height:1.35}.lab-hq .chapter-three-actor-card>:last-child{margin-top:var(--sp-2);letter-spacing:.1em;text-transform:uppercase;font-weight:600}.lab-hq .chapter-three-actor-card.is-primary{grid-column:2/span 2}.lab-hq .chapter-three-actor-card.is-held{color:var(--ink-2);grid-column:5/span 2}.lab-hq .chapter-three-backbone-card>:first-child{font-size:var(--fs-readable-floor);font-weight:600}.lab-hq .chapter-three-backbone-card>:nth-child(3),.lab-hq .chapter-three-backbone-card>:last-child{margin-top:7px}.lab-hq .chapter-three-story-column{gap:var(--sp-2);flex-direction:column;min-width:0;display:flex}.lab-hq .chapter-three-story-card{cursor:pointer;width:100%;font:inherit;padding:9px 11px}.lab-hq .chapter-three-story-card:hover,.lab-hq .chapter-three-story-card.is-selected{border-color:var(--ink)}.lab-hq .chapter-three-screen-badge{border-radius:var(--radius-pill);background:var(--surface);color:var(--ink-2);font-size:var(--fs-readable-floor);margin-top:6px;padding:1px 10px;display:inline-flex}.lab-hq .chapter-three-cut-divider{grid-template-columns:130px 1fr;gap:10px;margin-top:14px;display:grid}.lab-hq .chapter-three-cut-divider>:last-child{color:var(--accent);font-size:var(--fs-readable-floor);letter-spacing:.1em;text-transform:uppercase;white-space:nowrap;align-items:center;gap:14px;font-weight:600;display:flex}.lab-hq .chapter-three-cut-divider>:last-child:before,.lab-hq .chapter-three-cut-divider>:last-child:after{content:"";background:currentColor;flex:1;height:2.5px}.lab-hq .chapter-three-cut-divider.is-cut-2>:last-child{color:var(--provider-label)}.lab-hq .chapter-three-cut-divider.is-cut-3>:last-child{color:var(--muted)}.lab-hq .chapter-three-cut-divider.is-tone-yellow>:last-child{color:var(--accent)}.lab-hq .chapter-three-cut-divider.is-tone-peach>:last-child,.lab-hq .chapter-three-cut-divider.is-tone-salmon>:last-child{color:var(--provider-label)}.lab-hq .chapter-three-cut-divider.is-tone-blue>:last-child,.lab-hq .chapter-three-cut-divider.is-tone-green>:last-child,.lab-hq .chapter-three-cut-divider.is-tone-teal>:last-child{color:var(--muted)}.lab-hq .chapter-three-held-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:10px;display:grid}.lab-hq .chapter-three-held-card{color:var(--ink-2);padding:14px var(--sp-3)}.lab-hq .chapter-three-story-editor{flex-direction:column;display:flex}.lab-hq .chapter-three-story-editor.is-story-active{border-color:var(--ink)}.lab-hq .chapter-three-story-editor:fullscreen{background-color:var(--canvas-paper);background-image:radial-gradient(var(--dot) 1px, var(--transparent) 1px);width:100%;height:100%;max-height:none;padding:var(--sp-5);background-size:26px 26px;border-radius:0;overflow:hidden}.lab-hq .chapter-three-story-editor:fullscreen .chapter-three-flow-editor-toolbar{position:fixed}.lab-hq .chapter-three-story-editor:fullscreen .chapter-three-story-viewport{flex:1}.lab-hq .chapter-three-story-editor:fullscreen .chapter-three-story-layout{padding-bottom:var(--sp-5)}.lab-hq .chapter-three-story-editor.is-dragging-structure [data-story-drop-zone]{border-color:var(--line-dashed);background:var(--bg-raised)}.lab-hq .chapter-three-story-drag-handle{min-width:var(--sp-6);min-height:var(--sp-6);border:1px solid var(--line);border-radius:var(--radius-control);background:var(--surface);color:var(--ink-2);cursor:grab;font:inherit}.lab-hq .chapter-three-story-drag-handle:hover,.lab-hq .chapter-three-story-drag-handle:focus-visible,.lab-hq .chapter-three-story-drag-handle[aria-pressed=true]{border-color:var(--ink);color:var(--ink)}.lab-hq .chapter-three-story-drag-handle:focus-visible,.lab-hq .chapter-three-story-card:focus-visible,.lab-hq .chapter-three-backbone-card[role=button]:focus-visible{outline:3px solid var(--focus-ring);outline-offset:3px}.lab-hq .chapter-three-cut-divider .chapter-three-story-drag-handle{justify-self:end}.lab-hq .chapter-three-backbone-card.is-selected{border-color:var(--ink)}.lab-hq .chapter-three-cut-divider.is-selected{border-radius:var(--radius-sm);box-shadow:inset 0 0 0 1px var(--ink)}.lab-hq .chapter-three-story-structure-editor{gap:var(--sp-2);margin-top:var(--sp-2);border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);padding:var(--sp-3);text-align:left;grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.lab-hq .chapter-three-story-structure-editor label,.lab-hq .chapter-three-story-structure-editor label>span{display:block}.lab-hq .chapter-three-story-structure-editor label>span{color:var(--muted);font-size:var(--fs-status);text-transform:uppercase;margin-bottom:3px;font-weight:600}.lab-hq .chapter-three-story-structure-editor input,.lab-hq .chapter-three-story-structure-editor select{width:100%;min-height:calc(var(--sp-6) + var(--sp-2));border:1px solid var(--line);border-radius:var(--radius-control);background:var(--surface);color:var(--ink);font:inherit;font-size:var(--fs-card);padding:var(--sp-1)}.lab-hq .chapter-three-story-structure-editor .chapter-three-story-edit-actions{grid-column:1/-1}.lab-hq .chapter-three-story-toolbar{z-index:4;min-height:var(--header-h);align-items:center;gap:var(--sp-1);margin-top:var(--sp-4);border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--surface);box-shadow:var(--shadow-md);padding:var(--sp-1);display:flex;position:sticky;top:0}.lab-hq .chapter-three-story-toolbar button,.lab-hq .chapter-three-story-edit-actions button{min-height:calc(var(--sp-6) + var(--sp-2));border:1px solid var(--line);border-radius:var(--radius-control);background:var(--surface);color:var(--ink-2);cursor:pointer;font:inherit;font-size:var(--fs-meta);padding:var(--sp-1) var(--sp-2);font-weight:600}.lab-hq .chapter-three-story-toolbar button:hover,.lab-hq .chapter-three-story-toolbar button.is-active,.lab-hq .chapter-three-story-edit-actions button:hover{border-color:var(--ink);color:var(--ink)}.lab-hq .chapter-three-story-toolbar button.is-active{background:var(--bg-inset)}.lab-hq .chapter-three-story-toolbar button:disabled{border-color:var(--line-soft);color:var(--faint);cursor:default}.lab-hq .chapter-three-story-tool-group{gap:3px;display:flex}.lab-hq .chapter-three-story-toolbar-divider{width:1px;height:var(--sp-5);background:var(--line-soft);margin:0 2px}.lab-hq .chapter-three-story-selection-status{min-width:0;color:var(--muted);font-size:var(--fs-meta);padding:0 var(--sp-2);text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.lab-hq .chapter-three-story-focus-button{margin-left:auto}.lab-hq .chapter-three-story-viewport{overscroll-behavior:contain;min-height:0;overflow:auto}.lab-hq .chapter-three-story-viewport.is-tool-hand{cursor:grab}.lab-hq .chapter-three-story-viewport.is-tool-hand.is-panning{cursor:grabbing;-webkit-user-select:none;user-select:none}.lab-hq .chapter-three-story-viewport.is-tool-card [data-story-drop-zone]{border-color:var(--line-dashed);background:var(--bg-raised);cursor:copy}.lab-hq .chapter-three-story-viewport.is-tool-text [data-story-card]{cursor:text}.lab-hq [data-story-drop-zone]{min-height:calc(var(--sp-10) + var(--sp-2));border:1px dashed var(--transparent);border-radius:var(--radius-sm);transition:border-color var(--motion-family-color) ease, background-color var(--motion-family-color) ease;padding:3px}.lab-hq [data-story-drop-zone]:empty:after{min-height:var(--sp-10);color:var(--faint);content:"Drop or add";font-size:var(--fs-meta);justify-content:center;align-items:center;display:flex}.lab-hq .chapter-three-story-card[role=button]{-webkit-user-select:none;user-select:none}.lab-hq .chapter-three-story-card[draggable=true]{cursor:grab}.lab-hq .chapter-three-story-card.is-dragging{opacity:.45}.lab-hq .chapter-three-story-card.is-editing{gap:var(--sp-2);background:var(--surface);text-align:left;flex-direction:column;display:flex}.lab-hq .chapter-three-story-card.is-editing label,.lab-hq .chapter-three-story-card.is-editing label>span{display:block}.lab-hq .chapter-three-story-card.is-editing label>span{color:var(--muted);font-size:var(--fs-status);text-transform:uppercase;margin-bottom:3px;font-weight:600}.lab-hq .chapter-three-story-card.is-editing textarea,.lab-hq .chapter-three-story-card.is-editing input{border:1px solid var(--line);border-radius:var(--radius-control);background:var(--surface);width:100%;color:var(--ink);font:inherit;font-size:var(--fs-card);padding:var(--sp-1)}.lab-hq .chapter-three-story-card.is-editing textarea{min-height:var(--sp-10);resize:vertical}.lab-hq .chapter-three-story-edit-actions{justify-content:flex-end;gap:var(--sp-1);display:flex}.lab-hq .chapter-three-story-edit-actions button{min-height:var(--sp-6);padding:var(--sp-1) var(--sp-2)}.lab-hq .chapter-three-story-keyboard-help{margin:var(--sp-2) 0 0;color:var(--muted);font-size:var(--fs-meta)}.lab-hq.chapter-three-story-focus-layer{z-index:var(--component-depth-dialog);background-color:var(--canvas-paper);background-image:radial-gradient(var(--dot) 1px, var(--transparent) 1px);color:var(--ink);font-family:var(--font-body);padding:var(--sp-4);background-size:26px 26px;position:fixed;inset:0}.lab-hq .chapter-three-story-editor.is-focused{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);width:100%;height:100%;max-height:none;box-shadow:var(--shadow-md);padding:var(--sp-4) var(--sp-5)}.lab-hq .chapter-three-story-editor.is-focused .chapter-section-title-row{align-items:baseline;gap:var(--sp-3);display:flex}.lab-hq .chapter-three-story-editor.is-focused .chapter-section-number{color:var(--peach-line);font-family:var(--font-display);font-size:var(--fs-section-no)}.lab-hq .chapter-three-story-editor.is-focused .chapter-section-title{font-family:var(--font-display);font-size:var(--fs-section-title);margin:0;font-weight:300}.lab-hq .chapter-three-story-editor.is-focused .chapter-section-dek{color:var(--ink-2);font-size:calc(var(--fs-readable-floor) + 1px);margin:3px 0 0}.lab-hq .chapter-three-story-editor.is-focused .chapter-three-story-viewport{flex:1}.lab-hq .chapter-three-story-editor.is-focused .chapter-three-story-layout{padding-bottom:var(--sp-5)}.lab-hq .chapter-three-actor-card.is-primary{background:#d9c4f1;border-color:#bfa2e2}.lab-hq .chapter-three-actor-card.is-held,.lab-hq .chapter-three-held-card,.lab-hq .chapter-three-story-card.is-held{background:#e9e9e9;border-color:#d9d9d9}.lab-hq .chapter-three-backbone-card{background:#f5a45c;border-color:#e08b3c}.lab-hq .chapter-three-backbone-card.is-tone-yellow,.lab-hq .chapter-three-story-card.is-tone-yellow{background:#fae9a0;border-color:#e7d077}.lab-hq .chapter-three-backbone-card.is-tone-peach,.lab-hq .chapter-three-story-card.is-tone-peach{background:#f5a45c;border-color:#e08b3c}.lab-hq .chapter-three-backbone-card.is-tone-salmon,.lab-hq .chapter-three-story-card.is-tone-salmon{background:#f6d2bd;border-color:#e5b19a}.lab-hq .chapter-three-backbone-card.is-tone-blue,.lab-hq .chapter-three-story-card.is-tone-blue{background:#bfdbf4;border-color:#9cc4e8}.lab-hq .chapter-three-backbone-card.is-tone-green,.lab-hq .chapter-three-story-card.is-tone-green{background:#d8e8d5;border-color:#b8ceb4}.lab-hq .chapter-three-backbone-card.is-tone-teal,.lab-hq .chapter-three-story-card.is-tone-teal{background:#a9e7db;border-color:#78c7b8}.lab-hq .chapter-three-cut-header{border-top:1px solid var(--line-soft);align-items:flex-start;gap:14px;margin-top:22px;padding-top:18px;display:flex}.lab-hq .chapter-three-cut-copy{flex:1;min-width:0}.lab-hq .chapter-three-cut-copy>:first-child{color:var(--accent);font-size:var(--fs-readable-floor);letter-spacing:.12em;text-transform:uppercase;font-weight:600}.lab-hq .chapter-three-cut-copy>:last-child{margin-top:var(--sp-1);color:var(--ink-2);font-size:calc(var(--fs-readable-floor) + 1px);line-height:1.45}.lab-hq .chapter-three-home-pill{border:1px solid var(--line-system);border-radius:var(--radius-pill);background:var(--surface-system);color:var(--accent);font-size:var(--fs-readable-floor);padding:var(--sp-1) 14px;white-space:nowrap;font-weight:600}.lab-hq .chapter-three-cut-note{border:1px solid var(--line-soft);border-radius:var(--radius-tab);background:var(--bg-raised);width:340px;color:var(--ink-2);font-size:var(--fs-readable-floor);padding:9px var(--sp-3);flex:0 0 340px;line-height:1.45}.lab-hq .chapter-three-wireflow{margin-top:var(--sp-4)}.lab-hq .chapter-three-wireflow-row{align-items:flex-start;display:flex}.lab-hq .chapter-three-wireflow-row.is-primary{gap:8px}.lab-hq .chapter-three-wireflow-row.is-secondary{gap:80px;margin-top:18px;padding-left:1440px}.lab-hq .chapter-three-wireflow-row.is-tertiary{gap:80px;margin-top:18px;padding-left:2400px}.lab-hq .chapter-three-wireflow-screen-wrap{flex:0 0 400px;width:400px}.lab-hq .chapter-three-wireflow-arrow{flex:0 0 64px;width:64px;margin-top:150px}.lab-hq .chapter-three-wireflow-row.is-secondary .chapter-three-wireflow-screen-wrap,.lab-hq .chapter-three-wireflow-row.is-tertiary .chapter-three-wireflow-screen-wrap{flex-direction:column;align-items:center;gap:6px;display:flex}.lab-hq .chapter-three-wireflow-label{color:var(--accent);font-size:var(--fs-readable-floor);text-align:center;line-height:1.2}.lab-hq .chapter-three-wireflow-arrow{color:var(--accent);font-size:calc(var(--fs-readable-floor) + 1px);text-align:center;flex-direction:column;align-items:center;gap:2px;line-height:1;display:flex}.lab-hq .chapter-three-wire-screen{border:1px solid var(--line-ghost);border-radius:var(--radius-sm);background:var(--surface);width:100%;box-shadow:var(--shadow-sm);color:var(--ink);font-family:var(--font-sans);text-align:left;overflow:hidden}.lab-hq .chapter-three-wire-titlebar{align-items:center;gap:var(--sp-2);background:var(--ink);min-height:30px;color:var(--surface);padding:6px 11px;font-size:13px;line-height:1.3;display:flex}.lab-hq .chapter-three-wire-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:600;overflow:hidden}.lab-hq .chapter-three-wire-status{color:var(--faint);font-size:var(--fs-meta);white-space:nowrap;margin-left:auto}.lab-hq .chapter-three-wire-shell{align-items:stretch;display:flex}.lab-hq .chapter-three-wire-nav{gap:var(--sp-2);border-right:1px solid var(--line-soft);width:66px;padding:9px var(--sp-2);flex-direction:column;flex:0 0 66px;display:flex}.lab-hq .chapter-three-wire-nav-brand{font-size:13px;font-weight:600}.lab-hq .chapter-three-wire-nav-item{align-items:center;gap:var(--sp-1);color:var(--ink-2);font-size:var(--fs-meta);line-height:1.3;display:flex}.lab-hq .chapter-three-wire-nav-item:before{border:1px solid var(--faint);border-radius:var(--radius-2xs);content:"";flex:0 0 7px;width:7px;height:7px}.lab-hq .chapter-three-wire-nav-item.is-active{color:var(--ink);font-weight:600}.lab-hq .chapter-three-wire-nav-item.is-active:before{border-color:var(--ink);background:var(--bg-chrome)}.lab-hq .chapter-three-wire-nav-item:last-child{margin-top:auto}.lab-hq .chapter-three-wire-patient-main{flex:1;min-width:0;padding:9px 10px 11px}.lab-hq .chapter-three-wire-patient-header{border:1px solid var(--line);border-radius:var(--radius-sm);align-items:center;gap:7px;padding:7px 9px;display:flex}.lab-hq .chapter-three-wire-avatar{width:var(--sp-6);height:var(--sp-6);flex:0 0 var(--sp-6);border:1px solid var(--line);border-radius:var(--radius-pill);background:var(--bg-chrome);font-size:var(--fs-meta);justify-content:center;align-items:center;font-weight:600;display:flex}.lab-hq .chapter-three-wire-patient-meta{min-width:0;font-size:13px;font-weight:600;line-height:1.3}.lab-hq .chapter-three-wire-patient-meta>:last-child{color:var(--muted);font-size:var(--fs-meta);text-overflow:ellipsis;white-space:nowrap;font-weight:400;display:block;overflow:hidden}.lab-hq .chapter-three-wire-tag{border:1px solid var(--line);border-radius:var(--radius-pill);color:var(--ink-2);font-size:var(--fs-meta);padding:1px var(--sp-2);white-space:nowrap;margin-left:auto;font-weight:600}.lab-hq .chapter-three-wire-tabs{gap:var(--sp-3);margin-top:var(--sp-2);border-bottom:1px solid var(--line-soft);color:var(--muted);font-size:var(--fs-meta);display:flex}.lab-hq .chapter-three-wire-tab{padding-bottom:var(--sp-1)}.lab-hq .chapter-three-wire-tab.is-active{box-shadow:inset 0 -2px 0 var(--ink);color:var(--ink);font-weight:600}.lab-hq .chapter-three-wire-focus-header{border-bottom:1px solid var(--line-soft);min-height:42px;padding:var(--sp-2) 11px;align-items:center;gap:7px;display:flex}.lab-hq .chapter-three-wire-back{border:1px solid var(--line);border-radius:var(--radius-pill);width:18px;height:18px;color:var(--ink-2);font-size:var(--fs-meta);flex:0 0 18px;justify-content:center;align-items:center;display:flex}.lab-hq .chapter-three-wire-header-action,.lab-hq .chapter-three-wire-button{border:1px solid var(--line);background:var(--surface);color:var(--ink);font-size:var(--fs-meta);white-space:nowrap;border-radius:6px;padding:4px 9px;font-weight:600}.lab-hq .chapter-three-wire-header-action:first-of-type{margin-left:auto}.lab-hq .chapter-three-wire-header-action.is-primary,.lab-hq .chapter-three-wire-button.is-primary{border-color:var(--ink);background:var(--ink);color:var(--surface)}.lab-hq .chapter-three-wire-body{align-items:flex-start;gap:var(--sp-2);padding:9px 11px 11px;display:flex}.lab-hq .chapter-three-wire-side{flex-direction:column;flex:0 0 122px;gap:5px;width:122px;display:flex}.lab-hq .chapter-three-wire-side-label,.lab-hq .chapter-three-wire-panel-header{color:var(--muted);font-size:var(--fs-meta);letter-spacing:.08em;text-transform:uppercase;font-weight:600}.lab-hq .chapter-three-wire-side-card{border:1px solid var(--line-soft);font-size:var(--fs-meta);border-radius:6px;padding:5px 7px;line-height:1.35}.lab-hq .chapter-three-wire-side-card>:first-child{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;font-weight:600;display:block}.lab-hq .chapter-three-wire-side-card>:not(:first-child){margin-top:2px;display:block}.lab-hq .chapter-three-wire-side-card>:last-child{color:var(--faint)}.lab-hq .chapter-three-wire-main{border:1px solid var(--line);border-radius:var(--radius-sm);flex:1;min-width:0;padding:9px 11px}.lab-hq .chapter-three-wire-panel-header{align-items:center;gap:var(--sp-2);display:flex}.lab-hq .chapter-three-wire-panel-header .chapter-three-wire-tag{background:var(--bg-chrome);letter-spacing:normal;text-transform:none;margin-left:auto}.lab-hq .chapter-three-wire-headline{margin-top:6px;font-size:15px;font-weight:600;line-height:1.3}.lab-hq .chapter-three-wire-patient-main>.chapter-three-wire-headline{margin-top:9px}.lab-hq .chapter-three-wire-dek{color:var(--ink-2);font-size:var(--fs-meta);margin-top:3px;line-height:1.45}.lab-hq .chapter-three-wire-blocks{margin-top:var(--sp-2);flex-direction:column;gap:6px;display:flex}.lab-hq .chapter-three-wire-block{border:1px solid var(--line);border-radius:var(--radius-sm);color:var(--ink-2);font-size:var(--fs-meta);gap:7px;padding:7px 9px;line-height:1.4;display:flex}.lab-hq .chapter-three-wire-block>:last-child{min-width:0}.lab-hq .chapter-three-wire-block>:last-child>:first-child{font-size:12.5px;font-weight:600;line-height:1.35;display:block}.lab-hq .chapter-three-wire-block>:last-child>:last-child:not(:first-child){color:var(--muted);margin-top:1px;display:block}.lab-hq .chapter-three-wire-block.is-selected{border:1.5px solid var(--ink);color:var(--ink)}.lab-hq .chapter-three-wire-block.is-muted{color:var(--muted)}.lab-hq .chapter-three-wire-block.is-panel{border-color:var(--line-soft);background:var(--bg-raised);display:block}.lab-hq .chapter-three-wire-block.is-panel>:first-child{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-weight:600;display:block}.lab-hq .chapter-three-wire-block.is-note{border-color:var(--transparent);background:var(--bg-raised);border-radius:6px;display:block}.lab-hq .chapter-three-wire-radio{width:var(--sp-3);height:var(--sp-3);flex:0 0 var(--sp-3);border:1.5px solid var(--faint);border-radius:var(--radius-pill);justify-content:center;align-items:center;margin-top:2px;display:flex}.lab-hq .chapter-three-wire-block.is-selected .chapter-three-wire-radio{border-color:var(--ink)}.lab-hq .chapter-three-wire-block.is-selected .chapter-three-wire-radio:after{border-radius:var(--radius-pill);background:var(--ink);content:"";width:6px;height:6px}.lab-hq .chapter-three-wire-footer{justify-content:flex-end;gap:6px;margin-top:10px;display:flex}.lab-hq .chapter-three-wire-button{padding:5px 11px}.lab-hq .chapter-three-coverage-strip{border:1px solid var(--line-system);border-radius:var(--radius-tab);background:var(--surface-system);color:var(--ink-2);font-size:var(--fs-readable-floor);margin-top:18px;padding:9px 13px;line-height:1.45}.lab-hq .chapter-three-coverage-label{margin-right:10px}.lab-hq .chapter-three-prototype-placeholder{margin-top:var(--sp-4);border:1px dashed var(--line-ghost);border-radius:var(--radius-md);background:var(--bg-raised);padding:28px var(--sp-5);text-align:center}.lab-hq .chapter-three-prototype-glyph{width:var(--sp-10);border:1px solid var(--line-soft);background:var(--surface);border-radius:6px;height:44px;margin:0 auto;padding:7px;position:relative}.lab-hq .chapter-three-prototype-dots{gap:3px;display:flex}.lab-hq .chapter-three-prototype-dots>span{width:var(--sp-1);height:var(--sp-1);border-radius:var(--radius-pill);background:var(--line)}.lab-hq .chapter-three-prototype-glyph:after{border-radius:var(--radius-xs);background:var(--bg-chrome);content:"";width:50%;height:6px;margin-top:5px;display:block}.lab-hq .chapter-three-prototype-hotspot{right:var(--sp-2);border:2px solid var(--accent);border-radius:var(--radius-pill);width:11px;height:11px;position:absolute;bottom:7px}.lab-hq .chapter-three-prototype-title{margin:var(--sp-3) 0 0;color:var(--ink);font-size:calc(var(--fs-readable-floor) + 1px);font-weight:600}.lab-hq .chapter-three-prototype-copy{color:var(--ink-2);font-size:calc(var(--fs-readable-floor) + 1px);margin:6px 0 0;line-height:1.55}.lab-hq .chapter-three-flow-editor{display:contents}:is(.lab-hq .chapter-three-flow-editor:fullscreen,.lab-hq .chapter-three-flow-editor.is-focused){background-color:var(--canvas-paper);background-image:radial-gradient(var(--dot) 1px, var(--transparent) 1px);padding:calc(var(--header-h) + var(--sp-8)) var(--sp-8) var(--sp-8);background-size:26px 26px;display:block;overflow:auto}:is(.lab-hq .chapter-three-flow-editor:fullscreen .chapter-three-flow-editor-toolbar,.lab-hq .chapter-three-flow-editor.is-focused .chapter-three-flow-editor-toolbar){position:fixed}:is(.lab-hq .chapter-three-flow-editor:fullscreen .chapter-three-flow-canvas,.lab-hq .chapter-three-flow-editor.is-focused .chapter-three-flow-canvas){background:var(--surface);box-shadow:var(--shadow-md);margin:0 auto}.lab-hq .chapter-three-flow-editor-toolbar{z-index:var(--component-depth-sticky);top:var(--sp-3);width:max-content;max-width:calc(100% - var(--sp-10));align-items:center;gap:var(--sp-1);border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);min-height:48px;box-shadow:var(--shadow-md);padding:var(--sp-1);scrollbar-color:var(--line-ghost) var(--transparent);scrollbar-width:thin;display:flex;position:absolute;left:50%;overflow-x:auto;transform:translate(-50%)}.lab-hq .chapter-three-flow-toolgroup{align-items:center;gap:2px;min-width:max-content;display:flex}.lab-hq .chapter-three-flow-toolgroup+.chapter-three-flow-toolgroup{border-left:1px solid var(--line-soft);min-height:32px;margin-left:var(--sp-1);padding-left:var(--sp-2)}.lab-hq .chapter-three-flow-toolbar-label,.lab-hq .chapter-three-flow-toolgroup-label{max-width:132px;color:var(--muted);font-size:var(--fs-label);letter-spacing:.06em;padding:0 var(--sp-2);text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;font-weight:600;overflow:hidden}.lab-hq .chapter-three-flow-tool{border:1px solid var(--transparent);border-radius:var(--radius-sm);background:var(--transparent);min-width:34px;height:34px;color:var(--ink-2);cursor:pointer;font:inherit;font-size:var(--fs-body);padding:0 var(--sp-2);transition:background-color var(--component-motion-duration-instant) var(--component-motion-easing-standard), border-color var(--component-motion-duration-instant) var(--component-motion-easing-standard), color var(--component-motion-duration-instant) var(--component-motion-easing-standard), box-shadow var(--component-motion-duration-instant) var(--component-motion-easing-standard);white-space:nowrap;flex:none;justify-content:center;align-items:center;gap:6px;line-height:1;display:inline-flex;position:relative}.lab-hq .chapter-three-flow-tool:hover:not(:disabled,[aria-disabled=true]),.lab-hq .chapter-three-flow-tool:focus-visible{border-color:var(--line);background:var(--bg-raised);color:var(--ink)}.lab-hq .chapter-three-flow-tool:active:not(:disabled,[aria-disabled=true]),.lab-hq .chapter-three-flow-tool.is-active,.lab-hq .chapter-three-flow-tool[aria-pressed=true],.lab-hq .chapter-three-flow-tool[aria-expanded=true]{border-color:var(--accent-soft);background:var(--bg-inset);box-shadow:inset 0 -2px 0 var(--accent);color:var(--accent-hover)}.lab-hq .chapter-three-flow-tool:disabled,.lab-hq .chapter-three-flow-tool[aria-disabled=true],.lab-hq .chapter-three-flow-tool.is-locked{border-color:var(--transparent);background:var(--transparent);color:var(--faint);cursor:not-allowed}.lab-hq .chapter-three-flow-tool.is-destructive{color:var(--color-destructive)}.lab-hq .chapter-three-flow-tool-icon{pointer-events:none;flex:0 0 18px;justify-content:center;align-items:center;width:18px;height:18px;display:inline-flex}.lab-hq .chapter-three-flow-tool-shortcut{color:var(--muted);font-size:var(--fs-status)}.lab-hq .chapter-three-flow-status{min-width:max-content;color:var(--muted);font-size:var(--fs-meta);padding:0 var(--sp-2);white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.lab-hq .chapter-three-flow-status:before{border:1px solid var(--line-ghost);border-radius:var(--radius-pill);background:var(--surface);content:"";flex:0 0 7px;width:7px;height:7px}.lab-hq .chapter-three-flow-status.is-active,.lab-hq .chapter-three-flow-status.is-saved{color:var(--ink-2)}.lab-hq .chapter-three-flow-status.is-active:before,.lab-hq .chapter-three-flow-status.is-saved:before{border-color:var(--accent);background:var(--accent)}.lab-hq .chapter-three-flow-palette{align-items:center;gap:var(--sp-1);min-width:max-content;padding:0 var(--sp-1);display:inline-flex}.lab-hq .chapter-three-flow-swatch{border:1px solid var(--line);border-radius:var(--radius-control);background:var(--bg-raised);cursor:pointer;flex:0 0 24px;width:24px;height:24px;padding:0;position:relative}.lab-hq .chapter-three-flow-swatch:hover{border-color:var(--ink-2)}.lab-hq .chapter-three-flow-swatch.is-selected,.lab-hq .chapter-three-flow-swatch[aria-pressed=true]{border-color:var(--ink);box-shadow:var(--shadow-selected)}.lab-hq .chapter-three-flow-swatch:disabled{border-color:var(--line-soft);cursor:not-allowed}.lab-hq .chapter-three-flow-swatch.is-yellow{background:var(--sticky-yellow)}.lab-hq .chapter-three-flow-swatch.is-peach,.lab-hq .chapter-three-flow-swatch.is-salmon{background:var(--sticky-peach)}.lab-hq .chapter-three-flow-swatch.is-blue{background:var(--sticky-blue)}.lab-hq .chapter-three-flow-swatch.is-green,.lab-hq .chapter-three-flow-swatch.is-teal{background:var(--sticky-green)}.lab-hq .chapter-three-flow-canvas{isolation:isolate;outline:2px solid var(--transparent);outline-offset:7px;transition:outline-color var(--component-motion-duration-fast) var(--component-motion-easing-standard), box-shadow var(--component-motion-duration-fast) var(--component-motion-easing-standard);position:relative}.lab-hq .chapter-three-flow-editor.is-active .chapter-three-flow-canvas,.lab-hq .chapter-three-flow-canvas.is-active{outline-width:1px;outline-color:var(--ink);box-shadow:var(--shadow-selected)}.lab-hq .chapter-three-flow-node,.lab-hq .chapter-three-flow-sticky{touch-action:none;-webkit-user-select:none;user-select:none;transition:border-color var(--component-motion-duration-instant) var(--component-motion-easing-standard), box-shadow var(--component-motion-duration-instant) var(--component-motion-easing-standard), background-color var(--component-motion-duration-instant) var(--component-motion-easing-standard);position:absolute}.lab-hq .chapter-three-flow-node{border:1.5px solid var(--accent);border-radius:var(--radius-sm);background:var(--surface);min-width:0;min-height:0;box-shadow:var(--shadow-sm);color:var(--ink);cursor:move;font-size:var(--fs-body);padding:7px var(--sp-2);text-align:center;justify-content:center;align-items:center;line-height:1.3;display:flex}.lab-hq .chapter-three-flow-node:hover:not(.is-locked),.lab-hq .chapter-three-flow-sticky:hover:not(.is-locked){box-shadow:var(--shadow-md)}.lab-hq .chapter-three-flow-node.is-selected,.lab-hq .chapter-three-flow-sticky.is-selected{border-color:var(--ink);box-shadow:var(--shadow-selected)}.lab-hq .chapter-three-flow-node.is-connector-source,.lab-hq .chapter-three-flow-sticky.is-connector-source{outline:2px dashed var(--accent);outline-offset:5px}.lab-hq .chapter-three-flow-node.is-dragging,.lab-hq .chapter-three-flow-sticky.is-dragging{box-shadow:var(--shadow-md);cursor:grabbing}.lab-hq .chapter-three-flow-node.is-locked,.lab-hq .chapter-three-flow-sticky.is-locked{border-color:var(--line-ghost);box-shadow:none;cursor:not-allowed}.lab-hq .chapter-three-flow-node.is-system{border-color:var(--accent);background:var(--surface-system);color:var(--accent-hover)}.lab-hq .chapter-three-flow-node.is-provider{border-color:var(--line-provider);background:var(--surface-provider);color:var(--provider-label)}.lab-hq .chapter-three-flow-node.is-patient{border-color:var(--accent-soft);background:var(--bg-raised);color:var(--ink)}.lab-hq .chapter-three-flow-node.is-terminal{border-color:var(--line-ghost);background:var(--bg-inset);color:var(--ink-2)}.lab-hq .chapter-three-flow-node.is-text{border-color:var(--transparent);background:var(--transparent);box-shadow:none;padding:var(--sp-1);text-align:left;justify-content:flex-start}.lab-hq .chapter-three-flow-node.is-text.is-selected{border-color:var(--ink);background:var(--surface);box-shadow:var(--shadow-selected)}.lab-hq .chapter-three-flow-node.has-yellow{background:var(--sticky-yellow);color:var(--sticky-ink)}.lab-hq .chapter-three-flow-node.has-peach,.lab-hq .chapter-three-flow-node.has-salmon{background:var(--sticky-peach);color:var(--sticky-ink)}.lab-hq .chapter-three-flow-node.has-blue{background:var(--sticky-blue);color:var(--sticky-ink)}.lab-hq .chapter-three-flow-node.has-green,.lab-hq .chapter-three-flow-node.has-teal{background:var(--sticky-green);color:var(--sticky-ink)}.lab-hq .chapter-three-flow-sticky{border:1px solid var(--sticky-handle);border-radius:var(--radius-2xs);background:var(--sticky-yellow);min-width:0;min-height:0;box-shadow:var(--shadow-sm);color:var(--sticky-ink);cursor:move;font-size:var(--fs-meta);padding:var(--sp-2) var(--sp-2) 6px;white-space:pre-line;flex-direction:column;line-height:1.35;display:flex}.lab-hq .chapter-three-flow-sticky.is-yellow{background:var(--sticky-yellow)}.lab-hq .chapter-three-flow-sticky.is-peach,.lab-hq .chapter-three-flow-sticky.is-salmon{background:var(--sticky-peach)}.lab-hq .chapter-three-flow-sticky.is-blue{background:var(--sticky-blue)}.lab-hq .chapter-three-flow-sticky.is-green,.lab-hq .chapter-three-flow-sticky.is-teal{background:var(--sticky-green)}.lab-hq .chapter-three-flow-edge{fill:none;stroke:var(--accent);stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;transition:stroke var(--component-motion-duration-instant) var(--component-motion-easing-standard), stroke-width var(--component-motion-duration-instant) var(--component-motion-easing-standard);vector-effect:non-scaling-stroke}.lab-hq .chapter-three-flow-edge.is-selected,.lab-hq .chapter-three-flow-edge[aria-selected=true]{stroke:var(--ink);stroke-width:2px}.lab-hq .chapter-three-flow-edge.is-locked{stroke:var(--line-ghost)}.lab-hq .chapter-three-flow-edge-hit{fill:none;stroke:var(--transparent);stroke-width:18px;cursor:pointer;pointer-events:stroke;vector-effect:non-scaling-stroke}.lab-hq .chapter-three-flow-edge-hit:focus-visible{stroke:var(--accent-soft);stroke-width:18px;outline:none}.lab-hq .chapter-three-flow-edge-hit.is-locked,.lab-hq .chapter-three-flow-edge-hit[aria-disabled=true]{cursor:not-allowed}.lab-hq .chapter-three-flow-endpoint{border:2px solid var(--accent);border-radius:var(--radius-pill);background:var(--surface);width:12px;height:12px;box-shadow:0 0 0 2px var(--surface);fill:var(--surface);stroke:var(--accent);stroke-width:2px;cursor:crosshair;touch-action:none;vector-effect:non-scaling-stroke;position:absolute;transform:translate(-50%,-50%)}.lab-hq .chapter-three-flow-editor .chapter-three-diagram-svg .is-arrowhead{fill:var(--accent)}.lab-hq .chapter-three-flow-editor .chapter-three-diagram-svg .is-arrowhead.is-selected{fill:var(--ink)}.lab-hq .chapter-three-flow-endpoint:hover,.lab-hq .chapter-three-flow-endpoint.is-selected,.lab-hq .chapter-three-flow-endpoint[aria-selected=true]{border-color:var(--ink);background:var(--ink);fill:var(--ink);stroke:var(--surface)}.lab-hq .chapter-three-flow-endpoint.is-locked,.lab-hq .chapter-three-flow-endpoint[aria-disabled=true]{border-color:var(--line-ghost);background:var(--bg-inset);fill:var(--bg-inset);stroke:var(--line-ghost);cursor:not-allowed}.lab-hq .chapter-three-flow-inline-editor{resize:none;border:1px solid var(--accent-soft);border-radius:var(--radius-control);background:var(--surface);width:100%;min-width:96px;min-height:30px;box-shadow:var(--shadow-sm);color:var(--ink);field-sizing:content;font:inherit;font-size:inherit;line-height:inherit;padding:var(--sp-1) var(--sp-2);text-align:inherit;-webkit-user-select:text;user-select:text}.lab-hq .chapter-three-flow-inline-editor::placeholder{color:var(--muted)}@media (width<=760px){.lab-hq .chapter-three-flow-editor-toolbar{right:var(--sp-2);left:var(--sp-2);border-radius:var(--radius-sm);width:auto;max-width:none;min-height:44px;transform:none}.lab-hq .chapter-three-flow-toolgroup+.chapter-three-flow-toolgroup{padding-left:var(--sp-1);margin-left:0}.lab-hq .chapter-three-flow-toolbar-label,.lab-hq .chapter-three-flow-toolgroup-label{max-width:92px}.lab-hq .chapter-three-flow-status{background:var(--surface);position:sticky;right:0}}@media (pointer:coarse){.lab-hq .chapter-three-flow-tool{min-width:44px;height:44px}.lab-hq .chapter-three-flow-swatch{flex-basis:32px;width:32px;height:32px}}.dev-theme{--dev-bg:#e8e4dd;--dev-panel:linear-gradient(135deg, #f8f3ed, #f2eee9 55%, #f7efe6);--dev-card:#fff;--dev-border:#e6dfd4;--dev-border-strong:#d9d2c6;--dev-ink:#14403d;--dev-body:#1c3a38;--dev-muted:#5f7472;--dev-muted-2:#7d8a82;--dev-label:#94a09a;--dev-teal:#176d68;--dev-teal-cream:#f6efe6;--dev-terra:#bd6440;--dev-dark-panel:#14403d;--dev-dark-panel-text:#e9f0ee;--dev-pill-bg:#f0b429;--dev-pill-text:#5d4503;--dev-avatar:#d6457c;--dev-diff-missing-bg:#fbf0d7;--dev-diff-missing-text:#7a5a10;--dev-diff-hallucinated-bg:#f7e3da;--dev-diff-hallucinated-text:#9c3f24;--dev-diff-substitution-bg:#ddeceb;--dev-diff-substitution-text:#155e59;--dev-diff-speaker-bg:#ece7f5;--dev-diff-speaker-text:#6f5b9e;--dev-shadow:0 28px 70px #1c3a3824;background:var(--dev-bg);min-height:100dvh;color:var(--dev-body);font-family:IBM Plex Sans,system-ui,sans-serif}.dev-theme h1,.dev-theme h2,.dev-theme h3{color:var(--dev-ink);font-family:"Source Serif 4",Georgia,serif}.dev-theme code,.dev-theme .dev-mono{font-family:IBM Plex Mono,ui-monospace,SFMono-Regular,monospace}.dev-shell{background:var(--dev-bg);min-height:100dvh}.dev-shell__topbar{z-index:20;border-bottom:1px solid var(--dev-border);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#f8f3edeb;justify-content:space-between;align-items:center;gap:1rem;min-height:4.25rem;padding:.75rem 1.25rem;display:flex;position:sticky;top:0}.dev-shell__brand-mark{background:var(--dev-dark-panel);width:2.5rem;height:2.5rem;color:var(--dev-dark-panel-text);border-radius:999px;place-items:center;font-family:IBM Plex Mono,ui-monospace,monospace;font-weight:600;display:grid}.dev-shell__search{border:1px solid var(--dev-border);background:var(--dev-card);min-width:min(22rem,35vw);color:var(--dev-muted);text-align:left;border-radius:999px;padding:.6rem 1rem}.dev-shell__pill,.dev-sample-pill{background:var(--dev-pill-bg);color:var(--dev-pill-text);letter-spacing:.08em;text-transform:uppercase;border-radius:999px;align-items:center;padding:.25rem .55rem;font-family:IBM Plex Mono,ui-monospace,monospace;font-size:.72rem;font-weight:600;display:inline-flex}.dev-shell__avatar{background:var(--dev-avatar);color:#fff;border-radius:999px;place-items:center;width:2rem;height:2rem;font-size:.8rem;font-weight:600;display:grid}.dev-shell__practice{max-width:14rem}.dev-shell__body{grid-template-columns:4.75rem minmax(0,1fr);display:grid}.dev-shell__rail{border-right:1px solid var(--dev-border);height:calc(100dvh - 4.25rem);padding:1rem .75rem;position:sticky;top:4.25rem}.dev-shell__nav{flex-direction:column;gap:.75rem;display:flex}.dev-shell__nav-item{height:3rem;color:var(--dev-muted);border:1px solid #0000;border-radius:1rem;place-items:center;text-decoration:none;display:grid;position:relative}.dev-shell__nav-item:hover,.dev-shell__nav-item:focus-visible,.dev-shell__nav-item[aria-current=page]{border-color:var(--dev-border-strong);background:var(--dev-teal-cream);color:var(--dev-teal);outline:none}.dev-shell__tooltip{pointer-events:none;z-index:30;background:var(--dev-dark-panel);min-width:max-content;color:var(--dev-dark-panel-text);opacity:0;border-radius:999px;padding:.35rem .7rem;font-size:.75rem;transition:opacity .12s;position:absolute;top:50%;left:calc(100% + .6rem);transform:translateY(-50%)}.dev-shell__nav-item:hover .dev-shell__tooltip,.dev-shell__nav-item:focus-visible .dev-shell__tooltip{opacity:1}.dev-shell__main{min-width:0;padding:1.5rem}.dev-card{border:1px solid var(--dev-border);background:var(--dev-card);box-shadow:var(--dev-shadow);border-radius:1.25rem}.dev-panel{border:1px solid var(--dev-border);background:var(--dev-panel);border-radius:1.25rem}.dev-muted{color:var(--dev-muted)}.dev-sample-field{color:var(--dev-muted-2);font-family:IBM Plex Mono,ui-monospace,monospace}.dev-skeleton-line{background:var(--dev-border);border-radius:999px}.voice-lab{gap:1.25rem;display:grid}.voice-lab__hero{justify-content:space-between;align-items:flex-end;gap:1rem;padding:1.5rem;display:flex}.voice-lab__section-nav{border:1px solid var(--dev-border);background:#ffffff8a;border-radius:999px;flex-wrap:wrap;gap:.5rem;width:fit-content;padding:.35rem;display:flex}.voice-lab__tab{color:var(--dev-muted);cursor:pointer;background:0 0;border:0;border-radius:999px;padding:.55rem .9rem;font-size:.9rem;font-weight:600}.voice-lab__tab[aria-selected=true],.voice-lab__tab:focus-visible,.voice-lab__tab:hover{background:var(--dev-dark-panel);color:var(--dev-dark-panel-text);outline:none}.voice-lab__grid{gap:1rem;display:grid}@media (width>=1024px){.voice-lab__grid--two{grid-template-columns:minmax(20rem,25rem) minmax(0,1fr)}.voice-lab__grid--three{grid-template-columns:repeat(3,minmax(0,1fr))}}.voice-lab__card{border:1px solid var(--dev-border);background:var(--dev-card);border-radius:1.15rem;padding:1.1rem}.voice-lab__card--soft{background:var(--dev-panel)}.voice-lab__empty{border:1px dashed var(--dev-border);border-radius:.8rem;padding:1rem}.voice-lab__compact-card{border:1px solid var(--dev-border);border-radius:.8rem;padding:.75rem}.voice-lab__summary-row{gap:.75rem;display:grid}.voice-lab__summary-row>div{border:1px solid var(--dev-border);background:var(--dev-panel);border-radius:.8rem;padding:.7rem .8rem}.voice-lab__summary-row dt{color:var(--dev-label);letter-spacing:.1em;text-transform:uppercase;font-family:IBM Plex Mono,ui-monospace,monospace;font-size:.66rem;font-weight:700}.voice-lab__summary-row dd{color:var(--dev-ink);margin-top:.25rem;font-size:.9rem;font-weight:700}@media (width>=720px){.voice-lab__summary-row{grid-template-columns:repeat(3,minmax(0,1fr))}}.voice-lab__diff-pane{background:#fff9;border-radius:.8rem;padding:.75rem}.voice-lab__output-card{border:1px solid var(--dev-border);border-radius:.9rem;padding:.5rem}.voice-lab__output-card--compact{padding:.35rem}.voice-lab__compact-output-surface{border-color:color-mix(in srgb, var(--dev-teal) 16%, var(--dev-border))}.voice-lab__workflow-card{padding:1rem}.voice-lab__workflow-step{background:color-mix(in srgb, var(--dev-panel) 72%, transparent);border-radius:.9rem;padding:.85rem}.voice-lab__details{min-width:0}.voice-lab__details>summary{border:1px solid var(--dev-border);min-height:2rem;color:var(--dev-teal);cursor:pointer;border-radius:999px;align-items:center;padding:.45rem .75rem;font-size:.78rem;font-weight:700;line-height:1;display:inline-flex}.voice-lab__details>summary:hover{border-color:color-mix(in srgb, var(--dev-teal) 40%, var(--dev-border))}.voice-lab__details>summary:focus-visible{outline:2px solid var(--dev-terra);outline-offset:3px}.voice-lab__label{color:var(--dev-label);letter-spacing:.1em;text-transform:uppercase;font-family:IBM Plex Mono,ui-monospace,monospace;font-size:.72rem;font-weight:600}.voice-lab__table{border-collapse:separate;border-spacing:0;width:100%;font-size:.88rem}.voice-lab__table th,.voice-lab__table td{border-bottom:1px solid var(--dev-border);text-align:left;padding:.75rem}.voice-lab__table th{color:var(--dev-muted);font-size:.75rem;font-weight:600}.voice-lab__bar{background:var(--dev-border);border-radius:999px;height:.55rem;overflow:hidden}.voice-lab__bar-fill{background:var(--dev-teal);border-radius:999px;height:100%}.voice-lab__diff{border-radius:.8rem;padding:.75rem}.voice-lab__diff--missing{background:var(--dev-diff-missing-bg);color:var(--dev-diff-missing-text)}.voice-lab__diff--hallucinated{background:var(--dev-diff-hallucinated-bg);color:var(--dev-diff-hallucinated-text)}.voice-lab__diff--substitution{background:var(--dev-diff-substitution-bg);color:var(--dev-diff-substitution-text)}.voice-lab__diff--speaker{background:var(--dev-diff-speaker-bg);color:var(--dev-diff-speaker-text)}.voice-lab__link-button{color:var(--dev-ink);text-align:left;text-underline-offset:4px;text-decoration-thickness:1px}.voice-lab__link-button:hover{text-decoration-line:underline}.voice-sim-audio-player{border:2px solid color-mix(in srgb, var(--dev-teal) 72%, var(--dev-card));background:var(--dev-teal-cream);width:100%;box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--dev-teal) 6%, transparent);color:var(--dev-ink);border-radius:2rem;gap:2rem;padding:2.25rem 2.6rem 1.85rem;display:grid;position:relative}.voice-sim-audio-player--compact{border-radius:1.2rem;gap:.85rem;padding:.95rem}.voice-sim-audio-player__corner{border:1.5px solid color-mix(in srgb, var(--dev-teal) 72%, var(--dev-card));background:var(--dev-card);width:.4rem;height:.4rem;position:absolute}.voice-sim-audio-player__corner--top-left{top:-.45rem;left:-.45rem}.voice-sim-audio-player__corner--top-right{top:-.45rem;right:-.45rem}.voice-sim-audio-player__corner--bottom-left{bottom:-.45rem;left:-.45rem}.voice-sim-audio-player__corner--bottom-right{bottom:-.45rem;right:-.45rem}.voice-sim-audio-player__top-row,.voice-sim-audio-player__bottom-row{justify-content:space-between;align-items:center;gap:1.5rem;display:flex}.voice-sim-audio-player__title-wrap,.voice-sim-audio-player__speaker-map{flex-wrap:wrap;align-items:center;gap:.8rem;min-width:0;display:flex}.voice-sim-audio-player__title{min-width:0;color:var(--dev-ink);font-family:"Source Serif 4",Georgia,serif;font-size:clamp(1.35rem,2vw,2rem);font-weight:700;line-height:1.05}.voice-sim-audio-player--compact .voice-sim-audio-player__title{font-size:1rem}.voice-sim-audio-player--compact .voice-sim-audio-player__chip{padding:.4rem .6rem;font-size:.72rem}.voice-sim-audio-player--compact .voice-sim-audio-player__meta{font-size:.72rem}.voice-sim-audio-player__chip{white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;padding:.55rem .85rem;font-size:clamp(.82rem,1vw,1rem);font-weight:700;line-height:1;display:inline-flex}.voice-sim-audio-player__chip--green{background:color-mix(in srgb, var(--dev-teal) 12%, var(--dev-card));color:var(--dev-teal)}.voice-sim-audio-player__chip--peach{background:color-mix(in srgb, var(--dev-terra) 16%, var(--dev-card));color:var(--dev-terra)}.voice-sim-audio-player__meta{color:var(--dev-muted-2);white-space:nowrap;flex-wrap:wrap;justify-content:flex-end;gap:.35rem;font-family:IBM Plex Mono,ui-monospace,monospace;font-size:clamp(.8rem,.96vw,.98rem);font-weight:600;display:flex}.voice-sim-audio-player__dot{color:var(--dev-label)}.voice-sim-audio-player__main-row{grid-template-columns:5rem minmax(12rem,1fr) auto;align-items:center;gap:1.5rem;display:grid}.voice-sim-audio-player--compact .voice-sim-audio-player__main-row{grid-template-columns:3rem minmax(10rem,1fr) auto;gap:.85rem}.voice-sim-audio-player__play-button{background:var(--dev-teal);width:5rem;height:5rem;color:var(--dev-teal-cream);cursor:pointer;border:0;border-radius:999px;place-items:center;transition:filter .14s,transform .14s;display:grid}.voice-sim-audio-player--compact .voice-sim-audio-player__play-button{width:3rem;height:3rem}.voice-sim-audio-player__play-button:hover{filter:brightness(1.04);transform:translateY(-1px)}.voice-sim-audio-player__play-button:active{transform:translateY(0)}.voice-sim-audio-player__play-button:focus-visible,.voice-sim-audio-player__wave-shell:focus-visible{outline:2px solid var(--dev-terra);outline-offset:3px}.voice-sim-audio-player__play-icon{width:1.45rem;height:1.45rem}.voice-sim-audio-player__wave-shell{cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;align-items:center;height:6.8rem;display:grid;position:relative;overflow:hidden}.voice-sim-audio-player--compact .voice-sim-audio-player__wave-shell{height:3.6rem}.voice-sim-audio-player__wave-track{align-items:center;gap:clamp(.18rem,.34vw,.38rem);width:100%;height:4.6rem;display:flex;position:relative}.voice-sim-audio-player--compact .voice-sim-audio-player__wave-track{height:2.6rem}.voice-sim-audio-player__bar{min-width:.16rem;max-width:.5rem;height:var(--voice-sim-audio-bar-height);background:linear-gradient(to right, var(--dev-teal) 0 var(--voice-sim-audio-bar-progress), color-mix(in srgb, var(--dev-teal) 28%, var(--dev-card)) var(--voice-sim-audio-bar-progress) 100%);opacity:.9;border-radius:.15rem;flex:1 1 0}.voice-sim-audio-player__audio-wave{opacity:.86;align-items:center;gap:clamp(.12rem,.24vw,.28rem);width:100%;height:2.1rem;display:flex}.voice-sim-audio-player--compact .voice-sim-audio-player__audio-wave{height:1.05rem}.voice-sim-audio-player--compact .voice-sim-audio-player__time{min-width:6.2rem;font-size:.78rem}.voice-sim-audio-player__audio-wave-line{min-width:.1rem;max-width:.38rem;height:var(--voice-sim-audio-bar-height);background:linear-gradient(to top, var(--dev-terra) 0 var(--voice-sim-audio-bar-progress), color-mix(in srgb, var(--dev-terra) 28%, var(--dev-card)) var(--voice-sim-audio-bar-progress) 100%);border-radius:999px;flex:1 1 0}.voice-sim-audio-player__scrub-track{background:color-mix(in srgb, var(--dev-teal) 16%, var(--dev-card));border-radius:999px;height:.32rem;position:absolute;bottom:.2rem;left:0;right:0}.voice-sim-audio-player__scrub-fill{width:var(--voice-sim-audio-progress);border-radius:inherit;background:var(--dev-teal);position:absolute;top:0;bottom:0;left:0}.voice-sim-audio-player__scrub-thumb{top:50%;left:var(--voice-sim-audio-progress);border:2px solid var(--dev-teal-cream);background:var(--dev-terra);width:.9rem;height:.9rem;box-shadow:0 0 0 1px color-mix(in srgb, var(--dev-terra) 34%, transparent);border-radius:999px;transition:transform .12s;position:absolute;transform:translate(-50%,-50%)}.voice-sim-audio-player__wave-shell:hover .voice-sim-audio-player__scrub-thumb,.voice-sim-audio-player__wave-shell--scrubbing .voice-sim-audio-player__scrub-thumb{transform:translate(-50%,-50%)scale(1.14)}.voice-sim-audio-player__playhead{top:.2rem;bottom:.9rem;left:var(--voice-sim-audio-playhead-x);background:var(--dev-terra);width:.25rem;box-shadow:0 0 0 1px color-mix(in srgb, var(--dev-terra) 12%, transparent);pointer-events:none;border-radius:999px;position:absolute;transform:translate(-.125rem)}.voice-sim-audio-player__wave-shell--has-audio-wave .voice-sim-audio-player__playhead{bottom:.75rem}.voice-sim-audio-player__time{min-width:8.6rem;color:var(--dev-muted);text-align:right;white-space:nowrap;font-family:IBM Plex Mono,ui-monospace,monospace;font-size:clamp(.9rem,1.08vw,1.1rem);font-weight:700}.voice-sim-audio-player__label{color:var(--dev-label);letter-spacing:.12em;text-transform:uppercase;white-space:nowrap;font-family:IBM Plex Mono,ui-monospace,monospace;font-size:.72rem;font-weight:700}.voice-sim-audio-player__download{color:var(--dev-teal);text-underline-offset:4px;white-space:nowrap;font-size:.95rem;font-weight:700;text-decoration-thickness:1px}.voice-sim-audio-player__download:hover{text-decoration-line:underline}.voice-sim-audio-player__native{display:none}@media (width<=900px){.voice-sim-audio-player{border-radius:1.5rem;padding:1.35rem}.voice-sim-audio-player__top-row,.voice-sim-audio-player__bottom-row{flex-direction:column;align-items:flex-start}.voice-sim-audio-player__meta{justify-content:flex-start}.voice-sim-audio-player__main-row{grid-template-columns:3.75rem minmax(0,1fr);gap:1rem}.voice-sim-audio-player__play-button{width:3.75rem;height:3.75rem}.voice-sim-audio-player__time{text-align:left;grid-column:2;min-width:0}.voice-sim-audio-player--compact{padding:.8rem}.voice-sim-audio-player--compact .voice-sim-audio-player__top-row,.voice-sim-audio-player--compact .voice-sim-audio-player__bottom-row{gap:.65rem}.voice-sim-audio-player--compact .voice-sim-audio-player__main-row{grid-template-columns:3rem minmax(0,1fr);gap:.7rem}.voice-lab__summary-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:.4rem}.voice-lab__summary-row>div{padding:.5rem}.voice-lab__summary-row dt{font-size:.55rem}.voice-lab__summary-row dd{font-size:.72rem;line-height:1.2}.voice-lab__workflow-card>.flex p,.voice-lab__workflow-step>.flex p,.voice-lab__workflow-card section.border-t>.flex p{display:none}}.patient-visit-meeting-shell rtk-meeting-title,.patient-visit-meeting-shell rtk-header rtk-meeting-title{display:none!important}
