@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&display=swap');
:root{font-family:'IBM Plex Sans','PingFang SC','Microsoft YaHei',sans-serif;color:#edf0f4;background:#15191e;font-synthesis:none;--bg:#171b20;--panel:#20252c;--line:#343b44;--text:#edf0f4;--muted:#a2aab6;--accent:#a9ceff;--accent-dark:#153352;color-scheme:dark}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.35;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #a9ceff;outline-offset:4px}button,input,select{-webkit-tap-highlight-color:transparent}button{color:inherit}button[hidden],[hidden]{display:none!important}
.studio{display:grid;grid-template-columns:116px minmax(0,1fr) 332px;grid-template-rows:76px minmax(560px,calc(100dvh - 112px)) 36px;grid-template-areas:'top top top' 'parts viewport inspector' 'status status status';min-height:100dvh}
.topbar{grid-area:top;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 24px;border-bottom:1px solid var(--line);background:var(--bg)}.brand{display:flex;align-items:center;gap:13px;min-width:0}.brand-mark{width:39px;height:39px;display:grid;place-items:center;background:var(--accent);color:#172a40;border-radius:10px;font-size:25px;font-weight:600}.brand h1{font-size:17px;letter-spacing:.04em;font-weight:500;margin:0 0 3px}.brand-caption{font-size:11px;letter-spacing:.2em;color:var(--muted)}.top-actions{display:flex;gap:8px}.button{min-height:38px;border:1px solid var(--line);border-radius:7px;background:transparent;padding:7px 13px;font-size:14px}.button:hover:not(:disabled){background:#2d343d}.button.accent{border-color:#7391b2}.button.accent[aria-pressed=true]{color:#172a40;background:var(--accent);border-color:var(--accent)}
.parts{grid-area:parts;display:flex;flex-direction:column;gap:6px;padding:20px 12px;border-right:1px solid var(--line);background:var(--bg)}.part-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:70px;padding:10px 4px;background:transparent;border:1px solid transparent;border-radius:9px;color:var(--muted);font-size:14px;position:relative}.part-button .part-number{font-size:12px;letter-spacing:.12em;color:#738091}.part-button:hover{background:#252b33;color:var(--text)}.part-button[aria-pressed=true]{background:#29384b;border-color:#456385;color:#d6e8ff}.part-button[aria-pressed=true] .part-number{color:var(--accent)}
.viewport{grid-area:viewport;position:relative;min-width:0;overflow:hidden;background:radial-gradient(ellipse at 52% 39%,#363e48 0,#2a313a 45%,#20262e 100%)}.scene{position:absolute;inset:0;touch-action:none}.scene canvas{display:block;width:100%;height:100%;outline:none}.view-toolbar{position:absolute;left:18px;top:17px;right:18px;display:flex;align-items:center;justify-content:space-between;gap:10px;z-index:2;pointer-events:none}.view-toolbar button{pointer-events:auto}.view-buttons{display:flex;flex-wrap:wrap;gap:4px;padding:4px;background:#171c23d9;border:1px solid #434c57;border-radius:9px;backdrop-filter:blur(14px)}.view-button{font-size:13px;border:0;border-radius:5px;background:transparent;padding:7px 11px;min-height:32px;color:#aab4c2}.view-button:hover{color:#fff;background:#ffffff0c}.view-button.active{color:#eef5ff;background:#3b4756}#fit-view{background:#171c23d9;border:1px solid #434c57}.viewport-footer{position:absolute;bottom:18px;left:22px;right:22px;display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;font-size:12px;color:#b8c3d1;pointer-events:none;font-variant-numeric:tabular-nums}.view-label{position:absolute;top:74px;font-size:13px;letter-spacing:.05em;color:#d7e2ee;pointer-events:none}.current-label{left:22px}.reference-label{left:22px}.viewport.is-comparing .current-label{left:calc(50% + 22px)}.viewport.is-comparing::after{content:'';position:absolute;left:50%;top:72px;bottom:50px;border-left:1px solid #56606d80;pointer-events:none}.error-box{position:absolute;inset:35% 12% auto;background:#252d38;border:1px solid #677c95;border-radius:12px;padding:24px;color:var(--text);font-size:16px;line-height:1.7;z-index:5}
.inspector{grid-area:inspector;min-width:0;overflow-y:auto;background:var(--panel);border-left:1px solid var(--line);padding:24px 22px 28px;scrollbar-width:thin;scrollbar-color:#495462 transparent}.inspector-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:26px}.eyebrow{font-size:11px;letter-spacing:.16em;color:#8896a6}.inspector h2{font-size:24px;letter-spacing:.04em;font-weight:500;margin:7px 0 0}.unit-label{border:1px solid #46505d;border-radius:5px;padding:3px 7px;color:#bbc7d6;font-size:12px}.control-group{padding:0 0 22px;margin-bottom:22px;border-bottom:1px solid var(--line)}.control-group:last-child{margin-bottom:0}.group-title{font-size:12px;font-weight:500;color:var(--muted);margin:0 0 18px;letter-spacing:.1em}.param-control{margin-bottom:17px}.param-control:last-child{margin-bottom:0}.param-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.param-row label{font-size:14px;color:#dfe6ef}.numeric-wrap{display:flex;align-items:center;background:#151b22;border:1px solid #3b4552;border-radius:5px;overflow:hidden}.numeric-wrap input{width:68px;border:0;padding:5px 7px;background:transparent;color:#e4eefb;text-align:right;font-size:14px;font-variant-numeric:tabular-nums;appearance:textfield;-moz-appearance:textfield}.numeric-wrap input::-webkit-inner-spin-button{appearance:none}.numeric-wrap .suffix{font-size:11px;color:#8394a8;padding:0 7px 0 1px}.param-control input[type=range]{display:block;appearance:none;width:100%;height:22px;padding:0;background:transparent;cursor:ew-resize;margin:0;--progress:50%}.param-control input[type=range]::-webkit-slider-runnable-track{height:3px;border-radius:2px;background:linear-gradient(to right,#9ec6f4 var(--progress),#454f5d var(--progress))}.param-control input[type=range]::-webkit-slider-thumb{appearance:none;width:12px;height:12px;background:#dcecff;border:2px solid #98bdec;border-radius:50%;margin-top:-4.5px;box-shadow:0 0 0 3px #20252c}.param-control input[type=range]::-moz-range-track{height:3px;background:#454f5d}.param-control input[type=range]::-moz-range-progress{height:3px;background:#9ec6f4}.param-control input[type=range]::-moz-range-thumb{width:10px;height:10px;background:#dcecff;border:2px solid #98bdec;border-radius:50%}.range-extents{display:flex;justify-content:space-between;color:#8592a2;font-size:11px;margin-top:0;font-variant-numeric:tabular-nums}.shape-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.shape-choice{background:#192029;border:1px solid #414c5a;border-radius:7px;min-height:39px;padding:8px 5px;font-size:13px;color:#b9c5d4}.shape-choice[aria-pressed=true]{border-color:#9ac0ed;color:#e2efff;background:#2e4158}.shape-choice:hover{border-color:#8197b2}.check-control{display:flex;gap:10px;align-items:center;font-size:14px;line-height:1.5;margin-bottom:16px}.check-control input{width:16px;height:16px;accent-color:#9dc7fa}.inspector-note{font-size:12px;color:#96a5b8;line-height:1.7;padding-top:16px}.statusbar{grid-area:status;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 22px;background:#151a20;border-top:1px solid var(--line);font-size:12px;color:#9daabb}.statusbar #status{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(min-width:1500px){.studio{grid-template-columns:128px minmax(0,1fr) 370px}.inspector{padding:28px}.param-control{margin-bottom:20px}}
@media(max-width:1050px){.studio{grid-template-columns:84px minmax(0,1fr) 295px}.parts{padding:16px 8px}.part-button{min-height:64px}.inspector{padding:22px 17px}.brand-caption{display:none}.brand h1{font-size:16px}.view-toolbar{left:12px;right:12px}.view-button{font-size:12px;padding:7px 8px}.orbit-hint{display:none}}
@media(max-width:760px){.studio{grid-template-columns:minmax(0,1fr);grid-template-rows:68px auto 440px auto 40px;grid-template-areas:'top' 'parts' 'viewport' 'inspector' 'status';min-height:100dvh}.topbar{padding:0 14px;gap:8px}.brand-mark{width:32px;height:32px;font-size:22px;border-radius:8px}.brand{gap:8px}.brand h1{font-size:14px}.top-actions{gap:5px}.top-actions .button{padding:6px 9px;font-size:12px;min-height:34px}#undo{display:none}.parts{flex-direction:row;flex-wrap:wrap;padding:8px 10px;gap:4px;border-right:0;border-bottom:1px solid var(--line)}.part-button{flex:1 0 11%;min-height:43px;gap:2px;padding:4px 3px;border-radius:5px;font-size:12px}.part-number{display:none}.inspector{overflow:visible;border-left:0;border-top:1px solid var(--line);padding:22px}.inspector-heading{margin-bottom:22px}.inspector h2{font-size:22px}#controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;align-items:start}.control-group{margin-bottom:0}.control-group:first-child:last-child{grid-column:1/-1}.viewport-footer{left:15px;right:15px;font-size:11px}.view-toolbar{top:12px}.view-buttons{gap:0}.view-button{padding:6px 7px}.statusbar{padding:0 14px;font-size:11px}.inspector-note{max-width:540px}}
@media(max-width:430px){.studio{grid-template-rows:64px auto 380px auto 42px}.brand h1{max-width:112px;line-height:1.5}.brand{gap:7px}.brand-mark{display:none}.topbar{gap:6px}.button{white-space:nowrap}.inspector{padding:20px}#controls{grid-template-columns:1fr}.control-group{margin-bottom:20px;padding-bottom:20px}.view-toolbar{gap:4px}#fit-view{padding:6px}.view-label{top:65px}.part-button{font-size:12px}.statusbar>span:last-child{display:none}}
@media(max-width:760px){#undo{display:inline-flex}.parts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.part-button{font-size:14px;min-height:44px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}

.choice-label{font-size:14px;color:#dfe6ef;margin:0 0 9px}.group-title{font-size:14px;letter-spacing:.03em}.shape-choice{font-size:14px}.preset-choice{display:flex;flex-direction:column;gap:6px;width:100%;text-align:left;padding:13px 14px;margin:0 0 9px;border:1px solid #414c5a;border-radius:8px;background:#192029}.preset-choice strong{font-size:15px;font-weight:500}.preset-choice span{font-size:12px;color:#a9b7c9;line-height:1.6}.preset-choice[aria-pressed=true]{border-color:#9ac0ed;background:#2e4158}.preset-choice:hover{border-color:#8197b2}.preset-hint{font-size:12px;color:#a9b7c9;line-height:1.7;margin:12px 0 0}.arm-presets{grid-column:1/-1}

.parts{overflow-y:auto;min-height:0}.part-button{flex-shrink:0;min-height:58px}.motion-summary{grid-column:1/-1}.motion-summary>strong{display:block;font-size:28px;font-weight:500;color:#d6e8ff}.motion-summary p{font-size:14px;line-height:1.65;color:#a9b7c9;margin:10px 0}.motion-summary a{font-size:14px;color:#a9ceff}.motion-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.viewport-footer #model-dimensions{line-height:1.6}.motion-summary .button{font-size:14px}

.base-preset-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.base-preset-grid .preset-choice{margin:0;padding:10px;min-width:0}.base-preset-grid strong{font-size:14px;line-height:1.5}.base-editor{grid-column:1/-1}.base-editor svg{display:block;width:100%;aspect-ratio:280/250;background:#171f29;border:1px solid #414c5a;border-radius:8px;touch-action:none;user-select:none}.base-outline{fill:#41576c;stroke:#bdcee0;stroke-width:1.5}.base-centreline{fill:none;stroke:#6c7d91;stroke-dasharray:4 4}.base-direction{fill:#b9c9dc;font-size:13px}.base-handle{fill:#a9ceff;stroke:#172a40;stroke-width:3;cursor:ew-resize}.base-handle:focus{outline:none;stroke:#fff;stroke-width:3}.base-handle:hover{fill:#fff}

/* White seamless studio; keep the editing panels visually separate. */
.viewport{background:#fff}.view-label,.viewport-footer{color:#536171}.viewport.is-comparing::after{border-color:#cbd2da}.view-buttons,#fit-view{background:#ffffffed;border-color:#cbd2da;box-shadow:0 2px 10px #1b2a3a08}.view-button{color:#536171}.view-button:hover{color:#182d45;background:#edf2f7}.view-button.active{color:#183655;background:#e5edf6}#fit-view:hover{background:#edf2f7}

.stage-toolbar{position:absolute;left:18px;bottom:53px;display:flex;gap:8px;z-index:2}.background-choices{display:flex;gap:2px;background:#ffffffed;border:1px solid #cbd2da;border-radius:8px;padding:3px}.stage-toolbar button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:6px 10px;border:0;border-radius:5px;color:#405369;background:transparent;font-size:14px}.stage-toolbar button[aria-pressed=true]{background:#e3ecf8;color:#183655}.stage-toolbar #open-lighting{background:#ffffffed;border:1px solid #cbd2da;border-radius:8px}.stage-toolbar button:hover{background:#e9f0f8}.swatch{display:inline-block;width:13px;height:13px;border:1px solid #929dab;border-radius:50%}.swatch-white{background:#fff}.swatch-gray{background:#e5e7eb}.swatch-black{background:#000}.light-reset{margin-bottom:22px;grid-column:1/-1}.viewport[data-tone=dark] .view-label,.viewport[data-tone=dark] .viewport-footer{color:#c3cbd5}.viewport[data-tone=dark].is-comparing::after{border-color:#59636e}.viewport[data-tone=dark] .view-buttons,.viewport[data-tone=dark] #fit-view,.viewport[data-tone=dark] .background-choices,.viewport[data-tone=dark] #open-lighting{background:#202730ed;border-color:#505c6b;color:#dce6f2}.viewport[data-tone=dark] .view-button,.viewport[data-tone=dark] .stage-toolbar button{color:#dce6f2}.viewport[data-tone=dark] .view-button.active,.viewport[data-tone=dark] .view-button:hover,.viewport[data-tone=dark] .stage-toolbar button[aria-pressed=true],.viewport[data-tone=dark] .stage-toolbar button:hover{background:#354960;color:#fff}
@media(max-width:760px){.stage-toolbar{left:12px;bottom:67px}.stage-toolbar button{min-height:36px;padding:6px 9px}.viewport-footer{gap:4px}}

.color-control{display:flex;align-items:center;justify-content:space-between;gap:12px}.color-control>label{font-size:14px;color:#dfe6ef}.color-inputs{display:flex;align-items:center;gap:8px}.color-inputs input[type=color]{width:42px;height:36px;padding:3px;border:1px solid #546172;border-radius:6px;background:#151b22;cursor:pointer;flex-shrink:0}.color-inputs input[type=color]::-webkit-color-swatch-wrapper{padding:0}.color-inputs input[type=color]::-webkit-color-swatch{border:0;border-radius:3px}.hex-input{width:92px;min-width:0;padding:8px 7px;background:#151b22;border:1px solid #465362;border-radius:5px;color:#e4eefb;font-size:14px;font-family:monospace}.hex-input[aria-invalid=true]{border-color:#ef9393}

.color-control{display:block}.color-control>label{display:block;margin-bottom:8px}.color-inputs{width:100%}.color-inputs .hex-input{flex:1;width:auto;max-width:150px}.color-reset{border:1px solid #465362;background:#192029;border-radius:5px;font-size:13px;padding:7px 9px;min-height:34px}.color-reset:hover{background:#2e4158}#controls>.preset-hint{margin:10px 0 22px;grid-column:1/-1}#controls>.button{grid-column:1/-1}

.scene-backdrop{position:absolute;inset:0;display:none;pointer-events:none}.viewport[data-background=home] .scene-backdrop{display:flex}.backdrop-reference,.backdrop-current{flex:1;min-width:0;background-image:url('./assets/home-living-room.png');background-size:cover;background-position:50% 58%}.backdrop-reference{display:none}.viewport.is-comparing .backdrop-reference{display:block}.viewport[data-background=home] .view-label{padding:5px 9px;border-radius:5px;background:#ffffffde;color:#324457}.viewport[data-background=home] .viewport-footer>span{padding:5px 8px;border-radius:5px;background:#ffffffde;color:#324457}.stage-toolbar{flex-wrap:wrap;max-width:calc(100% - 36px)}.background-choices{flex-wrap:wrap}.swatch-custom{background:#e5e7eb}@media(max-width:760px){.stage-toolbar{max-width:calc(100% - 24px)}.stage-toolbar button{padding:6px 7px}}

.wheel-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.wheel-choice{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 4px;min-width:0}.wheel-choice svg{width:56px;height:56px}.wheel-choice span{font-size:12px;line-height:1.5}

.base-reference-card{display:flex;flex-direction:column;gap:6px;min-width:0}.base-reference-card>.preset-choice{flex:1}.base-assembly{width:100%;font-size:13px;padding:8px 5px;white-space:normal}

.save-status{font-size:12px;color:#a5c9b0;white-space:nowrap}.save-status[data-error=true]{color:#ffc486}.top-actions{flex-wrap:wrap;justify-content:flex-end}.topbar{min-height:76px}.save-help{display:block;font-size:13px;color:#acc9e7;margin-top:10px}@media(max-width:1050px){.studio{grid-template-rows:auto minmax(0,1fr) 34px}.topbar{padding-top:10px;padding-bottom:10px}.save-status{flex-basis:100%;text-align:right}}@media(max-width:760px){.studio{grid-template-rows:auto auto 440px auto 40px}.topbar{flex-wrap:wrap}.top-actions{width:100%;justify-content:flex-start}.save-status{flex-basis:100%;text-align:left}}

@media(min-width:761px) and (max-width:1050px){.studio{grid-template-rows:auto minmax(560px,calc(100dvh - 142px)) 36px}}

.projection-toolbar{position:absolute;left:18px;top:67px;z-index:2;display:flex;align-items:center;gap:12px;max-width:calc(100% - 36px);padding:3px 8px 3px 3px;background:#ffffffed;color:#405369;border:1px solid #cbd2da;border-radius:9px;box-shadow:0 2px 10px #1b2a3a08;backdrop-filter:blur(14px)}
.projection-buttons{display:flex;flex-shrink:0;gap:2px}.fov-control{display:flex;align-items:center;gap:6px;font-size:12px;white-space:nowrap}.fov-control input{width:86px;min-width:40px;height:26px;margin:0;accent-color:#427db5;cursor:pointer}.fov-control output{width:28px;text-align:right;font-variant-numeric:tabular-nums}.fov-control.is-disabled{opacity:.45}.fov-control input:disabled{cursor:default}.view-label{top:119px}.viewport.is-comparing::after{top:115px}.viewport[data-tone=dark] .projection-toolbar{background:#202730ed;border-color:#505c6b;color:#dce6f2}
@media(max-width:1050px){.projection-toolbar{left:12px;max-width:calc(100% - 24px);gap:8px}}
@media(max-width:760px){.projection-toolbar{top:61px}.view-label{top:112px}}
@media(max-width:360px){.projection-toolbar{gap:5px}.fov-control{gap:4px}.fov-control input{width:60px}}
.editor-tabs{display:flex;gap:4px;margin:-5px 0 20px;padding:4px;background:#111820;border:1px solid #3c4755;border-radius:8px}.editor-tabs[hidden]{display:none}.editor-tabs button{flex:1;padding:9px 4px;background:transparent;border:0;border-radius:5px;color:#aab8c9;font-size:14px;cursor:pointer}.editor-tabs button[aria-pressed=true]{background:#354b65;color:#fff}.material-choice{display:flex!important;align-items:center;gap:8px;text-align:left;min-height:48px}.material-swatch{display:block;flex-shrink:0;width:27px;height:27px;border-radius:50%;border:1px solid #ffffff38;background:radial-gradient(circle at 32% 25%,#fafafa,#c5cbd0 45%,#6a727d 90%);box-shadow:0 2px 4px #0005}.material-choice[data-material=gloss] .material-swatch,.material-choice[data-material=paint] .material-swatch{background:radial-gradient(ellipse at 30% 22%,white 0 13%,#a6bad1 19%,#37495e 60%,#8ca3bd)}.material-choice[data-material=polished] .material-swatch,.material-choice[data-material=satin] .material-swatch{background:linear-gradient(140deg,#f9fafc,#485363 30%,#e4ecf4 43%,#6e7c8e 54%,#eaf0f7 79%,#455568)}.material-choice[data-material=rubber] .material-swatch{background:radial-gradient(circle at 32% 25%,#686e73,#292d31 65%,#111)}.material-choice[data-material=frosted] .material-swatch{opacity:.7;background:radial-gradient(circle at 32% 25%,#fff,#cae5ef 50%,#7596a4)}.material-choice[data-material=fabric] .material-swatch{background:repeating-linear-gradient(45deg,#a3aebc 0 1px,#69798c 1px 2px)}.profile-editor svg{width:100%;max-height:245px;touch-action:none;background:#16202b;border-radius:9px;margin-top:12px}.transform-modes{display:flex;gap:5px;grid-column:1/-1}.transform-modes button{flex:1;min-height:42px}.transform-mirror{display:flex;gap:10px;align-items:center;margin:15px 0;font-size:14px}.transform-value{display:flex;align-items:center;gap:8px;padding:12px 0;font-size:14px;border-bottom:1px solid #35404d}.transform-value span{flex:1}.transform-value input{width:78px;padding:7px;background:#141e29;color:#e7eff8;border:1px solid #55677c;border-radius:5px;font:inherit}.transform-value[data-axis=x]{color:#f08484}.transform-value[data-axis=y]{color:#65c6a0}.transform-value[data-axis=z]{color:#82b2fa}.transform-overlay{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none;overflow:hidden}.transform-handle{pointer-events:all;cursor:grab;touch-action:none;outline:none}.transform-handle path{stroke:currentColor;stroke-width:3;fill:none}.transform-handle .transform-hit{stroke:transparent;stroke-width:22}.transform-handle circle{fill:currentColor;stroke:white;stroke-width:2}.transform-handle text{fill:currentColor;stroke:#ffffffd9;stroke-width:3;paint-order:stroke;font:bold 14px sans-serif}.transform-handle:focus circle,.transform-handle:hover circle{stroke:#f4cf45;stroke-width:4}.transform-handle:active{cursor:grabbing}@media(max-width:760px){.editor-tabs{max-width:450px}#controls>.transform-value,#controls>.transform-mirror,#controls>.transform-modes{grid-column:1/-1}.material-choice{font-size:14px}}

.profile-editor svg{max-height:390px}.profile-guide{stroke:#70839b;stroke-opacity:.18;stroke-dasharray:3 5;fill:none;pointer-events:none}.profile-row-label{fill:#9baec4;font-size:12px;pointer-events:none}.profile-detail{fill:#94d9d1!important;stroke:#286b77!important}.profile-readout{min-height:36px;font-size:14px;color:#c9daee;line-height:1.5;font-variant-numeric:tabular-nums}.profile-actions{display:flex;flex-wrap:wrap;gap:7px}.profile-actions .button{font-size:13px;padding:8px}

.arm-profile-tabs{margin-bottom:12px;grid-column:1/-1}.arm-profile-tabs .shape-choice{flex:1}

.editor-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:sticky;top:0;z-index:4;gap:3px;margin-bottom:18px;box-shadow:0 5px 12px #11182055}.editor-tabs button{font-size:14px;padding:10px 3px;white-space:nowrap}.editor-intro{grid-column:1/-1;margin-top:0}.color-control{padding:10px 0;border-bottom:1px solid #35404d}.color-control:last-child{border-bottom:0}

.arm-profile-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.arm-profile-tabs .shape-choice{min-height:36px;font-size:14px;padding:7px 3px}

.profile-numbers summary{cursor:pointer;padding:12px 0}.profile-numbers:not([open]){padding-bottom:0}.profile-numbers[open] summary{margin-bottom:16px}

/* Project and delivery workflow */
.topbar{flex-wrap:wrap;gap:12px}.top-actions{flex-wrap:wrap}.project-title{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workflow-dialog{width:min(720px,calc(100vw - 32px));max-height:85dvh;box-sizing:border-box;overflow:auto;padding:24px;background:#1b232d;color:#e4ecf6;border:1px solid #526073;border-radius:14px;box-shadow:0 24px 80px #0007}.workflow-dialog::backdrop{background:#080e17b8}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.dialog-heading h2{margin:0;font-size:21px}.workflow-dialog h3{font-size:15px;margin:24px 0 12px}.dialog-note,.guide-steps p{font-size:13px;line-height:1.8;color:#b0bfd1}.dialog-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.dialog-field{display:flex;flex-direction:column;gap:8px;font-size:13px;margin:14px 0}.dialog-field input,.dialog-field select{min-width:0;padding:10px;border:1px solid #526073;border-radius:7px;background:#111923;color:#e4ecf6;font:inherit}.export-options{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px}.project-row{display:flex;align-items:center;gap:8px;padding:12px 0;border-bottom:1px solid #344251}.project-row>div{flex:1;min-width:0}.project-row strong{display:block;overflow-wrap:anywhere}.project-row small{display:block;color:#a6b7ca;margin-top:6px}.workflow-dialog [role=status]{font-size:13px;line-height:1.7;color:#d1e6ff}.workflow-dialog a.button{text-decoration:none}.workflow-dialog [hidden]{display:none!important}#export-preview{display:block;width:100%;max-height:52vh;object-fit:contain;border-radius:8px;background:repeating-conic-gradient(#e6e8eb 0% 25%,#fff 0% 50%) 0/20px 20px}.guide-steps{padding-left:24px}.guide-steps li{padding:12px 0}.guide-steps .button{margin-right:8px}.workflow-dialog button:focus-visible,.workflow-dialog a:focus-visible{outline:2px solid #9ec8ff;outline-offset:3px}@media(max-width:760px){.export-options{grid-template-columns:1fr}.workflow-dialog{padding:18px}.top-actions .button{font-size:12px;padding:8px}.top-actions{gap:6px}#redo{display:inline-flex}.project-row{flex-wrap:wrap}}

.topbar{padding-top:12px;padding-bottom:12px}.top-actions{flex:1;justify-content:flex-end;min-width:0;align-items:center}.save-status{font-size:11px}@media(min-width:761px){.studio{grid-template-rows:auto minmax(560px,1fr) 36px;height:100dvh;min-height:700px}}
