:root {
  color-scheme: light;
  --paper: #ffffff;
  --background: #f7f8fa;
  --ink: #191919;
  --muted: #555d66;
  --cyan: #009fe3;
  --action: #0079ad;
  --line: #d9dde2;
  --error: #a21d29;
  --tint: #edf8fc;
  --fast: 120ms;
  --enter: 180ms;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--background);
  font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 112px; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; padding-top: 80px; display: flex; flex-direction: column; }
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button, select { cursor: pointer; }
a { color: var(--action); }
:focus-visible { outline: 3px solid var(--action); outline-offset: 4px; }
.skip { position: fixed; top: -80px; left: 16px; z-index: 60; padding: 12px; background: white; }
.skip:focus { top: 12px; }
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1280px; margin: auto; min-height: 80px; padding: 12px 32px; display: flex; align-items: center; gap: 26px; }
#header-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.header-link, .header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font-size: 14px; font-weight: 700; text-decoration: none; transition: transform 150ms, background-color 150ms; }
.header-link { color: var(--ink); padding: 8px 4px; }
.header-link:hover { color: var(--action); }
.header-cta { border: 0; border-radius: 999px; padding: 12px 26px; color: white; background: var(--action); box-shadow: 0 8px 18px #009fe326; }
.header-cta:hover { background: #006592; transform: translateY(-1px); }
.header-cta:active { transform: scale(.98); }
.header-link[aria-current] { color: var(--action); }
.brand { display: flex; align-items: center; min-height: 48px; }
.brand img { width: 136px; max-width: 100%; height: auto; }
.language { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
select { min-height: 44px; max-width: 130px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; background: var(--paper); color: var(--ink); }
main { width: min(1112px, 100%); margin: auto; padding: 40px 32px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 6vw, 96px); }
.intro { padding: 24px 0; }
.eyebrow, .section-label { font-size: 11px; line-height: 1.5; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
h1 { white-space: pre-line; font-size: clamp(36px, 4.4vw, 56px); font-weight: 600; letter-spacing: -.045em; line-height: 1.08; margin: 24px 0; }
.intro-copy { max-width: 360px; color: var(--muted); line-height: 1.65; font-size: 17px; }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-direction: column; gap: 24px; }
.steps li { display: flex; gap: 16px; align-items: start; }
.step-number { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); font-size: 13px; transition: background var(--enter), color var(--enter); }
.steps [aria-current] .step-number { background: var(--ink); color: white; border-color: var(--ink); }
.steps strong { font-size: 14px; line-height: 1.6; }
.steps p { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 3px 0 0; }
.panel { position: relative; min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: 0 8px 32px #19191904; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lock { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--action); background: var(--tint); }
.lock svg { width: 22px; height: 22px; }
h2 { font-size: 27px; line-height: 1.2; letter-spacing: -.03em; margin: 26px 0 12px; font-weight: 600; text-wrap: balance; }
.supporting { line-height: 1.6; color: var(--muted); margin: 0 0 28px; }
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.language label { margin: 0; font-weight: 400; }
input { min-width: 0; width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #858d97; border-radius: 8px; color: var(--ink); background: var(--paper); font-size: 16px; transition: border-color var(--fast), box-shadow var(--fast); }
input:focus { border-color: var(--action); }
input[aria-invalid] { border-color: var(--error); }
.helper { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 10px 0 24px; }
.password-field { position: relative; }
.password-field input { padding-right: 90px; }
.reveal { position: absolute; inset: 4px 4px 4px auto; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: #53636e; background: transparent; border: 1px solid transparent; border-radius: 8px; transition: color 140ms ease, background-color 140ms ease, border-color 140ms ease; }
.reveal-icon { width: 19px; height: 19px; transition: opacity 140ms ease; }
.reveal-icon-hide { display: none; }
.reveal[aria-pressed="true"] .reveal-icon-show { display: none; }
.reveal[aria-pressed="true"] .reveal-icon-hide { display: block; }
.reveal:hover { color: var(--action); background: #f1f8fb; border-color: #e0edf3; }
.reveal:active { color: #005f88; background: #e8f4f9; }
.reveal:focus-visible { outline: 2px solid var(--action); outline-offset: 1px; }
.password-field input { padding-right: 58px; }
.primary, .secondary { display: flex; align-items: center; justify-content: center; text-align: center; gap: 10px; width: 100%; min-height: 48px; padding: 12px 18px; border-radius: 999px; border: 1px solid transparent; text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.4; transition: background var(--fast), transform var(--fast), box-shadow var(--fast); }
.primary { color: white; background: var(--action); margin-top: 24px; }
.primary:hover:not(:disabled) { background: #006592; }
.primary:active:not(:disabled), .secondary:active:not(:disabled) { transform: translateY(1px); }
.secondary { color: var(--action); background: transparent; margin-top: 12px; }
.secondary:hover:not(:disabled) { background: var(--tint); }
button:disabled { opacity: .65; cursor: not-allowed; }
.working::before { content: ''; width: 14px; height: 14px; border: 2px solid #ffffff70; border-top-color: white; border-radius: 50%; animation: spin 800ms linear infinite; }
.security-note { border-top: 1px solid var(--line); padding-top: 24px; margin: 28px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.error, .warning { margin-top: 16px; padding: 12px; border-left: 3px solid var(--error); color: var(--error); background: #fff4f4; font-size: 14px; line-height: 1.5; }
.timer { text-align: center; min-height: 21px; font-variant-numeric: tabular-nums; margin-bottom: 4px; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 24px clamp(24px, 5vw, 80px); color: var(--muted); font-size: 12px; line-height: 1.6; }
form > input + label, form > .password-field + label { margin-top: 18px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-size: 14px; text-underline-offset: 4px; }
.switch-copy { text-align: center; font-size: 14px; color: var(--muted); margin: 18px 0 0; }
.outlined { border-color: var(--line); }
.profile-data { margin: 24px 0; }
.profile-data > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.profile-data dt { font-size: 13px; color: var(--muted); margin-bottom: 5px; }
.profile-data dd { margin: 0; font-size: 16px; overflow-wrap: anywhere; line-height: 1.5; }
.language label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.language select { width: 68px; border-radius: 999px; padding: 8px; }
input, button, a, select, h2 { scroll-margin-top: 112px; }
.noscript { padding: 24px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
  body { padding-top: 120px; }
  html { scroll-padding-top: 140px; }
  .header-inner { min-height: 120px; padding: 10px 20px; gap: 4px 16px; display: grid; grid-template-columns: 1fr auto; }
  .brand img { width: 116px; }
  #header-nav { grid-row: 2; grid-column: 1 / -1; width: 100%; margin: 0; justify-content: space-between; gap: 16px; }
  .language { grid-column: 2; grid-row: 1; }
  .header-cta { padding: 10px 20px; }
  .language label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  main { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 24px 20px; }
  .intro { padding: 0; }
  h1 { font-size: 32px; margin: 12px 0; }
  .intro-copy { max-width: none; font-size: 15px; margin-bottom: 0; }
  .steps { flex-direction: row; justify-content: space-between; gap: 12px; margin-top: 24px; }
  .steps li { flex: 1; flex-direction: column; gap: 8px; }
  .steps p { display: none; }
  .steps strong { font-size: 12px; }
  .panel { padding: 24px; border-radius: 16px; }
  h2 { font-size: 25px; }
  footer { flex-direction: column; gap: 4px; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
  input, button, a, select, h2 { scroll-margin-top: 140px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; transition: none !important; } }

/* Compact account chrome, while leaving recovery and form layouts intact. */
body { padding-top: 64px; }
.header-inner { min-height: 64px; padding: 8px 28px; gap: 18px; }
.brand { min-height: 40px; }
.brand img { width: 116px; }
#header-nav { gap: 18px; }
.language { height: 38px; gap: 5px; padding: 0 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.language svg { width: 15px; height: 15px; color: var(--muted); }
.language select { appearance: none; width: 33px; min-height: 34px; border: 0; border-radius: 0; padding: 0; background: transparent; font-size: 12px; font-weight: 700; }
.header-cta { min-height: 38px; padding: 9px 18px; }
.header-link { min-height: 38px; }

.account-view { --background: #f5f7f8; }
.account-view main { display: block; width: min(760px, 100%); margin: 0 auto; padding: 28px 28px 20px; }
.account-view .intro { display: none; }
.account-view .panel { padding: 28px 32px 24px; border-radius: 18px; }
.account-view .panel-heading { margin-bottom: 4px; }
.account-view h2 { font-size: 25px; margin: 14px 0 5px; }
.account-view .supporting { margin-bottom: 18px; font-size: 14px; }
.account-view .lock { display: none; }
.account-view .security-note { display: none; }
.account-identity { display: flex; align-items: center; min-width: 0; gap: 13px; padding: 15px; border: 1px solid #e3e8ed; border-radius: 14px; background: #fbfcfd; }
.account-avatar { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; color: #fff; background: var(--action); font-size: 19px; font-weight: 700; }
.identity-text { display: grid; min-width: 0; gap: 3px; flex: 1; }
.identity-text strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; }
.identity-text span { overflow-wrap: anywhere; color: var(--muted); font-size: 13px; }
.account-status { flex: 0 0 auto; border-radius: 999px; padding: 6px 9px; font-size: 12px; font-weight: 600; }
.account-status.is-verified { color: #147442; background: #e9f7ef; }
.account-status.is-pending { color: #805b13; background: #fff4d9; }
.account-view .profile-data { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 10px 0 16px; }
.account-view .profile-data > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; min-width: 0; padding: 12px 0; border-bottom: 1px solid #e8ebef; }
.account-view .profile-data dt { margin: 0; font-size: 12px; }
.account-view .profile-data dd { text-align: right; font-size: 13px; }
.account-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.account-view .text-link { margin: 0; }
.account-view .account-logout { width: auto; min-width: 148px; min-height: 42px; margin: 0; padding: 9px 18px; font-size: 14px; }
.account-view .warning { margin: 12px 0; }
.account-view .header-cta { min-height: 38px; }
.logout-button[aria-busy="true"] { cursor: wait; }

@media (max-width: 760px) {
  body { padding-top: 60px; }
  .header-inner { min-height: 60px; padding: 7px 16px; display: flex; gap: 8px; }
  .brand { flex: 0 0 auto; }
  .brand img { width: 102px; }
  #header-nav { width: auto; margin-left: auto; gap: 8px; }
  .header-link, .header-cta { white-space: nowrap; font-size: 12px; }
  .header-cta { padding: 8px 12px; }
  .language { flex: 0 0 auto; height: 36px; padding: 0 7px; }
  .account-view main { padding: 20px 16px 14px; }
  .account-view .panel { padding: 22px 20px 18px; border-radius: 16px; }
  .account-view h2 { font-size: 23px; }
  .account-view .profile-data { grid-template-columns: 1fr; gap: 0; margin: 8px 0 12px; }
  .account-view .profile-data > div { padding: 9px 0; }
  .account-identity { gap: 10px; padding: 12px; }
  .account-avatar { flex-basis: 40px; width: 40px; height: 40px; }
  .identity-text strong { font-size: 14px; }
  .identity-text span { font-size: 12px; }
  .account-status { padding: 5px 7px; font-size: 11px; }
  .account-view footer { flex-direction: row; padding: 10px 16px max(14px, env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
  .header-inner { padding-inline: 10px; gap: 6px; }
  .brand img { width: 90px; }
  #header-nav { gap: 5px; }
  .header-cta { padding-inline: 9px; }
  .language { gap: 2px; padding-inline: 5px; }
}

/* Account details: use the viewport for a clear, complete, one-screen profile. */
body.account-view { min-height: 100dvh; padding-top: 64px; }
.account-view main { flex: 1 0 auto; display: flex; align-items: center; width: min(1000px, 100%); padding: 28px 32px; }
.account-view .panel { width: 100%; padding: clamp(24px, 4vw, 40px); }
.account-view .panel-heading { margin-bottom: 8px; }
.account-view h2 { margin: 8px 0; font-size: clamp(24px, 3vw, 30px); }
.account-view .supporting { margin: 0 0 24px; font-size: 15px; }
.account-view .profile-data { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.account-view .profile-field { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-width: 0; gap: 7px; padding: 16px 18px; border: 1px solid #e5e9ed; border-radius: 12px; background: #fbfcfd; }
.account-view .profile-field dt { color: var(--muted); font-size: 13px; font-weight: 600; }
.account-view .profile-field dd { max-width: 100%; margin: 0; color: var(--ink); font-size: 16px; line-height: 1.45; overflow-wrap: anywhere; }
.account-view .profile-email { grid-column: 1 / -1; }
.account-view .field-status { display: inline-flex; align-items: center; min-height: 28px; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.account-view .field-status.is-verified { color: #12643a; background: #e9f7ef; }
.account-view .field-status.is-verified::before { content: '✓'; }
.account-view .field-status.is-pending { color: #704d08; background: #fff4d9; }
.account-view .field-status.is-pending::before { content: '•'; font-size: 20px; line-height: 12px; }
.account-view .verify-email.primary { width: auto; min-height: 44px; margin: 0; padding: 9px 16px; font-size: 14px; }
.verification-feedback { margin: 0; color: #12643a; font-size: 14px; line-height: 1.45; }
.account-view .account-actions { margin-top: 18px; padding-top: 12px; }
.account-view footer { flex: 0 0 auto; }

@media (max-width: 760px) {
  body.account-view { padding-top: 60px; }
  .account-view main { padding: 16px; }
  .account-view .panel { padding: 22px 20px; }
  .account-view .supporting { margin-bottom: 16px; }
  .account-view .profile-data { gap: 8px; }
  .account-view .profile-field { padding: 12px 14px; gap: 5px; }
  .account-view .profile-field dd { font-size: 15px; }
  .account-view .profile-email { grid-column: 1 / -1; }
  .account-view .verify-email.primary { min-height: 44px; }
  .account-view footer { padding: 8px 16px max(12px, env(safe-area-inset-bottom)); }
}
@media (max-width: 420px) {
  .account-view main { padding: 12px; }
  .account-view .panel { padding: 20px 16px; }
  .account-view .profile-data { grid-template-columns: 1fr; }
  .account-view .profile-email { grid-column: auto; }
  .account-view .profile-field { padding: 10px 12px; }
  .account-view .account-actions { margin-top: 12px; }
}

/* Auth screens are intentionally one compact card; the account footer stays visible. */
html { scroll-padding-top: 76px; scroll-padding-bottom: 68px; }
body { padding-top: 64px; padding-bottom: 64px; }
.topbar { height: 64px; }
.header-inner { min-height: 64px; height: 64px; }
.app-loading #header-nav { visibility: hidden; }
main { width: min(960px, 100%); grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 0; padding: 24px 20px; }
.auth-flow .intro { display: none; }
.auth-flow .panel { width: min(100%, 500px); padding: 24px 30px; border-radius: 16px; }
.auth-flow .panel-heading { margin-bottom: 0; }
.auth-flow .lock { width: 34px; height: 34px; }
.auth-flow h2 { margin: 10px 0 6px; font-size: clamp(22px, 3vw, 27px); }
.auth-flow .supporting { margin: 0 0 16px; font-size: 14px; line-height: 1.5; }
.auth-flow label { margin-bottom: 6px; font-size: 13px; }
.auth-flow input { min-height: 46px; padding: 10px 12px; }
.auth-flow form > input + label, .auth-flow form > .password-field + label { margin-top: 12px; }
.auth-flow .helper { margin: 7px 0 12px; font-size: 12px; }
.auth-flow .primary { min-height: 46px; margin-top: 16px; }
.auth-flow .text-link { min-height: 36px; margin-top: 2px; }
.auth-flow .switch-copy { margin: 8px 0 0; font-size: 13px; }
.auth-flow .security-note { display: none; }
footer { position: fixed; inset: auto 0 0; z-index: 45; min-height: 52px; justify-content: center; align-items: center; padding: 10px 16px max(10px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); text-align: center; }
.account-view main { flex: 1 0 auto; width: min(1000px, 100%); padding: 20px 24px 24px; }
.account-view .panel { padding: 24px clamp(20px, 3vw, 36px); }
.account-view .supporting { margin-bottom: 16px; }
.account-view .profile-section { padding: 16px 0; border-top: 1px solid var(--line); }
.account-view .profile-section h3 { margin: 0 0 10px; font-size: 15px; line-height: 1.4; }
.account-view .profile-data { gap: 8px 12px; }
.account-view .profile-field { position: relative; }
.account-view .profile-field .field-status { min-height: 24px; padding: 3px 8px; font-size: 11px; }
.account-view .profile-field .verify-email { min-height: 38px; margin-top: 4px; }
.account-view .profile-edit-section .helper { margin: 0 0 12px; }
.profile-group { min-width: 0; margin: 0 0 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.profile-group legend { padding: 0 6px; font-size: 13px; font-weight: 700; }
.profile-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 10px 12px; }
.profile-form-grid.location-selectors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.profile-form-grid > div { min-width: 0; }
.profile-form-grid label { margin-bottom: 5px; font-size: 12px; }
.profile-form-grid input, .profile-form-grid select { width: 100%; max-width: none; min-height: 42px; padding: 8px 10px; font-size: 14px; }
.profile-form-grid select:disabled { color: #7b838b; background-color: #f3f5f6; }
.field-note { grid-column: 1 / -1; min-height: 0; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.profile-edit-section .primary { width: auto; min-width: 180px; min-height: 42px; margin: 0; padding: 9px 18px; font-size: 14px; }
.saved-message { margin: 8px 0 0; color: #12643a; font-size: 13px; }
.account-view .account-actions { border-top: 0; margin-top: 8px; padding-top: 0; }
.account-view footer { flex: initial; }

@media (max-width: 760px) {
  body { padding-top: 60px; padding-bottom: 56px; }
  .topbar { height: 60px; }
  .header-inner { height: 60px; min-height: 60px; padding: 6px 14px; }
  .auth-flow main { min-height: calc(100dvh - 116px); padding: 12px 16px; }
  .auth-flow .panel { padding: 20px 22px; }
  .auth-flow h2 { font-size: 23px; }
  footer { min-height: 48px; font-size: 11px; }
  .account-view main { padding: 14px 14px 18px; }
  .account-view .panel { padding: 18px 18px; }
  .account-view .profile-data { gap: 7px; }
  .account-view .profile-field { padding: 10px 12px; }
  .profile-group { padding: 10px; }
  .profile-form-grid { gap: 9px 10px; }
  .profile-form-grid.location-selectors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .profile-form-grid input, .profile-form-grid select { min-height: 42px; }
}
@media (max-width: 420px) {
  .header-inner { padding-inline: 10px; }
  .brand img { width: 94px; }
  #header-nav { gap: 4px; }
  .header-link, .header-cta { font-size: 11px; }
  .header-cta { padding-inline: 10px; }
  .language { padding-inline: 6px; }
  .auth-flow main { padding-inline: 12px; }
  .auth-flow .panel { padding: 18px 16px; }
  .profile-form-grid { grid-template-columns: 1fr; }
  .field-note { grid-column: auto; }
  .profile-edit-section .primary { width: 100%; }
}
@media (max-height: 780px) {
  .auth-flow main { padding-block: 10px; }
  .auth-flow .panel { padding-block: 16px; }
  .auth-flow h2 { margin-block: 7px 4px; font-size: 22px; }
  .auth-flow .supporting { margin-bottom: 10px; }
  .auth-flow input { min-height: 42px; }
  .auth-flow form > input + label, .auth-flow form > .password-field + label { margin-top: 8px; }
  .auth-flow .helper { margin-block: 4px 8px; }
  .auth-flow .primary { min-height: 42px; margin-top: 10px; }
  .auth-flow .switch-copy { margin-top: 5px; }
}

/* Priver Account: an editorial, compact profile surface rather than a wall of tiles. */
.account-view { --background: #f3f6f8; --line: #dce4e9; }
.account-view .header-inner { max-width: 1440px; padding-inline: clamp(20px, 4vw, 60px); }
.account-view main { width: min(1000px, 100%); padding: 26px 28px; }
.account-view .panel { border-color: #e0e6eb; border-radius: 20px; box-shadow: 0 14px 40px #1731450b; }
.account-view .panel-heading .section-label { color: var(--action); letter-spacing: .16em; }
.account-view h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.04em; }
.account-view .supporting { color: #59636c; }
.account-view .account-identity { min-height: 76px; padding: 14px 18px; border: 1px solid #dce9ef; border-left: 4px solid var(--cyan); border-radius: 12px; background: linear-gradient(105deg, #f1faff, #fff 72%); }
.account-view .account-avatar { color: #fff; background: linear-gradient(145deg, #00a8e8, #0079ad); box-shadow: 0 5px 14px #0079ad2b; }
.account-view .identity-text strong { font-size: 16px; }
.account-view .identity-text span { font-size: 13px; }
.account-view .profile-section { padding: 17px 0 12px; border-top: 1px solid #e7ecef; }
.account-view .profile-section h3 { margin: 0 0 6px; color: #28343b; font-size: 14px; font-weight: 700; letter-spacing: .01em; }
.account-view .profile-data { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0; }
.account-view .profile-data > .profile-field { display: grid; grid-template-columns: minmax(110px, .72fr) minmax(0, 1.28fr); align-items: start; gap: 12px; padding: 10px 0; border: 0; border-bottom: 1px solid #edf0f2; border-radius: 0; background: transparent; }
.account-view .profile-field dt { color: #68737b; font-size: 12px; font-weight: 600; }
.account-view .profile-field dd { text-align: left; font-size: 13px; font-weight: 600; }
.account-view .profile-email { grid-column: 1 / -1; }
.account-view .profile-email dd { overflow-wrap: anywhere; }
.account-view .field-status { width: fit-content; min-height: 24px; margin-top: 5px; padding: 3px 8px; font-size: 11px; }
.account-view .profile-edit-section { border: 1px solid #e1e8ed; border-radius: 14px; padding: 0 16px; background: #fff; }
.account-view .profile-edit-summary { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #17252d; font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; }
.account-view .profile-edit-summary::-webkit-details-marker { display: none; }
.account-view .profile-edit-summary::after { content: '+'; color: var(--action); font-size: 22px; line-height: 1; }
.account-view .profile-edit-section[open] .profile-edit-summary::after { content: '−'; }
.account-view .profile-edit-section .helper { margin: 0 0 14px; }
.account-view .profile-group { border-color: #e1e8ed; background: #fbfcfd; }
.account-view .profile-group legend { color: #36434b; }
.account-view .profile-edit-section .primary { min-width: 190px; margin: 2px 0 16px; }
.account-view .account-actions { margin-top: 14px; padding-top: 13px; border-top: 1px solid #e7ecef; }
.account-view .account-logout { min-height: 40px; background: #0079ad; }
footer { color: #59636c; letter-spacing: .01em; }
select { color-scheme: light; }
@media (max-width: 760px) {
  .account-view .header-inner { padding-inline: 14px; }
  .account-view main { padding: 16px 14px 20px; }
  .account-view .panel { padding: 20px 18px; }
  .account-view .profile-data { grid-template-columns: 1fr; gap: 0; }
  .account-view .profile-data > .profile-field { grid-template-columns: minmax(105px, .7fr) minmax(0, 1.3fr); padding: 9px 0; }
  .account-view .profile-email { grid-column: auto; }
  .account-view .account-identity { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .account-view .account-avatar { box-shadow: none; }
}

/* Account Center typography: measured steps based on √φ (≈1.272), tuned for dense profile data. */
.account-view {
  --type-caption: .84rem;
  --type-body: 1rem;
  --type-section: 1.27rem;
  --type-title: 1.618rem;
}
.account-view main { width: min(1080px, 100%); }
.account-view h2 { font-size: clamp(25px, 2.2vw, var(--type-title)); line-height: 1.2; }
.account-view .supporting { font-size: var(--type-body); line-height: 1.5; }
.account-view .profile-section h3 { font-size: var(--type-section); line-height: 1.3; }
.account-view .profile-data { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(18px, 3vw, 36px); }
.account-view .profile-data > .profile-field {
  grid-template-columns: minmax(96px, .72fr) minmax(0, 1.28fr);
  align-items: baseline;
  gap: 6px 12px;
  padding: 12px 0;
}
.account-view .profile-field dt { font-size: var(--type-caption); line-height: 1.4; }
.account-view .profile-field dd { font-size: var(--type-body); line-height: 1.4; }
.account-view .profile-email { grid-column: auto; }
.account-view .profile-field > .field-status,
.account-view .profile-field > .verify-email,
.account-view .profile-field > .verification-feedback { grid-column: 2; justify-self: start; }
.account-view .field-status { font-size: .78rem; }
.account-view .account-identity { margin-bottom: 2px; }

/* The eye control changes state without changing size or shifting the input. */
.password-field { min-width: 0; }
.password-field input { padding-right: 58px; }
.reveal { transform: none !important; box-shadow: none; }
.reveal:hover { transform: none !important; box-shadow: none; }
.reveal:active { transform: none !important; box-shadow: none; }

@media (max-width: 760px) {
  .account-view main { width: 100%; }
  .account-view .profile-data { grid-template-columns: 1fr; column-gap: 0; }
  .account-view .profile-email { grid-column: auto; }
}
