:root{--editor-border:#ffffff1f;--editor-panel:#ffffff05;--editor-muted:#ffffff8a;--editor-soft:#ffffff57;--editor-accent:#9be079}#production-preview-panel{flex-direction:column;min-height:calc(100dvh - 16px);display:flex}.production-preview--split{flex:1;grid-template-rows:1fr;grid-template-columns:200px minmax(0,1fr);gap:10px;min-height:0;display:grid}.production-preview--split .production-preview__main{flex-direction:column;min-width:0;min-height:0;display:flex}.production-preview--split>.panel__controls-side{max-height:100%}.lock-toggle{color:var(--editor-soft);cursor:pointer;opacity:.45;background:0 0;border:none;margin-right:3px;padding:0;font-size:9px;line-height:1;transition:opacity .12s}.lock-toggle:hover{opacity:1}.lock-toggle--locked{opacity:1;color:var(--editor-accent)}.panel__controls-side{border-right:1px solid var(--editor-border);overscroll-behavior:contain;flex-direction:column;gap:6px;max-height:80dvh;padding:8px;display:flex;overflow-y:auto}.panel__controls-side .control,.panel__controls-side .toggle{margin:0}.panel__controls{border:1px solid var(--editor-border);background:#ffffff05;margin:0 12px 8px;padding:0}.panel__controls>summary{cursor:pointer;letter-spacing:.1em;text-transform:uppercase;color:var(--editor-muted);-webkit-user-select:none;user-select:none;padding:4px 8px;font:600 .58rem/1.2 ui-monospace,SFMono-Regular,Menlo,monospace}.panel__controls[open]>summary{border-bottom:1px solid var(--editor-border)}.panel__controls-body{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));align-items:start;gap:6px 10px;padding:8px;display:grid}.panel__controls-body .control,.panel__controls-body .toggle{margin:0}.panel__controls-body .control--span{grid-column:1/-1}.panel__controls-actions{flex-wrap:wrap;grid-column:1/-1;gap:6px;display:flex}.panel__controls-inline{border-bottom:1px solid var(--editor-border);flex-wrap:wrap;align-items:center;gap:10px;padding:4px 12px 8px;display:flex}.panel__controls-inline .control{margin:0}.stage-node--editing{outline-offset:2px;outline:1px dashed #00f0ff59}.stage-node--prototype-rotate{outline-offset:2px;outline:1px dashed #ffc8004d}.stage-node--prototype-rotate svg{touch-action:none}.stage-node--editing svg{touch-action:none;cursor:default}.stage-node--editing svg:focus{outline-offset:2px;outline:1px solid #00f0ffb3}.control--inline{flex-direction:row;align-items:center;gap:6px}.control--inline input[type=checkbox]{width:14px;height:14px}kbd{border:1px solid var(--editor-border);background:#ffffff0f;border-radius:3px;padding:1px 4px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.55rem}.editor-shell{color:#fff;grid-template-columns:172px minmax(0,1fr);min-height:100dvh;font:11px/1.3 ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;display:grid}.editor-controls{overscroll-behavior:contain;border-right:1px solid var(--editor-border);box-sizing:border-box;background:#000000f0;align-self:start;max-height:100dvh;padding:8px 8px 8px 10px;position:sticky;top:0;overflow-y:auto}.editor-heading h1,.panel__header h2,.proto-card__header h3{margin:0}.eyebrow{letter-spacing:.12em;text-transform:uppercase;color:var(--editor-accent);margin:0 0 .2rem;font:600 .54rem/1.1 ui-monospace,SFMono-Regular,Menlo,monospace}.editor-heading h1{letter-spacing:.01em;font-size:.82rem;line-height:1.1}.lede,.panel__header p,.proto-card__header p,.status{color:var(--editor-muted)}.lede{max-width:22ch;margin:.3rem 0 0;font-size:.62rem;line-height:1.3}.control,.toggle{flex-direction:row;align-items:center;gap:3px;margin:1px 0;font:9px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;display:flex}.control--stacked{flex-direction:column;align-items:stretch;gap:2px}.control--stacked>span:first-child{min-width:0}.palette-actions{gap:2px;display:flex}.palette-actions .editor-button{text-align:center;flex:1;margin-top:0;padding:2px 4px}.palette-swatch-row{flex-wrap:wrap;gap:1px;display:flex}.palette-swatch-row>div{flex:none}.palette-history{flex-direction:column;gap:1px;display:flex}.control-group{border-top:1px solid #ffffff14;flex-direction:column;gap:1px;margin-top:4px;padding-top:4px;display:flex}.control-group__title{letter-spacing:.1em;text-transform:uppercase;color:var(--editor-accent);margin:0 0 2px;font:600 9px/1.1 ui-monospace,SFMono-Regular,Menlo,monospace}.control span:first-child{color:#ffffff80;min-width:68px;font:9px ui-monospace,SFMono-Regular,Menlo,monospace}.control select,.control input[type=number],.control input[type=range],.control textarea{color:#fff;background:#ffffff14;border:1px solid #ffffff26;flex:1;min-width:0;padding:1px 3px;font:9px ui-monospace,SFMono-Regular,Menlo,monospace}.control input[type=number]{flex:none;width:60px}.editor-button{color:#ffffffd9;background:#ffffff14;border:1px solid #ffffff26;margin-top:3px;padding:3px 6px;font:9px ui-monospace,SFMono-Regular,Menlo,monospace}.editor-json{box-sizing:border-box;resize:vertical;color:#ffffffd9;white-space:pre;background:#ffffff14;border:1px solid #ffffff26;width:100%;min-height:70px;padding:3px 4px;font:9px/1.3 ui-monospace,SFMono-Regular,Menlo,monospace}.editor-button{text-align:left;cursor:pointer}.editor-button:hover{background:#ffffff14}.editor-button:disabled,.editor-json:disabled{opacity:.45;cursor:default}.range-row{flex:1;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px;min-width:0;display:grid}.range-row input[type=range]{background:0 0;border:none;min-width:0;padding:0}.range-row output{text-align:right;color:#fff;min-width:4ch;font:9px ui-monospace,SFMono-Regular,Menlo,monospace}.toggle input[type=checkbox]{accent-color:var(--editor-accent);margin:0}.toggle span{color:#ffffff80;font:9px ui-monospace,SFMono-Regular,Menlo,monospace}.status{border-top:1px solid var(--editor-border);margin-top:.5rem;padding-top:.5rem;font:.56rem/1.3 ui-monospace,SFMono-Regular,Menlo,monospace}.family-meta{border-top:1px solid #ffffff14;gap:.4rem;margin-top:.5rem;padding-top:.5rem;display:grid}.family-review[hidden],.family-meta[hidden]{display:none}.family-catalog-link{color:var(--editor-accent);font-size:.7rem}.family-filter-count{color:var(--editor-muted);margin:-.2rem 0 0;font-size:.65rem}.family-review{border:1px solid var(--editor-border);gap:.45rem;padding:.65rem;font-size:.68rem;line-height:1.45;display:grid}.family-review p{overflow-wrap:anywhere;margin:0}.family-review__qualification{color:var(--editor-muted)}.family-review__badge{color:#c3c8d4}.family-review__badge[data-status=source_checked],.family-review__badge[data-status=verified_variant]{color:#9be079}.family-review__badge[data-status=partial]{color:#ffd180}.family-review__badge[data-status=needs_repair]{color:#ff9090}.family-meta__note{color:var(--editor-muted);margin:0;font-size:.58rem;line-height:1.35}.family-meta__stat{justify-content:space-between;align-items:baseline;gap:.5rem;margin:0;font:.58rem/1.3 ui-monospace,SFMono-Regular,Menlo,monospace;display:flex}.family-meta__stat-label{color:var(--editor-muted);text-transform:uppercase;letter-spacing:.06em}.family-meta__stat-value{color:#fff;font-weight:600}.family-meta__links{flex-wrap:wrap;gap:.45rem;display:flex}.family-meta__links a{color:#fff;background:#ffffff08;border:1px solid #ffffff1f;padding:.15rem .3rem;font:.54rem/1.1 ui-monospace,SFMono-Regular,Menlo,monospace;text-decoration:none}.family-meta__links a:hover{background:#ffffff14}.status[data-error=true]{color:#ff8080}.editor-content{background:#010101;gap:8px;padding:8px;display:grid}.panel{border:1px solid var(--editor-border);background:var(--editor-panel);padding:6px}.panel__header{justify-content:space-between;align-items:baseline;gap:.5rem;margin-bottom:4px;display:flex}.panel__header h2{letter-spacing:.12em;text-transform:uppercase;font:600 .56rem/1.1 ui-monospace,SFMono-Regular,Menlo,monospace}.panel__header p,.proto-card__header p,.proto-card__summary{margin:0}.proto-grid{gap:6px;display:grid}.proto-card,.combined-card{background:#ffffff04;border:1px solid #ffffff14;padding:4px}.proto-card__header{justify-content:space-between;align-items:baseline;gap:.5rem;margin-bottom:0;display:flex}.proto-card__header h3{font-size:.62rem;line-height:1.1}.proto-card__summary{color:var(--editor-soft);text-align:right;font:.64rem/1.3 ui-monospace,SFMono-Regular,Menlo,monospace}.stage-flow{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:6px;margin-top:.4rem;display:grid}.stage-node{min-width:0}.stage-flow__arrow{color:#ffffff57;-webkit-user-select:none;user-select:none;font-size:1rem;line-height:1}.tile-svg{aspect-ratio:.8;-webkit-user-select:none;user-select:none;touch-action:none;background:#020202;width:100%;min-height:272px;display:block}.tile-svg--combined{aspect-ratio:16/11;min-height:500px}.tile-svg__label{fill:#fff;paint-order:stroke fill;stroke:#000000a6;stroke-linejoin:round;letter-spacing:.01em;pointer-events:none;-webkit-user-select:none;user-select:none;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:700}.tile-svg__reference{pointer-events:none}.production-preview{gap:8px;display:grid}.production-preview__toolbar{justify-content:space-between;align-items:baseline;gap:1rem;display:flex}.production-preview__toolbar p{color:var(--editor-muted);margin:0;font:.68rem/1.35 ui-monospace,SFMono-Regular,Menlo,monospace}.production-preview__stage{background:#020202;border:1px solid #ffffff14;flex:1;place-items:center;min-height:440px;display:grid;position:relative;overflow:hidden}#production-preview-canvas{background:#020202;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.combined-pair{grid-template-columns:1fr 1fr;align-items:start;gap:10px;display:grid}.combined-svg{flex-direction:column;gap:4px;min-width:0;display:flex}.combined-svg__label{color:var(--editor-muted);font-size:.7rem}.combined-svg__stage{aspect-ratio:1;border:1px solid var(--editor-border);background:#fff;width:100%;position:relative;overflow:hidden}.combined-svg__stage img{object-fit:contain;width:100%;height:100%;display:block;position:absolute;inset:0}.combined-svg__stage img[hidden]{display:none}.combined-svg__empty{color:#888;place-items:center;font-size:.7rem;display:grid;position:absolute;inset:0}.combined-svg__empty[hidden]{display:none}@media (width<=900px){.combined-pair{grid-template-columns:1fr}}.control-hint{color:var(--editor-muted);margin:.25rem 0 .5rem;font-size:.7rem;line-height:1.35}.control-hint em{color:var(--editor-fg);font-style:normal}.production-preview__empty{text-align:center;color:var(--editor-muted);background:linear-gradient(#ffffff05,#0000 55%),#020202;place-items:center;padding:1.5rem;display:grid;position:absolute;inset:0}.production-preview__empty[hidden],#production-preview-canvas[hidden]{display:none!important}@media (width<=1024px){.editor-shell{grid-template-columns:1fr}.editor-controls{border-right:none;border-bottom:1px solid var(--editor-border);min-height:auto;position:static}}@media (width<=900px){.stage-flow{grid-template-columns:1fr}.stage-flow__arrow{justify-self:center;transform:rotate(90deg)}.tile-svg{min-height:236px}#production-preview-panel{min-height:0}.production-preview__stage{flex:0 0 320px;height:320px;min-height:320px}.tile-svg--combined{min-height:320px}}
