[hidden]{display:none!important}
.preset-save{width:100%;border:1px solid #e3b4c3;background:#fff4f7;color:#b85b7b;font-size:11px;font-weight:600;border-radius:7px;padding:11px 5px;margin-bottom:14px}
.pose-tabs{display:flex;border-bottom:1px solid var(--line);margin-bottom:13px;gap:6px}
.pose-tabs button{flex:1;border:0;border-bottom:2px solid transparent;background:none;padding:10px 0;font-size:10px;white-space:nowrap;color:#8a919e}
.pose-tabs [aria-selected=true]{border-bottom-color:var(--blue);color:var(--blue);font-weight:600}
#presetCount{font-size:9px;background:#edf0f6;border-radius:8px;padding:1px 4px}
#presetSearch{width:100%;min-width:0;border:1px solid var(--line);background:#f8f9fb;border-radius:6px;padding:9px;font-size:11px;margin-bottom:10px}
.preset-list{max-height:395px;overflow-y:auto;scrollbar-width:thin;display:flex;flex-direction:column;gap:8px}
.preset-item{border:1px solid var(--line);border-radius:8px;background:#fafbfc;overflow:hidden;flex:none}
.preset-load{display:flex;align-items:center;width:100%;gap:7px;text-align:left;background:none;border:0;padding:4px 7px 4px 1px}
.preset-load img{width:72px;height:72px;object-fit:contain;flex:none}
.preset-load strong{display:block;font-size:11px;font-weight:500;line-height:1.6;overflow-wrap:anywhere;color:#48556c}
.preset-load small{display:block;font-size:8px;color:#9aA1ad;line-height:1.5;margin-top:4px}
.preset-item.active{border-color:#8ba1f3;background:#f0f3ff}.preset-item.active strong{color:var(--blue)}
.preset-item-actions{display:flex;justify-content:flex-end;gap:5px;padding:0 7px 6px}.preset-item-actions button{border:0;background:transparent;color:#8c94a2;font-size:9px;padding:5px}.preset-item-actions button:hover{color:var(--blue)}
.preset-empty{font-size:11px;line-height:1.9;color:#929aa6;text-align:center;padding:25px 8px;margin:0}
.preset-pages{display:flex;align-items:center;justify-content:space-between;margin-top:9px;font-size:10px;color:#8b93a1}.preset-pages button{background:#f5f7fa;border:0;border-radius:5px;width:30px;height:27px;font-size:17px}
.backup-actions{display:flex;gap:7px;margin-top:14px}.backup-actions button{flex:1;border:1px solid var(--line);background:white;border-radius:5px;padding:8px 4px;font-size:10px;color:#727f92}
.preset-note{font-size:9px;line-height:1.8;color:#969eac;margin:10px 0 0}.preset-status,.form-error{font-size:11px;line-height:1.8;color:#a7435d;overflow-wrap:anywhere}
.preset-dialog{width:min(410px,calc(100% - 32px));border:1px solid var(--line);border-radius:16px;padding:28px;color:#333e50;box-shadow:0 18px 60px #23335133}.preset-dialog::backdrop{background:#24314a66;backdrop-filter:blur(3px)}.preset-dialog h2{font-size:22px;margin:10px 0}.preset-dialog p.muted{font-size:11px;line-height:1.8;margin-bottom:23px}.preset-dialog label:not(.preset-checkbox){display:block;font-size:12px;margin-bottom:8px}#presetName{width:100%;border:1px solid #d8deea;border-radius:7px;padding:12px;font-size:14px;color:#354157}.preset-checkbox{display:flex;align-items:center;gap:7px;font-size:11px;margin:18px 0}.preset-checkbox input{accent-color:var(--blue);width:16px;height:16px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:26px}.dialog-actions button{border:0;border-radius:7px;padding:11px 16px;font-size:12px}.dialog-actions button:not(.primary){background:#f1f3f7;color:#7f8999}
.delete-question{padding:10px;font-size:10px;line-height:1.7;color:#a7435d}.delete-question button{margin:8px 7px 0 0;border:1px solid #e6c9d1;border-radius:4px;background:white;color:inherit;padding:5px 8px;font-size:10px}
@media(max-width:600px){.preset-save{margin-bottom:6px}.pose-tabs{max-width:360px}.preset-list{display:grid;grid-template-columns:1fr 1fr;max-height:340px;gap:7px}.preset-load{flex-direction:column;align-items:stretch;padding:6px 9px}.preset-load img{width:100%;height:105px}.preset-load strong{font-size:12px}.preset-load small{font-size:9px}.preset-item-actions button{font-size:10px}.preset-note{font-size:10px}.preset-dialog{padding:24px}.preset-empty{padding:18px}.preset-dialog .primary{font-size:12px}}
