.product-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px;align-items:end}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:20px}.product-card{overflow:hidden;padding:0}.product-art{height:210px;background:#e9e5dd;display:flex;align-items:center;justify-content:center;position:relative}.product-art img{width:100%;height:100%;object-fit:contain}.product-art .badge{position:absolute;top:12px;right:12px}.product-info{padding:18px}.product-info h3{margin:8px 0}.product-info p{font-size:13px}.product-info .toolbar{gap:6px}.product-info button{padding:7px 10px;font-size:12px}.studio-form{margin:0}.studio-form fieldset{border:1px solid var(--line,#ddd);border-radius:8px;padding:12px}.studio-form .wide{grid-column:1/-1}.form-section{margin-bottom:26px;padding-bottom:18px;border-bottom:1px solid var(--line,#ddd)}.form-section h3{margin:8px 0 16px}.form-error{background:#fff0ef;color:#9a2420;border:1px solid #e9aca7;padding:12px;border-radius:8px}.upload-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:15px}.upload-slot{border:1px solid var(--line,#ddd);border-radius:10px;padding:14px;min-width:0}.upload-slot .toolbar{justify-content:space-between}.media-strip{display:flex;gap:10px;overflow-x:auto;padding:10px 0}.media-item{width:130px;flex:none;display:flex;flex-direction:column;gap:5px}.media-item img,.media-item .file-symbol{width:130px;height:90px;object-fit:contain;background:#f3f0ea;border-radius:6px}.file-symbol{display:grid;place-items:center;font-size:25px;color:#606b77}.media-item small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.media-actions{display:flex;gap:3px}.media-actions button{padding:4px 6px;font-size:11px}.master-tabs{margin-bottom:20px;justify-content:flex-start!important}.theme-editor{max-width:none}.theme-workspace{display:grid;grid-template-columns:160px minmax(400px,1fr) 230px;gap:18px;margin-top:16px}.theme-block-list{display:flex;flex-direction:column;gap:5px;max-height:640px;overflow:auto}.theme-block-list button{text-align:left;padding:9px;font-size:12px}.theme-stage{background:#dededb;padding:20px;display:flex;align-items:center;min-width:0;overflow:auto}.theme-canvas{width:100%;position:relative;flex:none;background-position:center;box-shadow:0 3px 14px #0002;overflow:hidden}.theme-block{position:absolute;border:1px dashed #9aada2;overflow:hidden;cursor:move;user-select:none;touch-action:none;white-space:pre-wrap;line-height:1.25}.theme-block.selected{border:2px solid #217a60;background:#217a600a;overflow:visible;z-index:2}.theme-block.locked{cursor:pointer}.theme-block img{width:100%;height:100%;object-fit:contain}.theme-face-grid{display:grid;grid-template-columns:repeat(2,1fr);height:100%;width:100%;overflow:hidden}.theme-face-grid img{min-width:0;min-height:0}.theme-placeholder{display:grid;place-items:center;background:#ded7c6;width:100%;height:100%;color:#6e716b}.theme-qr{font-size:28px;text-align:center}.theme-qr small{font-size:11px;display:block}.resize-handle{position:absolute;right:-5px;bottom:-5px;width:12px;height:12px;background:#217a60;border:2px solid white;cursor:nwse-resize;touch-action:none}.theme-inspector .fields{grid-template-columns:1fr 1fr;gap:8px}.theme-inspector .field{font-size:11px}.theme-inspector .field input,.theme-inspector .field select{padding:7px}.theme-inspector .check{display:flex;margin:12px 0}.theme-settings{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))!important}.theme-editor .muted{font-size:12px}.theme-inspector .toolbar{flex-direction:column;align-items:stretch}.theme-inspector .toolbar button{font-size:11px;padding:7px}@media(max-width:1100px){.theme-workspace{grid-template-columns:130px 1fr}.theme-inspector{grid-column:1/-1}.theme-inspector .fields{grid-template-columns:repeat(4,1fr)}}@media(max-width:700px){.theme-workspace{display:flex;flex-direction:column}.theme-block-list{max-height:150px;flex-direction:row;flex-wrap:wrap}.theme-stage{padding:10px;min-height:230px}.theme-inspector .fields{grid-template-columns:1fr 1fr}.product-grid{grid-template-columns:1fr}}
.product-grid button.secondary,.product-grid button.danger,.product-filters button,.master-tabs button,.table-wrap button.secondary,.table-wrap button.danger,.studio-form button.secondary,.studio-form button.danger,.modal-body button.secondary,.modal-body button.danger,#content>.toolbar button.secondary{border:1px solid var(--line,#dfe5dc);background:#fff;color:var(--ink,#20352d);border-radius:7px;padding:9px 13px;font-weight:600;font-size:12px}.product-grid button.danger,.table-wrap button.danger,.studio-form button.danger,.modal-body button.danger{color:#a13a31;border-color:#e4c2bd;background:#fff8f6}.dialog-heading{padding:24px 28px 16px;border-bottom:1px solid var(--line,#dfe5dc);display:flex;align-items:center;justify-content:space-between;gap:20px}.dialog-heading h2{margin:0;font-size:20px}.dialog-heading>[data-close]{margin-right:20px}.studio-form .modal-actions{display:flex;gap:10px;align-items:center}dialog:has(.theme-editor){max-width:1500px}.theme-editor .modal-body{padding:20px}.theme-editor .dialog-heading{padding-bottom:18px}.upload-slot .field input[type=file]{width:100%;font-size:11px}.check{display:flex;gap:8px;align-items:center;font-size:12px}.check input{width:auto}.theme-block-list button{flex-shrink:0}
.studio-form .toolbar{justify-content:flex-start}.studio-form>.dialog-heading>[data-close]{display:none}.theme-canvas.dragging{background-image:linear-gradient(to right,transparent calc(50% - .5px),#217a6055 50%,transparent calc(50% + .5px)),linear-gradient(to bottom,transparent calc(50% - .5px),#217a6055 50%,transparent calc(50% + .5px))}
.index-theme-preview{max-width:900px;margin:15px auto;box-shadow:0 3px 16px #0002;overflow:hidden}
.series-quick-create{display:grid;align-content:start;gap:8px}.series-quick-create [data-series-entry]{display:grid;gap:8px}.series-quick-create [hidden]{display:none!important}
