:root {
  color-scheme: dark;
  --bg: #000000;
  --elevated: #16181c;
  --card: #16181c;
  --ink: #e7e9ea;
  --muted: #71767b;
  --line: #2f3336;
  --header: #000000;
  --accent: #1d9bf0;
  --accent-hover: #1a8cd8;
  --accent-ink: #ffffff;
  --danger: #f4212e;
  --ok: #00ba7c;
  --warn: #ffd400;
  --focus: #1d9bf0;
  --chip: #202327;
  --rail: 275px;
  --column: 600px;
  font-family: "DM Sans", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.45;
  min-height: 100vh;
  font-size: 15px;
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--elevated);
  color: var(--ink);
  padding: 0.5rem 0.75rem;
  z-index: 2;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
}

.site-header {
  background: rgba(0, 0, 0, 0.85);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.85rem;
}

.brand {
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand span,
.x-brand span {
  color: var(--accent);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  align-items: center;
}

.nav a,
.text-button {
  color: var(--ink);
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}

.nav a:hover,
.text-button:hover {
  color: var(--accent);
}

.site-footer {
  color: var(--muted);
  font-size: 0.82rem;
  padding: 1.5rem 0 2rem;
  text-align: center;
}

/* —— Desk shell (X-like) —— */
.x-app {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  min-height: 100vh;
  width: min(100%, 1280px);
  margin-inline: auto;
}

.x-rail {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  padding: 0.75rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border-right: 1px solid var(--line);
}

.x-brand {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  padding: 0.65rem 0.75rem;
}

.x-rail-nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 0.5rem;
}

.x-rail-link {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 500;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
}

.x-rail-link:hover,
.x-rail-link.is-active {
  background: var(--chip);
  text-decoration: none;
}

.x-rail-link.is-active {
  font-weight: 700;
}

.x-compose-btn {
  margin: 0.85rem 0.4rem 0;
  width: calc(100% - 0.8rem);
  justify-content: center;
}

.x-rail-user {
  margin-top: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.65rem;
  border-radius: 999px;
}

.x-rail-user:hover {
  background: var(--chip);
}

.x-rail-user strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.2;
}

.x-rail-user span {
  color: var(--muted);
  font-size: 0.82rem;
}

.x-column {
  min-width: 0;
  border-right: 1px solid var(--line);
  max-width: var(--column);
}

.x-main {
  min-height: 100vh;
}

.x-page-head {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.x-page-head h1 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.x-profile-card {
  border-bottom: 1px solid var(--line);
}

.x-banner {
  height: 8.5rem;
  background:
    radial-gradient(circle at 20% 30%, rgba(29, 155, 240, 0.45), transparent 45%),
    linear-gradient(120deg, #0f1419, #1a2330 55%, #0b3a55);
}

.x-profile-body {
  padding: 0 1rem 1.1rem;
  margin-top: -3rem;
}

.x-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  min-height: 2.5rem;
  margin-bottom: 0.35rem;
}

.x-profile-body h2 {
  margin: 0.35rem 0 0.1rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.x-handle {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.x-bio {
  margin: 0.75rem 0 0;
  color: var(--ink);
  white-space: pre-wrap;
}

.x-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.x-stat-row strong {
  color: var(--ink);
  margin-right: 0.25rem;
}

.x-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  object-fit: cover;
  background: var(--chip);
  border: 3px solid var(--bg);
  flex-shrink: 0;
}

.x-avatar-sm { width: 40px; height: 40px; border-width: 0; }
.x-avatar-md { width: 40px; height: 40px; border-width: 0; }
.x-avatar-xl { width: 88px; height: 88px; }

.x-avatar-fallback {
  font-weight: 700;
  color: var(--ink);
}

.x-feed-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
}

.x-feed-head h2 {
  margin: 0;
  font-size: 1.05rem;
}

.x-feed-note {
  color: var(--muted);
  font-size: 0.82rem;
}

.x-feed-sync {
  margin-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.x-empty-soft {
  border: none;
  background: transparent;
  padding: 1.25rem 1rem;
}

.x-empty-soft p {
  margin: 0;
  color: var(--muted);
}

.x-post {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
}

.x-post:hover {
  background: rgba(255, 255, 255, 0.02);
}

.x-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.4rem;
  align-items: baseline;
  color: var(--muted);
  font-size: 0.9rem;
}

.x-post-meta strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.x-post-text {
  display: block;
  margin: 0.2rem 0 0.45rem;
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-word;
  text-decoration: none;
  font-size: 0.98rem;
  line-height: 1.45;
}

.x-post-text:hover {
  text-decoration: none;
}

.x-post-text-lg {
  font-size: 1.2rem;
  line-height: 1.4;
  margin-top: 0.45rem;
}

.x-post-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.x-external {
  color: var(--accent);
}

.x-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
  margin-top: 0.55rem;
  max-width: 28rem;
}

.x-metric {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.x-metric svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.x-metric b {
  font-weight: 500;
  color: var(--muted);
}

.x-empty {
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--muted);
}

.x-compose {
  margin: 0;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
}

.x-compose-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  padding: 0.85rem 1rem 1rem;
}

.x-compose textarea {
  width: 100%;
  min-height: 8rem;
  resize: vertical;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.2rem;
  line-height: 1.4;
  padding: 0.25rem 0;
}

.x-compose textarea:focus {
  outline: none;
}

.x-compose-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  margin-top: 0.5rem;
}

.x-settings {
  margin: 1rem;
  max-width: none;
}

.flash-desk {
  margin: 0;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
}

/* —— Shared components —— */
.panel {
  background: var(--elevated);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.15rem;
  box-shadow: none;
}

.panel.narrow {
  max-width: 32rem;
}

.identity {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 1rem;
}

.identity h1 {
  margin: 0;
  font-size: 1.45rem;
}

.account-line,
.fine,
.lede {
  color: var(--muted);
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  object-fit: cover;
}

.avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--chip);
  font-weight: 700;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.section-head h1,
.section-head h2 {
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.55rem 1.1rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
}

.btn:hover {
  text-decoration: none;
  filter: brightness(1.05);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary,
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost {
  font-weight: 600;
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}

.btn-stamp {
  background: var(--accent);
  color: #fff;
}

.stack {
  display: grid;
  gap: 0.65rem;
}

label {
  font-size: 0.88rem;
  color: var(--muted);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0b0c0e;
  color: var(--ink);
  font: inherit;
  padding: 0.7rem 0.8rem;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}

#char-count[data-over="true"] {
  color: var(--danger);
}

.form-error {
  color: #ff7a82;
  margin: 0.35rem 0;
}

.flash {
  margin: 0.85rem 0;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.flash-success {
  background: rgba(0, 186, 124, 0.12);
  border-color: rgba(0, 186, 124, 0.35);
}

.flash-error {
  background: rgba(244, 33, 46, 0.12);
  border-color: rgba(244, 33, 46, 0.35);
}

.flash-info {
  background: rgba(29, 155, 240, 0.12);
  border-color: rgba(29, 155, 240, 0.35);
}

.status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-draft { background: #2a2e33; color: #c7d0d8; }
.status-posted { background: rgba(0, 186, 124, 0.15); color: var(--ok); }
.status-failed { background: rgba(244, 33, 46, 0.15); color: #ff7a82; }
.status-deleted { background: #2a2e33; color: var(--muted); }
.status-unknown { background: #2a2e33; color: var(--muted); }
.status-x-live { background: rgba(29, 155, 240, 0.15); color: var(--accent); }

.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.post-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.post-link,
.post-text {
  color: var(--ink);
  white-space: pre-wrap;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

.confirm summary {
  cursor: pointer;
  list-style: none;
}

.confirm summary::-webkit-details-marker {
  display: none;
}

.confirm[open] {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.65rem;
  background: var(--chip);
}

.admin-hero h1 {
  margin: 0 0 0.35rem;
  font-size: 1.8rem;
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  margin: 0.75rem 0 1.1rem;
}

.admin-nav a {
  color: var(--muted);
  font-weight: 600;
}

.admin-nav a.is-active,
.admin-nav a:hover {
  color: var(--accent);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 0.75rem;
}

.admin-grid .panel {
  text-align: center;
}

.admin-grid h2 {
  margin: 0;
  font-size: 1.8rem;
}

.admin-grid p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.admin-manage {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}

.manage-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.manage-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1rem;
  margin: 0.85rem 0 0;
}

.manage-stats dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.manage-stats dd {
  margin: 0.1rem 0 0;
  font-weight: 700;
}

.manage-actions {
  flex-wrap: wrap;
}

.manage-danger {
  border-color: rgba(244, 33, 46, 0.35);
}

.domain-start-link {
  margin: 0.65rem 0 0.35rem;
}

.domain-start-input {
  width: 100%;
  margin-top: 0.3rem;
  font-size: 0.82rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.user-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.user-table th,
.user-table td {
  text-align: left;
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.user-table th {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 650;
}

.user-table a {
  font-weight: 650;
  text-decoration: none;
}

/* —— User management (admin tabs) —— */
.um-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(22, 24, 28, 0.85);
}

.um-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 650;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.um-tab:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}

.um-tab.is-active {
  color: var(--ink);
  background: rgba(29, 155, 240, 0.16);
  box-shadow: inset 0 0 0 1px rgba(29, 155, 240, 0.35);
}

.um-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.45rem;
  height: 1.45rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.um-tab.is-active .um-count {
  background: rgba(29, 155, 240, 0.25);
  color: #8ecdf8;
}

.um-create {
  margin-bottom: 1rem;
}

.um-create-head h2 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.um-create-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: end;
  margin-top: 0.85rem;
}

.um-create-form label {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.um-create-form input {
  width: 100%;
}

.um-create-note {
  padding-bottom: 1rem;
}

.um-panel {
  padding: 0;
  overflow: hidden;
}

.um-table-wrap {
  overflow-x: auto;
}

.um-table {
  width: 100%;
  border-collapse: collapse;
}

.um-table th,
.um-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.um-table th {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.02);
}

.um-table tr:last-child td {
  border-bottom: 0;
}

.um-table tr.is-blocked {
  opacity: 0.72;
}

.um-user {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 12rem;
}

.um-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #1d9bf0, #0f5f96);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.um-name {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.um-name:hover {
  color: var(--accent);
}

.um-sub,
.um-x {
  color: var(--muted);
  font-size: 0.85rem;
}

.um-actions-cell {
  width: 1%;
  white-space: nowrap;
}

.um-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
}

.um-inline-form {
  display: contents;
  margin: 0;
}

.um-btn {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  min-height: 1.9rem;
  white-space: nowrap;
}

.um-empty {
  padding: 2rem 1.25rem;
  text-align: center;
  color: var(--muted);
}

.um-dialog {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: calc(100vw - 2rem);
}

.um-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.um-dialog-card {
  width: min(26rem, 100%);
  margin: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #16181c;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.um-dialog-head,
.um-dialog-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.um-dialog-foot {
  border-bottom: 0;
  border-top: 1px solid var(--line);
  justify-content: flex-end;
}

.um-dialog-head h2 {
  margin: 0;
  font-size: 1.05rem;
}

.um-dialog-body {
  padding: 1rem 1.1rem 1.15rem;
}

.um-dialog-body label {
  margin-top: 0.35rem;
}

@media (max-width: 900px) {
  .um-create-form {
    grid-template-columns: 1fr;
  }

  .um-actions {
    justify-content: flex-start;
    flex-wrap: nowrap;
  }

  .um-actions-cell {
    min-width: 14rem;
  }
}

@media (max-width: 900px) {
  .x-app {
    grid-template-columns: 1fr;
  }

  .x-rail {
    position: sticky;
    top: 0;
    z-index: 30;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
  }

  .x-rail-nav {
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 0;
  }

  .x-rail-link {
    font-size: 0.95rem;
    padding: 0.45rem 0.7rem;
  }

  .x-compose-btn,
  .x-rail-user {
    display: none;
  }

  .x-column {
    border-right: 0;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .header-inner {
    align-items: flex-start;
  }

  .btn-primary,
  .btn-secondary,
  .btn-danger,
  .section-head .btn {
    width: 100%;
  }

  .actions,
  .section-head,
  .x-profile-actions,
  .x-compose-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .x-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .identity h1 {
    font-size: 1.45rem;
  }
}

/* —— Auth / login shell (centered card) —— */
body.auth-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.auth-shell main.wrap {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
  padding: 2.5rem 1.25rem;
}

body.auth-shell .site-footer {
  border-top: 1px solid var(--line);
  padding-block: 1rem;
  text-align: center;
}

.auth-card {
  width: 100%;
  max-width: 24rem;
  margin: 0;
  padding: 1.75rem 1.5rem 1.5rem;
}

.auth-card h1 {
  margin: 0 0 0.35rem;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  text-align: center;
}

.auth-card .lede {
  margin: 0 0 1.35rem;
  text-align: center;
  font-size: 0.95rem;
}

.auth-card .stack {
  gap: 0.55rem;
}

.auth-card label {
  margin-top: 0.35rem;
}

.auth-card .auth-submit {
  width: 100%;
  margin-top: 0.75rem;
  justify-content: center;
}

@media (max-width: 640px) {
  body.auth-shell main.wrap {
    padding: 1.5rem 1rem 2rem;
    align-items: flex-start;
  }

  .auth-card {
    max-width: none;
  }
}
