/* Account priorities are shared by desktop and mobile; component scope only. */
:root #account .account-priority-layout{display:flex;flex-direction:column;gap:20px;max-width:920px;margin-inline:auto}:root #account .account-priority-layout>.panel{margin:0}:root #account .account-profile-overview{display:flex;align-items:center;gap:16px}:root #account #profileAvatar{width:56px;height:56px;flex:0 0 56px;margin:0}:root #account #profileDisplayName{font-size:18px;margin:5px 0}:root #account #accountVerifiedEmail{margin:4px 0;overflow-wrap:anywhere}:root #account .account-editor{border:0;border-top:1px solid #D5C8B3;padding:14px 0 0;margin:16px 0 0}:root #account .account-editor>summary,:root #positions #profilePlanningSection>summary{min-height:44px;padding:10px 0;cursor:pointer;color:#244B4A;font-weight:500}:root #account .account-editor[open]>summary{margin-bottom:16px}:root #account .account-avatar-editor{padding:0;border:0;border-top:1px solid #D5C8B3;margin:12px 0}:root #account .account-avatar-editor>summary{min-height:44px;padding:12px 0;cursor:pointer}:root #account .account-avatar-editor[open]>summary{margin-bottom:14px}:root #account .account-email-preferences{margin-top:22px;border-top:1px solid #D5C8B3;padding-top:18px}:root #account .privacy-account{margin-top:18px}:root #account :is(.profile-save,.form-actions){flex-wrap:wrap;gap:var(--space-control)}:root #account .profile-save>p{flex-basis:100%}:root #account :is(input,select,textarea){min-width:0;max-width:100%}:root #account :is(h3,h4,p,summary,label){overflow-wrap:anywhere}:root #account .account-profile-overview>div:last-child{min-width:0}:root #account .account-form-fields{padding:0}:root #account .account-form-fields .panel-head h3{font-size:16px}:root #account #accountMaintenanceSection{padding-block:12px}:root #account #accountMaintenanceSection[open]{padding-bottom:22px}
:root #positions #profilePlanningSection{margin-bottom:24px}:root #positions #profilePlanningSection .profile-layout{grid-template-columns:minmax(0, 1fr) minmax(280px, 360px);gap:24px}:root #positions #profilePlanningSection .profile-sidebar{grid-template-columns:minmax(0, 1fr)}:root #positions #profilePlanningSection .profile-sidebar>*{grid-column:auto}:root #positions #profilePlanningSection .profile-project{margin:0}:root #positions #profilePlanningSection .purpose{display:block}:root #positions #profilePlanningSection .purpose-symbol{display:none}:root #positions #profilePlanningSection .purpose textarea{min-width:0}:root #positions #profilePlanningSection .profile-save{flex-wrap:wrap}:root #positions #profilePlanningSection .profile-save>p{flex-basis:100%}:root #positions #profilePlanningSection #profilePdf{white-space:normal;text-align:left}
@media(max-width:1000px){:root #positions #profilePlanningSection .profile-layout{grid-template-columns:minmax(0, 1fr)}:root #positions #profilePlanningSection .profile-sidebar{grid-template-columns:repeat(2, minmax(0, 1fr))}}
@media(max-width:700px){:root #account .account-priority-layout{gap:18px}:root #account .account-profile-overview{gap:12px}:root #account :is(input,select,textarea){font-size:16px}:root #positions #profilePlanningSection .profile-sidebar{grid-template-columns:minmax(0, 1fr)}:root #account :is(.profile-save,.form-actions)>button{max-width:100%;white-space:normal;min-height:44px}}

/* Desktop account: working forms on the left, live personal preview on the right. */
:root #account .account-priority-layout{display:grid;grid-template-columns:minmax(0, 1fr) 320px;align-items:start;max-width:1240px;gap:24px}
:root #account .account-main{display:grid;gap:20px;min-width:0}
:root #account .account-main>.panel,:root #account .account-overview>.panel{margin:0}
:root #account .account-overview{min-width:0;position:sticky;top:calc(var(--site-nav-height, 72px) + env(safe-area-inset-top, 0px) + 24px)}
:root #account .account-profile-overview{align-items:center;flex-wrap:wrap}
:root #account .account-overview-card{border-top:3px solid #244B4A}
:root #account #accountProfilePreview dl{margin:18px 0}
:root #account :is(h3,h4),:root #positions #profilePlanningSection :is(h3,h4){font-family:Arial,Helvetica,sans-serif;font-weight:700;line-height:1.35;letter-spacing:normal}
:root #account h3,:root #positions #profilePlanningSection h3{font-size:20px;margin:0 0 14px;color:#242D2A}
:root #account h4,:root #positions #profilePlanningSection h4,:root #account .account-form-fields .panel-head h3{font-size:16px;margin:0 0 10px;color:#242D2A}
:root #account :is(.account-editor,.account-avatar-editor)>summary,:root #positions #profilePlanningSection>summary{font-size:16px;font-weight:700;line-height:1.4}
:root #account .eyebrow,:root #positions #profilePlanningSection .eyebrow{font-size:12px;font-weight:700;line-height:1.5;letter-spacing:.06em}
:root #account #profileDisplayName{font-size:18px;font-weight:700;line-height:1.4}
:root #account .account-profile-overview h3{font-size:16px;color:#65645B;margin:0 0 6px}
:root #account .account-main p{line-height:1.6}
@media(max-width:1000px){:root #account .account-priority-layout{grid-template-columns:minmax(0, 1fr);max-width:920px}:root #account .account-overview{position:static}:root #account .account-main{gap:18px}}

:root #account #profilePageTitle{font-family:Arial,Helvetica,sans-serif;font-size:32px;font-weight:700;line-height:1.2;letter-spacing:-.02em}
:root #account :is(.account-backup-content,.account-email-preferences,.account-form-fields) h3{font-size:16px;font-weight:700}

@media(max-width:700px){:root #account #profilePageTitle{font-size:28px}}

/* Equal specificity wins over the legacy subscription block rule. */
:root #account .account-main>.panel>h3{font-size:20px;font-weight:700;line-height:1.35;margin:0 0 14px}
