:root {
  /* Re-themed to a light, white-forward palette (reference: TrueFlutter).
     Token NAMES are kept from the old dark theme so every existing view
     keeps working unchanged — only what each token resolves to changes.
     --ink/--ink-raised: was dark page/card, now light page-grey / white card.
     --bone/--bone-dim: was light text on dark, now dark text on light.
     --brass: was gold (trust), now royal blue (brand + primary CTA).
     --sage: still the semantic "verified/success" green, separate from brand.
     --love: coral-pink, still romantic actions (like, hearts). */
  --ink: #F0F2F0;
  --ink-raised: #FFFFFF;
  --ink-line: #E2E6E3;
  --bone: #1C201D;
  --bone-dim: #6E7871;
  --brass: #3457D5;
  --brass-lift: #5B7FEA;
  --love: #FF5566;
  --love-lift: #FF7A88;
  --sage: #1F9E76;
  --rose: #E1495A;
  --warm: #E8823A;

  --display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 16px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  line-height: 1.55;
}
a { color: var(--brass); }
a:hover { color: var(--sage); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0 0 0.5rem; letter-spacing: -0.01em; }
p { margin: 0 0 0.75rem; }

.wrap { width: min(100% - 2.5rem, 960px); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 520px); margin-inline: auto; }

/* --- Nav --------------------------------------------------------------- */
.nav {
  border-bottom: 1px solid var(--ink-line);
  background: var(--ink-raised);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.nav-logo { font-family: var(--display); font-weight: 800; font-size: 1.2rem; color: var(--bone); text-decoration: none; }
.nav-logo span { color: var(--brass); }
.nav-links { display: flex; gap: 1.1rem; flex-wrap: wrap; align-items: center; font-size: 0.88rem; }
.nav-links a { color: var(--bone-dim); text-decoration: none; }
.nav-links a:hover, .nav-links a.active { color: var(--brass); }
.nav-links-primary { display: contents; }
.nav-pill {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--brass);
  background: rgba(52,87,213,0.10);
  border: 1px solid rgba(52,87,213,0.25);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
}

.main { padding-block: 2.5rem; min-height: 60vh; }

/* --- Bottom tab bar (mobile) ------------------------------------------------ */
.bottom-nav {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 20;
  background: var(--ink-raised);
  border-top: 1px solid var(--ink-line);
  padding: 0.4rem 0.4rem calc(0.4rem + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 16px rgba(0,0,0,0.04);
}
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  text-decoration: none;
  color: var(--bone-dim);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  flex: 1;
  padding-block: 0.3rem;
  border-radius: 999px;
}
.bottom-nav-item svg { width: 22px; height: 22px; }
.bottom-nav-item:hover, .bottom-nav-item.active { color: var(--brass); }

/* --- Mobile layout -------------------------------------------------------- */
@media (max-width: 768px) {
  .nav-links-primary { display: none; }
  .bottom-nav { display: flex; }
  .main { padding-block: 1.25rem 1rem; padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
  .wrap { width: min(100% - 1.5rem, 960px); }
  h1 { font-size: 1.4rem; }
  table.simple { display: block; overflow-x: auto; white-space: nowrap; }
  .card { padding: 1.1rem; }
}

/* --- Cards / shells ------------------------------------------------------ */
.card {
  background: var(--ink-raised);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(20,30,25,0.04);
}
.card + .card { margin-top: 1rem; }
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 700px) { .grid-2 { grid-template-columns: 1fr; } }

.eyebrow {
  font-family: var(--body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.5rem;
}

.pill {
  display: inline-block;
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--ink-line);
  background: var(--ink-raised);
  color: var(--bone-dim);
}
.pill-ok { border-color: transparent; background: rgba(31,158,118,0.12); color: var(--sage); }
.pill-warn { border-color: transparent; background: rgba(232,130,58,0.12); color: var(--warm); }
.pill-bad { border-color: transparent; background: rgba(225,73,90,0.12); color: var(--rose); }

/* --- Forms --------------------------------------------------------------- */
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--bone-dim);
  margin-bottom: 0.35rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--bone);
  background: var(--ink);
  border: 1px solid var(--ink-line);
  border-radius: 12px;
  padding: 0.65rem 0.8rem;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(52,87,213,0.12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-hint { font-size: 0.82rem; color: var(--bone-dim); margin-top: 0.3rem; }
.checkbox-row { display: flex; gap: 0.6rem; align-items: center; font-size: 0.88rem; color: var(--bone-dim); margin-bottom: 1rem; }
.checkbox-row input { accent-color: var(--brass); flex-shrink: 0; width: 16px; height: 16px; }

.btn {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn-primary { background: var(--brass); color: #FFFFFF; border-color: var(--brass); }
.btn-primary:hover { background: var(--brass-lift); border-color: var(--brass-lift); }
.btn-love { background: var(--love); color: #FFFFFF; border-color: var(--love); }
.btn-love:hover { background: var(--love-lift); border-color: var(--love-lift); }
.btn-ghost { background: var(--ink-raised); color: var(--bone); border-color: var(--ink-line); }
.btn-ghost:hover { border-color: var(--bone-dim); }
.btn-bad { background: transparent; color: var(--rose); border-color: var(--rose); }
.btn-sm { padding: 0.42rem 0.9rem; font-size: 0.82rem; }
.btn-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.flash { border-radius: 12px; padding: 0.9rem 1.1rem; margin-bottom: 1.2rem; font-size: 0.92rem; }
.flash-ok { background: rgba(31,158,118,0.10); border: 1px solid rgba(31,158,118,0.3); color: var(--bone); }
.flash-bad { background: rgba(225,73,90,0.10); border: 1px solid rgba(225,73,90,0.3); color: var(--bone); }
.flash-info { background: rgba(110,120,113,0.08); border: 1px solid var(--ink-line); color: var(--bone-dim); }

/* --- Badge (the seal) ----------------------------------------------------- */
.badge-wrap { position: relative; width: 92px; height: 92px; flex-shrink: 0; }
.badge-photo {
  width: 100%; height: 100%; border-radius: 50%;
  background: linear-gradient(160deg, #E4EBFC 0%, #D2DEF9 100%);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 1.6rem; color: var(--brass);
  border: 2px solid var(--ink-line);
  overflow: hidden;
}
.badge-seal {
  position: absolute; right: -6px; bottom: -6px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--ink-raised);
  border: 2px solid var(--brass);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 0.78rem; color: var(--brass);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(20,30,25,0.15);
}
.badge-photo img, .badge-seal img, .deck-portrait img, .avatar-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* --- Avatars (small thumbnails in lists/tables) ---------------------------- */
.avatar-sm {
  width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: linear-gradient(160deg, #E4EBFC 0%, #D2DEF9 100%);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--brass);
  border: 1px solid var(--ink-line);
}

.avatar-lg {
  width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: linear-gradient(160deg, #E4EBFC 0%, #D2DEF9 100%);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: var(--brass);
  border: 2px solid var(--ink-line);
}

/* --- Chats list (Matches page) ---------------------------------------------- */
.match-strip { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 0.3rem; }
.match-strip-item {
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  text-decoration: none; color: var(--bone); flex-shrink: 0; width: 72px;
}
.match-strip-item .avatar-lg { border-color: var(--brass); }
.match-strip-item span { font-size: 0.76rem; font-weight: 600; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

.chat-list { display: flex; flex-direction: column; }
.chat-list-item {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.85rem 0.4rem;
  border-bottom: 1px solid var(--ink-line);
  text-decoration: none; color: inherit;
}
.chat-list-item:first-child { border-top: 1px solid var(--ink-line); }
.chat-list-body { flex: 1; min-width: 0; }
.chat-list-top { display: flex; justify-content: space-between; align-items: baseline; gap: 0.6rem; }
.chat-list-name { font-weight: 700; margin: 0; }
.chat-time { font-size: 0.72rem; color: var(--bone-dim); flex-shrink: 0; }
.chat-list-bottom { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; margin-top: 0.15rem; }
.chat-preview {
  margin: 0; font-size: 0.86rem; color: var(--bone-dim);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pill-turn {
  flex-shrink: 0;
  font-size: 0.7rem; font-weight: 700;
  padding: 0.22rem 0.6rem; border-radius: 999px;
  background: var(--brass); color: #fff;
}

/* --- Account hub (Profile page header) -------------------------------------- */
.account-hero { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 0.5rem; }
.account-icon-row { position: absolute; top: 0; right: 0; display: flex; gap: 0.5rem; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink-raised); border: 1px solid var(--ink-line); color: var(--bone);
  text-decoration: none;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { border-color: var(--brass); color: var(--brass); }

.account-photo-ring {
  width: 116px; height: 116px; border-radius: 50%;
  padding: 5px;
  background: conic-gradient(var(--brass) calc(var(--pct) * 1%), var(--ink-line) 0);
  display: grid; place-items: center;
  margin-bottom: 0.9rem;
}
.avatar-xl {
  width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
  background: linear-gradient(160deg, #E4EBFC 0%, #D2DEF9 100%);
  border: 3px solid var(--ink-raised);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 2.2rem; color: var(--brass);
}
.account-hero h1 { margin-bottom: 0.15rem; }
.account-completion { color: var(--bone-dim); font-size: 0.85rem; margin: 0; }

.account-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin: 1.5rem 0; }
.stat-card {
  background: var(--ink-raised); border: 1px solid var(--ink-line); border-radius: 14px;
  padding: 0.9rem 0.5rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
}
.stat-value { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--bone); }
.stat-value svg { width: 22px; height: 22px; color: var(--brass); }
.stat-label { font-size: 0.72rem; color: var(--bone-dim); font-weight: 600; }

.upsell-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: linear-gradient(135deg, var(--brass-lift) 0%, var(--brass) 100%);
  border-radius: 18px; padding: 1.1rem 1.3rem;
  color: #fff; text-decoration: none;
}
.upsell-banner .headline { font-weight: 800; margin: 0 0 0.15rem; }
.upsell-banner p:last-child { margin: 0; font-size: 0.85rem; opacity: 0.9; }
.upsell-arrow { font-size: 1.4rem; flex-shrink: 0; }

/* --- Liked Me grid ------------------------------------------------------- */
.admirer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.9rem; }
.admirer-card { border-radius: var(--radius); overflow: hidden; background: var(--ink-raised); border: 1px solid var(--ink-line); }
.admirer-photo {
  aspect-ratio: 3/4; position: relative;
  background: linear-gradient(160deg, #E4EBFC 0%, #D2DEF9 100%);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 2rem; color: var(--brass);
  overflow: hidden;
}
.admirer-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.admirer-scrim {
  position: absolute; inset: auto 0 0 0; padding: 0.7rem 0.6rem 0.5rem;
  background: linear-gradient(to top, rgba(10,15,12,0.7), transparent);
}
.admirer-scrim p { margin: 0; color: #fff; font-weight: 700; font-size: 0.92rem; }
.admirer-actions { display: flex; justify-content: center; gap: 0.6rem; padding: 0.6rem; }
.admirer-actions .deck-fab { box-shadow: 0 3px 10px rgba(20,30,25,0.14); }
.admirer-actions .deck-fab svg { width: 18px; height: 18px; }

.admirer-card-ghost { aspect-ratio: 3/4; background: linear-gradient(160deg, #E4EBFC 0%, #D2DEF9 100%); }
.paywall-block { position: relative; }
.admirer-grid-blurred { filter: blur(7px); opacity: 0.6; pointer-events: none; user-select: none; }
.paywall-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  gap: 0.4rem; padding: 1.5rem;
}
.paywall-overlay svg { width: 40px; height: 40px; color: var(--love); }
.paywall-overlay .headline { font-family: var(--display); font-weight: 800; font-size: 1.2rem; margin: 0.2rem 0 0.1rem; color: var(--bone); }
.paywall-overlay p { color: var(--bone-dim); max-width: 320px; }
.paywall-overlay .btn { margin-top: 0.5rem; }

/* --- Photo gallery (profile editor) ---------------------------------------- */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 0.75rem; margin-bottom: 1rem; }
.photo-tile { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--ink-line); background: var(--ink); }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-tile .pill { position: absolute; top: 6px; left: 6px; background: rgba(255,255,255,0.92); }
.photo-tile-actions { position: absolute; inset: auto 0 0 0; display: flex; gap: 0.3rem; padding: 0.4rem; background: linear-gradient(to top, rgba(0,0,0,0.55), transparent); }
.photo-tile-actions button { flex: 1; font-size: 0.7rem; padding: 0.3rem; }
.photo-upload-tile {
  aspect-ratio: 4/5; border-radius: var(--radius); border: 1.5px dashed var(--ink-line);
  display: grid; place-items: center; text-align: center; padding: 0.5rem;
}

/* --- Deck: full-bleed photo story, styled after the TrueFlutter reference - */
.deck-stack {
  position: relative;
  max-width: 420px;
  margin-inline: auto;
  padding-top: 14px;
}
.deck-card {
  background: var(--ink-raised);
  border: 1px solid var(--ink-line);
  border-radius: 22px;
  overflow: hidden;
}
.deck-card-top {
  position: relative;
  z-index: 2;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  box-shadow: 0 20px 50px rgba(20,30,25,0.14);
}
.deck-card-top:active { cursor: grabbing; }
.deck-card-peek {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: auto;
  aspect-ratio: 3/4;
  z-index: 1;
  transform: scale(0.94) translateY(10px);
  opacity: 0.7;
  overflow: hidden;
  border-radius: 22px;
}
.deck-card-peek .deck-portrait { margin: 0; height: 100%; border-radius: 22px; filter: saturate(0.7); }
.deck-stamp {
  position: absolute;
  top: 24px;
  z-index: 6;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  border: 3px solid currentColor;
  opacity: 0;
  pointer-events: none;
}
.deck-stamp-like { left: 20px; color: var(--sage); transform: rotate(-12deg); }
.deck-stamp-nope { right: 20px; color: var(--rose); transform: rotate(12deg); }

.deck-portrait {
  aspect-ratio: 3/4;
  border-radius: 0;
  background: linear-gradient(160deg, #E4EBFC 0%, #D2DEF9 100%);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 4rem; color: var(--brass);
  position: relative;
  overflow: hidden;
}
/* Name + church overlaid on the photo, scrim for legibility. */
.deck-hero-scrim {
  position: absolute; inset: auto 0 0 0;
  padding: 3rem 1.25rem 1rem;
  background: linear-gradient(to top, rgba(10,15,12,0.75), transparent);
  color: #fff;
}
.deck-hero-scrim h2 { color: #fff; margin-bottom: 0.15rem; font-size: 1.5rem; }
.deck-hero-scrim .church-tag { color: rgba(255,255,255,0.85); }
.deck-hero-badges { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.4rem; }
.deck-hero-badges .pill { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.3); color: #fff; backdrop-filter: blur(4px); }
.deck-hero-badges .pill-ok { background: rgba(31,158,118,0.85); color: #fff; }

/* Floating circular pass/like buttons — fixed to the viewport, so they stay
   reachable no matter how far down the scrolling profile the reader is. */
.deck-float-actions {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  z-index: 15;
}
@media (max-width: 768px) {
  .deck-float-actions { bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
}
.deck-fab {
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff;
  border: none;
  box-shadow: 0 6px 20px rgba(20,30,25,0.18);
  cursor: pointer;
  font-size: 1.5rem;
}
.deck-fab-pass { color: var(--bone); }
.deck-fab-like { color: var(--love); }
.deck-fab svg { width: 26px; height: 26px; }

.deck-content { padding: 2.2rem 1.25rem 6rem; }
.deck-content h3 { font-size: 1.05rem; margin-bottom: 0.7rem; }
.deck-content .section + .section { border-top: 1px solid var(--ink-line); margin-top: 1.2rem; padding-top: 1.2rem; }

.chip-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--ink);
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bone);
}
.chip-match { background: rgba(31,158,118,0.12); border-color: transparent; color: var(--sage); }

.fact-row { display: flex; align-items: center; gap: 0.7rem; padding: 0.5rem 0; font-size: 0.92rem; }
.fact-row svg { width: 19px; height: 19px; color: var(--brass); flex-shrink: 0; }

.prompt-card {
  background: var(--ink);
  border: 1px solid var(--ink-line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
}
.prompt-card .prompt-label { font-size: 0.78rem; color: var(--bone-dim); margin-bottom: 0.3rem; }
.prompt-card .prompt-answer { font-size: 1.05rem; font-weight: 700; margin: 0; }

.badge-banner {
  background: linear-gradient(135deg, var(--brass-lift) 0%, var(--brass) 100%);
  border-radius: 18px;
  padding: 1.4rem 1.2rem;
  text-align: center;
  color: #fff;
}
.badge-banner .badge-banner-photos { display: flex; justify-content: center; margin-bottom: 0.8rem; }
.badge-banner .badge-banner-photos .avatar-sm { width: 52px; height: 52px; border: 3px solid #fff; margin-left: -14px; background: #E4EBFC; }
.badge-banner .badge-banner-photos .avatar-sm:first-child { margin-left: 0; }
.badge-banner p { margin: 0; }
.badge-banner .headline { font-weight: 800; font-size: 1.05rem; margin-bottom: 0.2rem; }

.church-tag { font-family: var(--body); font-size: 0.85rem; font-weight: 600; color: var(--brass); margin-bottom: 0.2rem; }

@media (max-width: 480px) {
  .deck-stack { max-width: 100%; }
}

/* --- Chat ------------------------------------------------------------------ */
.chat-thread { display: flex; flex-direction: column; gap: 0.6rem; max-height: 55vh; overflow-y: auto; padding: 0.25rem; margin-bottom: 1rem; }
.msg { max-width: 75%; padding: 0.55rem 0.85rem; border-radius: 16px; font-size: 0.92rem; }
.msg-mine { align-self: flex-end; background: var(--brass); color: #fff; }
.msg-theirs { align-self: flex-start; background: var(--ink); border: 1px solid var(--ink-line); }
.msg-mine .msg-meta { color: rgba(255,255,255,0.75); }
.msg-meta { font-size: 0.68rem; color: var(--bone-dim); margin-top: 0.2rem; }
.chat-form { display: flex; gap: 0.6rem; }
.chat-form input { flex: 1; }

table.simple { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
table.simple th { text-align: left; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--bone-dim); padding: 0.5rem; border-bottom: 1px solid var(--ink-line); }
table.simple td { padding: 0.6rem 0.5rem; border-bottom: 1px solid var(--ink-line); vertical-align: middle; }

.empty-note {
  font-family: var(--body);
  font-size: 0.88rem;
  color: var(--bone-dim);
  border: 1.5px dashed var(--ink-line);
  border-radius: var(--radius);
  padding: 1.2rem;
  text-align: center;
}
