.snapdeck-save-controls{margin-top:20px;padding-top:20px;border-top:1px solid var(--bubble-line)}
.snapdeck-save-actions{display:flex;flex-wrap:wrap;gap:10px}
.snapdeck-save-actions button,.profiles-dialog button{font:inherit;font-size:.875rem;font-weight:700;min-height:44px;border:1px solid var(--bubble-line);border-radius:999px;padding:11px 18px;background:var(--bubble);color:inherit;cursor:pointer}
.snapdeck-save-actions #snapdeck-save,.profiles-dialog .profile-primary{background:var(--theme-ink,#f6f7fa);color:var(--theme-bubbles,#1b2029);border-color:transparent}
.snapdeck-save-actions button:disabled,.profiles-dialog button:disabled{opacity:.55;cursor:wait}
.snapdeck-save-controls p{font-size:.875rem;line-height:1.5;margin:12px 0 0}
.profiles-dialog{color:var(--theme-ink,#f6f7fa);background:var(--theme-bubbles,#1b2029);border:1px solid var(--bubble-line,#ffffff26);border-radius:28px;padding:28px;width:min(600px,calc(100% - 32px));max-height:85svh;overflow:auto}
.profiles-dialog::backdrop{background:#000a;backdrop-filter:blur(6px)}
.profiles-title{display:flex;align-items:center;justify-content:space-between;gap:16px}
.profiles-title h2{font-size:1.5rem;line-height:1.2;margin:0;letter-spacing:-.03em}
.profiles-title button{flex-shrink:0}
.profiles-dialog p{font-size:.875rem;line-height:1.6}
.profile-create{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}
.profile-create label{width:100%;font-size:.875rem;font-weight:700}
.profile-create input{flex:1;min-width:120px;font:inherit;font-size:1rem;color:inherit;background:#80808015;border:1px solid var(--bubble-line,#ffffff26);border-radius:12px;padding:12px}
.profiles-list{list-style:none;padding:0;margin:20px 0 0;display:grid;gap:14px}
.profiles-list li{border:1px solid var(--bubble-line,#ffffff26);border-radius:18px;padding:18px}
.profiles-list strong{display:block;overflow-wrap:anywhere}
.profile-details{display:block;font-size:.875rem;line-height:1.5;margin:8px 0 14px;overflow-wrap:anywhere}
.profile-colors{display:flex;gap:6px;margin-bottom:14px}
.profile-colors span{width:18px;height:18px;border-radius:50%;border:1px solid #888}
.profile-row-actions{display:flex;flex-wrap:wrap;gap:8px}
.profiles-dialog :focus-visible,.snapdeck-save-actions button:focus-visible{outline:2px solid var(--theme-accent,#c7a3f1);outline-offset:4px}
@media(max-width:480px){.profiles-dialog{padding:20px}.profiles-title{align-items:flex-start}.profile-create input{flex-basis:100%}.snapdeck-save-actions button{flex:1 1 160px}}
