#muji-builder[hidden]{display:none!important}#muji-builder{position:fixed;inset:0;z-index:10060;background:#37373544;display:flex;justify-content:center;align-items:center;color:#373735}.builder-sheet{width:min(1120px,100%);height:min(920px,100dvh);display:flex;flex-direction:column;background:white;border-radius:20px;overflow:hidden}.builder-sheet>header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #37373522}.builder-sheet header small{display:block;font-size:11px;margin-bottom:4px}.builder-sheet header b{font-size:18px}.builder-sheet button{background:white;color:#373735;border:1px solid #373735;border-radius:10px;font:inherit;font-size:12px;min-height:42px;padding:8px 12px}.builder-sheet #builder-close{border:0;font-size:24px;width:44px}.builder-workspace{min-height:0;flex:1;display:grid;grid-template-columns:1.25fr 1fr}.builder-preview{min-width:0;display:flex;flex-direction:column;padding:16px;position:relative;border-right:1px solid #37373522}.builder-preview p{font-size:11px;line-height:1.7;margin:10px 0}.builder-preview output{font-size:12px}#builder-canvas{min-height:230px;flex:1;max-height:600px;overflow:hidden}.builder-views{display:flex;gap:6px;margin-top:8px}.builder-views button{flex:1}.builder-editor{min-width:0;overflow:auto;padding:18px}.builder-editor label{display:flex;flex-direction:column;gap:6px;font-size:12px}.builder-editor input,.builder-editor select{min-width:0;width:100%;box-sizing:border-box;min-height:42px;border:1px solid #37373577;border-radius:8px;padding:8px;background:white;color:#373735;font:inherit;font-size:13px}.builder-editor input[type=color]{padding:4px;width:70px}.builder-name{margin-bottom:14px}.builder-presets,.builder-add,.builder-part-actions{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}.builder-presets span{font-size:12px;align-self:center}.builder-add button{flex:1;white-space:nowrap;padding:8px 5px}.builder-part-actions button{flex:1;padding:6px;font-size:11px}#builder-part-list{display:flex;gap:6px;overflow:auto;margin:14px 0;padding-bottom:6px}#builder-part-list button{flex-shrink:0;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#builder-part-list [aria-pressed=true]{background:#373735;color:white}.builder-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.builder-editor fieldset{border:0;border-top:1px solid #37373522;padding:12px 0;margin:14px 0}.builder-editor legend{font-size:12px}.builder-finish{display:grid;grid-template-columns:80px 1fr;gap:12px;margin-top:14px}.builder-sheet>footer{padding:12px 20px;border-top:1px solid #37373522}.builder-sheet footer p{font-size:12px;line-height:1.6;margin:0 0 8px}.builder-sheet footer small{display:block;font-size:10px;margin-bottom:10px}#builder-save{width:100%;background:#373735;color:white;font-size:14px;min-height:46px}#muji-builder-open,#muji-builder-edit,#muji-builder-catalog-open{background:white;color:#373735;border:1px solid #373735;border-radius:12px;min-height:44px;padding:10px 14px;font:inherit;font-size:13px;width:100%;margin:10px 0}#muji-builder-edit[hidden],#builder-part-form[hidden],#builder-radius-label[hidden]{display:none!important}#builder-status:empty{display:none}.builder-sheet button:disabled{opacity:.4}
@media(max-width:760px){.builder-sheet{border-radius:0;height:100dvh}.builder-sheet>header{padding:10px 16px}.builder-workspace{display:flex;flex-direction:column;overflow:auto}.builder-preview{flex:none;min-height:320px;padding:10px 16px;border-right:0;border-bottom:1px solid #37373522}#builder-canvas{height:230px;min-height:230px;flex:none}.builder-editor{overflow:visible;padding:16px}.builder-sheet>footer{padding:10px 16px;padding-bottom:calc(10px + env(safe-area-inset-bottom))}.builder-sheet footer small{font-size:9px}.builder-preview p{margin:6px 0}}
