.tabs button{flex-basis:29%}.download-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.download-actions button{padding:15px}.auto-summary{font-size:11px;color:#748966;line-height:1.7;margin:8px 0}.assembly-action{display:flex;align-items:center;gap:12px;margin-top:14px}.assembly-action button{min-width:100px;font-size:12px}.assembly-action span{font-size:10px;color:#8b997c;line-height:1.7}.color-row label{margin-right:auto}.color-row #use-body-color{font-size:10px;margin-right:7px}.color-row #use-body-color[aria-pressed=true]{color:#34774b;background:#edf4e5}.switch-buttons{display:flex;gap:5px}.group-separators input:disabled{opacity:.4}.pending-badge{font-size:10px;color:#a76540}.ring-millimeters{font-size:11px;color:#7d906c}@media(max-width:700px){.tabs button{flex:0 0 auto}.assembly-action{align-items:flex-start}.assembly-action span{max-width:210px}.download-actions{gap:8px}.download-actions button{font-size:12px;padding:13px}}
.settings-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}.settings-footer #build{grid-column:1/-1;margin:0}.settings-footer:has(#cancel:not([hidden])) #build{grid-column:auto}.settings-footer #cancel{border:1px solid #b9cbb2;border-radius:7px;padding:9px;background:#fff;color:#35583c}.settings-footer span{grid-column:1/-1;text-align:center}

#text{height:96px;min-height:96px;max-height:96px;padding:9px 12px;line-height:1.5;resize:none;overflow-y:auto}.preset-row #reset-defaults{margin:0}

.preview-toolbar .status{font-size:10px;line-height:1.4;margin:0 0 0 auto;max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#688154;background:#ffffffe0;border-radius:5px;padding:5px}.preview-toolbar #fit{margin-left:auto}.preview-toolbar .status:not([hidden])+#fit{margin-left:0}.preview-bottom{max-width:calc(100% - 160px);white-space:nowrap}.preview-bottom #build{font-size:10px;color:#537443;padding:5px 8px}.preview-bottom #cancel{font-size:10px;padding:5px}.preview-travel{position:absolute;right:14px;bottom:14px;padding:8px 11px;font-size:11px;z-index:6;background:#fffffff0}.settings-footer{padding:8px 20px}.brand strong{white-space:nowrap}@media(max-width:700px){.brand strong{font-size:15px}.preview-bottom{left:8px;transform:none;max-width:calc(100% - 95px);overflow-x:auto;bottom:10px}.preview-bottom button{padding:6px 4px;font-size:9px}.preview-travel{right:8px;bottom:10px;font-size:10px;padding:7px}.preview-toolbar{flex-wrap:wrap}.preview-toolbar .status{max-width:110px}.brand small{letter-spacing:.8px}}
@media(max-width:700px){.site-header{height:auto;min-height:68px;flex-wrap:wrap}.header-actions{margin-left:auto}}

#issue-help{display:none!important}.preview-state{position:absolute;left:14px;bottom:16px;max-width:235px;z-index:7;padding:6px 9px;border-radius:6px;background:#fffffff0;color:#64804c;font-size:10px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.preview-state.error{color:#ba5a3b}.output-mode{display:flex;align-items:center;gap:11px;padding:14px 12px;border:1px solid #dce5d4;border-radius:8px;margin:10px 0;background:#fff;cursor:pointer}.output-mode:has(input:checked){background:#edf3e4;border-color:#93ad81}.output-mode input{accent-color:#38744c}.output-mode strong{display:block;font-size:12px;font-weight:600}.output-mode small{display:block;font-size:10px;color:#86917b;margin-top:5px}.fitting-details{border-top:1px solid #e0e7d9;border-bottom:1px solid #e0e7d9;padding:15px 0;margin:20px 0}.fitting-details summary{font-size:12px;cursor:pointer;color:#5e7850}.fitting-details[open] summary{margin-bottom:12px}.center-ring{font-size:10px;padding:4px 7px;margin-left:auto;white-space:nowrap;color:#557548}.control-head:has(.center-ring){gap:6px}.control-head:has(.center-ring) .number-field input{width:58px}.preview:has(.preview-state:not([hidden])) .preview-bottom{bottom:48px}@media(max-width:700px){.preview-state{left:8px;bottom:12px;max-width:calc(100% - 105px)}.preview:has(.preview-state:not([hidden])) .preview-bottom{bottom:45px}}

.preview:has(#pending-state:not([hidden])) .preview-bottom{bottom:48px}.preview:has(#pending-state[hidden]) .preview-bottom{bottom:14px}.preview-toolbar #status.error{color:#b56440}@media(max-width:700px){.preview:has(#pending-state:not([hidden])) .preview-bottom{bottom:45px}.preview:has(#pending-state[hidden]) .preview-bottom{bottom:10px}}

.workspace-heading{flex-wrap:wrap;column-gap:12px;row-gap:6px}.workspace-heading>div:first-child{flex:0 1 auto}.switch-prep{display:flex;align-items:center;gap:9px;margin-left:auto;min-width:0;padding:5px 0}.switch-prep svg{display:block;width:126px;height:53px;flex-shrink:0}.switch-prep p{margin:0;max-width:185px;font-size:10px;line-height:1.7;color:#69806e}.switch-prep strong{display:block;font-size:10px;font-weight:500;color:#415e49}.switch-prep span{display:block;color:#8b9788;font-size:9px}.workspace-heading .local-tag{flex-shrink:0;white-space:nowrap}.preview .preview-bottom{left:14px;transform:none;max-width:calc(100% - 120px)}@media(max-width:1120px) and (min-width:701px){.switch-prep{gap:6px}.switch-prep svg{width:105px;height:44px}.switch-prep p{max-width:156px}.workspace-heading h2{font-size:18px}.workspace-heading .local-tag{display:none}}@media(max-width:700px){.switch-prep{margin-left:0;width:100%;order:3;padding:0 0 7px}.switch-prep svg{width:116px;height:49px}.switch-prep p{max-width:none}.workspace-heading .local-tag{margin-left:auto}.preview .preview-bottom{left:8px;max-width:calc(100% - 105px)}}

.workspace-heading{justify-content:flex-start}.switch-prep{margin-left:0}.workspace-heading .local-tag{margin-left:auto}

/* Compact switch preparation guide */
.switch-prep svg{width:98px;height:50px}.switch-prep p{max-width:none}.switch-prep strong{white-space:nowrap}
@media(max-width:1120px) and (min-width:701px){.switch-prep svg{width:86px;height:44px}.switch-prep p{max-width:none}}
@media(max-width:700px){.switch-prep svg{width:92px;height:47px}}

/* Align preparation guide to the right edge of the heading */
.workspace-heading .switch-prep{margin-left:auto}.workspace-heading .local-tag{margin-left:0}
@media(max-width:700px){.workspace-heading .switch-prep{justify-content:flex-end}.workspace-heading .local-tag{margin-left:auto}}

.switch-prep strong{font-size:12px}
