:root {
  color-scheme: light;
  --ink: #14201d;
  --muted: #68756f;
  --line: #dfe6e1;
  --paper: #f7f9f6;
  --card: rgba(255, 255, 255, 0.92);
  --green: #146c55;
  --green-dark: #0b4f3e;
  --green-soft: #e5f3ed;
  --gold: #bc8b42;
  --danger: #9f3f3f;
  --shadow: 0 24px 60px rgba(30, 58, 49, 0.09);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 75% 12%, rgba(205, 227, 216, .52), transparent 25rem),
    linear-gradient(145deg, #fbfcfa 0%, #f1f5f1 100%);
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, .button { min-height: 44px; }

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(3px);
  pointer-events: none;
  opacity: .36;
}
.ambient-one { width: 28rem; height: 28rem; background: #cce4d8; top: -16rem; right: -8rem; }
.ambient-two { width: 20rem; height: 20rem; background: #f0ddbd; bottom: -14rem; left: 25%; opacity: .22; }

.account-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 258px 1fr;
  position: relative;
  z-index: 1;
}

.sidebar {
  padding: 30px 22px;
  background: rgba(250, 252, 249, .82);
  border-right: 1px solid rgba(192, 204, 197, .7);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}

.brand, .welcome-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Avenir Next", Inter, ui-sans-serif, sans-serif;
}
.brand strong, .welcome-brand strong { display: block; font-size: 17px; line-height: 1.1; letter-spacing: -.02em; }
.brand small, .welcome-brand small { display: block; color: var(--muted); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; margin-top: 3px; }
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px 12px 18px 12px;
  display: grid;
  place-items: center;
  background: var(--green-dark);
  box-shadow: 0 9px 20px rgba(11, 79, 62, .2);
  transform: rotate(-3deg);
}
.brand-mark span {
  display: block;
  width: 13px;
  height: 17px;
  border: 2px solid #dff3e9;
  border-top: 0;
  border-radius: 2px 2px 8px 8px;
  transform: rotate(20deg);
}
.brand-mark.large { width: 48px; height: 48px; border-radius: 15px 15px 22px 15px; }

.sidebar nav { display: grid; gap: 7px; margin-top: 58px; }
.sidebar nav a {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 14px;
  border-radius: 13px;
  color: #66716c;
  font-weight: 600;
  font-size: 14px;
  transition: .18s ease;
}
.sidebar nav a:hover { background: rgba(229, 239, 233, .72); color: var(--green-dark); }
.sidebar nav a.active { background: #e4f0ea; color: var(--green-dark); box-shadow: inset 3px 0 var(--green); }
.sidebar svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.sidebar-foot { margin-top: auto; display: grid; gap: 16px; padding: 18px 10px 4px; }
.sidebar-foot > a { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 13px; }
.sidebar-foot > a svg { width: 16px; }
.language-switcher {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
}
.language-switcher a {
  min-width: 40px;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}
.language-switcher a.active {
  color: white;
  background: var(--green-dark);
}
.privacy-pulse { color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.privacy-pulse span, .status-pill i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #2e9d72; box-shadow: 0 0 0 4px rgba(46, 157, 114, .11); margin-right: 8px; }

main { min-width: 0; }
.topbar { height: 86px; display: flex; align-items: center; justify-content: flex-end; padding: 0 4.5vw; border-bottom: 1px solid rgba(208, 218, 212, .7); }
.topbar-person { display: flex; align-items: center; gap: 11px; }
.topbar-person strong, .topbar-person small { display: block; }
.topbar-person strong { font-size: 13px; }
.topbar-person small { color: var(--muted); font-size: 11px; margin-top: 2px; }
.menu-button { display: none; border: 0; background: transparent; }
.avatar { border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, #d7ece1, #c1d9ce); color: var(--green-dark); font-family: "Avenir Next", Inter, ui-sans-serif, sans-serif; font-weight: 700; border: 1px solid rgba(36, 95, 75, .12); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-small { width: 38px; height: 38px; font-size: 12px; }
.avatar-large { width: 78px; height: 78px; font-size: 23px; box-shadow: 0 10px 25px rgba(30, 80, 62, .13); }

.page { width: min(1180px, calc(100% - 9vw)); margin: 0 auto; padding: 48px 0 70px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 32px; }
.eyebrow { color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .19em; margin: 0 0 9px; }
h1, h2, h3 { font-family: "Avenir Next", Inter, ui-sans-serif, sans-serif; letter-spacing: -.035em; margin: 0; }
.page-heading h1 { font-size: clamp(34px, 4vw, 48px); line-height: 1.05; }
.page-heading > div > p:last-child { margin: 12px 0 0; color: var(--muted); max-width: 630px; font-size: 15px; }
.account-chip { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 14px 14px 14px 18px; border: 1px solid var(--line); background: rgba(255,255,255,.7); border-radius: 14px; min-width: 210px; }
.account-chip span { grid-column: 1 / -1; font-size: 9px; letter-spacing: .16em; color: var(--muted); }
.account-chip strong { font-family: "Avenir Next", Inter, ui-sans-serif, sans-serif; letter-spacing: .08em; font-size: 14px; }
.account-chip button { border: 0; background: transparent; color: var(--green); min-height: 32px; cursor: pointer; }
.account-chip svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.account-chip button.copied { color: #25845f; }

.panel, .hero-card, .metric-card {
  background: var(--card);
  border: 1px solid rgba(205, 215, 209, .85);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.hero-card { padding: 29px 32px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.profile-hero { display: flex; align-items: center; gap: 20px; }
.profile-hero h2 { font-size: 24px; margin-top: 9px; }
.profile-hero p { margin: 4px 0 0; color: var(--muted); }
.status-pill { display: inline-flex; align-items: center; border: 1px solid #cae1d5; color: var(--green); background: #eff8f3; border-radius: 999px; padding: 6px 10px; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.status-pill i { width: 6px; height: 6px; margin-right: 6px; box-shadow: none; }
.status-pill.subtle { padding: 5px 9px; }
.status-pill.muted { color: #77817d; border-color: #dde3df; background: #f5f7f5; }
.status-pill.muted i { background: #9aa39f; }
.hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.hero-meta div { padding: 13px 18px; min-width: 115px; background: #fafbf9; }
.hero-meta span, .hero-meta strong { display: block; }
.hero-meta span { color: var(--muted); font-size: 10px; margin-bottom: 4px; }
.hero-meta strong { font-size: 12px; }

.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 18px 0; }
.metric-card { min-height: 108px; padding: 20px; display: flex; align-items: center; gap: 15px; box-shadow: 0 12px 32px rgba(30, 58, 49, .05); transition: transform .18s, border-color .18s; }
.metric-card:hover { transform: translateY(-2px); border-color: #b8cec2; }
.metric-card > svg { width: 18px; margin-left: auto; fill: none; stroke: #8c9892; stroke-width: 1.8; }
.metric-card div strong, .metric-card div span { display: block; }
.metric-card div strong { font-family: "Avenir Next", Inter, ui-sans-serif, sans-serif; font-size: 17px; }
.metric-card div span { color: var(--muted); font-size: 11px; margin-top: 4px; }
.metric-icon, .security-icon, .data-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 13px; color: var(--green); background: var(--green-soft); }
.metric-icon svg, .security-icon svg, .data-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.two-column { display: grid; grid-template-columns: 1.08fr .92fr; gap: 18px; }
.panel { padding: 26px; box-shadow: 0 14px 38px rgba(30, 58, 49, .05); }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 21px; }
.panel-heading h2 { font-size: 19px; }
.panel-heading a { color: var(--green); display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; }
.panel-heading a svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.app-row, .timeline-row, .security-row { display: flex; align-items: center; gap: 13px; padding: 13px 0; border-top: 1px solid #edf0ee; }
.app-row:first-child, .timeline-row:first-child, .security-row:first-child { border-top: 0; }
.app-row > div, .timeline-row > div, .security-row > div { min-width: 0; flex: 1; }
.app-row strong, .app-row small, .timeline-row strong, .timeline-row small, .security-row strong, .security-row small { display: block; }
.app-row small, .timeline-row small, .security-row small { color: var(--muted); font-size: 10px; margin-top: 3px; }
.app-logo { width: 37px; height: 37px; border-radius: 11px; display: grid; place-items: center; background: #172b25; color: white; font-family: "Avenir Next", Inter, ui-sans-serif, sans-serif; font-size: 10px; letter-spacing: .05em; }
.app-logo.large { width: 49px; height: 49px; border-radius: 15px; font-size: 12px; }
.timeline-row > span { width: 35px; height: 35px; display: grid; place-items: center; color: var(--green); background: #eef6f2; border-radius: 50%; }
.timeline-row svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.timeline-row strong { font-size: 12px; text-transform: capitalize; }
.panel-note, .verification-note, .verification-expiry { color: var(--muted); font-size: 11px; line-height: 1.55; margin: 15px 0 0; }
.verification-note a { color: var(--green); font-weight: 700; }
.empty-state { min-height: 138px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--muted); padding: 18px; }
.empty-state svg { width: 27px; height: 27px; fill: none; stroke: #6d9d88; margin-bottom: 12px; }
.empty-state strong { color: var(--ink); font-size: 13px; }
.empty-state p { max-width: 360px; font-size: 11px; line-height: 1.55; margin: 8px 0 0; }

.form-panel { padding: 32px; }
.profile-editor-head { display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); padding-bottom: 25px; margin-bottom: 27px; }
.profile-editor-head h2 { font-size: 20px; }
.profile-editor-head p { color: var(--muted); font-size: 12px; margin: 6px 0 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
label { display: grid; gap: 8px; color: #46534e; font-size: 12px; font-weight: 600; }
label.full { grid-column: 1 / -1; }
label small { color: var(--muted); font-weight: 400; line-height: 1.5; }
input, select, textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #ccd6d0;
  border-radius: 11px;
  background: #fbfcfb;
  color: var(--ink);
  padding: 0 13px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 130px; padding: 12px 13px; resize: vertical; font: inherit; }
input:focus, select:focus, textarea:focus { border-color: #4d9479; box-shadow: 0 0 0 4px rgba(40, 125, 92, .1); }
.input-prefix { display: flex; align-items: center; border: 1px solid #ccd6d0; border-radius: 11px; background: #fbfcfb; overflow: hidden; }
.input-prefix:focus-within { border-color: #4d9479; box-shadow: 0 0 0 4px rgba(40, 125, 92, .1); }
.input-prefix b { color: var(--muted); padding-left: 13px; }
.input-prefix input { border: 0; box-shadow: none; background: transparent; padding-left: 5px; }
.identity-readonly { background: #f4f7f4; border-radius: 14px; padding: 18px 20px; margin-top: 26px; display: grid; grid-template-columns: 1fr 1.5fr; gap: 20px; }
.identity-readonly span, .identity-readonly strong, .identity-readonly code { display: block; }
.identity-readonly span { color: var(--muted); font-size: 10px; margin-bottom: 6px; }
.identity-readonly code { font-size: 11px; overflow-wrap: anywhere; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 25px; }
.form-actions p { color: var(--muted); font-size: 11px; margin: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border-radius: 11px; font-weight: 700; font-size: 12px; border: 1px solid transparent; cursor: pointer; }
.button.primary { color: white; background: var(--green-dark); box-shadow: 0 8px 18px rgba(11, 79, 62, .16); }
.button.primary:hover { background: #0d5e49; }
.button.secondary { color: var(--green-dark); border-color: #bfcec6; background: rgba(255,255,255,.7); }
.button.danger { color: var(--danger); border-color: #e2bdbd; background: #fff9f9; }
.button:disabled { opacity: .45; cursor: not-allowed; }

.application-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }
.application-card { border: 1px solid var(--line); border-radius: 17px; padding: 21px; background: #fbfcfb; }
.application-title { display: flex; align-items: center; gap: 13px; }
.application-title > div { flex: 1; }
.application-title > div span { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.application-title h3 { font-size: 15px; margin-top: 3px; }
.application-card > p { color: var(--muted); font-size: 11px; line-height: 1.55; margin: 18px 0; min-height: 34px; }
.app-boundary { display: flex; gap: 10px; padding: 12px; background: #edf5f1; border-radius: 11px; color: var(--green-dark); }
.app-boundary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; flex: 0 0 auto; }
.app-boundary strong, .app-boundary span { display: block; }
.app-boundary strong { font-size: 10px; }
.app-boundary span { color: #64776f; font-size: 9px; margin-top: 2px; }
.application-card dl { display: grid; gap: 8px; margin: 17px 0; }
.application-card dl div { display: flex; justify-content: space-between; gap: 15px; font-size: 10px; }
.application-card dt { color: var(--muted); }
.application-card dd { margin: 0; text-align: right; max-width: 65%; overflow-wrap: anywhere; }
.application-card form { display: flex; justify-content: flex-end; }
.app-waiting { display: flex; align-items: center; gap: 9px; min-height: 51px; margin-top: 17px; color: var(--muted); font-size: 10px; }
.app-waiting span { color: #779a8b; }
.app-waiting svg { width: 20px; height: 20px; fill: none; stroke: currentColor; }
.scope-note { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }

.service-list { display: grid; gap: 13px; }
.service-card { border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: #fbfcfb; }
.service-card.unread { border-color: #b7d4c6; background: #f5fbf8; box-shadow: inset 3px 0 0 #438b70; }
.service-card-head, .service-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.service-card-head time, .ticket-message time { color: var(--muted); font-size: 10px; }
.service-card h3 { font-size: 16px; margin-top: 15px; }
.service-card > p { color: var(--muted); font-size: 12px; line-height: 1.65; margin: 8px 0 16px; }
.service-actions { justify-content: flex-end; }
.service-actions form { margin: 0; }
.service-actions .button { min-height: 38px; }
.support-layout { grid-template-columns: .9fr 1.1fr; }
.compact-form { display: grid; gap: 18px; padding: 0; }
.ticket-row { color: inherit; }
.ticket-thread { display: grid; gap: 13px; }
.ticket-message { max-width: 82%; border: 1px solid var(--line); border-radius: 15px; padding: 16px; background: #f6f8f6; }
.ticket-message.user { justify-self: end; background: #edf6f1; border-color: #c9ddd3; }
.ticket-message strong { display: block; color: var(--green-dark); font-size: 11px; }
.ticket-message p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; line-height: 1.65; margin: 8px 0; }
.ticket-reply { display: grid; gap: 13px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.ticket-reply .button { justify-self: end; min-height: 43px; }
.text-link { display: inline-flex; color: var(--green); font-size: 12px; font-weight: 700; margin-top: 20px; }

.verify-panel { max-width: 760px; }
.verify-copy { display: flex; gap: 20px; align-items: flex-start; }
.security-orb { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--green-dark); color: white; flex: 0 0 auto; }
.security-orb svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.verify-copy h2 { font-size: 21px; }
.verify-copy p:last-child { color: var(--muted); font-size: 12px; line-height: 1.6; max-width: 560px; margin: 8px 0 0; }
.verify-form { margin: 26px 0 0 78px; display: flex; align-items: end; gap: 12px; }
.verify-form label { flex: 1; }
.security-columns { grid-template-columns: 1fr 1fr; }
.security-methods { margin-bottom: 18px; }
.security-method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.security-method { min-height: 92px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: #fbfcfb; }
.security-method strong { font-size: 12px; }
.security-method .button { min-height: 38px; padding-inline: 14px; }
.security-row .text-button { border: 0; background: transparent; color: var(--danger); font-size: 10px; font-weight: 700; cursor: pointer; }
.security-row form { margin-left: auto; }

.data-columns { grid-template-columns: 1fr 1fr; }
.data-card { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.data-card .button, .data-card > .status-pill { grid-column: 2; justify-self: start; }
.data-card h2 { font-size: 18px; }
.data-card p:last-child { color: var(--muted); font-size: 11px; line-height: 1.6; margin: 7px 0 0; }
.danger-zone { display: flex; align-items: center; justify-content: space-between; gap: 30px; border-color: #ead1d1; margin-top: 18px; }
.danger-zone h2 { font-size: 18px; }
.danger-zone p:last-child { color: var(--muted); max-width: 730px; font-size: 11px; line-height: 1.6; }

.flash { display: flex; align-items: center; gap: 10px; min-height: 46px; border-radius: 12px; padding: 0 15px; margin-bottom: 20px; font-size: 12px; font-weight: 600; }
.flash.success { color: #176247; background: #e7f5ed; border: 1px solid #c9e4d6; }
.flash.error { color: #913f3f; background: #fff2f2; border: 1px solid #eccdcd; }
.flash svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }

.welcome-body { display: grid; place-items: center; overflow-x: hidden; }
.welcome { width: min(940px, calc(100% - 40px)); text-align: center; padding: 72px 0; position: relative; z-index: 1; }
.welcome-tools { position: absolute; top: 24px; right: 0; }
.welcome-brand { justify-content: center; margin-bottom: 62px; }
.welcome h1 { font-size: clamp(46px, 7.2vw, 82px); line-height: .99; max-width: 900px; margin: 0 auto; }
.welcome h1 span { color: var(--green); }
.welcome-copy { color: var(--muted); max-width: 630px; margin: 24px auto 0; line-height: 1.7; font-size: 16px; }
.welcome-actions { display: flex; justify-content: center; gap: 12px; margin-top: 31px; }
.welcome-actions .button { min-width: 142px; }
.welcome-proof { display: flex; justify-content: center; flex-wrap: wrap; gap: 30px; margin-top: 62px; color: #73817b; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.welcome-proof span::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #4e9b7d; margin-right: 8px; vertical-align: 1px; }
.setup-card { max-width: 760px; margin: 34px auto 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; text-align: left; padding: 21px; border-radius: 18px; background: rgba(255,255,255,.78); border: 1px solid var(--line); box-shadow: var(--shadow); }
.setup-index { color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: .14em; writing-mode: vertical-rl; transform: rotate(180deg); }
.setup-card h2 { font-size: 16px; }
.setup-card p { color: var(--muted); font-size: 11px; line-height: 1.55; margin: 6px 0 0; }
.setup-card code { background: #edf1ee; padding: 2px 5px; border-radius: 4px; }
.error-page { display: flex; flex-direction: column; align-items: center; }
.error-page h1 { font-size: clamp(34px, 6vw, 58px); max-width: 700px; margin-top: 15px; }
.error-page code { margin: 22px 0; color: var(--muted); }

@media (max-width: 980px) {
  .account-shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; z-index: 20; width: 270px; transform: translateX(-100%); transition: transform .2s; box-shadow: 16px 0 50px rgba(20,32,29,.12); }
  .sidebar.open { transform: translateX(0); }
  .topbar { justify-content: space-between; }
  .menu-button { display: grid; place-content: center; gap: 5px; width: 44px; }
  .menu-button span { display: block; width: 20px; height: 2px; background: var(--ink); }
  .hero-card { align-items: flex-start; flex-direction: column; }
  .hero-meta { width: 100%; }
  .application-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .topbar { height: 72px; padding: 0 20px; }
  .page { width: calc(100% - 32px); padding: 31px 0 50px; }
  .page-heading { align-items: flex-start; flex-direction: column; }
  .account-chip { width: 100%; }
  .hero-card, .panel, .form-panel { padding: 21px; }
  .profile-hero { align-items: flex-start; }
  .avatar-large { width: 64px; height: 64px; }
  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta div { min-width: 0; }
  .metric-grid, .two-column, .form-grid { grid-template-columns: 1fr; }
  .security-method-grid { grid-template-columns: 1fr; }
  .identity-readonly { grid-template-columns: 1fr; }
  .form-actions, .danger-zone { align-items: stretch; flex-direction: column; }
  .form-actions .button, .danger-zone .button { width: 100%; }
  .verify-form { margin-left: 0; flex-direction: column; align-items: stretch; }
  .setup-card { grid-template-columns: 1fr; text-align: center; }
  .setup-index { writing-mode: initial; transform: none; }
  .setup-card .button { width: 100%; }
  .welcome-brand { margin-bottom: 45px; }
  .welcome-tools { top: 18px; right: 50%; transform: translateX(50%); }
  .welcome { padding-top: 92px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
