/* Profile choices share the filter palette and native form semantics. */
.modal:has(.bonbon-profile-editor){width:min(720px,calc(100vw - 28px));max-height:calc(100dvh - 32px);padding:26px;scrollbar-width:thin}
.modal:has(.bonbon-profile-editor)>h2{font-size:24px;margin-bottom:20px}
.profile-editor-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:5px;margin:0 0 23px;background:#080e231f;border:1px solid var(--line);border-radius:20px}
.profile-editor-steps button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:8px;border:0;border-radius:15px;background:transparent;font-size:12px;font-weight:650;color:var(--muted)}
.profile-editor-steps button>span{display:inline;width:auto;height:auto;background:none;border:0;border-radius:0;font:inherit;color:inherit}
.profile-editor-steps>button.active>span{background:none;color:inherit}
.profile-editor-steps button>svg{width:17px;height:17px;flex:none}
.profile-editor-steps button.active{color:#ffeff8;background:linear-gradient(135deg,#a87398,#815c84);box-shadow:inset 0 1px 1px #ead7f039,0 3px 8px #070c231f}
.bonbon-profile-editor{display:flex;flex-direction:column;gap:18px}
.profile-editor-lead{display:flex;flex-direction:column;gap:5px;margin:0 0 2px}.profile-editor-lead strong{font-size:19px;color:var(--ink);font-weight:650}.profile-editor-lead>span{font-size:12px;color:var(--muted)}
.bonbon-profile-editor .form-grid{gap:15px}.bonbon-profile-editor .field{font-size:12px;gap:7px}.bonbon-profile-editor :is(input:not([type=radio]):not([type=checkbox]):not([type=file]),select,textarea){border-radius:13px;background:#07142420;border:1px solid var(--line);font-size:13px;min-height:44px;padding:11px 13px}.bonbon-profile-editor textarea{resize:vertical;min-height:82px}.bonbon-profile-editor .field>small,.bonbon-profile-editor .subtle.small{font-size:11px;line-height:1.5}
.profile-essential-grid{grid-template-columns:minmax(0,1fr) 90px}.profile-essential-grid .city-field{grid-column:1/-1}.profile-essential-grid>.full{grid-column:1/-1}
.bonbon-profile-editor .form-section{padding:0;margin:0;border:0}.bonbon-profile-editor .form-section>h3{font-size:15px;display:flex;align-items:center;justify-content:space-between;margin:0 0 14px}.profile-interest-count{font-size:11px;color:var(--muted);padding:5px 9px;border:1px solid var(--line);border-radius:10px}
.bonbon-profile-editor .avatar-create-entry{margin:12px 0 16px;padding:16px;background:#bc9fce0b;border:1px solid var(--line);border-radius:18px;gap:14px}.bonbon-profile-editor .avatar-create-entry strong{font-size:13px}.bonbon-profile-editor .avatar-create-entry p{font-size:11px}.bonbon-profile-editor .avatar-create-entry .secondary{font-size:12px;min-height:44px;border-radius:13px}
.bonbon-profile-editor .photo-upload{position:relative;display:inline-flex;flex-direction:row;align-self:flex-start;align-items:center;gap:8px;min-height:42px;padding:10px 13px;border:1px solid var(--line);border-radius:13px;cursor:pointer;font-weight:600}.bonbon-profile-editor .photo-upload svg{width:18px;height:18px}.bonbon-profile-editor .photo-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.bonbon-profile-editor .photo-upload:focus-within{outline:2px solid var(--lavender);outline-offset:3px}.bonbon-profile-editor .photo-mini{margin:8px 0 18px}
.bonbon-profile-editor .interest-picker{gap:8px}.bonbon-profile-editor .interest-picker .chip{min-height:39px;padding:8px 13px;font-size:12px;border-radius:14px}.bonbon-profile-editor .interest-picker .selected{background:#c490b42c;border-color:#d4a7c286;color:#f6dce9}
.profile-option{border:1px solid var(--line);border-radius:18px;background:#b4a4d005}.profile-option summary{display:flex;align-items:center;gap:10px;min-height:54px;padding:14px 16px;cursor:pointer;list-style:none;font-size:13px;font-weight:650}.profile-option summary::-webkit-details-marker{display:none}.profile-option summary small{margin-left:auto;font-size:11px;color:var(--muted);font-weight:400}.profile-option summary svg{width:15px;height:15px;color:var(--muted);transform:rotate(90deg)}.profile-option[open] summary svg{transform:rotate(-90deg)}.profile-option-content{display:flex;flex-direction:column;gap:16px;padding:2px 16px 16px}.profile-option .bonbon-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.profile-option .bonbon-choices label>span{min-height:39px}.bonbon-profile-editor .check-row{font-size:12px;line-height:1.5;gap:10px}.bonbon-profile-editor .check-row input{accent-color:#bf8da9;width:18px;height:18px}
.bonbon-profile-editor .symbol-preview{margin:0;padding:13px;border-radius:15px;border:1px solid var(--line);background:#070e231a;min-height:46px}.bonbon-profile-editor .symbol-preview>span:first-child{margin-right:auto;font-size:11px}.bonbon-profile-editor .symbol-preview .subtle{font-size:11px}
.bonbon-profile-editor .modal-actions{position:sticky;bottom:-26px;z-index:2;display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:2px -26px -26px;padding:15px 26px;background:var(--surface);border-top:1px solid var(--line)}.bonbon-profile-editor .modal-actions>.subtle{margin-right:auto;font-size:11px}.bonbon-profile-editor .modal-actions .primary{min-height:46px;border-radius:15px;font-size:12px}.bonbon-profile-editor .modal-actions .ghost{font-size:12px}
@media(max-width:600px){.modal:has(.bonbon-profile-editor){padding:18px;width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:24px}.modal:has(.bonbon-profile-editor)>h2{font-size:21px}.profile-editor-steps{margin-bottom:18px}.profile-editor-steps button{font-size:11px;min-height:44px;gap:5px}.profile-editor-steps button>svg{width:15px;height:15px}.profile-editor-lead strong{font-size:17px}.bonbon-profile-editor .form-grid{gap:12px}.bonbon-profile-editor .avatar-create-entry{flex-direction:column;align-items:stretch;padding:14px}.bonbon-profile-editor .modal-actions{bottom:-18px;margin:2px -18px -18px;padding:12px 18px}.bonbon-profile-editor .modal-actions>.subtle{width:auto;max-width:none;margin-bottom:0;font-size:10px}.bonbon-profile-editor .modal-actions .primary{padding:0 15px}.profile-option summary{padding:13px}.profile-option-content{padding:0 13px 14px}.bonbon-profile-editor .interest-picker .chip{font-size:11px;padding:7px 11px}}

@media(max-width:400px){.bonbon-profile-editor .modal-actions{display:grid;grid-template-columns:auto minmax(0,1fr)}.bonbon-profile-editor .modal-actions>.subtle{grid-column:1/-1}.bonbon-profile-editor .modal-actions>.primary{justify-self:end}.bonbon-profile-editor .modal-actions>.primary:only-of-type{grid-column:2}}
