.account-page {
  background: #f6f8f1;
  color: #183f36;
  min-height: 100vh;
}
.account-header {
  max-width: 1120px;
  margin: auto;
  padding: 26px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.account-header > a:last-child {
  font-size: 14px;
  font-weight: 700;
}
.account-layout {
  max-width: 1080px;
  margin: 48px auto 80px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.account-intro h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin: 24px 0;
}
.account-intro p {
  line-height: 1.7;
  color: #586c60;
}
.account-intro ul {
  list-style: none;
  padding: 0;
  margin: 28px 0;
}
.account-intro li {
  margin: 16px 0;
}
.account-intro li::before {
  content: '✓';
  margin-right: 12px;
}
.account-plan-note {
  font-size: 14px;
  border-top: 1px solid #d5dfcf;
  padding-top: 24px;
}
.account-card {
  min-width: 0;
  background: #fff;
  border: 1px solid #d7dfd2;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 18px 50px #183f3608;
}
.account-card h2 {
  margin: 26px 0 10px;
  font-size: 30px;
  letter-spacing: -0.03em;
}
.account-description {
  color: #586c60;
  line-height: 1.6;
  margin-bottom: 24px;
}
.auth-tabs {
  display: flex;
  background: #f0f4e9;
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
}
.auth-tabs button {
  flex: 1;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #4b6053;
  font: inherit;
  font-weight: 700;
  padding: 12px 8px;
  cursor: pointer;
}
.auth-tabs button[aria-selected='true'] {
  background: #183f36;
  color: #fff;
}
.account-card label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin: 20px 0 8px;
}
.account-card input {
  display: block;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 14px;
  border: 1px solid #cbd5c7;
  border-radius: 12px;
  font: inherit;
  color: #183f36;
  background: #fff;
}
.password-wrap {
  display: flex;
  align-items: stretch;
  border: 1px solid #cbd5c7;
  border-radius: 12px;
}
.password-wrap input {
  border: 0;
  background: transparent;
}
.password-wrap button {
  border: 0;
  background: transparent;
  color: #183f36;
  padding: 0 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.account-primary {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 22px;
  white-space: normal;
  text-align: center;
}
.account-text-button {
  border: 0;
  background: transparent;
  padding: 12px 0;
  font: inherit;
  font-size: 14px;
  color: #245e4d;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.account-card button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.field-help {
  font-size: 13px;
  color: #657365;
  line-height: 1.65;
  margin: 12px 0;
}
.field-help a,
.account-footer a {
  color: #245e4d;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.account-footer {
  border-top: 1px solid #e0e6da;
  padding-top: 22px;
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.7;
}
.status:empty {
  display: none;
}
.status {
  margin-top: 20px;
  padding: 14px;
  border-radius: 12px;
  line-height: 1.6;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.status.error {
  color: #8e3428;
  background: #fff3ed;
  border: 1px solid #f3d4c3;
}
.status.ok {
  color: #24513b;
  background: #eff6e8;
  border: 1px solid #d6e6ca;
}
.verification-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: #eaf0df;
}
#verificationPanel {
  margin-top: 24px;
}
#verificationDescription {
  line-height: 1.7;
  overflow-wrap: anywhere;
}
#codeDetails {
  margin: 22px 0;
  padding: 16px;
  border: 1px solid #d7dfd2;
  border-radius: 12px;
}
#codeDetails summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
}
#verificationCode {
  font-size: 22px;
  letter-spacing: 0.15em;
}
.verification-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
}
.account-card [hidden] {
  display: none !important;
}
.account-card :focus-visible {
  outline: 3px solid #69934c;
  outline-offset: 3px;
}
@media (max-width: 800px) {
  .account-layout {
    max-width: 520px;
    grid-template-columns: 1fr;
    gap: 28px;
    margin: 12px auto 50px;
  }
  .account-intro {
    display: none;
  }
  .account-header {
    padding: 20px;
  }
  .account-card {
    padding: 24px;
  }
}
@media (max-width: 360px) {
  .account-layout {
    padding: 0 14px;
  }
  .account-card {
    padding: 20px;
  }
}
