.preset-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:16px 0;padding:14px 18px;background:#edf3fd;border:1px solid #d5e2f6;border-radius:10px}.preset-toolbar strong{display:block;font-size:13px}.preset-toolbar span{display:block;font-size:12px;color:var(--muted);margin-top:4px}.preset-toolbar button{flex-shrink:0;font-size:13px}.preset-context{font-size:13px;line-height:1.8;color:var(--blue);margin:0 0 16px;overflow-wrap:anywhere}.workspace.is-empty #groups{display:none}#preset-dialog{width:720px;max-height:90dvh;overflow:auto}#preset-dialog h2{font-size:24px;word-break:keep-all}.preset-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.preset-heading button{flex-shrink:0}.preset-intro{font-size:14px;line-height:1.8;margin:16px 0}.preset-storage{font-size:12px;color:var(--muted);line-height:1.8;margin:14px 0;overflow-wrap:anywhere}.preset-storage a{color:var(--blue)}#preset-in-use{background:#fff5db;border:1px solid #ead7a4;border-radius:8px;padding:12px;font-size:13px;line-height:1.8}.preset-list{display:grid;gap:12px;margin:18px 0}.preset-card{border:1px solid var(--line);background:#fff;border-radius:10px;padding:16px}.preset-card h3{font-size:16px;overflow-wrap:anywhere}.preset-card p{font-size:12px;color:var(--muted);line-height:1.8;overflow-wrap:anywhere;margin:7px 0}.preset-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.preset-card-actions button{font-size:12px;min-height:40px}.preset-field{display:block;font-size:13px;color:var(--muted);margin:14px 0}.preset-field input,.preset-field textarea{display:block;width:100%;margin-top:6px;padding:10px;border:1px solid var(--line);border-radius:7px;font:inherit;color:#19283e;background:#fff}.preset-field textarea{resize:vertical;min-height:80px}.preset-choices{display:flex;gap:10px 18px;flex-wrap:wrap;font-size:13px}.preset-choices label{display:flex;gap:7px;align-items:center;min-height:40px}.preset-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}#preset-form{border-top:1px solid var(--line);padding-top:16px;margin-top:16px}#preset-form summary{cursor:pointer;font-size:14px;font-weight:600}#preset-save{margin-top:16px}#preset-message{white-space:pre-line;font-size:13px;line-height:1.8;color:var(--green);margin-top:16px}#preset-message.error{color:var(--red)}
.preset-toolbar{background:transparent;border:0;border-top:1px solid var(--line);border-radius:0;padding:16px 0;margin:24px 0}.preset-toolbar strong{font-size:12px}.preset-toolbar span{font-size:11px}
@media(max-width:720px){.preset-toolbar{align-items:flex-start;flex-wrap:wrap;gap:10px}.preset-toolbar>div{flex:1;min-width:190px}.preset-toolbar button{min-height:44px}#preset-dialog{padding:16px;width:calc(100% - 24px);max-width:calc(100% - 24px)}#preset-dialog h2{font-size:20px}.preset-field input,.preset-field textarea{font-size:16px}.preset-card-actions .primary{width:100%}.preset-fields{grid-template-columns:1fr;gap:0}.preset-heading .secondary{padding:7px 10px}}
