/* City and consensual profile relationship settings. Inherit the selected site theme. */
.apd-editor { min-width:0; }
.apd-city-editor { margin-bottom:16px; }
.apd-editor fieldset { border:0; margin:0; padding:0; min-width:0; }
.apd-editor label { display:block; margin:16px 0 8px; font-weight:600; }
.apd-editor .form-control { width:100%; max-width:100%; box-sizing:border-box; }
.apd-editor select.form-control { height:auto; min-height:42px; }
.apd-editor .apd-help { margin:8px 0 14px; font-size:14px; line-height:1.5; opacity:.85; }
.apd-editor .apd-message { margin:12px 0; overflow-wrap:anywhere; }
.apd-editor .apd-message:empty { display:none; }
.apd-editor .apd-result { overflow-wrap:anywhere; }
.apd-editor .apd-selected,.apd-editor .apd-request-actions { display:flex; align-items:center; gap:8px; }
.apd-editor .apd-chooser > label { margin:12px 0 6px; }
.apd-editor .apd-chooser .apd-help:empty { display:none; }
.apd-editor .apd-selected { justify-content:space-between; min-height:38px; height:auto; margin-bottom:0; padding:5px 10px; }
.apd-editor .apd-selected .apd-user { min-width:0; }
.apd-editor .apd-clear-user { flex:0 0 26px; width:26px; height:26px; padding:0; border:0; border-radius:5px; background:transparent; box-shadow:none; color:inherit; font:24px/26px Arial,sans-serif; cursor:pointer; }
.apd-editor .apd-clear-user:focus-visible { outline:2px solid currentColor; outline-offset:1px; }
.apd-editor .apd-user { overflow-wrap:anywhere; }
.apd-editor .apd-results { list-style:none; margin:8px 0; padding:0; max-height:260px; overflow:auto; border:1px solid currentColor; border-radius:8px; }
.apd-editor .apd-results li { list-style:none; margin:0; padding:0; }
.apd-editor .apd-results button { width:100%; margin:0; border-radius:0; text-align:left; overflow-wrap:anywhere; white-space:normal; box-shadow:none; }
.apd-editor .apd-requests { margin-top:14px; padding-top:10px; border-top:1px solid var(--private-final-border,currentColor); }
.apd-editor h3 { font-size:18px; margin:0 0 12px; }
.apd-editor .apd-request { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; align-items:center; padding:8px 0; }
.apd-editor .apd-request + .apd-request { border-top:1px solid var(--private-final-border,currentColor); }
.apd-editor .apd-request p { margin:0; overflow-wrap:anywhere; }
.apd-editor .apd-request-actions { flex-wrap:wrap; justify-content:flex-end; }
#ppSettings .apd-editor .apd-request-actions .btn { font-size:13px!important; padding:6px 10px!important; min-height:34px!important; }
.apd-editor button { max-width:100%; white-space:normal; }
.apd-editor [hidden] { display:none!important; }
#asProfile [data-apd-public] { overflow-wrap:anywhere; }
/* One profile editor card; each field retains its own saving action. */
#ppSettings .pp-settings-profile .apd-editor { margin-bottom:24px; }
#ppSettings .pp-settings-profile > .form-group { margin-bottom:24px; }
#ppSettings .pp-settings-profile > .form-group > label { display:block; margin:0 0 8px; }
#ppSettings .pp-settings-profile > .form-group > label h4,
#ppSettings .pp-settings-profile > .birthday-once > h4 { font-size:18px; font-weight:600; line-height:1.4; }
#ppSettings .pp-settings-profile > .form-group > label h4 { margin:0; }
#ppSettings .pp-settings-profile > .birthday-once > h4 { margin:0 0 8px; }
#ppSettings .pp-settings-profile .apd-editor > form > fieldset > label { margin-top:0; font-size:18px; }
#ppSettings .pp-settings-profile .apd-editor .input-group > .form-control { flex:1 1 0%; width:1%; min-width:0; margin-bottom:0; height:38px; min-height:38px; }
#ppSettings .pp-settings-profile .apd-editor .input-group-prepend { flex:0 0 auto; }
#ppSettings .pp-settings-profile .apd-editor .input-group-prepend .btn { height:38px; white-space:nowrap; }
#ppSettings #group-selector [role="status"]:empty { display:none; }
/* Target the visible select buttons too: the theme hides the native selects. */
#ppSettings #pp-settings-profile .input-group > .settingsSelectButton {
    min-width:0!important;
    height:38px!important;
    min-height:38px!important;
    box-sizing:border-box!important;
    border:1px solid var(--private-final-border)!important;
    border-radius:9px!important;
}
#ppSettings #pp-settings-profile .birthday-once .editing-date {
    align-items:flex-start!important;
}
#ppSettings #pp-settings-profile .birthday-once .input-group-prepend {
    margin:0!important;
    flex:0 0 auto;
}
#ppSettings #pp-settings-profile [data-birthday-save] {
    height:38px!important;
    min-height:38px!important;
    box-sizing:border-box!important;
    padding:7px 12px!important;
    line-height:22px!important;
    border-radius:9px!important;
    white-space:nowrap;
}
#ppSettings .pp-settings-profile .apd-requests { margin-top:14px; }
#ppSettings .pp-settings-profile #pp-settings-relationship-requests { margin-bottom:0; }
@media(max-width:575px){.apd-editor .apd-request{grid-template-columns:minmax(0,1fr)}.apd-editor .apd-request-actions{align-items:stretch}.apd-editor .apd-request-actions button{flex:1 1 120px}#ppSettings .pp-settings-profile .apd-editor .input-group > .form-control{width:100%}}
