:root {
  color-scheme: light dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body {
  margin: 0;
  background: #f7f5f1;
  color: #2b2521;
}

main {
  box-sizing: border-box;
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

.account-shell {
  max-width: 1120px;
  padding: 28px 24px 72px;
}

.delete-page {
  background:
    linear-gradient(180deg, #f9f8f5 0%, #f1eee8 100%);
  color-scheme: light;
}

.delete-page .account-shell {
  max-width: 1180px;
}

.account-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #e1ddd5;
  border-radius: 14px;
  background: #ffffff;
  color: #1f2933;
  font-weight: 850;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-links a {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #667085;
  font-size: 0.94rem;
  text-decoration: none;
}

.settings-frame {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 680px;
  border: 1px solid #e4ded4;
  border-radius: 28px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 28px 90px rgba(58, 48, 36, 0.10);
}

.settings-sidebar {
  padding: 28px 18px;
  border-right: 1px solid #eee8df;
  background: #fbfaf8;
}

.sidebar-title {
  margin: 0 10px 18px;
  color: #98a1ad;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.settings-sidebar a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  color: #667085;
  font-size: 0.95rem;
  font-weight: 720;
  text-decoration: none;
}

.settings-sidebar a + a {
  margin-top: 4px;
}

.settings-sidebar a.active {
  background: #fff0ed;
  color: #c14335;
}

.settings-content {
  padding: clamp(28px, 5vw, 56px);
}

.settings-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid #eee8df;
}

.settings-header h1 {
  margin: 0 0 10px;
  color: #101828;
  font-size: clamp(2.2rem, 5vw, 4.25rem);
  letter-spacing: 0;
  line-height: 0.98;
}

.settings-header p {
  max-width: 620px;
  margin: 0;
  color: #667085;
  font-size: 1.04rem;
  line-height: 1.65;
}

.availability-pill {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid #cce9d4;
  border-radius: 999px;
  background: #f0fbf3;
  color: #287246;
  font-size: 0.82rem;
  font-weight: 820;
}

.delete-request-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 28px;
  padding: 22px;
  border: 1px solid #f2c8c0;
  border-radius: 20px;
  background: #fff7f5;
}

.request-copy h2,
.warning-panel h2,
.detail-list h2,
.timeline-card h2 {
  margin: 0 0 8px;
  color: #101828;
  font-size: 1.05rem;
}

.request-copy p,
.detail-list p {
  margin: 0;
  color: #667085;
}

.request-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.request-meta span {
  padding: 6px 9px;
  border: 1px solid #eadfd6;
  border-radius: 999px;
  background: #ffffff;
  color: #667085;
  font-size: 0.78rem;
  font-weight: 760;
}

.danger-button {
  display: inline-flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  background: #d5483d;
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 820;
  text-decoration: none;
  white-space: nowrap;
}

.warning-panel {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid #e7e0d7;
  border-radius: 18px;
  background: #fcfaf7;
}

.warning-panel ul {
  margin: 0;
  padding-left: 20px;
  color: #667085;
}

.warning-panel li + li {
  margin-top: 6px;
}

.detail-list {
  display: grid;
  gap: 0;
  margin-top: 28px;
  border: 1px solid #eee8df;
  border-radius: 20px;
  overflow: hidden;
}

.detail-list article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 20px;
  background: #ffffff;
}

.detail-list article + article {
  border-top: 1px solid #eee8df;
}

.detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #f3efe7;
  color: #7a6754;
  font-size: 0.84rem;
  font-weight: 900;
}

.timeline-card {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid #eee8df;
  border-radius: 20px;
  background: #ffffff;
}

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.timeline-steps div {
  padding: 16px;
  border: 1px solid #eee8df;
  border-radius: 16px;
  background: #fbfaf8;
}

.timeline-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: #101828;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 850;
}

.timeline-steps p {
  margin: 0;
  color: #344054;
  font-weight: 760;
}

.account-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 360px;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 24px;
}

.hero-copy,
.status-panel,
.action-card,
.info-card,
.process-strip,
.plain-section {
  border: 1px solid #ddd7cd;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 70px rgba(57, 45, 34, 0.08);
}

.hero-copy {
  padding: clamp(28px, 5vw, 56px);
}

.section-label {
  margin: 0 0 10px;
  color: #7a6d5c;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 720px;
  margin-bottom: 18px;
  color: #2d2924;
  font-size: clamp(2.7rem, 8vw, 5.6rem);
  letter-spacing: 0;
  line-height: 0.96;
}

.hero-lead {
  max-width: 620px;
  margin: 0;
  color: #5b5248;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
}

.primary-action {
  background: #d85f4c;
  color: #fffaf7;
  box-shadow: 0 14px 28px rgba(216, 95, 76, 0.26);
}

.primary-action.compact {
  min-width: 120px;
  align-self: center;
}

.secondary-action {
  border: 1px solid #d8cec1;
  background: #ffffff;
  color: #4c453c;
}

.safe-note {
  max-width: 620px;
  margin: 22px 0 0;
  color: #776d62;
  font-size: 0.95rem;
}

.status-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: #292620;
  color: #fff8ef;
}

.status-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #8fd3a6;
  box-shadow: 0 0 0 6px rgba(143, 211, 166, 0.16);
}

.status-list {
  display: grid;
  gap: 14px;
  margin: 44px 0 0;
}

.status-list div {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 248, 239, 0.16);
}

.status-list dt {
  color: #c9bfb2;
  font-size: 0.78rem;
  font-weight: 800;
}

.status-list dd {
  margin: 4px 0 0;
  color: #fff8ef;
  font-size: 1.04rem;
  font-weight: 750;
}

.action-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: 24px 0;
  padding: 24px;
}

.danger-card {
  border-color: #efd2cb;
  background: #fff7f4;
}

.action-card h2,
.info-card h2,
.plain-section h2 {
  margin: 0 0 10px;
  color: #2f2924;
}

.action-card p,
.info-card p,
.plain-section p {
  margin: 0;
  color: #5b5248;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.info-card {
  padding: 22px;
}

.card-index {
  display: inline-flex;
  margin-bottom: 28px;
  color: #d85f4c;
  font-size: 0.78rem;
  font-weight: 900;
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 24px 0;
  padding: 0;
}

.process-strip div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 20px;
  background: #fffdf9;
}

.process-strip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #ece2d4;
  color: #4b4034;
  font-weight: 900;
}

.process-strip p {
  margin: 0;
  color: #4f463d;
  font-weight: 750;
}

.plain-section {
  margin: 24px 0;
  padding: 24px;
}

.account-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

.account-footer a {
  color: #667085;
}

h1, h2 {
  line-height: 1.25;
}

h1 {
  margin-top: 0;
  color: #5d4a73;
  font-size: clamp(2rem, 7vw, 3.25rem);
}

h2 {
  margin-top: 32px;
  color: #344f57;
}

.eyebrow {
  margin: 0 0 8px;
  color: #6f6a5f;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lead {
  max-width: 680px;
  font-size: 1.08rem;
}

a {
  color: #5d4a73;
  font-weight: 650;
}

section {
  margin: 28px 0;
}

.notice {
  padding: 16px;
  border: 1px solid #d5c7e5;
  border-radius: 8px;
  background: #f5effb;
}

.notice h2,
.panel h2 {
  margin-top: 0;
}

.success {
  border-color: #aecfbd;
  background: #eef8f2;
}

.error {
  border-color: #e6b7b4;
  background: #fff0ef;
}

.panel {
  padding: 18px;
  border: 1px solid #d8d2c7;
  border-radius: 8px;
  background: #ffffff;
}

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

.link-card {
  display: block;
  padding: 18px;
  border: 1px solid #d8d2c7;
  border-radius: 8px;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
}

.link-card span {
  display: block;
  margin-bottom: 8px;
  color: #5d4a73;
  font-size: 1.05rem;
  font-weight: 750;
}

.link-card small {
  display: block;
  color: #5c554c;
  font-size: 0.93rem;
}

.button-link,
button {
  display: inline-block;
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  background: #5d4a73;
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
}

button:disabled {
  opacity: 0.65;
}

label {
  display: block;
  margin: 16px 0 6px;
  font-weight: 700;
}

input {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #c7beb4;
  border-radius: 8px;
  background: #ffffff;
  color: #2b2521;
  font: inherit;
}

.status-message {
  min-height: 1.4em;
  color: #8b3f39;
  font-weight: 650;
}

@media (max-width: 620px) {
  main {
    padding: 24px 16px 48px;
  }

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

  .account-shell {
    padding: 18px 14px 48px;
  }

  .account-nav {
    align-items: flex-start;
    margin-bottom: 18px;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: flex-end;
    gap: 8px;
  }

  .brand-mark {
    min-width: 82px;
  }

  .account-hero,
  .action-card,
  .info-grid,
  .process-strip,
  .settings-frame,
  .delete-request-card,
  .timeline-steps {
    grid-template-columns: 1fr;
  }

  .settings-frame {
    border-radius: 20px;
  }

  .settings-sidebar {
    display: none;
  }

  .settings-content {
    padding: 24px 18px;
  }

  .settings-header {
    display: block;
  }

  .availability-pill {
    display: inline-flex;
    margin-top: 16px;
  }

  .danger-button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .hero-copy,
  .status-panel,
  .action-card,
  .info-card,
  .plain-section {
    border-radius: 18px;
  }

  .hero-copy {
    padding: 24px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .primary-action.compact {
    width: 100%;
  }

  .process-strip div {
    grid-template-columns: 30px minmax(0, 1fr);
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background: #1f1b20;
    color: #eee7ee;
  }

  h1,
  h2,
  a,
  .link-card span {
    color: #d8c0ef;
  }

  .account-nav a,
  .brand-mark,
  .hero-copy,
  .action-card,
  .info-card,
  .plain-section {
    border-color: #514853;
    background: #29242b;
  }

  .brand-mark {
    color: #f4edf4;
  }

  .hero-copy h1,
  .action-card h2,
  .info-card h2,
  .plain-section h2 {
    color: #f4edf4;
  }

  .hero-lead,
  .safe-note,
  .action-card p,
  .info-card p,
  .plain-section p,
  .nav-links a,
  .account-footer a {
    color: #d8cfd9;
  }

  .danger-card {
    border-color: #684b4f;
    background: #34262a;
  }

  .secondary-action {
    border-color: #5d5360;
    background: #211d23;
    color: #f3eaf3;
  }

  .process-strip {
    border-color: #514853;
  }

  .process-strip div {
    background: #29242b;
  }

  .process-strip span {
    background: #403642;
    color: #f4edf4;
  }

  .process-strip p {
    color: #f4edf4;
  }

  .eyebrow,
  .link-card small {
    color: #cfc6d1;
  }

  .notice {
    border-color: #675873;
    background: #302936;
  }

  .success {
    border-color: #55745f;
    background: #1e2b23;
  }

  .error {
    border-color: #8b5b57;
    background: #362423;
  }

  .panel,
  .link-card {
    border-color: #4c454d;
    background: #29242b;
  }

  input {
    border-color: #756d78;
    background: #1f1b20;
    color: #eee7ee;
  }
}

/* Account deletion web UI */
.delete-page {
  min-height: 100vh;
  background: #f6f4ef;
  color: #111827;
  color-scheme: light;
}

.delete-page a {
  color: inherit;
}

.delete-shell {
  box-sizing: border-box;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 24px 72px;
}

.delete-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.delete-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #ded8ce;
  border-radius: 13px;
  background: #ffffff;
  color: #111827;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(48, 39, 27, 0.06);
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d5483d;
  box-shadow: 0 0 0 5px rgba(213, 72, 61, 0.12);
}

.delete-toplinks {
  display: flex;
  align-items: center;
  gap: 8px;
}

.delete-toplinks > a,
.language-switch {
  min-height: 40px;
  border: 1px solid #ded8ce;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.72);
}

.delete-toplinks > a {
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  color: #4b5563;
  font-size: 0.92rem;
  font-weight: 720;
  text-decoration: none;
}

.language-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
}

.language-switch button {
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #6b7280;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.language-switch button.active {
  background: #111827;
  color: #ffffff;
}

.polished-settings {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 680px;
  border: 1px solid #e2dcd2;
  border-radius: 28px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 28px 90px rgba(62, 52, 38, 0.11);
}

.polished-settings .settings-sidebar {
  display: block;
  padding: 26px 16px;
  border-right: 1px solid #eee8df;
  background: #fbfaf8;
}

.polished-settings .sidebar-title {
  margin: 0 10px 18px;
  color: #9ca3af;
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.polished-settings .settings-sidebar a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  color: #667085;
  font-size: 0.94rem;
  font-weight: 720;
  text-decoration: none;
}

.polished-settings .settings-sidebar a + a {
  margin-top: 4px;
}

.polished-settings .settings-sidebar a.active {
  background: #fff0ed;
  color: #c14335;
}

.polished-content {
  padding: clamp(30px, 5vw, 56px);
}

.polished-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid #eee8df;
}

.polished-header .section-label {
  margin: 0 0 8px;
  color: #7b8494;
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.polished-header h1 {
  margin: 0 0 10px;
  color: #111827;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  letter-spacing: 0;
  line-height: 0.98;
}

.polished-header p {
  max-width: 660px;
  margin: 0;
  color: #667085;
  font-size: 1.03rem;
  line-height: 1.65;
}

.polished-header .availability-pill {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid #cce9d4;
  border-radius: 999px;
  background: #f0fbf3;
  color: #287246;
  font-size: 0.82rem;
  font-weight: 820;
}

.polished-danger {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 28px;
  padding: 24px;
  border: 1px solid #efc8c0;
  border-radius: 20px;
  background: #fff7f5;
}

.polished-danger h2,
.polished-warning h2,
.polished-list h2,
.polished-timeline h2 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 1.04rem;
}

.polished-danger p,
.polished-list p {
  margin: 0;
  color: #667085;
  line-height: 1.58;
}

.request-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.request-meta span {
  padding: 6px 9px;
  border: 1px solid #eadfd6;
  border-radius: 999px;
  background: #ffffff;
  color: #667085;
  font-size: 0.78rem;
  font-weight: 760;
}

.danger-button {
  display: inline-flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  background: #d5483d;
  color: #ffffff !important;
  font-size: 0.94rem;
  font-weight: 820;
  text-decoration: none;
  white-space: nowrap;
  justify-self: start;
}

.polished-warning {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid #e7e0d7;
  border-radius: 18px;
  background: #fcfaf7;
}

.polished-warning ul {
  margin: 0;
  padding-left: 20px;
  color: #667085;
}

.polished-warning li + li {
  margin-top: 6px;
}

.polished-list {
  display: grid;
  margin-top: 28px;
  border: 1px solid #eee8df;
  border-radius: 20px;
  overflow: hidden;
}

.polished-list article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 20px;
  background: #ffffff;
}

.polished-list article + article {
  border-top: 1px solid #eee8df;
}

.polished-list .detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #f3efe7;
  color: #7a6754;
  font-size: 0.72rem;
  font-weight: 900;
}

.polished-timeline {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid #eee8df;
  border-radius: 20px;
  background: #ffffff;
}

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.timeline-steps div {
  padding: 16px;
  border: 1px solid #eee8df;
  border-radius: 16px;
  background: #fbfaf8;
}

.timeline-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 850;
}

.timeline-steps p {
  margin: 0;
  color: #344054;
  font-weight: 760;
}

.polished-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.polished-footer a {
  color: #667085;
  font-weight: 720;
}

@media (max-width: 760px) {
  .delete-shell {
    padding: 16px 14px 48px;
  }

  .delete-topbar {
    align-items: flex-start;
  }

  .delete-brand {
    min-width: 78px;
    max-width: 126px;
  }

  .delete-topbar .delete-brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .delete-toplinks {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: end;
    gap: 8px;
  }

  .language-switch {
    grid-column: 1 / -1;
    justify-self: end;
  }

  .polished-settings {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .polished-settings .settings-sidebar {
    display: none;
  }

  .polished-content {
    padding: 24px 18px;
  }

  .polished-header {
    display: block;
  }

  .polished-header .availability-pill {
    display: inline-flex;
    margin-top: 16px;
  }

  .polished-danger,
  .timeline-steps {
    grid-template-columns: 1fr;
  }

  .danger-button {
    width: 100%;
    white-space: normal;
    text-align: center;
    justify-self: stretch;
  }
}

@media (min-width: 1060px) {
  .polished-danger {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .danger-button {
    justify-self: end;
  }
}

/* Account Center shared pages */
.account-page {
  min-height: 100vh;
  background: #f6f4ef;
  color: #101828;
  color-scheme: light;
}

.account-page .account-shell,
.account-page .delete-shell {
  box-sizing: border-box;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 24px 72px;
}

.account-page .polished-settings {
  min-height: 650px;
}

.account-page .polished-content {
  min-width: 0;
}

.account-page .route-grid,
.account-page .support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.account-page .route-card,
.account-page .support-card,
.account-page .form-panel,
.account-page .legal-section {
  box-sizing: border-box;
  min-width: 0;
  border: 1px solid #eee8df;
  border-radius: 20px;
  background: #ffffff;
}

.account-page .route-card,
.account-page .support-card {
  display: block;
  padding: 22px;
  color: #101828;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.account-page .route-card:hover,
.account-page .support-card:hover {
  border-color: #dccfc2;
  box-shadow: 0 18px 44px rgba(58, 48, 36, 0.08);
  transform: translateY(-1px);
}

.account-page .route-card span,
.account-page .support-card h2,
.account-page .form-panel h2,
.account-page .legal-section h2 {
  display: block;
  margin: 0 0 8px;
  color: #101828;
  font-size: 1.06rem;
  font-weight: 850;
}

.account-page .route-card small,
.account-page .support-card p,
.account-page .form-panel p,
.account-page .legal-section p,
.account-page .legal-section li {
  color: #667085;
  font-size: 0.97rem;
  line-height: 1.65;
}

.account-page .route-card small,
.account-page .support-card p {
  display: block;
  margin: 0;
}

.account-page .legal-section {
  margin-top: 18px;
  padding: 20px;
  background: #fcfaf7;
}

.account-page .legal-section ul,
.account-page .legal-section ol {
  margin: 0;
  padding-left: 20px;
}

.account-page .legal-section li + li {
  margin-top: 6px;
}

.account-page .form-panel {
  margin-top: 28px;
  padding: 22px;
}

.account-page .form-panel form {
  display: grid;
  gap: 12px;
  max-width: 520px;
}

.account-page .form-panel label {
  color: #344054;
  font-size: 0.92rem;
  font-weight: 820;
}

.account-page .form-panel input {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid #d9d2c8;
  border-radius: 12px;
  background: #ffffff;
  color: #101828;
  font: inherit;
}

.account-page .form-panel button {
  width: fit-content;
  margin-top: 6px;
  border: 0;
}

.account-page .status-message {
  min-height: 24px;
  margin: 12px 0 0;
  color: #c14335;
  font-weight: 760;
}

.account-page .account-footer a {
  padding: 8px 10px;
  border-radius: 10px;
  color: #667085;
  font-weight: 760;
  text-decoration: none;
}

.account-page .account-footer a:hover,
.account-page .polished-footer a:hover {
  color: #101828;
  background: #f2efea;
}

@media (max-width: 860px) {
  .account-page .route-grid,
  .account-page .support-grid {
    grid-template-columns: 1fr;
  }

  .account-page .primary-action,
  .account-page .secondary-action,
  .account-page .form-panel button {
    width: 100%;
  }
}
