:root{font-family:Avenir Next,Futura,Trebuchet MS,sans-serif;color:#0f172a;background:#eef3f8;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0}body{min-width:320px;overflow:hidden}.app-shell{display:grid;grid-template-rows:auto 1fr;width:100%;height:100%}.content-shell{display:grid;grid-template-columns:17rem 1fr;min-height:0}.toolbar{padding:.65rem 1.2rem;background:#ffffffeb;border-bottom:1px solid rgba(15,23,42,.08);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:.5rem}.toolbar-brand{display:flex;align-items:baseline;gap:.65rem}.toolbar h1{margin:0;font-size:1.25rem;font-weight:700;letter-spacing:-.01em;background:linear-gradient(135deg,#1a3a5c,#20639b);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.subtitle{margin:0;color:#64748b;font-size:.82rem;white-space:nowrap}.controls-row{display:flex;align-items:center;justify-content:end;gap:.5rem}.controls-divider{width:1px;height:1.6rem;background:#0f172a1f;margin:0 .15rem}.control-group{display:inline-flex;flex-direction:column;gap:.25rem}.control-label{font-size:.68rem;text-transform:uppercase;letter-spacing:.06em;color:#64748b;font-weight:500}.control-select{border-radius:.5rem;border:1px solid #cbd5e1;background:#fff;color:#0f172a;font-size:.88rem;height:2.15rem;min-width:10rem;padding:0 .55rem;cursor:pointer;transition:border-color .15s ease}.control-select:hover{border-color:#94a3b8}.control-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61f}.btn{border-radius:.5rem;border:1px solid transparent;font-size:.88rem;font-weight:600;height:2.15rem;padding:0 .9rem;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:.35rem;transition:all .15s ease;white-space:nowrap}.btn:disabled{opacity:.55;cursor:not-allowed}.btn-primary{background:linear-gradient(135deg,#20639b,#1a5276);color:#fff;min-width:7.5rem;box-shadow:0 2px 8px #20639b4d}.btn-primary:hover:enabled{box-shadow:0 4px 14px #20639b66;transform:translateY(-1px)}.btn-primary:active:enabled{transform:translateY(0);box-shadow:0 1px 4px #20639b4d}.btn-secondary{background:#fff;color:#334155;border-color:#cbd5e1}.btn-secondary:hover:enabled{background:#f8fafc;border-color:#94a3b8}.btn-icon{width:1.75rem;height:1.75rem;padding:0;border-radius:.4rem;font-size:.8rem}.steps-sidebar{background:#f8fafcfa;border-right:1px solid rgba(15,23,42,.08);padding:.75rem;overflow:auto;display:flex;flex-direction:column;gap:.6rem}.sidebar-heading{font-size:.68rem;text-transform:uppercase;letter-spacing:.07em;color:#94a3b8;font-weight:600;margin:0;padding:0 .15rem}.op-buttons{display:grid;grid-template-columns:1fr 1fr;gap:.4rem}.op-btn{border-radius:.5rem;border:1px dashed #cbd5e1;background:#fff;color:#475569;font-weight:500;font-size:.82rem;height:2rem;cursor:pointer;transition:all .15s ease;display:flex;align-items:center;justify-content:center;gap:.3rem}.op-btn:hover{border-color:#94a3b8;border-style:solid;background:#f8fafc;color:#1e293b}.op-btn-icon{font-size:.9rem;line-height:1}.step-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:.4rem}.step-item{padding:.5rem .55rem;border:1px solid rgba(15,23,42,.08);border-radius:.5rem;background:#fff;transition:box-shadow .15s ease;position:relative}.step-item:hover{box-shadow:0 2px 8px #0000000f}.step-header{display:flex;align-items:center;justify-content:space-between;gap:.3rem;margin-bottom:.15rem}.step-badge{display:inline-flex;align-items:center;gap:.3rem;font-size:.68rem;text-transform:uppercase;letter-spacing:.04em;font-weight:600;padding:.15rem .45rem;border-radius:.3rem}.step-badge-base{background:#f1f5f9;color:#475569}.step-badge-stellate{background:#fef3c7;color:#92400e}.step-badge-truncate{background:#dbeafe;color:#1e40af}.step-number{font-size:.65rem;color:#94a3b8;font-variant-numeric:tabular-nums}.step-value{font-weight:600;font-size:.92rem;color:#0f172a}.step-remove-btn{width:1.4rem;height:1.4rem;border:none;background:transparent;color:#94a3b8;cursor:pointer;border-radius:.3rem;font-size:1rem;line-height:1;display:flex;align-items:center;justify-content:center;padding:0;transition:all .12s ease;flex-shrink:0}.step-remove-btn:hover{background:#fee2e2;color:#dc2626}.slider-wrap{display:grid;grid-template-columns:1fr auto;gap:.45rem;align-items:center;margin-top:.2rem}.slider-wrap input[type=range]{-webkit-appearance:none;appearance:none;width:100%;height:4px;border-radius:2px;background:#e2e8f0;outline:none;cursor:pointer}.slider-wrap input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:14px;height:14px;border-radius:50%;background:#20639b;border:2px solid #fff;box-shadow:0 1px 4px #0003;cursor:pointer;transition:transform .12s ease}.slider-wrap input[type=range]::-webkit-slider-thumb:hover{transform:scale(1.2)}.slider-wrap input[type=range]::-moz-range-thumb{width:14px;height:14px;border-radius:50%;background:#20639b;border:2px solid #fff;box-shadow:0 1px 4px #0003;cursor:pointer}.slider-value{min-width:2.6rem;text-align:right;font-variant-numeric:tabular-nums;color:#475569;font-size:.82rem;font-weight:500}.empty-state{display:flex;flex-direction:column;align-items:center;padding:1.2rem .5rem;color:#94a3b8;text-align:center;gap:.3rem}.empty-state-icon{font-size:1.5rem;opacity:.6}.empty-state-text{font-size:.78rem;line-height:1.4}.scene-shell{width:100%;height:100%;min-height:0;position:relative}canvas{width:100%!important;height:100%!important;touch-action:none}@media(max-width:760px){.toolbar{padding:.6rem .8rem;grid-template-columns:1fr;justify-items:stretch}.subtitle{display:none}.control-group,.control-select{width:100%}.controls-row{justify-content:stretch;display:grid;grid-template-columns:1fr 1fr;gap:.4rem}.controls-divider{display:none}.content-shell{grid-template-columns:1fr;grid-template-rows:auto 1fr}.steps-sidebar{border-right:0;border-bottom:1px solid rgba(15,23,42,.08);max-height:14rem}}
