/* ============================================================
   Portfolio — black / white / gray
   ============================================================ */

:root {
  --font: "Instrument Sans", "DM Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, monospace;
  --max: 1080px;
  --header-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t: 0.22s var(--ease);
}

/* Pure monochrome themes */
[data-theme="noir"] {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #181818;
  --line: #2a2a2a;
  --line-strong: #3d3d3d;
  --text: #f2f2f2;
  --muted: #9a9a9a;
  --faint: #5c5c5c;
  --invert: #0a0a0a;
  --solid: #f2f2f2;
  --nav: rgba(10, 10, 10, 0.88);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

[data-theme="charcoal"] {
  --bg: #141414;
  --bg-2: #1c1c1c;
  --bg-3: #242424;
  --line: #333;
  --line-strong: #4a4a4a;
  --text: #ececec;
  --muted: #9e9e9e;
  --faint: #666;
  --invert: #141414;
  --solid: #ececec;
  --nav: rgba(20, 20, 20, 0.9);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

[data-theme="paper"] {
  --bg: #f5f5f3;
  --bg-2: #ffffff;
  --bg-3: #ebebe8;
  --line: #dddcd8;
  --line-strong: #bdbdb8;
  --text: #121212;
  --muted: #5a5a5a;
  --faint: #8a8a8a;
  --invert: #f5f5f3;
  --solid: #121212;
  --nav: rgba(245, 245, 243, 0.9);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

[data-theme="fog"] {
  --bg: #2a2a2a;
  --bg-2: #333333;
  --bg-3: #3a3a3a;
  --line: #4a4a4a;
  --line-strong: #5e5e5e;
  --text: #e8e8e8;
  --muted: #a8a8a8;
  --faint: #787878;
  --invert: #2a2a2a;
  --solid: #e8e8e8;
  --nav: rgba(42, 42, 42, 0.92);
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

/* Custom mix — tokens are set inline; noir values are the fallback */
[data-theme="custom"] {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #181818;
  --line: #2a2a2a;
  --line-strong: #3d3d3d;
  --text: #f2f2f2;
  --muted: #9a9a9a;
  --faint: #5c5c5c;
  --invert: #0a0a0a;
  --solid: #f2f2f2;
  --nav: rgba(10, 10, 10, 0.88);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
}
a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.7; }
h1, h2, h3 { line-height: 1.15; font-weight: 500; margin: 0 0 0.4em; letter-spacing: -0.03em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(12px);
  background: var(--nav);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}
.mark {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}
.mark:hover { opacity: 1; }
.nav {
  display: flex;
  gap: 0.15rem 1.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.88rem;
  color: var(--muted);
}
.nav a:hover { color: var(--text); opacity: 1; }
.nav a[aria-current="page"] { color: var(--text); }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
  cursor: pointer;
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0;
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.75rem 1.25rem; }
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(3rem, 7vw, 5rem);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 800px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: stretch;
    gap: 2.5rem;
    min-height: min(58vh, 500px);
  }
}
.hero-pane {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 0;
}
.hero-kicker {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 1.25rem;
}
.hero .line {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  color: var(--text);
  font-weight: 500;
  max-width: 22ch;
  margin-bottom: 0.85rem;
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.hero .subline {
  color: var(--muted);
  max-width: 42ch;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}
.hero-photo {
  margin: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  max-height: 380px;
  border-radius: 16px;
}
@media (min-width: 800px) {
  .hero-photo {
    aspect-ratio: auto;
    max-height: none;
    height: 100%;
    min-height: 100%;
  }
}
.hero-photo img,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(1.14) contrast(1.04);
}
.hero-photo img {
  transition: transform 2.8s var(--ease);
}
.hero-video {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s var(--ease);
}
.hero-photo.has-motion:hover .hero-video,
.hero-photo.has-motion.is-playing .hero-video {
  opacity: 1;
}
.hero-photo:not(.has-motion):hover img {
  transform: scale(1.045);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  font-size: 0.9rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t), opacity var(--t);
}
.btn:hover { opacity: 1; background: var(--bg-3); }
.btn-solid {
  background: var(--solid);
  color: var(--invert);
  border-color: var(--solid);
}
.btn-solid:hover {
  opacity: 0.88;
  background: var(--solid);
  color: var(--invert);
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  border-bottom: 1px solid var(--line);
}
.section-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 1rem;
}
.section h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: 1.5rem;
}
.lede {
  color: var(--muted);
  max-width: 52ch;
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

/* About — two column editorial */
.about-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2rem 3rem;
}
@media (max-width: 640px) {
  .about-grid { grid-template-columns: 1fr; gap: 0.75rem; }
}
.about-body {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 58ch;
  white-space: pre-line;
}
.about-body p:last-child { margin-bottom: 0; }

/* Work — portfolio cards, large titles */
.work-list {
  display: flex;
  flex-direction: column;
}
.work-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  transition: background var(--t);
}
.work-item:last-child { border-bottom: 1px solid var(--line); }
.work-item:hover { background: var(--bg-2); margin-inline: -1rem; padding-inline: 1rem; }
@media (min-width: 720px) {
  .work-item {
    grid-template-columns: 120px 1fr;
    align-items: start;
  }
}
.work-meta {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--faint);
  letter-spacing: 0.02em;
  padding-top: 0.35rem;
}
.work-item h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  margin-bottom: 0.35rem;
  letter-spacing: -0.025em;
}
.work-context {
  font-size: 0.88rem;
  color: var(--faint);
  margin-bottom: 0.65rem;
}
.work-summary {
  color: var(--muted);
  max-width: 58ch;
  margin-bottom: 0.9rem;
  font-size: 0.98rem;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 0.25rem 0.5rem;
}

/* Journey — minimal rows */
.journey {
  display: flex;
  flex-direction: column;
}
.journey-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
  font-size: 0.98rem;
}
.journey-row:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 600px) {
  .journey-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}
.journey-year {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--faint);
}
.journey-role { font-weight: 500; }
.journey-place { color: var(--muted); text-align: right; }
@media (max-width: 600px) {
  .journey-place { text-align: left; }
}

/* Craft */
.craft-intro {
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 48ch;
}
.craft-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.craft-cloud span {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  background: var(--bg-2);
}
.craft-cloud span:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

/* Life / hobbies */
.life-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 760px) {
  .life-grid { grid-template-columns: 1fr; }
}
.life-card {
  background: var(--bg);
  padding: 1.75rem 1.5rem;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}
.life-card:hover { background: var(--bg-2); }
.life-detail {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 1rem;
}
.life-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}
.life-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  flex: 1;
}

/* Contact */
.contact-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
}
@media (max-width: 700px) {
  .contact-block { grid-template-columns: 1fr; gap: 2rem; }
}
.contact-blurb {
  color: var(--muted);
  max-width: 36ch;
  font-size: 1.1rem;
  margin-bottom: 0;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.contact-links a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  gap: 1rem;
}
.contact-links a:hover { opacity: 1; background: var(--bg-2); margin-inline: -0.5rem; padding-inline: 0.5rem; }
.contact-links .label { color: var(--faint); font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.contact-links .value { color: var(--text); word-break: break-all; text-align: right; }

.page-main {
  padding: clamp(3.5rem, 10vw, 6.5rem) 0 4rem;
  min-height: calc(100vh - var(--header-h) - 6rem);
}
.page-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 2rem;
}
.contact-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 3rem;
  align-items: start;
}
@media (max-width: 700px) {
  .contact-page { grid-template-columns: 1fr; gap: 2rem; }
}
.contact-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.contact-form textarea { min-height: 160px; }
.contact-form .btn { align-self: flex-start; }
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* Footer */
.site-footer {
  padding: 2rem 0 3rem;
  font-size: 0.82rem;
  color: var(--faint);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}
.footer-row a { color: var(--muted); }
.footer-row a:hover { color: var(--text); opacity: 1; }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.reveal.on {
  opacity: 1;
  transform: none;
}

/* ============================================================
   Admin (same monochrome language)
   ============================================================ */
.admin-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--nav);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
}
.admin-header .inner {
  width: min(100% - 2rem, 920px);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}
.admin-header h1 { font-size: 1.05rem; margin: 0; font-weight: 500; }
.admin-header .actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.admin-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.admin-tabs { display: flex; gap: 0.4rem; }
.admin-wrap {
  width: min(100% - 2rem, 920px);
  margin: 1.5rem auto 3rem;
}
.flash {
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}
.flash.success { border-color: var(--line-strong); }
.flash.error { color: var(--muted); }
.admin-card {
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 1.25rem 1.35rem;
  margin-bottom: 1rem;
}
.admin-card h2 {
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0 0 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
  letter-spacing: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 0.75rem;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.3rem;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  background: var(--bg);
  outline: none;
}
.field input:focus,
.field textarea:focus { border-color: var(--line-strong); }
.field textarea {
  min-height: 90px;
  resize: vertical;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.5;
}
.field .hint,
.hint {
  font-size: 0.75rem;
  color: var(--faint);
  margin-top: 0.25rem;
}
.admin-hero-preview {
  display: block;
  width: 100%;
  max-width: 280px;
  height: 180px;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
  background: #111;
  margin-bottom: 0.6rem;
  filter: brightness(1.1) contrast(1.04);
}
.field input[type="file"] {
  padding: 0.45rem;
}
.theme-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.theme-pick { position: relative; }
.theme-pick input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.theme-pick label {
  display: block;
  margin: 0;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font);
  color: var(--muted);
}
.theme-pick input:checked + label {
  border-color: var(--text);
  color: var(--text);
  background: var(--bg-3);
}
.slider-row { margin-bottom: 1.25rem; }
.slider-row:last-of-type { margin-bottom: 0.5rem; }
.slider-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.45rem;
}
.slider-head label {
  font-size: 0.75rem;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--faint);
}
.slider-value {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
}
.slider-ends {
  display: flex;
  justify-content: space-between;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: var(--faint);
  font-family: var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.theme-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #0a0a0a, #f2f2f2);
  border: 1px solid var(--line);
  outline: none;
  cursor: pointer;
}
.theme-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: var(--solid);
  border: 2px solid var(--invert);
  box-shadow: 0 0 0 1px var(--line-strong);
  cursor: pointer;
}
.theme-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: var(--solid);
  border: 2px solid var(--invert);
  box-shadow: 0 0 0 1px var(--line-strong);
  border-radius: 0;
  cursor: pointer;
}
.swatch-row {
  display: flex;
  gap: 0.4rem;
  margin-top: 1.15rem;
}
.swatch {
  flex: 1;
  height: 28px;
  border: 1px solid var(--line);
  background: var(--bg);
}
.swatch[data-token="bg-2"] { background: var(--bg-2); }
.swatch[data-token="line"] { background: var(--line); }
.swatch[data-token="muted"] { background: var(--muted); }
.swatch[data-token="text"] { background: var(--text); }
.swatch[data-token="solid"] { background: var(--solid); }
.theme-preview {
  border: 1px solid var(--line);
  background: var(--bg);
}
.preview-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--nav);
  font-size: 0.82rem;
}
.preview-mark { font-weight: 600; }
.preview-nav { color: var(--muted); }
.preview-body { padding: 1.35rem 1.15rem 1.5rem; }
.preview-kicker {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.7rem;
}
.preview-title {
  font-size: 1.7rem;
  letter-spacing: -0.04em;
  margin: 0 0 0.45rem;
}
.preview-line {
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
  max-width: 28ch;
}
.preview-sub {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 1.1rem;
  max-width: 42ch;
}
.preview-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.1rem; }
.preview-actions .btn { pointer-events: none; }
.preview-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.preview-chips span {
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  background: var(--bg-2);
}
.theme-save { gap: 0.5rem; }
@media (max-width: 600px) {
  .preview-nav { display: none; }
}
.subcard {
  border: 1px solid var(--line);
  padding: 1rem;
  margin-bottom: 0.75rem;
  background: var(--bg);
}
.subcard h3 {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
  font-weight: 500;
}
.sticky-save {
  position: sticky;
  bottom: 1rem;
  display: flex;
  justify-content: flex-end;
  z-index: 10;
}
.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.login-card {
  width: min(100%, 380px);
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 2rem;
}
.login-card h1 { font-size: 1.3rem; margin-bottom: 0.35rem; }
.login-card .sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.25rem; }
.login-card .error {
  border: 1px solid var(--line-strong);
  padding: 0.6rem 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.login-card .btn { width: 100%; margin-top: 0.5rem; }
.login-card .back {
  display: block;
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--faint);
}
.inbox {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.inbox-item {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.inbox-item:first-child {
  border-top: 0;
  padding-top: 0;
}
.inbox-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
  font-size: 0.88rem;
}
.inbox-meta a { color: var(--muted); }
.inbox-meta time {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.75rem;
}
.inbox-body {
  white-space: pre-wrap;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
