.mechanism-stage-owner{position:absolute;inset:0}.mechanism-stage-owner.playback-hidden{visibility:hidden}.mechanism-stage{touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab;background:0 0;width:100%;height:100%;display:block;position:absolute;inset:0}.mechanism-stage.panning,.mechanism-stage.dragging-atom,.mechanism-stage.rotating-atoms{cursor:grabbing}.mechanism-stage.topology-tool-erase{cursor:default}.mechanism-movie-stage .mech-atom,.mechanism-movie-stage .mech-bond,.mechanism-movie-stage .mechanism-change,.mechanism-movie-stage .mechanism-electron-flow{cursor:default;pointer-events:none}.mechanism-movie-stage{cursor:grab}.mechanism-movie-stage.inspectable .mechanism-electron-flow{cursor:pointer;pointer-events:stroke}.mechanism-movie-stage.inspectable .mech-atom{cursor:pointer;pointer-events:auto}.stage-topology-tools{z-index:4;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#0f1012b8;border:1px solid #bbbcc121;border-radius:8px;flex-wrap:wrap;align-items:center;gap:7px;max-width:calc(100% - 120px);padding:5px;display:flex;position:absolute;top:12px;left:12px;box-shadow:0 10px 24px #00000038}.stage-tool-group{align-items:center;gap:3px;display:inline-flex}.stage-tool-button{color:#bbbcc1;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;width:25px;height:25px;display:inline-flex}.stage-tool-button:hover{color:#d7e2ff;background:#9fbcff14;border-color:#9fbcff38}.stage-tool-button.active{color:#dce6ff;background:#6f9cff2e;border-color:#6f9cff6b;box-shadow:inset 0 0 0 1px #6f9cff1f}.stage-residue-add,.stage-smiles-add{border-left:1px solid #bbbcc11f;align-items:center;gap:3px;padding-left:6px;display:inline-flex}.stage-smiles-add{min-width:150px}.stage-topology-residue{color:#d8d9df;letter-spacing:0;background:#08090a9e;border:1px solid #bbbcc124;border-radius:6px;outline:none;width:112px;height:25px;font:700 11px/1 Arial,Helvetica,sans-serif}.stage-smiles-input{color:#d8d9df;letter-spacing:0;background:#08090a9e;border:1px solid #bbbcc124;border-radius:6px;outline:none;width:118px;min-width:0;height:25px;padding:0 8px;font:700 11px/1 Arial,Helvetica,sans-serif}.stage-smiles-input::placeholder{color:#bbbcc185}.stage-topology-residue:focus,.stage-smiles-input:focus{border-color:#6f9cff75;box-shadow:0 0 0 2px #6f9cff1f}.stage-smiles-add .stage-tool-button:disabled{cursor:default;opacity:.42}.mech-bond line,.mech-bond .connector-path{stroke:#bbbcc1;stroke-width:1.12px;fill:none;stroke-linecap:round;stroke-linejoin:round}.mech-bond .parallel{stroke-width:.82px}.aromatic-inner-bond{fill:none;stroke:#bbbcc1;stroke-linecap:round;stroke-linejoin:round;stroke-width:.82px}.mech-bond.source-mechanism_fallback line,.mech-bond.source-reaction_state line{stroke:#bbbcc1}.mech-bond.long-connector .connector-path{stroke:#bbbcc1;stroke-dasharray:5 5;stroke-width:.82px}.mech-bond.axial-coordination .coordination-segment{stroke:var(--bond-color,#bbbcc1);stroke-dasharray:2 1.5;stroke-width:.9px}.mech-bond.coordination:not(.axial-coordination) line:not(.bond-hit-target),.mech-bond.coordination:not(.axial-coordination) .connector-path{stroke:var(--bond-color,#bbbcc1);stroke-dasharray:2 1.5;stroke-width:.82px}.mech-bond.source-mechanism_initial line{stroke:#bbbcc1}.mech-bond .stereo-wedge{fill:#bbbcc1;stroke:#bbbcc1;stroke-width:.32px}.mech-bond .stereo-hash line{stroke:#bbbcc1;stroke-width:.78px;stroke-linecap:round}.mech-bond .bond-hit-target,.mech-bond-hit-target-overlay .bond-hit-target{fill:none;opacity:0;pointer-events:stroke;stroke:#0000;stroke-linecap:round;stroke-width:9px;vector-effect:non-scaling-stroke}.mech-bond.selected line:not(.bond-hit-target),.mech-bond.selected .connector-path,.mech-bond.selected .stereo-wedge{filter:drop-shadow(0 0 3px #6f9cff61);stroke:#6f9cff}.mech-bond.coordination.selected:not(.axial-coordination) line:not(.bond-hit-target),.mech-bond.coordination.selected:not(.axial-coordination) .connector-path{stroke:#6f9cff}.mech-bond.selected .stereo-wedge{fill:#6f9cff}.bond-editing-toolbar,.bond-reference,.bond-flip-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.bond-editing-toolbar{background:var(--surface-raised,#20242a);border:1px solid var(--border,#353b46);border-radius:8px;padding:8px 10px}.bond-reference code{overflow-wrap:anywhere;font-size:11px}.bond-flip-actions{border-left:1px solid var(--border,#353b46);padding-left:8px}.bond-flip-title,.bond-flip-reason{color:var(--text-muted,#a3aab7);font-size:11px}.bond-flip-actions button{border:1px solid var(--border,#353b46);color:inherit;cursor:pointer;background:0 0;border-radius:5px;padding:5px 8px;font-size:11px}.bond-flip-actions button:hover:not(:disabled),.bond-flip-actions button:focus-visible{border-color:#6f9cff;outline:1px solid #6f9cff}.bond-flip-actions button:disabled{cursor:default;opacity:.5}.bond-flip-preview{fill:#6f9cff38;pointer-events:none;stroke:#6f9cff;stroke-width:.7px}.mech-atom,.mech-bond,.mechanism-change,.mechanism-electron-flow{cursor:pointer}.mech-atom{cursor:grab}.mech-atom.dragging{cursor:grabbing}.selection-transform{pointer-events:none}.selection-transform-box,.selection-rotate-stem{fill:none;pointer-events:none;stroke:#9fbcff52;stroke-linecap:round;stroke-linejoin:round;stroke-width:.62px;vector-effect:non-scaling-stroke}.selection-rotate-stem{stroke:#9fbcff6b}.selection-rotate-hotspot{cursor:grab;pointer-events:all}.selection-rotate-handle{cursor:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%3e%3c!--%20Based%20on%20Lucide%20RotateCw%20(ISC%20license),%20adapted%20as%20a%20high-contrast%20cursor.%20--%3e%3cg%20transform='translate(4%204)'%20fill='none'%20stroke='%23f7f9ff'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='5'%3e%3cpath%20d='M21%2012a9%209%200%201%201-9-9c2.52%200%204.93%201%206.74%202.74L21%208'%20/%3e%3cpath%20d='M21%203v5h-5'%20/%3e%3c/g%3e%3cg%20transform='translate(4%204)'%20fill='none'%20stroke='%23101216'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2.3'%3e%3cpath%20d='M21%2012a9%209%200%201%201-9-9c2.52%200%204.93%201%206.74%202.74L21%208'%20/%3e%3cpath%20d='M21%203v5h-5'%20/%3e%3c/g%3e%3c/svg%3e") 16 16,grab}.selection-rotate-hotspot:active,.selection-transform.rotating .selection-rotate-hotspot{cursor:grabbing}.selection-rotate-handle:active,.selection-transform.rotating .selection-rotate-handle{cursor:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%3e%3c!--%20Based%20on%20Lucide%20RotateCw%20(ISC%20license),%20adapted%20as%20a%20high-contrast%20cursor.%20--%3e%3cg%20transform='translate(4%204)'%20fill='none'%20stroke='%23f7f9ff'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='5'%3e%3cpath%20d='M21%2012a9%209%200%201%201-9-9c2.52%200%204.93%201%206.74%202.74L21%208'%20/%3e%3cpath%20d='M21%203v5h-5'%20/%3e%3c/g%3e%3cg%20transform='translate(4%204)'%20fill='none'%20stroke='%23101216'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2.3'%3e%3cpath%20d='M21%2012a9%209%200%201%201-9-9c2.52%200%204.93%201%206.74%202.74L21%208'%20/%3e%3cpath%20d='M21%203v5h-5'%20/%3e%3c/g%3e%3c/svg%3e") 16 16,grabbing}.selection-rotate-hit{fill:#0000;stroke:#0000}.selection-corner-mark,.selection-rotate-handle-dot{fill:#9fbcff94;stroke:#0b0c0db8;stroke-width:.18px;vector-effect:non-scaling-stroke}.selection-corner-mark{pointer-events:none;rx:.28}.selection-rotate-handle:hover .selection-rotate-handle-dot,.selection-rotate-handle:focus .selection-rotate-handle-dot,.selection-rotate-handle:active .selection-rotate-handle-dot{fill:#aec7ffe6}.mech-atom .atom-hit-target{fill:#0000;stroke:#0000;pointer-events:all}.mech-atom .atom-selection-indicator{fill:none;stroke:#6f9cff;stroke-width:1.5px;stroke-linecap:square;stroke-linejoin:miter;pointer-events:none;display:none}.mech-atom .atom-selection-indicator.visible,.mech-atom:not(.pointer-focused):focus-visible .atom-selection-indicator{display:inline}.mech-atom:focus{outline:none}.mech-atom text{fill:var(--atom-color,#d9d9df);letter-spacing:0;dominant-baseline:central;paint-order:stroke;pointer-events:none;stroke:#0b0c0d;stroke-width:1.45px;text-anchor:middle;font-family:Arial,Helvetica,sans-serif;font-weight:800}.mech-atom.element-h text{stroke-width:.85px}.mech-atom .atom-hydrogen-symbol,.mech-atom .atom-hydrogen-count{text-anchor:start}.mech-atom .atom-hydrogen-symbol{stroke-width:.95px}.mech-atom .atom-hydrogen-count{stroke-width:.7px}.mech-atom .atom-property-label{stroke-width:.65px;text-anchor:middle;font-size:4.2px}.mech-atom.residue-label text{fill:#bbbcc1;stroke-width:1.2px}.mech-atom.residue-label .atom-core-label{pointer-events:all}.mechanism-change,.mechanism-electron-flow{cursor:pointer}.mechanism-change:not(.selected){display:none}.mechanism-change line,.mechanism-change path,.mechanism-electron-flow path{fill:none;stroke-linecap:round;stroke-linejoin:round}.mechanism-change line{stroke-width:1.35px}.mechanism-change.long-change path{stroke-dasharray:5 5;stroke-width:1px}.mechanism-change.formation line{stroke:var(--formation)}.mechanism-change.cleavage line{stroke:var(--cleavage);stroke-dasharray:6 5}.mechanism-change.order line{stroke:var(--order)}.mechanism-change.transfer path{marker-end:none;stroke:var(--transfer);stroke-width:.82px}.mechanism-change.transfer:not(.selected) text{display:none}.mechanism-change.transfer.selected path{marker-end:url(#mechanism-transfer-arrow);stroke-width:1.28px}.mechanism-change text,.mechanism-electron-flow text{fill:var(--text-primary);paint-order:stroke;pointer-events:none;stroke:#0b0c0d;stroke-width:2px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:6px;font-weight:800}.mechanism-electron-flow path{stroke:var(--electron);stroke-width:1.45px}.mechanism-electron-flow .electron-flow-bond-bridge,.mechanism-electron-flow.selected .electron-flow-bond-bridge{filter:none;marker-end:none;stroke:#0b0c0d;stroke-width:3.45px}.mechanism-change.selected line,.mechanism-change.selected path{filter:drop-shadow(0 0 8px);stroke-width:1.65px}.mechanism-electron-flow.selected path{filter:drop-shadow(0 0 3.5px #e1261c47);stroke:var(--electron);stroke-width:1.45px}.mechanism-change .mechanism-hit-target,.mechanism-change.selected .mechanism-hit-target,.mechanism-electron-hit-overlay .mechanism-hit-target{fill:none;filter:none;marker-end:none;pointer-events:stroke;stroke:#0000;stroke-dasharray:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:9px;vector-effect:non-scaling-stroke}.mechanism-electron-hit-overlay{pointer-events:none}.mechanism-electron-hit-overlay .mechanism-hit-target{pointer-events:stroke}.mechanism-electron-marker-overlay{pointer-events:none}.mechanism-electron-marker-overlay .electron-flow-foreground-marker-anchor{fill:none;pointer-events:none;stroke:#0000;stroke-width:.01px}.mechanism-electron-marker-overlay.selected .electron-flow-foreground-marker-anchor{filter:drop-shadow(0 0 3.5px #e1261c47)}marker[id^=mechanism-electron-arrow] path{fill:var(--electron)}marker[id^=mechanism-transfer-arrow] path{fill:var(--transfer)}.electron-flow-endpoint-handles{color:#6f9cff;pointer-events:none}.arrow-control-guide,.arrow-selected-curve{fill:none;stroke:currentColor;stroke-width:1px;vector-effect:non-scaling-stroke;opacity:.9}.arrow-attachment-guide{fill:none;stroke:#c3c9d5;opacity:.45}.arrow-attachment-guide line,.arrow-attachment-guide circle{stroke-width:1px;vector-effect:non-scaling-stroke}.arrow-attachment-guide line{stroke-dasharray:2 3}.arrow-shape-move-target{fill:none;stroke:#0000;stroke-width:14px;vector-effect:non-scaling-stroke;pointer-events:stroke;outline:none}.electron-flow-endpoint-handle{outline:none}.electron-flow-endpoint-handle .endpoint-handle-ring.arrow-anchor-point{fill:#fff;stroke:#6f9cff;stroke-width:1px}.electron-flow-endpoint-handle .endpoint-handle-ring.arrow-tangent-point{fill:#6f9cff;stroke:#dce7ff;stroke-width:1px}.electron-flow-endpoint-handle:focus-visible .endpoint-handle-ring{stroke:#fff;stroke-width:2px}.arrow-shape-handles:has(.arrow-shape-move-target:focus-visible) .arrow-selected-curve{stroke:#fff}.arrow-editing-toolbar,.bond-editing-toolbar{z-index:4;max-width:calc(100% - 24px);position:absolute;top:54px;left:12px}.arrow-editing-toolbar{color:#bfc5d0;background:#111317f2;border:1px solid #424957;border-radius:8px;flex-wrap:wrap;align-items:center;gap:6px;padding:8px 10px;font-size:11px;display:flex}.arrow-editing-modes,.arrow-attachment-references,.arrow-attachment-references>span{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.arrow-attachment-references code{overflow-wrap:anywhere;color:#e0e6f0}.arrow-editing-modes button{color:inherit;cursor:pointer;background:0 0;border:1px solid #424957;border-radius:5px;padding:3px 8px}.arrow-editing-modes button[aria-pressed=true]{color:#d5e2ff;background:#273753;border-color:#6f9cff}.arrow-editing-modes button:disabled{opacity:.4;cursor:default}.arrow-attachment-references button{color:#929aaa;cursor:pointer;background:0 0;border:0;border-radius:4px;flex:none;place-items:center;width:20px;height:20px;padding:0;display:grid}.arrow-attachment-references button:hover{color:#bfc5d0}.arrow-attachment-references button:active,.arrow-attachment-references button[data-copy-state=copied]{color:#6f9cff}.arrow-attachment-references button[data-copy-state=copied]>svg{color:inherit}.arrow-editing-help summary{cursor:help;border:1px solid #424957;border-radius:50%;place-items:center;width:20px;height:20px;padding:0;line-height:1;list-style:none;display:grid}.arrow-editing-help summary::-webkit-details-marker{display:none}.arrow-editing-help p{background:#111317;border:1px solid #424957;border-radius:6px;max-width:360px;margin:4px 0;padding:10px;line-height:1.5;position:absolute;top:100%;left:0}.electron-flow-endpoint-handle{cursor:grab;pointer-events:auto}.electron-flow-endpoint-handle:active,.mechanism-stage.dragging-electron-endpoint .electron-flow-endpoint-handle{cursor:grabbing}.electron-flow-endpoint-handle .endpoint-handle-hit{fill:#0000;pointer-events:all}.electron-flow-endpoint-handle .endpoint-handle-ring{fill:#0b0c0db8;stroke:currentColor;stroke-width:.72px;vector-effect:non-scaling-stroke}.electron-endpoint-snap-preview{color:#6f9cff;pointer-events:none}.electron-endpoint-snap-target{fill:#6f9cff1f;stroke:currentColor;stroke-width:.75px;vector-effect:non-scaling-stroke}.electron-endpoint-snap-bond{stroke:currentColor;stroke-linecap:round;stroke-width:1.55px;vector-effect:non-scaling-stroke}.electron-endpoint-drag-point{fill:currentColor;opacity:.74}.electron-endpoint-snap-preview.no-snap .electron-endpoint-drag-point{opacity:.38}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg-deepest:#090909;--bg-canvas:#0d0e0e;--bg-surface:#101011;--bg-elevated:#1c1d1f;--bg-active:#ffffff0f;--border-primary:#2c2c32;--border-hover:#4a4a52;--text-primary:#e8e8ed;--text-secondary:#8e8e93;--text-muted:#636366;--text-tertiary:#6f7078;--accent:#56b2cd;--electron:#e1261c;--electron-selected:#ff5a4f;--formation:#67b582;--cleavage:#dc635a;--order:#ebcb51;--transfer:#e69e4f;--shadow-node:0 8px 26px #0000005c;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0;overflow:hidden}body{background:var(--bg-deepest);color:var(--text-primary);overflow:hidden}button{font:inherit}.atlas-loader{display:block}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}button[data-copy-state=copied]>svg{color:var(--formation)}:where(button,input,textarea,select,[role=button]):focus-visible{outline-offset:2px;outline:2px solid #76c9e1}.app-shell{--left-panel-width:282px;--center-min-width:720px;--right-panel-width:384px;grid-template-columns:var(--left-panel-width) minmax(var(--center-min-width), 1fr) var(--right-panel-width);background:var(--bg-deepest);width:100%;height:100vh;max-height:100vh;display:grid;overflow:hidden}.app-shell.left-panel-collapsed{--left-panel-width:48px}.app-shell.right-panel-collapsed{--right-panel-width:48px}.app-shell>*{min-height:0}.app-shell-loading{grid-template-columns:1fr;place-items:center}.app-loading{border:1px solid var(--border-primary);min-width:min(420px,100vw - 40px);box-shadow:var(--shadow-node);background:#141517d1;border-radius:8px;padding:24px}.app-loading strong,.app-loading span{display:block}.app-loading button{border:1px solid var(--border-hover);background:var(--bg-elevated);color:var(--text-primary);cursor:pointer;border-radius:5px;margin-top:18px;padding:8px 12px}.app-loading strong{font-size:15px}.app-loading span{color:var(--text-secondary);overflow-wrap:anywhere;margin-top:8px;font-family:SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.45}.scene-generation-overlay{z-index:100;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);cursor:wait;background:#08090a94;place-items:center;display:grid;position:fixed;inset:0}.panel-shell{background:#101113;min-width:0;min-height:0;position:relative;overflow:visible}.panel-shell-left{z-index:20}.panel-shell-right{z-index:20;background:#111214}.panel-shell .sidebar,.panel-shell .inspector{width:100%;height:100%}.panel-toggle{z-index:8;border:1px solid var(--border-primary);width:28px;height:28px;color:var(--text-secondary);cursor:pointer;background:#121315eb;border-radius:999px;place-items:center;display:grid;position:absolute;top:14px;box-shadow:0 8px 20px #00000047}.panel-toggle:hover,.panel-rail-button:hover{border-color:var(--border-hover);color:var(--text-primary);background:#ffffff13}.panel-toggle-left{right:-14px}.panel-toggle-right{left:-14px}.panel-rail-button{border:0;border-right:1px solid var(--border-primary);width:100%;min-width:0;height:100%;color:var(--text-secondary);cursor:pointer;background:0 0;border-radius:0;flex-direction:column;align-items:center;gap:10px;padding:18px 0;display:flex}.panel-shell-right .panel-rail-button{border-right:0;border-left:1px solid var(--border-primary)}.panel-rail-button span{writing-mode:vertical-rl;text-orientation:mixed;color:var(--text-tertiary);letter-spacing:.08em;text-transform:uppercase;font-size:12px;font-weight:700}.sidebar{border-right:1px solid var(--border-primary);background:#101113;flex-direction:column;min-width:0;padding:18px 10px 8px;display:flex;overflow:hidden auto}.sidebar-brand{color:var(--text-primary);align-items:center;gap:8px;padding:2px 10px;font-weight:700;display:inline-flex}.sidebar-brand-logo{object-fit:contain;flex:none;width:23px;height:15px}.sidebar-section{flex-direction:column;gap:2px;margin-top:10px;display:flex}.sidebar-brand+.sidebar-section{margin-top:14px}.nav-item,.workspace-row,.file-action-button,.view-tab,.inspector-details-toggle,.diagnostic{color:var(--text-primary);background:0 0;border:0}.nav-item,.workspace-row{width:100%;min-height:28px;color:var(--text-secondary);cursor:pointer;text-align:left;border-radius:6px;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:7px;padding:0 8px;font-size:12px;font-weight:500;display:grid}.nav-item:hover,.workspace-row:hover,.nav-item.active,.workspace-row.active{background:var(--bg-active);color:var(--text-primary)}.nav-item>span,.workspace-row>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.nav-row-copy{flex-direction:column;justify-content:center;gap:2px;min-width:0;display:flex}.nav-row-label,.nav-row-description{text-overflow:ellipsis;min-width:0;overflow:hidden}.nav-row-label{color:inherit;white-space:nowrap}.workspace-row.has-description .nav-row-label{overflow-wrap:anywhere;white-space:normal;line-height:1.25}.nav-row-description{color:var(--text-tertiary);overflow-wrap:anywhere;white-space:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:9px;font-weight:500;line-height:1.3}.workspace-row.has-description{min-height:40px;padding-top:4px;padding-bottom:4px}.workspace-row.active .nav-row-description,.workspace-row:hover .nav-row-description{color:var(--text-secondary)}.nav-item.compact{min-height:28px}.file-actions{flex-direction:column;gap:6px;margin:2px 10px 8px;display:flex}.file-action-row{grid-template-columns:1fr 1fr;gap:6px;display:grid}.file-action-button{border:1px solid var(--border-primary);min-width:0;min-height:30px;color:var(--text-secondary);cursor:pointer;background:#ffffff09;border-radius:8px;justify-content:center;align-items:center;gap:7px;font-size:12px;font-weight:700;display:inline-flex;position:relative}.file-action-button:hover{border-color:var(--border-hover);color:var(--text-primary)}.file-action-button.primary{color:#dce6ff;background:#6f9cff24;border-color:#6f9cff5c}.file-action-button.primary:hover{background:#6f9cff33;border-color:#6f9cff94}.file-action-button:disabled{cursor:not-allowed;opacity:.42}.file-action-button input{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.sidebar-group-label{border-top:1px solid var(--border-primary);color:var(--text-tertiary);text-transform:uppercase;margin:14px 8px 0;padding-top:10px;font-size:10px;font-weight:800}.sidebar-group-label+.sidebar-section{margin-top:4px}.section-toggle{width:100%;min-height:26px;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:7px;justify-content:space-between;align-items:center;gap:10px;padding:0 8px;font-size:12px;font-weight:700;display:flex}.section-toggle:hover{background:var(--bg-active);color:var(--text-primary)}.section-toggle-left{align-items:center;gap:6px;min-width:0;display:inline-flex}.section-toggle>span:last-child{color:var(--text-secondary);font-variant-numeric:tabular-nums;font-size:11px;font-weight:600}.section-toggle-left span,.section-toggle>span:last-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.section-body{flex-direction:column;gap:2px;margin-top:2px;display:flex}.diagram-stage-records{flex-direction:column;gap:2px;margin:3px 0 7px;display:flex}.diagram-stage-record-group{flex-direction:column;gap:2px;display:flex}.diagram-stage-record-toggle{width:100%;min-height:27px;color:var(--text-tertiary);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:5px;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:7px;padding:0 8px;font-size:10px;font-weight:700;display:grid}.diagram-stage-record-toggle:hover,.diagram-stage-record-group.open>.diagram-stage-record-toggle{color:var(--text-secondary);background:#ffffff09}.diagram-stage-record-toggle span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.diagram-stage-record-toggle span:last-child{font-variant-numeric:tabular-nums}.diagram-stage-record-body{flex-direction:column;gap:2px;margin:0;display:flex}.diagram-stage-record-body .workspace-row{grid-template-columns:18px minmax(0,1fr) auto;gap:7px;padding:0 8px;font-size:11px}.count{color:var(--text-primary);font-variant-numeric:tabular-nums;font-size:11px}.source-card{border:1px solid var(--border-primary);color:var(--text-secondary);overflow-wrap:anywhere;background:#ffffff09;border-radius:8px;justify-content:space-between;align-items:flex-start;gap:8px;margin:6px 10px 0;padding:9px 10px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:11px;line-height:1.35;display:flex}.source-summary{text-align:left;align-items:center;width:calc(100% - 20px)}.source-summary:hover,.source-summary.active{border-color:var(--border-hover);background:var(--bg-active);color:var(--text-primary)}.source-summary-copy{min-width:0;color:inherit;font:inherit;line-height:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex:auto;align-items:center;gap:7px;padding:0;display:flex}.source-summary-actions{flex:none;align-items:center;gap:5px;display:flex}.source-summary-file-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.source-card.dirty{background:#6f9cff14;border-color:#6f9cff47}.source-card span{min-width:0}.source-card em{color:#bdefff;text-transform:uppercase;background:#56b2cd1c;border-radius:999px;flex:none;padding:1px 6px;font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:10px;font-style:normal}.source-card.error{color:#ffb9b3;border-color:#dc635a85}.source-summary-open,.source-card.error button{width:22px;min-width:22px;height:22px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:5px;place-items:center;padding:0;display:grid}.source-summary-open:hover,.source-card.error button:hover{background:#ffb9b31a}.sidebar-version{color:var(--text-tertiary);font-variant-numeric:tabular-nums;cursor:default;-webkit-user-select:text;user-select:text;margin:auto 8px 0;padding-top:14px;font-size:11px}.sidebar-version-engine{color:var(--text-secondary)}.sidebar-version[data-scene-engine=legacy] .sidebar-version-engine{color:#c98b5a}.surface{background:var(--bg-canvas);flex-direction:column;min-width:0;display:flex}.topbar{border-bottom:1px solid var(--border-primary);justify-content:flex-start;align-items:center;gap:4px;height:39px;padding:6px 10px 5px 13px;display:flex}.view-tabs{scrollbar-width:none;align-items:center;gap:2px;min-width:0;display:inline-flex;overflow-x:auto}.view-tabs::-webkit-scrollbar{display:none}.view-tab{height:28px;color:var(--text-secondary);cursor:pointer;border-radius:9px;flex:none;padding:0 11px}.view-tab.active,.view-tab:hover{background:var(--bg-elevated);color:var(--text-primary)}.field-finder-trigger{width:28px;height:28px;color:var(--text-secondary);cursor:pointer;border:1px solid #0000;border-radius:7px;place-items:center;margin-left:auto;display:inline-grid}.field-finder-trigger:hover,.field-finder-trigger:focus-visible{border-color:var(--border-primary);background:var(--bg-elevated);color:var(--text-primary)}.field-finder-backdrop{z-index:80;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#04060794;justify-content:center;align-items:flex-start;padding:min(14vh,112px) 18px 18px;display:flex;position:fixed;inset:0}.field-finder{border:1px solid var(--border-hover);background:#131416;border-radius:8px;flex-direction:column;width:min(680px,100%);max-height:min(680px,76vh);display:flex;overflow:hidden;box-shadow:0 18px 60px #0000006b}.field-finder-header{border-bottom:1px solid var(--border-primary);min-height:48px;color:var(--text-muted);grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:0 10px 0 14px;display:grid}.field-finder-header input{min-width:0;height:46px;color:var(--text-primary);background:0 0;border:0;outline:0;font-size:14px}.field-finder-header>span{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:11px}.field-finder-header button{width:28px;height:28px;color:var(--text-muted);background:0 0;border:0;border-radius:6px;place-items:center;display:inline-grid}.field-finder-header button:hover{background:var(--bg-active);color:var(--text-primary)}.field-finder-results,.field-finder-sections{min-height:0;overflow-y:auto}.field-finder-results>button{border:0;border-bottom:1px solid var(--border-primary);width:100%;min-height:52px;color:var(--text-secondary);text-align:left;background:0 0;grid-template-columns:minmax(0,1fr) minmax(160px,.75fr);align-items:center;gap:18px;padding:8px 14px;display:grid}.field-finder-results>button:hover,.field-finder-results>button:focus-visible,.field-finder-sections>button:hover,.field-finder-sections>button:focus-visible{background:var(--bg-active);color:var(--text-primary)}.field-finder-result-main{gap:3px;min-width:0;display:grid}.field-finder-result-main strong,.field-finder-result-main span,.field-finder-results code{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.field-finder-result-main strong{color:var(--text-primary);font-size:13px}.field-finder-result-main span{color:var(--text-secondary);font-size:12px}.field-finder-results code{color:var(--text-muted);text-align:right;font-size:10px}.field-finder-sections{padding:10px}.field-finder-sections>p,.field-finder-empty,.field-finder-limit{color:var(--text-muted);margin:0;padding:9px 10px 13px;font-size:12px}.field-finder-sections>button{width:100%;min-height:36px;color:var(--text-secondary);text-align:left;background:0 0;border:0;border-radius:6px;justify-content:space-between;align-items:center;padding:0 10px;display:flex}.field-finder-sections>button span{text-transform:capitalize}.field-finder-sections>button strong{color:var(--text-muted);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:11px}@media (width<=640px){.field-finder-backdrop{padding:52px 8px 8px}.field-finder-results>button{grid-template-columns:minmax(0,1fr);gap:4px}.field-finder-results code{text-align:left}}.document-bar{border-bottom:1px solid var(--border-primary);justify-content:space-between;align-items:center;gap:16px;height:38px;padding:0 12px;display:flex}.document-title{min-width:0;color:var(--text-secondary);align-items:center;gap:8px;display:flex}.document-title strong{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.layer-chip,.state-chip{background:var(--bg-active);min-width:max-content;color:var(--text-secondary);border-radius:999px;padding:4px 10px;font-size:12px}.document-stats{color:var(--text-secondary);align-items:center;gap:7px;font-size:12px;display:flex}.document-stats span{border:1px solid var(--border-primary);white-space:nowrap;background:#ffffff09;border-radius:999px;padding:5px 9px}.workbench{background:var(--bg-canvas);flex:1;min-height:0;position:relative;overflow:hidden}.workbench-scroll{overflow:auto}.step-graph{height:var(--graph-height);border-bottom:1px solid var(--border-primary);width:100%;min-width:0;position:relative}.step-edges{width:100%;height:100%;position:absolute;inset:0}.step-edge{fill:none;stroke:#3a3d44;stroke-width:2px;marker-end:url(#step-arrow)}.step-node{z-index:2;color:var(--text-primary);box-shadow:var(--shadow-node);cursor:pointer;background:#ffffff0a;border:1px solid #ffffff14;border-radius:999px;position:absolute}.step-node:hover{border-color:#ffffff57}.step-node.active{box-shadow:0 0 0 2px #6f9cff57, 0 0 16px #6f9cff38, var(--shadow-node);border-color:#6f9cfff0}.step-node.green{background:#67b5821f}.step-node.blue{background:#56b2cd1f}.step-node.amber{background:#ebcb511f}.step-node.product{background:#bdc3cf1f}.step-title,.step-subtitle{text-align:center;text-overflow:ellipsis;white-space:nowrap;max-width:72px;margin:0 auto;display:block;overflow:hidden}.step-title{font-size:11px;font-weight:800}.step-yaml-chip{z-index:1;color:#cfd2ff;pointer-events:none;text-overflow:ellipsis;white-space:nowrap;background:#171924e0;border:1px solid #858fff47;border-radius:5px;justify-content:center;align-items:center;height:18px;padding:0 6px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:9px;line-height:1;display:inline-flex;position:absolute;overflow:hidden}.step-yaml-chip.product{color:#d9dce8;border-color:#d0d5e13d}.step-subtitle{color:var(--text-secondary);margin-top:3px;font-size:10px}.node-count{border:1px solid var(--border-primary);background:var(--bg-elevated);min-width:20px;height:20px;color:var(--text-primary);border-radius:999px;justify-content:center;align-items:center;font-size:11px;font-weight:800;display:inline-flex;position:absolute;bottom:-10px;right:7px}.center-view{min-height:100%;padding:20px}.center-view-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:16px;display:flex}.center-view-header h1{letter-spacing:0;margin:3px 0 0;font-size:23px;line-height:1.12}.center-metrics{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.metric-tile{border:1px solid var(--border-primary);background:#ffffff09;border-radius:8px;min-width:88px;padding:8px 10px}.metric-tile span,.compact-fields dt,.muted-mono{color:var(--text-muted);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:11px}.metric-tile strong{color:var(--text-primary);margin-top:3px;font-size:17px;display:block}.primary-record-editor{border:1px solid var(--border-primary);background:#ffffff06;border-radius:8px;padding:16px}.record-editor-heading{border-bottom:1px solid var(--border-primary);grid-template-columns:minmax(180px,.55fr) minmax(220px,1fr);align-items:start;gap:18px;margin-bottom:16px;padding-bottom:12px;display:grid}.record-editor-heading h2{color:var(--text-primary);letter-spacing:0;margin:3px 0 0;font-size:18px}.record-editor-heading span{color:var(--text-secondary);margin-top:5px;font-size:12px;display:block}.record-editor-actions{justify-content:flex-end;align-items:flex-start;gap:8px;min-width:0;display:flex}.record-editor-heading code{overflow-wrap:anywhere;max-width:100%;color:var(--text-tertiary);text-align:right;font-size:11px}.record-editor-delete{width:28px;min-width:28px;height:28px;color:var(--text-tertiary);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;place-items:center;display:inline-grid}.record-editor-delete:hover:not(:disabled){color:#ffaaa5;background:#f0686011;border-color:#f0686047}.record-editor-delete:disabled{cursor:default;opacity:.35}.primary-record-editor .edit-field-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.primary-record-editor .edit-field-wide,.primary-record-editor .edit-error,.primary-record-editor .description{grid-column:1/-1}.record-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;display:grid}.record-summary-grid div{border:1px solid var(--border-primary);background:#ffffff06;border-radius:6px;min-width:0;padding:10px 12px}.record-summary-grid dt{color:var(--text-muted);text-transform:uppercase;font-size:10px;font-weight:800}.record-summary-grid dd{overflow-wrap:anywhere;color:var(--text-secondary);margin:4px 0 0}.edit-option-list{border:0;min-width:0;margin:0;padding:0}.edit-option-list legend{color:var(--text-secondary);margin-bottom:7px;font-size:12px;font-weight:700}.edit-option-list-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;display:grid}.edit-option-list-items label{border:1px solid var(--border-primary);min-width:0;color:var(--text-secondary);cursor:pointer;background:#ffffff06;border-radius:6px;align-items:flex-start;gap:8px;padding:8px 9px;font-size:11px;line-height:1.35;display:flex}.edit-option-list-items label:hover{border-color:var(--border-hover);color:var(--text-primary)}.edit-option-list .edit-option-list-items input[type=checkbox]{width:14px;min-width:14px;height:14px;accent-color:var(--accent);border-radius:3px;flex:none;margin:1px 0 0;padding:0}.edit-reference-list,.edit-endpoint{border:0;min-width:0;margin:0;padding:0}.edit-reference-list legend,.edit-endpoint legend{color:var(--text-secondary);margin-bottom:7px;font-size:12px;font-weight:750}.edit-reference-list-items,.edit-endpoint-atoms{gap:7px;display:grid}.edit-reference-row{grid-template-columns:58px minmax(0,1fr) 28px;align-items:start;gap:8px;display:grid}.edit-reference-row>span,.edit-endpoint-atoms>div>span{color:var(--text-muted);text-transform:uppercase;padding-top:9px;font-size:10px;font-weight:800}.edit-reference-row>div,.edit-endpoint-atoms>div{min-width:0}.edit-endpoint-atoms>div:only-child{grid-column:1/-1}.edit-reference-row input,.edit-endpoint-atoms input{border:1px solid var(--border-primary);width:100%;min-width:0;height:34px;color:var(--text-primary);font:inherit;background:#ffffff0b;border-radius:7px;outline:none;padding:0 10px;font-size:12px}.edit-reference-row input:focus,.edit-endpoint-atoms input:focus{border-color:#56b2cdb3;box-shadow:0 0 0 2px #56b2cd1a}.edit-reference-row small,.edit-endpoint-atoms small,.edit-reference-preview{overflow-wrap:anywhere;color:var(--text-tertiary);margin-top:4px;font-size:10px;display:block}.edit-reference-row>button,.edit-reference-add{border:1px solid var(--border-primary);min-height:28px;color:var(--text-secondary);cursor:pointer;background:#ffffff06;border-radius:6px}.edit-reference-row>button{place-items:center;width:28px;height:28px;margin-top:3px;padding:0;display:grid}.edit-reference-add{align-items:center;gap:6px;margin-top:7px;padding:0 8px;font-size:11px;font-weight:700;display:inline-flex}.edit-reference-row>button:hover,.edit-reference-add:hover{border-color:var(--border-hover);color:var(--text-primary)}.edit-endpoint-mode{border:1px solid var(--border-primary);border-radius:6px;grid-template-columns:repeat(2,1fr);width:max-content;margin-bottom:8px;display:grid;overflow:hidden}.edit-endpoint-mode button{border:0;border-right:1px solid var(--border-primary);min-width:62px;height:27px;color:var(--text-secondary);cursor:pointer;background:0 0;padding:0 9px;font-size:11px;font-weight:750}.edit-endpoint-mode button:last-child{border-right:0}.edit-endpoint-mode button.active{color:#a9c7ff;background:#5d9aff21}.edit-endpoint-atoms{grid-template-columns:repeat(2,minmax(0,1fr))}.edit-endpoint-atoms>div{grid-template-columns:68px minmax(0,1fr);column-gap:7px;display:grid}.edit-endpoint-atoms>div>small{grid-column:2}.chip-row{flex-wrap:wrap;gap:7px;margin:10px 0;display:flex}.chip-row span,.status-pill{border:1px solid var(--border-primary);color:var(--text-secondary);background:#ffffff09;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:800}.status-pill.good{color:#9bd8ad;border-color:#67b58261}.status-pill.warn{color:#e7d77d;border-color:#ebcb5161}.status-pill.bad{color:#ff9b96;border-color:#f0686061}.status-pill.neutral{border-color:var(--border-primary)}.compact-fields{gap:8px;margin:0;display:grid}.compact-fields div{min-width:0}.compact-fields dd{color:var(--text-secondary);overflow-wrap:anywhere;margin:2px 0 0}.center-section{margin-top:18px}.section-heading,.topology-entity-title{color:var(--text-primary);align-items:center;gap:8px;display:flex}.section-heading{margin-bottom:10px}.section-heading h2{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:14px;overflow:hidden}.topology-entity-title{justify-content:space-between;margin-bottom:7px}.empty-state{border:1px solid var(--border-primary);color:var(--text-secondary);background:#ffffff09;border-radius:8px;align-items:flex-start;gap:10px;padding:12px;display:flex}.empty-state p{margin:6px 0 0;line-height:1.45}.empty-state strong{color:var(--text-primary)}.semantic-section{border-top:1px solid var(--border-primary);padding:16px 0 18px}.record-creation-section{justify-content:flex-end;padding:10px 0 0;display:flex}.record-creation-menu{position:relative}.record-creation-menu summary{border:1px solid var(--border-primary);min-height:29px;color:var(--text-secondary);cursor:pointer;background:#ffffff06;border-radius:6px;align-items:center;gap:6px;padding:0 9px;font-size:11px;font-weight:700;list-style:none;display:inline-flex}.record-creation-menu summary::-webkit-details-marker{display:none}.record-creation-menu summary:hover,.record-creation-menu[open] summary{border-color:var(--border-hover);color:var(--text-primary)}.record-creation-options{z-index:20;border:1px solid var(--border-strong);background:#17191d;border-radius:7px;grid-template-columns:repeat(2,minmax(130px,1fr));gap:5px;width:max-content;max-width:min(420px,100vw - 40px);padding:7px;display:grid;position:absolute;bottom:calc(100% + 6px);right:0;box-shadow:0 12px 28px #00000057}.record-creation-options .contextual-add{justify-content:flex-start}.field-pairs{gap:12px;margin:0;display:grid}.field-pairs.four-column{grid-template-columns:repeat(4,minmax(0,1fr))}.field-pairs dt,.semantic-row dt{color:var(--text-muted);text-transform:uppercase;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:10px}.field-pairs dd,.semantic-row dd{overflow-wrap:anywhere;min-width:0;color:var(--text-secondary);margin:3px 0 0}.reaction-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.semantic-column{min-width:0}.semantic-column-heading{justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.semantic-column-heading h3{color:var(--text-muted);text-transform:uppercase;margin:0;font-size:11px}.semantic-record-list{gap:7px;display:grid}.semantic-row{border:1px solid var(--border-primary);width:100%;min-width:0;color:var(--text-secondary);text-align:left;cursor:pointer;background:#ffffff06;border-radius:7px;grid-template-columns:18px minmax(160px,1fr) repeat(2,minmax(90px,.45fr));align-items:center;gap:12px;padding:10px;display:grid}.semantic-row:hover,.semantic-row.selected{border-color:var(--border-hover);background:#78a0ff12}.semantic-row-main{min-width:0}.semantic-row-main strong,.semantic-row-main span,.semantic-row-main code{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.semantic-row-main strong{color:var(--text-primary)}.semantic-row-main span,.semantic-row-main code{color:var(--text-muted);margin-top:3px;font-size:11px}.inline-empty{color:var(--text-muted);margin:0;font-size:12px}.contextual-add{border:1px solid var(--border-primary);min-height:27px;color:var(--text-secondary);cursor:pointer;background:#ffffff06;border-radius:6px;align-items:center;gap:5px;padding:0 8px;font-size:11px;display:inline-flex}.contextual-add:hover:not(:disabled){border-color:var(--border-hover);color:var(--text-primary);background:#78a0ff12}.contextual-add:disabled{cursor:default;opacity:.42}.topology-editor{gap:12px;display:grid}.topology-editor-heading{justify-content:space-between}.topology-editor-heading>div{min-width:0}.topology-editor-heading span{color:var(--text-muted);margin-top:3px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:11px;display:block}.topology-summary{grid-template-columns:minmax(260px,.7fr) minmax(280px,1fr);gap:10px;display:grid}.topology-identity,.topology-panel{border:1px solid var(--border-primary);background:#ffffff09;border-radius:8px}.topology-identity{padding:13px}.topology-stat-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.topology-stat-strip .metric-tile{min-width:0}.topology-panel-grid{grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:10px;display:grid}.topology-panel{min-width:0;padding:12px}.topology-panel-wide{grid-column:1/-1}.topology-table{gap:6px;margin-top:8px;display:grid}.topology-table-head,.topology-row{align-items:center;gap:10px;display:grid}.atom-table .topology-table-head,.atom-table .topology-row{grid-template-columns:minmax(125px,1.2fr) 46px 70px 78px 56px 44px}.bond-table .topology-table-head,.bond-table .topology-row{grid-template-columns:minmax(190px,1fr) 70px minmax(0,1fr)}.topology-table-head{color:var(--text-muted);text-transform:uppercase;padding:0 10px 2px;font-size:11px;font-weight:800}.topology-row{width:100%;min-height:34px;color:var(--text-secondary);text-align:left;cursor:pointer;background:#ffffff06;border:1px solid #0000;border-radius:7px;padding:7px 10px}.topology-row:hover,.topology-row.selected{border-color:var(--border-hover);background:#78a0ff13}.topology-row strong{color:var(--text-primary)}.topology-row span,.topology-row strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.topology-hydrogen-details{gap:6px;display:grid}.topology-hydrogen-details>summary{color:var(--text-muted);cursor:pointer;background:#ffffff06;border-radius:7px;padding:9px 10px;font-size:12px;font-weight:700}.topology-hydrogen-details[open]>summary{margin-bottom:6px}.ligand-graph-panel{gap:10px;display:grid}@media (width<=1180px){.reaction-columns,.topology-summary,.topology-panel-grid{grid-template-columns:1fr}.field-pairs.four-column,.topology-stat-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.atom-table .topology-table-head,.atom-table .topology-row{grid-template-columns:minmax(160px,1fr) minmax(90px,.5fr)}.atom-table .topology-table-head span:nth-child(n+3),.atom-table .topology-row span:nth-child(n+3){display:none}}@media (width<=760px){.field-pairs.four-column,.primary-record-editor .edit-field-list,.record-editor-heading{grid-template-columns:1fr}.record-editor-actions{justify-content:flex-start;justify-self:start}.record-editor-heading code{text-align:left}}.center-view-loading{min-height:120px;color:var(--text-muted);place-items:center;font-size:12px;display:grid}.reaction-sketch{height:calc(100% - var(--graph-height));flex-direction:column;min-height:0;padding:12px 16px;display:flex}.cofactor-detail-controls{color:var(--text-secondary);flex-wrap:wrap;flex-shrink:0;align-items:center;gap:6px 12px;padding-top:6px;font-size:11px;display:flex}.cofactor-detail-options{gap:4px;display:flex}.cofactor-detail-options button{border:1px solid var(--border-primary);min-height:28px;color:var(--text-secondary);font:inherit;background:0 0;border-radius:6px;padding:4px 8px}.cofactor-detail-options button[aria-pressed=true]{background:var(--bg-elevated);color:var(--text-primary)}.cofactor-detail-legend{flex-wrap:wrap;gap:4px 12px;margin:0;padding:0;list-style:none;display:flex}.sketch-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:12px;display:flex}.sketch-header-title{min-width:0}.sketch-header-title h1{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sketch-header-tools,.diagram-view-controls{flex:none;align-items:center;gap:6px;display:flex}.diagram-view-controls{border-left:1px solid var(--border-primary);gap:4px;padding-left:6px}.diagram-view-button.active,.diagram-view-menu[open]>summary,.diagram-view-menu.active>summary{border-color:var(--border-primary);background:var(--bg-elevated);color:var(--text-primary)}.stage-zoom-controls.mechanism-movie-status{color:#bbbcc1;gap:7px;padding:7px 9px;font-size:11px;font-weight:700;top:12px;left:12px;right:auto}.mechanism-movie-pulse{background:#6f9cff;border-radius:50%;width:5px;height:5px;box-shadow:0 0 6px #6f9cffb8}.mechanism-movie-frame-number{color:#8f9198;font-variant-numeric:tabular-nums;border-left:1px solid #bbbcc12e;padding-left:7px}.stage-zoom-controls.mechanism-movie-scrubber{z-index:5;gap:9px;width:min(560px,100% - 36px);padding:7px 8px;inset:auto auto 14px 50%;transform:translate(-50%)}.mechanism-movie-track{flex:1;min-width:0;position:relative}.mechanism-movie-track input{appearance:none;cursor:ew-resize;background:0 0;width:100%;height:12px;margin:0;display:block}.mechanism-movie-step-marker{top:50%;left:var(--movie-marker-progress);z-index:2;cursor:pointer;background:#62656d;border:0;border-radius:2px;width:3px;height:7px;padding:0;position:absolute;transform:translate(-50%,-50%)}.mechanism-movie-step-marker.passed{background:#c4d3f8}.mechanism-movie-step-marker.start{transform:translateY(-50%)}.mechanism-movie-step-marker.end{transform:translate(-100%,-50%)}.stage-zoom-button.mechanism-movie-transport-button{border-radius:6px;flex:0 0 26px;width:26px;height:26px}.mechanism-movie-transport-button:hover:not(:disabled),.mechanism-movie-transport-button.active{color:#a9c2ff;background:#6f9cff1a;border-color:#6f9cff47}.mechanism-movie-transport-button:disabled{opacity:.34;cursor:default}.mechanism-movie-video-export{border-left:1px solid #ffffff14;flex:none;gap:4px;padding-left:9px;display:flex;position:relative}.stage-zoom-button.mechanism-movie-video-button{font-variant-numeric:tabular-nums;border-radius:6px;justify-content:center;align-items:center;gap:4px;width:auto;min-width:52px;height:26px;padding:0 7px;font-size:11px;display:inline-flex}.mechanism-movie-video-button:hover:not(:disabled),.mechanism-movie-video-button.active{color:#a9c2ff;background:#6f9cff1a;border-color:#6f9cff47}.mechanism-movie-video-button:disabled{opacity:.34;cursor:default}.mechanism-movie-video-error{color:#ffb4ad;text-overflow:ellipsis;white-space:nowrap;background:#280e0ceb;border-radius:6px;max-width:320px;padding:5px 8px;font-size:11px;position:absolute;bottom:calc(100% + 14px);right:0;overflow:hidden}.mechanism-movie-track input::-webkit-slider-runnable-track{background:linear-gradient(to right, #6f9cff var(--movie-progress), #bbbcc138 var(--movie-progress));border-radius:2px;height:3px}.mechanism-movie-track input::-webkit-slider-thumb{appearance:none;background:#a9c2ff;border:1px solid #0b0c0d;border-radius:50%;width:11px;height:11px;margin-top:-4px;box-shadow:0 0 0 2px #6f9cff29}.mechanism-movie-track input::-moz-range-track{background:#bbbcc138;border-radius:2px;height:3px}.mechanism-movie-track input::-moz-range-progress{background:#6f9cff;border-radius:2px;height:3px}.mechanism-movie-track input::-moz-range-thumb{background:#a9c2ff;border:1px solid #0b0c0d;border-radius:50%;width:11px;height:11px;box-shadow:0 0 0 2px #6f9cff29}.diagram-view-menu{position:relative}.diagram-view-menu>summary{list-style:none}.diagram-view-menu>summary::-webkit-details-marker{display:none}.diagram-view-menu-popover{z-index:12;border:1px solid var(--border-primary);background:#121315fa;border-radius:8px;width:156px;padding:4px;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 14px 34px #00000057}.sketch-header h1{letter-spacing:0;margin:3px 0 0;font-size:24px;line-height:1.12}.eyebrow{color:var(--text-secondary);letter-spacing:.08em;text-transform:uppercase;margin:0;font-size:12px;font-weight:800}.v1-scene-shell{flex:1;min-height:0;position:relative;overflow:hidden}.v1-scene-frame{overscroll-behavior:contain;background:linear-gradient(#ffffff08,#0000 46%),#0b0c0d;border:1px solid #ffffff12;border-radius:12px;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid;position:relative;overflow:hidden}.stage-zoom-controls{z-index:4;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#121315c7;border:1px solid #ffffff17;border-radius:8px;align-items:center;gap:4px;padding:4px;display:flex;position:absolute;top:10px;right:10px;box-shadow:0 10px 28px #0000003d}.stage-zoom-button,.diagram-view-menu>summary{width:28px;height:28px;color:var(--text-secondary);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;place-items:center;padding:0;display:grid}.stage-zoom-button:hover:not(:disabled),.diagram-view-menu>summary:hover{color:var(--text-primary);background:#ffffff12;border-color:#ffffff1a}.stage-zoom-button:disabled{cursor:default;opacity:.36}.stage-empty-state{color:var(--text-primary);flex-direction:column;align-items:center;gap:8px;display:flex}.stage-empty-state strong{font-size:15px}.stage-empty-state span{color:var(--text-secondary);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px}.stage-preparation-retry{color:#a9c2ff;cursor:pointer;background:#6f9cff1a;border:1px solid #6f9cff47;border-radius:7px;padding:6px 10px}.yaml-path-rail{z-index:5;border:1px solid var(--border-primary);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#121315f0;border-radius:8px;flex-direction:column;gap:10px;width:min(240px,100% - 24px);padding:10px;display:flex;position:absolute;top:12px;bottom:12px;right:12px;overflow:auto;box-shadow:0 14px 34px #00000057}.yaml-path-rail-title{height:24px;color:var(--text-secondary);letter-spacing:.1em;text-transform:uppercase;align-items:center;font-size:11px;font-weight:800;display:flex}.yaml-path-card{min-height:96px;color:var(--text-primary);text-align:left;cursor:pointer;background:#171924c2;border:1px solid #858fff38;border-radius:8px;flex-direction:column;justify-content:center;gap:6px;padding:11px 12px;display:flex}.yaml-path-card:hover,.yaml-path-card.active{background:#202334db;border-color:#b7beff8c}.yaml-path-card small{color:#aeb5ff;letter-spacing:.1em;text-transform:uppercase;font-size:10px;font-weight:800}.yaml-path-card span{font-size:13px;font-weight:800}.yaml-path-card em{color:var(--text-secondary);font-size:11px;font-style:normal;line-height:1.35}.yaml-path-card code{overflow-wrap:anywhere;color:#d6d8ff;background:#ffffff0b;border-radius:6px;max-width:100%;padding:7px 8px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:10px;line-height:1.35;display:block}.stage-overlap-notice{z-index:4;color:#e5807f;cursor:help;background:#121315c7;border:1px solid #e5484d59;border-radius:6px;align-items:center;gap:5px;padding:3px 8px;font-size:11px;display:inline-flex;position:absolute;bottom:10px;left:10px}.stage-overlap-notice:hover,.stage-overlap-notice:focus-visible{color:#f0a3a2;border-color:#e5484db3}.inspector{border-left:1px solid var(--border-primary);background:#111214;flex-direction:column;gap:0;min-width:0;display:flex;overflow:auto}.inspector-title{border-bottom:1px solid var(--border-primary);justify-content:space-between;align-items:flex-start;gap:16px;min-height:96px;padding:22px 20px 16px;display:flex}.inspector-title>div{min-width:0}.inspector-title h2{overflow-wrap:anywhere;letter-spacing:0;margin:0;font-size:22px;line-height:1.1}.inspector-title p{overflow-wrap:anywhere;color:var(--text-secondary);margin:12px 0 0;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px}.inspector-details{border-bottom:1px solid var(--border-primary)}.inspector-details-toggle{width:100%;min-height:48px;color:var(--text-secondary);cursor:pointer;letter-spacing:.12em;text-transform:uppercase;justify-content:flex-start;align-items:center;padding:0 20px;font-size:12px;font-weight:800;list-style:none;display:flex}.inspector-details-title{align-items:center;gap:6px;min-width:0;display:inline-flex}.inspector-details-title span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.inspector-details-title svg{color:var(--text-muted);flex:none}.inspector-details-toggle:hover{color:var(--text-primary);background:#ffffff09}.inspector-details-body{padding:0 20px 18px}.copy-field-row{grid-template-columns:26px minmax(0,1fr);align-items:center;gap:8px;width:100%;min-width:0;display:grid}.yaml-path{overflow-wrap:anywhere;border:1px solid var(--border-primary);color:#cfd2ff;background:#ffffff09;border-radius:8px;grid-area:1/2;padding:9px 10px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px;display:block}.field-copy-button{width:26px;height:26px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:5px;grid-area:1/1;place-items:center;padding:0;display:grid}.field-copy-button:hover{background:var(--bg-active);color:var(--text-primary)}.edit-field-list{flex-direction:column;gap:10px;display:flex}.edit-field-copy-row{grid-template-columns:26px minmax(0,1fr);align-items:start;gap:8px;min-width:0;display:grid}.edit-field-copy-row>.edit-field{grid-area:1/2}.edit-field-copy-row>.field-copy-button{margin-top:22px}.edit-field{flex-direction:column;gap:6px;display:flex}.edit-field>span{color:var(--text-secondary);font-size:12px;font-weight:750}.edit-field input,.edit-field textarea,.edit-field select{border:1px solid var(--border-primary);width:100%;min-width:0;color:var(--text-primary);font:inherit;background:#ffffff0b;border-radius:8px;outline:none;font-size:12px;line-height:1.4}.edit-field input{height:34px;padding:0 10px}.edit-field select{height:34px;padding:0 8px}.edit-field textarea{resize:vertical;min-height:88px;padding:9px 10px}.edit-field input:focus,.edit-field textarea:focus,.edit-field select:focus{border-color:#56b2cdb3;box-shadow:0 0 0 2px #56b2cd1a}.edit-field.draft input,.edit-field.draft textarea{border-color:#6f9cff80}.edit-field code{overflow-wrap:anywhere;color:var(--text-tertiary);font-size:10px}.edit-error{color:#ffb9b3;background:#dc635a14;border:1px solid #dc635a85;border-radius:8px;align-items:flex-start;gap:7px;padding:8px 10px;font-size:12px;line-height:1.35;display:flex}.edit-error svg{flex:none;margin-top:1px}.label-chip{color:#bdefff;text-overflow:ellipsis;white-space:nowrap;background:#56b2cd1f;border-radius:999px;max-width:100%;padding:5px 9px;font-size:12px;overflow:hidden}.kv-grid{flex-direction:column;gap:8px;display:flex}.kv-row{grid-template-columns:26px minmax(0,1fr);align-items:center;gap:8px;min-height:28px;display:grid}.kv-field{background:#ffffff09;border-radius:8px;grid-area:1/2;grid-template-columns:minmax(78px,.75fr) minmax(0,1.35fr);align-items:start;gap:10px;min-width:0;padding:8px 10px;display:grid}.kv-field span{color:var(--text-secondary);font-size:12px}.kv-field strong{overflow-wrap:anywhere;min-width:0;font-size:12px;line-height:1.35}.description{color:#d0d0d5;margin:0;font-size:14px;font-weight:650;line-height:1.48}.diagnostic-list{flex-direction:column;gap:7px;display:flex}.diagnostic{border:1px solid var(--border-primary);min-height:38px;color:var(--text-primary);cursor:pointer;text-align:left;background:#ffffff09;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;display:flex}.diagnostic:hover{border-color:var(--border-hover)}.diagnostic span{text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:7px;min-width:0;display:inline-flex;overflow:hidden}.diagnostic{justify-content:flex-start}.diagnostic.info svg{color:var(--accent)}.diagnostic.warning svg{color:var(--transfer)}.diagnostic.error svg{color:var(--cleavage)}.record-delete-button{color:#ffaaa5;cursor:pointer;background:#f068600e;border:1px solid #f0686047;border-radius:7px;align-items:center;gap:8px;width:100%;min-height:34px;padding:0 10px;display:flex}.record-delete-button:hover:not(:disabled){background:#f0686017;border-color:#f068607a}.record-delete-button:disabled{cursor:default;opacity:.45}.record-action-note{color:var(--text-muted);margin:7px 0 0;font-size:11px;line-height:1.4}@media (width<=1500px){.app-shell{--left-panel-width:244px;--center-min-width:540px;--right-panel-width:320px}.app-shell.left-panel-collapsed{--left-panel-width:48px}.app-shell.right-panel-collapsed{--right-panel-width:48px}.sidebar{padding-left:8px;padding-right:8px}}@media (width<=1120px){.app-shell{--left-panel-width:212px;--center-min-width:420px;--right-panel-width:284px}.document-stats{display:none}.view-tab{padding:0 5px;font-size:12px}}@media (width<=820px){.app-shell{--center-min-width:360px}.topbar{padding-left:8px;padding-right:8px}.view-tab{padding:0 3px;font-size:11px}}@media (width<=720px){.app-shell{--center-min-width:300px}}
