.builder-palette{border-top:1px solid #e7dfea;padding:12px;max-height:230px;overflow:auto}.builder-palette>strong,.builder-palette>small{display:block}.builder-palette>strong{font-size:13px}.builder-palette>small{font-size:11px;color:#786c7d;margin:4px 0 12px}.palette-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.palette-grid button{border:1px solid #ddd0e1;background:#fcf9fd;border-radius:7px;padding:9px 5px;text-align:left;color:#4b3151;font-size:11px;cursor:grab}.palette-grid button:hover{background:#f0e3f3;border-color:#9e66a7}.builder-toolbar{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.builder-toolbar button{border:1px solid #d9d0db;background:#fff;border-radius:5px;padding:2px 8px;color:#583461}.builder-toolbar span{min-width:45px;text-align:center}.builder-toolbar small{margin-left:7px}.studio-stage-label{max-width:none;align-items:center;flex-wrap:wrap}.studio-stage-label>small{display:none}.studio-stage #device-preview{justify-content:flex-start;min-width:max-content}.studio-screen{max-width:none;flex:none}.builder-canvas{position:relative;padding:0!important;flex:none!important;background-color:#fff;background-image:linear-gradient(#f6f1f8 1px,transparent 1px),linear-gradient(90deg,#f6f1f8 1px,transparent 1px);background-size:20px 20px}.builder-canvas .empty-canvas{height:100%;min-height:420px}.builder-item{position:absolute;background:#fff;border:1px solid #ded7e2;border-radius:7px;box-shadow:0 2px 7px #37223f12;overflow:hidden}.builder-item.selected{outline:2px solid #932f9e;z-index:2}.builder-handle{height:22px;line-height:19px;background:#f7f0f8;color:#82568a;text-align:center;cursor:move;touch-action:none;user-select:none}.builder-content{padding:6px 11px;height:calc(100% - 22px);overflow:hidden}.builder-content h2,.builder-content h3,.builder-content p{margin:0;overflow-wrap:anywhere}.builder-content h2{font-size:23px;color:#342339}.builder-content h3{font-size:17px;color:#583460;border-bottom:1px solid #e5d7e8;padding-bottom:7px}.builder-content p{font-size:13px;line-height:1.4}.builder-content label{font-size:12px;font-weight:650;display:grid;gap:5px}.builder-content label input,.builder-content label select,.builder-content label textarea{width:100%;min-height:32px;border:1px solid #d7cbd9;border-radius:4px;padding:5px;background:#fafafa}.builder-content label input[type=checkbox]{width:auto;min-height:0}.builder-content button{background:var(--app-accent);color:#fff;border:0;border-radius:6px;padding:9px 17px}.builder-content hr{border:0;border-top:2px solid #d9c7de}.gallery-demo{display:grid;gap:5px;margin-top:8px;font-size:12px;color:#6d5a73}.gallery-demo span{display:block;background:#f5f0f6;border-radius:5px;padding:6px}.builder-resize{position:absolute;right:0;bottom:0;width:17px;height:17px;cursor:nwse-resize;touch-action:none;background:linear-gradient(135deg,transparent 45%,#9c63a4 46%,#9c63a4 52%,transparent 53%,transparent 65%,#9c63a4 66%)}.builder-item:not(.selected) .builder-resize{opacity:0}.builder-properties{background:#fbf7fc;border:1px solid #e6dce8;border-radius:9px;padding:12px;margin-bottom:18px}.builder-properties h4{margin:0 0 12px!important}.builder-properties label{display:block;font-size:11px;color:#5c4a61;margin-bottom:8px}.builder-properties input{width:100%;margin-top:4px;padding:6px;border:1px solid #d5c9d8;border-radius:5px}.builder-properties .btn{font-size:12px;margin-top:9px}
.record-galleries{margin:0 30px 22px;display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:14px}.record-gallery{padding:18px}.record-gallery h3{margin:0 0 14px}.record-gallery p{color:#756a79}.gallery-rows{display:grid;gap:7px}.gallery-row{display:flex;gap:15px;flex-wrap:wrap;background:#faf7fb;border:1px solid #eadfec;border-radius:7px;padding:10px}.gallery-row span{display:grid;font-size:12px;min-width:95px}.gallery-row strong{font-size:10px;color:#806c84;margin-bottom:3px}
.record-form .form-static{grid-column:1/-1;margin:4px 0;color:#513257}.record-form hr.form-static{width:100%;border:0;border-top:1px solid #e5d8e8}.record-form p.form-static{font-size:13px;font-weight:400;color:#64536a}
.tree-tabs button{border:0;background:transparent;color:#594d5d;font-size:13px;padding:6px 0 9px;cursor:pointer;border-bottom:2px solid transparent}.tree-tabs button.selected{color:#742774;border-bottom-color:#742774;font-weight:750}.tree-tabs button:hover{color:#742774}.studio-tree [hidden]{display:none!important}.suite-brand::before,.studio-brand::before{background-color:transparent;border-radius:0;filter:drop-shadow(0 1px 2px #fff9)}
.studio-stage #device-preview{justify-content:center;min-width:100%;width:max-content}.storage-note,.record-help{font-size:12px;line-height:1.45;color:#6d5e72}.storage-note{margin-top:7px!important}.record-help{margin:0 0 18px}
.editor-preview-shade{position:fixed;inset:0;z-index:55;background:#1c1020a8;display:grid;place-items:center;padding:18px}.editor-preview-dialog{display:flex;flex-direction:column;width:min(1000px,100%);max-height:calc(100vh - 36px);background:#fff;border-radius:14px;box-shadow:0 28px 90px #1c102055;overflow:hidden}.editor-preview-dialog>header,.editor-preview-dialog>footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px;background:#fff}.editor-preview-dialog>header{border-bottom:1px solid #e9e1eb}.editor-preview-dialog>header h2{font-size:23px;margin:4px 0 5px}.editor-preview-dialog>header p{font-size:12px;color:#6d6072;margin:0}.editor-preview-dialog>header>button{align-self:flex-start;border:0;background:#f2ebf4;color:#5e3765;border-radius:7px;padding:7px 11px;cursor:pointer}.preview-kicker{font-size:10px;letter-spacing:.1em;font-weight:800;color:#742774}.editor-preview-body{overflow:auto;padding:22px 24px}.preview-storage{border:1px solid #ded1e2;border-radius:9px;background:#fbf7fc;padding:13px 16px;margin-bottom:18px;font-size:12px}.preview-storage>strong{font-size:13px}.preview-storage p{margin:6px 0 8px;line-height:1.45;color:#625268}.preview-storage code,.storage-note code{overflow-wrap:anywhere;font-size:11px;color:#5b2964}.preview-form-wrap{border:1px solid #e6dfe8;border-radius:10px;background:#fff;padding:18px;min-height:180px}.preview-form-wrap .record-form{margin:0 auto}.preview-form-wrap .record-form .btn{grid-column:1/-1;justify-self:start}.preview-feedback{background:#e8f7ed;border:1px solid #b7dec4;color:#155f36;border-radius:8px;padding:10px 13px;margin-bottom:15px;font-size:12px}.preview-feedback.error{background:#fff1f4;border-color:#edbfcc;color:#932b48}.editor-preview-dialog>footer{border-top:1px solid #e9e1eb;justify-content:flex-end}.editor-preview-dialog>footer .btn{font-size:12px}@media(max-width:600px){.editor-preview-shade{padding:7px}.editor-preview-dialog{max-height:calc(100vh - 14px)}.editor-preview-dialog>header,.editor-preview-dialog>footer{padding:12px}.editor-preview-body{padding:12px}.preview-form-wrap{padding:12px}}
