.discovery-workbench{color:#e9e2d3;background:radial-gradient(circle at 10% 0,#945b2a1f,#0000 32rem),#141817;gap:18px;min-width:0;padding:22px;display:grid}.discovery-workbench h2,.discovery-workbench h3,.discovery-workbench p{margin:0}.discovery-workbench button,.discovery-workbench input,.discovery-workbench select,.discovery-workbench textarea{font:inherit}.discovery-workbench button:focus-visible,.discovery-workbench input:focus-visible,.discovery-workbench select:focus-visible,.discovery-workbench textarea:focus-visible{outline-offset:2px;outline:2px solid #d9a968}.discovery-workbench__header,.discovery-workbench section>header{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.discovery-workbench__header h2{margin:4px 0 6px;font:600 24px/1.2 Georgia,serif}.discovery-workbench__header p,.discovery-workbench__muted{color:#9fa8a1}.discovery-workbench__badges{border:0;flex-wrap:wrap;justify-content:flex-end;gap:7px;margin:0;padding:0;display:flex}.discovery-workbench__badges span,.discovery-workbench__grant-grid article>span{letter-spacing:.04em;text-transform:uppercase;border:1px solid #3e4b45;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:700}.discovery-workbench__badges .secure,.discovery-workbench__grant-grid .character{color:#b9d2c3;background:#243129;border-color:#668172}.discovery-workbench__badges .earned,.discovery-workbench__grant-grid .account{color:#e6c88d;background:#302719;border-color:#765f3d}.discovery-workbench__badges .invalid{color:#ffb3a8;background:#3b201d;border-color:#8f4c44}.discovery-workbench__privacy,.discovery-workbench__completion,.discovery-workbench__locale,.discovery-workbench__migrations,.discovery-workbench__dependencies,.discovery-workbench__diagnostics{background:#191e1deb;border:1px solid #303936;border-radius:12px;padding:16px}.discovery-workbench__privacy{border-left:3px solid #c5904e}.discovery-workbench__privacy p{color:#b7bfba;max-width:82ch;margin-top:5px;line-height:1.5}.discovery-workbench__grid{grid-template-columns:minmax(250px,.72fr) minmax(380px,1.28fr);gap:14px;display:grid}.discovery-workbench__topology,.discovery-workbench__detail{background:#191e1d;border:1px solid #303936;border-radius:12px;min-width:0;padding:14px}.discovery-workbench section h3{margin-top:3px;font-size:17px}.discovery-workbench section header>span,.discovery-workbench__detail header span{color:#9fa8a1;font-size:12px}.discovery-workbench section button{color:#e6dfd1;cursor:pointer;background:#252d2a;border:1px solid #4a5751;border-radius:7px;padding:7px 10px}.discovery-workbench section button:hover:not(:disabled){border-color:#b98a50}.discovery-workbench section button:disabled{opacity:.42;cursor:not-allowed}.discovery-workbench__topology nav{gap:7px;margin-top:14px;display:grid}.discovery-workbench__topology nav button{text-align:left;grid-template-columns:30px minmax(0,1fr);gap:8px;width:100%;display:grid}.discovery-workbench__topology nav button.active{background:#30271d;border-color:#c5904e}.discovery-workbench__topology nav button>span{color:#c5904e;font-variant-numeric:tabular-nums}.discovery-workbench__topology nav strong,.discovery-workbench__topology nav small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.discovery-workbench__topology nav small{color:#96a099;margin-top:3px}.discovery-workbench__order{border:0;gap:7px;margin-top:10px;padding:0;display:flex}.discovery-workbench__fields,.discovery-workbench__copy-fields,.discovery-workbench__source-grid{gap:12px;margin-top:14px;display:grid}.discovery-workbench__fields.two-column,.discovery-workbench__source-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.discovery-workbench label,.discovery-workbench fieldset{min-width:0}.discovery-workbench label{color:#c8cec9;gap:5px;font-size:12px;font-weight:650;display:grid}.discovery-workbench input,.discovery-workbench select,.discovery-workbench textarea{box-sizing:border-box;color:#f0e9dc;background:#101413;border:1px solid #414b47;border-radius:6px;width:100%;padding:8px}.discovery-workbench textarea{resize:vertical;min-height:72px}.discovery-workbench label small{overflow-wrap:anywhere;color:#86918a;font-weight:400}.discovery-workbench__source{border:1px solid #333e39;border-radius:8px;grid-template-columns:1.2fr .7fr 1.4fr;gap:8px;margin:0;padding:10px;display:grid}.discovery-workbench__source legend{color:#d6aa70;padding:0 5px;font-size:12px;font-weight:700}.discovery-workbench__grant-grid{border:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px;padding:0;display:grid}.discovery-workbench__grant-grid article{background:#151a18;border:1px solid #36413c;border-radius:9px;align-content:start;gap:8px;padding:12px;display:grid}.discovery-workbench__grant-grid article>span{justify-self:start}.discovery-workbench__grant-grid article small{color:#929d96}.discovery-workbench__locale-controls{align-items:end;gap:8px;display:flex}.discovery-workbench__locale-controls>label{min-width:180px}.discovery-workbench__locale-controls fieldset{border:0;gap:6px;margin:0;padding:0;display:flex}.discovery-workbench__locale-controls input{width:92px}.discovery-workbench__migrations>p{margin-top:12px}.discovery-workbench__migrations fieldset{border:1px solid #3b4641;border-radius:9px;grid-template-columns:130px repeat(2,minmax(0,1fr));gap:10px;margin-top:14px;padding:12px;display:grid}.discovery-workbench__migrations legend{color:#d6aa70;padding:0 5px;font-weight:700}.discovery-workbench__dependencies ul{gap:5px;margin:12px 0 0;padding:0;list-style:none;display:grid}.discovery-workbench__dependencies li{background:#141918;border-radius:6px;grid-template-columns:22px 110px minmax(0,1fr);align-items:center;gap:7px;padding:6px 8px;display:grid}.discovery-workbench__dependencies code,.discovery-workbench__diagnostics code{overflow-wrap:anywhere;color:#bec7c1}.discovery-workbench__dependencies .declared{color:#8fc5a5}.discovery-workbench__dependencies .missing{color:#ffad9f}.discovery-workbench__diagnostics.valid{border-color:#426252}.discovery-workbench__diagnostics.invalid{border-color:#75443e}.discovery-workbench__diagnostics header span{color:#aeb7b1}.discovery-workbench__diagnostics p{color:#e5b7af;grid-template-columns:minmax(160px,.5fr) minmax(0,1.5fr);gap:10px;margin-top:8px;display:grid}@media (max-width:900px){.discovery-workbench__grid,.discovery-workbench__fields.two-column,.discovery-workbench__source-grid,.discovery-workbench__grant-grid,.discovery-workbench__migrations{grid-template-columns:1fr}.discovery-workbench__header,.discovery-workbench section>header{flex-direction:column}.discovery-workbench__locale-controls{flex-wrap:wrap}.discovery-workbench__badges{justify-content:flex-start}}@media (prefers-reduced-motion:reduce){.discovery-workbench *{scroll-behavior:auto;transition:none}}:root{color:#e9e7df;font-synthesis:none;--gold:#deb96a;--gold-bright:#f1d28a;--ink:#090d0c;--panel:#0d1311;--panel-raised:#111816;--line:#deb96a2e;--line-cool:#c6d3cc1f;--muted:#8f9a94;--good:#7fc49b;--warning:#d6a756;--danger:#d97767;background:#090d0c;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}button,input,textarea{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.threshold-screen,.login-screen{background:radial-gradient(circle at 22% 20%,#51695329,#0000 32rem),linear-gradient(135deg,#0b100f,#070a09 68%);min-height:100vh}.threshold-screen{text-align:center;place-content:center;justify-items:center;gap:2rem;display:grid}.threshold-copy h1,.login-panel h2,.atmosphere-copy h1,.workbench h1,.archive-welcome h1{letter-spacing:-.025em;margin:0;font-family:Georgia,Times New Roman,serif;font-weight:400}.threshold-copy h1{font-size:clamp(2.5rem,6vw,5rem)}.threshold-copy p:last-child{max-width:34rem;color:var(--muted)}.seal-spinner{aspect-ratio:1;border:1px solid var(--line);border-top-color:var(--gold);border-radius:50%;width:42px;animation:1.3s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.brand-mark{align-items:center;gap:.9rem;display:flex}.brand-mark>span{aspect-ratio:1;width:46px;color:var(--gold-bright);border:1px solid #deb96a8c;place-items:center;font:1.65rem/1 Georgia,serif;display:grid;transform:rotate(45deg)}.brand-mark>span:first-letter{transform:rotate(-45deg)}.brand-mark>div{gap:.16rem;display:grid}.brand-mark strong{letter-spacing:.36em;font-size:.82rem}.brand-mark small{color:var(--gold);letter-spacing:.52em;font-size:.58rem}.brand-mark.compact>span{width:34px;font-size:1.15rem}.brand-mark.compact strong{font-size:.7rem}.brand-mark.compact small{font-size:.5rem}.eyebrow{color:var(--gold);letter-spacing:.28em;text-transform:uppercase;margin:0 0 .65rem;font-size:.64rem;font-weight:750}.login-screen{grid-template-columns:minmax(0,1.25fr) minmax(420px,.75fr);display:grid}.login-atmosphere{border-right:1px solid var(--line);isolation:isolate;flex-direction:column;justify-content:space-between;min-height:100vh;padding:clamp(2rem,5vw,5rem);display:flex;position:relative;overflow:hidden}.login-atmosphere:before{z-index:-2;content:"";background:linear-gradient(#070c0a14,#050807d1),radial-gradient(at 65% 42%,#bb914633,#0000 30%),linear-gradient(145deg,#17221d,#080b0a 72%);position:absolute;inset:0}.login-atmosphere:after{z-index:-1;opacity:.16;background-image:linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);content:"";background-size:54px 54px;position:absolute;inset:12% 8% 10% 28%;transform:perspective(500px)rotateX(58deg)rotate(-17deg);-webkit-mask-image:radial-gradient(#000,#0000 72%);mask-image:radial-gradient(#000,#0000 72%)}.atmosphere-copy{max-width:48rem}.atmosphere-copy h1{max-width:44rem;font-size:clamp(3.4rem,7vw,7.5rem);line-height:.93}.atmosphere-copy>p:last-child{color:#a9b1ac;max-width:38rem;font-size:1.05rem;line-height:1.8}.archive-rings{aspect-ratio:1;border:1px solid #deb96a29;border-radius:50%;width:48rem;position:absolute;bottom:-20rem;right:-18rem;box-shadow:0 0 0 5rem #deb96a06,0 0 0 10rem #deb96a05}.login-panel{background:#070a09e6;place-items:center;padding:3rem;display:grid}.login-panel form{width:min(100%,25rem)}.login-panel h2{font-size:3rem}.form-intro{color:var(--muted);margin:.75rem 0 2.4rem}.login-panel label,.review-decision label{color:#bcc3bf;letter-spacing:.12em;text-transform:uppercase;gap:.55rem;margin:1.2rem 0;font-size:.68rem;font-weight:700;display:grid}.login-panel input,.review-decision textarea{border:1px solid var(--line-cool);color:#f2f0e8;background:#111715;width:100%;padding:.95rem 1rem}.login-panel input:hover,.login-panel input:focus{border-color:#deb96a7a}.primary-button,.wide-button,.publish-button{background:var(--gold);color:#15120b;cursor:pointer;letter-spacing:.13em;text-transform:uppercase;border:1px solid #ddb966;font-size:.7rem;font-weight:800}.primary-button{width:100%;margin-top:1.3rem;padding:1rem 1.25rem}.primary-button.small{width:auto;margin:0;padding:.72rem 1rem}button:disabled{cursor:not-allowed;opacity:.45}.primary-button:not(:disabled):hover{background:var(--gold-bright)}.security-note{color:#65706a;text-align:center;margin-top:1.4rem;font-size:.7rem}.error-banner{border-left:2px solid var(--danger);color:#eba396;background:#7d2f262e;margin-top:1rem;padding:.9rem;font-size:.8rem}.studio-shell{background:#090d0c;grid-template:68px minmax(0,1fr)/290px minmax(480px,1fr) 350px;min-height:100vh;max-height:100vh;display:grid;overflow:hidden}.studio-header{border-bottom:1px solid var(--line);background:linear-gradient(90deg,#101714,#0a0f0d);grid-column:1/-1;grid-template-columns:290px 1fr auto;align-items:center;padding:0 1.15rem;display:grid}.header-context{border-left:1px solid var(--line-cool);gap:.15rem;padding-left:1.2rem;display:grid}.header-context span{color:var(--muted);letter-spacing:.14em;text-transform:uppercase;font-size:.58rem}.header-context strong{text-overflow:ellipsis;white-space:nowrap;max-width:36rem;font-size:.78rem;overflow:hidden}.staff-chip{align-items:center;gap:.7rem;display:flex}.staff-monogram{aspect-ratio:1;border:1px solid var(--line);width:32px;color:var(--gold);background:#19231e;border-radius:50%;place-items:center;font-size:.62rem;display:grid}.staff-chip>div:nth-child(2){display:grid}.staff-chip strong{font-size:.72rem}.staff-chip span{color:var(--muted);text-transform:capitalize;font-size:.62rem}.staff-chip button{color:var(--muted);cursor:pointer;background:0 0;border:0;font-size:.65rem}.staff-chip button:hover{color:var(--gold)}.document-rail,.inspector{background:var(--panel);min-height:0;overflow:auto}.document-rail{border-right:1px solid var(--line-cool);flex-direction:column;display:flex}.rail-heading,.inspector-heading{justify-content:space-between;align-items:center;padding:1.5rem 1.25rem 1rem;display:flex}.rail-heading h2,.inspector-heading h2{margin:0;font:1.25rem Georgia,serif}.icon-button{aspect-ratio:1;border:1px solid var(--line);width:34px;color:var(--gold);cursor:pointer;background:#121a17;place-items:center;font-size:1.1rem;display:grid}.new-document-actions{gap:.25rem;display:flex}.new-document-actions .icon-button{width:28px;font-size:.9rem}.editor-view-toggle{border:1px solid var(--line-cool);background:#090d0c;padding:.18rem;display:flex}.editor-view-toggle button{color:#748079;cursor:pointer;letter-spacing:.08em;text-transform:uppercase;background:0 0;border:0;padding:.46rem .72rem;font-size:.62rem;font-weight:750}.editor-view-toggle button.active{color:var(--gold-bright);background:#deb96a21}.filter-strip{border-bottom:1px solid var(--line-cool);color:#737e78;text-transform:uppercase;letter-spacing:.12em;justify-content:space-between;margin:0 1.25rem .75rem;padding-bottom:.7rem;font-size:.62rem;display:flex}.filter-strip strong{color:#b0b8b3}.document-list{flex:1;padding:0 .65rem;overflow:auto}.document-card{cursor:pointer;text-align:left;background:0 0;border:0;border-left:2px solid #0000;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:.7rem;width:100%;padding:.8rem .7rem;display:grid}.document-card:hover{background:#ffffff06}.document-card.active{border-left-color:var(--gold);background:linear-gradient(90deg,#deb96a1a,#0000)}.kind-glyph{aspect-ratio:1;border:1px solid var(--line-cool);width:28px;color:var(--gold);place-items:center;display:grid}.document-copy{gap:.25rem;min-width:0;display:grid}.document-copy strong{text-overflow:ellipsis;white-space:nowrap;font:.76rem ui-monospace,SFMono-Regular,Consolas,monospace;overflow:hidden}.document-copy small{color:#75817a;font-size:.61rem}.status-pip{color:#b8c0bb;text-transform:capitalize;align-items:center;gap:.4rem;font-size:.64rem;display:inline-flex}.status-pip i{aspect-ratio:1;background:#6d7771;border-radius:50%;width:6px;display:block;box-shadow:0 0 0 3px #6d777117}.status-approved i,.status-published i{background:var(--good);box-shadow:0 0 0 3px #7fc49b1c}.status-pending i,.status-review i{background:var(--warning)}.status-rejected i,.status-failed i{background:var(--danger)}.status-draft i{background:#7d95ad}.rail-footer{border-top:1px solid var(--line-cool);color:#6e7973;padding:.9rem 1.2rem;font-size:.62rem}.live-dot{aspect-ratio:1;background:var(--good);width:6px;box-shadow:0 0 8px var(--good);border-radius:50%;margin-right:.45rem;display:inline-block}.empty-rail,.empty-inspector{color:#65706a;padding:2rem 1.25rem;font-size:.75rem;line-height:1.6}.workbench{background:radial-gradient(circle at 60% 5%,#3a534414,#0000 32rem),#0a0e0d;flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.workbench-toolbar{border-bottom:1px solid var(--line-cool);justify-content:space-between;align-items:center;gap:2rem;min-height:88px;padding:1.15rem 1.6rem;display:flex}.workbench-toolbar h1{text-overflow:ellipsis;white-space:nowrap;max-width:40rem;font-size:1.6rem;overflow:hidden}.toolbar-actions{align-items:center;gap:1rem;display:flex}.parse-state{color:var(--good);white-space:nowrap;font-size:.65rem}.parse-state:before{content:"●";margin-right:.4rem}.parse-state.invalid{color:var(--danger)}.editor-frame{border:1px solid var(--line-cool);background:#090c0b;flex-direction:column;flex:1;min-height:0;margin:1.15rem;display:flex;box-shadow:0 18px 60px #00000038}.editor-tab{border-bottom:1px solid var(--line-cool);color:#b6bdb8;background:#101512;align-items:center;gap:.55rem;padding:.65rem .85rem;font:.68rem ui-monospace,SFMono-Regular,Consolas,monospace;display:flex}.editor-tab span{color:var(--gold)}.editor-tab small{color:#5f6963;margin-left:auto}.editor-frame>textarea{resize:none;color:#cbd6cf;tab-size:2;background:0 0;border:0;flex:1;width:100%;padding:1.2rem 1.35rem;font:.76rem/1.75 ui-monospace,SFMono-Regular,Consolas,monospace}.dialogue-graph-editor{border:1px solid var(--line-cool);background:#090d0c;flex:1;grid-template-columns:minmax(280px,.78fr) minmax(420px,1.22fr);min-height:0;margin:1.15rem;display:grid;box-shadow:0 18px 60px #0000003d}.graph-overview,.graph-detail{min-height:0;overflow:auto}.graph-overview{border-right:1px solid var(--line-cool);background-color:#0b100e;background-image:linear-gradient(#deb96a06 1px,#0000 1px),linear-gradient(90deg,#deb96a06 1px,#0000 1px),none;background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:28px 28px;background-attachment:scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;padding:1rem}.graph-summary,.choice-heading,.graph-detail>header,.graph-diagnostics>header{justify-content:space-between;align-items:center;gap:1rem;display:flex}.graph-summary>div,.choice-heading>div{gap:.25rem;display:grid}.graph-summary strong,.choice-heading strong{color:#d9dedb;font:1rem Georgia,serif}.graph-summary span,.graph-node small,.graph-node em,.graph-muted,.graph-line-copy small{color:#68736d;font-size:.6rem}.graph-add,.choice-heading button,.graph-detail>header button,.graph-recovery button,.graph-empty button{border:1px solid var(--line);color:var(--gold);cursor:pointer;background:#131b17;padding:.58rem .72rem;font-size:.62rem;font-weight:700}.graph-entry-grid,.graph-field-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;margin:1rem 0;display:grid}.graph-field-row{grid-template-columns:repeat(3,minmax(0,1fr))}.dialogue-graph-editor label{color:#7e8983;letter-spacing:.09em;text-transform:uppercase;gap:.42rem;font-size:.58rem;font-weight:700;display:grid}.dialogue-graph-editor select,.dialogue-graph-editor input,.dialogue-graph-editor textarea{border:1px solid var(--line-cool);color:#d1d8d4;background:#0f1613;width:100%;padding:.55rem .62rem;font-size:.68rem}.dialogue-rule-phases,.dialogue-opening-variants,.dialogue-variant-list,.choice-authority-fields{gap:.65rem;display:grid}.dialogue-rule-phases{grid-template-columns:repeat(2,minmax(0,1fr));margin:0 0 1rem}.dialogue-rule-phase,.dialogue-opening-variants,.dialogue-path-matrix{border:1px solid var(--line-cool);background:#070b09d1;padding:.7rem}.dialogue-rule-phase>header,.dialogue-opening-variants>header,.dialogue-path-matrix>header,.dialogue-variant>header,.dialogue-rule>header,.choice-authority-fields section>header{justify-content:space-between;align-items:center;gap:.55rem;display:flex}.dialogue-rule-phase>header>div,.dialogue-opening-variants>header>div,.dialogue-path-matrix>header>div{gap:.2rem;display:grid}.dialogue-rule-phase button,.dialogue-opening-variants button,.dialogue-variant button,.dialogue-rule button,.choice-authority-fields button{color:var(--gold);cursor:pointer;background:0 0;border:0;font-size:.58rem}.dialogue-rule,.dialogue-variant{border-top:1px solid var(--line-cool);gap:.65rem;margin-top:.65rem;padding-top:.65rem;display:grid}.dialogue-rule>header span,.dialogue-variant>header span{color:var(--gold);font-size:.58rem}.dialogue-stable-id{color:#b7c3bc;text-overflow:ellipsis;min-width:0;font-size:.58rem;overflow:hidden}.dialogue-condition{border:1px solid #85978d24;grid-template-columns:repeat(2,minmax(0,1fr));gap:.48rem;margin:0;padding:.55rem;display:grid}.dialogue-condition legend{color:#6f7a74;font-size:.54rem}.dialogue-opening-variants{margin-bottom:1rem}.dialogue-path-matrix{gap:.55rem;margin-bottom:1rem;display:grid}.dialogue-path-matrix>header span,.dialogue-path-matrix small{color:#6f7a74;font-size:.56rem}.dialogue-path-matrix article{background:#0d1311;border-left:2px solid #deb96a59;padding:.55rem}.dialogue-path-matrix article>header{text-transform:capitalize;grid-template-columns:4rem minmax(0,1fr);gap:.45rem;display:grid}.dialogue-path-choice{grid-template-columns:minmax(0,1fr) auto;gap:.2rem .5rem;margin:.45rem 0 0;font-size:.58rem;display:grid}.dialogue-path-flag{overflow-wrap:anywhere;grid-column:1/-1}.dialogue-variant-list{margin-bottom:1rem}.dialogue-variant{border:1px solid var(--line-cool);background:#0d1311;margin-top:0;padding:.75rem}.dialogue-variant small{color:#68736d;letter-spacing:0;text-transform:none;font-family:ui-monospace,monospace;font-size:.56rem}.choice-editor>.choice-authority-fields{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;margin-top:.7rem}.choice-authority-fields section{border:1px solid #85978d24;gap:.5rem;padding:.6rem;display:grid}.choice-authority-fields section>header strong{color:#9aa69f;font-size:.58rem}.dialogue-graph-editor textarea{resize:vertical;min-height:72px;line-height:1.5}.graph-node-list{gap:.48rem;margin-top:1rem;display:grid}.graph-node{border:1px solid var(--line-cool);cursor:pointer;text-align:left;background:#080c0ae0;border-left:2px solid #37423c;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:.65rem;width:100%;padding:.72rem;display:grid}.graph-node.active{border-color:#deb96a6b;border-left-color:var(--gold);background:linear-gradient(90deg,#deb96a1f,#0c1210 60%)}.graph-node>span{color:var(--gold);font:.64rem ui-monospace,monospace}.graph-node>div{gap:.25rem;min-width:0;display:grid}.graph-node strong{text-overflow:ellipsis;font:.7rem ui-monospace,monospace;overflow:hidden}.graph-node em{white-space:nowrap;font-style:normal}.graph-detail{padding:1.25rem}.graph-detail>header{border-bottom:1px solid var(--line-cool);padding-bottom:1rem}.graph-detail>header h2{margin:0;font:1.45rem Georgia,serif}.graph-line-copy{margin:1rem 0 1.2rem}.graph-line-copy small{letter-spacing:0;text-transform:none;font-family:ui-monospace,monospace}.choice-heading{margin:1rem 0 .7rem}.choice-editor-list{gap:.65rem;display:grid}.choice-editor{border:1px solid var(--line-cool);background:#0d1311;padding:.75rem}.choice-editor>header{align-items:center;gap:.55rem;margin-bottom:.55rem;display:flex}.choice-editor>header span{aspect-ratio:1;border:1px solid var(--line);width:22px;color:var(--gold);place-items:center;font-size:.58rem;display:grid}.choice-editor>header strong{font:.67rem ui-monospace,monospace}.choice-editor>div{grid-template-columns:.8fr 1.2fr auto;align-items:end;gap:.55rem;margin-top:.55rem;display:grid}.choice-remove{color:#b2766b;cursor:pointer;background:0 0;border:0;padding:.55rem;font-size:.6rem}.graph-diagnostics{background:#7d2f2617;border:1px solid #d9776738;margin-top:1rem;padding:.75rem}.graph-diagnostics.valid{background:#7fc49b0d;border-color:#7fc49b2e}.graph-diagnostics header strong{color:#dfa397;font-size:.68rem}.graph-diagnostics.valid header strong{color:#9fd1b1}.graph-diagnostics header span{color:#6f7a74;font-size:.6rem}.graph-diagnostics p{color:#aa8881;gap:.22rem;margin:.65rem 0 0;font-size:.62rem;line-height:1.45;display:grid}.graph-diagnostics code{color:#d49c91}.graph-recovery,.graph-empty{text-align:center;place-content:center;justify-items:center;height:100%;padding:3rem;display:grid}.graph-recovery h2{margin:0;font:2rem Georgia,serif}.graph-recovery p:not(.eyebrow){max-width:34rem;color:var(--muted);line-height:1.7}.quest-stage-detail>header>label{min-width:9.5rem}.quest-graph-editor input:not([type=checkbox]){border:1px solid var(--line-cool);color:#d1d8d4;background:#0f1613;width:100%;padding:.55rem .62rem;font-size:.68rem}.quest-activation-rules{margin:1rem 0}.quest-copy-grid,.quest-objective-list,.quest-transition-list{gap:.7rem;display:grid}.quest-copy-grid{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);margin:1rem 0 1.2rem}.quest-copy-grid small{color:#68736d;letter-spacing:0;text-overflow:ellipsis;text-transform:none;font-family:ui-monospace,monospace;overflow:hidden}.quest-objective-editor,.quest-transition-editor{border:1px solid var(--line-cool);background:#0d1311;gap:.7rem;padding:.8rem;display:grid}.quest-objective-editor>header,.quest-transition-editor>header{align-items:center;gap:.65rem;display:flex}.quest-objective-editor>header>span{aspect-ratio:1;border:1px solid var(--line);width:24px;color:var(--gold);place-items:center;font:.58rem ui-monospace,monospace;display:grid}.quest-objective-editor>header>strong,.quest-transition-editor>header>strong{text-overflow:ellipsis;flex:1;min-width:0;font:.67rem ui-monospace,monospace;overflow:hidden}.quest-objective-editor>header>label{grid-template-columns:auto 1fr;align-items:center;gap:.4rem;display:flex}.quest-objective-editor>header input{accent-color:var(--gold)}.quest-objective-editor>.choice-remove{justify-self:end}.quest-transition-heading{margin-top:1.4rem}.quest-transition-editor>header>label{min-width:12rem}.quest-requirements{border:1px solid #deb96a1f;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem;margin:0;padding:.7rem;display:grid}.quest-requirements legend{color:#95876b;letter-spacing:.1em;text-transform:uppercase;padding:0 .3rem;font-size:.56rem;font-weight:700}.social-state-editor{background:radial-gradient(circle at 12% 0,#4e846c14,#0000 32%);grid-template-columns:minmax(0,.45fr) minmax(0,1.55fr);gap:1rem;width:100%;min-width:0;height:100%;padding:1rem;display:grid;overflow:auto}.social-editor-summary,.social-copy-editor,.social-scale-editor,.social-npc-editor,.social-source-editor,.social-rule-diagnostics{border:1px solid var(--line);background:#060c0cb8}.social-editor-summary{grid-column:1/-1;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.1rem;display:flex}.social-editor-summary strong{color:var(--ivory);font-family:var(--serif);margin:.18rem 0;font-size:1.25rem;font-weight:400;display:block}.social-editor-summary span,.social-rule-valid,.social-rule-invalid{color:var(--muted);flex:none;font-size:.68rem}.social-rule-valid,.social-rule-invalid{color:#8ec4a6;text-transform:uppercase;border:1px solid #66af8952;padding:.45rem .62rem}.social-rule-invalid{color:#e3a097;border-color:#c6615261}.social-copy-editor{grid-column:1/-1;grid-template-columns:.75fr 1.25fr;gap:.8rem;padding:.9rem 1rem;display:grid}.social-state-editor label{color:var(--muted);letter-spacing:.07em;text-transform:uppercase;gap:.34rem;font-size:.62rem;display:grid}.social-state-editor input,.social-state-editor select,.social-state-editor textarea{border:1px solid var(--line-bright);width:100%;min-width:0;color:var(--ivory);font:.72rem / 1.35 var(--sans);background:#010607bd;padding:.55rem .6rem}.social-state-editor textarea{resize:vertical;min-height:4.3rem}.social-scale-editor,.social-npc-editor,.social-source-editor,.social-rule-diagnostics{padding:1rem}.social-faction-editor .social-scale-editor{grid-column:1/-1}.social-scale-editor header,.social-source-editor>header{justify-content:space-between;align-items:end;gap:.8rem;margin-bottom:.8rem;display:flex}.social-scale-editor h2,.social-source-editor h2{color:var(--ivory);font-family:var(--serif);margin:.18rem 0 0;font-size:1.05rem;font-weight:400}.social-scale-bounds{grid-template-columns:repeat(3,1fr);gap:.55rem;margin-bottom:.7rem;display:grid}.social-band-list{gap:.38rem;display:grid}.social-band-list>div{background:#ffffff04;border:1px solid #ddba701a;grid-template-columns:minmax(0,.7fr) minmax(0,.55fr) minmax(0,1fr) auto;align-items:end;gap:.45rem;padding:.55rem;display:grid}.social-state-editor button{border:1px solid var(--line-bright);color:var(--muted-bright);letter-spacing:.06em;text-transform:uppercase;background:#03090ad1;padding:.48rem .6rem;font-size:.6rem}.social-state-editor button:hover,.social-state-editor button:focus-visible{border-color:var(--gold);color:var(--ivory)}.social-add-band{margin-top:.65rem}.social-npc-editor{align-self:start}.social-npc-editor .eyebrow{margin-bottom:.65rem}.social-source-editor{grid-column:1/-1}.social-source-editor>header>button{border-color:#66af8961}.social-source-editor>article{background:#2855430a;border:1px solid #66af892e;border-left:2px solid #66af8973;gap:.7rem;margin-top:.7rem;padding:.8rem;display:grid}.social-source-heading{grid-template-columns:minmax(0,1fr) 8rem auto;align-items:end;gap:.55rem;display:grid}.social-condition-grid{grid-template-columns:repeat(3,1fr);gap:.55rem;display:grid}.social-condition-grid textarea{min-height:5rem;font-family:var(--mono);text-transform:none;font-size:.64rem}.social-change-editor{border-top:1px solid var(--line);grid-template-columns:.7fr 1fr .45fr;gap:.55rem;padding-top:.7rem;display:grid}.social-reason-copy{grid-column:1/-1}.social-rule-diagnostics{border-color:#c6615252;grid-column:1/-1;gap:.42rem;display:grid}.social-rule-diagnostics>div{color:#d8a19a;background:#6a2c251a;grid-template-columns:minmax(10rem,.45fr) 1fr;gap:.6rem;padding:.48rem .55rem;font-size:.64rem;display:grid}.social-rule-diagnostics strong{font-family:var(--mono);font-weight:500}.race-reaction-editor{background:radial-gradient(circle at 78% 0,#a56b4a14,#0000 30rem),radial-gradient(circle at 12% 0,#4e846c12,#0000 28rem);flex:1;grid-template-columns:minmax(14rem,.42fr) minmax(28rem,1.58fr);gap:.8rem;min-width:0;min-height:0;padding:1rem;display:grid;overflow:auto}.reaction-editor-summary,.reaction-subject-editor,.reaction-matrix,.reaction-rule-list,.reaction-rule-detail,.reaction-diagnostics{border:1px solid var(--line);background:#060c0cc2}.reaction-editor-summary{grid-column:1/-1;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.1rem;display:flex}.reaction-editor-summary strong{color:#ece8dd;margin:.18rem 0;font:400 1.25rem Georgia,serif;display:block}.reaction-editor-summary span,.reaction-rule-valid,.reaction-rule-invalid{color:var(--muted);font-size:.68rem}.reaction-rule-valid,.reaction-rule-invalid{color:#8ec4a6;text-transform:uppercase;border:1px solid #66af8952;flex:none;padding:.45rem .62rem}.reaction-rule-invalid{color:#e3a097;border-color:#c6615261}.reaction-subject-editor{grid-column:1/-1;grid-template-columns:.45fr 1.15fr .7fr 1.5fr;gap:.65rem;padding:.85rem 1rem;display:grid}.race-reaction-editor label{min-width:0;color:var(--muted);letter-spacing:.07em;text-transform:uppercase;gap:.34rem;font-size:.59rem;font-weight:650;display:grid}.race-reaction-editor input,.race-reaction-editor select,.race-reaction-editor textarea{color:#dce2de;background:#010607c7;border:1px solid #c6d3cc26;width:100%;min-width:0;padding:.5rem .58rem;font-size:.68rem}.race-reaction-editor textarea{resize:vertical;text-transform:none;min-height:3.8rem;line-height:1.45}.race-reaction-editor button{color:#acb7b1;cursor:pointer;letter-spacing:.05em;text-transform:uppercase;background:#03090ad6;border:1px solid #c6d3cc26;padding:.46rem .58rem;font-size:.58rem}.race-reaction-editor button:hover,.race-reaction-editor button:focus-visible,.race-reaction-editor button.active{border-color:var(--gold);color:#eee8d9}.reaction-matrix{grid-column:1/-1;padding:.9rem 1rem 1rem}.reaction-matrix>header,.reaction-rule-list>header,.reaction-rule-detail>header,.reaction-outcome-heading,.reaction-outcome>header{justify-content:space-between;align-items:center;gap:.8rem;display:flex}.reaction-matrix h2,.reaction-rule-list h2,.reaction-rule-detail h2,.reaction-outcome-heading h3{color:#e2ded2;margin:0;font:400 1.02rem Georgia,serif}.reaction-scenario-toggle{border:1px solid #c6d3cc1c;padding:.16rem;display:flex}.reaction-scenario-toggle button{border:0}.reaction-scenario-toggle button.active{background:#deb96a1f}.reaction-matrix-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem;margin-top:.8rem;display:grid}.reaction-matrix-grid>article{background:#ffffff04;border:1px solid #deb96a21;border-top:2px solid #8a7751;min-width:0;padding:.7rem}.reaction-matrix-grid>article[data-race=elf]{border-top-color:#668d75}.reaction-matrix-grid>article[data-race=dwarf]{border-top-color:#ae7657}.reaction-matrix-grid article>header,.reaction-matrix-grid dl>div{justify-content:space-between;gap:.65rem;display:flex}.reaction-matrix-grid article>header span{color:var(--gold);letter-spacing:.12em;text-transform:uppercase;font-size:.6rem;font-weight:750}.reaction-matrix-grid article>header strong,.reaction-matrix-grid dd{color:#c8d6ce;text-transform:capitalize;font-size:.61rem}.reaction-matrix-grid p{color:#aeb8b2;min-height:3.5rem;margin:.65rem 0;font:.7rem/1.45 Georgia,serif}.reaction-matrix-grid p b{color:#d7b86d;letter-spacing:.09em;text-transform:uppercase;margin-bottom:.18rem;font:.53rem system-ui,sans-serif;display:block}.reaction-matrix-grid dl{gap:.2rem;margin:0;display:grid}.reaction-matrix-grid dt{color:#727e77;text-overflow:ellipsis;white-space:nowrap;font-size:.54rem;overflow:hidden}.reaction-matrix-grid dd{margin:0}.reaction-matrix-grid article>small,.reaction-matrix-empty{color:#5f6c65;margin-top:.6rem;font:.53rem/1.4 ui-monospace,monospace;display:block}.reaction-rule-list{align-self:start;padding:.8rem}.reaction-rule-list nav{gap:.32rem;margin-top:.75rem;display:grid}.reaction-rule-list nav button{text-align:left;text-transform:none;grid-template-columns:2rem minmax(0,1fr);gap:.12rem .5rem;min-width:0;padding:.55rem;display:grid}.reaction-rule-list nav button>span{color:var(--gold);grid-row:1/3;align-self:center;font:.62rem ui-monospace,monospace}.reaction-rule-list nav strong,.reaction-rule-list nav small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.reaction-rule-list nav strong{color:#cbd4cf;font:.63rem ui-monospace,monospace}.reaction-rule-list nav small{color:#65716b;font-size:.54rem}.reaction-rule-detail{gap:.75rem;min-width:0;padding:.9rem;display:grid}.reaction-rule-identity{grid-template-columns:minmax(0,1fr) 8rem;gap:.55rem;display:grid}.reaction-race-condition{border:1px solid #deb96a1f;gap:1rem;margin:0;padding:.65rem;display:flex}.reaction-race-condition legend{color:#8d826a;text-transform:uppercase;padding:0 .3rem;font-size:.55rem}.reaction-race-condition label{align-items:center;gap:.35rem;display:flex}.reaction-race-condition input{width:auto}.reaction-conditions{background:#ffffff03;border:1px solid #c6d3cc1c}.reaction-conditions summary{color:#aeb8b2;cursor:pointer;text-transform:uppercase;padding:.55rem .65rem;font-size:.61rem}.reaction-condition-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem;padding:0 .65rem .65rem;display:grid}.reaction-condition-grid textarea{min-height:3.6rem;font-family:ui-monospace,monospace;font-size:.59rem}.reaction-threshold-summary{color:#77827c;border-top:1px solid #c6d3cc17;align-items:center;gap:1rem;padding:.5rem .65rem;font-size:.56rem;display:flex}.reaction-threshold-summary strong{color:#c3cdc7}.reaction-threshold-summary small{color:#59645e;margin-left:auto}.reaction-outcome-heading{border-top:1px solid var(--line);padding-top:.75rem}.reaction-outcome-heading>div:last-child{flex-wrap:wrap;justify-content:end;gap:.25rem;display:flex}.reaction-outcome-list{gap:.45rem;display:grid}.reaction-outcome{background:#ffffff03;border:1px solid #deb96a1f;border-left:2px solid #907a50;grid-template-columns:minmax(7rem,.38fr) minmax(0,1.62fr);gap:.5rem;padding:.65rem;display:grid}.reaction-outcome>header{grid-column:1/-1}.reaction-outcome>header strong{color:var(--gold);letter-spacing:.1em;text-transform:uppercase;font-size:.58rem}.reaction-wide-field{grid-column:1/-1}.reaction-wide-field small{color:#59645e;text-overflow:ellipsis;text-transform:none;white-space:nowrap;font:.52rem ui-monospace,monospace;overflow:hidden}.reaction-diagnostics{border-color:#c6615252;grid-column:1/-1;gap:.4rem;padding:.8rem;display:grid}.reaction-diagnostics>div{color:#d8a19a;background:#6a2c251a;grid-template-columns:minmax(10rem,.45fr) 1fr;gap:.6rem;padding:.45rem;font-size:.61rem;display:grid}.reaction-diagnostics strong{font-family:ui-monospace,monospace;font-weight:500}@media (max-width:1180px){.quest-copy-grid,.quest-requirements,.social-state-editor,.social-copy-editor,.social-scale-bounds,.social-condition-grid,.social-change-editor{grid-template-columns:1fr}.social-editor-summary,.social-copy-editor,.social-source-editor,.social-rule-diagnostics{grid-column:1}.social-band-list>div,.social-source-heading{grid-template-columns:1fr 1fr}.social-reason-copy{grid-column:1}.race-reaction-editor,.reaction-subject-editor,.reaction-matrix-grid,.reaction-condition-grid,.reaction-rule-identity,.reaction-outcome{grid-template-columns:1fr}.reaction-editor-summary,.reaction-subject-editor,.reaction-matrix,.reaction-rule-list,.reaction-rule-detail,.reaction-diagnostics,.reaction-outcome>header,.reaction-wide-field{grid-column:1}}.archive-welcome{text-align:center;align-content:center;place-items:center;height:100%;padding:4rem;display:grid}.welcome-sigil{aspect-ratio:1;width:76px;color:var(--gold);border:1px solid #deb96a66;place-items:center;margin-bottom:2rem;font:2rem Georgia,serif;display:grid;transform:rotate(45deg);box-shadow:0 0 60px #deb96a1a}.archive-welcome h1{max-width:48rem;font-size:clamp(2.5rem,5vw,5rem)}.archive-welcome>p:not(.eyebrow){max-width:40rem;color:var(--muted);line-height:1.8}.archive-welcome .primary-button{width:auto;margin-top:1rem}.custody-path{color:#737e78;letter-spacing:.12em;text-transform:uppercase;gap:.8rem;margin-top:3rem;font-size:.64rem;display:flex}.custody-path i{color:var(--gold);font-style:normal}.inspector{border-left:1px solid var(--line-cool)}.inspector-heading{border-bottom:1px solid var(--line-cool)}.inspector-section{border-bottom:1px solid var(--line-cool);padding:1rem 1.2rem 1.2rem}.section-title{color:#87928c;letter-spacing:.14em;text-transform:uppercase;align-items:center;gap:.75rem;margin-bottom:.9rem;font-size:.58rem;font-weight:750;display:flex}.section-title i{background:var(--line-cool);flex:1;height:1px}.fact-grid{grid-template-columns:1fr 1fr;gap:.85rem;margin:0;display:grid}.fact-grid div{gap:.25rem;min-width:0;display:grid}.fact-grid dt{color:#66716b;text-transform:uppercase;font-size:.57rem}.fact-grid dd{color:#c5cbc7;text-overflow:ellipsis;margin:0;font:.67rem ui-monospace,SFMono-Regular,Consolas,monospace;overflow:hidden}.valid-panel{background:#7fc49b0d;border:1px solid #7fc49b26;align-items:center;gap:.7rem;padding:.75rem;display:flex}.valid-panel>span{color:var(--good)}.valid-panel>div{gap:.2rem;display:grid}.valid-panel strong{color:#a8d6ba;font-size:.68rem}.valid-panel small{color:#68776e;font-size:.6rem}.diagnostic-list{gap:.5rem;display:grid}.diagnostic{border-left:2px solid var(--danger);background:#7d2f261f;gap:.3rem;padding:.65rem;display:grid}.diagnostic strong{color:#dfa397;font:.62rem ui-monospace,monospace}.diagnostic span{color:#927a74;font-size:.62rem;line-height:1.4}.split-actions{grid-template-columns:1fr 1fr;gap:.55rem;display:grid}.split-actions button,.wide-button{border:1px solid var(--line);cursor:pointer;color:#b8bfbb;background:#151c19;padding:.68rem;font-size:.63rem}.split-actions button:hover,.wide-button:hover{color:var(--gold-bright);border-color:#deb96a80}.split-actions .reject{border-color:#d9776747}.split-actions .approve{border-color:#7fc49b47}.wide-button{width:100%;margin-top:.7rem}.preview-ticket,.review-card{border:1px solid var(--line-cool);background:#0b100e;gap:.3rem;margin-top:.65rem;padding:.7rem;display:grid}.preview-ticket span,.preview-ticket small,.review-card small{color:#6f7a74;font-size:.59rem}.preview-ticket strong{color:#b9c2bc;font:.65rem ui-monospace,monospace}.review-card p{color:#9da6a1;margin:.35rem 0 0;font-size:.65rem;line-height:1.5}.muted-copy{color:#68736d;font-size:.68rem;line-height:1.5}.review-decision textarea{resize:vertical;text-transform:none;min-height:74px;padding:.65rem}.publish-button{gap:.25rem;width:100%;margin-top:.7rem;padding:.75rem;display:grid}.publish-button small{opacity:.68;letter-spacing:.07em;font-size:.52rem}.history-section{padding-bottom:3rem}.history-row{cursor:pointer;text-align:left;background:0 0;border:0;border-bottom:1px solid #c6d3cc0f;grid-template-columns:30px 1fr auto;align-items:center;gap:.55rem;width:100%;padding:.55rem 0;display:grid}.history-row>span{color:var(--gold);font:.65rem ui-monospace,monospace}.history-row>div{gap:.15rem;display:grid}.history-row strong{color:#aab2ad;font-size:.63rem}.history-row small{color:#5e6963;font-size:.55rem}.history-row em{color:#718078;font-size:.54rem;font-style:normal}.toast{z-index:20;color:#b9d2c3;background:#101914;border:1px solid #7fc49b47;align-items:center;gap:.7rem;width:min(28rem,100vw - 2rem);padding:.85rem;font-size:.72rem;display:flex;position:fixed;bottom:1rem;right:1rem;box-shadow:0 16px 50px #00000080}.toast>span{color:var(--good)}.toast.error{color:#d8aaa2;background:#1b100e;border-color:#d977674d}.toast.error>span{color:var(--danger)}.toast button{cursor:pointer;color:inherit;background:0 0;border:0;margin-left:auto;font-size:1rem}@media (max-width:1120px){.studio-shell{grid-template-columns:240px minmax(440px,1fr) 310px}.studio-header{grid-template-columns:240px 1fr auto}.staff-chip>div:nth-child(2),.header-context{display:none}}@media (max-width:860px){.login-screen{grid-template-columns:1fr}.login-atmosphere{display:none}.login-panel{min-height:100vh}.studio-shell{grid-template:62px 180px minmax(480px,auto) auto/1fr;max-height:none;overflow:visible}.studio-header{z-index:10;grid-column:1;grid-template-columns:1fr auto;position:sticky;top:0}.document-rail{border-right:0;border-bottom:1px solid var(--line-cool)}.rail-heading{padding:.7rem 1rem .3rem}.filter-strip,.rail-footer{display:none}.document-list{padding:.3rem .7rem .7rem;display:flex;overflow-x:auto}.document-card{min-width:250px}.workbench{min-height:620px}.inspector{border-left:0;border-top:1px solid var(--line-cool)}}
