/* One profile card in all app menus; only the accent changes by segment. */
.fx-profile-card{--profile-accent:#6e42ff;--profile-tint:#f1edff;--profile-text:#202d29;--profile-muted:#687770;box-sizing:border-box;min-width:0;width:100%;margin:0;border:1px solid #e4e8eb;border-radius:24px;background:linear-gradient(125deg,var(--profile-tint),#f5f8f7);overflow:hidden;box-shadow:0 6px 24px #203f3505;font-family:var(--fluxo-font-ui,Inter,system-ui,sans-serif);color:var(--profile-text);text-align:left}
.fx-profile-card[data-profile-tone=barber]{--profile-accent:var(--barber-accent,#27835b);--profile-tint:#edf5ef}
.fx-profile-card[data-profile-tone=food]{--profile-accent:var(--food-ui-action,#b52220);--profile-tint:var(--food-ui-surface,#fff3f0)}
.fx-profile-card[data-profile-tone=clinic]{--profile-accent:#147d89;--profile-tint:#eaf6f7}
.fx-profile-card[data-profile-tone=school]{--profile-accent:#2563eb;--profile-tint:#edf3ff}
.fx-profile-card[data-profile-tone=garage]{--profile-accent:#c2410c;--profile-tint:#fff2e8}
.fx-profile-card[data-profile-tone=events]{--profile-accent:#c02684;--profile-tint:#fceef8}
/* Scoped resets avoid inheriting headings/list rows from the individual More screens. */
html body .fx-profile-card .fx-profile-identity{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:16px;padding:24px 20px;margin:0;background:transparent;border:0}
html body .fx-profile-card .fx-profile-avatar{position:relative;display:flex;align-items:center;justify-content:center;flex:none;box-sizing:border-box;width:64px;height:64px;overflow:hidden;border:4px solid #fff;border-radius:50%;background:var(--profile-tint);color:var(--profile-accent);box-shadow:0 4px 14px #243c3310;font-size:20px;font-weight:650}
html body .fx-profile-card .fx-profile-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:50%;border:0}
html body .fx-profile-card .fx-profile-copy{min-width:0}
html body .fx-profile-card .fx-profile-eyebrow{margin:0 0 7px;padding:0;color:var(--profile-muted);font-size:10px;line-height:1.4;font-weight:650;letter-spacing:.13em;text-transform:uppercase}
html body .fx-profile-card .fx-profile-name{margin:0;padding:0;color:var(--profile-text);font-size:clamp(19px,2vw,23px);line-height:1.25;font-weight:650;letter-spacing:-.035em;overflow-wrap:anywhere;text-transform:none}
html body .fx-profile-card .fx-profile-company{margin:6px 0 0;padding:0;color:var(--profile-muted);font-size:14px;font-weight:450;line-height:1.4;overflow-wrap:anywhere}
html body .fx-profile-card .fx-profile-company[hidden]{display:none}
html body .fx-profile-card .fx-profile-action{display:flex;align-items:center;justify-content:space-between;box-sizing:border-box!important;width:100%!important;min-height:56px!important;margin:0!important;padding:15px 20px!important;border:0!important;border-top:1px solid #243c3310!important;border-radius:0!important;background:#ffffff26!important;box-shadow:none!important;color:var(--profile-accent)!important;font:600 15px/1.4 var(--fluxo-font-ui,Inter,system-ui,sans-serif)!important;text-align:left!important;cursor:pointer;touch-action:manipulation;transition:background .15s}
html body .fx-profile-card .fx-profile-action>span{font:inherit;color:inherit;padding:0;margin:0;letter-spacing:0;text-transform:none}
html body .fx-profile-card .fx-profile-action>svg{display:block;flex:none;width:19px;height:19px;margin:0;color:inherit}
html body .fx-profile-card .fx-profile-action:hover{background:#ffffff80!important}
html body .fx-profile-card .fx-profile-action:focus-visible{outline:3px solid var(--profile-accent);outline-offset:-5px}
html body .fx-profile-card .fx-profile-action:disabled{opacity:.55;cursor:default}
html body .fx-profile-source{display:none!important}
html body #tab-profile.fx-profile-ready .garage-acct>.fx-profile-back{align-items:center;gap:9px;min-height:44px;margin:8px 0 16px!important;padding:8px 4px!important;border:0;border-radius:10px;background:transparent!important;color:inherit;font:550 14px/1.4 var(--fluxo-font-ui,Inter,system-ui,sans-serif);cursor:pointer;touch-action:manipulation}
html body #tab-profile.fx-profile-ready .fx-profile-back>svg{width:16px;height:16px;transform:rotate(180deg)}
html body #tab-profile.fx-profile-ready .fx-profile-back:not([hidden]){display:flex!important}
html body #tab-profile.fx-profile-ready :is(.fx-profile-home,.fx-profile-back)[hidden]{display:none!important}
/* Keep original forms and their handlers intact. The entry opens every existing setting. */
html body #app-container #tab-profile.fx-profile-ready.fx-profile-ready.fx-profile-ready.fx-profile-ready.fx-profile-ready.fx-profile-ready:not(.fx-profile-editing) .garage-acct>:is(.garage-acct__tabs,[data-profile-panel],.garage-acct__footer){display:none!important}
html body #tab-profile.fx-profile-ready:not(.fx-profile-editing) .garage-acct__lede{display:none!important}
html body #app-container #tab-profile.fx-profile-ready.fx-profile-ready.fx-profile-ready.fx-profile-ready.fx-profile-ready.fx-profile-ready .garage-acct__hero-head{display:block!important;padding:16px 20px!important;background:#fafbfc!important;border-bottom:1px solid #e7eaed!important}
html body #app-container #tab-profile.fx-profile-ready.fx-profile-ready.fx-profile-ready.fx-profile-ready.fx-profile-ready.fx-profile-ready .garage-acct__hero-head p{color:#253730!important;font-size:13px!important;line-height:1.5!important}
html body #app-container #tab-profile.fx-profile-ready.fx-profile-ready.fx-profile-ready.fx-profile-ready.fx-profile-ready.fx-profile-ready .garage-acct__hero-head p+p{color:#687770!important;font-size:12px!important;font-weight:400!important}
html body #app-container #tab-profile.fx-profile-ready.fx-profile-ready.fx-profile-ready.fx-profile-ready.fx-profile-ready.fx-profile-ready #profile-avatar-preview-inner:not(img){background:#e9f0ed!important;color:#285741!important;display:flex!important;align-items:center!important;justify-content:center!important}
html body :is(#food-app-more,#clinic-app-more)>.fx-profile-card{margin:0 0 24px}
@media(max-width:359px){html body .fx-profile-card .fx-profile-identity{grid-template-columns:54px minmax(0,1fr);padding:20px 16px;gap:12px}html body .fx-profile-card .fx-profile-avatar{width:54px;height:54px}html body .fx-profile-card .fx-profile-action{padding:14px 16px!important}.fx-profile-card{border-radius:21px}}
@media(prefers-reduced-motion:reduce){html body .fx-profile-card .fx-profile-action{transition:none}}
