:root {
  --red: #ed1744;
  --red-dark: #c8103d;
  --ink: #111217;
  --charcoal: #343743;
  --muted: #575b63;
  --line: #dedfe2;
  --surface: #f5f5f5;
  --blue: #0877b9;
  --shadow: 0 1px 4px rgb(0 0 0 / 12%);
}

* { box-sizing: border-box; }
html { font-size: 16px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}
a { color: inherit; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.site-header {
  height: 80px;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 30;
}
.brand img { display: block; width: 145px; height: auto; }
.account-menu { position: absolute; right: max(3.3vw, 32px); top: 24px; }
.avatar {
  width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: var(--charcoal); color: #fff; font-weight: 700; cursor: pointer;
}
.menu-panel {
  position: absolute; right: -12px; top: 45px; width: 194px;
  background: #fff; border: 1px solid #ddd; border-radius: 3px; box-shadow: var(--shadow);
}
.menu-panel a {
  display: flex; gap: 12px; align-items: center; padding: 16px 20px;
  text-decoration: none; color: #2f3239;
}
.menu-panel a:hover { background: #f6f6f6; }
.menu-panel .menu-logout { border-top: 1px solid #ddd; }

h1, h2, h3, p { margin-top: 0; }
h1 { font-size: 30px; line-height: 1.2; }
h2 { font-size: 24px; line-height: 1.25; }
h3 { font-size: 20px; line-height: 1.3; }
.page-width { width: min(1108px, calc(100% - 48px)); margin-inline: auto; }
.back-link {
  color: var(--blue); text-decoration: none; display: inline-block; font-size: 15px;
}
.primary {
  border: 0; border-radius: 6px; background: var(--red); color: white;
  text-decoration: none; font-weight: 700; padding: 13px 28px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.primary:hover { background: var(--red-dark); }
.primary:disabled { background: #ef8398; cursor: not-allowed; }
.pill { border-radius: 999px; padding: 14px 26px; }
.wide { width: 100%; }
.secondary-button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 17px; background: #fff; color: #222; border: 1px solid #aaa;
  border-radius: 999px; text-decoration: none; font-weight: 700;
}
.section-heading { border-left: 9px solid var(--red); padding-left: 14px; margin-bottom: 24px; }

/* Authentication */
.auth-page { background: #fff; }
.auth-page main { min-height: calc(100vh - 80px); }
.auth-card { width: min(770px, calc(100% - 40px)); margin: 298px auto 0; }
.auth-card h1 { margin: 0 0 4px; font-size: 30px; }
.auth-subtitle { color: #34363b; font-size: 18px; margin-bottom: 28px; }
.email-form { display: flex; height: 49px; margin-bottom: 24px; }
.email-form input {
  flex: 1; border: 1px solid #ddd; padding: 0 16px; min-width: 0; outline: none;
}
.email-form input:focus { border-color: #888; }
.email-form button {
  width: 49px; border: 0; background: #eb91a3; color: #fff; font-size: 37px;
  line-height: 1; cursor: pointer; font-weight: 200;
}
.info-alert {
  display: flex; gap: 16px; background: #fde6e8; color: #9b1032;
  padding: 17px 28px; border-radius: 7px; font-size: 14px;
}
.info-alert span { font-size: 11px; padding-top: 3px; }
.info-alert p { margin: 0; }
.info-alert a { color: #0877b9; }
.password-card { width: min(480px, calc(100% - 40px)); margin-top: 190px; }
.password-card .back-link { margin-bottom: 50px; }
.password-card form label, .security-card label { display: block; font-weight: 700; margin-bottom: 8px; }
.password-field { display: flex; border: 1px solid #ddd; background: #fff; border-radius: 4px; }
.password-field input { width: 100%; border: 0; min-height: 48px; padding: 10px 14px; outline: none; background: transparent; }
.password-toggle { width: 50px; border: 0; background: transparent; color: #555; cursor: pointer; }
.forgot-link { display: block; text-align: right; margin: 12px 0 24px; }
.form-error {
  margin: -10px 0 18px; padding: 11px 14px; border-radius: 5px;
  background: #fde6e8; color: #9b1032; font-size: 14px;
}
.registration-shell {
  width: min(1114px, calc(100% - 40px));
  margin: 44px auto 80px;
}
.registration-back {
  display: inline-flex; align-items: center; gap: 7px;
  color: #0678b8; text-decoration: none; font-size: 15px;
}
.registration-back span { font-size: 27px; line-height: 1; margin-top: -3px; }
.registration-card { width: min(768px, 100%); margin: 46px auto 0; }
.registration-card h1 { margin-bottom: 5px; font-size: 29px; }
.registration-subtitle { color: #40434a; font-size: 18px; margin-bottom: 25px; }
.registration-alert {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px; margin-bottom: 23px; border-radius: 6px;
  background: #fff2e4; color: #8d4c25; font-size: 14px;
}
.registration-alert p { margin: 0; }
.registration-info {
  flex: 0 0 20px; width: 20px; height: 20px; border: 1px solid currentColor;
  border-radius: 50%; display: grid; place-items: center; font-weight: 700;
}
.registration-errors {
  margin-bottom: 18px; padding: 12px 16px; border-radius: 5px;
  background: #fde6e8; color: #9b1032; font-size: 14px;
}
.registration-errors p { margin: 0; }
.registration-errors p + p { margin-top: 4px; }
.registration-form { display: grid; gap: 17px; }
.registration-name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.registration-form input[type="text"],
.registration-form input[type="tel"],
.registration-form input[type="password"] {
  width: 100%; height: 48px; border: 1px solid #cfcfd2; border-radius: 4px;
  padding: 0 15px; outline: none; color: #23252b; background: #fff;
}
.registration-form input:focus, .registration-form select:focus {
  border-color: #5b5e65; box-shadow: 0 0 0 1px #5b5e65;
}
.registration-phone {
  height: 48px; display: flex; border: 1px solid #cfcfd2; border-radius: 4px;
  overflow: hidden; background: #fff;
}
.registration-phone:focus-within { border-color: #5b5e65; box-shadow: 0 0 0 1px #5b5e65; }
.registration-phone select {
  width: 105px; border: 0; border-right: 1px solid #ddd; padding: 0 9px;
  background: #fff; outline: none;
}
.registration-phone input[type="tel"] { border: 0; border-radius: 0; height: 46px; }
.registration-phone input[type="tel"]:focus { box-shadow: none; }
.registration-password {
  display: flex; height: 48px; border: 1px solid #cfcfd2; border-radius: 4px;
  background: #fff; overflow: hidden;
}
.registration-password:focus-within { border-color: #5b5e65; box-shadow: 0 0 0 1px #5b5e65; }
.registration-password input[type="password"],
.registration-password input[type="text"] { border: 0; border-radius: 0; height: 46px; }
.registration-password input:focus { box-shadow: none; }
.registration-password .password-toggle { flex: 0 0 50px; }
.password-requirements {
  display: none; margin: -9px 0 0; color: #656871; font-size: 12px;
}
.registration-password:focus-within + .password-requirements { display: block; }
.consent-row {
  display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start;
  color: #32343a; font-size: 14px; line-height: 1.45; cursor: pointer;
}
.consent-row input {
  width: 16px; height: 16px; margin: 2px 0 0; accent-color: #ed1744;
}
.consent-row a { color: #0877b9; }
.registration-next {
  width: 160px; min-height: 48px; margin-top: 8px; border: 0; border-radius: 999px;
  background: #ed1744; color: #fff; font-weight: 700; cursor: pointer;
}
.registration-next:disabled { background: #eca0af; cursor: not-allowed; }

/* Dashboard */
.dashboard-shell { width: min(1115px, calc(100% - 48px)); margin: 64px auto; }
.dashboard-hero { display: flex; justify-content: space-between; align-items: center; margin-bottom: 88px; }
.dashboard-hero h1 { margin-bottom: 3px; }
.dashboard-hero p { color: var(--muted); font-size: 18px; margin: 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  min-height: 282px; display: flex; flex-direction: column; position: relative;
  padding: 28px 24px 24px; background: #fff; border: 1px solid #ddd;
  border-radius: 7px; box-shadow: var(--shadow); text-decoration: none;
}
.service-card > img { width: 55px; height: 55px; object-fit: contain; margin-bottom: 24px; }
.service-card h3 { font-size: 25px; margin: 0 0 4px; }
.service-card p { color: #33383f; font-size: 16px; margin: 0; }
.arrow-box {
  margin-top: auto; margin-left: auto; width: 49px; height: 49px;
  display: grid; place-items: center; border: 1px solid #e0e0e0; border-radius: 4px; font-size: 28px;
}
.service-card {
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.service-card:hover,
.service-card:focus-visible {
  background: #fff3e5;
  border-color: #333541;
  box-shadow: none;
  transform: none;
}
.service-card:hover .arrow-box,
.service-card:focus-visible .arrow-box {
  background: #333541;
  border-color: #333541;
  color: #fff;
}
.service-card:focus-visible {
  outline: 3px solid rgb(0 119 183 / 35%);
  outline-offset: 3px;
}

/* Tests */
.tests-page { background: #fff; min-height: calc(100vh - 80px); }
.tests-intro { padding-top: 48px; }
.title-action { display: flex; justify-content: space-between; align-items: center; margin: 26px 0 22px; }
.title-action h1 { margin-bottom: 3px; }
.title-action p { margin: 0; font-size: 17px; }
.tabs { display: flex; border-bottom: 1px solid #ddd; }
.tab { flex: 1; background: #fff; border: 0; padding: 18px; border-bottom: 4px solid transparent; cursor: pointer; color: #444; }
.tab.active { border-bottom-color: var(--red); color: #1c1c1c; }
.tests-content { background: #f5f5f5; min-height: calc(100vh - 310px); padding-top: 36px; }
.test-list { display: grid; gap: 18px; }
.upcoming-card { margin-bottom: 18px; }
.status.pending { background: #fff2dd; color: #9a5c12; }
.compact-empty { padding-top: 90px; }
.empty-state { text-align: center; padding: 150px 20px 50px; }
.empty-icon {
  display: block;
  margin: 0 auto 24px;
  width: 116px;
  height: 116px;
  object-fit: contain;
}
.empty-state h2 { color: var(--red); margin-bottom: 4px; }
.empty-state p { font-size: 17px; color: #4e5056; }
.past-count { font-size: 19px; margin-bottom: 24px; }
.past-count span { color: var(--red); }
.test-card {
  display: block; color: inherit; text-decoration: none; background: #fff;
  border: 1px solid #e0e0e0; border-radius: 8px; padding: 25px; box-shadow: var(--shadow);
  transition: box-shadow .15s ease, transform .15s ease;
}
.test-card:hover,
.test-card:focus-visible {
  background: #e6e9ed;
  border-color: #333541;
  box-shadow: none;
  transform: none;
}
.test-card:hover .test-times,
.test-card:focus-visible .test-times {
  background: #fff;
}
.test-card:focus-visible { outline: 3px solid rgb(0 119 183 / 35%); outline-offset: 3px; }
.test-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 17px; }
.test-card-head h3 { color: #a20d35; margin: 0; }
.status { background: #f1f9e7; color: #56831b; padding: 7px 12px; border-radius: 7px; font-size: 13px; }
.test-times { display: grid; grid-template-columns: 1fr 1fr; background: #f3f4f5; border-radius: 7px; padding: 18px 22px; }
.test-times > div + div { border-left: 1px solid #ddd; padding-left: 24px; }
.test-times p { margin: 6px 0 0; }
.test-meta { display: flex; gap: 22px; align-items: center; padding-top: 20px; margin-top: 18px; border-top: 1px solid #ddd; font-size: 14px; }
.test-meta .learn-more { margin-left: auto; text-decoration: underline; }

/* Results */
.results-page { padding-block: 40px 90px; }
.candidate-card { margin-top: 45px; background: white; border-radius: 7px; overflow: hidden; box-shadow: var(--shadow); }
.candidate-card > h1 { margin: 0; padding: 11px 16px; color: white; background: var(--charcoal); font-size: 18px; }
.candidate-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 24px; padding: 18px 16px; }
.candidate-grid div { display: grid; grid-template-columns: 1fr; }
.candidate-grid img { width: 24px; height: 24px; object-fit: contain; margin-bottom: 6px; }
.candidate-grid b { font-size: 14px; }
.candidate-grid p { margin: 5px 0 0; font-size: 14px; }
.results-title { display: flex; justify-content: space-between; align-items: center; margin-top: 44px; }
.results-title a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.results-title a img { width: 20px; height: 20px; object-fit: contain; }
.score-card {
  width: 100%; min-height: 84px; border: 1px solid #ddd; border-radius: 7px;
  background: #fff; display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px; text-align: left; cursor: pointer;
}
.score-card span { display: flex; flex-direction: column; font-weight: 700; }
.score-card strong { color: var(--red); font-size: 29px; line-height: 1.05; }
.score-card b { font-size: 27px; font-weight: 400; }
.score-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.lower-heading { margin-top: 48px; }
.retake-title { display: flex; align-items: flex-end; justify-content: space-between; }
.retake-title .section-heading { margin-bottom: 24px; }
.dismiss-retake {
  margin-bottom: 27px; border: 0; border-bottom: 1px dotted #444;
  background: transparent; color: #222; padding: 0; cursor: pointer;
}
.retake-card {
  background: white; border: 1px solid #ddd; border-radius: 7px; padding: 20px 24px;
  display: flex; align-items: center; gap: 24px;
}
.warning-icon, .delete-warning {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  background: #fff1e4; color: #e45c14; font-size: 27px; font-weight: 700;
}
.retake-card h3, .retake-card p { margin: 0; }
.retake-card p { color: #52545a; }
.expired { margin-left: auto; padding: 6px 10px; background: #fff0e9; color: #a75737; border-radius: 5px; }
.option-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.option-grid a {
  min-height: 150px; padding: 18px; border: 1px solid #ddd; border-radius: 7px;
  background: white; text-decoration: none;
}
.option-grid a > img { display: block; width: 40px; height: 40px; object-fit: contain; }
.option-grid b { display: block; margin: 10px 0 4px; }
.option-grid p { color: #565960; font-size: 14px; }
.drawer-backdrop { position: fixed; inset: 0; background: rgb(26 28 38 / 58%); z-index: 40; }
.score-drawer {
  position: fixed; z-index: 50; top: 0; right: 0; bottom: 0; width: min(50vw, 820px);
  background: #fff; transform: translateX(100%); transition: transform .22s ease;
}
.score-drawer.open { transform: translateX(0); }
.drawer-head { height: 60px; padding: 13px 30px; display: flex; justify-content: space-between; border-bottom: 1px solid #ddd; }
.drawer-head h2 { margin: 0; }
.drawer-close { border: 0; background: transparent; font-size: 34px; cursor: pointer; }
.drawer-body { padding: 36px 32px; }
.trophy { display: block; width: 56px; height: 56px; object-fit: contain; }
.drawer-score { display: flex; justify-content: space-between; align-items: center; }
.drawer-score h3 { font-size: 26px; }
.drawer-score strong { font-size: 29px; color: var(--red); }
.drawer-body .section-heading { margin-top: 20px; font-size: 20px; }
.score-explanation { font-size: 17px; line-height: 1.65; }

/* Profile and forms */
.profile-summary { padding-block: 48px 80px; }
.profile-layout, .form-layout, .settings-layout { display: grid; grid-template-columns: minmax(0, 1fr) 325px; gap: 48px; margin-top: 48px; }
.profile-main > h1 { margin-bottom: 4px; }
.completion-card {
  display: flex; align-items: center; gap: 20px; background: #fff3e5; border: 1px solid #c88755;
  border-radius: 7px; padding: 18px; margin: 28px 0 24px;
}
.completion-card > strong {
  width: 56px; height: 56px; border: 4px solid #ad4b16; border-radius: 50%;
  display: grid; place-items: center; color: #a65a2c;
}
.completion-card h2 { font-size: 17px; color: #9c5a32; margin: 0; }
.completion-card p { margin: 0; }
.profile-links { display: grid; gap: 12px; }
.profile-links a {
  min-height: 73px; background: #fff; border: 1px solid #ddd; border-radius: 7px;
  display: flex; align-items: center; padding: 20px 24px; text-decoration: none; font-size: 21px;
}
.profile-links a b { margin-right: auto; }
.profile-links a > span:last-child { margin-left: 22px; font-size: 26px; }
.complete { color: #308518; }
.incomplete { padding: 6px 12px; border-radius: 7px; background: #ffe5d9; color: #9d5436; font-size: 13px; }
.note-card {
  background: white; border: 1px solid #ddd; border-radius: 7px; padding: 28px 24px;
  box-shadow: 0 1px 2px rgb(0 0 0 / 4%); align-self: start;
}
.note-card > span { color: var(--red); font-size: 24px; }
.note-card h2 { margin: 18px 0 7px; font-size: 21px; }
.note-card p { margin: 0; }
.form-layout { padding-block: 48px 90px; margin-top: 0; }
.form-main .back-link { margin-bottom: 50px; }
.details-form { max-width: 742px; }
.details-form h1 { font-size: 28px; margin: 0 0 26px; }
.details-form > p { color: #4e5158; }
.details-form label, .two-col label {
  display: flex; flex-direction: column; gap: 8px; margin-bottom: 23px; font-weight: 700;
}
.details-form input, .details-form select {
  width: 100%; min-height: 49px; border: 1px solid #ddd; border-radius: 5px;
  padding: 10px 15px; background: #fff; color: #46494f;
}
.details-form input:disabled { background: #fafafa; color: #aaa; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.mobile-field { display: flex; align-items: center; border: 1px solid #ddd; border-radius: 5px; background: white; }
.mobile-field span { padding-left: 16px; font-weight: 400; white-space: nowrap; }
.mobile-field input { border: 0; }
.details-form hr { border: 0; border-top: 1px solid #ddd; margin: 44px 0; }
.upload-row { border: 1px solid #ddd; border-radius: 6px; padding: 18px; display: flex; justify-content: space-between; background: #fff; }
.upload-row button { border: 0; color: #b34824; background: transparent; }
.form-actions { display: flex; justify-content: flex-end; gap: 16px; margin-top: 38px; }
.sticky { position: sticky; top: 110px; }

/* Settings */
.settings-layout { padding-block: 48px 90px; margin-top: 0; }
.settings-main > h1 { margin: 46px 0 2px; }
.settings-main > p { margin-bottom: 36px; }
.settings-item { margin: 0 0 44px; }
.settings-item h2 { font-size: 21px; margin-bottom: 8px; }
.settings-item p { margin-bottom: 18px; font-size: 17px; }
.password-row { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 1px solid #ddd; padding-bottom: 4px; }
.password-row a { margin-bottom: 16px; }
.delete-link { color: #b04d2c; text-decoration: none; font-size: 13px; }

/* Security */
.security-page, .delete-page { min-height: calc(100vh - 80px); position: relative; padding: 45px; }
.security-back { position: absolute; top: 44px; left: 48px; }
.security-card {
  width: min(480px, calc(100% - 40px)); margin: 133px auto 0; background: #fff;
  border: 1px solid #ddd; border-radius: 8px; padding: 24px; box-shadow: 0 1px 3px rgb(0 0 0 / 5%);
}
.security-icon { width: 58px; height: 58px; border-radius: 50%; background: #fff0df; display: grid; place-items: center; font-size: 28px; }
.security-card h1 { margin: 18px 0 5px; }
.security-card > p { font-size: 17px; color: #4d5056; margin-bottom: 25px; }
.security-card label { margin: 0 0 16px; }
.security-card label .password-field { margin-top: 6px; }
.delete-card { width: min(760px, calc(100% - 40px)); margin: 350px auto 0; }
.delete-card h1 { margin: 18px 0 4px; }
.delete-card p { font-size: 18px; line-height: 1.65; }
.delete-card > div { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.delete-card .primary, .delete-card .secondary-button { min-height: 49px; }

@media (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 180px; }
  .dashboard-hero { margin-bottom: 50px; }
  .profile-layout, .form-layout, .settings-layout { grid-template-columns: 1fr; }
  .note-card { order: -1; position: static; }
  .candidate-grid { grid-template-columns: repeat(2, 1fr); }
  .score-grid, .option-grid { grid-template-columns: 1fr 1fr; }
  .score-drawer { width: 70vw; }
}

@media (max-width: 600px) {
  .site-header { height: 64px; }
  .brand img { width: 122px; }
  .account-menu { top: 16px; right: 18px; }
  .page-width, .dashboard-shell { width: calc(100% - 32px); }
  h1 { font-size: 25px; }
  .auth-card { margin-top: 130px; }
  .auth-card h1 { font-size: 25px; }
  .auth-subtitle { font-size: 16px; }
  .info-alert { padding: 15px; }
  .password-card { margin-top: 60px; }
  .registration-shell { margin-top: 25px; }
  .registration-card { margin-top: 32px; }
  .registration-card h1 { font-size: 25px; }
  .registration-name-row { grid-template-columns: 1fr; }
  .registration-next { width: 100%; }
  .dashboard-shell { margin-top: 36px; }
  .dashboard-hero { align-items: flex-start; }
  .dashboard-hero .pill { padding: 10px 15px; font-size: 14px; }
  .section-heading { font-size: 22px; }
  .service-card { min-height: 160px; padding: 20px; display: grid; grid-template-columns: 52px 1fr 30px; gap: 12px; align-items: center; }
  .service-card > img { width: 44px; height: 44px; margin: 0; }
  .service-card h3 { font-size: 19px; }
  .service-card p { font-size: 14px; }
  .arrow-box { width: auto; height: auto; border: 0; margin: 0; }
  .service-card:hover .arrow-box,
  .service-card:focus-visible .arrow-box {
    width: 34px; height: 34px; border-radius: 4px;
  }
  .tests-intro { padding-top: 30px; }
  .title-action { align-items: flex-start; }
  .title-action p { font-size: 15px; }
  .title-action .pill { display: none; }
  .empty-state { padding-top: 100px; }
  .test-card { padding: 18px; }
  .test-card-head { align-items: flex-start; gap: 10px; }
  .test-times { grid-template-columns: 1fr; gap: 15px; }
  .test-times > div + div { border-left: 0; border-top: 1px solid #ddd; padding: 15px 0 0; }
  .test-meta { flex-direction: column; align-items: flex-start; }
  .test-meta .learn-more { margin-left: 0; }
  .results-page { padding-top: 28px; }
  .candidate-card { margin-top: 28px; }
  .candidate-grid { grid-template-columns: 1fr; }
  .results-title { align-items: flex-start; }
  .results-title a { font-size: 13px; }
  .score-grid, .option-grid { grid-template-columns: 1fr 1fr; }
  .retake-card { align-items: flex-start; padding: 16px; }
  .dismiss-retake { font-size: 13px; }
  .expired { margin-left: 0; }
  .score-drawer { width: 100vw; }
  .profile-layout { margin-top: 30px; gap: 20px; }
  .profile-links a { font-size: 17px; padding: 16px; }
  .two-col { grid-template-columns: 1fr; }
  .form-layout, .settings-layout { padding-top: 30px; gap: 25px; }
  .form-main .back-link { margin-bottom: 35px; }
  .security-page, .delete-page { padding: 24px 16px; }
  .security-back { top: 28px; left: 16px; }
  .security-card { margin-top: 105px; width: 100%; }
  .delete-card { margin-top: 220px; width: 100%; }
  .delete-card > div { grid-template-columns: 1fr; gap: 12px; }
}
