.email-consent-choice{margin:12px 0 6px;padding:16px;border:1px solid var(--bf-theme-line,#dce5da);border-radius:11px;background:var(--bf-theme-soft,#f6f8f4)}
.email-consent-choice .checkbox-label{align-items:flex-start;gap:10px;font-size:12px;line-height:1.7}
.email-consent-choice .checkbox-label input{flex:0 0 auto;margin-top:5px}
.email-consent-choice .small-muted{margin:9px 0 0;font-size:11px;line-height:1.6}
.registration-legal-choice a{text-decoration:underline;text-underline-offset:3px;font-weight:600}
.email-marketing-settings{padding-top:18px;border-top:1px solid var(--bf-theme-line,#e1e6de)}
.account-privacy-panel{margin-top:30px;padding:22px;border:1px solid var(--bf-theme-line,#d8ddd5);background:var(--bf-theme-soft,#f6f7f3);border-radius:13px}
.account-privacy-panel h3{font-size:20px;margin:0 0 10px}.account-privacy-panel p{font-size:13px;line-height:1.7}.account-privacy-panel .button{margin-top:10px}
#dialog:has(.account-closure-dialog){width:760px;max-width:min(760px,calc(100% - 32px))}
.account-closure-dialog{padding:30px}.account-closure-dialog h2{font-size:27px;line-height:1.3;padding-right:25px}.account-closure-dialog>p{font-size:14px;line-height:1.75}
.account-closure-salons{display:grid;gap:16px}.account-closure-salons fieldset{border:1px solid var(--bf-theme-line,#d8e1d6);border-radius:12px;padding:18px;min-width:0}.account-closure-salons legend{font-size:16px;font-weight:650;padding:0 7px;overflow-wrap:anywhere}.account-closure-salons p{font-size:13px;line-height:1.6}.account-closure-salons label{display:grid;gap:8px;font-size:13px;margin-top:14px}.account-closure-salons select{width:100%;max-width:100%;min-width:0;font:inherit;padding:12px;border:1px solid var(--bf-theme-line,#cbd8ca);border-radius:9px;background:var(--bf-theme-surface,white)}.account-closure-salons .checkbox-label{display:flex;align-items:flex-start;gap:10px;line-height:1.7}.account-closure-salons .checkbox-label input{margin-top:5px;flex:0 0 auto}.account-closure-dialog .checkbox-label{line-height:1.7;font-size:13px}.account-closure-dialog .modal-actions{flex-wrap:wrap}.account-closure-dialog .button{min-height:46px;white-space:normal;font-size:13px}.account-closure-dialog .notice li{margin:8px 0;font-size:13px}
/* Keep Safari's native menu from shrinking the closure choice. The chevron
   is the existing admin-filter-bar treatment, scoped only to this dialog. */
.account-closure-salons label:has(select){position:relative}
.account-closure-salons select{-webkit-appearance:none;appearance:none;height:44px;min-height:44px;box-sizing:border-box;padding:8px 38px 8px 12px}
.account-closure-salons label:has(select)::after{content:'⌄';position:absolute;right:15px;bottom:12px;line-height:20px;font-size:18px;pointer-events:none;color:var(--bf-theme-muted,#516947)}
@media(max-width:600px){.account-closure-dialog{padding:24px 17px}.account-closure-dialog h2{font-size:23px}.account-closure-salons fieldset{padding:14px}.account-closure-salons select,.account-closure-dialog input[type=password]{font-size:16px}.account-closure-dialog .modal-actions{flex-direction:column;align-items:stretch}.account-closure-dialog .modal-actions .button{width:100%}.account-privacy-panel{padding:17px}}
.contact-marketing-choices{border:1px solid var(--bf-theme-line,#dce5da);border-radius:11px;padding:16px;min-width:0;background:var(--bf-theme-soft,#f6f8f4)}
.contact-marketing-choices legend{font-size:13px;font-weight:650;padding:0 6px}
.contact-marketing-choices>.checkbox-label{margin:13px 0;align-items:flex-start;gap:10px;font-size:12px;line-height:1.7}
.contact-marketing-choices>.checkbox-label input{margin-top:5px;flex:0 0 auto}
.contact-marketing-choices>label:not(.checkbox-label){display:grid;gap:8px;font-size:12px;margin:12px 0}
.contact-marketing-choices input[type=tel]{min-width:0;width:100%}
.contact-marketing-choices .small-muted{font-size:11px;line-height:1.65}
.crm-consent-panel{border:1px solid var(--bf-theme-line,#d9e2d7);background:var(--bf-theme-surface,#fff);border-radius:15px;padding:22px;margin:18px 0}
.crm-consent-panel>article{padding:16px 0;border-bottom:1px solid var(--bf-theme-line,#e0e7db)}
.crm-consent-panel h4{font-size:16px;margin:0 0 10px}
.crm-consent-panel p{font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.crm-consent-panel details{padding:12px 0;font-size:12px;line-height:1.65}
.crm-consent-panel summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:8px;font-weight:600}
.crm-consent-panel summary svg{width:16px;height:16px;flex-shrink:0}
.crm-consent-panel .button{margin-top:10px}
.crm-consent-history{padding-top:22px}
.crm-consent-event{border-bottom:1px solid var(--bf-theme-line,#e3e9df)}
@media(max-width:600px){.contact-marketing-choices{padding:13px}.contact-marketing-choices input[type=tel]{font-size:16px}.crm-consent-panel{padding:17px}.crm-consent-panel .admin-pagination{flex-wrap:wrap}.crm-consent-panel .button{width:100%}}
.closure-review-summary h2{font-size:23px;line-height:1.35}.closure-review-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.closure-review-metrics button{display:grid;gap:7px;justify-items:start;text-align:left;background:var(--bf-theme-soft,#f5f8f3);border:1px solid var(--bf-theme-line,#dce4d8);border-radius:10px;padding:16px;font:inherit;color:var(--bf-theme-text,#31513b);cursor:pointer}.closure-review-metrics button[aria-pressed=true]{border-color:#789e72;background:var(--bf-theme-soft,#eef5e9)}.closure-review-metrics strong{font-size:26px}.closure-review-metrics span{font-size:12px}.closure-review-summary>article{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid var(--bf-theme-line,#e1e7dc)}.closure-review-summary>article>div{min-width:0;overflow-wrap:anywhere}.closure-review-summary article p{font-size:12px;line-height:1.6}.closure-review-summary article small{font-size:11px;line-height:1.65;color:var(--bf-theme-muted,#687867)}@media(max-width:600px){.closure-review-metrics{gap:7px}.closure-review-metrics button{padding:11px}.closure-review-metrics span{font-size:10px}.closure-review-summary>article{flex-direction:column;align-items:stretch}.closure-review-summary article .button{width:100%}}

/* Account service contact is a separate, voluntary purpose. */
.service-contact-settings .status-pill,.crm-service-contact .status-pill{white-space:normal}
.service-contact-settings .service-contact-warning{background:var(--bf-theme-danger-surface,#fff3ed);border-left:3px solid var(--bf-theme-danger,#b55a30);border-radius:5px;padding:10px 12px;color:var(--bf-theme-danger,#713a22);font-size:13px;line-height:1.6;margin:6px 0}
.service-contact-warning[hidden]{display:none!important}
.member-marketing-preferences{border-top:1px solid var(--bf-theme-line,#dce5da);padding-top:15px;margin-top:15px}
.member-marketing-preferences>summary{display:flex;justify-content:space-between;gap:12px;cursor:pointer;font-size:14px;font-weight:650;color:var(--bf-theme-text,#163d32)}
.member-marketing-preferences>summary svg{width:16px;height:16px;flex:none}
.crm-service-contact{border-bottom:1px solid var(--bf-theme-line,#dce5da);padding-bottom:18px;margin-bottom:18px}
.crm-service-contact h3{margin-top:7px}
@media(max-width:600px){.service-contact-settings input[type=tel],.service-contact-choice input[type=tel]{font-size:16px}.service-contact-settings .button{width:100%}.member-marketing-preferences>summary{font-size:14px}}

/* The registration notice stays next to email collection; it is not an opt-in. */
.registration-offers-notice{padding:13px 14px;border:1px solid var(--bf-theme-line,#dce5da);border-radius:9px;background:var(--bf-theme-soft,#f6f8f4)}
.registration-offers-notice h3{margin:0 0 7px;font-size:15px;line-height:1.4}
.registration-offers-notice p{margin:0 0 10px;font-size:13px;line-height:1.6;white-space:pre-line;overflow-wrap:anywhere}
.registration-offers-notice .checkbox-label{margin:0;font-size:13px;line-height:1.5}
.registration-click-notice{margin:0;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.registration-click-notice a{text-decoration:underline;text-underline-offset:3px;font-weight:600}
.premium-customer-marketing-settings{padding-top:16px;border-top:1px solid var(--bf-theme-line,#dce5da)}
.premium-customer-marketing-settings h3{margin:0 0 9px}
.premium-customer-marketing-settings p{font-size:13px;line-height:1.6}

/* Admin customer record: color always accompanies a truthful text and symbol. */
.crm-consent-disclosure .crm-consent-disclosure-heading{display:grid;gap:7px;min-width:0}
.crm-permission-summary{display:flex;flex-wrap:wrap;gap:5px;align-items:center}
.crm-consent-disclosure .crm-permission-summary .status-pill{font-size:11px;line-height:1.35;padding:4px 7px;white-space:normal;font-weight:600}
.crm-permission-status{display:inline-flex;align-items:center;gap:6px;white-space:normal;line-height:1.4;max-width:100%}
.crm-permission-status>span[aria-hidden]{font-size:14px;font-weight:800;flex:none}
.status-pill.crm-permission-status--confirmed{background:var(--bf-theme-soft,#e6f5e9);color:var(--bf-theme-text,#166338);border:1px solid var(--bf-theme-line,#b4d9be)}
.status-pill.crm-permission-status--blocked{background:var(--bf-theme-danger-surface,#fff0ed);color:var(--bf-theme-danger,#a52924);border:1px solid var(--bf-theme-danger,#ecc0bb)}
.status-pill.crm-permission-status--pending{background:var(--bf-theme-soft,#fff7df);color:var(--bf-theme-gold,#775210);border:1px solid var(--bf-theme-gold-line,#dfc88c)}
.status-pill.crm-permission-status--unknown{background:var(--bf-theme-soft,#f0f2f3);color:var(--bf-theme-muted,#596266);border:1px solid var(--bf-theme-line,#dce1e3)}
.crm-consent-panel .crm-permission-evidence{margin:7px 0;font-size:12px}
@media(max-width:600px){.crm-consent-disclosure .crm-permission-summary .status-pill{font-size:11px}.crm-consent-disclosure>summary{align-items:flex-start}.crm-permission-summary{gap:5px}}
.crm-customer-evidence-facts{display:grid;gap:8px;margin:12px 0}
.crm-customer-evidence-facts>div{display:grid;grid-template-columns:minmax(130px,.8fr) minmax(0,1.2fr);gap:10px;border-bottom:1px solid var(--bf-theme-line,#e5e9e2);padding-bottom:7px}
.crm-customer-evidence-facts dt{font-weight:600;color:var(--bf-theme-text,#43564b)}.crm-customer-evidence-facts dd{margin:0;overflow-wrap:anywhere}
.crm-customer-evidence-event{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;padding:10px 0;border-bottom:1px solid var(--bf-theme-line,#e5e9e2)}
.crm-customer-evidence-event .status-pill{justify-self:start}.crm-customer-evidence-event time{font-size:11px;color:var(--bf-theme-muted,#59665e);align-self:center}.crm-customer-evidence-event small{grid-column:1/-1;color:var(--bf-theme-muted,#59665e);overflow-wrap:anywhere}
@media(max-width:600px){.crm-customer-evidence-facts>div{grid-template-columns:1fr;gap:3px}.crm-customer-evidence-event{grid-template-columns:1fr}.crm-customer-evidence-event time{font-size:12px}}
