.account-page { background: #f3f6fa; }
.account-main { padding-block: 36px 75px; }
.account-page-heading { margin-bottom: 30px; }
.account-page-heading .breadcrumb { margin-bottom: 22px; }
.account-page-heading h1 { font-size: clamp(38px,4vw,54px); }
.account-page-heading > p { font-size: 20px; color: var(--muted); margin: 18px 0 0; }
.account-preview-note { border-left: 4px solid #8099b1; background: #e6edf5; padding: 19px 24px; font-size: 16px; border-radius: 6px; margin-bottom: 36px; }
.account-message { background: #e4f1e8; color: #174a33; padding: 17px 22px; border: 1px solid #bed7c8; border-radius: 8px; font-size: 18px; }
.account-message.error { background: #fff3ed; color: #8a3025; border-color: #e9c5bb; }
[hidden] { display: none !important; }
.account-card { background: white; border: 1px solid #dbe3eb; border-radius: 10px; padding: 32px; min-width: 0; margin-bottom: 28px; }
.account-card h2, .login-explainer h2 { font-size: 30px; line-height: 1.3; margin-bottom: 18px; }
.account-card > p, .login-explainer p { color: var(--muted); font-size: 18px; line-height: 1.7; }
.account-label { font-size: 13px !important; font-weight: 750; letter-spacing: .06em; color: var(--muted); margin: 0 0 13px; }
.account-card label:not(.answer-option), .login-card label { display: block; color: var(--navy); font-weight: 650; font-size: 17px; margin-bottom: 10px; }
.account-card input:not([type=radio]):not([type=checkbox]), .account-card textarea, .account-card select { display: block; width: 100%; border: 1px solid #aabccc; color: var(--navy); background: white; border-radius: 7px; min-height: 54px; padding: 12px 14px; font: inherit; margin: 0 0 22px; }
.account-card textarea { resize: vertical; min-height: 100px; }
.account-card select { padding-right: 30px; }
.account-card button { white-space: normal; }
.account-card .button:disabled { cursor: not-allowed; }
.plain-button { background: transparent; border: 0; border-bottom: 1px solid #9db0c1; padding: 6px 0; color: var(--navy); font-size: 17px; font-weight: 650; }
.login-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.85fr); gap: 80px; align-items: start; max-width: 1100px; margin: 0 auto; }
.login-card { padding: 38px; }
.login-card .button { width: 100%; }
.login-card .plain-button { margin-top: 18px; }
.login-card .form-error:empty { margin: 0; }
.auth-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 24px; }
.auth-links .plain-button { margin: 0; text-align: left; }
.auth-links .auth-secondary { font-size: 15px; font-weight: 500; }
.login-card label.password-toggle { display: flex; gap: 10px; align-items: center; font-size: 16px; font-weight: 500; margin-bottom: 24px; }
.login-card .password-toggle input { width: 18px; min-height: 18px; height: 18px; margin: 0; accent-color: var(--navy); }
.password-help { color: var(--muted); font-size: 15px; margin: -12px 0 22px; }
.account-transition { border-left: 3px solid #aabed2; padding: 3px 0 3px 20px; margin-block: 26px; }
.account-transition strong { font-size: 18px; }
.account-transition p { margin: 8px 0 0; font-size: 17px; }
.inline-auth-link { padding: 0; border: 0; background: none; color: var(--navy); text-decoration: underline; font: inherit; cursor: pointer; }
.auth-single { max-width: 580px; margin: 0 auto; }
.account-access-links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.login-explainer { padding-top: 25px; }
.preview-detail { font-size: 16px !important; }
.sample-accounts { display: grid; gap: 14px; margin: 26px 0; }
.sample-account { display: flex; flex-direction: column; text-align: left; gap: 3px; background: white; border: 1px solid #c5d3e1; padding: 17px 20px; border-radius: 8px; color: var(--navy); font-size: 18px; }
.sample-account:hover { border-color: var(--navy); background: #eaf0f6; }
.sample-account span { font-size: 16px; color: var(--muted); }
.preview-code-box { margin-top: 25px; background: #eef3f9; padding: 23px; border-radius: 8px; }
.preview-code-box > strong { font-size: 15px; }
.preview-code { display: block; font-size: 39px; font-weight: 750; letter-spacing: .15em; margin: 10px 0; color: var(--navy); }
.preview-code-box > p { font-size: 15px; margin: 10px 0 0; color: var(--muted); }
.preview-code-box .plain-button { font-size: 16px; }
.account-topline { display: flex; align-items: start; justify-content: space-between; gap: 25px; margin-bottom: 27px; }
.account-topline h2 { font-size: 34px; }
.account-topline p { font-size: 17px; color: var(--muted); margin: 10px 0 0; }
.account-topline .plain-button { flex-shrink: 0; }
.account-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-bottom: 25px; }
.account-stats > div { padding: 25px 30px; border: 1px solid #cbd9e6; background: #e7eef6; border-radius: 9px; }
.account-stats span, .account-stats strong, .account-stats small { display: block; }
.account-stats span { font-size: 17px; color: var(--navy); }
.account-stats strong { font-size: 47px; line-height: 1.2; letter-spacing: -.025em; margin-block: 9px; color: var(--navy); }
.account-stats strong.word-stat { font-size: 39px; padding-block: 5px; }
.account-stats small { font-size: 15px; line-height: 1.5; color: var(--muted); }
.preview-clock { font-size: 15px; color: var(--muted); margin: 0 0 28px; }
.account-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 30px; align-items: start; }
.lower-grid, .admin-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.card-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 25px; }
.card-heading .account-label { margin: 0; }
.account-status { display: inline-block; font-size: 13px; font-weight: 650; background: #e4f1e9; color: #275840; padding: 6px 10px; border-radius: 5px; }
.current-question h2 { font-size: 31px; line-height: 1.4; }
.current-question fieldset { margin: 0; padding: 0; border: 0; }
.account-caption { font-size: 15px !important; line-height: 1.7 !important; color: var(--muted); margin-block: 16px 22px; }
.current-question .answer-option { padding: 18px; min-height: 62px; }
.account-answer { background: #edf5ef; border: 1px solid #c9ddce; border-radius: 8px; padding: 24px; color: #224c35; margin-block: 22px; font-size: 18px; }
.account-answer p { margin: 16px 0; }
.account-answer span { display: block; font-size: 16px; }
.winner-box { background: var(--navy); color: white; border-radius: 8px; padding: 24px; margin-block: 24px; }
.winner-box span, .winner-box strong, .winner-box small { display: block; }
.winner-box span { font-size: 15px; }
.winner-box strong { font-size: 27px; margin-block: 8px; }
.winner-box small { font-size: 15px; color: #dce6f0; }
.simulator-notice { font-size: 16px !important; }
.simulator-phone { background: #f2f5f9; border: 1px solid #d8e1eb; border-radius: 18px; padding: 22px; margin-block: 24px; }
.simulator-phone > strong, .simulator-phone > span { display: block; text-align: center; }
.simulator-phone > strong { font-size: 19px; color: var(--navy); }
.simulator-phone > span { font-size: 14px; color: var(--muted); margin: 4px 0 22px; }
.message-bubble { background: white; border: 1px solid #dce4eb; border-radius: 12px 12px 12px 0; padding: 19px; font-size: 17px; line-height: 1.65; }
.text-compose { display: flex; gap: 12px; align-items: start; }
.text-compose input { min-width: 0; flex: 1; }
.text-compose .button { flex-shrink: 0; padding-inline: 17px; }
.account-details { border-top: 1px solid var(--line); margin-top: 25px; padding-top: 20px; }
.account-details summary { font-size: 17px; font-weight: 650; color: var(--navy); }
.account-details p { font-size: 16px; margin: 18px 0 0; }
.account-card .check-label { display: flex !important; align-items: start; gap: 13px; font-size: 17px !important; font-weight: 400 !important; margin-block: 24px !important; }
.check-label input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 5px; accent-color: var(--navy); }
.account-card hr { border: 0; border-top: 1px solid var(--line); margin-block: 28px; }
.ledger-list > div { display: flex; justify-content: space-between; align-items: start; gap: 25px; border-top: 1px solid var(--line); padding-block: 19px; }
.ledger-list p { margin: 0; }
.ledger-list p strong { display: block; color: var(--navy); font-size: 17px; }
.ledger-list p span { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }
.ledger-list b { font-size: 24px; color: #275840; }
.ledger-list b.deduction { color: #993e31; }
.answer-history article { display: flex; justify-content: space-between; gap: 25px; padding-block: 23px; border-top: 1px solid var(--line); }
.answer-history strong { color: var(--navy); font-size: 18px; }
.answer-history p { font-size: 15px; color: var(--muted); margin: 10px 0 0; }
.answer-history article > span { font-size: 17px; font-weight: 650; white-space: nowrap; color: var(--navy); }
.account-table { overflow-x: auto; }
.account-table table { font-size: 16px; }
.account-table th, .account-table td { padding: 16px 13px; }
.account-table td small { display: block; font-size: 14px; color: var(--muted); margin-top: 5px; }
.preview-tools { background: #eaf0f7; }
.preview-tools summary { color: var(--navy); font-size: 19px; font-weight: 650; }
.preview-tools p { margin-top: 20px; }
.audit-list article { padding-block: 20px; border-top: 1px solid var(--line); }
.audit-list strong { font-size: 18px; color: var(--navy); }
.audit-list p { font-size: 17px; margin: 10px 0; }
.audit-list small { font-size: 14px; color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media(max-width:1000px) {
  .login-layout { gap: 40px; }
  .account-card { padding: 26px; }
  .account-grid { grid-template-columns: 1fr; }
  .account-stats { gap: 16px; }
  .account-stats > div { padding: 22px; }
  .account-topline { flex-wrap: wrap; }
}
@media(max-width:760px) {
  .account-main { padding-block: 26px 45px; }
  .account-page-heading h1 { font-size: 36px; }
  .account-page-heading > p { font-size: 18px; }
  .account-preview-note { font-size: 15px; padding: 18px; margin-bottom: 28px; }
  .login-layout { grid-template-columns: 1fr; gap: 10px; }
  .login-card, .account-card { padding: 24px; }
  .login-explainer { padding: 5px 4px 25px; }
  .account-card h2, .login-explainer h2 { font-size: 28px; }
  .account-card > p { font-size: 18px; }
  .account-topline h2 { font-size: 31px; }
  .account-topline p { font-size: 16px; }
  .account-stats { grid-template-columns: 1fr; gap: 13px; }
  .account-stats > div { display: grid; grid-template-columns: 1fr auto; column-gap: 15px; padding: 20px 23px; }
  .account-stats strong { grid-row: 1 / 3; grid-column: 2; align-self: center; font-size: 40px; margin: 0; }
  .account-stats small { margin-top: 6px; }
  .account-stats strong.word-stat { font-size: 32px; }
  .account-grid { gap: 0; }
  .card-heading { align-items: start; gap: 10px; }
  .account-status { font-size: 12px; }
  .account-label { font-size: 12px !important; }
  .current-question h2 { font-size: 28px; }
  .account-answer { padding: 20px; }
  .simulator-phone { padding: 16px; }
  .simulator-phone > span { font-size: 13px; }
  .message-bubble { padding: 17px; }
  .text-compose { display: block; }
  .text-compose .button { width: 100%; }
  .answer-history article { flex-direction: column; gap: 12px; }
  .preview-tools .actions { align-items: stretch; flex-direction: column; }
  .preview-code { font-size: 34px; letter-spacing: .12em; }
}
