:root{color:#f4f4f2;background:#050505;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:geometricPrecision}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100%;margin:0}body{min-height:100vh;overflow-x:hidden;background:#050505}button,input{font:inherit}button{letter-spacing:0}.mystery-gate{position:relative;min-height:100svh;overflow:hidden;isolation:isolate;background:#050505;color:#f4f4f2;transition:background-color .36s ease,color .36s ease}.gate-visual{position:absolute;z-index:-3;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;transition:filter .42s ease,opacity .42s ease}.gate-shade{position:absolute;z-index:-2;inset:0;background:#00000047;transition:background-color .42s ease}.mystery-gate.is-inverted{background:#f2f0ec;color:#111}.mystery-gate.is-inverted .gate-visual{filter:invert(1) grayscale(1) contrast(1.12);opacity:.82}.mystery-gate.is-inverted .gate-shade{background:#ffffff2e}.gate-header{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(1rem,3vw,3.5rem);border-bottom:1px solid rgba(255,255,255,.14)}.is-inverted .gate-header{border-bottom-color:#0003}.wordmark{display:flex;align-items:baseline;gap:.75rem}.wordmark>span{color:#fff;font-size:1.05rem;font-weight:900;text-transform:uppercase}.wordmark>span:first-letter{color:#dd1f2b}.wordmark small{color:#8a8a8a;font:700 .63rem ui-monospace,SFMono-Regular,Consolas,monospace}.is-inverted .wordmark>span{color:#0a0a0a}.is-inverted .wordmark small{color:#4c4c4c}.rules-command,.text-command,.exit-command{min-height:34px;border:1px solid rgba(255,255,255,.25);border-radius:2px;background:#00000080;color:#d8d8d8;cursor:pointer}.rules-command{display:inline-flex;align-items:center;gap:.5rem;padding:.45rem .65rem;font:750 .7rem ui-monospace,SFMono-Regular,Consolas,monospace;text-transform:uppercase}.rules-command:hover,.rules-command:focus-visible{border-color:#ef3440;color:#fff;outline:2px solid #ef3440;outline-offset:2px}.rules-light{width:6px;height:6px;background:#dc1f2b;box-shadow:0 0 10px #dc1f2b}.is-inverted .rules-command{border-color:#0000004d;background:#ffffffbd;color:#111}.gate-console{width:min(600px,calc(100vw - 2rem));min-height:380px;display:flex;flex-direction:column;align-items:center;position:absolute;left:50%;top:52%;transform:translate(-50%,-50%);padding:1.6rem 1rem 1rem;perspective:900px;text-align:center}.console-index{margin:0 0 .65rem;color:#dc1f2b;font:800 .64rem ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.16em}.gate-console h1{margin:0;color:#f5f5f3;font-size:clamp(1.2rem,2.2vw,1.8rem);font-weight:760;letter-spacing:0}.is-inverted .gate-console h1{color:#0a0a0a}.console-instruction{margin:.35rem 0 1.35rem;color:#8d8d8d;font:650 .72rem ui-monospace,SFMono-Regular,Consolas,monospace}.is-inverted .console-instruction{color:#3f3f3f}.slot-machine{width:min(430px,90vw);height:92px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem;position:relative;transform-style:preserve-3d;cursor:text}.slot-machine.single{width:92px;grid-template-columns:1fr}.entry-slot{min-width:0;display:grid;place-items:center;border:1px solid #606060;border-top-color:#a2a2a2;border-radius:3px;background:#050505e6;box-shadow:inset 0 0 0 1px #111,0 8px 20px #00000073;color:#fff;font:800 clamp(1.55rem,4vw,2.2rem) ui-monospace,SFMono-Regular,Consolas,monospace;text-transform:uppercase}.entry-slot i{width:11px;height:2px;background:#5d5d5d}.single .entry-slot{border-color:#b4232d;box-shadow:inset 0 0 0 1px #26080b,0 0 22px #dc1f2b33}.is-inverted .entry-slot{border-color:#111;border-top-color:#111;background:#fff;box-shadow:7px 7px #111;color:#111}.gate-input{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:transparent;color:transparent;caret-color:transparent;opacity:.01;outline:0}.slot-machine:focus-within .entry-slot{border-color:#e02b36}.slot-machine.is-rejecting{animation:slot-reject .72s cubic-bezier(.2,.75,.25,1)}.slot-machine.is-rejecting .entry-slot{border-color:#ff3542}@keyframes slot-reject{0%{transform:translate(0) rotateY(0)}15%{transform:translate(-14px) rotateY(35deg)}32%{transform:translate(12px) rotateY(165deg)}55%{transform:translate(-9px) rotateY(285deg)}78%{transform:translate(7px) rotateY(350deg)}to{transform:translate(0) rotateY(360deg)}}.console-status{min-height:32px;display:flex;align-items:center;gap:.45rem;margin-top:1rem;color:#979797;font:650 .66rem ui-monospace,SFMono-Regular,Consolas,monospace;text-transform:uppercase}.console-status small{padding-left:.5rem;border-left:1px solid #444444;color:#686868}.status-signal{width:6px;height:6px;background:#727272}.status-signal.alert{background:#ee2935;box-shadow:0 0 10px #ee2935}.is-inverted .console-status{color:#282828}.proceed-command{min-width:166px;min-height:46px;display:inline-flex;align-items:center;justify-content:space-between;gap:2rem;margin-top:.7rem;padding:0 1rem;border:1px solid #e52a36;border-radius:2px;background:#d71925;color:#fff;font-size:.78rem;font-weight:850;text-transform:uppercase;cursor:pointer;animation:command-enter .28s ease-out both}.proceed-command:hover,.proceed-command:focus-visible{background:#ff3340;outline:2px solid #ffffff;outline-offset:2px}.proceed-command span{font-size:1.1rem}.is-inverted .proceed-command{border-color:#111;background:#111;color:#fff}@keyframes command-enter{0%{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}.gate-footer{height:34px;display:flex;align-items:center;justify-content:space-between;position:absolute;right:0;bottom:0;left:0;padding:0 clamp(1rem,3vw,3.5rem);border-top:1px solid rgba(255,255,255,.1);color:#656565;font:650 .56rem ui-monospace,SFMono-Regular,Consolas,monospace}.is-inverted .gate-footer{border-top-color:#0003;color:#353535}.boot-state,.fatal-state{min-height:100vh;display:grid;place-content:center;gap:.75rem;padding:2rem;background:#050505;color:#eeeeec;text-align:center}.boot-mark{width:44px;height:44px;display:grid;place-items:center;margin:auto;border:1px solid #d71925;color:#d71925;font-weight:900}.boot-state p{color:#858585;font:700 .7rem ui-monospace,SFMono-Regular,Consolas,monospace;text-transform:uppercase}.fatal-state strong{color:#ff3643}.fatal-state span{max-width:560px;color:#bcbcbc}.decision-lab{min-height:100vh;background:#0b0b0b;color:#f0f0ed}.lab-header{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.65rem 1rem;border-bottom:1px solid #3a3a3a;background:#111}.lab-header h1{margin:.12rem 0 0;font-size:1rem;letter-spacing:0}.system-label{color:#d52a35;font:800 .58rem ui-monospace,SFMono-Regular,Consolas,monospace;text-transform:uppercase}.lab-actions{display:flex;align-items:center;gap:.5rem}.rules-source{color:#949494;font:650 .64rem ui-monospace,SFMono-Regular,Consolas,monospace}.text-command,.exit-command{padding:.35rem .55rem;font-size:.7rem;font-weight:750}.exit-command{border-color:#cf2631;background:#cf2631;color:#fff}.text-command:hover,.text-command:focus-visible,.exit-command:hover,.exit-command:focus-visible{outline:2px solid #ef3440;outline-offset:2px}.lab-contract{min-height:34px;display:flex;align-items:center;gap:1.2rem;padding:.4rem 1rem;border-bottom:1px solid #343434;background:#1a1a1a;color:#a2a2a2;font:650 .62rem ui-monospace,SFMono-Regular,Consolas,monospace}.lab-contract strong{color:#fff}.lab-notice{padding:.45rem 1rem;border-bottom:1px solid #8e2830;background:#2b1113;color:#ffb5ba;font-size:.72rem;font-weight:700}.decision-editor-mount{min-height:calc(100vh - 98px);position:relative;background:#fff}.decision-editor-mount company-dmn-editor{min-height:calc(100vh - 98px)}.editor-state{padding:1rem;border-bottom:1px solid #b9d2df;background:#edf5f9;color:#315567;font-size:.78rem;font-weight:700}.editor-state.error{border-color:#dc2626;background:#fff3f3;color:#991b1b}@media(max-width:700px){.gate-header{height:58px;padding:0 1rem}.wordmark small{display:none}.rules-command{min-height:32px}.gate-console{top:50%;padding:1rem .5rem}.slot-machine{height:72px;gap:.38rem}.slot-machine.single{width:72px}.gate-footer span:nth-child(2){display:none}.lab-header{align-items:flex-start;flex-direction:column}.lab-actions{width:100%;flex-wrap:wrap}.rules-source{width:100%}.lab-contract{overflow-x:auto;white-space:nowrap}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:1ms!important;animation-iteration-count:1!important;transition-duration:1ms!important}}
