:root{color:#172033;background:#f4f6f8;color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}:root[data-theme=dark]{color:#e5edf7;background:#0b1020;color-scheme:dark}*{box-sizing:border-box}html,body{height:100%;height:100dvh}body{margin:0;min-width:320px;min-height:100vh;overflow:hidden;background:#f4f6f8}:root[data-theme=dark] body{background:#0b1020}#root{height:100%;height:100dvh}button,input,select,textarea{font:inherit}.app-shell{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr) minmax(280px,340px);grid-template-areas:"sidebar main right";gap:16px;height:100vh;height:100dvh;min-height:0;padding:16px;overflow:hidden}.app-shell[data-ui-mode=teaching]{grid-template-columns:minmax(240px,310px) minmax(0,1fr) minmax(240px,310px)}.app-shell[data-theme=dark]{background:#0b1020;color:#e5edf7}.sidebar,.right-rail{position:relative;z-index:2;display:flex;min-width:0;min-height:0;flex-direction:column;gap:12px;overflow-x:hidden;overflow-y:auto;overflow-anchor:none;padding-right:4px;scrollbar-gutter:stable}.sidebar{grid-area:sidebar}.right-rail{grid-area:right}.main-stage{position:relative;z-index:1;display:grid;grid-area:main;min-width:0;min-height:0;height:calc(100vh - 32px);height:calc(100dvh - 32px);grid-template-rows:auto minmax(0,1fr);gap:12px;overflow:hidden}.app-shell.viewer-only{grid-template-columns:0 minmax(0,1fr) 0;grid-template-areas:"sidebar main right";gap:0}.app-shell.viewer-only .sidebar,.app-shell.viewer-only .right-rail{width:0;min-width:0;padding:0;overflow:hidden;visibility:hidden;pointer-events:none}.app-shell.viewer-only .top-strip{height:0;min-height:0;overflow:hidden;visibility:hidden;pointer-events:none}.app-shell.viewer-only .main-stage{height:calc(100vh - 32px);height:calc(100dvh - 32px);grid-template-rows:0 minmax(0,1fr);gap:0}.top-strip{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:16px}.app-title{min-width:0}.app-title h1{margin:0;font-size:clamp(1.25rem,2vw,1.65rem);line-height:1.1;letter-spacing:0}.app-title p{margin:6px 0 0;color:#516071;font-size:.9rem}.stats-row{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.stat{min-width:88px;border:1px solid #d4dae2;border-radius:8px;background:#fff;padding:8px 10px}.stat span,.field label,.field-label,.toggle-row,.small-label{color:#5d6878;font-size:.78rem;font-weight:650;letter-spacing:0}.stat strong{display:block;margin-top:3px;color:#172033;font-size:1rem}.panel{min-width:0;max-width:100%;border:1px solid #d6dce5;border-radius:8px;background:#fff;contain:layout paint;box-shadow:0 1px 2px #11182714}.panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;border-bottom:1px solid #e6eaf0;padding:10px 12px}.panel-header h2{margin:0;font-size:.9rem;letter-spacing:0}.panel-actions{display:flex;min-width:0;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px}.panel>:not(.panel-header){min-width:0;max-width:calc(100% - 24px);margin:12px}.app-shell[data-theme=dark] .panel,.app-shell[data-theme=dark] .stat,.app-shell[data-theme=dark] .gallery-card,.app-shell[data-theme=dark] .catalogue-entry,.app-shell[data-theme=dark] .advanced-details,.app-shell[data-theme=dark] .guide-card,.app-shell[data-theme=dark] .topology-inspector,.app-shell[data-theme=dark] .research-status-card,.app-shell[data-theme=dark] .compact-warning-summary,.app-shell[data-theme=dark] .gamma-legend-item,.app-shell[data-theme=dark] .label-legend,.app-shell[data-theme=dark] .topology-lens-readout{border-color:#263348;background:#111827;color:#e5edf7;box-shadow:0 1px 2px #0000004d}.app-shell[data-theme=dark] .panel-header,.app-shell[data-theme=dark] .subset-list li,.app-shell[data-theme=dark] .inspector-table th,.app-shell[data-theme=dark] .inspector-table td,.app-shell[data-theme=dark] .story-list li,.app-shell[data-theme=dark] .experiment-summary,.app-shell[data-theme=dark] .topology-summary,.app-shell[data-theme=dark] .ygamma-higher-summary,.app-shell[data-theme=dark] .catalogue-panel{border-color:#263348}.app-shell[data-theme=dark] .app-title p,.app-shell[data-theme=dark] .stat span,.app-shell[data-theme=dark] .field label,.app-shell[data-theme=dark] .field-label,.app-shell[data-theme=dark] .toggle-row,.app-shell[data-theme=dark] .small-label,.app-shell[data-theme=dark] .subset-rank,.app-shell[data-theme=dark] .inspector-table th,.app-shell[data-theme=dark] .math-note,.app-shell[data-theme=dark] .story-list li,.app-shell[data-theme=dark] .label-legend-row,.app-shell[data-theme=dark] .pair-matrix-button small,.app-shell[data-theme=dark] .ygamma-mini-grid small{color:#a8b4c7}.app-shell[data-theme=dark] .stat strong,.app-shell[data-theme=dark] .pair-matrix-button strong,.app-shell[data-theme=dark] .topology-lens-readout strong,.app-shell[data-theme=dark] .advanced-details summary,.app-shell[data-theme=dark] .research-status-card summary{color:#f3f7fb}.app-shell[data-theme=dark] .research-lane-strip span{border-color:#334155;background:#111827;color:#dbeafe}.app-shell[data-theme=dark] .research-status-card summary span{color:#cbd5e1}.app-shell[data-theme=dark] .catalogue-panel summary,.app-shell[data-theme=dark] .catalogue-entry p{color:#d9e2ef}.app-shell[data-theme=dark] .status-pill{border-color:#355176;background:#13253f;color:#cfe1ff}.app-shell[data-theme=dark] .warning-pill{border-color:#816817;background:#2e260d;color:#ffe59a}.field{display:grid;gap:6px;margin-bottom:12px}.field input,.field select,.field textarea{min-width:0;border:1px solid #cbd3df;border-radius:6px;background:#fff;color:#172033;padding:8px 9px}.app-shell[data-theme=dark] .field input,.app-shell[data-theme=dark] .field select,.app-shell[data-theme=dark] .field textarea{border-color:#344158;background:#0f172a;color:#e5edf7}.field textarea{min-height:120px;resize:vertical}.field-help{color:#5d6878;font-size:.78rem;line-height:1.35}.app-shell[data-theme=dark] .field-help{color:#a8b4c7}.segmented{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.segmented-three{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:10px}.preset-grid,.chip-grid,.step-grid,.button-row,.pair-matrix{display:grid;gap:6px;margin-bottom:10px}.preset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workflow-panel{display:grid;gap:10px}.workflow-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.workflow-steps button{min-height:46px;border:1px solid #d7e0ec;background:#f8fafc;color:#233044;border-radius:6px;padding:6px 4px;font-size:.72rem;line-height:1.15}.workflow-steps button[aria-pressed=true]{border-color:#2563eb;background:#eaf1ff}.chip-grid,.step-grid{grid-template-columns:repeat(auto-fit,minmax(62px,1fr))}.button-row{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;min-width:0;max-width:100%}.button-row .button{min-width:0;overflow-wrap:anywhere}.advanced-details{border:1px solid #e0e6ee;border-radius:7px;background:#f8fafc;padding:8px;margin:8px 0 10px}.advanced-details summary{cursor:pointer;font-weight:700;color:#233044}.compact-details{margin-bottom:0}.reader-control-group,.reader-summary{display:grid;gap:8px}.reader-control-group{margin-bottom:10px}.reader-control-row{display:grid;gap:8px;margin-bottom:10px}.research-lane-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:8px 0 10px}.research-lane-strip span{border:1px solid #d9e2ef;border-radius:999px;background:#f8fbff;color:#405066;font-size:.72rem;font-weight:700;padding:5px 8px;text-align:center}.inspector-current-view{border-top:1px solid #e0e6ee;margin-top:10px;padding-top:10px}.research-status-cards{display:grid;gap:8px}.research-status-card{border:1px solid #e0e6ee;border-radius:7px;background:#f8fafc;padding:8px}.research-status-card summary{display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;color:#233044;font-size:.86rem}.research-status-card summary span{color:#5d6878;font-size:.76rem;text-align:right}.focus-button-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.focus-button-grid .button{min-height:38px;justify-content:center}.ygamma-reader{display:grid;gap:10px}.compact-grid{grid-template-columns:repeat(auto-fit,minmax(92px,1fr))}.range-control{width:100%;accent-color:#0f6b5f}.range-ticks{display:flex;justify-content:space-between;color:#667085;font-size:.7rem}.app-shell[data-theme=dark] .range-ticks{color:#a8b4c7}.pair-matrix{grid-template-columns:repeat(auto-fit,minmax(104px,1fr))}.ygamma-relation-grid{display:grid;max-height:260px;grid-template-columns:repeat(auto-fit,minmax(116px,1fr));gap:6px;margin-bottom:10px;overflow:auto;padding-right:2px}.segmented button,.button,.icon-button,.preset-grid button,.pair-matrix-button,.chip-button,.step-grid button,.breadcrumb button{border:1px solid #c7cfda;border-radius:6px;background:#fff;color:#172033;cursor:pointer}.app-shell[data-theme=dark] .segmented button,.app-shell[data-theme=dark] .button,.app-shell[data-theme=dark] .icon-button,.app-shell[data-theme=dark] .preset-grid button,.app-shell[data-theme=dark] .pair-matrix-button,.app-shell[data-theme=dark] .chip-button,.app-shell[data-theme=dark] .step-grid button,.app-shell[data-theme=dark] .breadcrumb button,.app-shell[data-theme=dark] .ygamma-mini-grid button{border-color:#344158;background:#111827;color:#e5edf7}.segmented button,.preset-grid button,.pair-matrix-button,.chip-button,.step-grid button{min-height:36px;padding:6px 8px}.segmented button[aria-pressed=true],.preset-grid button[aria-pressed=true],.chip-button[aria-pressed=true],.button.primary{border-color:#0f6b5f;background:#0f6b5f;color:#fff}.app-shell[data-theme=dark] .segmented button[aria-pressed=true],.app-shell[data-theme=dark] .preset-grid button[aria-pressed=true],.app-shell[data-theme=dark] .chip-button[aria-pressed=true],.app-shell[data-theme=dark] .button.primary{border-color:#31c7ac;background:#0d7668;color:#fff}.chip-button[data-active=true]{box-shadow:0 0 0 2px #0f6b5f33}.button[data-active=true]{border-color:#b42318;background:#fff7ed;box-shadow:0 0 0 2px #b4231829}.pair-matrix-button{display:grid;min-height:82px;align-content:start;gap:2px;text-align:left}.pair-matrix-button[data-active=true]{border-color:#b42318;background:#fff7ed;box-shadow:0 0 0 2px #b4231829}.pair-matrix-button strong{color:#172033;font-size:.92rem}.pair-matrix-button small{color:#5d6878;font-size:.72rem;line-height:1.25}.breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin:10px 0}.breadcrumb button{min-height:28px;padding:3px 8px;font-weight:650}.breadcrumb-separator{color:#7b8794;margin-right:4px}.button{display:inline-flex;min-height:34px;align-items:center;justify-content:center;gap:8px;padding:6px 10px}.file-button{width:100%}.hidden-input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.button:disabled,.segmented button:disabled,.preset-grid button:disabled,.chip-button:disabled,.step-grid button:disabled,.breadcrumb button:disabled{cursor:not-allowed;opacity:.58}.icon-button{display:inline-grid;flex:0 0 36px;width:36px;height:36px;place-items:center}.toggle-row{display:flex;align-items:center;gap:8px;margin-bottom:8px}.toggle-row input{width:16px;height:16px;accent-color:#0f6b5f}.scene-shell{position:relative;min-width:0;min-height:0;overflow:hidden;border:1px solid #cbd3df;border-radius:8px;background:#f6f7f9}.app-shell[data-theme=dark] .scene-shell{border-color:#263348;background:#0d1117}.viewer-with-overlay{position:relative;display:block;min-width:0;min-height:0;height:100%}.viewer-with-overlay .scene-shell{height:100%}.viewer-with-overlay.has-ygamma-atlas{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:8px}.viewer-with-overlay.has-ygamma-atlas .scene-shell{grid-column:1;grid-row:1}.viewer-with-overlay.is-comparing{display:grid;grid-template-rows:minmax(420px,1fr);gap:0}.viewer-with-overlay.has-ygamma-atlas.is-comparing .ygamma-mini-atlas,.viewer-with-overlay.is-comparing .ygamma-mini-atlas{display:none}.ygamma-comparison-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0;min-height:min(70vh,640px);height:100%}.ygamma-comparison-grid.is-shared-canvas{display:block;position:relative;overflow:hidden}.ygamma-comparison-grid.is-shared-canvas .scene-shell{height:100%;min-height:min(70vh,620px)}.ygamma-comparison-pane-label{position:absolute;top:10px;z-index:4;display:grid;gap:2px;width:min(42%,320px);padding:7px 9px;border:1px solid rgba(148,163,184,.58);border-radius:6px;background:#ffffffe0;box-shadow:0 2px 8px #0f172a1a;pointer-events:none}.ygamma-comparison-pane-label.is-left{left:10px}.ygamma-comparison-pane-label.is-right{right:10px;text-align:right}.ygamma-comparison-pane-label strong{color:#172033;font-size:.8rem}.ygamma-comparison-pane-label span{color:#5d6878;font-size:.7rem;line-height:1.25}:root[data-theme=dark] .ygamma-comparison-pane-label{border-color:#64748bb8;background:#111827e0;box-shadow:0 2px 8px #00000047}:root[data-theme=dark] .ygamma-comparison-pane-label strong{color:#f1f5f9}:root[data-theme=dark] .ygamma-comparison-pane-label span{color:#b9c5d3}.ygamma-comparison-pane{display:grid;grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:420px;gap:5px}.ygamma-comparison-pane .scene-shell{min-height:390px;height:100%}@media(max-width:900px){.ygamma-comparison-grid{grid-template-columns:1fr;min-height:640px;overflow:auto}.ygamma-comparison-pane,.ygamma-comparison-pane .scene-shell{min-height:300px}.ygamma-comparison-grid.is-shared-canvas{min-height:520px;overflow:hidden}.ygamma-comparison-grid.is-shared-canvas .scene-shell{min-height:520px}}.scene-canvas{width:100%;height:100%;min-width:0;min-height:0}.scene-canvas canvas{display:block;width:100%;height:100%;max-width:100%;max-height:100%}.model-switch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.model-switch-grid .button:last-child{grid-column:1 / -1}.model-switch-grid .button[aria-pressed=true]{border-color:#0f6b5f;background:#0f6b5f;color:#fff}.start-here-list,.workflow-list{display:grid;gap:7px;margin:0;padding:0;list-style:none}.start-here-action{display:grid;gap:3px;border:1px solid #d4dce6;border-radius:6px;background:#f8fafc;color:#172033;padding:9px 10px;text-align:left;cursor:pointer}.start-here-action:hover{border-color:#0f6b5f;background:#f0fdfa}.start-here-action strong,.workflow-list strong{font-size:.82rem}.start-here-action span,.workflow-list span{color:#5d6878;font-size:.74rem;line-height:1.35}.workflow-list{margin-bottom:10px;counter-reset:none}.workflow-list li{display:grid;grid-template-columns:minmax(108px,auto) minmax(0,1fr);align-items:baseline;gap:8px;border-left:3px solid #cbd5e1;padding:4px 0 4px 9px}.workflow-list li[data-complete=true]{border-left-color:#0f8a75}.wall-diagnostic-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:10px}.wall-reader-card{display:grid;gap:8px;margin-top:10px;border:1px solid #d8e0ea;border-radius:6px;padding:9px;background:#f8fafc}.virtual-fibering-card{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;min-width:0;max-width:100%;margin:12px 0;border:1px solid #cbd8e6;border-left:3px solid #2563a6;border-radius:6px;padding:10px;background:#f7faff}.virtual-fibering-card>*{min-width:0;max-width:100%}.success-inline{margin:4px 0 0;border-left:3px solid #0f8a75;background:#edf9f5;padding:8px 10px;color:#145f51;font-size:.78rem;line-height:1.42}.table-scroll{max-width:100%;overflow:auto}.compact-table{width:100%;border-collapse:collapse;font-size:.72rem}.compact-table th,.compact-table td{border-bottom:1px solid #dce4ee;padding:5px 7px;text-align:left;vertical-align:top;white-space:nowrap}.compact-table th{color:#526174;font-weight:750}.relation-family-reader-card{display:grid;gap:8px;margin:10px 0;border:1px solid #cbd8e6;border-left:3px solid #0f8a75;border-radius:6px;padding:9px;background:#f7fbfa}.relation-family-reader-card .field{margin:0}.wall-reader-key{gap:6px;font-size:.74rem;line-height:1.35}.wall-arrow-key{display:grid;width:18px;height:18px;place-items:center;color:#0f766e;font-weight:800}.status-datum{border:1px solid #e0e6ee;border-radius:6px;padding:7px}.status-datum span{display:block;color:#5d6878;font-size:.7rem}.status-datum strong{display:block;margin-top:2px;font-size:.8rem}.viewer-frame{position:relative;min-width:0;min-height:0;overflow:hidden}.viewer-frame>.scene-shell{width:100%;height:100%}.viewer-empty-overlay,.viewer-progress{position:absolute;z-index:4;left:50%;transform:translate(-50%);border:1px solid #cbd5e1;border-radius:7px;background:#fffffff0;box-shadow:0 8px 24px #0f172a1f;color:#172033}.viewer-empty-overlay{top:50%;display:grid;width:min(460px,calc(100% - 32px));gap:6px;padding:16px;transform:translate(-50%,-50%);text-align:center}.viewer-empty-overlay span{color:#5d6878;font-size:.82rem;line-height:1.4}.viewer-progress{top:12px;padding:6px 10px;font-size:.76rem;font-weight:700}.top-actions{display:flex;align-items:center;gap:6px}.model-summary{margin:0 0 8px;color:#5d6878;font-size:.8rem;line-height:1.4}.inspector-question h3{margin:0 0 3px;font-size:.76rem;text-transform:none}.inspector-question p{margin:0;color:#374254;font-size:.8rem;line-height:1.42}.inspector-definition-list{display:grid;gap:6px;margin:0}.inspector-definition-list>div{display:grid;grid-template-columns:minmax(96px,.8fr) minmax(0,1.2fr);gap:8px;border-bottom:1px solid #e6eaf0;padding-bottom:5px}.inspector-definition-list dt{color:#5d6878;font-size:.72rem}.inspector-definition-list dd{margin:0;font-size:.76rem;font-weight:650;overflow-wrap:anywhere}.app-shell[data-theme=dark] .start-here-action,.app-shell[data-theme=dark] .status-datum,.app-shell[data-theme=dark] .wall-reader-card,.app-shell[data-theme=dark] .relation-family-reader-card,.app-shell[data-theme=dark] .virtual-fibering-card,.app-shell[data-theme=dark] .viewer-empty-overlay,.app-shell[data-theme=dark] .viewer-progress{border-color:#344158;background:#111827;color:#e5edf7}.app-shell[data-theme=dark] .success-inline{border-left-color:#31c7ac;background:#12332e;color:#b8f3e8}.app-shell[data-theme=dark] .compact-table th,.app-shell[data-theme=dark] .compact-table td{border-color:#344158}.app-shell[data-theme=dark] .compact-table th{color:#b7c3d4}.app-shell[data-theme=dark] .start-here-action:hover{border-color:#31c7ac;background:#13253f}.app-shell[data-theme=dark] .start-here-action span,.app-shell[data-theme=dark] .workflow-list span,.app-shell[data-theme=dark] .status-datum span,.app-shell[data-theme=dark] .model-summary,.app-shell[data-theme=dark] .inspector-question p,.app-shell[data-theme=dark] .inspector-definition-list dt,.app-shell[data-theme=dark] .viewer-empty-overlay span{color:#a8b4c7}.app-shell[data-theme=dark] .inspector-definition-list>div{border-color:#263348}@media(max-width:1120px){.app-shell:not(.viewer-only){grid-template-columns:minmax(235px,285px) minmax(0,1fr);grid-template-areas:"sidebar main" "right main"}.sidebar,.right-rail{max-height:calc(50dvh - 24px)}}@media(max-width:760px){body{overflow:auto}.app-shell:not(.viewer-only){display:flex;height:auto;min-height:100dvh;flex-direction:column;overflow:visible}.main-stage{order:-1;height:72dvh;min-height:520px}.sidebar,.right-rail{max-height:none;overflow:visible}.top-strip{align-items:flex-start;flex-wrap:wrap}}.ygamma-viewer{min-height:620px;border:1px solid #cbd3df;border-radius:8px;background:#fff;overflow:hidden}.ygamma-viewer-header,.ygamma-viewer-footer{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:14px 16px}.ygamma-viewer-header{border-bottom:1px solid #e6eaf0}.ygamma-viewer-header h2{margin:0;font-size:1rem}.ygamma-viewer-header p,.ygamma-viewer-footer p{margin:5px 0 0;color:#374254;font-size:.88rem;line-height:1.42}.ygamma-viewer-footer{display:grid;border-top:1px solid #e6eaf0;background:#f8fafc}.ygamma-view-switch{min-width:240px;grid-template-columns:repeat(5,minmax(0,1fr))}.model-switch-help{grid-column:1 / -1;color:#5d6878;font-size:.76rem;font-weight:650;line-height:1.3;padding:2px 3px 0}.app-shell[data-theme=dark] .model-switch-help{color:#cbd5e1}.compact-buttons{min-width:280px;margin:0}.ygamma-complex-svg{display:block;width:100%;min-height:500px;background:linear-gradient(#fff,#f8fafc)}.ygamma-section-label,.ygamma-omitted-label{fill:#5d6878;font-size:14px;font-weight:750}.ygamma-generator-arrow{stroke-width:4;stroke-linecap:round;opacity:.86}.ygamma-generator-arrowhead{opacity:.92}.ygamma-arrow-label{fill:#172033;font-size:13px;font-weight:800;paint-order:stroke;stroke:#fff;stroke-width:4px}.ygamma-base-vertex{fill:#172033;stroke:#fff;stroke-width:4;filter:drop-shadow(0 3px 4px rgb(15 23 42 / 24%))}.ygamma-base-label{fill:#fff;font-size:18px;font-weight:900}.ygamma-relation-polytope{fill:#0f6b5f17;stroke:#344054;stroke-width:1.4}.ygamma-relation-polytope.is-active{fill:#b4231824;stroke:#b42318;stroke-width:3}.ygamma-relation-tether{stroke:#47546738;stroke-width:1.4;stroke-dasharray:5 5}.ygamma-relation-edge{stroke-width:3.4;stroke-linecap:round}.ygamma-relation-title{fill:#172033;font-size:13px;font-weight:850}.ygamma-relation-subtitle{fill:#5d6878;font-size:11px;font-weight:700}.ygamma-nerve-svg{display:block;width:100%;min-height:430px}.ygamma-nerve-guide{fill:none;stroke:#d5dce6;stroke-dasharray:6 6}.ygamma-nerve-simplex{fill:#2563eb1a;stroke:#2563eb38;stroke-width:1.4}.ygamma-nerve-chord{stroke:#37415175;stroke-width:2.2}.ygamma-nerve-chord-hit{stroke:transparent;stroke-width:18}.ygamma-nerve-chord.is-active{stroke:#b42318;stroke-width:5}.ygamma-nerve-relation-label{fill:#7c2d12;font-size:15px;font-weight:800;paint-order:stroke;stroke:#fff;stroke-width:4px}.ygamma-nerve-node{stroke:#fff;stroke-width:3;filter:drop-shadow(0 2px 3px rgb(15 23 42 / 18%))}.ygamma-nerve-node-label{fill:#fff;font-size:12px;font-weight:800;pointer-events:none}.scene-reset{position:absolute;top:12px;right:12px}.viewer-ui-toggle{position:absolute;z-index:8;top:12px;left:12px;border:1px solid rgb(203 213 225 / 84%);border-radius:7px;background:#ffffffeb;color:#172033;padding:7px 10px;font-weight:750;box-shadow:0 10px 24px #0f172a1f}.app-shell[data-theme=dark] .viewer-ui-toggle{border-color:#475569d6;background:#0f172aeb;color:#e5edf7}.ygamma-mini-atlas{position:absolute;z-index:4;right:14px;bottom:14px;display:grid;width:min(360px,calc(100% - 28px));max-height:min(42vh,360px);gap:8px;border:1px solid rgb(203 213 225 / 84%);border-radius:8px;background:#ffffffeb;box-shadow:0 10px 24px #0f172a1f;padding:10px;overflow:auto}.viewer-with-overlay.has-ygamma-atlas .ygamma-mini-atlas{position:static;z-index:1;grid-column:1;grid-row:2;align-self:stretch;width:100%;max-height:min(19vh,150px)}.app-shell[data-theme=dark] .ygamma-mini-atlas,.app-shell[data-theme=dark] .comparison-overlay{border-color:#475569d6;background:#0f172aeb;color:#e5edf7}.ygamma-mini-atlas>strong{font-size:.82rem}.ygamma-mini-group{display:grid;gap:5px}.ygamma-mini-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(88px,1fr));gap:5px}.comparison-overlay{position:absolute;z-index:5;left:14px;bottom:14px;display:grid;max-width:min(380px,calc(100% - 28px));gap:4px;border:1px solid rgb(15 107 95 / 28%);border-radius:8px;background:#ffffffeb;box-shadow:0 10px 24px #0f172a1a;padding:10px 12px;color:#172033;font-size:.82rem}.comparison-overlay strong{font-size:.9rem}.gallery-list{display:grid;gap:8px}.gallery-card{display:grid;gap:4px;width:100%;border:1px solid #d5dce6;border-radius:8px;background:#fff;color:#172033;padding:9px 10px;text-align:left}.gallery-card:hover{border-color:#0f6b5f;box-shadow:0 0 0 2px #0f6b5f1a}.catalogue-panel{margin-top:10px;border-top:1px solid #e6eaf0;padding-top:10px}.catalogue-panel summary{cursor:pointer;color:#172033;font-weight:750}.catalogue-list{display:grid;max-height:360px;gap:8px;overflow:auto;padding-right:4px}.catalogue-entry{display:grid;gap:5px;border:1px solid #d5dce6;border-radius:8px;background:#fbfcfe;padding:9px 10px}.catalogue-entry strong{display:block;margin-top:2px}.catalogue-entry p{margin:0;color:#3f4a5a;font-size:.82rem}.status-pill{justify-self:start;border:1px solid #c8d4e3;border-radius:999px;background:#eef4ff;padding:2px 7px;color:#274269;font-size:.72rem;font-weight:750}.cover-discovery-card{display:grid;gap:10px;border-block:1px solid var(--panel-border, #d5dce6);margin:12px 0;padding:12px 0}.panel-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.panel-section-heading .field-help{margin:4px 0 0}.cover-discovery-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.status-found,.status-passed{border-color:#63a58f;background:#e7f7ef;color:#155f4b}.status-incomplete{border-color:#c8a85c;background:#fff7dd;color:#765500}.status-searching{border-color:#74a4d8;background:#eaf3ff;color:#24598f}.status-failed,.status-timeout{border-color:#d78a82;background:#fff0ee;color:#8c3028}.status-exhausted,.status-skipped{border-color:#c8a85c;background:#fff7dd;color:#765500}.warning-pill{border-color:#e0c46d;background:#fff8d6;color:#6d4f00}.link-like,.link-button{color:#0f6b5f;font-weight:750}.link-button{border:0;background:transparent;padding:0;text-align:left}.repair-list{display:grid;gap:6px;margin:8px 0 0;padding:0;list-style:none}.repair-list li{display:grid;gap:2px;border-left:3px solid #bf8700;background:#fff8e6;padding:7px 9px;color:#374254;font-size:.82rem}.ygamma-mini-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(78px,1fr));gap:5px}.ygamma-mini-grid button{display:grid;min-height:54px;align-content:start;gap:1px;border:1px solid #c7cfda;border-radius:6px;background:#fff;color:#172033;padding:5px 6px;text-align:left}.ygamma-mini-grid button[data-active=true]{border-color:#b42318;background:#fff7ed;box-shadow:0 0 0 2px #b4231824}.ygamma-mini-grid button:disabled{cursor:not-allowed;opacity:.42}.ygamma-mini-grid span{overflow:hidden;font-size:.68rem;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.ygamma-mini-grid strong{font-size:.78rem}.ygamma-mini-grid small{color:#5d6878;font-size:.65rem}.legend-list,.plain-list,.subset-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}.legend-item{display:grid;grid-template-columns:16px minmax(0,1fr);align-items:center;gap:8px}.swatch{width:14px;height:14px;border:1px solid rgb(0 0 0 / 18%);border-radius:50%}.subset-list li{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #e6eaf0;padding-bottom:6px;font-size:.85rem}.subset-rank{flex:0 0 auto;border:1px solid #cbd3df;border-radius:999px;padding:2px 7px;color:#5d6878;font-size:.72rem;font-weight:650}.local-link-view{display:block;width:100%;max-width:180px;margin:0 auto .5rem}.local-link-face{fill:#2563eb1f;stroke:#2563eb52;stroke-width:1.2}.local-link-edge{stroke:#24292f73;stroke-width:1.6}.local-link-edge-hit{stroke:transparent;stroke-width:12}.local-link-edge.is-active{stroke:#0f6b5f;stroke-width:3}.local-link-edge.is-disabled{opacity:.28;stroke-dasharray:4 3}.local-link-node{stroke:#fff;stroke-width:2}.local-link-label{fill:#fff;font-size:9px;font-weight:700;paint-order:stroke fill;pointer-events:none;stroke:#0f172ad1;stroke-width:2.4px}.local-link-view [role=button]:focus-visible .local-link-node,.local-link-view [role=button]:focus-visible .local-link-edge{outline:none;stroke:#facc15;stroke-width:3}.inspector-table{width:100%;border-collapse:collapse;font-size:.87rem}.inspector-table th,.inspector-table td{border-bottom:1px solid #e6eaf0;padding:7px 0;text-align:left;vertical-align:top}.inspector-table th{width:38%;color:#5d6878;font-weight:650}.matrix-key{overflow-wrap:anywhere;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,ui-monospace,monospace;font-size:.73rem}.warning-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}.compact-warning-summary{display:grid;gap:6px;border:1px solid #e0e6ee;border-radius:7px;background:#f8fafc;padding:8px;margin-bottom:8px;color:#374254;font-size:.84rem}.warning-chip-row{display:flex;flex-wrap:wrap;gap:5px}.warning-list li{border-left:3px solid #b88700;background:#fff8df;padding:8px 10px;color:#463800;font-size:.86rem}.app-shell[data-theme=dark] .warning-list li,.app-shell[data-theme=dark] .repair-list li{border-left-color:#f6c453;background:#2a210d;color:#f7e8b8}.warning-group-label,.status-badge{display:inline-flex;width:fit-content;align-items:center;border:1px solid #cbd3df;border-radius:999px;background:#fff;color:#5d6878;font-size:.72rem;font-weight:700}.warning-group-label{margin-right:8px;padding:2px 7px}.badge-row{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}.status-row{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.current-model-badge{align-items:center;background:#fff;border:1px solid #d7e0ec;border-radius:8px;color:#374254;display:inline-grid;gap:1px;min-width:145px;padding:6px 10px}.current-model-badge span{color:#6b7280;font-size:.68rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.current-model-badge strong{color:#172033;font-size:.9rem}.current-model-badge em{color:#5d6878;font-size:.74rem;font-style:normal}.current-model-badge small{color:#9a3412;font-size:.72rem;font-weight:750}.app-shell[data-theme=dark] .current-model-badge{background:#101828;border-color:#334155;color:#dbeafe}.app-shell[data-theme=dark] .current-model-badge strong{color:#f8fafc}.app-shell[data-theme=dark] .current-model-badge span,.app-shell[data-theme=dark] .current-model-badge em{color:#cbd5e1}.app-shell[data-theme=dark] .current-model-badge small{color:#facc15}.gamma-legend{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 10px}.gamma-legend-item{display:inline-flex;align-items:center;gap:6px;border:1px solid #d7e0ec;border-radius:999px;background:#fff;color:#374254;padding:3px 8px;font-size:.76rem;font-weight:700}.gamma-legend-swatch{width:11px;height:11px;border-radius:999px}.gamma-layout-toggle{margin:8px 0}.gamma-generator-picker{align-items:center;grid-template-columns:minmax(0,1fr) minmax(90px,.8fr);margin:10px 0 8px}.gamma-incidence-partition{border-block:1px solid #dce3ec;margin:12px 0;padding:12px 0}.gamma-relation-components{border-bottom:1px solid #dce3ec;margin:0 0 12px;padding:0 0 12px}.gamma-relation-components-heading,.gamma-relation-order-heading{align-items:center;display:flex;gap:7px}.gamma-relation-components-heading{justify-content:space-between}.gamma-relation-components-heading h4{font-size:.92rem;margin:2px 0 0}.gamma-relation-order-list{display:grid;gap:10px}.gamma-relation-order{border-left:3px solid #cbd5e1;padding-left:8px}.gamma-relation-order-heading>span:last-child{color:#5d6878;font-size:.75rem}.gamma-component-list{display:grid;gap:5px;margin:7px 0 4px}.gamma-component-list>li{align-items:center;display:grid;gap:6px;grid-template-columns:auto minmax(0,1fr) auto}.gamma-component-label{color:#475569;font-size:.75rem;font-weight:800}.gamma-component-generators{display:flex;flex-wrap:wrap;gap:4px}.gamma-isolated-generators{color:#5d6878;font-size:.75rem;margin:5px 0 0}.gamma-incidence-heading,.gamma-incidence-class-heading{align-items:center;display:flex;gap:7px}.gamma-incidence-heading{justify-content:space-between}.gamma-incidence-heading h4{font-size:.92rem;margin:2px 0 0}.gamma-partition-note{margin:8px 0 10px}.gamma-incidence-classes{display:grid;gap:7px}.gamma-incidence-class{border-left:3px solid #cbd5e1;padding:3px 0 3px 8px}.gamma-incidence-class.is-omitted{border-left-style:dashed;opacity:.82}.gamma-incidence-class-heading>span:last-child{color:#5d6878;font-size:.75rem}.gamma-neighbor-list{display:flex;flex-wrap:wrap;gap:5px;margin-top:5px}.gamma-neighbor-chip{border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#172033;cursor:pointer;font:inherit;font-size:.75rem;font-weight:700;padding:3px 7px}.gamma-neighbor-chip:hover,.gamma-neighbor-chip:focus-visible{border-color:#0f766e;color:#0f766e}.gamma-partition-check{color:#166534;font-size:.78rem;font-weight:700;margin:9px 0 0}.gamma-partition-check[data-partition-complete=false]{color:#9a3412}.gamma-edge-record-list{max-height:220px;overflow:auto}.app-shell[data-theme=dark] .gamma-incidence-partition,.app-shell[data-theme=dark] .gamma-relation-components{border-color:#334155}.app-shell[data-theme=dark] .gamma-relation-order-heading>span:last-child,.app-shell[data-theme=dark] .gamma-component-label,.app-shell[data-theme=dark] .gamma-isolated-generators{color:#cbd5e1}.app-shell[data-theme=dark] .gamma-incidence-class-heading>span:last-child{color:#cbd5e1}.app-shell[data-theme=dark] .gamma-neighbor-chip{border-color:#475569;background:#172033;color:#f8fafc}.app-shell[data-theme=dark] .gamma-neighbor-chip:hover,.app-shell[data-theme=dark] .gamma-neighbor-chip:focus-visible{border-color:#5eead4;color:#99f6e4}.app-shell[data-theme=dark] .gamma-partition-check{color:#86efac}.app-shell[data-theme=dark] .gamma-partition-check[data-partition-complete=false]{color:#fdba74}.gamma-planarity-note{margin:8px 0 10px}.gamma-planarity-note p{margin:4px 0 0}.guide-card,.topology-inspector{border:1px solid #e0e6ee;border-radius:7px;background:#f8fafc;padding:9px}.guide-card h3,.topology-inspector h3{margin:4px 0 6px;font-size:.94rem}.inspector-question{border-bottom:1px solid #e6eaf0;margin-bottom:8px;padding-bottom:8px}.inspector-question:last-of-type{border-bottom:0;margin-bottom:4px;padding-bottom:0}.inspector-action-hint,.caveat-headline{border:1px solid #dbe5f2;border-radius:7px;background:#f8fbff;color:#374254;font-size:.84rem;line-height:1.4;margin:0 0 8px;padding:8px 9px}.app-shell[data-theme=dark] .inspector-action-hint,.app-shell[data-theme=dark] .caveat-headline{background:#111827;border-color:#334155;color:#dbeafe}.status-badge{padding:3px 8px}.status-badge.muted{border-style:dashed}.story-list li{border-bottom:1px solid #e6eaf0;padding-bottom:6px;color:#374254;font-size:.86rem;line-height:1.42}.compact-story-list{display:grid;gap:6px}.label-legend{display:grid;gap:7px;border:1px solid #e0e6ee;border-radius:7px;background:#f8fafc;padding:9px;margin-bottom:10px}.label-legend-row{display:grid;grid-template-columns:minmax(74px,.42fr) minmax(0,1fr);gap:8px;color:#374254;font-size:.82rem;line-height:1.35}.ygamma-higher-summary{border-top:1px solid #e6eaf0;padding-top:8px}.relation-walk-list{display:grid;gap:5px;margin:0;padding-left:1.25rem;color:#374254;font-size:.82rem}.relation-walk-list small{color:#6b7280}.experiment-summary,.topology-summary{border-top:1px solid #e6eaf0;padding-top:8px}.topology-lens-readout{border:1px solid #dbe5f2;background:#f8fbff;border-radius:6px;padding:9px}.topology-lens-readout strong{display:block;color:#172033;font-size:.9rem;margin-bottom:4px}.error-box{border-left:3px solid #c52727;background:#fff1f1;padding:8px 10px;color:#7c1414;font-size:.86rem}.app-shell[data-theme=dark] .error-box{border-left-color:#f87171;background:#321417;color:#fecaca}.math-note{color:#374254;font-size:.88rem;line-height:1.45}.compact-note{margin-top:-2px;margin-bottom:10px}.game-editor{display:grid;gap:8px}.game-model-cards{display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:10px}.task-card-grid{display:grid;gap:8px;margin-bottom:10px}.task-card{display:grid;gap:4px;width:100%;border:1px solid #dbe5f2;border-radius:8px;background:#f8fbff;color:#172033;cursor:pointer;padding:9px 10px;text-align:left}.task-card strong{font-size:.9rem}.task-card span{color:#5d6878;font-size:.8rem;line-height:1.35}.task-card:hover:not(:disabled),.task-card:focus-visible{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb24}.task-card:disabled{cursor:not-allowed;opacity:.55}.model-switch-sidebar{grid-template-columns:repeat(2,minmax(0,1fr));justify-content:flex-start}.model-switch-sidebar button{flex:1 1 92px;min-width:0;min-height:38px;white-space:normal}.workflow-mini-steps{display:grid;gap:6px;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 10px;padding:0;list-style:none}.workflow-mini-steps li{border:1px solid #dbe5f2;border-radius:7px;background:#f8fbff;padding:7px}.workflow-mini-steps strong{display:block;color:#172033;font-size:.78rem}.workflow-mini-steps span{color:#5d6878;font-size:.72rem;line-height:1.25}.jnw-workflow-rail{display:grid;gap:6px;grid-template-columns:repeat(6,minmax(0,1fr));list-style:none;margin:0;padding:0}.jnw-workflow-rail li{border:1px solid #dbe5f2;border-radius:8px;background:#f8fbff;display:grid;gap:3px;min-width:0;padding:7px}.jnw-workflow-rail li[data-status=active]{border-color:#2563eb;box-shadow:inset 0 0 0 1px #2563eb2e}.jnw-workflow-rail li[data-status=attention]{border-color:#f59e0b;background:#fffbeb}.jnw-workflow-rail span{align-items:center;background:#e8eef7;border-radius:999px;color:#374254;display:inline-flex;font-size:.68rem;font-weight:800;height:20px;justify-content:center;width:20px}.jnw-workflow-rail strong{color:#172033;font-size:.76rem;line-height:1.15}.jnw-workflow-rail small{color:#5d6878;font-size:.68rem;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jnw-setup-card{border:1px solid #dbe5f2;border-radius:8px;background:#fff;display:grid;gap:7px;padding:9px}.jnw-setup-card>strong{color:#172033;font-size:.88rem}.jnw-setup-card dl{display:grid;gap:7px;margin:0}.jnw-setup-card dl>div{display:grid;gap:2px}.jnw-setup-card dt{color:#64748b;font-size:.68rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.jnw-setup-card dd{color:#172033;font-size:.8rem;line-height:1.35;margin:0}.game-model-card{border:1px solid #dbe5f2;border-radius:7px;background:#f8fbff;display:grid;gap:4px;padding:9px}.game-model-card strong{color:#172033;font-size:.88rem}.game-model-card span{color:#374254;font-size:.8rem;line-height:1.35}.jnw-layer-breadcrumb{display:flex;flex-wrap:wrap;gap:5px;align-items:center;border:1px solid #dbe5f2;border-radius:8px;background:#f8fbff;padding:7px 8px}.jnw-layer-breadcrumb span{display:inline-flex;align-items:center;gap:5px;color:#172033;font-size:.78rem;font-weight:750}.jnw-layer-breadcrumb em{color:#64748b;font-style:normal;font-weight:700}.jnw-layer-comparison{display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}.jnw-layer-comparison article{border:1px solid #dbe5f2;border-radius:8px;background:#fff;display:grid;gap:5px;padding:9px}.jnw-layer-comparison strong{color:#172033;font-size:.86rem}.jnw-layer-comparison span{color:#374254;font-size:.78rem;line-height:1.35}.jnw-state-gamma-map{border:1px solid #c7e6df;border-radius:8px;background:#f0fdfa;display:grid;gap:6px;padding:8px}.jnw-state-gamma-map>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px}.jnw-state-gamma-map strong{color:#0f3f3a;font-size:.84rem}.jnw-state-gamma-map span{color:#115e59;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:.76rem}.jnw-state-gamma-map svg{width:100%;min-height:150px;border-radius:6px;background:#ffffffb8}.jnw-state-gamma-map line{stroke:#7c8da1;stroke-linecap:round;stroke-width:2}.jnw-state-gamma-map circle{fill:#e2e8f0;stroke:#64748b;stroke-width:1.5}.jnw-state-gamma-map circle.is-active{fill:#14b8a6;stroke:#0f766e;stroke-width:2.4}.jnw-state-gamma-map text{fill:#172033;font-size:8px;font-weight:750;paint-order:stroke;pointer-events:none;stroke:#ffffffd1;stroke-width:3px;text-anchor:middle}.jnw-state-picker{border:1px solid #dbe5f2;border-radius:8px;display:grid;gap:8px;padding:8px}.jnw-state-picker>strong{color:#172033;font-size:.84rem}.jnw-reader-controls{border:1px solid #dbe5f2;border-radius:8px;display:grid;gap:8px;padding:8px}.jnw-reader-controls>strong{color:#172033;font-size:.84rem}.reader-kicker{color:#5d6878;font-size:.76rem;line-height:1.35}.jnw-reader-controls label{color:#374254;display:grid;font-size:.78rem;gap:5px}.jnw-reader-controls input[type=range]{width:100%}.jnw-reader-groups{display:grid;gap:8px}.jnw-reader-groups section{background:#f8fafcd1;border:1px solid #dbe5f2;border-radius:8px;display:grid;gap:8px;padding:8px}.jnw-reader-groups section>strong{color:#172033;font-size:.84rem}.compact-field{display:grid;gap:5px;color:#42506a;font-size:.78rem;line-height:1.25}.compact-field select{min-width:0;border:1px solid #cbd3df;border-radius:7px;background:#fff;color:#172033;padding:7px 8px}.warning-inline{background:#fff7ed;border:1px solid #fed7aa;border-radius:7px;color:#9a3412;font-size:.75rem;line-height:1.35;margin:0;padding:6px 8px}.advanced-details{border:1px solid #dbe5f2;border-radius:8px;display:grid;gap:8px;padding:8px}.compact-advanced{background:#ffffff94;padding:7px}.advanced-details>summary{color:#374254;cursor:pointer;font-size:.82rem;font-weight:700}.jnw-object-key{display:grid;gap:5px;grid-template-columns:repeat(2,minmax(0,1fr));margin:0}.jnw-object-key>div{background:#f1f5f9c7;border:1px solid #dbe5f2;border-radius:7px;padding:6px}.jnw-object-key dt{color:#172033;font-size:.76rem;font-weight:700}.jnw-object-key dd{color:#5d6878;font-size:.72rem;line-height:1.25;margin:2px 0 0}.app-shell[data-theme=dark] .game-model-card{background:#111827;border-color:#334155}.app-shell[data-theme=dark] .game-model-card strong{color:#f8fafc}.app-shell[data-theme=dark] .game-model-card span{color:#dbeafe}.app-shell[data-theme=dark] .jnw-layer-breadcrumb,.app-shell[data-theme=dark] .jnw-layer-comparison article,.app-shell[data-theme=dark] .jnw-state-gamma-map,.app-shell[data-theme=dark] .jnw-reader-controls,.app-shell[data-theme=dark] .jnw-reader-groups section,.app-shell[data-theme=dark] .advanced-details,.app-shell[data-theme=dark] .jnw-state-picker{background:#111827;border-color:#334155}.app-shell[data-theme=dark] .jnw-layer-breadcrumb span,.app-shell[data-theme=dark] .jnw-layer-comparison strong{color:#f8fafc}.app-shell[data-theme=dark] .jnw-layer-breadcrumb em,.app-shell[data-theme=dark] .jnw-layer-comparison span{color:#cbd5e1}.app-shell[data-theme=dark] .jnw-state-gamma-map strong,.app-shell[data-theme=dark] .jnw-state-gamma-map text{color:#f8fafc;fill:#f8fafc;stroke:#0f172ae6}.app-shell[data-theme=dark] .jnw-state-gamma-map span{color:#99f6e4}.app-shell[data-theme=dark] .jnw-state-gamma-map svg{background:#0f172ae0}.app-shell[data-theme=dark] .jnw-state-gamma-map line{stroke:#64748b}.app-shell[data-theme=dark] .jnw-state-gamma-map circle{fill:#020617;stroke:#475569;opacity:.38}.app-shell[data-theme=dark] .jnw-state-gamma-map circle.is-active{fill:#2dd4bf;stroke:#99f6e4;opacity:1;stroke-width:3}.app-shell[data-theme=dark] .jnw-state-picker>strong{color:#f8fafc}.app-shell[data-theme=dark] .jnw-reader-groups section>strong,.app-shell[data-theme=dark] .advanced-details>summary{color:#f8fafc}.app-shell[data-theme=dark] .jnw-reader-controls>strong{color:#f8fafc}.app-shell[data-theme=dark] .compact-field{color:#cbd5e1}.app-shell[data-theme=dark] .compact-field select{border-color:#344158;background:#0f172a;color:#e5edf7}.app-shell[data-theme=dark] .warning-inline{background:#9a341238;border-color:#9a3412;color:#fed7aa}.app-shell[data-theme=dark] .reader-kicker,.app-shell[data-theme=dark] .jnw-reader-controls label{color:#dbeafe}.app-shell[data-theme=dark] .jnw-object-key>div{background:#0f172ab8;border-color:#334155}.app-shell[data-theme=dark] .jnw-object-key dt{color:#f8fafc}.app-shell[data-theme=dark] .jnw-object-key dd{color:#cbd5e1}.app-shell[data-theme=dark] .task-card,.app-shell[data-theme=dark] .workflow-mini-steps li,.app-shell[data-theme=dark] .jnw-workflow-rail li,.app-shell[data-theme=dark] .jnw-setup-card{background:#111827;border-color:#334155;color:#f8fafc}.app-shell[data-theme=dark] .jnw-workflow-rail li[data-status=active]{border-color:#60a5fa;box-shadow:inset 0 0 0 1px #60a5fa40}.app-shell[data-theme=dark] .jnw-workflow-rail li[data-status=attention]{background:#9a341238;border-color:#f59e0b}.app-shell[data-theme=dark] .jnw-workflow-rail span{background:#1e293b;color:#dbeafe}.app-shell[data-theme=dark] .jnw-workflow-rail strong,.app-shell[data-theme=dark] .jnw-setup-card>strong,.app-shell[data-theme=dark] .jnw-setup-card dd{color:#f8fafc}.app-shell[data-theme=dark] .jnw-workflow-rail small,.app-shell[data-theme=dark] .jnw-setup-card dt,.app-shell[data-theme=dark] .task-card span,.app-shell[data-theme=dark] .workflow-mini-steps span{color:#cbd5e1}.app-shell[data-theme=dark] .workflow-mini-steps strong,.app-shell[data-theme=dark] .task-card strong{color:#f8fafc}.caveats-drawer{border:1px solid #dbe5f2;border-radius:7px;background:#f8fbff;padding:8px 9px}.caveats-drawer summary{cursor:pointer;display:grid;gap:6px;color:#172033;font-size:.86rem;font-weight:800}.caveats-drawer .warning-list{margin-top:8px}.app-shell[data-theme=dark] .caveats-drawer{background:#111827;border-color:#334155}.app-shell[data-theme=dark] .caveats-drawer summary{color:#f8fafc}.game-value-controls{align-items:center;display:flex;flex-wrap:wrap;gap:6px}.game-value-controls input{max-width:72px}.game-equation{display:inline-block;min-width:0}@media(max-width:1180px){body{overflow:auto}.app-shell{grid-template-columns:minmax(260px,330px) minmax(0,1fr);grid-template-areas:"sidebar main" "right right";height:auto;min-height:100vh;min-height:100dvh;overflow:visible}.app-shell.viewer-only{grid-template-columns:0 minmax(0,1fr) 0;grid-template-areas:"sidebar main right";height:100vh;height:100dvh;overflow:hidden}.main-stage{height:calc(100vh - 32px);height:calc(100dvh - 32px);min-height:620px}.right-rail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;padding-right:0}}@media(max-width:820px){body{overflow:auto}.app-shell{grid-template-columns:minmax(0,1fr);grid-template-areas:"main" "sidebar" "right";height:auto;min-height:100vh;overflow:visible}.app-shell.viewer-only{grid-template-columns:minmax(0,1fr);grid-template-areas:"main"}.app-shell.viewer-only .sidebar,.app-shell.viewer-only .right-rail{display:none}.main-stage{height:auto;min-height:auto;grid-template-rows:auto minmax(420px,70vh)}.app-shell.viewer-only .main-stage{height:calc(100vh - 32px);height:calc(100dvh - 32px);grid-template-rows:0 minmax(0,1fr)}.right-rail{display:flex}.game-model-cards,.jnw-layer-comparison{grid-template-columns:minmax(0,1fr)}.workflow-mini-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.jnw-workflow-rail{grid-template-columns:repeat(3,minmax(0,1fr))}.sidebar,.right-rail{overflow:visible;padding-right:0}.top-strip{align-items:stretch;flex-direction:column}.stats-row{justify-content:flex-start}}.quotient-import-progress{display:grid;gap:6px;margin-top:8px;padding:8px;border:1px solid #cbd5e1;border-radius:6px;background:#f8fafc;color:#475569;font-size:.78rem}.quotient-import-progress-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#172033}.quotient-import-progress progress{width:100%;height:7px;accent-color:#2563eb}.quotient-import-progress .button{justify-self:start}.app-shell[data-theme=dark] .quotient-import-progress{border-color:#334155;background:#111827;color:#cbd5e1}.app-shell[data-theme=dark] .quotient-import-progress-heading{color:#f1f5f9}
