.account-page {
  padding: 28px max(16px, calc((100vw - 1180px) / 2)) 46px;
}

.account-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 18px;
  align-items: stretch;
}

.account-panel,
.account-card,
.dashboard-card,
.account-form-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(251,248,238,0.96));
  border: 1px solid rgba(6, 60, 55, 0.14);
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(21, 35, 31, 0.1);
}

.account-panel {
  padding: clamp(22px, 4vw, 38px);
  display: grid;
  align-content: center;
  gap: 14px;
}

.account-panel h1,
.account-form-card h1 {
  margin: 0;
  color: var(--teal-dark);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
}

.account-panel p,
.account-card p,
.dashboard-card p,
.account-muted {
  color: var(--muted);
}

.account-feature-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-feature-list li {
  display: flex;
  gap: 8px;
  color: var(--teal-dark);
  font-weight: 800;
}

.account-form-card {
  padding: clamp(20px, 3vw, 30px);
}

.account-form {
  display: grid;
  gap: 14px;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.account-form label {
  display: grid;
  gap: 6px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
}

.account-form .field,
.account-form select {
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--teal-dark);
  padding: 10px 12px;
  font: inherit;
}

.account-form .full {
  grid-column: 1 / -1;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.account-response {
  margin-top: 12px;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 800;
}

.account-response.info {
  background: #eef8f4;
  color: var(--teal-dark);
}

.account-response.success {
  background: #ebfff3;
  color: #075b31;
}

.account-response.error {
  background: #fff1ef;
  color: #8f2215;
}

.register-steps {
  display: inline-flex;
  gap: 8px;
  margin: 12px 0 18px;
}

.register-steps span {
  width: 34px;
  height: 8px;
  border-radius: 999px;
  background: rgba(6, 60, 55, 0.18);
}

.register-steps span.is-active {
  background: var(--gold);
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.type-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

.account-nav-grid,
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.account-card,
.dashboard-card {
  padding: 20px;
  display: grid;
  gap: 10px;
}

.dashboard-card strong {
  color: var(--teal-dark);
  font-size: 24px;
}

.dashboard-card h3,
.account-card h3 {
  margin: 0;
  color: var(--teal-dark);
}

.account-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 12px;
}

.account-table th,
.account-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
}

.account-table th {
  color: var(--teal-dark);
  font-size: 12px;
  text-transform: uppercase;
}

.account-note {
  border-left: 4px solid var(--gold);
  background: #fff8e8;
  border-radius: 12px;
  padding: 14px;
  color: var(--teal-dark);
  font-weight: 800;
}

html[data-theme="dark"] .account-panel,
html[data-theme="dark"] .account-card,
html[data-theme="dark"] .dashboard-card,
html[data-theme="dark"] .account-form-card {
  background: rgba(17, 70, 62, 0.94);
  border-color: rgba(216, 160, 25, 0.24);
}

html[data-theme="dark"] .account-panel h1,
html[data-theme="dark"] .account-form-card h1,
html[data-theme="dark"] .account-form label,
html[data-theme="dark"] .account-feature-list li,
html[data-theme="dark"] .dashboard-card h3,
html[data-theme="dark"] .account-card h3,
html[data-theme="dark"] .dashboard-card strong,
html[data-theme="dark"] .account-table th {
  color: #fff8df;
}

html[data-theme="dark"] .account-panel p,
html[data-theme="dark"] .account-card p,
html[data-theme="dark"] .dashboard-card p,
html[data-theme="dark"] .account-muted {
  color: #d9f4eb;
}

html[data-theme="dark"] .account-note,
html[data-theme="dark"] .type-grid label {
  background: rgba(255,255,255,0.08);
  color: #fff8df;
  border-color: rgba(216, 160, 25, 0.24);
}

@media (max-width: 860px) {
  .account-hero,
  .account-grid,
  .account-nav-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .type-grid {
    grid-template-columns: 1fr;
  }
}
