:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#eef1f3;--surface:#fff;--surface-soft:#f6f8f9;--surface-sunken:#f1f4f6;--ink:#16181c;--ink-soft:#3a424b;--muted:#6b7480;--quiet:#97a0aa;--line:#e4e8ec;--line-strong:#d4dae0;--accent:#10b981;--accent-ink:#04261b;--running:#16a34a;--idle:#94a3b8;--complete:#d94686;--radius:7px;--radius-sm:5px;--mono:"SFMono-Regular", ui-monospace, "JetBrains Mono", "Menlo", monospace;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px}*{box-sizing:border-box}body{background:var(--bg);min-height:100vh;margin:0}button,input{font:inherit;color:inherit}h1,h2{margin:0}.app{grid-template-rows:auto minmax(0,1fr);min-height:100vh;display:grid}.topbar{background:var(--surface);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:18px;height:56px;padding:0 18px;display:flex}.brand{min-width:0;color:var(--ink);align-items:center;gap:11px;text-decoration:none;display:flex}.brand-mark{border-radius:7px;flex:none;width:34px;height:34px;display:block}.brand-text h1{letter-spacing:0;font-size:16px;font-weight:700;line-height:1.1}.logo-wordmark{letter-spacing:0;line-height:inherit;visibility:hidden;unicode-bidi:isolate;display:inline-block;position:relative}.logo-wordmark:before{content:"woɹfןam beta";visibility:visible;white-space:nowrap;position:absolute;top:0;left:0}.brand-text p{color:var(--muted);margin:2px 0 0;font-size:12px;line-height:1.2}.topbar-meta{align-items:center;gap:10px;display:flex}.topbar-stat{color:var(--ink-soft);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12.5px}.status-pill{color:var(--ink-soft);white-space:nowrap;align-items:center;gap:7px;font-size:12.5px;font-weight:600;display:inline-flex}.status-pill-dot{background:var(--idle);border-radius:50%;width:8px;height:8px}.status-pill[data-state=running] .status-pill-dot{background:var(--running);box-shadow:0 0 0 3px #16a34a29}.status-pill[data-state=complete] .status-pill-dot{background:var(--complete);box-shadow:0 0 0 3px #d9468629}.workspace{grid-template-columns:264px minmax(0,1fr) 340px;gap:14px;min-height:0;padding:14px;display:grid}.rail,.inspector{flex-direction:column;gap:12px;min-width:0;display:flex}.stage{flex-direction:column;gap:14px;min-width:0;display:flex}.workbench-drawer-toolbar,.workbench-drawer-backdrop,.workbench-drawer{display:none}.workbench-drawer-toolbar{align-items:center;gap:6px;min-width:0}.workbench-drawer-trigger,.workbench-drawer-close{font:inherit}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}.panel-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;display:flex}.panel-head-left{flex:auto;align-items:center;gap:6px;min-width:0;display:flex}.panel-toggle{width:18px;height:18px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:4px;place-items:center;margin-left:-2px;padding:0;display:grid}.panel-toggle:hover{color:var(--ink);background:var(--surface-sunken)}.panel-chevron{transition:transform .14s}.panel[data-open=false] .panel-chevron{transform:rotate(-90deg)}.panel-title{color:var(--muted);letter-spacing:.07em;text-transform:uppercase;flex:none;font-size:11px;font-weight:700}.panel-summary{min-width:0;color:var(--ink-soft);letter-spacing:0;text-transform:none;white-space:normal;flex-wrap:wrap;align-items:center;gap:5px;font-size:11.5px;font-weight:700;line-height:1.25;display:inline-flex}.panel-summary-divider{color:var(--quiet);font-weight:700}.panel-summary-icon-label{align-items:center;gap:4px;min-width:0;display:inline-flex}.panel-summary-icon-label svg{color:var(--accent-ink);flex:none}.panel-summary-rule-cells{align-items:center;display:inline-flex}.panel-summary-rule-cells .rd-strip{gap:2px}.panel-summary-rule-cells .rd-cell{border-radius:2px;width:9px;height:9px}.panel-subtitle{color:var(--quiet);font-size:11px}.panel-action{flex:none;align-items:center;display:inline-flex}.panel-action-row{align-items:center;gap:7px;display:inline-flex}.panel-body{flex-direction:column;gap:12px;padding:12px;display:flex}.advanced-icon-toggle{border-radius:var(--radius-sm);width:28px;height:28px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;transition:color .12s,background-color .12s;display:grid}.advanced-icon-toggle:hover{color:var(--ink)}.advanced-icon-toggle[data-checked=true]{color:var(--accent)}.advanced-icon-toggle:focus-visible,.header-switch:focus-visible{outline:0;box-shadow:0 0 0 3px #14171a1f}.header-switch{height:28px;color:var(--muted);letter-spacing:0;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:0;font-size:11px;font-weight:700;transition:color .12s;display:inline-flex}.header-switch:hover{color:var(--ink)}.header-switch-track{border:1px solid var(--line-strong);background:var(--surface-sunken);border-radius:999px;flex:none;width:26px;height:16px;transition:background-color .14s,border-color .14s;position:relative}.header-switch-thumb{background:var(--surface);border-radius:50%;width:10px;height:10px;transition:transform .14s;position:absolute;top:50%;left:3px;transform:translateY(-50%);box-shadow:0 1px 2px #14171a38}.header-switch[data-checked=true]{color:var(--accent-ink)}.header-switch[data-checked=true] .header-switch-track{background:var(--accent);border-color:var(--accent)}.header-switch[data-checked=true] .header-switch-thumb{transform:translate(10px,-50%)}.advanced-panel-body{border-top:1px solid var(--line);flex-direction:column;gap:12px;padding-top:12px;display:flex}.control-surface{flex-direction:column;gap:12px;min-width:0;transition:opacity .12s,filter .12s;display:flex}.control-surface[data-disabled]{opacity:.46;filter:grayscale(.35)}.rule-source-picker{gap:8px}.field{flex-direction:column;gap:7px;min-width:0;display:flex}.field-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.field-label{color:var(--ink-soft);font-size:12px;font-weight:600}.field-hint{color:var(--muted);font-variant-numeric:tabular-nums;align-items:center;font-size:12px;display:inline-flex}.field-meta,.field-action{align-items:center;display:inline-flex}.field-meta{flex:none;gap:8px}.field-links{flex-wrap:wrap;gap:8px 12px;display:flex}.micro-label{color:var(--muted);letter-spacing:.02em;font-size:11px;font-weight:600}.text-input,.stepper-input{width:100%;min-width:0;height:36px;color:var(--ink);background:var(--surface-soft);border:1px solid var(--line-strong);border-radius:var(--radius-sm);font-variant-numeric:tabular-nums;outline:none;padding:0 10px;font-size:14px}.text-input:focus,.stepper-input:focus{border-color:var(--accent);background:var(--surface);box-shadow:0 0 0 3px #14171a14}.inline-row{gap:7px;display:flex}.stepper{display:flex;position:relative}.stepper-input{border-radius:var(--radius-sm) 0 0 var(--radius-sm);border-right:0;font-size:16px;font-weight:600}.stepper-spin{border:1px solid var(--line-strong);border-radius:0 var(--radius-sm) var(--radius-sm) 0;flex-direction:column;flex:0 0 28px;display:flex;overflow:hidden}.stepper-spin button{background:var(--surface-soft);color:var(--muted);cursor:pointer;border:0;flex:1;place-items:center;padding:0;display:grid}.stepper-spin button:first-child{border-bottom:1px solid var(--line)}.stepper-spin button:hover{background:var(--surface-sunken);color:var(--ink)}.range{appearance:none;background:var(--line-strong);border-radius:999px;outline:none;width:100%;min-width:0;height:4px;margin:6px 0}.range::-webkit-slider-thumb{appearance:none;background:var(--accent);border:2px solid var(--surface);cursor:pointer;border-radius:50%;width:15px;height:15px;box-shadow:0 1px 4px #00000040}.range::-moz-range-thumb{background:var(--accent);border:2px solid var(--surface);cursor:pointer;border-radius:50%;width:15px;height:15px}.range-ticks{color:var(--quiet);font-variant-numeric:tabular-nums;justify-content:space-between;font-size:10px;display:flex}.btn{border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--surface);height:36px;color:var(--ink);cursor:pointer;justify-content:center;align-items:center;gap:7px;padding:0 14px;font-size:13px;font-weight:600;transition:background-color .12s,border-color .12s,opacity .12s;display:inline-flex}.btn--block{flex:auto}.btn--primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.btn--ghost{background:0 0;border-color:#0000}.btn:hover:not(:disabled){background:var(--surface-sunken)}.btn--primary:hover:not(:disabled){background:#2a2f35}.btn:disabled{opacity:.45;cursor:not-allowed}.icon-btn{border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--surface);width:36px;height:36px;color:var(--ink-soft);cursor:pointer;flex:0 0 36px;place-items:center;transition:background-color .12s,color .12s;display:grid}.icon-btn:hover:not(:disabled){background:var(--surface-sunken);color:var(--ink)}.icon-btn--primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.icon-btn--primary:hover:not(:disabled){color:var(--accent-ink);background:#2a2f35}.icon-btn:disabled{opacity:.4;cursor:not-allowed}.panel-action .icon-btn{border-color:var(--line);flex-basis:28px;width:28px;height:28px}.segmented{background:var(--surface-sunken);border:1px solid var(--line);border-radius:var(--radius-sm);gap:4px;padding:3px;display:flex}.segmented-item{min-width:0;height:30px;color:var(--muted);font-variant-numeric:tabular-nums;cursor:pointer;background:0 0;border:0;border-radius:4px;flex:1;justify-content:center;align-items:center;gap:5px;font-size:12.5px;font-weight:600;transition:background-color .12s,color .12s;display:inline-flex;position:relative}.segmented-item:disabled{opacity:.45;cursor:not-allowed;pointer-events:none}.segmented-option-label{justify-content:center;align-items:center;gap:3px;min-width:0;max-width:100%;font-size:12px;display:inline-flex}.segmented-option-label svg{flex:none}.segmented-option-text{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.segmented-tooltip{top:var(--segmented-tooltip-top,-9999px);left:var(--segmented-tooltip-left,-9999px);z-index:40;color:#fff;border-radius:var(--radius-sm);white-space:normal;pointer-events:none;opacity:0;visibility:hidden;background:#16181c;width:max-content;max-width:min(240px,100vw - 32px);padding:7px 9px;font-size:11px;line-height:1.25;transition:opacity 70ms,transform 70ms,visibility 70ms;position:fixed;transform:translateY(-2px);box-shadow:0 10px 28px #14171a38}.segmented-tooltip-title,.segmented-tooltip-description{display:block}.segmented-tooltip-title{font-weight:800}.segmented-tooltip-description{color:#ffffffc7;margin-top:2px;font-weight:400}.segmented-tooltip:before{content:"";left:var(--segmented-tooltip-arrow-left,50%);background:#16181c;width:8px;height:8px;position:absolute;top:-4px;transform:translate(-50%)rotate(45deg)}.segmented-item:hover{color:var(--ink)}.segmented-item:hover .segmented-tooltip[data-positioned],.segmented-item:focus-visible .segmented-tooltip[data-positioned]{opacity:1;visibility:visible;transform:translateY(0)}.segmented-item[data-selected=true]{background:var(--surface);color:var(--ink);box-shadow:0 1px 2px #00000014}.starting-condition-cells{grid-template-columns:repeat(5,10px);gap:2px;width:58px;display:grid}.starting-condition-cell{border:1px solid var(--line-strong);background:var(--surface);border-radius:2px;width:10px;height:10px}.starting-condition-cell[data-active=true]{background:#15181d;border-color:#15181d}.vertical-flow-selector .segmented{grid-template-columns:.92fr 1.16fr .92fr;display:grid}.checkbox{color:var(--ink-soft);cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:7px;font-size:12.5px;font-weight:600;display:inline-flex}.checkbox input{opacity:0;width:0;height:0;position:absolute}.checkbox-box{border:1px solid var(--line-strong);background:var(--surface);width:16px;height:16px;color:var(--accent-ink);border-radius:4px;place-items:center;display:grid}.checkbox input:checked+.checkbox-box{background:var(--accent);border-color:var(--accent)}.checkbox input:focus-visible+.checkbox-box{box-shadow:0 0 0 3px #14171a1f}.switch-control{color:var(--ink-soft);cursor:pointer;-webkit-user-select:none;user-select:none;background:0 0;border:0;align-items:center;gap:9px;padding:0;font-size:12.5px;font-weight:700;display:inline-flex}.switch-control:disabled{cursor:not-allowed;opacity:.56}.switch-track{border:1px solid var(--line-strong);background:var(--surface-sunken);border-radius:999px;flex:none;width:36px;height:20px;transition:background-color .14s,border-color .14s;position:relative}.switch-thumb{background:var(--surface);border-radius:50%;width:14px;height:14px;transition:transform .14s;position:absolute;top:50%;left:3px;transform:translateY(-50%);box-shadow:0 1px 3px #14171a3d}.switch-control[data-checked=true] .switch-track{background:var(--accent);border-color:var(--accent)}.switch-control[data-checked=true] .switch-thumb{transform:translate(16px,-50%)}.switch-control:focus-visible{outline:0}.switch-control:focus-visible .switch-track{box-shadow:0 0 0 3px #14171a1f}.switch-label{min-width:0}.disclosure{border-top:1px solid var(--line);padding-top:10px}.disclosure-head{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;cursor:pointer;background:0 0;border:0;align-items:center;gap:5px;padding:0;font-size:11px;font-weight:700;display:inline-flex}.disclosure-head:hover{color:var(--ink)}.disclosure-chevron{transition:transform .14s}.disclosure[data-open=true] .disclosure-chevron{transform:rotate(90deg)}.disclosure-body{margin-top:10px}.rd-cell{border:1px solid var(--line-strong);background:#fafbfc;border-radius:3px;width:13px;height:13px;display:inline-block}.rd-cell-button{appearance:none;cursor:pointer;flex:none;padding:0}.rd-cell[data-on=true]{background:#15181d;border-color:#15181d}.rd-cell-button:hover:not(:disabled){border-color:var(--accent);box-shadow:0 0 0 2px #14171a14}.rd-cell-button:focus-visible{outline:none;box-shadow:0 0 0 3px #14171a1f}.rd-cell-button:disabled{cursor:not-allowed}.rd-strip{flex:none;gap:3px;display:flex}.rule-cell-preview{border-radius:5px;outline:none;align-items:center;display:inline-flex;position:relative}.rule-cell-preview[data-inactive]{opacity:.45}.rule-cell-preview:focus-visible{box-shadow:0 0 0 3px #14171a1a}.rule-cell-preview .rd-strip{cursor:help}.rule-cell-preview-popover{z-index:20;width:min(252px,100vw - 32px);color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);opacity:0;pointer-events:none;visibility:hidden;padding:10px;transition:opacity .14s,transform .14s,visibility .14s;position:absolute;top:calc(100% + 8px);right:0;transform:translateY(-4px);box-shadow:0 14px 36px #14171a29}.rule-cell-preview[data-interactive] .rule-cell-preview-popover{top:auto;bottom:calc(100% + 8px);transform:translateY(4px)}.rule-cell-preview:hover .rule-cell-preview-popover,.rule-cell-preview:focus-visible .rule-cell-preview-popover,.rule-cell-preview:focus-within .rule-cell-preview-popover{opacity:1;visibility:visible;transform:translateY(0)}.rule-preview{grid-template-columns:repeat(8,1fr);gap:4px;display:grid}.rule-preview-cell{flex-direction:column;align-items:center;gap:3px;display:flex}.rule-preview .rd-cell{border-radius:2px;width:8px;height:8px}.rd-row{gap:1px;display:flex}.rd-row--out{padding-top:5px;position:relative}.rd-row--out:before{content:"";background:var(--line-strong);width:1px;height:4px;position:absolute;top:0;left:50%;transform:translate(-50%)}.rd-label{font-family:var(--mono);letter-spacing:.04em;color:var(--muted);font-size:8px}.stepper[data-disabled]{opacity:.5}.stepper-input:disabled,.stepper-spin button:disabled{cursor:not-allowed}.select:disabled{opacity:.5;cursor:not-allowed}.board{background:0 0;border:0;border-radius:0;flex-direction:column;flex:auto;min-height:0;display:flex;overflow:visible}.board-toolbar{border-bottom:0;align-items:center;padding:0 0 8px;display:flex}.board-toolbar-row{flex-wrap:nowrap;align-items:center;gap:8px;width:100%;min-width:0;display:flex}.board-toolbar-group{flex-wrap:nowrap;align-items:center;gap:7px;min-width:0;display:flex}.board-view-selector{min-width:0}.board-view-selector .segmented{background:var(--surface-soft);flex-wrap:nowrap;gap:2px;padding:2px}.board-view-selector .segmented-item{flex:0 0 36px;width:36px;height:36px;padding:0}.board-toolbar-controls{flex:none;justify-content:flex-end;margin-left:auto}.board-toolbar-run{flex:auto;justify-content:flex-start}.transport-buttons{background:var(--surface-soft);border:1px solid var(--line);border-radius:var(--radius-sm);gap:1px;padding:1px;display:flex}.transport-buttons .icon-btn{width:36px;height:36px;color:var(--muted);background:0 0;border-color:#0000;border-radius:4px;flex-basis:36px}.transport-buttons .icon-btn:hover:not(:disabled){color:var(--ink);background:var(--surface-sunken)}.transport-buttons .icon-btn--primary{color:#047857;background:#10b9811f;border-color:#0000}.transport-buttons .icon-btn--primary:hover:not(:disabled){color:#065f46;background:#10b9812e}.transport-speed{grid-template-columns:minmax(0,1fr);align-items:center;row-gap:2px;width:clamp(126px,13vw,152px);display:grid}.transport-speed-range{width:100%;margin:0}.transport-speed-ticks{color:var(--quiet);pointer-events:none;grid-column:1;justify-content:space-between;font-size:9px;font-weight:700;line-height:1;display:flex}.board-canvas{background:0 0;flex:auto;min-height:360px;display:flex;position:relative}.board-canvas[data-tutorial-open=true]{min-height:clamp(420px,100vh - 244px,720px)}.tutorial-preset-overlay{z-index:8;border-radius:var(--radius-sm);width:min(320px,100% - 20px);max-height:68px;color:var(--ink-soft);text-align:left;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffffeb;border:1px solid #d4dae0e6;flex-direction:column;align-items:flex-start;gap:5px;padding:10px 12px;transition:background-color .12s,color .12s,border-color .12s,max-height .16s,box-shadow .16s;display:flex;position:absolute;top:10px;left:10px;overflow:hidden;box-shadow:0 8px 24px #14171a1f}.board-canvas:hover .tutorial-preset-overlay,.tutorial-preset-overlay:hover,.tutorial-preset-overlay:focus-visible{background:var(--surface);border-color:var(--line-strong);max-height:260px;color:var(--ink);box-shadow:0 14px 36px #14171a29}.tutorial-preset-overlay:focus-visible{outline:0;box-shadow:0 14px 36px #14171a29,0 0 0 3px #14171a1f}.tutorial-preset-overlay-kicker{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;align-items:center;gap:5px;font-size:10.5px;font-weight:800;line-height:1;display:inline-flex}.tutorial-preset-overlay strong{max-width:100%;color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;line-height:1.25;overflow:hidden}.tutorial-preset-overlay-body{max-height:0;color:var(--muted);opacity:0;flex-direction:column;gap:8px;font-size:11.8px;line-height:1.45;transition:max-height .16s,opacity .12s;display:flex;overflow:hidden}.board-canvas:hover .tutorial-preset-overlay-body,.tutorial-preset-overlay:hover .tutorial-preset-overlay-body,.tutorial-preset-overlay:focus-visible .tutorial-preset-overlay-body{opacity:1;max-height:180px}.tutorial-preset-overlay-look{border-left:2px solid var(--accent);color:var(--ink-soft);gap:6px;padding-left:8px;display:flex}.tutorial-preset-overlay-look svg{color:var(--accent);flex:none;margin-top:2px}.board-stats{color:var(--muted);font-variant-numeric:tabular-nums;border-top:0;align-items:center;gap:16px;padding:9px 2px 0;font-size:12px;display:flex;overflow-x:auto}.board-stats strong{color:var(--ink);font-weight:600}.board-stats-spacer{flex:auto}.board-engine{color:var(--quiet);letter-spacing:.04em;white-space:nowrap;font-size:11px}.genealogy-host{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);flex:auto;min-height:336px;padding:6px 10px;position:relative;overflow:hidden}.genealogy-host--panel{flex:none;width:100%;height:clamp(132px,18vh,184px);min-height:0;padding:4px 6px}.genealogy-svg{width:100%;height:100%;display:block}.genealogy-grid{stroke:var(--line)}.genealogy-fork{cursor:pointer;transition:opacity .12s}.genealogy-fork[data-status=merged]{opacity:.85}.genealogy-fork[data-highlight-state=dimmed]{opacity:.12}.genealogy-fork[data-highlight-state=highlighted]{opacity:1}.genealogy-worm{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.genealogy-merge-link{fill:none;stroke:currentColor;stroke-dasharray:1.6 1.6;opacity:.7;vector-effect:non-scaling-stroke}.genealogy-birth{fill:currentColor;stroke:var(--surface);vector-effect:non-scaling-stroke;stroke-width:.6px}.genealogy-end{fill:var(--surface);stroke:currentColor;stroke-width:.8px;vector-effect:non-scaling-stroke}.genealogy-end--merge{fill:currentColor}.genealogy-empty{text-align:center;color:var(--quiet);place-items:center;padding:0 24px;font-size:13px;font-weight:600;display:grid;position:absolute;inset:0}.heatmap-host{flex-direction:column;flex:auto;gap:8px;min-height:336px;display:flex}.heatmap-profile{background:var(--surface-soft);border:1px solid var(--line);border-radius:var(--radius-sm);flex:none;height:38px;overflow:hidden}.heatmap-profile-svg{width:100%;height:100%;display:block}.heatmap-profile-svg rect{fill:var(--complete)}.canvas-host--heatmap{flex:auto;min-height:0}.heatmap-foot{color:var(--muted);flex:none;justify-content:space-between;align-items:center;gap:12px;font-size:12px;display:flex}.heatmap-legend{align-items:center;gap:8px;display:flex}.heatmap-legend-bar{border:1px solid var(--line);border-radius:999px;width:130px;height:10px}.heatmap-legend-label{color:var(--quiet);font-size:11px}.heatmap-stat{font-variant-numeric:tabular-nums}.heatmap-stat strong{color:var(--ink);font-weight:600}.canvas-host{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);flex:auto;min-height:0;position:relative;overflow:hidden}.automata-canvas{background:var(--surface);width:100%;height:100%;min-height:336px;image-rendering:pixelated;display:block}.canvas-fallback{color:var(--muted);background:#ffffffe0;place-items:center;font-size:13px;font-weight:600;display:grid;position:absolute;inset:0}.board-view-loading{min-height:336px;color:var(--muted);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);flex:auto;place-items:center;font-size:13px;font-weight:600;display:grid}.board-3d-host{background:var(--surface-sunken);border:1px solid var(--line);border-radius:var(--radius-sm);flex:auto;min-height:336px;position:relative;overflow:hidden}.board-voxel-host{background:linear-gradient(180deg, #ffffff80, #f1f4f6b8), var(--surface-sunken)}.board-voxel-host--flat{background:var(--surface);display:flex}.board-3d-canvas-mount{position:absolute;inset:0}.board-3d-controls{z-index:4;width:min(260px,100% - 20px);position:absolute;top:10px;right:10px}.board-3d-controls .segmented{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#f6f8f9e6;border-color:#d4dae0e0;gap:2px;padding:2px;box-shadow:0 6px 18px #16181d14}.board-3d-controls .segmented-item{height:28px;padding:0 8px;font-size:11.5px}.board-surface-controls{width:min(304px,100% - 20px)}.board-surface-controls .segmented-item{padding:0}.surface-shape-option{justify-content:center;align-items:center;width:22px;height:22px;display:inline-flex}.surface-shape-icon{display:block}.board-3d-hint{z-index:3;color:#3a424bb8;pointer-events:none;max-width:min(260px,100% - 24px);font-size:11.5px;font-weight:700;line-height:1.25;position:absolute;top:10px;left:12px}.canvas-host--voxel-flat{border:0;border-radius:0;flex:auto}.automata-canvas--voxel-flat{min-height:336px}.automata-canvas--3d{touch-action:none;width:100%;height:100%;min-height:336px;display:block}.board-3d-hud{pointer-events:none;flex-wrap:wrap;gap:6px;max-width:calc(100% - 20px);display:flex;position:absolute;top:10px;left:10px}.board-3d-hud-item{min-width:0;height:26px;color:var(--ink-soft);border-radius:var(--radius-sm);font-variant-numeric:tabular-nums;white-space:nowrap;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffffd1;border:1px solid #d4dae0d1;align-items:center;gap:6px;padding:0 9px;font-size:11.5px;font-weight:700;display:inline-flex}.board-3d-hud-item--merged{color:#7a254e;border-color:#d946866b}.board-voxel-hud-item{color:#0f766e;border-color:#14b8a657}.board-3d-dot{border-radius:50%;flex:none;width:8px;height:8px}.board-3d-dot--original{background:var(--ink)}.board-3d-merge-strip{z-index:2;border-radius:var(--radius-sm);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fff7fbf5;border:1px solid #d9468657;flex-wrap:wrap;justify-content:flex-start;gap:6px;max-width:calc(100% - 20px);padding:6px;display:flex;position:absolute;top:42px;left:10px;box-shadow:0 6px 18px #16181d14}.board-3d-merge-label,.board-3d-merge-chip{white-space:nowrap;font-variant-numeric:tabular-nums;align-items:center;height:22px;font-size:11px;font-weight:700;display:inline-flex}.board-3d-merge-label{color:#7a254e;letter-spacing:.04em;text-transform:uppercase}.board-3d-merge-chip{color:var(--ink-soft);background:var(--surface);border:1px solid #d9468638;border-radius:4px;padding:0 7px}.split-board-grid{flex:auto;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));align-content:start;gap:10px;min-height:0;display:grid;overflow:auto}.split-board-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);flex-direction:column;gap:8px;min-width:0;padding:9px;transition:border-color .12s,box-shadow .12s,opacity .12s;display:flex}.split-board-card[data-status=merged]{border-color:#d946866b}.split-board-card[data-highlight-state=dimmed]{opacity:.38}.split-board-card[data-highlight-state=highlighted]{border-color:#16181da8;box-shadow:0 0 0 2px #16181d14}.split-board-card-head{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;min-width:0;display:grid}.split-board-title-row{align-items:center;gap:6px;min-width:0;display:flex}.split-board-card h3,.split-board-card p{text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0;overflow:hidden}.split-board-status{color:#7a254e;letter-spacing:.03em;text-transform:uppercase;background:#d946861f;border:1px solid #d9468638;border-radius:4px;flex:none;align-items:center;height:18px;padding:0 6px;font-size:10px;font-weight:800;display:inline-flex}.split-board-card h3{color:var(--ink);font-size:12px}.split-board-card p{color:var(--muted);font-size:11px}.split-board-dot{border-radius:50%;flex:none;width:9px;height:9px}.canvas-host--split{aspect-ratio:181/132;flex:none}.split-board-card .automata-canvas{min-height:0}.timeline{grid-template-columns:32px minmax(0,1fr);gap:8px;height:132px;display:grid}.timeline-yaxis{color:var(--quiet);font-variant-numeric:tabular-nums;flex-direction:column;justify-content:space-between;align-items:flex-end;padding:2px 0;font-size:10px;display:flex}.timeline-plot{border:1px solid var(--line);border-radius:var(--radius-sm);background:linear-gradient(var(--line), var(--line)) 0 25% / 100% 1px no-repeat, linear-gradient(var(--line), var(--line)) 0 50% / 100% 1px no-repeat, linear-gradient(var(--line), var(--line)) 0 75% / 100% 1px no-repeat, var(--surface-soft);position:relative}.timeline-series{width:100%;height:100%;position:absolute;inset:0;overflow:visible}.timeline-area{opacity:.12;stroke:none;cursor:pointer;transition:opacity .12s,filter .12s}.timeline-area[data-status=merged]{opacity:.07}.timeline-area[data-status=faded]{opacity:.05}.timeline-area[data-highlight-state=dimmed]{opacity:.025}.timeline-area[data-highlight-state=highlighted]{opacity:.26;filter:drop-shadow(0 0 4px #16181d29)}.timeline-line{fill:none;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;cursor:pointer;transition:opacity .12s,stroke-width .12s}.timeline-line--previous{opacity:.76;stroke-width:1.5px}.timeline-line[data-status=merged]{opacity:.42}.timeline-line[data-status=faded]{opacity:.3;stroke-dasharray:4 3}.timeline-line[data-highlight-state=dimmed]{opacity:.16}.timeline-line[data-highlight-state=highlighted]{opacity:1}.timeline-line--previous[data-highlight-state=highlighted]{stroke-width:2px}.timeline-line--position{opacity:.85;stroke-width:1.6px}.timeline-line--position[data-highlight-state=highlighted]{stroke-width:2.6px}.timeline-center-line{stroke:var(--line-strong);stroke-width:1px;stroke-dasharray:3 3;vector-effect:non-scaling-stroke}.timeline-controls{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.timeline-keys{flex-wrap:wrap;justify-content:flex-end;gap:3px;max-width:380px;display:flex}.timeline-key{background:var(--key-color);color:#fff;font-variant-numeric:tabular-nums;text-shadow:0 1px 1px #00000047;cursor:pointer;border:1px solid #00000014;border-radius:4px;place-items:center;width:18px;height:18px;padding:0;font-size:10px;font-weight:700;transition:opacity .12s,transform .12s,box-shadow .12s;display:grid}.timeline-key:hover{transform:translateY(-1px)}.timeline-key[data-highlight-state=dimmed]{opacity:.28}.timeline-key[data-highlight-state=highlighted]{box-shadow:0 0 0 2px var(--surface), 0 0 0 3px var(--key-color)}.timeline-keys-empty{color:var(--quiet);font-size:11px}.timeline-controls .segmented{padding:2px}.timeline-controls .segmented-item{min-width:32px;height:24px;padding:0 9px;font-size:13px}.timeline-footer-hint{color:var(--quiet);font-size:11px}.timeline-bar{cursor:pointer;z-index:2;background:0 0;border:0;width:18px;height:100%;padding:0;position:absolute;bottom:0;transform:translate(-50%)}.timeline-bar-fill{width:3px;height:var(--timeline-bar-height);background:var(--timeline-bar-color);border-radius:2px 2px 0 0;transition:box-shadow .12s,opacity .12s,width .12s;position:absolute;bottom:0;left:50%;transform:translate(-50%)}.timeline-bar[data-status=merged] .timeline-bar-fill{opacity:.55}.timeline-bar[data-status=faded] .timeline-bar-fill{opacity:.35}.timeline-bar[data-highlight-state=dimmed] .timeline-bar-fill{opacity:.2}.timeline-bar[data-highlight-state=highlighted] .timeline-bar-fill{opacity:1;width:5px;box-shadow:0 0 0 2px #16181d29}.timeline-bar:focus-visible{outline:0}.timeline-bar:focus-visible .timeline-bar-fill{box-shadow:0 0 0 2px var(--surface), 0 0 0 5px #16181d3d}.timeline-hover-guide{top:0;bottom:0;left:var(--timeline-tooltip-x);background:color-mix(in srgb, var(--ink), transparent 72%);z-index:3;pointer-events:none;width:1px;position:absolute;transform:translate(-50%)}.timeline-tooltip{top:8px;left:var(--timeline-tooltip-x);border:1px solid color-mix(in srgb, var(--ink), transparent 78%);border-radius:var(--radius-sm);background:color-mix(in srgb, var(--surface), white 10%);width:auto;min-width:96px;max-width:min(164px,100% - 16px);color:var(--ink);z-index:4;pointer-events:none;padding:6px;font-size:10.5px;position:absolute;box-shadow:0 12px 28px #15181d2e}.timeline-tooltip[data-align=start]{transform:translate(0)}.timeline-tooltip[data-align=center]{transform:translate(-50%)}.timeline-tooltip[data-align=end]{transform:translate(-100%)}.timeline-tooltip-row{align-items:center;display:grid}.timeline-tooltip-list{flex-direction:column;gap:4px;display:flex}.timeline-tooltip-row{font-variant-numeric:tabular-nums;grid-template-columns:16px minmax(24px,auto) minmax(24px,auto);gap:6px;min-height:16px}.timeline-tooltip-dot{color:#fff;text-shadow:0 1px 1px #00000047;border-radius:50%;place-items:center;width:16px;height:16px;font-size:9px;font-weight:700;line-height:1;display:grid}.timeline-tooltip-value{min-width:0;color:var(--ink);text-align:right;text-overflow:ellipsis;white-space:nowrap;font-weight:700;overflow:hidden}.timeline-xaxis{color:var(--quiet);font-variant-numeric:tabular-nums;justify-content:space-between;margin:6px 0 0 40px;font-size:10px;display:flex}.timeline-footer{justify-content:space-between;align-items:center;gap:12px;margin-top:4px;display:flex}.timeline-legend{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.timeline-count{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12px;font-weight:600}.legend-more{color:var(--quiet)}.legend-line{border-top:2px solid var(--muted);width:20px;height:0;display:inline-block}.legend-area{border:1px solid color-mix(in srgb, var(--muted), transparent 48%);background:color-mix(in srgb, var(--muted), transparent 78%);width:20px;height:9px;display:inline-block}.inspector-head{justify-content:space-between;align-items:center;gap:10px;padding:4px 2px 2px;display:flex}.inspector-head h2{letter-spacing:.07em;text-transform:uppercase;color:var(--muted);font-size:12px;font-weight:700}.stat-list{flex-direction:column;margin:0;display:flex}.stat-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:7px 0;display:flex}.stat-row:last-child{border-bottom:0}.stat-row dt{color:var(--muted);font-size:12.5px}.stat-row dd{align-items:baseline;gap:6px;margin:0;display:inline-flex}.stat-value{color:var(--ink);font-variant-numeric:tabular-nums;font-size:13px;font-weight:600}.stat-hint{color:var(--quiet);font-variant-numeric:tabular-nums;font-size:11.5px}.fork-table{flex-direction:column;display:flex}.fork-table-head,.fork-table-row{font-variant-numeric:tabular-nums;grid-template-columns:32px 1fr 1fr 1fr 40px;align-items:center;gap:8px;padding:7px 0;font-size:12.5px;display:grid}.fork-table-head{color:var(--muted);letter-spacing:.03em;text-transform:uppercase;border-bottom:1px solid var(--line);font-size:11px;font-weight:700}.fork-table-row{color:var(--ink-soft);border-bottom:1px solid var(--line);border-radius:4px;transition:background-color .12s,box-shadow .12s,opacity .12s}.fork-table-row:last-child{border-bottom:0}.fork-table-row[data-highlight-state=dimmed]{opacity:.36}.fork-table-row[data-highlight-state=highlighted]{box-shadow:inset 3px 0 0 var(--accent);background:#16181d0a}.fork-id{color:var(--ink);font-weight:600}.fork-swatch{border-radius:3px;width:12px;height:12px;display:inline-block}.fork-state{align-items:center;gap:6px;min-width:0;display:inline-flex}.empty-state{text-align:center;color:var(--quiet);padding:18px 0;font-size:12.5px}.legend{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.legend-colors{gap:10px}.legend-item{color:var(--ink-soft);font-variant-numeric:tabular-nums;align-items:center;gap:6px;font-size:12px;display:inline-flex}.legend-swatch{border:1px solid #0000;border-radius:3px;width:12px;height:12px;display:inline-block}.select{width:100%;min-width:0;height:36px;color:var(--ink);background:var(--surface-soft);border:1px solid var(--line-strong);border-radius:var(--radius-sm);outline:none;padding:0 10px;font-size:13px}.select:focus{border-color:var(--accent);background:var(--surface);box-shadow:0 0 0 3px #14171a14}.textarea{width:100%;min-width:0;min-height:120px;color:var(--ink);background:var(--surface-soft);border:1px solid var(--line-strong);border-radius:var(--radius-sm);resize:vertical;outline:none;padding:10px;line-height:1.45}.textarea--mono{font-family:var(--mono);font-size:12px}.textarea:focus{border-color:var(--accent);background:var(--surface);box-shadow:0 0 0 3px #14171a14}.tabs{border-bottom:1px solid var(--line);gap:2px;display:flex}.tabs-item{color:var(--muted);cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:8px 12px;font-size:12.5px;font-weight:600;display:inline-flex;position:relative}.tabs-item[data-selected=true]{color:var(--ink)}.tabs-item[data-selected=true]:after{content:"";background:var(--accent);border-radius:999px;height:2px;position:absolute;bottom:-1px;left:8px;right:8px}.text-link{color:var(--ink-soft);align-items:center;gap:6px;font-size:12.5px;font-weight:600;text-decoration:none;display:inline-flex}.text-link:hover{color:var(--ink);text-decoration:underline}.text-link--disabled,.text-link--disabled:hover{color:var(--quiet);cursor:not-allowed;text-decoration:none}.editor-page{background:var(--bg);grid-template-rows:auto minmax(0,1fr);min-height:100vh;display:grid}.editor-topbar{background:var(--surface);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:12px 18px;display:flex}.editor-topbar-left{align-items:center;gap:14px;display:flex}.editor-title{color:var(--ink-soft);font-size:13px;font-weight:600}.editor-main{width:100%;max-width:920px;margin:0 auto;padding:14px}.editor-main--split{grid-template-columns:minmax(0,1fr) 360px;align-items:start;gap:14px;max-width:1280px;display:grid}.editor-main--split .editor-save-prompt{grid-column:1/-1}.editor-preview-column,.editor-side-panel{min-width:0}.editor-side-panel{position:sticky;top:70px}.editor-copy{color:var(--muted);margin:0 0 12px}.editor-dsl{flex-direction:column;gap:10px;display:flex}.dsl-editor-shell{border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--surface-soft);grid-template-columns:38px minmax(0,1fr);min-height:0;transition:border-color .12s,box-shadow .12s;display:grid;overflow:hidden}.dsl-editor-shell:focus-within{border-color:var(--accent);background:var(--surface);box-shadow:0 0 0 3px #14171a14}.dsl-editor-shell[data-invalid=true]{border-color:#d92d20}.dsl-editor-gutter{border-right:1px solid var(--line);background:var(--surface-sunken);height:100%;color:var(--quiet);font-family:var(--mono);text-align:right;-webkit-user-select:none;user-select:none;padding:10px 0;font-size:12px;line-height:1.45;overflow:hidden}.dsl-editor-gutter-line{font-variant-numeric:tabular-nums;height:17.4px;padding:0 9px 0 4px;display:block;position:relative}.dsl-editor-gutter-line[data-invalid=true]{color:#b42318;font-weight:800}.dsl-editor-gutter-line[data-invalid=true]:after{content:"";background:currentColor;border-radius:50%;width:4px;height:4px;position:absolute;top:50%;right:3px;transform:translateY(-50%)}.dsl-editor-code-wrap{min-width:0;position:relative}.dsl-editor-highlight{z-index:0;color:var(--ink);font-family:var(--mono);white-space:pre;pointer-events:none;border:0;margin:0;padding:10px;font-size:12px;line-height:1.45;position:absolute;inset:0;overflow:hidden}.dsl-editor-input.textarea{z-index:1;color:#0000;min-height:0;caret-color:var(--ink);resize:vertical;background:0 0;border:0;border-radius:0;position:relative;overflow:auto}.dsl-editor-input.textarea::selection{color:#0000;background:#14171a2e}.dsl-token--comment{color:#7b8794}.dsl-token--section{color:#0f6f56;font-weight:800}.dsl-token--key{color:#7c3aed}.dsl-token--type{color:#0f5fb8;font-weight:700}.dsl-token--value{color:#8a4b10}.dsl-token--number{color:#b42318}.dsl-token--edge{color:#2563eb;font-weight:700}.dsl-editor-input.textarea:focus{box-shadow:none;background:0 0}.dsl-editor-suggestions{border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--surface);gap:2px;max-height:184px;padding:4px;display:grid;overflow-y:auto;box-shadow:0 10px 24px #14171a1f}.dsl-editor-suggestion{min-width:0;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:4px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:6px 8px;display:grid}.dsl-editor-suggestion:hover,.dsl-editor-suggestion[data-selected=true]{background:var(--surface-sunken)}.dsl-editor-suggestion span{min-width:0;color:var(--ink);font-family:var(--mono);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:800;overflow:hidden}.dsl-editor-suggestion small{color:var(--muted);white-space:nowrap;font-size:11px;font-weight:700}.editor-dsl-reference{flex-wrap:wrap;gap:5px;display:flex}.editor-dsl-reference code{border:1px solid var(--line);background:var(--surface-soft);color:var(--ink-soft);font-family:var(--mono);border-radius:4px;padding:2px 5px;font-size:10.5px;line-height:1.35}.editor-dsl-lint{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-soft);flex-direction:column;gap:7px;padding:8px 9px;display:flex}.editor-dsl-lint[data-state=ok]{color:#146c43;background:#edf7f2;border-color:#9ac7b4}.editor-dsl-lint[data-state=error]{color:#b42318;background:#fff5f4;border-color:#fecdca}.editor-dsl-lint-head{align-items:center;gap:6px;font-size:12px;font-weight:800;display:flex}.editor-dsl-lint-head svg{flex:none}.editor-dsl-diagnostics{flex-direction:column;gap:5px;margin:0;padding:0;list-style:none;display:flex}.editor-dsl-diagnostic{width:100%;min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:auto minmax(0,1fr);gap:7px;padding:0;font-size:11.5px;line-height:1.35;display:grid}.editor-dsl-diagnostic:hover{color:#7a271a;text-decoration:underline}.editor-dsl-diagnostic span{color:inherit;font-family:var(--mono);white-space:nowrap;font-weight:900}.editor-actions{gap:8px;display:flex}.editor-save-prompt{border-radius:var(--radius-sm);background:#edf7f2;border:1px solid #9ac7b4;justify-content:space-between;align-items:center;gap:12px;margin:0 0 12px;padding:10px 12px;display:flex}.editor-save-prompt div:first-child{min-width:0;color:var(--ink-soft);align-items:baseline;gap:7px;font-size:12.5px;display:flex}.editor-save-prompt strong{color:var(--ink)}.editor-save-prompt-actions{flex:none;align-items:center;gap:7px;display:flex}.editor-error{color:#b42318;margin:0;font-size:12.5px}.rule-code-panel,.agent-panel{flex-direction:column;gap:12px;min-width:0;display:flex}.agent-section{border-top:1px solid var(--line);flex-direction:column;gap:8px;padding-top:12px;display:flex}.agent-section:first-child{border-top:0;padding-top:0}.agent-section-head{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;align-items:center;gap:6px;font-size:11px;font-weight:800;display:flex}.agent-skill{color:var(--ink-soft);margin:0;font-size:12.5px;line-height:1.45}.agent-messages{flex-direction:column;gap:6px;display:flex}.agent-message{white-space:pre-line;border:1px solid var(--line);border-radius:var(--radius-sm);color:var(--ink-soft);background:var(--surface-soft);padding:8px 9px;font-size:12px;line-height:1.4}.agent-message[data-role=user]{color:var(--ink);background:var(--surface)}.agent-context-list,.agent-source-list,.agent-trace-list{flex-direction:column;gap:6px;display:flex}.agent-context-row,.agent-source-row{border-top:1px solid var(--line);align-items:flex-start;gap:8px;min-width:0;padding:7px 0;display:flex}.agent-context-row:first-child,.agent-source-row:first-child{border-top:0}.agent-show-btn{border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--surface);width:26px;height:26px;color:var(--muted);cursor:pointer;flex:0 0 26px;place-items:center;padding:0;display:grid}.agent-show-btn:hover{color:var(--ink);background:var(--surface-sunken)}.agent-context-main,.agent-source-row>div{flex-direction:column;gap:3px;min-width:0;display:flex}.agent-context-main strong,.agent-source-row strong{overflow-wrap:anywhere;color:var(--ink);font-size:12.5px}.agent-context-main>span,.agent-source-row span{color:var(--muted);overflow-wrap:anywhere;font-size:11.5px}.agent-signal-board-group{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-soft);flex-direction:column;gap:7px;min-width:0;padding:8px;display:flex}.agent-signal-board-head,.agent-signal-type-head{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.agent-signal-board-head strong{min-width:0;color:var(--ink);overflow-wrap:anywhere;font-size:12px}.agent-signal-board-head>span,.agent-signal-type-head>span:last-child{border:1px solid var(--line);background:var(--surface);min-width:20px;color:var(--muted);text-align:center;border-radius:999px;flex:none;padding:1px 6px;font-size:10.5px;font-weight:800}.agent-signal-type-group{border-top:1px solid var(--line);flex-direction:column;min-width:0;padding-top:7px;display:flex}.agent-signal-type-head{padding-bottom:4px}.agent-signal-type-head>span:first-child{min-width:0;color:var(--muted);letter-spacing:.04em;text-transform:uppercase;overflow-wrap:anywhere;font-size:10.5px;font-weight:800}.agent-signal-type-head+.agent-source-row{border-top:0}.agent-signal-type-group .agent-source-row:last-child{padding-bottom:0}.agent-port-list{flex-wrap:wrap;gap:4px;display:flex}.agent-port{border:1px solid var(--line);background:var(--surface-soft);color:var(--muted);font-family:var(--mono);border-radius:4px;padding:2px 5px;font-size:10px}.agent-empty{color:var(--quiet);font-size:12px}.agent-trace-controls,.agent-source-grid,.agent-source-reference{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px;display:grid}.agent-source-reference{grid-template-columns:minmax(0,1fr) auto}.agent-trace-row{flex-direction:column;gap:5px;display:flex}.agent-trace-path,.agent-trace-links button{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-soft);width:100%;min-width:0;color:var(--ink-soft);font-family:var(--mono);text-align:left;overflow-wrap:anywhere;cursor:pointer;padding:6px 8px;font-size:11px}.agent-trace-path:hover,.agent-trace-links button:hover{border-color:var(--line-strong);background:var(--surface-sunken);color:var(--ink)}.agent-trace-links{border-left:2px solid var(--line);flex-direction:column;gap:4px;padding-left:10px;display:flex}.dsl-diff-preview{flex-direction:column;gap:10px;display:flex}.dsl-diff-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.dsl-diff-head>div:first-child{flex-direction:column;gap:3px;min-width:0;display:flex}.dsl-diff-head strong{color:var(--ink);overflow-wrap:anywhere;font-size:13px}.dsl-diff-code{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-soft);min-height:420px;max-height:560px;font-family:var(--mono);margin:0;font-size:12px;line-height:1.45;overflow:auto}.dsl-diff-line{grid-template-columns:24px minmax(0,1fr);min-width:max-content;padding:0 10px 0 0;display:grid}.dsl-diff-line[data-kind=added]{background:#e9f8f1}.dsl-diff-line[data-kind=removed]{background:#fff0ed}.dsl-diff-prefix{color:var(--muted);-webkit-user-select:none;user-select:none;justify-content:center;display:inline-flex}.rule-graph{--graph-rule-bg:#eaf3ff;--graph-rule-border:#8db9e8;--graph-rule-ink:#24537c;--graph-source-bg:#edf7f2;--graph-source-border:#8fc7ad;--graph-source-ink:#226246;--graph-trigger-bg:#fff7e8;--graph-trigger-border:#edbd64;--graph-trigger-ink:#735117;--graph-swap-bg:#f0edff;--graph-swap-border:#aa9be8;--graph-swap-ink:#4a3f8a;--graph-row-bg:#eef1f4;--graph-row-border:#a9b4c1;--graph-row-ink:#3c4652;flex-direction:column;gap:10px;display:flex}.rule-graph-toolbar{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.rule-graph-hint{color:var(--quiet);font-size:11.5px}.rule-graph-toolbar-menu{--toolbar-menu-bg:var(--surface-sunken);--toolbar-menu-border:var(--line-strong);--toolbar-menu-ink:var(--ink);--toolbar-menu-soft-bg:var(--surface-soft);display:inline-flex;position:relative}.rule-graph-toolbar-menu[data-tone=trigger]{--toolbar-menu-bg:var(--graph-trigger-bg);--toolbar-menu-border:var(--graph-trigger-border);--toolbar-menu-ink:var(--graph-trigger-ink);--toolbar-menu-soft-bg:color-mix(in srgb, #fff 72%, var(--graph-trigger-bg))}.rule-graph-toolbar-menu[data-tone=switch]{--toolbar-menu-bg:var(--graph-swap-bg);--toolbar-menu-border:var(--graph-swap-border);--toolbar-menu-ink:var(--graph-swap-ink);--toolbar-menu-soft-bg:color-mix(in srgb, #fff 72%, var(--graph-swap-bg))}.rule-graph-toolbar-menu[data-tone=operator]{--toolbar-menu-bg:var(--surface-sunken);--toolbar-menu-border:var(--graph-row-border);--toolbar-menu-ink:var(--graph-row-ink);--toolbar-menu-soft-bg:color-mix(in srgb, #fff 70%, var(--surface-sunken))}.rule-graph-toolbar-menu-toggle[data-active]{border-color:var(--toolbar-menu-border);background:color-mix(in srgb, #fff 76%, var(--toolbar-menu-bg));color:var(--toolbar-menu-ink)}.rule-graph-toolbar-menu-panel{z-index:20;border:1px solid color-mix(in srgb, var(--toolbar-menu-border) 60%, var(--line));border-radius:var(--radius-sm);background:var(--surface);gap:4px;width:212px;padding:5px;display:grid;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 14px 36px #14171a29}.rule-graph-toolbar-menu-item{width:100%;min-width:0;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:4px;gap:2px;padding:7px 8px;display:grid}.rule-graph-toolbar-menu-item:hover,.rule-graph-toolbar-menu-item:focus-visible{border-color:color-mix(in srgb, var(--toolbar-menu-border) 70%, var(--surface));background:var(--toolbar-menu-soft-bg);outline:none}.rule-graph-toolbar-menu-item-main{min-width:0;color:var(--toolbar-menu-ink);justify-content:space-between;align-items:center;gap:10px;font-size:12px;font-weight:800;display:inline-flex}.rule-graph-toolbar-menu-item-label{align-items:center;gap:6px;min-width:0;display:inline-flex}.rule-graph-toolbar-menu-symbol{width:15px;color:var(--toolbar-menu-ink);place-items:center;font-size:15px;font-weight:900;line-height:1;display:inline-grid}.rule-graph-toolbar-menu-item-desc{color:var(--muted);font-size:10px;line-height:1.2}.rule-graph-btn--symbol{justify-content:center;min-width:34px;padding-inline:10px;font-size:17px;font-weight:800;line-height:1}.rule-graph-canvas{border:1px solid var(--line);border-radius:var(--radius-sm);background:linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 20px 20px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 20px 20px, var(--surface-soft);width:100%;max-width:760px;height:420px;position:relative;overflow:hidden}.rule-graph-simulation{z-index:0;opacity:.9;width:100%;height:100%;image-rendering:pixelated;pointer-events:none;position:absolute;inset:0}.rule-graph-edges{z-index:1;pointer-events:none;position:absolute;inset:0}.rule-graph-edges path{fill:none;stroke:var(--line-strong);stroke-width:2px}.rule-graph-edges path.rule-graph-edge-hit{stroke:#0000;stroke-width:14px;pointer-events:stroke;cursor:pointer}.rule-graph-edges path.rule-graph-edge[data-selected]{stroke-width:3px}.rule-graph-edges path.rule-graph-edge-pending{stroke-dasharray:5 4}.rule-graph-edges path.rule-graph-edge[data-type=rule],.rule-graph-edges path.rule-graph-edge-pending[data-type=rule]{stroke:var(--graph-rule-border)}.rule-graph-edges path.rule-graph-edge[data-type=source],.rule-graph-edges path.rule-graph-edge-pending[data-type=source]{stroke:var(--graph-source-border)}.rule-graph-edges path.rule-graph-edge[data-type=trigger],.rule-graph-edges path.rule-graph-edge-pending[data-type=trigger]{stroke:var(--graph-trigger-border)}.rule-graph-edges path.rule-graph-edge[data-type=row],.rule-graph-edges path.rule-graph-edge-pending[data-type=row]{stroke:var(--graph-row-border)}.rule-graph-canvas:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.rule-graph-port{border:1px solid var(--port-border,var(--line-strong));background:var(--port-bg,var(--surface));z-index:3;touch-action:none;border-radius:50%;width:13px;height:13px;padding:0;position:absolute;transform:translate(-50%,-50%)}.rule-graph-port-in{cursor:pointer}.rule-graph-port-out{cursor:grab}.rule-graph-port-out:active,.rule-graph-port-out[data-active]{cursor:grabbing}.rule-graph-port:hover,.rule-graph-port-out[data-active]{border-color:var(--port-ink,var(--accent))}.rule-graph-port[data-filled],.rule-graph-port-out[data-produces]{background:var(--port-border,var(--line-strong))}.rule-graph-port[data-valid]{border-color:var(--port-ink,var(--accent));box-shadow:0 0 0 3px color-mix(in srgb, var(--port-border,var(--accent)) 34%, transparent)}.rule-graph-port[data-accepts=rule],.rule-graph-port[data-produces=rule],.rule-graph-menu-dot[data-type=rule]{--port-bg:var(--graph-rule-bg);--port-border:var(--graph-rule-border);--port-ink:var(--graph-rule-ink)}.rule-graph-port[data-accepts=source],.rule-graph-port[data-produces=source],.rule-graph-menu-dot[data-type=source]{--port-bg:var(--graph-source-bg);--port-border:var(--graph-source-border);--port-ink:var(--graph-source-ink)}.rule-graph-port[data-accepts=trigger],.rule-graph-port[data-produces=trigger],.rule-graph-menu-dot[data-type=trigger]{--port-bg:var(--graph-trigger-bg);--port-border:var(--graph-trigger-border);--port-ink:var(--graph-trigger-ink)}.rule-graph-port[data-accepts=row],.rule-graph-port[data-produces=row],.rule-graph-menu-dot[data-type=row]{--port-bg:var(--graph-row-bg);--port-border:var(--graph-row-border);--port-ink:var(--graph-row-ink)}.rule-graph-port[data-visual-type=rule],.rule-graph-menu-dot[data-visual-type=rule]{--port-bg:var(--graph-rule-bg);--port-border:var(--graph-rule-border);--port-ink:var(--graph-rule-ink)}.rule-graph-port[data-visual-type=source],.rule-graph-menu-dot[data-visual-type=source]{--port-bg:var(--graph-source-bg);--port-border:var(--graph-source-border);--port-ink:var(--graph-source-ink)}.rule-graph-port[data-visual-type=trigger],.rule-graph-menu-dot[data-visual-type=trigger]{--port-bg:var(--graph-trigger-bg);--port-border:var(--graph-trigger-border);--port-ink:var(--graph-trigger-ink)}.rule-graph-port[data-visual-type=row],.rule-graph-menu-dot[data-visual-type=row]{--port-bg:var(--graph-row-bg);--port-border:var(--graph-row-border);--port-ink:var(--graph-row-ink)}.rule-graph-port[data-visual-type=any],.rule-graph-menu-dot[data-visual-type=any]{--port-bg:var(--surface);--port-border:var(--line-strong);--port-ink:var(--ink-soft);background:radial-gradient(circle, var(--surface) 0 42%, transparent 45%), conic-gradient(var(--graph-rule-border) 0 33%, var(--graph-trigger-border) 0 66%, var(--graph-row-border) 0 100%)}.rule-graph-menu-guide{align-items:center;gap:4px;margin-left:1px;display:inline-flex}.rule-graph-menu-guide-group{align-items:center;gap:2px;display:inline-flex}.rule-graph-menu-guide-group+.rule-graph-menu-guide-group{border-left:1px solid var(--line-strong);padding-left:4px}.rule-graph-menu-dot{border:1px solid var(--port-border,var(--line-strong));background:var(--port-bg,var(--surface));border-radius:50%;flex:none;width:8px;height:8px}.rule-graph-menu-dot[data-slices=row-rule-trigger]{--port-slices:conic-gradient(var(--graph-row-border) 0 33.333%, var(--graph-rule-border) 0 66.666%, var(--graph-trigger-border) 0 100%);border-color:var(--line-strong);background:radial-gradient(circle, var(--surface) 0 34%, transparent 37%), var(--port-slices);width:10px;height:10px}.rule-graph-menu-dot[data-direction=output]{background:var(--port-border,var(--line-strong))}.rule-graph-menu-dot[data-direction=output][data-slices]{background:var(--port-slices)}.rule-graph-node{z-index:2;position:absolute}.rule-graph-machine-label{max-width:calc(100% - 4px);color:var(--ink-soft);pointer-events:none;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:850;line-height:1;position:absolute;top:-21px;left:2px;overflow:hidden}.rule-graph-node-body{background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--radius-sm);cursor:grab;justify-content:center;align-items:center;height:100%;padding:8px;display:flex;box-shadow:0 1px 3px #0000000f}.rule-graph-node[data-minimized] .rule-graph-node-body{padding:7px}.rule-graph-node[data-kind=source] .rule-graph-node-body,.rule-graph-node[data-kind=trigger] .rule-graph-node-body,.rule-graph-node[data-kind=switch] .rule-graph-node-body,.rule-graph-node[data-kind=stateOsc] .rule-graph-node-body{justify-content:stretch;align-items:stretch}.rule-graph-node-body:active{cursor:grabbing}.rule-graph-node[data-kind=output] .rule-graph-node-body{border-color:var(--accent)}.rule-graph-node[data-kind=rule] .rule-graph-node-body{background:var(--graph-rule-bg);border-color:var(--graph-rule-border)}.rule-graph-node[data-kind=source] .rule-graph-node-body{background:var(--graph-source-bg);border-color:var(--graph-source-border)}.rule-graph-node[data-kind=trigger] .rule-graph-node-body{background:var(--graph-trigger-bg);border-color:var(--graph-trigger-border)}.rule-graph-node[data-kind=and] .rule-graph-node-body,.rule-graph-node[data-kind=or] .rule-graph-node-body,.rule-graph-node[data-kind=xor] .rule-graph-node-body,.rule-graph-node[data-kind=not] .rule-graph-node-body{background:var(--surface-sunken)}.rule-graph-node[data-kind=switch] .rule-graph-node-body,.rule-graph-node[data-kind=stateOsc] .rule-graph-node-body{background:var(--graph-swap-bg);border-color:var(--graph-swap-border)}.rule-graph-node[data-kind=rule] .micro-label,.rule-graph-node[data-kind=rule] .rule-graph-node-title,.rule-graph-node[data-kind=rule] .rule-graph-machine-label{color:var(--graph-rule-ink)}.rule-graph-node[data-kind=source] .micro-label,.rule-graph-node[data-kind=source] .rule-graph-node-title,.rule-graph-node[data-kind=source] .rule-graph-source-index{color:var(--graph-source-ink)}.rule-graph-node[data-kind=trigger] .micro-label,.rule-graph-node[data-kind=trigger] .rule-graph-node-title{color:var(--graph-trigger-ink)}.rule-graph-node[data-kind=switch] .micro-label,.rule-graph-node[data-kind=switch] .rule-graph-node-title,.rule-graph-node[data-kind=switch] .rule-graph-machine-label,.rule-graph-node[data-kind=stateOsc] .micro-label,.rule-graph-node[data-kind=stateOsc] .rule-graph-node-title,.rule-graph-node[data-kind=stateOsc] .rule-graph-machine-label{color:var(--graph-swap-ink)}.rule-graph-node-label{letter-spacing:.04em;font-size:12px;font-weight:700}.rule-graph-node-label--operator{letter-spacing:0;font-size:26px;line-height:1}.rule-graph-node-title{color:var(--ink);font-size:12px;font-weight:800}.rule-graph-rule-number{color:var(--graph-rule-ink);font-size:13px;font-weight:900;line-height:1}.rule-graph-node-rule{flex-direction:column;gap:4px;width:100%;display:flex}.rule-graph-node-mini{flex-direction:column;width:100%;min-width:0;display:flex}.rule-graph-node-mini--rule{white-space:nowrap;flex-direction:row;justify-content:center;align-items:center;gap:9px;display:flex}.rule-graph-node-mini--rule .rd-strip{justify-content:flex-start;gap:2px;width:auto}.rule-graph-node-mini--rule .rd-cell{border-color:color-mix(in srgb, var(--graph-rule-ink) 24%, var(--line-strong));width:11px;height:11px}.rule-graph-rule-slot{flex-direction:column;gap:3px;min-width:0;display:flex}.rule-graph-inline-empty{min-height:24px;color:var(--muted);align-items:center;font-size:11px;display:inline-flex}.rule-graph-node-rule .stepper-input,.rule-graph-rule-slot .stepper-input,.rule-graph-mini-field .stepper-input{height:28px;font-size:13px}.rule-graph-node-rule .stepper-spin,.rule-graph-rule-slot .stepper-spin,.rule-graph-mini-field .stepper-spin{flex-basis:24px}.rule-graph-node-header{justify-content:space-between;align-items:center;gap:8px;width:100%;display:flex}.rule-graph-node-source,.rule-graph-node-trigger,.rule-graph-node-swap{flex-direction:column;gap:7px;width:100%;min-width:0;display:flex}.rule-graph-node-swap{justify-content:center;gap:8px}.rule-graph-source-rows{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.rule-graph-source-item{border:1px solid color-mix(in srgb, var(--graph-source-border) 58%, var(--surface));border-radius:var(--radius-sm);background:color-mix(in srgb, #fff 70%, var(--graph-source-bg));flex-direction:column;gap:4px;min-width:0;padding:5px;display:flex}.rule-graph-source-item-head{justify-content:space-between;align-items:center;display:flex}.rule-graph-source-index{border:1px solid color-mix(in srgb, var(--graph-source-border) 70%, var(--surface));background:var(--graph-source-bg);width:17px;height:17px;color:var(--graph-source-ink);border-radius:50%;place-items:center;font-size:10px;font-weight:800;line-height:1;display:inline-grid}.rule-graph-source-preview{border:1px solid color-mix(in srgb, var(--graph-source-border) 55%, var(--surface));background:linear-gradient(var(--line) 1px, transparent 1px) 0 0 / calc(100% / 7) calc(100% / 4), linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / calc(100% / 7) calc(100% / 4), color-mix(in srgb, #fff 76%, var(--graph-source-bg));border-radius:4px;height:58px;position:relative;overflow:hidden}.rule-graph-source-preview--unified{flex:none}.rule-graph-source-preview--compact{height:52px}.rule-graph-source-preview--compact .rule-graph-source-marker{width:16px;height:16px;font-size:9px}.rule-graph-source-preview--compact .rule-graph-source-marker[data-clipped]{width:22px}.rule-graph-node-mini--source{gap:5px}.rule-graph-source-current,.rule-graph-source-marker{left:var(--source-preview-x);top:var(--source-preview-y);pointer-events:none;position:absolute;transform:translate(-50%,-50%)}.rule-graph-source-current{border:1px solid color-mix(in srgb, var(--graph-source-ink) 72%, var(--surface));background:color-mix(in srgb, var(--surface) 68%, var(--graph-source-bg));border-radius:2px;width:9px;height:9px}.rule-graph-source-marker{border:2px solid var(--surface);background:var(--graph-source-ink);width:18px;height:18px;color:var(--surface);box-shadow:0 0 0 1px color-mix(in srgb, var(--graph-source-ink) 45%, transparent);border-radius:50%;place-items:center;font-size:10px;font-weight:900;line-height:1;display:inline-grid}.rule-graph-source-marker[data-clipped]{background:color-mix(in srgb, var(--graph-source-ink) 86%, var(--surface));letter-spacing:0;border-radius:999px;width:24px}.rule-graph-source-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;display:grid}.rule-graph-source-item .rule-graph-mini-field{gap:2px}.rule-graph-source-item .stepper-input{height:22px;padding-inline:4px;font-size:11px}.rule-graph-source-item .stepper-spin{flex-basis:16px}.rule-graph-source-item .stepper-spin svg{width:10px;height:10px}.rule-graph-node-swap-head,.rule-graph-rule-pair,.rule-graph-trigger-grid{align-items:center;gap:7px;display:flex}.rule-graph-node-swap-head{justify-content:space-between}.rule-graph-node-swap-head--compact{justify-content:flex-end}.rule-graph-rule-pair>*,.rule-graph-trigger-grid>*{flex:1 1 0;min-width:0}.rule-graph-swap-port-list{gap:5px;display:grid}.rule-graph-swap-port{border:1px solid color-mix(in srgb, var(--graph-rule-border) 65%, var(--surface));background:color-mix(in srgb, #fff 70%, var(--graph-rule-bg));min-width:0;color:var(--graph-rule-ink);border-radius:4px;justify-content:space-between;align-items:center;padding:4px 6px;font-size:10px;font-weight:800;display:flex}.rule-graph-swap-port span:last-child{color:var(--muted);text-transform:uppercase;font-size:9px}.rule-graph-swap-port[data-type=trigger]{border-color:color-mix(in srgb, var(--graph-trigger-border) 70%, var(--surface));background:color-mix(in srgb, #fff 72%, var(--graph-trigger-bg));color:var(--graph-trigger-ink)}.rule-graph-swap-port[data-filled]{box-shadow:inset 0 0 0 1px}.rule-graph-switch-visual{grid-template-rows:auto 12px;grid-template-columns:minmax(34px,1fr) auto minmax(34px,1fr);align-items:center;gap:6px 8px;display:grid}.rule-graph-switch-rule,.rule-graph-switch-condition{letter-spacing:0;border:1px solid;border-radius:5px;place-items:center;min-width:0;height:25px;font-size:10px;font-weight:850;display:grid}.rule-graph-switch-rule{border-color:color-mix(in srgb, var(--graph-rule-border) 72%, var(--surface));background:color-mix(in srgb, #fff 74%, var(--graph-rule-bg));color:var(--graph-rule-ink)}.rule-graph-switch-rule[data-filled]{box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--graph-rule-border) 72%, transparent)}.rule-graph-switch-rule[data-active]{background:color-mix(in srgb, var(--graph-rule-border) 88%, #fff);color:var(--surface);box-shadow:0 0 0 2px color-mix(in srgb, var(--graph-rule-border) 24%, transparent)}.rule-graph-switch-condition{border-color:color-mix(in srgb, var(--graph-trigger-border) 72%, var(--surface));background:color-mix(in srgb, #fff 72%, var(--graph-trigger-bg));min-width:44px;color:var(--graph-trigger-ink);text-transform:uppercase;padding-inline:6px}.rule-graph-switch-condition[data-filled]{box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--graph-trigger-border) 70%, transparent)}.rule-graph-switch-track{background:linear-gradient(90deg, color-mix(in srgb, var(--graph-rule-border) 50%, transparent), color-mix(in srgb, var(--graph-trigger-border) 45%, transparent), color-mix(in srgb, var(--graph-rule-border) 50%, transparent));height:10px;box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--line-strong) 64%, transparent);border-radius:999px;grid-column:1/4;position:relative}.rule-graph-switch-thumb{border:1px solid color-mix(in srgb, var(--graph-rule-border) 82%, var(--surface));background:var(--surface);border-radius:999px;width:10px;height:10px;transition:left .16s,opacity .16s;position:absolute;top:50%;left:calc(50% - 5px);transform:translateY(-50%);box-shadow:0 1px 4px #2b3b492e}.rule-graph-switch-visual[data-active-branch=ruleA] .rule-graph-switch-thumb{left:calc(16.666% - 5px)}.rule-graph-switch-visual[data-active-branch=ruleB] .rule-graph-switch-thumb{left:calc(83.333% - 5px)}.rule-graph-switch-visual[data-active-branch=unknown] .rule-graph-switch-thumb{opacity:.58}.rule-graph-mini-field{flex-direction:column;gap:3px;min-width:0;display:flex}.rule-graph-trigger-pill{border:1px solid color-mix(in srgb, var(--graph-trigger-border) 70%, var(--surface));background:color-mix(in srgb, #fff 70%, var(--graph-trigger-bg));color:var(--graph-trigger-ink);border-radius:999px;padding:2px 5px;font-size:10px;font-weight:800}.rule-graph-select{border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--surface);width:100%;min-width:0;height:28px;color:var(--ink);font-size:12px}.rule-graph-range{width:100%;height:28px}.rule-graph-shape-editor{grid-template-columns:repeat(3,1fr);gap:5px;display:grid}.rule-graph-shape-cell{border:1px solid var(--line-strong);background:var(--surface);cursor:pointer;border-radius:4px;height:26px;padding:0}.rule-graph-shape-cell[data-active]{background:var(--ink);border-color:var(--ink)}.rule-graph-node[data-selected] .rule-graph-node-body{border-color:var(--accent);box-shadow:0 0 0 2px color-mix(in srgb, var(--accent) 28%, transparent)}.rule-graph-node-remove{border:1px solid var(--line-strong);background:var(--surface);width:20px;height:20px;color:var(--muted);cursor:pointer;opacity:0;pointer-events:none;border-radius:50%;font-size:14px;line-height:1;transition:opacity .12s;position:absolute;top:-8px;right:-8px}.rule-graph-node:hover .rule-graph-node-remove,.rule-graph-node[data-selected] .rule-graph-node-remove{opacity:1;pointer-events:auto}@media (min-width:1200px){.workspace{height:calc(100vh - 56px);overflow:hidden}.rail,.inspector{max-height:100%;overflow-y:auto}.stage{min-height:0;overflow-y:auto}.stage>.board{flex:1 0 auto}}@media (max-width:1199px){.workspace{grid-template-columns:minmax(0,1fr);min-height:calc(100vh - 56px)}.workbench-drawer-toolbar{z-index:30;border:1px solid var(--line);border-radius:var(--radius);background:color-mix(in srgb, var(--surface) 94%, transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);width:100%;padding:7px;display:flex;position:sticky;top:0;overflow-x:auto;box-shadow:0 8px 24px #14171a14}.workbench-drawer-trigger{border-radius:var(--radius-sm);min-width:0;height:34px;color:var(--ink-soft);white-space:nowrap;cursor:pointer;background:0 0;border:1px solid #0000;justify-content:center;align-items:center;gap:6px;padding:0 10px;font-size:12px;font-weight:750;transition:background-color .12s,border-color .12s,color .12s;display:inline-flex}.workbench-drawer-trigger svg{color:var(--muted);flex:none}.workbench-drawer-trigger:hover,.workbench-drawer-trigger[data-active=true]{border-color:var(--line-strong);background:var(--surface-sunken);color:var(--ink)}.workbench-drawer-trigger[data-active=true] svg{color:var(--accent-ink)}.workbench-drawer-trigger-badge{background:var(--surface);min-width:18px;height:18px;color:var(--muted);font-variant-numeric:tabular-nums;border-radius:999px;place-items:center;padding:0 5px;font-size:10.5px;font-weight:800;display:grid}.stage{gap:10px}.board-canvas,.board-canvas[data-tutorial-open=true]{min-height:clamp(360px,100vh - 226px,640px)}.workbench-drawer-backdrop{z-index:80;cursor:default;opacity:0;pointer-events:none;background:#16181d47;border:0;padding:0;transition:opacity .16s;display:block;position:fixed;inset:0}.workspace[data-drawer-open=true] .workbench-drawer-backdrop{opacity:1;pointer-events:auto}.workbench-drawer{z-index:81;background:var(--surface);border-left:1px solid var(--line-strong);flex-direction:column;width:min(430px,100vw - 28px);transition:transform .18s;display:flex;position:fixed;top:0;bottom:0;right:0;transform:translate(100%);box-shadow:-18px 0 48px #14171a33}.workbench-drawer[data-open=true]{transform:translate(0)}.workbench-drawer-head{border-bottom:1px solid var(--line);flex:none;justify-content:space-between;align-items:center;gap:12px;min-height:54px;padding:0 14px;display:flex}.workbench-drawer-head h2{min-width:0;color:var(--ink);letter-spacing:.04em;text-transform:uppercase;margin:0;font-size:13px;font-weight:850}.workbench-drawer-close{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);width:34px;height:34px;color:var(--ink-soft);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.workbench-drawer-close:hover{background:var(--surface-sunken);color:var(--ink)}.workbench-drawer-body{flex:auto;min-height:0;padding:14px;overflow-y:auto}.workbench-drawer-body .rail,.workbench-drawer-body .inspector{overflow:visible}.workbench-drawer-body .guide{border:0;min-height:100%;padding:0;overflow-y:auto}.workbench-drawer-body .guide-scroll{flex-direction:column;display:flex;overflow:visible}.workbench-drawer-body .guide-chapter,.workbench-drawer-body .guide-try-panel{overflow:visible}.workbench-drawer-body .guide-try-panel{border-top:1px solid var(--line);border-left:0;padding:14px 0 0}.workbench-drawer-body .timeline{height:clamp(176px,34vh,260px)}}@media (max-width:1120px){.editor-main--split{grid-template-columns:minmax(0,1fr);max-width:920px}.editor-side-panel{position:static}}@media (max-width:720px){.topbar{flex-direction:column;align-items:flex-start;gap:10px;height:auto;padding:12px}.workspace{gap:10px;padding:10px}.workbench-drawer-toolbar{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:6px;display:grid;overflow:visible}.workbench-drawer-trigger{gap:4px;width:100%;padding:0 5px;font-size:11.5px}.workbench-drawer-trigger>span:not(.workbench-drawer-trigger-badge){text-overflow:ellipsis;min-width:0;overflow:hidden}.workbench-drawer-trigger-badge{display:none}.workbench-drawer{width:100vw}.board-canvas,.board-canvas[data-tutorial-open=true]{min-height:clamp(320px,100vh - 286px,560px)}.board-toolbar,.board-toolbar-row,.board-toolbar-group,.board-toolbar-controls,.board-toolbar-run{width:100%}.board-toolbar-row{flex-wrap:wrap}.board-toolbar-run,.board-toolbar-controls{justify-content:flex-start;margin-left:0}.board-toolbar-controls,.board-toolbar-run{flex-wrap:wrap}.transport-speed{grid-template-columns:minmax(0,1fr);width:min(100%,260px)}.editor-main{padding:10px}.editor-save-prompt,.dsl-diff-head{flex-direction:column;align-items:stretch}.editor-save-prompt-actions,.dsl-diff-head .editor-actions{flex-wrap:wrap}.agent-trace-controls,.agent-source-grid{grid-template-columns:minmax(0,1fr)}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important}}.home-page{--bg:#090c10;--surface:#151b23;--surface-soft:#212830;--surface-sunken:#0d1117;--ink:#f0f6fc;--ink-soft:#c9d1d9;--muted:#8b949e;--quiet:#565d64;--line:#30363d;--line-strong:#444c56;--accent:#58a6ff;--accent-ink:#0d1117;--radius:12px;--radius-sm:8px;background:var(--bg);color:var(--ink);flex-direction:column;min-height:100vh;display:flex}.home-navbar{border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:100;background:#151b23d9;justify-content:space-between;align-items:center;padding:16px 32px;transition:transform .32s,opacity .32s;display:flex;position:sticky;top:0}.home-navbar[data-hidden=true]{opacity:0;pointer-events:none;transform:translateY(-100%)}.home-navbar-logo{color:var(--ink);align-items:center;gap:12px;text-decoration:none;display:flex}.home-navbar-logo h1{letter-spacing:0;margin:0;font-size:18px;font-weight:800}.home-navbar-logo img{border-radius:var(--radius-sm)}.home-navbar-links{align-items:center;gap:24px;display:flex}.home-nav-link{color:var(--ink-soft);font-size:14px;font-weight:500;text-decoration:none;transition:color .15s}.home-nav-link:hover{color:var(--accent)}.home-hero{z-index:2;text-align:center;flex-direction:column;align-items:center;margin-top:-53vh;padding:0 32px 40px;display:flex;position:relative}.home-bg-shader{z-index:0;opacity:.28;pointer-events:none;width:100vw;height:100vh;display:block;position:fixed;inset:0}.logo-stage,.home-section,.home-showcase,.home-capabilities,.home-cta,.home-footer{z-index:1;position:relative}.logo-stage{height:180vh}.logo-stage-pin{pointer-events:none;z-index:1;flex-direction:column;justify-content:flex-start;align-items:center;height:100vh;padding-top:2vh;display:flex;position:sticky;top:0;overflow:hidden}.logo3d{transform-origin:50%;will-change:transform, opacity;pointer-events:none;justify-content:center;align-items:center;width:min(78vw,500px);height:min(60vh,500px);display:flex;position:relative}.logo3d-canvas{width:100%;height:100%}.logo3d-sign{opacity:0;pointer-events:none;filter:drop-shadow(0 2px 8px #00000073);width:40%;height:40%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(.7)}.home-hero-content{z-index:2;flex-direction:column;align-items:center;gap:24px;max-width:800px;display:flex;position:relative}.home-badge{background:var(--surface-soft);border:1px solid var(--line);color:var(--accent);border-radius:999px;align-items:center;gap:8px;padding:6px 12px;font-size:12px;font-weight:600;display:inline-flex}.home-badge-dot{background:var(--accent);width:6px;height:6px;box-shadow:0 0 8px var(--accent);border-radius:50%}.home-title{letter-spacing:-.03em;background:linear-gradient(135deg, #fff 40%, var(--accent) 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;margin:0;font-size:54px;font-weight:900;line-height:1.1}.home-subtitle{color:var(--ink-soft);max-width:600px;margin:0;font-size:18px;line-height:1.5}.home-hero-actions{gap:16px;margin-top:12px;display:flex}.home-btn{border-radius:var(--radius-sm);cursor:pointer;align-items:center;gap:8px;height:44px;padding:0 24px;font-size:14px;font-weight:600;text-decoration:none;transition:all .15s;display:inline-flex}.home-btn-primary{background:var(--accent);color:var(--accent-ink);border:1px solid var(--accent);box-shadow:0 4px 14px #58a6ff40}.home-btn-primary:hover{background:#79b8ff;border-color:#79b8ff;transform:translateY(-1px)}.home-btn-secondary{background:var(--surface);color:var(--ink);border:1px solid var(--line)}.home-btn-secondary:hover{background:var(--surface-soft);transform:translateY(-1px)}.home-section{width:100%;max-width:1200px;margin:0 auto;padding:80px 32px}.home-section-header{text-align:center;margin-bottom:48px}.home-section-title{letter-spacing:-.02em;color:var(--ink);margin-top:0;margin-bottom:12px;font-size:32px;font-weight:800}.home-section-desc{color:var(--muted);max-width:600px;margin:0 auto;font-size:16px}.features-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px;display:grid}.feature-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:32px;transition:all .2s;position:relative;overflow:hidden}.feature-card:before{content:"";background:linear-gradient(90deg, transparent, var(--accent), transparent);opacity:0;width:100%;height:3px;transition:opacity .2s;position:absolute;top:0;left:0}.feature-card:hover{border-color:var(--line-strong);transform:translateY(-3px);box-shadow:0 12px 24px #0003}.feature-card:hover:before{opacity:1}.feature-icon{border-radius:var(--radius-sm);background:var(--surface-soft);width:48px;height:48px;color:var(--accent);border:1px solid var(--line);place-items:center;margin-bottom:20px;display:grid}.feature-card h3{color:var(--ink);margin-top:0;margin-bottom:12px;font-size:20px;font-weight:700}.feature-card p{color:var(--ink-soft);margin:0;font-size:14px;line-height:1.5}.docs-container{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);grid-template-columns:260px 1fr;gap:40px;min-height:600px;display:grid;overflow:hidden}.docs-sidebar{border-right:1px solid var(--line);background:var(--surface-sunken);flex-direction:column;gap:8px;padding:24px 16px;display:flex}.docs-sidebar-title{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid var(--line);margin-bottom:12px;padding:0 12px 8px;font-size:11px;font-weight:700}.docs-menu-btn{border-radius:var(--radius-sm);width:100%;color:var(--ink-soft);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;padding:10px 12px;font-size:13.5px;font-weight:600;transition:all .12s;display:flex}.docs-menu-btn:hover{background:var(--surface-soft);color:var(--ink)}.docs-menu-btn[data-active=true]{background:var(--surface-soft);color:var(--accent);border-left:3px solid var(--accent);border-top-left-radius:0;border-bottom-left-radius:0}.docs-content{max-height:800px;padding:40px 48px;overflow-y:auto}.docs-article{flex-direction:column;gap:20px;max-width:760px;display:flex}.docs-article h2{letter-spacing:-.02em;border-bottom:1px solid var(--line);color:var(--ink);margin-top:0;margin-bottom:0;padding-bottom:12px;font-size:28px;font-weight:800}.docs-article h3{color:var(--ink);margin-top:16px;margin-bottom:0;font-size:20px;font-weight:700}.docs-article p{color:var(--ink-soft);margin:0;font-size:15px;line-height:1.6}.docs-article ul{color:var(--ink-soft);margin:0;padding-left:20px;font-size:14.5px;line-height:1.6}.docs-article li{margin-bottom:8px}.docs-article code{font-family:var(--mono);background:var(--surface-soft);border:1px solid var(--line-strong);color:#ff7b72;border-radius:4px;padding:3px 6px;font-size:13px}.docs-article pre{background:var(--surface-sunken);border-radius:var(--radius-sm);border:1px solid var(--line);margin:12px 0;padding:16px;overflow-x:auto}.docs-article pre code{color:var(--ink-soft);background:0 0;border:0;padding:0;font-size:13px;line-height:1.5}.docs-alert{border:1px solid #58a6ff33;border-left:4px solid var(--accent);border-radius:var(--radius-sm);color:var(--ink-soft);background:#58a6ff14;gap:14px;padding:16px;font-size:14px;line-height:1.5;display:flex}.docs-alert-icon{color:var(--accent);flex-shrink:0;margin-top:2px}.docs-rule-flow{flex-wrap:wrap;align-items:center;gap:12px;margin:16px 0;display:flex}.docs-flow-node{background:var(--surface-soft);border:1px solid var(--line-strong);font-size:12px;font-weight:700;font-family:var(--mono);border-radius:6px;padding:8px 12px}.docs-flow-node[data-type=output]{border-color:var(--accent)}.docs-flow-arrow{color:var(--muted);font-weight:700}.mini-sim-canvas{width:100%;height:100%;display:block}.home-nav-link--btn{cursor:pointer;background:0 0;border:0;padding:0;font-family:inherit}.home-btn--sm{height:36px;padding:0 16px;font-size:13px}.home-hero-stats{flex-wrap:wrap;justify-content:center;gap:40px;margin-top:18px;display:flex}.home-stat{flex-direction:column;align-items:center;gap:2px;display:flex}.home-stat strong{letter-spacing:-.02em;color:var(--ink);font-size:28px;font-weight:800}.home-stat span{text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-size:12px;font-weight:600}.home-showcase{margin-top:-43vh;padding-top:24px}.showcase-rows{flex-direction:column;gap:80px;display:flex}.showcase-row{grid-template-columns:1.05fr .95fr;align-items:center;gap:56px;display:grid}.showcase-row[data-flip=true] .showcase-media{order:2}.showcase-eyebrow{text-transform:uppercase;letter-spacing:.06em;color:var(--accent);align-items:center;gap:8px;margin-bottom:14px;font-size:12px;font-weight:700;display:inline-flex}.showcase-copy h3{letter-spacing:-.02em;color:var(--ink);margin:0 0 14px;font-size:30px;font-weight:800;line-height:1.15}.showcase-copy>p{color:var(--ink-soft);margin:0 0 20px;font-size:16px;line-height:1.6}.showcase-bullets{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.showcase-bullets li{color:var(--ink-soft);padding-left:26px;font-size:14.5px;line-height:1.45;position:relative}.showcase-bullets li:before{content:"";background:linear-gradient(135deg, var(--accent), #a371f7);border-radius:4px;width:14px;height:14px;position:absolute;top:5px;left:0;box-shadow:0 0 10px #58a6ff66}.shot-frame{border:1px solid var(--line-strong);border-radius:var(--radius);background:var(--surface-sunken);transition:transform .25s,box-shadow .25s;overflow:hidden;box-shadow:0 24px 60px #00000073}.showcase-media:hover .shot-frame{transform:translateY(-4px);box-shadow:0 30px 70px #0000008c}.shot-bar{background:var(--surface);border-bottom:1px solid var(--line);align-items:center;gap:7px;padding:10px 14px;display:flex}.shot-dot{background:var(--line-strong);border-radius:50%;width:11px;height:11px}.shot-dot:first-child{background:#ff5f57}.shot-dot:nth-child(2){background:#febc2e}.shot-dot:nth-child(3){background:#28c840}.shot-url{font-family:var(--mono);color:var(--muted);margin-left:10px;font-size:11.5px}.shot-body{background:#f5f7fa;justify-content:center;align-items:center;height:380px;display:flex;position:relative;overflow:hidden}.shot-body img{object-fit:cover;object-position:top center;width:100%;height:100%;display:block}.mini-sim-host{width:100%;height:100%;position:relative}.canvas-host--mini{background:0 0;border:0;border-radius:0;position:absolute;inset:0}.automata-canvas--mini{min-height:0}.mini-sim-controls{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#151b23c7;border:1px solid #30363d;border-radius:6px;align-items:center;gap:6px;padding:4px 8px;display:flex;position:absolute;bottom:12px;right:12px}.mini-sim-label{color:#8b949e;font-size:11px;font-weight:700}.mini-sim-rule{color:#c9d1d9;cursor:pointer;background:0 0;border:0;border-radius:4px;padding:2px 6px;font-size:10px;font-weight:700;transition:all .12s}.mini-sim-rule[data-active=true]{color:#0d1117;background:#58a6ff}.home-capabilities{padding-top:40px}.home-cta{border-top:1px solid var(--line);background:radial-gradient(80% 140% at 50% 0%, #58a6ff1f, transparent 60%), var(--surface-sunken);padding:88px 32px}.home-cta-inner{text-align:center;flex-direction:column;align-items:center;gap:16px;max-width:640px;margin:0 auto;display:flex}.home-cta-inner h2{letter-spacing:-.02em;color:var(--ink);margin:0;font-size:36px;font-weight:800}.home-cta-inner p{color:var(--ink-soft);margin:0;font-size:16px;line-height:1.55}.home-cta-inner .home-hero-actions{margin-top:8px}.home-footer{border-top:1px solid var(--line);background:var(--surface-sunken);color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:24px 32px;font-size:13px;display:flex}.home-footer-links{gap:20px;display:flex}.home-footer-links a{color:var(--ink-soft);text-decoration:none;transition:color .15s}.home-footer-links a:hover{color:var(--accent)}.docs-page-section{padding-top:56px}.docs-page-header{flex-direction:column;align-items:center;gap:14px;display:flex}.docs-sidebar-cta{border-radius:var(--radius-sm);background:var(--accent);color:var(--accent-ink);justify-content:center;align-items:center;gap:8px;margin-top:16px;padding:10px 12px;font-size:13px;font-weight:700;text-decoration:none;transition:background .15s;display:inline-flex}.docs-sidebar-cta:hover{background:#79b8ff}@media (max-width:900px){.showcase-row{grid-template-columns:1fr;gap:28px}.showcase-row[data-flip=true] .showcase-media{order:0}.docs-container{grid-template-columns:1fr}.docs-sidebar{border-right:0;border-bottom:1px solid var(--line);flex-flow:wrap;padding:16px}.docs-sidebar-title{border-bottom:0;width:100%;margin-bottom:4px;padding-bottom:0}.docs-menu-btn{flex:auto;justify-content:center;width:auto}.docs-menu-btn[data-active=true]{border-left:0;border-bottom:3px solid var(--accent);border-bottom-right-radius:0;border-bottom-left-radius:0}.docs-content{padding:24px}}@media (max-width:600px){.home-title{font-size:36px}.home-hero{padding:60px 16px 40px}.home-navbar{flex-direction:column;align-items:stretch;gap:12px;padding:12px 16px}.home-navbar-links{justify-content:space-around}.home-hero-actions{flex-direction:column;width:100%}.home-btn{justify-content:center}}.field-label-group{align-items:center;gap:5px;min-width:0;display:inline-flex}.info-tip{color:var(--quiet);cursor:help;outline:none;align-items:center;display:inline-flex;position:relative}.info-tip:hover,.info-tip:focus-visible{color:var(--accent)}.info-tip-bubble{z-index:80;border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--surface);width:max-content;max-width:240px;color:var(--ink-soft);text-transform:none;letter-spacing:normal;pointer-events:none;padding:8px 10px;font-size:11.5px;font-weight:400;line-height:1.5;position:fixed;transform:translateY(-50%);box-shadow:0 6px 18px #0f1a241f}.inspector-column{flex-direction:column;gap:10px;min-width:0;min-height:0;display:flex}@media (min-width:1200px){.inspector-column{max-height:100%;overflow:hidden}.inspector-column>.inspector{flex:1;min-height:0;overflow-y:auto}}.guide{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);flex-direction:column;flex:auto;gap:14px;width:100%;min-width:0;min-height:0;padding:14px;display:flex;overflow:hidden}.guide-head{flex:none;justify-content:flex-start;align-items:center;gap:8px;display:flex}.guide-title-row{flex-wrap:wrap;align-items:center;gap:12px;min-width:0;display:inline-flex}.guide-head-title{color:var(--ink);align-items:center;gap:6px;margin:0;font-size:13px;font-weight:800;display:inline-flex}.guide-toc{align-items:center;gap:5px;display:inline-flex}.guide-toc-dot{border:1px solid var(--line-strong);background:var(--surface);cursor:pointer;border-radius:50%;width:9px;height:9px;padding:0;transition:background-color .12s,border-color .12s}.guide-toc-dot:hover{border-color:var(--accent)}.guide-toc-dot[data-active=true]{background:var(--accent);border-color:var(--accent)}.guide-scroll{flex:auto;grid-template-columns:minmax(0,1.08fr) minmax(260px,.78fr);gap:16px;min-height:0;display:grid;overflow:hidden}.guide-chapter,.guide-try-panel{min-height:0;overflow-y:auto}.guide-chapter{flex-direction:column;gap:12px;padding:2px 8px 2px 2px;display:flex}.guide-try-panel{border-left:1px solid var(--line);flex-direction:column;gap:10px;padding:2px 2px 2px 16px;display:flex}.guide-chapter-title{color:var(--ink);margin:0;font-size:20px;font-weight:800}.guide-prose{color:var(--ink-soft);flex-direction:column;gap:10px;font-size:13.5px;line-height:1.62;display:flex}.guide-prose p{margin:0}.guide-prose code{font-family:var(--mono);background:var(--surface-sunken);border-radius:4px;padding:1px 4px;font-size:11px}.guide-prose a{color:var(--accent)}.guide-presets{flex-direction:column;gap:10px;display:flex}.guide-preset-card{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-soft);flex-direction:column;gap:8px;padding:12px;transition:border-color .12s,box-shadow .12s;display:flex}.guide-preset-card:hover{border-color:var(--line-strong);box-shadow:0 2px 8px #0f1a240f}.guide-preset-card[data-active=true]{border-color:var(--accent)}.guide-preset-head{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.guide-preset-label{min-width:0;color:var(--ink);flex-wrap:wrap;align-items:center;gap:6px;font-size:12.5px;line-height:1.35;display:inline-flex}.guide-try-btn{border:1px solid var(--accent);border-radius:var(--radius-sm);background:var(--accent);min-height:26px;color:var(--accent-ink);cursor:pointer;flex:none;justify-content:center;align-items:center;gap:4px;padding:0 10px;font-size:11px;font-weight:800;transition:filter .12s,background-color .12s;display:inline-flex}.guide-try-btn:hover{filter:brightness(1.04)}.guide-preset-desc{color:var(--muted);margin:0;font-size:12px;line-height:1.5}.guide-look-for{border-left:2px solid var(--accent);color:var(--ink-soft);gap:7px;margin:0;padding-left:9px;font-size:11.8px;line-height:1.5;display:flex}.guide-look-for svg{color:var(--accent);flex-shrink:0;margin-top:2px}.guide-refs{border-top:1px solid var(--line);flex-direction:column;gap:6px;padding-top:12px;display:flex}.guide-refs-title{color:var(--muted);letter-spacing:.07em;text-transform:uppercase;font-size:10.5px;font-weight:800}.guide-refs ul{flex-direction:column;gap:4px;margin:0;padding-left:16px;display:flex}.guide-refs li{color:var(--muted);font-size:11.5px;line-height:1.45}.guide-refs a{color:var(--ink-soft)}@media (max-width:920px){.guide{overflow-y:auto}.guide-scroll{flex-direction:column;display:flex;overflow:visible}.guide-chapter,.guide-try-panel{overflow:visible}.guide-try-panel{border-left:0;border-top:1px solid var(--line);padding:14px 0 0}}@media (max-width:720px){.guide{padding:12px}.guide-title-row{width:100%}.guide-toc{max-width:100%;padding:2px 0;overflow-x:auto}.guide-chapter-title{font-size:18px}.guide-preset-head{flex-direction:column}}.about-page-section{flex:1;justify-content:center;align-items:center;padding-top:56px;display:flex}.about-container{width:100%;max-width:720px;margin:0 auto 80px;padding:0 16px}.about-card{-webkit-backdrop-filter:blur(16px);border:1px solid var(--line);border-radius:var(--radius);background:#151b2373;padding:48px;transition:border-color .3s,box-shadow .3s;position:relative;overflow:hidden;box-shadow:0 24px 60px #00000073}.about-card:hover{border-color:#58a6ff4d}.about-glow{pointer-events:none;background:radial-gradient(circle at 50% 0,#58a6ff1f,#0000 60%);width:100%;height:100%;position:absolute;top:0;left:0}.about-header{text-align:center;z-index:1;flex-direction:column;align-items:center;margin-bottom:40px;display:flex;position:relative}.about-avatar{background:linear-gradient(135deg, var(--accent) 0%, #a371f7 100%);border-radius:18px;justify-content:center;align-items:center;width:72px;height:72px;margin-bottom:20px;display:flex;box-shadow:0 8px 24px #58a6ff33}.about-avatar svg{color:var(--bg)}.about-title{color:var(--ink);letter-spacing:-.02em;margin:0 0 8px;font-size:32px;font-weight:800}.about-subtitle{color:var(--muted);margin:0;font-size:15px;font-weight:500}.about-body{z-index:1;flex-direction:column;gap:36px;display:flex;position:relative}.about-section{flex-direction:column;gap:12px;display:flex}.about-section h3{color:var(--ink);letter-spacing:-.01em;margin:0;font-size:18px;font-weight:700}.about-section p{color:var(--ink-soft);margin:0;font-size:14.5px;line-height:1.6}.creator-links{grid-template-columns:repeat(3,1fr);gap:16px;margin-top:8px;display:grid}.creator-link{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-soft);color:var(--ink-soft);flex-direction:column;align-items:flex-start;gap:12px;padding:16px;text-decoration:none;transition:all .25s cubic-bezier(.16,1,.3,1);display:flex;position:relative;overflow:hidden}.creator-link svg:first-of-type{color:var(--muted);transition:color .25s}.creator-link .link-text{flex-direction:column;gap:2px;display:flex}.creator-link .link-label{color:var(--ink);font-size:13px;font-weight:700}.creator-link .link-url{color:var(--muted);font-size:11px}.creator-link .link-arrow{color:var(--quiet);transition:transform .25s,color .25s;position:absolute;top:16px;right:16px}.creator-link:hover{transform:translateY(-2px);box-shadow:0 8px 24px #0003}.creator-link:hover .link-arrow{transform:translate(2px,-2px)}.creator-link.github:hover{background:#6e549414;border-color:#6e5494}.creator-link.github:hover svg:first-of-type,.creator-link.github:hover .link-arrow{color:#c9d1d9}.creator-link.twitter:hover{background:#1da1f214;border-color:#1da1f2}.creator-link.twitter:hover svg:first-of-type,.creator-link.twitter:hover .link-arrow{color:#1da1f2}.creator-link.substack:hover{background:#ff682914;border-color:#ff6829}.creator-link.substack:hover svg:first-of-type,.creator-link.substack:hover .link-arrow{color:#ff6829}.about-disclaimer{border-radius:var(--radius-sm);background:#f851490d;border:1px solid #f8514926;border-left:4px solid #f85149;flex-direction:column;gap:8px;padding:20px;display:flex}.disclaimer-header{color:#f85149;align-items:center;gap:8px;display:flex}.disclaimer-header h4{text-transform:uppercase;letter-spacing:.05em;margin:0;font-size:13.5px;font-weight:700}.disclaimer-icon{flex-shrink:0}.about-disclaimer p{color:var(--ink-soft);margin:0;font-size:13px;line-height:1.55}.about-disclaimer strong{color:var(--ink)}@media (max-width:768px){.about-card{padding:32px 24px}.creator-links{grid-template-columns:1fr;gap:12px}}.guide-preset-run-badge{color:var(--running);text-transform:uppercase;letter-spacing:.03em;background:#16a34a1f;border:1px solid #16a34a40;border-radius:4px;align-items:center;padding:1px 5px;font-size:9px;font-weight:700;line-height:1;display:inline-flex}.guide-next-section{border-top:1px solid var(--line);justify-content:flex-end;margin-top:24px;padding-top:16px;display:flex}.guide-next-btn{justify-content:center;align-items:center;gap:6px;width:100%;display:inline-flex}
