@charset "UTF-8";
:root{font-family:Inter,"Segoe UI",system-ui,sans-serif;color:#18353e;background:#f2f5f6;font-synthesis:none;--ink:#18353e;--muted:#60737b;--line:#dce4e7;--accent:#197c68;--mint:#8ae0c6;--gold:#edbd66}
*{box-sizing:border-box}body{margin:0;font-size:16px}button,input,select{font:inherit}button,label.button,summary,a,input[type=range]{-webkit-tap-highlight-color:transparent}button,label.button,summary{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button,a,input,select,summary{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #2b9b83}.app-header{height:88px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:20px}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;color:var(--ink);font-weight:650;font-size:19px;white-space:nowrap}.brand small{display:block;letter-spacing:2.5px;font-size:10px;font-weight:600;color:var(--muted);margin-top:5px}.brand-mark{width:44px;height:44px;border-radius:12px;background:#143b44;color:#e3fff3;font-size:27px;letter-spacing:-4px;padding:3px 10px 3px 8px;font-weight:600}.brand-mark span{color:var(--mint)}.header-actions{display:flex;align-items:center;gap:10px}.local-note{font-size:13px;color:var(--muted);margin-right:13px}.button{border:1px solid #cfdbdf;border-radius:7px;color:var(--ink);background:#fff;min-height:40px;padding:9px 14px;font-size:14px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;transition:background .15s,border-color .15s}.button:hover{background:#edf5f3;border-color:#91b7ae}.button.primary{background:#197c68;color:#fff;border-color:#197c68}.button.primary:hover{background:#126653}.button.quiet{background:transparent;border-color:transparent}.button.quiet:hover{background:#edf2f3}.help-icon{border:1px solid #9daeb3;border-radius:50%;font-size:11px;width:16px;height:16px;display:inline-grid;place-items:center}.app-layout{display:grid;grid-template-columns:285px minmax(0,1fr);max-width:1800px;margin:auto}.sidebar{background:#fbfcfc;border-right:1px solid var(--line);padding:32px 26px;min-height:calc(100vh - 88px)}.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.8px;color:#56777b}.sidebar-intro h1{font-size:28px;line-height:1.25;letter-spacing:-.9px;margin:14px 0 12px;font-weight:600}.sidebar-intro>p{font-size:14px;line-height:1.6;color:var(--muted);margin:0 0 32px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-bottom:20px}h2,h3,p{margin-top:0}.section-heading h2,.presets h2{font-size:14px;margin:0;font-weight:650}.pill{font-size:11px;padding:5px 7px;border:1px solid var(--line);border-radius:5px;color:var(--muted);white-space:nowrap}label:not(.button){display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:600;margin:0 0 8px}label>span{font-size:12px;font-weight:400;color:var(--muted)}input:not([type=range],[type=file]),select{width:100%;min-height:41px;border:1px solid #cdd9de;border-radius:6px;background:#fff;padding:9px 11px;color:var(--ink);font-variant-numeric:tabular-nums}select{appearance:none;padding-right:30px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23576e77' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}.field-note{font-size:12px;line-height:1.5;color:var(--muted);margin:6px 0 20px}.seed-row{display:flex;gap:7px;align-items:center}.icon-button{font-size:24px;font-weight:400;min-width:43px;padding:0}.full-width{width:100%}.presets{border-top:1px solid var(--line);margin-top:28px;padding-top:24px}.presets h2{margin-bottom:10px}.preset{display:flex;justify-content:space-between;align-items:center;text-align:left;width:100%;padding:13px 0;border:0;border-bottom:1px solid #e7edef;background:transparent;color:var(--ink)}.preset:hover strong{color:var(--accent)}.preset strong{display:block;font-size:13px;font-weight:600}.preset small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.preset-symbol{font-size:22px;color:#69958d}.sidebar-footer{margin-top:38px;display:flex;gap:12px;align-items:center}.sidebar-footer p{font-size:12px;line-height:1.6;color:var(--muted);margin:0}.tiny-network{font-size:11px;color:#8ba9a2;letter-spacing:-1px}.workspace{padding:32px 34px 15px;min-width:0}.workspace-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 23px;gap:15px}.workspace-heading h2{font-size:27px;letter-spacing:-.8px;font-weight:600;margin:8px 0 0}.experiment-label{font-family:Consolas,monospace;font-size:12px;letter-spacing:.8px;color:var(--muted);border-bottom:1px solid #b7c9ca;padding-bottom:6px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:19px 0}.stats>div{padding:0 22px;border-right:1px solid var(--line)}.stats>div:first-child{padding-left:0}.stats>div:last-child{border:0}.stats span{display:block;font-size:10px;font-weight:650;color:var(--muted);letter-spacing:1.3px;margin-bottom:9px}.stats strong{font-size:24px;font-weight:550;letter-spacing:-.6px;font-variant-numeric:tabular-nums}.stats small{font-size:13px;color:var(--muted);font-weight:400;letter-spacing:0}.panel{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:23px 24px 18px}.panel-heading h3{font-size:16px;font-weight:650;letter-spacing:-.2px;margin:0 0 7px}.panel-heading p{font-size:13px;color:var(--muted);margin:0;line-height:1.5}.legend{display:flex;gap:15px;font-size:12px;white-space:nowrap;color:var(--muted)}.legend span,.topology-caption>span{display:flex;align-items:center;gap:6px}.legend i,.topology-caption i{height:9px;width:9px;display:inline-block;border-radius:2px}.off-swatch{background:#213b46}.on-swatch{background:var(--mint)}.selected-swatch{background:var(--gold)}.plot-layout{display:flex;padding:0 24px 0 10px;gap:6px}.y-axis{writing-mode:vertical-rl;transform:rotate(180deg);font-size:9px;letter-spacing:2px;color:var(--muted);text-align:center;width:20px}.plot-scroll{width:100%;overflow:auto;background:#132c36;border-radius:5px;max-height:388px}#dynamics{display:block;width:100%;height:340px;image-rendering:pixelated;cursor:crosshair}.plot-caption{display:flex;align-items:center;justify-content:space-between;margin:10px 24px 17px 36px;color:var(--muted);font-size:11px;gap:8px}.plot-caption p{margin:0}.text-button{background:none;border:0;color:var(--accent);font-size:12px;font-weight:600;padding:3px 0}.text-button:hover{text-decoration:underline}.simulation-controls{border-top:1px solid #e9eef0;padding:16px 24px 10px;display:flex;justify-content:space-between;gap:8px}.run-buttons{display:flex;gap:6px}.timeline{display:flex;align-items:center;gap:17px;padding:8px 24px 22px}.timeline label{white-space:nowrap;margin:0;font-size:12px;font-weight:400;gap:9px;color:var(--muted)}.timeline output{color:var(--ink);font-weight:600;min-width:20px}.timeline input{accent-color:var(--accent);width:100%;min-width:30px}.timeline>span{font-size:11px;color:var(--muted)}.detail-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:22px;margin-top:22px}.topology{height:337px;padding:0 18px;display:flex;justify-content:center;align-items:center}.topology svg{max-width:100%;max-height:100%;overflow:visible}.topology .node{cursor:pointer}.topology .node:focus{outline:none}.topology .node:focus-visible circle{stroke:#197c68;stroke-width:4}.topology .node text{font-size:10px;fill:#18353e;font-weight:600;pointer-events:none}.topology .link{stroke:#d5e0e3;stroke-width:.7;fill:none}.topology .input-link{stroke:#c69334;stroke-width:2;opacity:.85}.topology .node circle{stroke:#fff;stroke-width:2;fill:#e3ebee}.topology .node.on circle{fill:#8ae0c6}.topology .node.selected circle{fill:#edbd66;stroke:#bd8b2d;stroke-width:2}.topology-caption{padding:16px 24px;border-top:1px solid #e9eef0;display:flex;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted)}.node-panel #node-editor{padding:0 24px 22px}.editor-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.node-panel .field-note{font-size:11px;margin-bottom:14px}.node-panel label{font-size:13px}.node-panel label>span{font-size:11px}.state-badge{font-size:12px;padding:6px 9px;background:#edf3f5;border-radius:5px;white-space:nowrap;font-variant-numeric:tabular-nums}.state-badge.on{background:#ddf5ed;color:#17654e}.truth-details{font-size:13px;margin:3px 0 18px}.truth-details summary{color:var(--muted);padding:6px 0}.truth-details table{border-collapse:collapse;width:100%;margin:10px 0}.truth-details td,.truth-details th{text-align:left;border-bottom:1px solid var(--line);padding:6px;font-family:Consolas,monospace;font-size:12px}.workspace-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:23px 0 4px;color:var(--muted);font-size:11px}.workspace-footer p{margin:0}.workspace-footer>span{font-size:10px}.notice{padding:12px 16px;border-radius:7px;background:#e1f3ec;border:1px solid #b9dfd1;font-size:14px;line-height:1.5;margin-bottom:20px}.notice.error{background:#fff1eb;border-color:#e6bbab;color:#953f22}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:absolute;top:-70px;left:20px;z-index:10;background:var(--ink);color:white;padding:12px}.skip-link:focus{top:10px}dialog{max-width:620px;width:calc(100% - 32px);max-height:85vh;border:1px solid var(--line);border-radius:12px;padding:27px 32px;color:var(--ink);box-shadow:0 25px 100px #0b263933}dialog::backdrop{background:#0a263977}.dialog-heading{display:flex;justify-content:space-between;align-items:center}dialog h2{font-size:28px;margin:20px 0}dialog p,dialog li{font-size:15px;line-height:1.7;color:#506771}dialog li{margin-bottom:8px}dialog h3{font-size:16px;margin:24px 0 10px}dialog .field-note{font-size:13px}
@media(min-width:1600px){.workspace{padding:38px 48px}.app-layout{grid-template-columns:310px minmax(0,1fr)}.sidebar{padding:38px 34px}#dynamics{height:380px}.plot-scroll{max-height:430px}}
@media(max-width:1200px){.app-header{padding:0 24px}.local-note{display:none}.workspace{padding:28px 22px}.app-layout{grid-template-columns:250px minmax(0,1fr)}.sidebar{padding:28px 20px}.stats>div{padding:0 13px}.stats strong{font-size:21px}.panel-heading{padding:20px 18px 16px}.legend{gap:9px}.detail-grid{grid-template-columns:1fr}.topology{height:310px}.topology svg{width:100%}.header-actions .button{padding:9px 11px}}
@media(max-width:800px){.app-header{height:auto;min-height:80px;flex-wrap:wrap;padding:18px 20px;gap:16px}.header-actions{width:100%;flex-wrap:wrap;gap:5px}.header-actions .button{font-size:12px}.app-layout{display:block}.sidebar{min-height:0;border-right:0;border-bottom:1px solid var(--line);padding:23px 20px}.sidebar-intro h1{font-size:26px}.sidebar-intro h1 br{display:none}.sidebar-intro>p{margin-bottom:23px}.sidebar form{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.sidebar form .section-heading{grid-column:1/-1}.sidebar form>label{grid-column:1}.sidebar form>input,.sidebar form>.seed-row{grid-column:2;grid-row:span 2;align-self:start}.sidebar form>.field-note{grid-column:1;margin-top:0;max-width:220px}.sidebar form>.button{grid-column:1/-1}.presets{display:none}.sidebar-footer{display:none}.workspace{padding:26px 20px}.workspace-heading h2{font-size:24px}.stats{gap:20px 0;grid-template-columns:repeat(2,minmax(0,1fr))}.stats>div{padding:0 18px}.stats>div:nth-child(odd){padding-left:0}.stats>div:nth-child(even){border:0}.panel-heading{flex-wrap:wrap;gap:12px}.panel-heading p{font-size:12px}.legend{margin-left:auto}.plot-layout{padding-right:15px}.plot-caption{margin-right:15px}.plot-caption>span{display:none}.simulation-controls{padding:14px 12px 8px;flex-wrap:wrap}.simulation-controls .button{font-size:12px;padding:8px 10px}.timeline{padding:10px 16px 20px;gap:10px}.workspace-footer{display:block;line-height:2}.node-panel #node-editor{padding:0 18px 20px}.detail-grid{gap:18px}.experiment-label{font-size:10px}.workspace-heading>.experiment-label{max-width:100px;overflow-wrap:anywhere}.plot-caption{font-size:10px}.plot-caption .text-button{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
