.editor-shell{--ink:#282117;--ink-soft:#665c4c;--muted:#9a8f7d;--line:#dfd6c7;--line-strong:#cfc2ad;--paper:#fffdf8;--canvas:#f2ede3;--cream:#f8f4eb;--gold:#b88a26;--gold-dark:#725516;--gold-soft:#f3e6c5;--jade:#47795f;--jade-dark:#23533d;--jade-soft:#e6f0e8;--crimson:#af4055;--crimson-soft:#fae9eb;--violet:#74598c;--violet-soft:#eee8f3;--nav:#201a14;--nav-2:#2b241c;--sans:"Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;--display:"Gill Sans", "Avenir Next", "PingFang SC", sans-serif;--mono:"SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace;--shadow:0 12px 34px #4e3d221a}.editor-shell *{box-sizing:border-box}.editor-shell button,.editor-shell input,.editor-shell select{color:inherit;font:inherit}.editor-shell button{cursor:pointer;border:0}.editor-shell .loading-screen{background:var(--nav);color:#d2c6b0;font-family:var(--mono);letter-spacing:.12em;justify-content:center;align-items:center;height:100vh;display:flex}.editor-shell .editor-shell{flex-direction:column;min-width:1160px;height:100vh;display:flex;overflow:hidden}.editor-shell .topbar{background:radial-gradient(circle at 14% -120%, #c0912c42, transparent 40%), linear-gradient(180deg, var(--nav-2), var(--nav));border-bottom:2px solid var(--gold);color:#efe7d8;align-items:center;gap:10px;height:64px;padding:0 18px;display:flex}.editor-shell .brand-mark{color:#2f220b;font-family:var(--display);background:linear-gradient(140deg,#d3a63e,#9b701a);border-radius:10px;place-items:center;width:38px;height:38px;font-size:20px;font-weight:800;display:grid;box-shadow:0 4px 12px #0000003d}.editor-shell .brand-copy{flex-direction:column;min-width:180px;line-height:1.25;display:flex}.editor-shell .brand-copy strong{letter-spacing:.04em;font-size:15px}.editor-shell .brand-copy span,.editor-shell .eyebrow,.editor-shell .panel-heading span{color:#ac9e87;font-family:var(--mono);letter-spacing:.14em;font-size:9px}.editor-shell .top-separator{flex:1}.editor-shell .floor-tabs{background:#ffffff0d;border:1px solid #ffffff1c;border-radius:9px;padding:3px;display:flex}.editor-shell .floor-tabs button{color:#aaa08d;background:0 0;border-radius:6px;flex-direction:column;min-width:62px;padding:5px 10px;line-height:1.1;display:flex}.editor-shell .floor-tabs b{font-family:var(--mono);font-size:12px}.editor-shell .floor-tabs span{margin-top:2px;font-size:9px}.editor-shell .floor-tabs .is-active{background:var(--gold);color:#302309}.editor-shell .floor-tabs button:disabled{cursor:default;opacity:.58}.editor-shell .draft-state{color:#c2b6a2;white-space:nowrap;align-items:center;gap:7px;margin:0 4px 0 10px;font-size:11px;display:flex}.editor-shell .draft-state i{border-radius:50%;width:7px;height:7px}.editor-shell .dirty-dot{background:#d49a30;box-shadow:0 0 0 3px #d49a3024}.editor-shell .saved-dot{background:#6dad87;box-shadow:0 0 0 3px #6dad8724}.editor-shell .toolbar-button,.editor-shell .publish-button{color:#ded5c5;white-space:nowrap;background:#ffffff0f;border:1px solid #ffffff1f;border-radius:7px;align-items:center;gap:6px;height:34px;padding:0 9px;font-size:11px;transition:all .16s;display:inline-flex}.editor-shell .toolbar-button:hover{background:#ffffff1f;border-color:#ffffff38}.editor-shell .toolbar-button:disabled{cursor:default;opacity:.36}.editor-shell .toolbar-button svg,.editor-shell .publish-button svg{width:15px;height:15px}.editor-shell .publish-button{color:#2d210c;background:linear-gradient(#d6a941,#ad7c1e);border-color:#d2a442;font-weight:700}.editor-shell .publish-button:hover{filter:brightness(1.08)}.editor-shell .meta-strip{background:var(--line);border-bottom:1px solid var(--line);grid-template-columns:140px 140px 140px 140px 1fr;gap:1px;height:52px;display:grid}.editor-shell .meta-strip>div{background:var(--paper);align-items:center;gap:10px;padding:0 16px;display:flex}.editor-shell .meta-strip span{color:var(--muted);letter-spacing:.04em;white-space:nowrap;font-size:10px}.editor-shell .meta-strip b{font-family:var(--mono);font-size:18px}.editor-shell .meta-strip small{color:var(--muted);font-size:10px;font-weight:500}.editor-shell .meta-strip .good{color:var(--jade)}.editor-shell .meta-strip .bad{color:var(--crimson)}.editor-shell .meta-strip .map-lock{color:var(--jade);justify-content:flex-end}.editor-shell .map-lock svg{width:15px;height:15px}.editor-shell .map-lock b{color:var(--jade-dark);font-size:11px}.editor-shell .workspace{flex:1;grid-template-columns:244px minmax(640px,1fr) 278px;min-height:0;display:grid}.editor-shell .left-panel,.editor-shell .right-panel{background:var(--cream);flex-direction:column;min-height:0;display:flex}.editor-shell .left-panel{border-right:1px solid var(--line)}.editor-shell .right-panel{border-left:1px solid var(--line)}.editor-shell .panel-heading{justify-content:space-between;align-items:center;padding:17px 16px 8px;display:flex}.editor-shell .panel-heading h2{font-family:var(--display);letter-spacing:.03em;margin:1px 0 0;font-size:17px}.editor-shell .panel-heading svg{color:var(--gold)}.editor-shell .panel-help{color:var(--muted);margin:0;padding:0 16px 10px;font-size:11px;line-height:1.6}.editor-shell .palette{gap:7px;padding:0 12px 14px;display:grid}.editor-shell .palette-card{background:var(--paper);border:1px solid var(--line);text-align:left;border-radius:9px;align-items:center;gap:9px;padding:8px;transition:all .16s;display:flex}.editor-shell .palette-card:hover{border-color:var(--gold);transform:translate(3px);box-shadow:0 5px 12px #69502314}.editor-shell .palette-shape{background:var(--jade-soft);color:var(--jade-dark);border:1px solid #aac5b4;border-radius:50%;justify-content:center;align-items:center;width:43px;height:29px;font-size:10px;font-weight:800;display:flex}.editor-shell .palette-gold .palette-shape{background:var(--gold-soft);color:var(--gold-dark);border-color:#d4bd7c}.editor-shell .palette-violet .palette-shape{background:var(--violet-soft);color:var(--violet);border-color:#c3b3ce}.editor-shell .palette-card span:nth-child(2){flex-direction:column;flex:1;display:flex}.editor-shell .palette-card strong{font-size:12px}.editor-shell .palette-card small{color:var(--muted);margin-top:1px;font-size:10px}.editor-shell .palette-card>b{color:var(--gold);font-family:var(--mono);font-size:17px}.editor-shell .table-list-heading{border-top:1px solid var(--line);padding:13px 12px 8px}.editor-shell .table-list-heading h3{letter-spacing:.08em;text-transform:uppercase;margin:0 0 9px;font-size:11px}.editor-shell .table-list-heading h3 span{color:var(--muted);font-family:var(--mono);margin-left:4px;font-weight:500}.editor-shell .search-box{background:var(--paper);border:1px solid var(--line);border-radius:7px;align-items:center;gap:6px;padding:0 8px;display:flex}.editor-shell .search-box svg{color:var(--muted);width:14px;height:14px}.editor-shell .search-box input{background:0 0;border:0;outline:0;width:100%;min-width:0;height:29px;font-size:11px}.editor-shell .table-list{flex:1;padding:0 8px 12px;overflow:auto}.editor-shell .table-list-item{text-align:left;background:0 0;border-radius:6px;align-items:center;gap:6px;width:100%;padding:7px 6px;display:flex}.editor-shell .table-list-item:hover,.editor-shell .table-list-item.is-active{background:var(--gold-soft)}.editor-shell .table-list-item strong{font-family:var(--mono);min-width:42px;font-size:11px}.editor-shell .table-list-item span{color:var(--muted);flex:1;font-size:10px}.editor-shell .table-list-item svg{color:var(--crimson);width:12px;height:12px}.editor-shell .status-pip{border-radius:50%;width:6px;height:6px}.editor-shell .status-pip.enabled{background:var(--jade)}.editor-shell .status-pip.disabled{background:#b9af9f}.editor-shell .canvas-panel{background:radial-gradient(circle at 50% -30%,#b88a261f,#0000 43%),#ebe5d9;flex-direction:column;min-width:0;display:flex}.editor-shell .canvas-toolbar{border-bottom:1px solid var(--line);background:#fffdf8d1;justify-content:space-between;align-items:center;padding:11px 16px 10px;display:flex}.editor-shell .canvas-toolbar .eyebrow{color:var(--gold-dark)}.editor-shell .canvas-toolbar h1{font-family:var(--display);letter-spacing:.03em;margin:0;font-size:17px}.editor-shell .canvas-actions{align-items:center;gap:8px;display:flex}.editor-shell .toggle-button,.editor-shell .icon-button{background:var(--paper);border:1px solid var(--line);color:var(--ink-soft);border-radius:7px;align-items:center;gap:6px;height:34px;padding:0 9px;font-size:11px;display:inline-flex}.editor-shell .toggle-button:hover,.editor-shell .icon-button:hover{border-color:var(--gold)}.editor-shell .toggle-button svg,.editor-shell .icon-button svg{width:15px;height:15px}.editor-shell .toggle-button i{background:#cec4b3;border-radius:999px;width:17px;height:7px;position:relative}.editor-shell .toggle-button i:after{background:var(--paper);content:"";border:1px solid #b8aa96;border-radius:50%;width:9px;height:9px;transition:all .15s;position:absolute;top:-2px;left:-1px}.editor-shell .toggle-button.is-on{color:var(--jade-dark)}.editor-shell .toggle-button.is-on i{background:var(--jade)}.editor-shell .toggle-button.is-on i:after{left:8px}.editor-shell .canvas-scroll{flex:1;padding:14px 18px;overflow:auto}.editor-shell .floor-canvas{box-shadow:var(--shadow);background:#efe8d7;border:1px solid #d8cdb9;min-width:780px;max-width:1280px;margin:auto;position:relative;overflow:hidden}.editor-shell .floor-svg{-webkit-user-select:none;user-select:none;width:100%;height:auto;display:block}.editor-shell .canvas-note{color:var(--jade);pointer-events:none;background:#fffdf8e8;border:1px solid #cfc2ade6;border-radius:8px;align-items:center;gap:8px;padding:8px 10px;display:flex;position:absolute;bottom:18px;left:22px;box-shadow:0 5px 14px #5342261a}.editor-shell .canvas-note svg{width:16px;height:16px}.editor-shell .canvas-note div{flex-direction:column;display:flex}.editor-shell .canvas-note strong{color:var(--jade-dark);font-size:11px}.editor-shell .canvas-note span{color:var(--muted);font-size:9px}.editor-shell .canvas-footer{border-top:1px solid var(--line);color:var(--muted);background:#fffdf8d6;align-items:center;gap:14px;height:35px;padding:0 16px;font-size:10px;display:flex}.editor-shell .canvas-footer span{align-items:center;gap:5px;display:inline-flex}.editor-shell .canvas-footer b{font-family:var(--mono);margin-left:auto;font-size:9px;font-weight:500}.editor-shell .legend-dot{border-radius:50%;width:8px;height:8px;display:inline-block}.editor-shell .legend-dot.normal{background:var(--jade)}.editor-shell .legend-dot.selected{background:var(--gold)}.editor-shell .legend-dot.warning{background:var(--crimson)}.editor-shell .legend-dot.disabled{background:#b8ae9e}.editor-shell .map-table{cursor:grab;outline:0}.editor-shell .map-table:active{cursor:grabbing}.editor-shell .table-rim{fill:#eadfc7;filter:drop-shadow(0 3px 3px #4b3a2024);stroke:#c7baa1;stroke-width:2px}.editor-shell .table-felt{fill:#f8f2e6;stroke:#6e5e4333;stroke-width:1px}.editor-shell .tone-jade .table-rim{stroke:#8eb19b}.editor-shell .tone-jade .table-felt{fill:#e9f0e6}.editor-shell .tone-gold .table-rim{stroke:#c8aa5c}.editor-shell .tone-gold .table-felt{fill:#f6eed7}.editor-shell .tone-violet .table-rim{stroke:#aa93bc}.editor-shell .tone-violet .table-felt{fill:#f0ebf5}.editor-shell .roulette-wheel circle{fill:#efe3c4;stroke:#bd9a42;stroke-width:1.5px}.editor-shell .roulette-wheel line{stroke:#bd9a42;stroke-width:1px}.editor-shell .dealer-mark{fill:var(--jade-dark);stroke:#fff;stroke-width:2px}.editor-shell .tone-gold .dealer-mark{fill:#8f6a12}.editor-shell .tone-violet .dealer-mark{fill:var(--violet)}.editor-shell .dealer-text{dominant-baseline:middle;fill:#fff;pointer-events:none;text-anchor:middle;font-size:10px;font-weight:800}.editor-shell .table-code{fill:var(--ink);font-family:var(--mono);pointer-events:none;text-anchor:middle;font-size:12px;font-weight:800}.editor-shell .map-table:hover .table-rim{stroke:var(--gold);stroke-width:3px}.editor-shell .map-table.is-selected .table-rim{filter:drop-shadow(0 0 7px #b88a2694);stroke:var(--gold);stroke-width:3.5px}.editor-shell .map-table.has-warning .table-rim{stroke:var(--crimson);stroke-dasharray:6 4;stroke-width:2.5px}.editor-shell .map-table.is-disabled{opacity:.46}.editor-shell .map-table.is-disabled .table-felt{fill:#d8d0c1}.editor-shell .map-table.is-reserved .table-felt{fill:#e7edf3}.editor-shell .map-table.is-reserved .table-rim{stroke:#68829b;stroke-dasharray:5 4}.editor-shell .warning-mark circle{fill:var(--crimson);stroke:#fff;stroke-width:1.5px}.editor-shell .warning-mark text{dominant-baseline:middle;fill:#fff;text-anchor:middle;font-size:12px;font-weight:800}.editor-shell .selected-code{background:var(--gold-soft);color:var(--gold-dark);font-family:var(--mono);border-radius:5px;padding:3px 6px;font-size:11px}.editor-shell .empty-properties{color:var(--muted);text-align:center;padding:74px 28px}.editor-shell .empty-properties div{border:1px dashed var(--line-strong);color:var(--gold);font-family:var(--mono);border-radius:50%;justify-content:center;align-items:center;width:48px;height:48px;margin:0 auto 12px;font-size:22px;display:flex}.editor-shell .empty-properties h3{color:var(--ink-soft);margin:0 0 6px;font-size:14px}.editor-shell .empty-properties p{margin:0;font-size:11px;line-height:1.7}.editor-shell .properties{border-top:1px solid var(--line);padding:12px;overflow:auto}.editor-shell .validation-card{background:var(--crimson-soft);color:var(--crimson);border:1px solid #ecc5cb;border-radius:8px;gap:8px;margin-bottom:12px;padding:9px;display:flex}.editor-shell .validation-card svg{flex:none;width:15px;height:15px}.editor-shell .validation-card div{flex-direction:column;display:flex}.editor-shell .validation-card strong{font-size:11px}.editor-shell .validation-card span{font-size:10px;line-height:1.5}.editor-shell .field-group{gap:10px;display:grid}.editor-shell .field-group label{gap:4px;display:grid}.editor-shell .field-group label span{color:var(--muted);justify-content:space-between;font-size:10px;display:flex}.editor-shell .field-group label span b{color:var(--gold-dark);font-family:var(--mono)}.editor-shell .field-group input,.editor-shell .field-group select{background:var(--paper);border:1px solid var(--line);border-radius:6px;outline:0;width:100%;height:32px;padding:0 8px;font-size:11px}.editor-shell .field-group input:focus,.editor-shell .field-group select:focus{border-color:var(--gold);box-shadow:0 0 0 2px #b88a261f}.editor-shell .field-group input[type=range]{accent-color:var(--gold);box-shadow:none;background:0 0;border:0;padding:0}.editor-shell .coordinate-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.editor-shell .enabled-row{border-bottom:1px solid var(--line);border-top:1px solid var(--line);align-items:center;margin-top:13px;padding:12px 0;display:flex;position:relative}.editor-shell .enabled-row span{flex-direction:column;flex:1;display:flex}.editor-shell .enabled-row strong{font-size:11px}.editor-shell .enabled-row small{color:var(--muted);font-size:9px;line-height:1.5}.editor-shell .enabled-row input{opacity:0;position:absolute}.editor-shell .enabled-row i{background:#c8bdad;border-radius:999px;width:34px;height:18px;transition:all .15s;position:relative}.editor-shell .enabled-row i:after{content:"";background:#fff;border-radius:50%;width:14px;height:14px;transition:all .15s;position:absolute;top:2px;left:2px;box-shadow:0 1px 3px #0003}.editor-shell .enabled-row input:checked+i{background:var(--jade)}.editor-shell .enabled-row input:checked+i:after{left:18px}.editor-shell .property-actions{grid-template-columns:1fr 1fr;gap:7px;margin-top:12px;display:grid}.editor-shell .property-actions button{background:var(--paper);border:1px solid var(--line);border-radius:7px;justify-content:center;align-items:center;gap:5px;padding:8px 4px;font-size:10px;display:flex}.editor-shell .property-actions button:hover{border-color:var(--gold)}.editor-shell .property-actions svg{width:14px;height:14px}.editor-shell .property-actions .danger{color:var(--crimson)}.editor-shell .property-actions .danger:hover{border-color:var(--crimson)}.editor-shell .right-bottom-note{border-top:1px solid var(--line);color:var(--jade);background:#eee7da;align-items:flex-start;gap:7px;margin-top:auto;padding:12px;display:flex}.editor-shell .right-bottom-note svg{flex:none;width:14px;height:14px;margin-top:2px}.editor-shell .right-bottom-note p{color:var(--muted);margin:0;font-size:10px;line-height:1.6}.editor-shell .right-bottom-note b{color:var(--jade-dark)}.editor-shell .modal-backdrop{z-index:20;background:#1c17118a;justify-content:center;align-items:center;padding:30px;display:flex;position:fixed;inset:0}.editor-shell .yaml-modal{background:var(--paper);border:1px solid #cdbd9e;border-radius:12px;flex-direction:column;width:100%;max-width:760px;max-height:82vh;display:flex;overflow:hidden;box-shadow:0 18px 55px #00000040}.editor-shell .yaml-modal header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:14px 16px 12px;display:flex}.editor-shell .yaml-modal header span{color:var(--gold-dark);font-family:var(--mono);letter-spacing:.14em;font-size:9px}.editor-shell .yaml-modal h2{margin:2px 0 0;font-size:18px}.editor-shell .yaml-modal header button{color:var(--muted);background:0 0}.editor-shell .yaml-modal>p{color:var(--muted);margin:0;padding:11px 16px;font-size:11px;line-height:1.6}.editor-shell .yaml-modal pre{color:#dcd2bf;font-family:var(--mono);background:#252019;flex:1;margin:0;padding:15px 17px;font-size:10px;line-height:1.65;overflow:auto}.editor-shell .yaml-modal footer{align-items:center;gap:8px;padding:11px 14px;display:flex}.editor-shell .yaml-modal footer span{color:var(--muted);font-family:var(--mono);flex:1;font-size:10px}.editor-shell .yaml-modal footer button{background:var(--paper);border:1px solid var(--line);border-radius:7px;align-items:center;gap:5px;padding:7px 9px;font-size:11px;display:flex}.editor-shell .yaml-modal footer .primary{background:var(--gold);border-color:var(--gold);color:#302309;font-weight:700}.editor-shell .yaml-modal footer svg{width:14px;height:14px}.editor-shell .toast{color:#f0e8d8;z-index:30;background:#292118;border:1px solid #d2a749a6;border-radius:8px;padding:9px 14px;font-size:12px;position:fixed;bottom:20px;left:50%;transform:translate(-50%);box-shadow:0 8px 22px #0003}@media (max-height:760px){.editor-shell .palette{grid-template-columns:1fr 1fr;gap:5px}.editor-shell .palette-card{gap:4px;padding:6px}.editor-shell .palette-shape{width:30px;height:24px}.editor-shell .palette-card small{display:none}}
