.account-body { background: #f7f4ed; min-height: 100dvh; }
.account-home { font-size: 17px; }
.auth-shell { width: min(1120px, calc(100% - 64px)); margin: 64px auto; display: grid; grid-template-columns: .92fr 1.08fr; border: 1px solid #ded5c3; border-radius: 16px; overflow: hidden; box-shadow: 0 18px 60px #263e2e0a; background: #fcfaf5; }
.auth-aside { padding: 46px 40px 28px; background: #e9e8dc; position: relative; display: flex; flex-direction: column; overflow: hidden; }
.auth-aside h2 { font-size: clamp(32px, 3vw, 43px); letter-spacing: -1px; margin: 22px 0 18px; }
.auth-aside > p:not(.eyebrow) { font-size: 18px; max-width: 330px; color: #666b5c; }
.auth-illustration { width: 270px; height: auto; aspect-ratio: 1; object-fit: contain; flex-shrink: 0; align-self: center; margin: 28px auto; }
.auth-aside-note { margin-top: auto; font-family: var(--serif); font-size: 17px; color: #73735f; }
.auth-card { padding: 44px 48px; min-width: 0; }
.auth-card h1 { font-size: clamp(32px, 3vw, 42px); line-height: 1.17; letter-spacing: -1px; margin: 22px 0 14px; }
.auth-description { color: #676c60; font-size: 18px; line-height: 1.55; margin-bottom: 24px; }
.auth-tabs { display: flex; gap: 25px; margin-top: 20px; border-bottom: 1px solid var(--line); }
.auth-tabs a { padding: 9px 0 12px; color: #777b6c; border-bottom: 2px solid transparent; }
.auth-tabs a[aria-current] { color: var(--green); border-color: var(--green); }
.auth-form { display: grid; gap: 20px; }
.auth-field { min-width: 0; }
.auth-field label { display: block; font-size: 17px; margin-bottom: 8px; }
.auth-field label span { color: #777b6c; font-size: 15px; }
.auth-field input { width: 100%; min-width: 0; height: 52px; padding: 12px 14px; color: var(--ink); border: 1px solid #cfc6b4; border-radius: 7px; background: #fffdf8; font-size: 18px; transition: border-color .2s, box-shadow .2s; }
.auth-field input:focus { border-color: #63815f; box-shadow: 0 0 0 3px #63815f15; }
.auth-field input::placeholder { color: #909184; }
.password-control { position: relative; }
.password-control input { padding-right: 92px; }
.password-toggle { position: absolute; right: 5px; top: 5px; height: 42px; padding: 0 9px; border: 0; border-radius: 4px; background: transparent; color: #6c705e; font-size: 14px; }
.password-toggle:hover { background: #edeadd; }
.field-help { color: #737568; font-size: 15px; line-height: 1.5; }
.auth-form > .field-help { margin-top: -10px; }
.privacy-check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.5; color: #676c60; }
.privacy-check input { accent-color: var(--green); flex-shrink: 0; width: 18px; height: 18px; margin: 2px 0 0; }
.privacy-check a, .auth-links a { text-decoration: underline; text-underline-offset: 4px; }
.auth-submit { width: 100%; justify-content: space-between; min-height: 53px; font-size: 18px; }
.auth-notice { background: #eaf0e1; color: #35513a; border: 1px solid #c8d5b9; padding: 16px 18px; border-radius: 7px; margin-bottom: 24px; font-size: 17px; }
.auth-error { background: #f7ebe2; color: #864d36; border-color: #e4c7b3; }
.auth-links { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 25px; font-size: 16px; color: #676c60; }
.account-footer { width: min(1120px, calc(100% - 64px)); margin: 35px auto; display: flex; justify-content: space-between; gap: 20px; color: #757568; font-size: 15px; }
.cabinet { padding-block: 48px 16px; }
.cabinet-heading { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-bottom: 35px; }
.cabinet-heading h1 { font-size: clamp(34px, 4vw, 52px); letter-spacing: -1.5px; line-height: 1.16; margin: 13px 0; overflow-wrap: anywhere; }
.cabinet-heading p:not(.eyebrow) { color: #6f7464; }
.verified-badge { padding: 8px 13px; border: 1px solid #cbd5be; border-radius: 30px; color: #476449; font-size: 15px; white-space: nowrap; }
.cabinet-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }
.cabinet-sidebar { border: 1px solid #dcd3c1; background: #fcfaf5; border-radius: 10px; padding: 25px 22px; }
.profile-summary { display: flex; flex-direction: column; gap: 8px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.profile-avatar { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #e8e9da; font: 27px var(--serif); margin-bottom: 7px; }
.profile-summary strong { font-weight: 700; overflow-wrap: anywhere; }
.profile-summary > span:last-child { color: #6f7464; font-size: 15px; overflow-wrap: anywhere; }
.cabinet-sidebar nav { display: grid; margin-block: 18px; }
.cabinet-sidebar nav a { display: flex; justify-content: space-between; gap: 10px; padding-block: 11px; font-size: 17px; }
.cabinet-sidebar nav a:hover { color: var(--terracotta); }
.cabinet-sidebar nav span { color: #a58c64; }
.sidebar-logout { font-size: 16px; padding: 16px 0 0; border: none; border-top: 1px solid var(--line); background: none; text-align: left; width: 100%; color: #747763; }
.cabinet-content { display: grid; gap: 24px; min-width: 0; }
.welcome-card { position: relative; padding: 35px; border-radius: 10px; border: 1px solid #dcd3c1; background: #ebe8da; overflow: hidden; }
.welcome-card > div { position: relative; z-index: 1; width: 72%; }
.welcome-card h2 { font-size: clamp(30px, 3vw, 41px); letter-spacing: -1px; margin-block: 18px; }
.welcome-card p:not(.eyebrow) { max-width: 390px; margin-bottom: 24px; color: #6f7464; }
.welcome-card > img { position: absolute; width: 32%; height: auto; object-fit: contain; right: -4px; bottom: 5px; }
.cabinet-empty-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cabinet-card { padding: 28px; border: 1px solid #dcd3c1; border-radius: 10px; background: #fcfaf5; min-width: 0; }
.empty-symbol { display: block; color: #a78c61; font-size: 29px; margin-bottom: 13px; }
.cabinet-card h3 { font-size: 25px; margin-bottom: 13px; }
.cabinet-card > p:not(.eyebrow) { color: #6f7464; font-size: 17px; }
.cabinet-card .text-link { margin-top: 17px; }
.profile-card h2 { font-size: 34px; margin: 15px 0; letter-spacing: -1px; }
.profile-card .auth-form { max-width: 680px; }
.profile-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.profile-card .button { justify-self: start; font-size: 17px; white-space: normal; text-align: left; }
.account-email { display: grid; gap: 5px; font-size: 17px; }
.account-email strong { font-weight: 400; overflow-wrap: anywhere; }
.privacy-description { display: grid; gap: 20px; color: #676c60; font-size: 17px; }
@media (max-width: 960px) {
  .auth-shell { margin-block: 36px; grid-template-columns: .8fr 1.2fr; }
  .auth-aside { padding: 30px 25px; }
  .auth-card { padding: 32px 28px; }
  .cabinet-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 20px; }
  .cabinet-sidebar { padding: 22px 17px; }
  .cabinet-empty-grid { grid-template-columns: 1fr; gap: 20px; }
  .profile-fields { grid-template-columns: 1fr; }
  .welcome-card { padding: 28px; }
  .welcome-card > div { width: 85%; }
  .welcome-card img { opacity: .3; }
}
@media (max-width: 640px) {
  .auth-shell { width: calc(100% - 28px); margin: 24px auto; grid-template-columns: 1fr; border-radius: 10px; }
  .auth-aside { display: none; }
  .auth-card { padding: 28px 22px; }
  .auth-card h1 { font-size: 33px; }
  .auth-description { font-size: 17px; }
  .account-home { font-size: 15px; gap: 7px; }
  .account-footer { width: calc(100% - 36px); flex-direction: column; gap: 9px; font-size: 14px; }
  .cabinet { padding-top: 30px; }
  .cabinet-heading { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cabinet-heading h1 { font-size: 36px; letter-spacing: -1px; }
  .cabinet-layout { grid-template-columns: 1fr; }
  .profile-summary { display: none; }
  .cabinet-sidebar { padding: 15px 20px; }
  .cabinet-sidebar nav { margin-top: 0; }
  .cabinet-sidebar nav a { padding-block: 8px; }
  .welcome-card, .cabinet-card { padding: 25px 21px; }
  .welcome-card > div { width: 100%; }
  .welcome-card h2 { font-size: 33px; }
  .welcome-card img { width: 38%; opacity: .15; }
  .welcome-card .button { font-size: 16px; white-space: normal; text-align: left; }
  .profile-card h2 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) { .auth-field input { transition: none; } }
