/* profile-details.css — maintained by section. */

/* profile-contacts-20261015-v2 */
/* Keep one spacing rule: older profile image margins must not add to the gap. */
#asProfile .pp-contact {
    display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;
    gap:5px!important;max-width:100%;vertical-align:middle;overflow-wrap:anywhere;
    margin:0!important;padding:0!important;
}
#asProfile .pp-contact>.pp-contact-avatar {
    display:block!important;position:static!important;flex:0 0 20px!important;
    width:20px!important;height:20px!important;min-width:20px!important;max-width:20px!important;
    margin:0!important;padding:0!important;border:0!important;object-fit:cover!important;border-radius:50%!important;
}
#asProfile .pp-contact>span { min-width:0;margin:0!important;padding:0!important; }

/* profile-settings-details-20261016-v18 */
/* 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%}}

/* profile-relationship-identity-20261016-v24 */
/* Compact, shared profile identity in the relationship value. */
[data-apd-public="relation"] .apd-public-relationship { display:inline-flex; flex-wrap:wrap; align-items:center; gap:4px 7px; max-width:100%; vertical-align:middle; }
[data-apd-public="relation"] .apd-relation-caption { white-space:nowrap; }
[data-apd-public="relation"] a.apd-partner { display:inline-flex; align-items:center; gap:7px; max-width:100%; min-width:0; padding:2px 0; vertical-align:middle; text-decoration:none; }
[data-apd-public="relation"] .apd-partner-avatar { position:relative; display:inline-block; flex:0 0 24px; width:24px; height:24px; margin:2px 1px; overflow:visible; }
[data-apd-public="relation"] img.apd-partner-image { display:block!important; width:24px!important; height:24px!important; max-width:24px!important; margin:0!important; border-radius:50%!important; object-fit:cover!important; }
[data-apd-public="relation"] img.apd-partner-frame { position:absolute!important; left:-4px!important; top:-4px!important; display:block!important; width:32px!important; height:32px!important; max-width:none!important; margin:0!important; border:0!important; border-radius:0!important; object-fit:contain!important; pointer-events:none; }
[data-apd-public="relation"] .apd-partner-copy { display:inline-flex; flex-wrap:wrap; align-items:center; gap:3px 5px; min-width:0; max-width:100%; }
[data-apd-public="relation"] .apd-partner-name { min-width:0; max-width:100%; overflow-wrap:anywhere; }
[data-apd-public="relation"] .apd-partner-badges { display:inline-flex; flex-wrap:wrap; align-items:center; gap:3px; }
[data-apd-public="relation"] img.apd-partner-badge { display:block!important; width:18px!important; height:18px!important; max-width:18px!important; margin:0!important; border:0!important; border-radius:0!important; object-fit:contain!important; }
[data-apd-public="relation"] a.apd-partner:focus-visible { outline:2px solid currentColor; outline-offset:3px; border-radius:3px; }
