/* One account layout across Amariz portals; each brand retains its colors. */
.ac-center{--ac-bg:#f7f5ee;--ac-card:#fffefa;--ac-soft:#edf3e9;--ac-text:#004d43;--ac-muted:#53746c;--ac-line:#d5e1d7;--ac-accent:#00594e;--ac-highlight:#ff7542;color:var(--ac-text);font-family:inherit;box-sizing:border-box;overflow-wrap:anywhere}
.ac-center *{box-sizing:border-box;min-width:0}
.ac-center [hidden]{display:none!important}
.ac-portal{--ac-bg:#fff8ee;--ac-card:#fffdf9;--ac-soft:#f4eee3;--ac-text:#0b3047;--ac-muted:#627483;--ac-line:#e4d8c7;--ac-accent:#0b3047;--ac-highlight:#e9650b}
.ac-nexus{--ac-bg:var(--nf-bg,var(--bg));--ac-card:var(--nf-card,var(--card));--ac-soft:var(--nf-soft,var(--soft));--ac-text:var(--nf-text,var(--text));--ac-muted:var(--nf-muted,#627a7c);--ac-line:var(--nf-line,var(--border));--ac-accent:#006b60;--ac-highlight:#d79b21}
html[data-theme=dark] .ac-nexus{--ac-muted:#a5bfbd;--ac-accent:#50ddc6}
dialog.ac-center{width:min(1120px,calc(100vw - 40px))!important;max-width:none!important;max-height:calc(100dvh - 40px)!important;margin:auto!important;padding:28px!important;background:var(--ac-bg)!important;color:var(--ac-text)!important;border:1px solid var(--ac-line)!important;border-radius:22px!important;box-shadow:0 24px 90px #001e3655;overflow:auto;overscroll-behavior:contain}
dialog.ac-center::backdrop{background:#001b27aa;backdrop-filter:blur(4px)}
.ac-center .ac-heading,.ac-center .account-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 22px;padding:0}
.ac-center .ac-heading :is(h1,h2),.ac-center .account-heading h2{font-size:clamp(24px,3vw,32px)!important;font-weight:650;letter-spacing:-.6px;line-height:1.2;margin:0;color:var(--ac-text)}
.ac-center .ac-heading button{flex:none;width:44px;height:44px;padding:0;border:1px solid var(--ac-line);border-radius:12px;background:var(--ac-card);color:var(--ac-text);font-size:22px}
.ac-center .ac-overview,.ac-center #profile{display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:16px;background:transparent!important;border:0!important;padding:0!important;margin:0 0 20px;overflow:visible}
.ac-center :is(.ac-hero,.ac-card,.account-hero,.account-scope){background:var(--ac-card)!important;color:var(--ac-text)!important;border:1px solid var(--ac-line)!important;border-radius:18px!important;padding:26px!important;box-shadow:0 3px 14px #003c3003;min-height:0;position:relative;overflow:hidden}
.ac-center :is(.ac-hero,.account-hero){display:flex!important;flex-wrap:wrap;align-items:center;gap:22px;min-height:210px;isolation:isolate;margin:0!important}
.ac-center :is(.ac-hero,.account-hero)::after{content:'';position:absolute;right:-45px;bottom:-75px;width:230px;height:190px;border:1px solid var(--ac-line);border-radius:90px;transform:rotate(-28deg);z-index:-1;pointer-events:none;background:transparent;opacity:.7}
.ac-center :is(.ac-avatar,.account-avatar,.profile-avatar){width:82px!important;height:82px!important;border-radius:22px!important;display:grid;place-items:center;flex:none;font-family:inherit;font-size:30px;font-weight:600;line-height:1;background:var(--ac-accent)!important;color:var(--ac-card)!important;box-shadow:none!important;border:0!important;margin:0;overflow:hidden}
html[data-theme=dark] .ac-center .ac-avatar{color:#082d32!important}
.ac-center :is(.ac-identity,.account-identity){flex:1;min-width:150px;max-width:100%}
.ac-center :is(.ac-name,.account-identity h3){font-family:inherit!important;font-size:clamp(23px,2.4vw,31px)!important;font-weight:650!important;line-height:1.2;letter-spacing:-.5px;margin:7px 0 12px!important;display:block;color:var(--ac-text)!important}
.ac-center .ac-name{background:transparent!important;padding:0!important;border:0!important}
.ac-portal #avatarButton{min-height:82px!important;max-height:82px!important;aspect-ratio:1;align-self:center}
.ac-portal #avatarButton::after,.ac-portal #avatarButton::before{display:none!important}
.ac-center :is(.ac-eyebrow,.account-eyebrow,.profile-identity>.eyebrow){font-size:10px!important;font-weight:600;letter-spacing:1.1px;line-height:1.6;color:var(--ac-muted)!important;margin:0 0 8px}
.ac-center :is(.ac-role,.account-role,.personal-account-access){display:inline-block;font-size:12px;margin:0 0 10px;padding:5px 10px;border-radius:9px;border:1px solid var(--ac-line);background:var(--ac-soft);color:var(--ac-text)}
.ac-center :is(.ac-connected,.account-connected){display:flex;gap:8px;align-items:center;font-size:12px;font-weight:500;margin:10px 0 0;color:var(--ac-muted)}
.ac-center .ac-connected::before{content:'';width:8px;height:8px;border-radius:50%;background:#36a475;flex:none}
.ac-center :is(.ac-card,.account-scope)>h3,.ac-center .ac-preferences h3{font-size:18px!important;font-weight:600;margin:0 0 18px!important;color:var(--ac-text)!important}
.ac-center .ac-card .ac-preferences{border:0!important;background:transparent!important;padding:0!important;margin:0!important;display:block}
.ac-center .ac-preferences label,.ac-center label.ac-preferences{font-size:13px;color:var(--ac-muted);display:grid!important;gap:10px}
.ac-center .ac-preferences select{width:100%;max-width:100%;min-height:48px;background:var(--ac-soft)!important;color:var(--ac-text)!important;border:1px solid var(--ac-line)!important;border-radius:10px;padding:10px;font:inherit}
.ac-center .ac-quick{margin:0 0 20px}
.ac-center .ac-shortcuts{padding:0!important;margin:0!important;display:block}
.ac-center nav.ac-shortcuts,.ac-center .ac-summary-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ac-center :is(nav.ac-shortcuts>a,.ac-tile){display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px!important;background:var(--ac-soft)!important;color:var(--ac-text)!important;border:1px solid var(--ac-line)!important;border-radius:12px;text-decoration:none;font-size:13px!important;font-weight:550!important;min-height:56px;margin:0!important;text-align:left;cursor:pointer}
.ac-center :is(nav.ac-shortcuts>a,.ac-tile)::after{content:'→';font-size:20px;font-weight:400;flex:none}
.ac-center .ac-tile:hover,.ac-center nav.ac-shortcuts>a:hover{border-color:var(--ac-accent)!important;transform:translateY(-2px)}
.ac-center .ac-account-summary .ac-summary-actions{grid-template-columns:1fr;margin-top:16px}
.ac-center .ac-footer{display:flex;justify-content:flex-end;padding-top:16px;border-top:1px solid var(--ac-line);margin:18px 0 0}
.ac-center .ac-footer button{min-height:44px;width:auto!important;margin:0!important;padding:10px 20px;background:var(--ac-card)!important;color:var(--ac-text)!important;border:1px solid var(--ac-line)!important;border-radius:12px;font-family:inherit;font-size:14px;font-weight:500;line-height:1.4;cursor:pointer}
.ac-center :is(a,button,select):focus-visible{outline:3px solid var(--ac-highlight)!important;outline-offset:3px}
.ac-center :is(.ac-tile,nav.ac-shortcuts>a,.account-quick-card){transition:transform .16s ease,border-color .16s ease,background .16s ease}
.ac-center #nx-tools{position:static!important;width:100%;margin:0!important;border:0;background:transparent!important}
.ac-center #nx-tools>.nx-tools-body{position:static!important;width:100%!important;max-height:none!important;box-shadow:none!important;background:var(--ac-card)!important;border-color:var(--ac-line)}
.ac-center #personal-shortcuts{margin:0;padding:16px;background:var(--ac-soft);border:1px solid var(--ac-line);border-radius:12px}
.ac-center #personal-shortcuts h2{font-size:17px}.ac-center .favorite-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ac-center .favorite-list li{min-width:0}
.ac-portal .profile-watermark,.ac-portal .profile-page-hero::before{display:none!important}
.ac-portal .profile-avatar-block{padding:0!important;margin:0!important}.ac-portal .profile-avatar i{display:none}.ac-portal .profile-avatar img{width:100%;height:100%;object-fit:cover}
.ac-portal .profile-role-line{display:grid;gap:8px;font-size:13px}.ac-portal #accountEmail{font-size:12px!important;padding:0!important;background:none!important;border:0!important;color:var(--ac-muted)}
.ac-portal .profile-bio-display{margin:12px 0;background:var(--ac-soft);color:var(--ac-muted);padding:12px;border:0;border-radius:10px;font-size:13px}
.ac-portal .profile-hero-actions{display:flex!important;flex-wrap:wrap!important;gap:8px;width:100%;margin:0!important;padding:0!important}
.ac-portal .profile-hero-actions button{width:auto!important;min-height:44px;font-size:12px;border-radius:10px;padding:10px 14px}
.ac-portal #personalShortcutsSlot .profile-card,.ac-portal :is(.personal-profile-settings,#monthlyGoals,.security-card){border-color:var(--ac-line)!important;border-radius:18px!important;background:var(--ac-card)!important;box-shadow:none!important}
.ac-portal #personalShortcutsSlot .personal-panel>div{display:flex;flex-wrap:wrap;gap:10px}.ac-portal #personalShortcutsSlot :is(a,button){text-decoration:none;min-height:46px;padding:12px;border-radius:10px}
.ac-portal .personal-tabs{border-color:var(--ac-line);background:var(--ac-card);margin:0 0 20px;border-radius:14px}.ac-portal .personal-tabs [role=tab]{font-size:14px;font-weight:550}
.ac-center .account-quick{display:block!important;margin:22px 0;padding:0;border:0;background:none}.ac-center .account-quick h3{font-size:20px;padding-left:16px;border-left:3px solid var(--ac-highlight)}
.ac-center .account-quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.ac-center .account-quick-card{background:var(--ac-card);border:1px solid var(--ac-line);border-radius:16px;padding:20px;text-decoration:none;display:flex;align-items:center;min-height:100px;gap:14px;color:var(--ac-text)}
.ac-center .account-quick-card strong,.ac-center .account-quick-card small{display:block}.ac-center .account-quick-card strong{font-size:14px}.ac-center .account-quick-card small{font-size:12px;color:var(--ac-muted);margin-top:6px}
.ac-center .account-shortcuts{display:none!important}.ac-center .account-actions{margin:16px 0}.ac-center .account-actions:has(#nexus[hidden]){display:none}
@media(max-width:700px){dialog.ac-center{width:calc(100vw - 20px)!important;max-height:calc(100dvh - 20px)!important;padding:18px!important;border-radius:16px!important}.ac-center .ac-overview,.ac-center #profile{grid-template-columns:1fr;gap:12px}.ac-center :is(.ac-card,.ac-hero,.account-hero,.account-scope){padding:20px!important}.ac-center :is(.ac-hero,.account-hero){min-height:170px;gap:16px}.ac-center :is(.ac-avatar,.account-avatar,.profile-avatar){width:62px!important;height:62px!important;border-radius:17px!important;font-size:24px!important}.ac-center .account-quick-grid{grid-template-columns:1fr}.ac-center .account-quick-card{min-height:76px}.ac-center .favorite-list{grid-template-columns:1fr}.ac-portal .profile-hero-actions button{flex:1 1 110px}.ac-center .ac-heading{margin-bottom:16px}}
@media(max-width:430px){.ac-center nav.ac-shortcuts{grid-template-columns:1fr}.ac-center :is(.ac-identity,.account-identity){min-width:130px}.ac-center .ac-footer button{width:100%!important}}
@media(max-width:700px){.ac-portal #avatarButton{min-height:62px!important;max-height:62px!important}}
@media(prefers-reduced-motion:reduce){.ac-center *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

