html.account-root body.account-hub{--ah-bg:var(--dm-surface,#fff);--ah-ink:var(--dm-text,#153c59);--ah-muted:var(--dm-muted,#526c83);--ah-line:var(--dm-border,#d9e7ed);--ah-accent:var(--dm-accent,#00899b);--ah-hover:var(--dm-hover,#edf8fa);color:var(--ah-ink)}
html.account-root body.account-hub .account-hero{height:auto;min-height:0;background:none;padding:24px 0 12px}
html.account-root body.account-hub .account-hero .container,html.account-root body.account-hub .ao-main{max-width:1040px!important;margin-left:auto;margin-right:auto}
html.account-root body.account-hub[data-account-page] .account-hero .container{padding-block:0}
html.account-root body.account-hub[data-account-page] .account-hero::after{content:none}
html.account-root body.account-hub .account-hero h1{font:700 28px/1.25 Arial,sans-serif;letter-spacing:0;margin:0 0 6px;color:var(--ah-ink)}
html.account-root body.account-hub .account-hero p{font-size:15px;margin:0;line-height:1.5;color:var(--ah-muted)}
html.account-root body.account-hub .ao-main{display:block;padding-top:12px;padding-bottom:calc(32px + env(safe-area-inset-bottom))}
.account-hub .ao-content{display:grid;gap:28px}
.account-hub .ah-profile{display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:18px;padding:20px;border:1px solid var(--ah-line);border-radius:8px;background:var(--ah-bg)}
.account-hub #ao-avatar{width:72px;height:72px;border-radius:50%;object-fit:cover}
.account-hub .ah-identity h2{font-size:22px;line-height:1.3;margin:0 0 4px;overflow-wrap:anywhere}
.account-hub .ah-identity p{margin:4px 0 0;color:var(--ah-muted);font-size:14px;overflow-wrap:anywhere}
.account-hub .ah-profile-actions{display:flex;gap:8px;flex-wrap:wrap;max-width:320px}
.account-hub .ah-profile-actions .button{min-height:44px;font-size:14px;padding:10px 12px;white-space:normal;text-align:center}
.account-hub .ah-quick h2,.account-hub .ah-settings h2{font-size:18px;line-height:1.3;margin:0 0 12px;color:var(--ah-ink)}
html.account-root body.account-hub .ao-quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0}
html.account-root body.account-hub .ao-quick-actions>a{display:flex;align-items:center;gap:12px;min-height:72px;padding:14px;border:1px solid var(--ah-line);border-radius:8px;background:var(--ah-bg);color:var(--ah-ink);font-size:15px;font-weight:600;line-height:1.4;overflow-wrap:anywhere;box-sizing:border-box}
html.account-root body.account-hub .ao-quick-actions>a:first-child{background:var(--ah-hover);border-color:var(--ah-accent);color:var(--ah-ink)}
.account-hub .ah-icon{display:block;width:24px;height:24px;flex:0 0 24px;background:currentColor;mask:var(--ah-icon) center/contain no-repeat;-webkit-mask:var(--ah-icon) center/contain no-repeat;color:var(--ah-accent)}
html.account-root body.account-hub .ao-quick-actions>a{grid-column:auto;flex-direction:row;text-align:left}
html.account-root body.account-hub .ao-quick-actions>a:last-child{grid-column:auto}
html.account-root body.account-hub .ao-quick-actions>a:first-child{background:var(--ah-hover)!important;color:var(--ah-ink)!important}
html.account-root body.account-hub .ao-quick-actions>a:first-child .ah-icon{color:var(--ah-accent)}
.account-hub .ah-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.account-hub .ah-settings section{min-width:0}
.account-hub .ah-rows{border-top:1px solid var(--ah-line);--ah-row-line:color-mix(in srgb,var(--ah-line) 65%,transparent)}
.account-hub .ah-row{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:12px 4px;border:0;border-bottom:1px solid var(--ah-line);background:transparent;color:var(--ah-ink);font:400 15px/1.4 Arial,sans-serif;text-align:left;box-sizing:border-box;cursor:pointer}
.account-hub .ah-row>span:nth-child(2){min-width:0;overflow-wrap:anywhere;flex:1}
.account-hub .ah-chevron{font-size:24px;color:var(--ah-muted);flex:none}
.account-hub .ah-row:hover,.account-hub .ao-quick-actions>a:hover{background:var(--ah-hover);text-decoration:none}
.account-hub :is(a,button,summary):focus-visible{outline:3px solid var(--ah-accent);outline-offset:3px}
.account-hub #ah-signout{font-weight:600}
.account-hub .ah-progress{border-top:1px solid var(--ah-line)}
.account-hub .ah-progress>summary{padding:14px 0;min-height:44px;box-sizing:border-box;cursor:pointer;font-weight:600}
.account-hub .ah-progress .ao-completion{border:0;background:none;box-shadow:none;padding:12px 0}
html.account-root body.account-hub[data-account-page] .account-workspace .ah-progress .ao-completion{padding:12px 0;border:0;background:transparent;box-shadow:none}
.account-hub .ah-progress .ao-checklist>a{min-height:44px}
.account-hub .ah-status{color:var(--dm-danger,#a12d3e);font-size:14px;overflow-wrap:anywhere}
.account-hub .ah-identity{min-width:0}
.account-hub .ah-identity p{line-height:1.5}
.account-hub .ah-profile-actions .button{display:flex;align-items:center;justify-content:center;overflow-wrap:anywhere}
html.account-root body.account-hub .ao-quick-actions{grid-auto-rows:1fr}
html.account-root body.account-hub .ao-quick-actions>a{transition:background-color .15s,border-color .15s;text-decoration:none}
html.account-root body.account-hub .ao-quick-actions>a:active,.account-hub .ah-row:active{background:var(--ah-hover);box-shadow:inset 0 0 0 1px var(--ah-accent)}
.account-hub .ah-row{border-bottom-color:var(--ah-row-line,var(--ah-line));padding:12px 8px}
.account-hub .ah-progress{border-top:0;border-bottom:1px solid var(--ah-line)}
.account-hub .ah-progress>summary{padding:14px 8px;font-size:15px;line-height:1.5}
.account-hub .ah-progress .ao-completion h2{font-size:16px;line-height:1.5}
.account-hub .ah-progress .ao-stats{grid-template-columns:repeat(2,minmax(0,1fr));margin:0 0 12px;gap:8px}
.account-hub .ah-progress .ao-stats>a{min-height:64px;border-color:var(--ah-line);background:var(--ah-bg);color:var(--ah-ink)}
.account-hub .ah-progress .ao-stats :is(strong,small){overflow-wrap:anywhere}
.account-hub .ah-progress .ao-checklist>a{display:flex;align-items:center;gap:8px;min-height:44px;font-size:13px}
.account-hub .ah-progress .ao-checklist>a>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}
.account-hub .ah-progress .ao-check-status{white-space:nowrap}
.account-hub .ah-progress .ao-confirmations{display:flex;gap:8px;flex-wrap:wrap}
.account-hub .ah-progress .ao-confirmations button{min-height:44px;white-space:normal}
@media(max-width:700px){
 .account-hub .ah-profile{grid-template-columns:56px minmax(0,1fr);padding:16px;gap:12px}
 .account-hub #ao-avatar{width:56px;height:56px}
 .account-hub .ah-identity h2{font-size:20px}
 .account-hub .ah-profile-actions{grid-column:1/-1;max-width:none;display:grid;grid-template-columns:1fr 1fr}
 html.account-root body.account-hub .ao-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
 html.account-root body.account-hub .ao-quick-actions>a{min-height:76px;padding:12px;gap:10px;font-size:14px}
 .account-hub .ah-settings{grid-template-columns:1fr;gap:24px}
 .account-hub .ao-content{gap:24px}
 html.account-root body.account-hub .ao-main{padding-bottom:calc(108px + env(safe-area-inset-bottom))}
}

/* Mobile account hub (design 9d): tabs, tiles and the Travel Profile card. Desktop keeps the full lists. */
.account-hub .ah-chip{display:contents}
.account-hub .ah-cover{display:none}
.account-hub :is(.ah-tabs,.ah-mobile-footer,.ah-theme-row,.ah-initials,.ah-value,.ah-progress-chip),.account-hub .ah-progress>summary .ah-chevron{display:none}
@media(max-width:767px){
 html.account-root body.account-hub{--ah-page:#fff;--ah-surface:#f4f7f8;--ah-card-line:#d5e0e2;--ah-text:#14262b;--ah-m-muted:#4a5d62;--ah-m-accent:#0b7c8c;--ah-on-accent:#fff;--ah-tint:#e6f3f5;--ah-danger:#b3261e;--ah-danger-bg:#fbeceb}
 html.account-root[data-theme=dark] body.account-hub{--ah-page:var(--dm-canvas);--ah-surface:var(--dm-raised);--ah-card-line:var(--dm-border);--ah-text:var(--dm-text);--ah-m-muted:var(--dm-muted);--ah-m-accent:var(--dm-accent);--ah-on-accent:var(--dm-on-accent);--ah-tint:#1f3236;--ah-danger:var(--dm-danger);--ah-danger-bg:var(--dm-danger-bg)}
 /* Outranks account-design.css, which paints account heroes with the page surface. */
 html.account-root body.account-hub[data-account-page] .account-hero.hero{padding:0;background:#0b7c8c;color:#fff}
 html.account-root body.account-hub[data-account-page] .account-hero .container{padding:22px 20px 100px}
 html.account-root body.account-hub .account-hero h1{margin:0;color:#fff;font:700 28px/1.2 Arial,Helvetica,sans-serif}
 html.account-root body.account-hub .account-hero p{margin:4px 0 0;color:#d9f1f3;font-size:14px}
 html.account-root body.account-hub[data-account-page] .account-hero.ah-has-cover{position:relative;overflow:hidden;isolation:isolate}
 html.account-root body.account-hub .account-hero.ah-has-cover .ah-cover{display:block;position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover}
 html.account-root body.account-hub[data-account-page] .account-hero.ah-has-cover::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgb(4 22 30 / 62%),rgb(4 22 30 / 28%) 60%,rgb(4 22 30 / 10%))}
 html.account-root body.account-hub .account-hero.ah-has-cover p{color:#fff;text-shadow:0 1px 3px rgb(0 0 0 / 45%)}
 html.account-root body.account-hub .account-hero.ah-has-cover h1{text-shadow:0 1px 4px rgb(0 0 0 / 45%)}
 html.account-root body.account-hub .ao-main{padding-top:0}
 html.account-root body.account-hub .ao-content{gap:18px}

 html.account-root body.account-hub .ah-profile{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:10px;margin-top:-52px;padding:0 16px 18px;border:1px solid var(--ah-card-line);border-radius:22px;background:var(--ah-surface);box-shadow:0 12px 30px rgba(0,0,0,.18);text-align:center}
 html.account-root body.account-hub .ah-avatar{width:72px;height:72px;margin-top:-30px;border-radius:50%;background:var(--ah-tint);box-shadow:0 0 0 4px var(--ah-surface)}
 html.account-root body.account-hub #ao-avatar{display:block;width:72px;height:72px}
 html.account-root body.account-hub .ah-avatar-empty #ao-avatar{display:none}
 html.account-root body.account-hub .ah-avatar-empty .ah-initials{display:grid;place-items:center;width:100%;height:100%;color:var(--ah-m-accent);font:800 24px/1 Arial,Helvetica,sans-serif}
 html.account-root body.account-hub .ah-identity{width:100%}
 html.account-root body.account-hub .ah-identity h2{margin:0 0 2px;color:var(--ah-text);font-size:20px;font-weight:800}
 html.account-root body.account-hub .ah-identity p:not([hidden]){display:inline;margin:0;color:var(--ah-m-muted);font-size:13px}
 html.account-root body.account-hub #ah-identity-detail:not([hidden])::after{content:' \00B7  '}
 html.account-root body.account-hub .ah-profile-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%;max-width:none}
 html.account-root body.account-hub .ah-profile-actions .button{min-height:44px;padding:8px;border:1.5px solid var(--ah-card-line);border-radius:12px;background:transparent;color:var(--ah-text);font-size:14px;font-weight:800}
 /* theme.css forces dark .button colours, so the filled Edit Profile button matches its priority. */
 html.account-root body.account-hub .ah-profile-actions .ah-edit-profile{border-color:var(--ah-m-accent)!important;background:var(--ah-m-accent)!important;color:var(--ah-on-accent)!important}

 html.account-root body.account-hub .ah-quick h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 html.account-root body.account-hub .ao-quick-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 6px}
 html.account-root body.account-hub .ao-quick-actions>a,html.account-root body.account-hub .ao-quick-actions>a:first-child{flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;min-height:0;padding:0;border:0;background:none!important;box-shadow:none;color:var(--ah-text)!important;font-size:12px;font-weight:700;line-height:1.25;text-align:center}
 html.account-root body.account-hub .ao-quick-actions .ah-chip{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:var(--ah-tint)}
 html.account-root body.account-hub .ao-quick-actions .ah-icon,html.account-root body.account-hub .ao-quick-actions>a:first-child .ah-icon{width:23px;height:23px;flex-basis:23px;color:var(--ah-m-accent)}
 html.account-root body.account-hub .ao-quick-actions>a:first-child .ah-chip{background:#0b7c8c}
 html.account-root body.account-hub .ao-quick-actions>a:first-child .ah-chip .ah-icon{color:#fff}

 html.account-root body.account-hub .ah-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;margin-bottom:-6px;padding:4px;border:1px solid var(--ah-card-line);border-radius:14px;background:var(--ah-surface)}
 /* 36px tabs with the hit area padded to 44px. */
 html.account-root body.account-hub .ah-tabs [role=tab]{position:relative;min-height:36px;padding:0 4px;border:0;border-radius:10px;background:transparent;color:var(--ah-m-muted);font:800 13px/1.2 Arial,Helvetica,sans-serif;cursor:pointer}
 html.account-root body.account-hub .ah-tabs [role=tab]::before{content:'';position:absolute;inset:-4px 0}
 html.account-root body.account-hub .ah-tabs [aria-selected=true]{background:var(--ah-page);color:var(--ah-text);box-shadow:0 1px 4px rgba(0,0,0,.15)}

 html.account-root body.account-hub .ah-settings{display:block}
 html.account-root body.account-hub .ah-settings>section>h2,html.account-root body.account-hub .ah-desktop-only{display:none!important}
 html.account-root body.account-hub .ah-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;border:0}
 html.account-root body.account-hub .ah-row{flex-direction:column;align-items:flex-start;gap:10px;min-height:0;padding:14px;border:1px solid var(--ah-card-line);border-radius:16px;background:var(--ah-surface);color:var(--ah-text);font:800 14px/1.3 Arial,Helvetica,sans-serif}
 html.account-root body.account-hub .ah-row>span:nth-child(2){flex:none}
 html.account-root body.account-hub .ah-row .ah-chevron{display:none}
 html.account-root body.account-hub :is(.ah-row,.ah-theme-row) .ah-chip,html.account-root body.account-hub .ah-progress-chip{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:10px;background:var(--ah-tint)}
 html.account-root body.account-hub :is(.ah-row,.ah-theme-row,.ah-progress-chip) .ah-icon{width:18px;height:18px;flex-basis:18px;color:var(--ah-m-accent)}

 html.account-root body.account-hub [data-account-group=app] .ah-rows{display:block;border:1px solid var(--ah-card-line);border-radius:18px;background:var(--ah-surface);overflow:hidden}
 html.account-root body.account-hub [data-account-group=app] :is(.ah-row,.ah-theme-row){display:flex;flex-direction:row;align-items:center;gap:12px;min-height:52px;padding:9px 14px;border:0;border-bottom:1px solid var(--ah-card-line);border-radius:0;background:transparent;color:var(--ah-text);font:700 15px/1.3 Arial,Helvetica,sans-serif}
 html.account-root body.account-hub [data-account-group=app] .ah-rows>:last-child{border-bottom:0}
 html.account-root body.account-hub [data-account-group=app] .ah-row>span:nth-child(2){flex:1}
 html.account-root body.account-hub [data-account-group=app] .ah-row .ah-chevron{display:block}
 html.account-root body.account-hub .ah-value{display:block;color:var(--ah-m-muted);font-size:14px;font-weight:700}
 html.account-root body.account-hub .ah-theme-row{flex-wrap:wrap}
 html.account-root body.account-hub #ah-theme-label{flex:1;min-width:max-content}
 html.account-root body.account-hub .ah-theme-options{display:flex;margin-left:auto;padding:3px;border:1px solid var(--ah-card-line);border-radius:999px;background:var(--ah-page)}
 html.account-root body.account-hub .ah-theme-options label{position:relative;display:grid;place-items:center;min-height:32px;padding:0 11px;border-radius:999px;color:var(--ah-m-muted)!important;font-size:13px;font-weight:800;cursor:pointer}
 html.account-root body.account-hub .ah-theme-options input{position:absolute;inset:-6px 0;width:100%;height:calc(100% + 12px);margin:0;opacity:0;cursor:pointer}
 /* theme.css forces dark text on account strong/label elements; these carry their own contrast pairs. */
 html.account-root body.account-hub .ah-theme-options label:has(input:checked){background:var(--ah-m-accent);color:var(--ah-on-accent)!important}
 html.account-root body.account-hub .ah-theme-options label:has(input:focus-visible){outline:3px solid var(--ah-m-accent);outline-offset:2px}

 html.account-root body.account-hub [data-account-group=travel] .ah-progress{margin-top:10px}
 html.account-root body.account-hub .ah-progress{border:1px solid var(--ah-card-line);border-radius:18px;background:var(--ah-surface);overflow:hidden}
 html.account-root body.account-hub .ah-progress>summary{display:grid;grid-template-columns:34px minmax(0,1fr) auto 20px;align-items:center;gap:8px 12px;min-height:44px;padding:14px;list-style:none;color:var(--ah-text);font:800 15px/1.3 Arial,Helvetica,sans-serif}
 html.account-root body.account-hub .ah-progress>summary::-webkit-details-marker{display:none}
 html.account-root body.account-hub .ah-progress[open]>summary{border-bottom:1px solid var(--ah-card-line)}
 html.account-root body.account-hub .ah-progress-chip{grid-row:1/3}
 html.account-root body.account-hub .ah-progress-title{grid-column:2;grid-row:1}
 html.account-root body.account-hub .ah-progress>summary .ao-progress{display:contents}
 html.account-root body.account-hub .ah-progress>summary #ao-percentage{grid-column:3;grid-row:1;color:var(--ah-m-accent)!important;font-size:13px;font-weight:800}
 /* theme.css paints dark progress tracks with the card surface; keep the track visible on the card. */
 html.account-root body.account-hub .ah-progress>summary #ao-progress{grid-column:2/4;grid-row:2;width:100%;height:6px;border:0;border-radius:3px;background:var(--ah-card-line)!important}
 html.account-root body.account-hub .ah-progress>summary #ao-progress::-webkit-progress-bar{background:var(--ah-card-line)!important;border-radius:3px}
 html.account-root body.account-hub .ah-progress>summary #ao-progress::-webkit-progress-value{background:var(--ah-m-accent)!important;border-radius:3px}
 html.account-root body.account-hub .ah-progress>summary #ao-progress::-moz-progress-bar{background:var(--ah-m-accent)!important;border-radius:3px}
 html.account-root body.account-hub .ah-progress>summary .ah-chevron{display:block;grid-column:4;grid-row:1/3;color:var(--ah-m-muted);font-size:24px;line-height:1;text-align:center;transition:transform .15s ease}
 html.account-root body.account-hub .ah-progress[open]>summary .ah-chevron{transform:rotate(90deg)}
 html.account-root body.account-hub[data-account-page] .account-workspace .ah-progress .ao-completion{display:flex;flex-direction:column;gap:16px;padding:16px 14px}
 html.account-root body.account-hub .ah-progress .ao-completion h2{margin:0;color:var(--ah-text);font-size:17px;font-weight:800;line-height:1.35}
 html.account-root body.account-hub #ao-progress-heading{color:var(--ah-m-accent)}
 html.account-root body.account-hub .ah-progress .ao-stats{display:none}
 html.account-root body.account-hub[data-account-page] .ah-progress .ao-checklist{gap:0;margin:0}
 html.account-root body.account-hub[data-account-page] .ah-progress .ao-checklist>a{gap:12px;min-height:44px;padding:0;color:var(--ah-m-muted);font-size:14px;font-weight:600}
 html.account-root body.account-hub[data-account-page] .ah-progress .ao-checklist>a.complete{color:var(--ah-text)}
 html.account-root body.account-hub .ah-progress .ao-check{width:20px;height:20px;border:1.5px solid var(--ah-m-muted);background:none;color:transparent;font-size:12px}
 html.account-root body.account-hub .ah-progress .ao-checklist>a.complete .ao-check{border-color:var(--ah-m-accent);background:var(--ah-m-accent);color:var(--ah-on-accent)}
 html.account-root body.account-hub .ah-progress .ao-check svg{width:12px;height:12px}
 html.account-root body.account-hub[data-account-page] .ah-progress .ao-check-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 html.account-root body.account-hub .ah-progress .ao-confirmations:not(:has(>:not([hidden]))){display:none}
 html.account-root body.account-hub .ah-progress .ao-confirmations button{min-height:44px;padding:0 14px;border:1.5px solid var(--ah-card-line);border-radius:10px;background:transparent;color:var(--ah-text);font-size:13px;font-weight:800}
 html.account-root body.account-hub .ah-progress .ao-tip{gap:12px;margin:0;padding:14px;border:0;border-radius:14px;background:var(--ah-tint);color:var(--ah-text)}
 html.account-root body.account-hub .ah-progress .ao-tip svg{flex:none;color:var(--ah-m-accent)}
 html.account-root body.account-hub .ah-progress .ao-tip strong{display:block;font-size:14px;font-weight:800}
 html.account-root body.account-hub .ah-progress .ao-tip small{display:block;font-size:13px;line-height:1.45;color:var(--ah-text)}
 html.account-root body.account-hub .ah-progress .ao-note{margin:0;color:var(--ah-m-muted);font-size:13px}

 html.account-root body.account-hub .ah-mobile-footer{display:grid;gap:12px}
 html.account-root body.account-hub .ah-mobile-footer #ah-signout{flex-direction:row;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:0 16px;border:0;border-radius:14px;background:var(--ah-danger-bg);color:var(--ah-danger);font:800 15px/1.2 Arial,Helvetica,sans-serif}
 html.account-root body.account-hub .ah-mobile-footer #ah-signout .ah-chip{display:contents}
 html.account-root body.account-hub .ah-mobile-footer #ah-signout .ah-icon{width:18px;height:18px;flex-basis:18px;color:currentColor}
 html.account-root body.account-hub .ah-mobile-footer .ah-status{margin:0;text-align:center}
 html.account-root body.account-hub .ah-legal{display:flex;justify-content:center;gap:18px}
 html.account-root body.account-hub .ah-legal .ah-row{width:auto;min-height:44px;justify-content:center;padding:0 4px;border:0;border-radius:8px;background:none;color:var(--ah-m-muted);font-size:12px;font-weight:700}
 html.account-root body.account-hub .ah-legal .ah-row .ah-chip{display:none}
}
@media(max-width:767px) and (prefers-reduced-motion:reduce){
 html.account-root body.account-hub .ah-progress>summary .ah-chevron{transition:none}
}
