:root{--bg: #faf9f7;--panel: #ffffff;--ink: #1f1e1c;--dim: #6b6960;--muted: #8a8880;--pink: #b8548a;--pink-deep: #9c3d70;--cyan: #b8548a;--line: #ded9d0;--line-soft: #e6e2d8;--warn: #a67c2a;--ok: #4a7c59;--chip: #f3f1ec}*{box-sizing:border-box}html,body,#root{margin:0;height:100%}body{background:var(--bg);color:var(--ink);font-family:IBM Plex Sans,system-ui,sans-serif;font-size:15px;line-height:1.5}a{color:var(--pink);text-decoration:none}a:hover{color:var(--pink-deep)}button,.btn{font:inherit;cursor:pointer;background:transparent;color:var(--ink);border:1px solid var(--line);padding:8px 14px;border-radius:0}button.primary,.btn.primary{border-color:var(--pink);color:var(--pink-deep)}button.cyan,.btn.cyan{border-color:var(--pink);color:var(--pink)}button:hover,.btn:hover{background:var(--chip)}input,textarea{font:inherit;background:#fff;color:var(--ink);border:1px solid var(--line);padding:8px 10px;width:100%}.landing{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 20px;text-align:center;background:var(--bg)}.landing-brand{position:relative;display:flex;align-items:stretch;justify-content:center;margin:0 0 20px;max-width:min(92vw,720px);min-height:clamp(140px,28vw,220px)}.landing-brand-tile{position:absolute;left:0;top:0;bottom:0;width:clamp(110px,22vw,180px);border-radius:2px;background-color:transparent;background-image:url(/landing-cubes.png);background-size:contain;background-position:center center;background-repeat:no-repeat;opacity:1;z-index:0;filter:invert(1);mix-blend-mode:multiply}.landing-brand-type{position:relative;z-index:1;text-align:left;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;padding:28px 8px 4px clamp(100px,20vw,168px)}.landing h1{font-family:Space Grotesk,sans-serif;font-size:clamp(42px,9vw,78px);font-weight:600;margin:0;color:var(--ink);letter-spacing:-.03em;line-height:.92;position:relative;z-index:1}.landing-login-arrow{align-self:flex-end;margin:4px .15em 0 0;padding:2px 4px;font-family:Space Grotesk,sans-serif;font-size:clamp(18px,3vw,26px);font-weight:500;line-height:1;color:var(--ink);text-decoration:none;border:0;background:transparent;transition:color .15s ease,transform .15s ease}.landing-login-arrow:hover{color:var(--pink-deep);transform:translate(3px)}.landing-brand-over{position:relative;z-index:2;margin:0 0 -.42em .08em;font-family:Space Grotesk,sans-serif;font-size:clamp(22px,4.2vw,36px);font-weight:600;letter-spacing:-.01em;text-transform:lowercase;color:var(--muted);line-height:1;text-shadow:none}.kicker{letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-family:IBM Plex Mono,monospace;font-size:12px}.sub{color:var(--dim);max-width:46ch}.top{display:flex;align-items:center;gap:16px;padding:12px 18px;border-bottom:1px solid var(--line-soft);background:var(--bg)}.brand-logo{display:inline-block;flex-shrink:0;margin:0;padding:0;border:0;border-radius:2px;background-color:transparent;background-image:url(/landing-cubes.png);background-size:contain;background-position:center;background-repeat:no-repeat;filter:invert(1);mix-blend-mode:multiply;cursor:pointer;text-decoration:none}.brand-logo:hover{opacity:.75}.top h1,.top h2{font-family:Space Grotesk,sans-serif;font-weight:600;font-size:18px;margin:0}.top .grow{flex:1;color:var(--muted);font-size:13px}.badge{border:1px solid var(--line);color:var(--dim);padding:4px 10px;font-size:12px;font-family:IBM Plex Mono,monospace;border-radius:20px}.wrap{max-width:1100px;margin:0 auto;padding:28px 20px 80px}.project-list{list-style:none;margin:20px 0 0;padding:0;border:1px solid var(--line-soft);border-radius:8px;overflow:hidden}.project-list li+li{border-top:1px solid var(--line-soft)}.project-row{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px 10px 18px;text-align:left;background:transparent;color:inherit;font:inherit}.project-row:hover{background:#00000005}.project-open{display:flex;align-items:center;gap:16px;flex:1;min-width:0;padding:4px 0;text-align:left;background:transparent;border:none;cursor:pointer;color:inherit;font:inherit}.project-open:disabled{opacity:.6;cursor:wait}.project-delete{flex-shrink:0;border:1px solid var(--line-soft);background:transparent;color:var(--muted);font-size:12px;font-family:IBM Plex Mono,monospace;padding:8px 12px;cursor:pointer;border-radius:6px}.project-delete:hover:not(:disabled){color:#a12b2b;border-color:#d9a0a0;background:#faf4f4}.project-delete:disabled{opacity:.5;cursor:wait}.project-icon.portrait,.project-icon.preview-img{flex-shrink:0;border-radius:10px}.project-main{flex:1;min-width:0}.project-title-row{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.project-title-row h3{margin:0;font-family:Space Grotesk,sans-serif;font-weight:600;font-size:17px}.project-lang{font-size:11px;color:var(--muted);font-family:IBM Plex Mono,monospace;text-transform:uppercase}.project-logline{margin:4px 0 0;font-size:13px;color:var(--dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-stats{display:flex;gap:14px;flex-shrink:0}.project-stat{display:flex;flex-direction:column;align-items:center;min-width:2.5rem;font-family:IBM Plex Mono,monospace}.project-stat-n{font-size:14px;font-weight:500;color:var(--ink)}.project-stat-l{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.project-updated{flex-shrink:0;width:9.5rem;text-align:right;font-size:12px;color:var(--muted);font-family:IBM Plex Mono,monospace;white-space:nowrap}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}.card{background:transparent;border:1px solid var(--line-soft);border-left:2px solid var(--pink);padding:16px 18px;text-align:left;cursor:pointer}.card h3{margin:0 0 6px;font-family:Space Grotesk,sans-serif;font-weight:600}.card p{margin:0 0 10px;color:var(--dim);font-size:14px}.cast-card{display:flex;flex-direction:column;gap:12px;cursor:default;padding:0;overflow:hidden}.cast-card-main{display:flex;gap:14px;width:100%;padding:16px 18px 0;border:0;background:transparent;text-align:left;cursor:pointer;color:inherit;font:inherit}.cast-card-actions{display:flex;justify-content:flex-end;padding:0 14px 14px}.meta{font-size:12px;color:var(--muted);display:flex;gap:10px;flex-wrap:wrap;font-family:IBM Plex Mono,monospace}.connect{margin-top:36px;border:1px solid var(--line-soft);padding:18px 20px;background:transparent}.connect ol{color:var(--dim);padding-left:18px}.mcp-url{display:flex;gap:8px;align-items:center;margin:10px 0}.mcp-url code{flex:1;background:var(--chip);padding:8px;overflow:auto;color:var(--pink-deep);font-family:IBM Plex Mono,monospace;font-size:12px}.workspace{display:grid;grid-template-rows:auto auto 1fr;height:100%;background:var(--bg)}.tabs{display:flex;gap:0;border-bottom:1px solid var(--line-soft);padding:0 12px;background:var(--bg)}.tabs button{border:0;border-bottom:2px solid transparent;color:var(--muted);font-family:IBM Plex Mono,monospace;font-size:12px;letter-spacing:.06em;text-transform:uppercase;padding:12px 14px}.tabs button.on{border-bottom-color:var(--pink);color:var(--ink)}.body{display:grid;grid-template-columns:1fr 340px;min-height:0}.body>.view{overflow:auto;padding:28px 24px 64px}.inspector{border-left:1px solid var(--line-soft);overflow:auto;padding:20px 18px;background:#fff}.inspector h3{color:var(--ink);margin-top:0;font-family:Space Grotesk,sans-serif;font-weight:600}.inspector h4{color:var(--muted);margin:18px 0 6px;font-size:12px;letter-spacing:.12em;text-transform:uppercase;font-family:IBM Plex Mono,monospace;font-weight:400}.inspector .tech{background:var(--chip);border:1px solid var(--line-soft);padding:10px;font-size:12px;white-space:pre-wrap;font-family:IBM Plex Mono,monospace;color:var(--dim)}.empty{color:var(--muted);padding:40px 8px}.map-wrap{display:flex;flex-direction:column;gap:10px}.map-svg{width:100%;height:auto;min-height:360px;max-height:min(70vh,720px);background:#f7f5f0;border:1px solid var(--line-soft);border-radius:8px}.map-edge{stroke:#c9c3b8;stroke-width:1.6;opacity:.9}.map-edge.blocked{stroke:#b8548a;stroke-width:1.8;stroke-dasharray:5 4}.map-node{cursor:pointer}.map-node-bg{fill:#fffcf7;stroke:#d8d2c6;stroke-width:1.25}.map-node-accent{fill:#c9c3b8}.map-node-glyph{font-size:9px;font-family:IBM Plex Mono,monospace;font-weight:600;letter-spacing:-.02em;pointer-events:none}.map-node-title{fill:var(--ink);font-size:12.5px;font-family:Space Grotesk,sans-serif;font-weight:600;pointer-events:none}.map-node-role{fill:var(--muted);font-size:9.5px;font-family:IBM Plex Mono,monospace;letter-spacing:.08em;text-transform:uppercase;pointer-events:none}.map-node.role-start .map-node-bg{stroke:#b8548a;stroke-width:1.6}.map-node.role-start .map-node-accent,.map-node.role-start .map-node-role{fill:#b8548a}.map-node.role-hub .map-node-bg{stroke:#9c3d70;stroke-width:1.8;fill:#fff8fb}.map-node.role-hub .map-node-accent,.map-node.role-hub .map-node-role{fill:#9c3d70}.map-node.role-finale .map-node-bg{stroke:#9c3d70;stroke-width:2;fill:#faf4f7}.map-node.role-finale .map-node-accent,.map-node.role-finale .map-node-role{fill:#9c3d70}.map-node.role-transit .map-node-bg{stroke:#b8b2a6;stroke-dasharray:4 3}.map-node.role-transit .map-node-accent{fill:#b8b2a6}.map-node.role-dead_end .map-node-bg{stroke:#c4c0b5;stroke-dasharray:2 3;fill:#f3f1ec}.map-node.role-dead_end .map-node-accent{fill:#c4c0b5}.map-node.lit .map-node-bg{stroke:var(--pink);stroke-width:2.2;filter:drop-shadow(0 0 .5px var(--pink))}.map-legend{display:flex;flex-wrap:wrap;gap:8px 14px;font-family:IBM Plex Mono,monospace;font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.map-legend-item{display:inline-flex;align-items:center;gap:6px}.map-legend-item:before{content:"";width:10px;height:10px;border-radius:2px;border:1.5px solid #d8d2c6;background:#fffcf7}.map-legend-item.role-start:before{border-color:#b8548a;background:#fff}.map-legend-item.role-hub:before{border-color:#9c3d70;background:#fff8fb}.map-legend-item.role-finale:before{border-color:#9c3d70;background:#faf4f7;border-width:2px}.map-legend-item.role-transit:before{border-style:dashed}.map-legend-item.role-dead_end:before{border-style:dashed;background:#f3f1ec}.node{cursor:pointer}.node text{font-family:IBM Plex Sans,sans-serif;pointer-events:none}.node.start rect{stroke:var(--pink)}.node.finale rect{stroke:var(--pink-deep)}.node.transit rect{stroke:#c4c0b5}.node.dead_end rect{stroke:#c4c0b5;stroke-dasharray:3 3}.node.hub rect{stroke:var(--pink)}.node.lit rect,.card.lit{outline:2px solid var(--pink);outline-offset:1px}.role{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-family:IBM Plex Mono,monospace}.path{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:8px 0}.path span{border:1px solid var(--line);padding:3px 8px;font-size:12px;font-family:IBM Plex Mono,monospace;color:var(--dim);border-radius:20px}.path span.arrow{border:0;color:var(--pink);padding:0}.issue{border-left:2px solid var(--warn);padding:10px 12px;margin:8px 0;background:transparent;border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft);border-right:1px solid var(--line-soft);cursor:pointer}.issue.error{border-left-color:var(--pink-deep)}.issue.info{border-left-color:var(--muted)}.portrait{width:88px;height:88px;background:var(--chip);border:1px solid var(--line);border-radius:6px;display:grid;place-items:center;color:var(--dim);font-family:IBM Plex Mono,monospace;font-size:22px;flex-shrink:0;object-fit:cover}.overview{max-width:920px}.ov-section{margin-bottom:56px}.ov-kicker{letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-family:IBM Plex Mono,monospace;font-size:12px;margin:0 0 16px}.ov-title{font-family:Space Grotesk,sans-serif;font-size:clamp(32px,5vw,40px);font-weight:600;line-height:1.1;margin:0 0 16px;color:var(--ink)}.ov-logline{color:#55534d;font-size:17px;line-height:1.65;max-width:640px;margin:0 0 22px}.ov-story-head{display:flex;gap:22px;align-items:flex-start;margin-bottom:8px}.ov-story-head .ov-title{margin-top:0}.ov-story-head .ov-logline{margin-bottom:0}.project-icon-upload{flex-shrink:0;display:flex;flex-direction:column;align-items:center;gap:4px;width:56px;max-width:56px}.project-icon-upload .file-btn-icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:22px;margin:0;padding:0;font-size:12px;line-height:1;border-radius:4px;color:var(--muted)}.project-icon-upload .file-btn-icon:hover{color:var(--ink);background:var(--chip)}.ov-story-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:8px}.ov-story-grid h3{font-family:IBM Plex Mono,monospace;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-size:12px;font-weight:400;margin:0 0 8px}.ov-story-grid p{margin:0;color:var(--ink);line-height:1.55;font-size:15px}.ov-mech-list{display:grid;gap:0}.ov-mech-section{margin-bottom:28px;border:1px solid var(--line-soft);border-radius:6px;padding:0;background:transparent}.ov-mech-summary{list-style:none;display:flex;align-items:center;gap:10px;cursor:pointer;padding:8px 12px;-webkit-user-select:none;user-select:none}.ov-mech-summary::-webkit-details-marker{display:none}.ov-mech-summary .ov-kicker{margin:0;flex:1}.ov-mech-summary:before{content:"▸";color:var(--muted);font-size:11px;line-height:1;width:10px}.ov-mech-section[open]>.ov-mech-summary:before{content:"▾"}.ov-mech-count{font-family:IBM Plex Mono,monospace;font-size:11px;color:var(--muted);min-width:1.5rem;text-align:right}.ov-mech-body{padding:0 12px 10px;border-top:1px solid var(--line-soft)}.ov-mech{border-top:1px solid var(--line-soft);padding:8px 0;background:transparent}.ov-mech:first-child{border-top:0}.ov-mech:last-child{border-bottom:0}.ov-mech-head{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.ov-mech .role{font-size:10px;margin:0}.ov-mech h3{margin:0;font-size:13px;font-family:Space Grotesk,sans-serif;font-weight:600}.ov-mech p{margin:4px 0 0;color:var(--dim);font-size:13px;line-height:1.45}.ov-mech .meta{margin-top:4px;gap:6px;font-size:11px}.ov-mech .additional-data{margin-top:6px;padding-top:6px}.ov-mech-section .additional-data{margin-top:8px;padding-top:8px}.ov-fails{color:var(--dim);margin:10px 0 0;padding-left:18px}.loc-stack{display:flex;flex-direction:column;gap:28px}.loc-module{--loc-accent: var(--pink);border:1px solid var(--line-soft);border-left:4px solid var(--loc-accent);background:linear-gradient(180deg,#faf9f6,#fff 48px);padding:0;margin-bottom:0;border-radius:2px;overflow:hidden}.loc-module.lit{outline:none;border-color:color-mix(in srgb,var(--loc-accent) 45%,var(--line-soft));box-shadow:0 0 0 1px color-mix(in srgb,var(--loc-accent) 25%,transparent)}.loc-module.lit .loc-module-head h2 button{color:var(--pink-deep)}.loc-module-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0;padding:14px 18px 12px;border-bottom:1px solid var(--line-soft);background:#ffffffb8}.loc-module-mark{color:var(--loc-accent);font-size:14px;line-height:1;margin-right:-4px}.loc-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:4px;border:1.5px solid;font-family:IBM Plex Mono,monospace;font-weight:600;letter-spacing:-.04em;line-height:1;-webkit-user-select:none;user-select:none}.loc-card-head{display:flex;align-items:flex-start;gap:12px;margin-bottom:8px}.loc-card-head h3{margin:2px 0 0}.loc-card-head .role{margin:0}.inspector-loc-head{display:flex;align-items:flex-start;gap:12px;margin-bottom:8px}.inspector-loc-head h3{margin:2px 0 0}.loc-exit-link{display:inline-flex;align-items:center;gap:6px;vertical-align:middle}.loc-module-head h2{margin:0;font-size:22px;font-family:Space Grotesk,sans-serif;font-weight:600;letter-spacing:-.01em}.loc-module-head code{color:var(--muted);font-size:12px;font-family:IBM Plex Mono,monospace;margin-left:auto}.loc-module-body{padding:16px 18px 8px}.loc-module-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 18px 10px;border-top:1px dashed var(--line-soft);background:#f6f5f1}.loc-module-end{font-family:IBM Plex Mono,monospace;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.loc-module-foot code{font-size:11px;color:var(--muted);font-family:IBM Plex Mono,monospace}.loc-desc{color:var(--dim);margin:0 0 18px;line-height:1.6;max-width:640px;font-size:15px}.loc-connected{display:grid;grid-template-columns:1fr 1fr;gap:24px}.loc-connected-cast{margin-bottom:18px}.loc-items-block{margin-top:4px;padding-top:8px;border-top:1px solid var(--line-soft)}.loc-items-block h4,.loc-connected h4{margin:0 0 10px;color:var(--muted);font-size:12px;letter-spacing:.12em;text-transform:uppercase;font-family:IBM Plex Mono,monospace;font-weight:400}.npc-row,.item-row{display:flex;flex-direction:column;gap:2px}.npc-chip,.item-chip{display:flex;gap:10px;align-items:center;text-align:left;width:100%;padding:8px 0;border:0;border-bottom:1px solid var(--line-soft);background:transparent;border-radius:0}.npc-chip:last-child,.item-chip:last-child{border-bottom:0}.npc-chip.lit,.item-chip.lit{outline:none}.npc-chip.lit strong,.item-chip.lit code{color:var(--pink-deep)}.npc-chip span,.item-chip span{display:flex;flex-direction:column;gap:2px;min-width:0}.npc-chip strong{font-size:14px;font-weight:500;color:var(--ink)}.npc-chip em,.item-chip em{font-style:normal;color:var(--muted);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.item-chip-main{flex:1;min-width:0}.item-kind-icon{flex-shrink:0;width:1.4rem;text-align:center;font-size:12px;line-height:1;font-family:IBM Plex Mono,monospace}.item-kind-prop{color:var(--pink-deep)}.item-kind-decor{color:#8a8880}.item-kind-label{flex-shrink:0;font-family:IBM Plex Mono,monospace;font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.item-chip-prop .item-kind-label{color:var(--pink-deep)}.item-chip code{color:var(--ink);font-family:IBM Plex Mono,monospace;font-size:13px}.loc-exits{margin-top:16px;display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--dim);font-family:IBM Plex Mono,monospace}button.linkish{border:0;padding:0;color:var(--pink);background:transparent;text-align:left}button.linkish.title{color:var(--ink);font:inherit;font-family:Space Grotesk,sans-serif;font-weight:600}button.linkish:hover{color:var(--pink-deep);text-decoration:underline}.file-btn{display:inline-block;border:1px solid var(--line);padding:4px 10px;cursor:pointer;margin:6px 0;font-family:IBM Plex Mono,monospace;font-size:11px;line-height:1.2;color:var(--dim)}.file-btn input{display:none}.portrait-url{display:flex;gap:6px;margin-bottom:10px;align-items:center}.portrait-url input{flex:1;padding:4px 8px;font-size:12px}.portrait-url button{padding:4px 10px;font-size:11px;white-space:nowrap}.additional-data{margin-top:18px;padding-top:14px;border-top:1px dashed var(--line-soft)}.additional-data.collapsed{border-top:0;padding-top:8px}.additional-data-head{display:flex;align-items:baseline;gap:10px;margin-bottom:8px}.additional-data-head h4{margin:0}.additional-data textarea{width:100%;min-height:88px;resize:vertical;font:inherit;line-height:1.45;padding:10px 12px;border:1px solid var(--line-soft);background:#ffffff8c;color:var(--ink);border-radius:2px}.additional-data-actions{display:flex;gap:8px;margin-top:8px}.loc-module .additional-data{margin-top:16px}.sim-layout{display:flex;flex-direction:column;min-height:min(72vh,720px);align-items:stretch}.sim-layout>.sim-play{flex:1;min-height:0}.sim-inline-field{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:var(--muted);font-family:IBM Plex Mono,monospace}.sim-inline-field span{text-transform:uppercase;letter-spacing:.04em}.sim-inline-field select{font:inherit;font-size:12px;font-family:IBM Plex Sans,sans-serif;color:var(--ink);text-transform:none;letter-spacing:0;padding:4px 8px;border:1px solid var(--line-soft);border-radius:4px;background:#fff;max-width:160px}.sim-pane-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.sim-reset-conditions{font-size:12px;padding:5px 10px;border:1px solid var(--line-soft);border-radius:4px;background:#fff;color:var(--ink);cursor:pointer}.sim-reset-conditions:hover{border-color:var(--pink)}.sim-field{display:flex;flex-direction:column;gap:4px;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-family:IBM Plex Mono,monospace}.sim-field select{font:inherit;text-transform:none;letter-spacing:0;font-size:13px;font-family:IBM Plex Sans,sans-serif;color:var(--ink);padding:6px 8px;border:1px solid var(--line);background:#fff}.sim-reset{font-size:12px;padding:5px 10px;align-self:flex-start}.sim-block h4{margin:0 0 6px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-family:IBM Plex Mono,monospace;font-weight:400}.sim-block ul{margin:0;padding:0;list-style:none}.sim-block li{font-size:12px;padding:2px 0;font-family:IBM Plex Mono,monospace}.sim-muted{color:var(--muted);font-size:13px;margin:0}.sim-facts{display:flex;flex-direction:column;gap:2px}.sim-fact-toggle{display:flex;justify-content:space-between;gap:8px;width:100%;border:0;border-bottom:1px solid var(--line-soft);background:transparent;padding:4px 0;font:inherit;font-size:11px;font-family:IBM Plex Mono,monospace;color:var(--dim);cursor:pointer;text-align:left}.sim-fact-toggle:hover{color:var(--ink)}.sim-stage{display:flex;flex-direction:column;min-width:0;min-height:0}.sim-play{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;flex:1;min-height:0}.sim-play-left{display:flex;flex-direction:column;gap:12px;min-width:0;min-height:0}.sim-play-left .sim-pane-chat{flex:0 0 auto;min-height:0;display:flex;flex-direction:column;overflow:hidden}.sim-play-left .sim-pane-answers{flex:1 1 auto;min-height:0;max-height:none;overflow:hidden}.sim-pane-graph{min-height:0;display:flex;flex-direction:column}.sim-pane-graph .sim-graph{flex:1 1 auto;min-height:160px;max-height:none;border:0;border-radius:0;background:transparent;display:flex;flex-direction:column}.sim-graph-scroll{overflow:auto;flex:1;min-height:0;padding:12px}.sim-graph-svg{display:block;width:100%;height:auto;min-height:160px}.sim-graph-edge{fill:none;stroke:#e2ddd3;stroke-width:1.25}.sim-graph-edge.on{stroke:#c9a3b8;stroke-width:1.5}.sim-graph-node rect{fill:#faf9f6;stroke:#ddd6cb;stroke-width:1}.sim-graph-node.kind-player rect{fill:#f7eef3;stroke:#e5c9d8}.sim-graph-node.kind-entry rect{fill:#f3f7f4;stroke:#c5d9cc}.sim-graph-node.kind-exit rect{fill:#f4f0ea;stroke:#c4b8a8}.sim-graph-node.ready rect{stroke:var(--pink);stroke-width:1.75}.sim-graph-node.visited rect{opacity:.55}.sim-graph-node.here rect{fill:#fff;stroke:var(--pink-deep);stroke-width:2;opacity:1}.sim-graph-node.entry rect{stroke:var(--pink-deep);stroke-width:2.25;fill:#fff;opacity:1}.sim-graph-node.exit rect{stroke:#8a7355;stroke-width:2;fill:#faf6f0;opacity:1}.sim-graph-entry-mark{font-size:8px;font-weight:700;fill:var(--pink-deep);font-family:IBM Plex Sans,sans-serif}.sim-graph-exit-mark{font-size:8px;font-weight:700;fill:#8a7355;font-family:IBM Plex Sans,sans-serif}.sim-start-state{border-bottom:1px solid var(--line-soft);padding:10px 12px;background:#faf9f6;display:flex;flex-direction:column;gap:8px;flex:0 0 auto}.sim-start-row{display:grid;grid-template-columns:88px minmax(0,1fr);gap:8px;align-items:start}.sim-start-label{font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding-top:6px}.sim-chip-row{display:flex;flex-wrap:wrap;gap:6px}.sim-chip{border:1px solid var(--line-soft);background:#fff;border-radius:999px;padding:4px 10px;font-size:11px;cursor:pointer;color:var(--ink);font-family:IBM Plex Mono,monospace}.sim-chip.on{border-color:var(--pink);background:#f7eef3}.sim-chip.entry{border-style:dashed}.sim-chip.entry.on,.sim-chip.entry:hover{border-style:solid;border-color:var(--pink-deep)}.sim-entry-badge{display:inline-block;margin-left:8px;font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--pink-deep);vertical-align:middle}.sim-step-blocked{margin:0 0 10px;font-size:11px;color:#9c3d70;line-height:1.35}.sim-req-list li{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.sim-req-list li.bad code{color:#9c3d70}.sim-req-list li.ok code{color:var(--dim)}.sim-req-flag{font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}.sim-req-list li.ok .sim-req-flag{color:#5a7a62}.sim-req-list li.bad .sim-req-flag{color:#9c3d70}.sim-graph-dot{fill:var(--pink-deep)}.sim-graph-label{font-size:10px;fill:var(--ink);font-family:IBM Plex Sans,sans-serif}.sim-step-hint{margin:0;padding:10px 14px 14px;font-size:12px;color:var(--muted);border-top:1px solid var(--line-soft)}.sim-step-detail{flex:1 1 45%;min-height:0;overflow:auto;border-top:1px solid var(--line-soft);background:#faf9f6;padding:12px 14px 14px}.sim-step-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}.sim-step-detail-head h5{margin:0 0 2px;font-size:14px;font-weight:600;font-family:Space Grotesk,sans-serif}.sim-step-detail-head code{font-size:11px;color:var(--muted)}.sim-step-status.locked{font-size:11px;color:var(--muted);max-width:46%;text-align:right;line-height:1.35}.sim-step-dl{margin:0;display:flex;flex-direction:column;gap:10px}.sim-step-dl>div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:8px;align-items:start}.sim-step-dl dt{margin:0;font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding-top:2px}.sim-step-dl dd{margin:0;font-size:12px;line-height:1.4;color:var(--ink)}.sim-step-dl ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.sim-step-dl code{font-size:11px;word-break:break-word}.sim-step-lines p{margin:4px 0 0;color:var(--dim);white-space:pre-wrap}.sim-pane{display:flex;flex-direction:column;min-height:0;border:1px solid var(--line-soft);border-radius:6px;background:#fff;overflow:hidden}.sim-pane-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:8px 12px;border-bottom:1px solid var(--line-soft);background:#faf9f6}.sim-pane-head h4{margin:0;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-family:IBM Plex Mono,monospace;font-weight:400}.sim-here{font-size:10px;color:var(--pink-deep);max-width:55%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sim-count{font-size:11px;color:var(--muted);font-family:IBM Plex Mono,monospace;font-weight:400;text-transform:none;letter-spacing:0}.sim-transcript{height:min(360px,42vh);min-height:min(360px,42vh);max-height:min(360px,42vh);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:12px 14px;background:#fffcf7;display:flex;flex-direction:column;gap:10px;scroll-behavior:smooth}.sim-bubble{display:flex;gap:10px;align-items:flex-start;max-width:92%}.sim-bubble-npc{align-self:flex-start}.sim-bubble-player{align-self:flex-end;flex-direction:row-reverse;text-align:right}.sim-bubble-player>div{background:#f3e8ef;border:1px solid #e5c9d8;border-radius:12px 12px 4px;padding:8px 12px}.sim-bubble-npc>div{background:#fff;border:1px solid var(--line-soft);border-radius:12px 12px 12px 4px;padding:8px 12px}.sim-bubble p{margin:4px 0 0;font-size:14px;line-height:1.45;color:var(--ink);white-space:pre-wrap}.sim-bubble-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:baseline;font-size:12px}.sim-bubble-player .sim-bubble-meta{justify-content:flex-end}.sim-system{margin:0;font-size:11px;color:var(--muted);font-family:IBM Plex Mono,monospace;align-self:center}.sim-loc-dd{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.sim-pane-answers{background:#faf9f6;min-height:0}.sim-answer-list{list-style:none;margin:0;padding:10px;display:flex;flex-direction:column;gap:8px;overflow:auto;flex:1;min-height:0}.sim-act-ok{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%;text-align:left;padding:10px 12px;border:1px solid var(--line-soft);border-radius:6px;background:#fff;cursor:pointer}.sim-act-ok:hover{border-color:var(--pink)}.sim-act-ok strong{font-size:13px;font-weight:500}.sim-act-gated{display:flex;flex-direction:column;gap:8px;padding:10px 12px;border:1px dashed #d4cdc0;border-radius:6px;background:#faf9f6}.sim-act-gated strong{font-size:13px;font-weight:500;color:var(--ink)}.sim-act-gated .sim-cue{display:block;margin-top:4px}.sim-grant-needed{margin-top:8px}.sim-grant-btn-needed{border-color:var(--pink);color:var(--pink-deep)}.sim-cue{font-size:11px;color:var(--muted);line-height:1.35}.sim-empty{margin:12px;font-size:13px;color:var(--muted);line-height:1.45}.sim-empty p{margin:0 0 6px}.sim-empty p:last-child{margin-bottom:0}.sim-elsewhere{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.sim-hint{margin:12px;font-size:12px;color:var(--dim);line-height:1.4}.sim-hint p{margin:0 0 8px}.sim-grant{display:flex;flex-wrap:wrap;gap:4px;align-items:center;margin-top:8px}.sim-grant-btn{font-family:IBM Plex Mono,monospace;font-size:10px;padding:2px 6px;border:1px solid var(--line-soft);background:#fff;color:var(--pink-deep);cursor:pointer}.sim-grant-btn:hover{border-color:var(--pink)}.sim-window{min-height:100vh;display:flex;flex-direction:column;background:var(--bg)}.sim-window-top{display:flex;align-items:center;gap:12px;padding:10px 16px;border-bottom:1px solid var(--line-soft);background:#fff;flex-wrap:wrap}.sim-window-title{display:flex;flex-direction:column;gap:2px;min-width:0}.sim-window-title h2{margin:0;font-size:18px;font-weight:500}.sim-window-id{margin-left:auto;font-size:11px;color:var(--muted)}.sim-window-err{color:#a12b2b;font-size:13px}.sim-window-body{flex:1;padding:16px;min-height:0;display:flex;flex-direction:column}.sim-window-body .sim-layout{flex:1;min-height:0}.sim-launcher{max-width:640px}.sim-launcher-list{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}.sim-launcher-card{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:10px 12px;border:1px solid var(--line-soft);border-radius:6px;background:#fff;cursor:pointer}.sim-launcher-card:hover{border-color:var(--pink)}.sim-launcher-card strong{display:block;font-size:14px;font-weight:500}.sim-launcher-card code{font-size:11px;color:var(--muted)}.sim-launcher-go{margin-left:auto;font-size:12px;color:var(--pink-deep)}@media(max-width:860px){.body{grid-template-columns:1fr}.inspector{border-left:0;border-top:1px solid var(--line-soft)}.ov-story-grid,.loc-connected{grid-template-columns:1fr}.project-row{flex-wrap:wrap}.project-open{flex-wrap:wrap;width:100%}.project-stats{order:3;width:100%;justify-content:flex-start;padding-left:68px}.project-updated{order:2;margin-left:auto;width:auto}.project-delete{margin-left:auto}.sim-pane-graph{min-height:280px}}.sim-game{display:flex;flex-direction:column;gap:0;height:100%;min-height:0;max-width:none;background:#faf9f7;color:var(--ink)}.sim-game-cap{font:500 11px/1 IBM Plex Mono,ui-monospace,monospace;letter-spacing:.09em;text-transform:uppercase;color:#6f6c65}.sim-game .mono{font-family:IBM Plex Mono,ui-monospace,monospace}.sim-game-toolbar{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:20px 24px;padding:14px 24px;border-bottom:1px solid #e5e2d9;background:#fefcf7;flex:none}.sim-game-controls{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-end}.sim-game-controls label{display:flex;flex-direction:column;gap:7px;font-size:14px;color:var(--ink);text-transform:none;letter-spacing:0;font-family:inherit}.sim-game-controls input[type=number]{height:40px;width:96px;padding:0 12px;border:1px solid #d9d5c9;border-radius:8px;background:#fff;font:inherit;font-size:15px;color:var(--ink);font-family:inherit;text-transform:none;letter-spacing:0}.sim-game-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-left:8px}.sim-game-controls>button,.sim-game-actions>button{height:40px;padding:0 16px;border:1px solid #d9d5c9;background:#fefcf7;border-radius:8px;font-size:14px;font-weight:500;color:var(--ink);cursor:pointer;font-family:inherit;line-height:1}.sim-game-controls>button:hover:not(:disabled),.sim-game-actions>button:hover:not(:disabled){background:#f2f1ec}.sim-game-controls>button:disabled,.sim-game-actions>button:disabled{opacity:.45;cursor:not-allowed;background:#fefcf7}.sim-game-controls>button.on,.sim-game-actions>button.on{border-color:#9c3d70;color:#9c3d70;background:#f5e4ec}.sim-game-start-btn{height:44px!important;padding:0 22px!important;font-size:14px!important;font-weight:700!important;border:1px solid #4d7a4a!important;border-radius:8px!important;background:#4d7a4a!important;color:#fff!important;line-height:1!important}.sim-game-start-btn:hover:not(:disabled){background:#43693f!important}.sim-game-check{flex-direction:row!important;align-items:center!important;gap:9px!important;height:40px;padding:0 6px;font-size:14px!important;font-family:inherit!important;text-transform:none!important;letter-spacing:0!important;color:var(--ink)!important}.sim-game-check input{width:18px;height:18px;margin:0;accent-color:#4d7a4a;flex:none}.sim-game-err{color:#a12b2b;font-size:13px;margin:0;padding:8px 24px;flex:none}.sim-game-meters{display:flex;align-items:stretch;border:1px solid #e5e2d9;border-radius:10px;background:#fff;overflow:hidden;flex:none;gap:0;flex-wrap:nowrap;font-size:inherit;color:inherit}.sim-game-meter{display:flex;flex-direction:column;gap:6px;padding:9px 18px;border-right:1px solid #ece9df;min-width:72px}.sim-game-meter:last-child{border-right:0}.sim-game-meter strong{font-family:IBM Plex Mono,ui-monospace,monospace;font-size:20px;line-height:1;font-weight:600;color:var(--ink)}.sim-game-meter-outcomes{font-family:IBM Plex Mono,ui-monospace,monospace;font-size:14px;line-height:20px;color:#6f6c65}.sim-game-meter-outcomes .ok,.sim-game-meter-outcomes b.ok{color:#2f5a2f;font-weight:600}.sim-game-meter.win{background:#e2ede2}.sim-game-meter.win .sim-game-cap{color:#2f5a2f}.sim-game-meter.win strong{display:inline-flex;align-items:center;gap:6px;font-size:16px;line-height:20px;color:#2f5a2f;font-family:inherit}.sim-game-meter.win.bad{background:#f5e4ec}.sim-game-meter.win.bad .sim-game-cap,.sim-game-meter.win.bad strong{color:#8a2f5f}.sim-game-log{height:120px;overflow:auto;margin:0 24px 12px;padding:8px 12px;font-size:11px;font-family:IBM Plex Mono,monospace;background:#fffcf7;border:1px solid #e5e2d9;border-radius:8px;flex:none}.sim-game-log-line{padding:1px 0;color:var(--dim)}.sim-game-split{flex:1;min-height:0;display:grid;grid-template-columns:248px 1fr;overflow:hidden;border:0;border-radius:0;background:transparent}.sim-game-list{border-right:1px solid #e5e2d9;background:#faf9f6;overflow:auto;min-height:0;display:flex;flex-direction:column}.sim-game-list-head{display:flex;align-items:center;justify-content:space-between;padding:16px 20px 12px;position:sticky;top:0;background:#faf9f6;z-index:1;border-bottom:0;font-size:inherit;text-transform:none;letter-spacing:0;color:inherit;font-family:inherit}.sim-game-list-count{color:var(--ink)!important}.sim-game-list-empty{padding:12px 20px;margin:0;font-size:13px}.sim-game-list ul{list-style:none;margin:0;padding:0 10px 16px;display:flex;flex-direction:column;gap:2px}.sim-game-list li{padding:0;border:none}.sim-game-variant-btn{display:grid;grid-template-columns:28px 1fr auto;gap:8px;align-items:center;width:100%;height:40px;text-align:left;padding:0 12px;border:0!important;border-radius:8px;background:transparent;font:inherit;font-size:12px;cursor:pointer;color:var(--ink);box-shadow:none}.sim-game-variant-btn:hover{background:#f2f1ec}.sim-game-variant-btn.active{background:#e9f1e8!important;box-shadow:inset 0 0 0 1px #bfd6bf;border:0!important}.sim-game-variant-n{font-family:IBM Plex Mono,monospace;font-size:13px;color:#6f6c65}.sim-game-variant-steps{font-family:IBM Plex Mono,monospace;font-size:14px;font-weight:500;color:var(--ink)}.sim-game-outcome-icon{display:inline-flex;align-items:center;justify-content:center;line-height:0}.sim-game-outcome-icon.win{color:#2f5a2f}.sim-game-outcome-icon.fail{color:#8a2f5f}.sim-game-outcome-icon.stuck,.sim-game-outcome-icon.truncated{color:#6f6c65}.sim-game-outcome{display:inline-flex;align-items:center;gap:7px;font:500 12px/1 IBM Plex Mono,ui-monospace,monospace;letter-spacing:.08em;text-transform:uppercase}.sim-game-outcome.win{color:#2f5a2f}.sim-game-outcome.fail{color:#8a2f5f}.sim-game-outcome.stuck,.sim-game-outcome.truncated{color:#6f6c65}.sim-game-outcome-pill{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px;border-radius:13px;font:600 12px/1 IBM Plex Mono,ui-monospace,monospace;letter-spacing:.08em;text-transform:uppercase}.sim-game-outcome-pill.win{background:#e2ede2;color:#2f5a2f}.sim-game-outcome-pill.fail{background:#f5e4ec;color:#8a2f5f}.sim-game-outcome-pill.stuck,.sim-game-outcome-pill.truncated{background:#f2f1ec;color:#6f6c65}.sim-game-detail{min-height:0;overflow:auto;background:#faf9f7;display:block}.sim-game-detail-empty{margin:0;padding:40px 20px;font-size:14px;text-align:center;color:#6f6c65}.sim-game-detail-inner{max-width:1040px;margin:0 auto;padding:24px 36px 48px;display:flex;flex-direction:column;gap:28px}.sim-game-detail-head{display:flex;flex-direction:column;gap:18px;padding:20px 22px;border:1px solid #e5e2d9;border-radius:12px;background:#fefcf7;position:static;top:auto;z-index:auto}.sim-game-detail-title-row{display:flex;align-items:center;gap:12px}.sim-game-detail-head h4{margin:0;font-size:24px;font-weight:700;letter-spacing:-.01em}.sim-game-detail-title p{margin:6px 0 0;font-size:14px}.sim-game-chat-index{display:flex;flex-direction:column;gap:10px;margin-top:0;flex-wrap:nowrap;align-items:stretch}.sim-game-chat-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.sim-game-chat-chip{display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:10px;width:100%;padding:10px 12px;border:1px solid #e5e2d9!important;border-radius:10px;background:#fff;text-align:left;font:inherit;cursor:pointer;color:var(--ink)}.sim-game-chat-chip:hover,.sim-game-chat-chip.open{border-color:#cfc9b9!important;background:#fefcf7}.sim-game-chat-chip .sim-game-npc-img,.sim-game-chat-chip .portrait{width:36px!important;height:36px!important;border-radius:9px;font-size:12px!important;object-fit:cover}.sim-game-chat-chip-body{display:flex;flex-direction:column;gap:6px;min-width:0}.sim-game-chat-chip-name{display:flex;align-items:center;gap:8px}.sim-game-chat-chip-name strong{font-size:15px;font-weight:600}.sim-game-chat-toggle{font:500 11px/1 IBM Plex Mono,ui-monospace,monospace;letter-spacing:.09em;text-transform:uppercase;color:#9c3d70;flex:none;margin-left:0}.sim-game-route{display:flex;flex-direction:column;gap:10px}.sim-game-route-trail{display:flex;align-items:center;flex-wrap:wrap;gap:6px 4px}.sim-game-route-stop{display:inline-flex;align-items:center;gap:4px}.sim-game-route-arrow{color:#aaa8a4}.sim-game-route .loc-icon{width:30px!important;height:26px!important;border-radius:7px;font-size:11px!important}.sim-game-timeline{display:flex;flex-direction:column;gap:26px}.sim-game-loc-group{display:flex;flex-direction:column;gap:10px}.sim-game-loc-head{display:flex;align-items:baseline;gap:12px;padding:0 4px}.sim-game-loc-head h3{margin:0;font-size:16px;font-weight:600}.sim-game-loc-head .loc-icon{align-self:center;width:32px!important;height:28px!important;border-radius:8px;font-size:12px!important}.sim-game-loc-card{border:1px solid #e5e2d9;border-radius:12px;background:#fff;overflow:hidden}.sim-game-step{padding:0;border:0;border-bottom:1px solid #ece9df;border-radius:0;border-left:0;background:#fff;font-size:13px;box-shadow:none}.sim-game-step:last-child{border-bottom:0}.sim-game-step.travel-row{background:#fbfaf6}.sim-game-step.kind-chat{background:#f0f5ef;padding:0;overflow:hidden;border-left:0}.sim-game-step.kind-travel,.sim-game-step.kind-choice,.sim-game-step.kind-info,.sim-game-step.kind-talk,.sim-game-step.kind-trade,.sim-game-step.kind-pickup,.sim-game-step.kind-device,.sim-game-step.kind-action{background:#fff;border-left:0}.sim-game-step.travel-row.kind-travel{background:#fbfaf6}.sim-game-step.has-effects{background:inherit}.sim-game-chat-kinds{display:inline-flex;flex-wrap:wrap;gap:5px;align-items:center}.sim-game-chat-kind{display:inline-flex;align-items:center;height:20px;padding:0 7px;border-radius:5px;border:0;font:500 11px/1 IBM Plex Mono,ui-monospace,monospace;letter-spacing:.06em;text-transform:uppercase;background:#f2f1ec;color:#6f6c65}.sim-game-chat-kind.kind-info{background:#e2ede2;color:#2f5a2f;border-color:transparent}.sim-game-chat-kind.kind-item{background:#efe8da;color:#6b5a3a;border-color:transparent}.sim-game-chat-kind.kind-choice{background:#f5e4ec;color:#8a2f5f;border-color:transparent}.sim-game-chat-head{display:grid;grid-template-columns:56px 40px 1fr auto;column-gap:14px;align-items:center;width:100%;text-align:left;padding:14px 18px;border:0!important;background:transparent;font:inherit;font-size:13px;cursor:pointer;color:var(--ink);border-radius:0}.sim-game-chat-head:hover,.sim-game-chat-head.open{background:#e9f1e8}.sim-game-chat-body{display:flex;flex-direction:column;gap:18px;padding:4px 18px 20px 88px;background:transparent;border-top:0}.sim-game-chat-thread{display:flex;flex-direction:column;gap:18px;max-width:none;margin:0;width:100%}.sim-game-chat-row{display:flex;align-items:flex-start;gap:10px;max-width:100%}.sim-game-chat-row.npc{align-self:flex-start;flex-direction:row}.sim-game-chat-row.you{align-self:stretch;justify-content:flex-end;margin-left:0;flex-direction:row}.sim-game-chat-avatar{flex-shrink:0;width:30px!important;height:30px!important;border-radius:8px!important;overflow:hidden;border:0;background:#fff}.sim-game-chat-bubble{position:relative;padding:12px 16px;max-width:620px;box-shadow:none}.sim-game-chat-bubble.npc{background:#fff;border:1px solid #dfe8dd;border-radius:4px 14px 14px}.sim-game-chat-bubble.you{max-width:480px;background:#f5e4ec;border:1px solid #e6bfd2;border-radius:14px 4px 14px 14px;text-align:left}.sim-game-chat-bubble-who{display:flex;align-items:baseline;gap:8px;font-size:13px;margin-bottom:6px;color:var(--ink)}.sim-game-chat-bubble-who strong{font-size:13px;font-weight:700}.sim-game-chat-bubble-text{margin:0;font-size:14.5px;line-height:1.55;white-space:pre-wrap;color:var(--ink)}.sim-game-chat-bubble.you .sim-game-chat-bubble-text{font-weight:500;line-height:1.5}.sim-game-chat-bubble-foot{display:flex;align-items:center;gap:8px;margin-top:8px}.sim-game-chat-row.you .sim-game-chat-bubble-foot{justify-content:flex-end}.sim-game-chat-bubble-meta{display:inline;margin-top:0;font-size:11px;font-family:IBM Plex Mono,monospace;color:#6f6c65;text-align:left}.sim-game-chat-bubble .sim-game-chat-kind{height:18px}.sim-game-chat-row.you .sim-game-chat-kind{background:#fff}.sim-game-step-head{display:grid;grid-template-columns:56px 36px 1fr;column-gap:14px;align-items:start;padding:16px 18px}.sim-game-step-head.travel{align-items:center;padding:11px 18px}.sim-game-step-badge{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;flex-shrink:0}.sim-game-step-i{justify-self:start;font-family:IBM Plex Mono,monospace;font-size:13px;font-weight:600;color:var(--ink);background:#f2f1ec;border:0;border-radius:7px;min-width:34px;height:28px;display:inline-flex;align-items:center;justify-content:center;padding:0 8px;line-height:1}.sim-game-step.kind-chat .sim-game-step-i{background:#e2ede2;color:#2f5a2f}.sim-game-step-range{font-family:IBM Plex Mono,monospace;font-size:11px;color:#6f6c65;padding-left:2px}.sim-game-type-tag{font:500 11px/1 IBM Plex Mono,ui-monospace,monospace;letter-spacing:.09em;text-transform:uppercase;color:#6f6c65}.sim-game-type-tag.type-travel{color:#6f6c65}.sim-game-type-tag.type-choice{color:#8a2f5f}.sim-game-type-tag.type-info{color:#2f5a2f}.sim-game-type-tag.type-trade,.sim-game-type-tag.type-pickup{color:#6b5a3a}.sim-game-type-tag.type-device{color:#3d5170}.sim-game-step-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}.sim-game-step-title-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.sim-game-step-sub{display:flex;flex-wrap:wrap;gap:8px 10px;align-items:center}.sim-game-travel-line{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%}.sim-game-travel-line-label{display:flex;align-items:baseline;gap:10px;min-width:0}.sim-game-travel-line .sim-game-step-act{font-size:13.5px;font-weight:500}.sim-game-travel-line .sim-game-step-deltas{margin:0;padding:0;background:transparent;border:0;justify-content:flex-end}.sim-game-step-icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:9px;background:#efece4;border:0;flex-shrink:0;line-height:0;color:#6f6c65}.sim-game-step-icon.type-travel{color:#6f6c65;background:#efece4}.sim-game-step-icon.type-choice{color:#8a2f5f;background:#f5e4ec}.sim-game-step-icon.type-info,.sim-game-step-icon.type-talk{color:#2f5a2f;background:#e2ede2}.sim-game-step-icon.type-trade,.sim-game-step-icon.type-pickup{color:#6b5a3a;background:#efe8da}.sim-game-step-icon.type-device{color:#3d5170;background:#e4eaf1}.sim-game-step-icon.type-action{color:#6f6c65;background:#f2f1ec}.sim-game-step-npc{display:inline-flex;flex-shrink:0;width:40px;height:40px;border-radius:10px;overflow:hidden;border:0;background:#fff}.sim-game-npc-img,.sim-game-step-npc .portrait{width:40px!important;height:40px!important;border-radius:10px;object-fit:cover;font-size:13px!important;display:flex;align-items:center;justify-content:center}.sim-game-step-act{font-size:15.5px;font-weight:600;line-height:1.3}.sim-game-step-id{display:inline-block;font-size:12px;color:#6f6c65;font-family:IBM Plex Mono,monospace}.sim-game-step-lines{margin:0 18px 14px 106px;padding:10px 12px;background:#faf9f7;border:1px solid #ece9df;border-radius:10px;border-left:1px solid #ece9df}.sim-game-step-lines p{margin:0 0 6px;font-size:13.5px;line-height:1.45}.sim-game-step-lines p:last-child{margin-bottom:0}.sim-game-speaker{font-family:IBM Plex Mono,monospace;font-size:11px;color:#9c3d70}.sim-game-chat-turn-block{display:flex;flex-direction:column;gap:10px}.sim-game-step-deltas{display:flex;flex-wrap:wrap;align-items:flex-start;gap:6px;margin:0 18px 16px 106px;padding:0;background:transparent;border:0;border-radius:0}.sim-game-step-head.travel+.sim-game-step-deltas,.sim-game-travel-line .sim-game-step-deltas{margin:0}.sim-game-chat-turn-block .sim-game-step-deltas{margin-left:40px;max-width:none}.sim-game-deltas-label{font:500 11px/26px IBM Plex Mono,ui-monospace,monospace;letter-spacing:.09em;text-transform:uppercase;color:#6f6c65;margin-right:4px;flex:none;font-weight:500}.sim-game-delta{display:inline-flex;align-items:center;gap:7px;height:26px;font:500 12px/1 IBM Plex Mono,ui-monospace,monospace;padding:0 9px;border-radius:6px;background:#fff;border:1px solid #e5e2d9;color:#6f6c65;white-space:nowrap;max-width:100%}.sim-game-delta b,.sim-game-delta .sim-game-delta-id{font-weight:600;font-style:normal;color:var(--ink)}.sim-game-delta i,.sim-game-delta .sim-game-delta-arrow{font-style:normal;color:#6f6c65;font-weight:500}.sim-game-delta.critical{border-color:#e5e2d9;background:#fff;color:#6f6c65;font-weight:500}.sim-game-delta.inv.add{background:#e2ede2;border-color:#bfd6bf;color:#2f5a2f;font-weight:600}.sim-game-delta.inv.remove{background:#f5e4ec;border-color:#e6bfd2;color:#8a2f5f;font-weight:600}.sim-game-delta.loc{background:#e4eaf1;border-color:#c3cfdf;color:#3d5170;font-weight:600}.sim-game-delta.note{color:#6f6c65;max-width:280px;overflow:hidden;text-overflow:ellipsis}.sim-game-delta.compact{height:22px;padding:0 7px;font-weight:600;color:var(--ink);font-family:inherit}.sim-game-delta.fold-btn{cursor:pointer;background:#fefcf7;border-color:#cfc9b9;color:var(--ink);font-weight:600;font-family:IBM Plex Mono,ui-monospace,monospace;border-radius:6px;height:26px;padding:0 9px}.sim-game-delta.fold-btn:hover{background:#f2f1ec}.sim-game-delta.fold-btn i{color:#6f6c65}.sim-game-end{display:flex;align-items:center;gap:14px;padding:16px 20px;border-radius:12px;background:#e2ede2;color:#2f5a2f}.sim-game-end.fail{background:#f5e4ec;color:#8a2f5f}.sim-game-end.stuck,.sim-game-end.truncated{background:#f2f1ec;color:#6f6c65}.sim-game-end-icon{width:32px;height:32px;border-radius:16px;display:inline-flex;align-items:center;justify-content:center;background:#4d7a4a;color:#fff;flex:none}.sim-game-end.fail .sim-game-end-icon{background:#9c3d70}.sim-game-end.stuck .sim-game-end-icon,.sim-game-end.truncated .sim-game-end-icon{background:#8a8880}.sim-game-end strong{font-size:15px;font-weight:600}.sim-game-end .mono{font-size:13px}.sim-game-end .sim-game-outcome-icon{color:#fff}.body-sim-game{grid-template-columns:1fr;min-height:0;overflow:hidden}.body-sim-game>.view{padding:0;overflow:hidden;display:flex;flex-direction:column;min-height:0}.body-sim-game>.view>.sim-game{flex:1;min-height:0}@media(max-width:1100px){.sim-game-chat-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:860px){.sim-game-split{grid-template-columns:1fr}.sim-game-list{max-height:200px;border-right:0;border-bottom:1px solid #e5e2d9}.sim-game-chat-cards{grid-template-columns:1fr 1fr}.sim-game-detail-inner{padding:16px 16px 32px}.sim-game-chat-body{padding-left:18px}.sim-game-step-deltas,.sim-game-step-lines{margin-left:18px}.sim-game-toolbar{padding:12px 16px}.sim-game-meters{width:100%;overflow-x:auto}}
