/* Additional controls only. The accepted profile-polish.css is unchanged. */
html body:not(#allhir-never):not(#allhir-never-23943) .ahp-unified-profile .ahpn-subnav,
html body:not(#allhir-never):not(#allhir-never-23943) .ahp-unified-profile .ahpn-pagination,
html body:not(#allhir-never):not(#allhir-never-23943) .ahp-unified-profile .ahpn-tools {display:flex!important; flex-wrap:wrap; gap:8px; align-items:center; margin:10px 0 16px!important; padding:0!important; background:none!important; border:0!important; box-shadow:none!important;}
html body:not(#allhir-never):not(#allhir-never-23943) .ahp-unified-profile .ahpn-subnav a,
html body:not(#allhir-never):not(#allhir-never-23943) .ahp-unified-profile .ahpn-pagination a,
html body:not(#allhir-never):not(#allhir-never-23943) .ahp-unified-profile .ahpn-tools a {display:inline-flex!important; align-items:center; min-height:42px; padding:8px 12px!important; border:1px solid rgba(218,188,119,.25)!important; border-radius:10px!important; background:#1a211e!important; color:#ddbe7d!important; -webkit-text-fill-color:#ddbe7d!important; font-size:13px!important; line-height:1.4!important; box-shadow:none!important; text-decoration:none!important;}
html body:not(#allhir-never):not(#allhir-never-23943) .ahp-unified-profile .ahpn-subnav a[aria-current] {border-color:#ddbe7d!important; background:#252f29!important;}
html body:not(#allhir-never):not(#allhir-never-23943) .ahp-unified-profile .ahpn-pagination span {color:#c9c6ba!important; font-size:13px!important;}
html body:not(#allhir-never):not(#allhir-never-23943) .ahp-unified-profile .ahpn-private-row,
html body:not(#allhir-never):not(#allhir-never-23943) .ahp-unified-profile .ahpn-forum-row {padding:14px 0!important; margin:0!important; background:none!important; border:0!important; border-bottom:1px solid rgba(218,188,119,.2)!important; box-shadow:none!important; overflow-wrap:anywhere;}
html body:not(#allhir-never):not(#allhir-never-23943) .ahp-unified-profile .ahpn-private-row h3,
html body:not(#allhir-never):not(#allhir-never-23943) .ahp-unified-profile .ahpn-forum-row h3 {font-size:16px!important; margin:0 0 8px!important;}
html body:not(#allhir-never):not(#allhir-never-23943) .ahp-unified-profile .ahpn-private-row small {margin-right:14px;}
html body:not(#allhir-never):not(#allhir-never-23943) .ahp-unified-profile .ahpn-empty,
html body:not(#allhir-never):not(#allhir-never-23943) .ahp-unified-profile .ahpn-service-state {color:#c9c6ba!important; font-size:14px!important; line-height:1.6!important; margin:18px 0!important;}
/* A private service page, not another social profile. No Flow account selectors are reused. */
html body:not(#allhir-never):not(#allhir-never-23943) .ahpn-account-page {padding:24px 16px 100px!important; min-height:65vh; background:#111617!important; color:#eae6d9!important; box-sizing:border-box;}
html body:not(#allhir-never):not(#allhir-never-23943) .ahpn-account-shell {max-width:820px; margin:auto; padding:24px; border:1px solid rgba(216,187,115,.4); border-radius:20px; background:#1a211e; box-sizing:border-box;}
html body:not(#allhir-never):not(#allhir-never-23943) .ahpn-account-page * {box-sizing:border-box;}
html body:not(#allhir-never):not(#allhir-never-23943) .ahpn-account-page [hidden] {display:none!important;}
html body:not(#allhir-never):not(#allhir-never-23943) .ahpn-account-heading h1 {font:750 clamp(22px,3vw,30px)/1.25 system-ui,sans-serif!important; color:#ddbe7d!important; margin:8px 0 12px!important;}
html body:not(#allhir-never):not(#allhir-never-23943) .ahpn-account-heading small {color:#ddbe7d!important; letter-spacing:.12em; font-size:11px;}
html body:not(#allhir-never):not(#allhir-never-23943) .ahpn-account-page h2 {font-size:18px!important; line-height:1.4; color:#e8d49d!important; margin:18px 0 12px!important;}
html body:not(#allhir-never):not(#allhir-never-23943) .ahpn-account-page p,
html body:not(#allhir-never):not(#allhir-never-23943) .ahpn-account-page label,
html body:not(#allhir-never):not(#allhir-never-23943) .ahpn-account-page small {color:#c9c6ba!important; -webkit-text-fill-color:#c9c6ba!important; line-height:1.55!important;}
html body:not(#allhir-never):not(#allhir-never-23943) .ahpn-account-page a,
html body:not(#allhir-never):not(#allhir-never-23943) .ahpn-account-page summary {color:#ddbe7d!important; -webkit-text-fill-color:#ddbe7d!important; overflow-wrap:anywhere; text-decoration:none;}
html body:not(#allhir-never):not(#allhir-never-23943) .ahpn-account-tabs {display:flex!important; flex-wrap:wrap; gap:8px; margin:20px 0; padding:12px 0; border-block:1px solid rgba(218,188,119,.22);}
html body:not(#allhir-never):not(#allhir-never-23943) .ahpn-account-tabs a,
html body:not(#allhir-never):not(#allhir-never-23943) .ahpn-account-page button {display:inline-flex!important; align-items:center; justify-content:center; min-height:44px; border:1px solid rgba(218,188,119,.4)!important; border-radius:10px!important; padding:10px 14px!important; background:#1b2621!important; color:#ddbe7d!important; -webkit-text-fill-color:#ddbe7d!important; box-shadow:none!important; font-size:14px!important; line-height:1.4!important; cursor:pointer;}
html body:not(#allhir-never):not(#allhir-never-23943) .ahpn-account-tabs a[aria-current] {border-color:#ddbe7d!important; background:#26332b!important;}
html body:not(#allhir-never):not(#allhir-never-23943) .ahpn-account-page .allhir-privacy-center {padding:0!important; background:none!important; border:0!important; box-shadow:none!important;}
html body:not(#allhir-never):not(#allhir-never-23943) .ahpn-account-page .allhir-privacy-form {display:grid; gap:10px; margin:16px 0;}
html body:not(#allhir-never):not(#allhir-never-23943) .ahpn-account-page .allhir-privacy-form label {display:flex; align-items:flex-start; gap:10px; padding:10px 0;}
html body:not(#allhir-never):not(#allhir-never-23943) .ahpn-account-page input[type=checkbox] {width:20px!important; height:20px!important; flex:0 0 20px; accent-color:#ddbe7d;}
html body:not(#allhir-never):not(#allhir-never-23943) .ahpn-account-page .allhir-privacy-actions {display:grid!important; grid-template-columns:minmax(0,1fr)!important; gap:12px;}
html body:not(#allhir-never):not(#allhir-never-23943) .ahpn-account-page details {background:#18201c!important; border:1px solid rgba(218,188,119,.2)!important; border-radius:12px!important; padding:0!important; box-shadow:none!important;}
html body:not(#allhir-never):not(#allhir-never-23943) .ahpn-account-page summary {padding:14px!important; background:transparent!important; cursor:pointer;}
html body:not(#allhir-never):not(#allhir-never-23943) .ahpn-account-page .allhir-privacy-action-body {padding:4px 14px 16px!important;}
html body:not(#allhir-never):not(#allhir-never-23943) .ahpn-notification-list a {display:grid; gap:5px; padding:14px 0; border-bottom:1px solid rgba(218,188,119,.2);}
html body:not(#allhir-never):not(#allhir-never-23943) .ahpn-login-settings {padding-bottom:18px; margin-bottom:18px; border-bottom:1px solid rgba(218,188,119,.22); overflow-wrap:anywhere;}
html body:not(#allhir-never):not(#allhir-never-23943) .ahpn-account-page :focus-visible,
html body:not(#allhir-never):not(#allhir-never-23943) .ahpn-subnav a:focus-visible {outline:2px solid #ddbe7d!important; outline-offset:3px;}
@media(max-width:600px){html body:not(#allhir-never):not(#allhir-never-23943) .ahpn-account-page{padding:12px 12px 90px!important;} html body:not(#allhir-never):not(#allhir-never-23943) .ahpn-account-shell{padding:16px!important;}}

html body:not(#allhir-never):not(#allhir-never-23943) details.allhir-v14-avatar-menu > .allhir-account-dropdown {max-height:calc(100vh - 160px)!important; max-height:calc(100dvh - 160px)!important; overflow-y:auto!important; overscroll-behavior:contain; -webkit-overflow-scrolling:touch;}

/* The old mobile preview hides everything except its "view all" link. These
   panels now contain actual lists, so reveal only the new read-view content. */
html body:not(#allhir-never):not(#allhir-never-23943) main.ahp-unified-profile [data-ahpn-content="listings"] > article.allhir-profile-listing {display:flex!important; align-items:flex-start!important; gap:12px!important; padding:14px 0!important; margin:0!important;}
html body:not(#allhir-never):not(#allhir-never-23943) main.ahp-unified-profile [data-ahpn-content] > .ahpn-private-row,
html body:not(#allhir-never):not(#allhir-never-23943) main.ahp-unified-profile [data-ahpn-content] > .ahpn-forum-row,
html body:not(#allhir-never):not(#allhir-never-23943) main.ahp-unified-profile [data-ahpn-content] > .ahpn-empty,
html body:not(#allhir-never):not(#allhir-never-23943) main.ahp-unified-profile [data-ahpn-content] > .ahpn-service-state {display:block!important;}

html body:not(#allhir-never):not(#allhir-never-23943) .ahp-unified-profile .allhir-profile-publications > .ahpn-subnav {justify-content:center!important; width:100%!important; margin:10px auto 12px!important;}
