/* ============================================================
   O Femeie pe Nume Man — design system (versiune PHP, fără Tailwind)
   Editorial · cald · aerisit · centrat pe text
   ============================================================ */

:root {
  --paper: #fbf6ef;
  --paper-raised: #ffffff;
  --mist: #f0ede7;
  --mist-deep: #e7e2da;

  --ink: #2b2622;
  --ink-soft: #6c635b;
  --ink-faint: #9b9189;

  --peony: #c13a6e;
  --peony-deep: #9e2a57;
  --peony-soft: #e7b6c9;
  --peony-wash: #faeef3;

  --line: rgba(43, 38, 34, 0.1);
  --line-soft: rgba(43, 38, 34, 0.06);
  --shadow-soft: 0 1px 2px rgba(43, 38, 34, 0.04), 0 12px 40px -24px rgba(43, 38, 34, 0.22);

  --measure: 40rem;
  --wide: 80rem;

  --font-display: "Monotype Corsiva", "Apple Chancery", "Snell Roundhand", "Petit Formal Script", cursive;
  --font-body: "Monotype Corsiva", "Apple Chancery", "Snell Roundhand", "Petit Formal Script", cursive;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.075rem;
  line-height: 1.72;
  font-weight: 380;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 62vh;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(120% 80% at 50% -16%, rgba(193, 58, 110, 0.07) 0%, rgba(193, 58, 110, 0) 55%),
    radial-gradient(140% 70% at 50% -24%, rgba(244, 196, 158, 0.28) 0%, rgba(251, 246, 239, 0) 60%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
}

::selection { background: var(--peony-soft); color: var(--ink); }
a { color: inherit; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 460;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  font-optical-sizing: auto;
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--peony-deep);
}

.muted { color: var(--ink-soft); }
.faint { color: var(--ink-faint); }

.page { position: relative; z-index: 1; flex: 1; }

.wrap {
  width: 100%;
  max-width: var(--wide);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.measure { max-width: var(--measure); margin-inline: auto; }
.stack > * + * { margin-top: 1.1rem; }

.site-header {
  position: relative;
  z-index: 5;
  padding-top: clamp(1.6rem, 4vw, 2.6rem);
  padding-bottom: 1.4rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  text-align: center;
  width: 100%;
}

.brand__logo {
  width: clamp(64px, 9vw, 84px);
  height: clamp(64px, 9vw, 84px);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12);
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 420;
  font-size: clamp(1.7rem, 4.4vw, 2.6rem);
  letter-spacing: -0.015em;
}
.brand__name em { font-style: italic; color: var(--peony-deep); }

.nav {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1rem, 4vw, 2.6rem);
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
}
.nav a {
  text-decoration: none;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.25s ease;
}
.nav a:hover { color: var(--ink); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--peony);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 5rem;
  padding: 3rem 0 2.4rem;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--ink-faint);
  font-size: 0.86rem;
}
.site-footer .peony-mark { margin: 0 auto 1.2rem; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--peony-deep); }

.hero { text-align: center; padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3.5rem); }
.hero h1 { font-size: clamp(2.6rem, 8vw, 4.8rem); font-weight: 380; letter-spacing: -0.025em; }
.hero h1 .accent { font-style: italic; color: var(--peony-deep); }
.hero__sub {
  max-width: 34rem;
  margin: 1.6rem auto 0;
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.6;
}

.feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  text-decoration: none;
  margin-bottom: clamp(2rem, 5vw, 3.2rem);
}
@media (min-width: 860px) {
  .feature { grid-template-columns: 1.12fr 0.88fr; gap: clamp(2rem, 4vw, 3.2rem); align-items: center; }
}
.feature__cover {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  background: var(--mist);
  box-shadow: var(--shadow-soft);
}
.feature__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.feature:hover .feature__cover img { transform: scale(1.04); }
.feature__tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--peony-deep);
}
.feature__title {
  font-size: clamp(2rem, 4.6vw, 3rem);
  margin-top: 0.9rem; line-height: 1.08; letter-spacing: -0.02em; transition: color 0.25s ease;
}
.feature:hover .feature__title { color: var(--peony-deep); }
.feature__excerpt { margin-top: 1.1rem; color: var(--ink-soft); font-size: 1.14rem; }
.feature__meta { margin-top: 1.2rem; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink-faint); }

.story-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.8rem, 3.2vw, 2.8rem);
}
.story-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  flex: 0 1 23rem;
  min-width: 0;
}
/* Puține povești: carduri mai mari, tot centrate. */
.story-grid--few { gap: clamp(2rem, 4vw, 3.4rem); }
.story-grid--few .story-card { flex-basis: 27rem; }
.story-card__cover {
  aspect-ratio: 3 / 2; overflow: hidden; border-radius: 5px; background: var(--mist); margin-bottom: 1.1rem;
}
.story-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.story-card:hover .story-card__cover img { transform: scale(1.05); }
.story-card__meta { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink-faint); }
.story-card__title { font-size: 1.5rem; margin-top: 0.55rem; line-height: 1.15; transition: color 0.25s ease; }
.story-card:hover .story-card__title { color: var(--peony-deep); }
.story-card__excerpt { margin-top: 0.6rem; color: var(--ink-soft); font-size: 1.02rem; }

.pagination { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
.pagination__row { display: flex; align-items: center; justify-content: center; gap: 0.45rem; }
.pagination__row a,
.pagination__row span {
  min-width: 2.6rem; height: 2.6rem; padding: 0 0.75rem;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper-raised);
  font-family: var(--font-body); font-size: 1rem; color: var(--ink-soft); text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.pagination__row a:hover { border-color: var(--peony-soft); color: var(--peony-deep); background: var(--peony-wash); transform: translateY(-2px); }
.pagination__row .is-current { background: var(--peony); border-color: var(--peony); color: #fff; font-weight: 600; box-shadow: 0 8px 18px -8px var(--peony); }
.pagination__row .is-disabled { opacity: 0.3; pointer-events: none; }
.pagination__edge { font-size: 1.05rem; color: var(--ink-soft); }
.pagination__status { margin: 0; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--ink-faint); }
.pagination__status b { color: var(--peony-deep); font-weight: 600; }

.article { padding-top: clamp(1.5rem, 4vw, 3rem); }
.article__header { text-align: center; max-width: 44rem; margin: 0 auto clamp(2rem, 5vw, 3.2rem); }
.article__meta { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--ink-faint); }
.article__title { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 380; margin-top: 1rem; letter-spacing: -0.02em; }
.article__lead { margin-top: 1.3rem; font-style: italic; font-size: 1.2rem; color: var(--ink-soft); }
.article__cover { max-width: var(--wide); margin: 0 auto clamp(2rem, 5vw, 3rem); border-radius: 4px; overflow: hidden; background: var(--mist); }
.article__cover img { width: 100%; max-height: 70vh; object-fit: cover; }

.prose { max-width: var(--measure); margin-inline: auto; font-size: 1.18rem; line-height: 1.78; color: #38322d; }
/* Forțează fontul site-ului peste eventuale font-family inline lipite din Word/Docs */
.prose, .prose * { font-family: var(--font-body) !important; }
.prose > * + * { margin-top: 1.35rem; }
.prose p { margin: 0; }
.prose h2 { font-size: 1.7rem; margin-top: 2.6rem; }
.prose h3 { font-size: 1.34rem; margin-top: 2rem; }
.prose a { color: var(--peony-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: var(--peony-soft); }
.prose a:hover { text-decoration-color: var(--peony-deep); }
.prose strong { font-weight: 600; }
.prose em { font-style: italic; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-top: 0.4rem; }
.prose li::marker { color: var(--peony); }
.prose blockquote {
  border-left: 2px solid var(--peony);
  margin-left: 0;
  padding: 0.2rem 0 0.2rem 1.6rem;
  font-style: italic;
  font-size: 1.32rem;
  line-height: 1.55;
  color: var(--ink);
}
.prose img { border-radius: 4px; margin-inline: auto; }
.prose hr { border: none; height: 1px; background: var(--line); margin: 2.5rem 0; }

.divider { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: clamp(2.5rem, 6vw, 4rem) auto; color: var(--peony-soft); }
.divider::before, .divider::after { content: ""; height: 1px; width: min(8rem, 22vw); background: linear-gradient(to var(--dir, right), transparent, var(--line)); }
.divider::before { --dir: left; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.16em;
  padding: 0.8rem 1.6rem; border-radius: 999px; border: 1px solid var(--peony); background: var(--peony); color: #fff;
  cursor: pointer; text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}
.btn:hover { background: var(--peony-deep); border-color: var(--peony-deep); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--peony-deep); }
.btn--ghost:hover { background: var(--peony-wash); color: var(--peony-deep); }
.btn--quiet { background: transparent; color: var(--ink-soft); border-color: var(--line); }
.btn--quiet:hover { background: var(--mist); color: var(--ink); }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.72rem; }
.btn--danger { border-color: #c0392b; color: #c0392b; background: transparent; }
.btn--danger:hover { background: #c0392b; color: #fff; }
.btn:disabled { opacity: 0.5; cursor: default; }

.field { display: block; }
.field + .field { margin-top: 1.2rem; }
.field > label {
  display: block; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ink-soft); margin-bottom: 0.45rem;
}

input[type="text"], input[type="email"], input[type="password"], textarea, select {
  width: 100%; font-family: var(--font-body); font-size: 1.02rem; color: var(--ink);
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: 4px; padding: 0.7rem 0.85rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
textarea { resize: vertical; line-height: 1.6; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--peony); box-shadow: 0 0 0 3px var(--peony-wash); }

.form-note { font-size: 0.92rem; color: var(--ink-soft); }
.form-error { color: var(--peony-deep); background: var(--peony-wash); border: 1px solid var(--peony-soft); border-radius: 4px; padding: 0.7rem 0.9rem; font-size: 0.95rem; }
.form-ok { color: #2f6b4f; background: #eef6f0; border: 1px solid #cfe6d7; border-radius: 4px; padding: 0.9rem 1rem; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.comments { max-width: var(--measure); margin: 0 auto; }
.comments__title { font-size: 1.5rem; display: flex; align-items: baseline; gap: 0.6rem; }
.comments__count { font-size: 1rem; color: var(--ink-faint); font-family: var(--font-body); }
.comment { padding: 1.2rem 0; border-top: 1px solid var(--line-soft); }
.comment__head { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.comment__name { font-weight: 600; font-size: 1.02rem; }
.comment__name.is-author { color: var(--peony-deep); }
.comment__badge { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.12em; background: var(--peony-wash); color: var(--peony-deep); padding: 0.12rem 0.5rem; border-radius: 999px; }
.comment__date { font-size: 0.78rem; color: var(--ink-faint); }
.comment__body { margin-top: 0.4rem; color: #38322d; white-space: pre-wrap; }
.comment__children { margin-top: 0.8rem; margin-left: 1.4rem; padding-left: 1.2rem; border-left: 1px solid var(--line); }
.comment__children .comment { border-top: none; padding: 0.8rem 0; }
.comment-form-card { margin-top: 2rem; background: var(--paper-raised); border: 1px solid var(--line); border-radius: 6px; padding: clamp(1.3rem, 3vw, 2rem); box-shadow: var(--shadow-soft); }
.comments-closed { margin-top: 2rem; text-align: center; color: var(--ink-faint); font-style: italic; padding: 1.5rem; border: 1px dashed var(--line); border-radius: 6px; }

.lede-page { padding-top: clamp(1.5rem, 4vw, 3rem); }
.lede-page__header { text-align: center; margin-bottom: clamp(2rem, 5vw, 3rem); }
.lede-page__title { font-size: clamp(2.2rem, 6vw, 3.4rem); font-weight: 380; }
.lede-page__sub { margin-top: 1rem; font-style: italic; color: var(--ink-soft); font-size: 1.2rem; }

.portrait { max-width: 34rem; margin: 0 auto clamp(2rem, 5vw, 3rem); border-radius: 4px; overflow: hidden; background: var(--mist); }
.portrait img { width: 100%; filter: grayscale(1) contrast(1.02); }
.symbol-image { max-width: 40rem; margin: 0 auto clamp(2rem, 5vw, 3rem); border-radius: 4px; overflow: hidden; background: var(--mist); }
.symbol-image img { width: 100%; }

.contact-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); max-width: 52rem; margin-inline: auto; }
@media (min-width: 800px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; } }
.contact-email a { color: var(--peony-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--peony-soft); }

.empty { text-align: center; padding: 4rem 1rem; color: var(--ink-faint); font-style: italic; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.rise { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.rise-1 { animation-delay: 0.05s; }
.rise-2 { animation-delay: 0.15s; }
.rise-3 { animation-delay: 0.25s; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; } }

/* ============================== Admin ============================== */

.admin-login { min-height: 100vh; display: grid; place-items: center; padding: 2rem; }
.admin-login__card { width: 100%; max-width: 24rem; background: var(--paper-raised); border: 1px solid var(--line); border-radius: 8px; padding: 2.4rem; box-shadow: var(--shadow-soft); }
.admin-login__card h1 { font-size: 1.6rem; text-align: center; font-weight: 420; }

.admin { display: grid; grid-template-columns: 1fr; min-height: 100vh; }
@media (min-width: 880px) { .admin { grid-template-columns: 16rem 1fr; } }

.admin-side { background: var(--paper-raised); border-right: 1px solid var(--line); padding: 1.6rem 1.2rem; display: flex; flex-direction: column; gap: 1.4rem; }
.admin-side__brand { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.2; text-decoration: none; color: var(--ink); }
.admin-side__brand em { font-style: italic; color: var(--peony-deep); }
.admin-side__brand small { display: block; font-family: var(--font-body); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); margin-top: 0.3rem; }
.admin-nav { display: flex; flex-direction: column; gap: 0.15rem; }
.admin-nav a { display: flex; align-items: center; justify-content: space-between; text-decoration: none; color: var(--ink-soft); padding: 0.55rem 0.7rem; border-radius: 6px; font-size: 0.95rem; transition: background 0.18s ease, color 0.18s ease; }
.admin-nav a:hover { background: var(--mist); color: var(--ink); }
.admin-nav a[aria-current="page"] { background: var(--peony-wash); color: var(--peony-deep); font-weight: 500; }
.admin-nav .pill { background: var(--peony); color: #fff; font-size: 0.68rem; border-radius: 999px; padding: 0.05rem 0.5rem; min-width: 1.3rem; text-align: center; }
.admin-side__foot { margin-top: auto; font-size: 0.82rem; color: var(--ink-faint); }
.admin-side__foot a { color: var(--ink-soft); }

.admin-main { padding: clamp(1.4rem, 4vw, 2.8rem); background: var(--paper); }
.admin-main__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.admin-main__head h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 420; }
.admin-main__head p { color: var(--ink-soft); margin: 0.3rem 0 0; font-size: 0.95rem; }

.card { background: var(--paper-raised); border: 1px solid var(--line); border-radius: 8px; padding: clamp(1.2rem, 3vw, 1.8rem); }
.card + .card { margin-top: 1.2rem; }

.stat-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); margin-bottom: 1.8rem; }
.stat { background: var(--paper-raised); border: 1px solid var(--line); border-radius: 8px; padding: 1.3rem; text-decoration: none; color: inherit; display: block; transition: border-color 0.2s ease, transform 0.1s ease; }
.stat:hover { border-color: var(--peony-soft); }
.stat__n { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; }
.stat__l { color: var(--ink-soft); font-size: 0.85rem; margin-top: 0.4rem; }
.stat__n .accent { color: var(--peony-deep); }

.adm-table { width: 100%; border-collapse: collapse; }
.adm-table th { text-align: left; font-family: var(--font-body); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-faint); font-weight: 500; padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--line); }
.adm-table td { padding: 0.85rem 0.8rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.adm-table tr:last-child td { border-bottom: none; }
.adm-table .t-title { font-weight: 500; font-size: 1.02rem; }
.adm-actions { display: flex; gap: 0.4rem; flex-wrap: wrap; }

.tag { display: inline-block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; padding: 0.12rem 0.55rem; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-soft); }
.tag--ok { background: #eef6f0; border-color: #cfe6d7; color: #2f6b4f; }
.tag--draft { background: var(--mist); }
.tag--peony { background: var(--peony-wash); border-color: var(--peony-soft); color: var(--peony-deep); }

.editor-shell { display: grid; gap: 1.4rem; }
@media (min-width: 1040px) { .editor-shell { grid-template-columns: 1fr 19rem; align-items: start; } }

.tiptap-toolbar { display: flex; flex-wrap: wrap; gap: 0.3rem; padding: 0.5rem; border: 1px solid var(--line); border-bottom: none; border-radius: 6px 6px 0 0; background: var(--mist); }
.tiptap-toolbar button { font-family: var(--font-body); font-size: 0.85rem; min-width: 2rem; padding: 0.3rem 0.55rem; border: 1px solid transparent; background: transparent; border-radius: 4px; cursor: pointer; color: var(--ink-soft); }
.tiptap-toolbar button:hover { background: var(--paper-raised); color: var(--ink); }
.tiptap-toolbar button.is-active { background: var(--paper-raised); border-color: var(--peony-soft); color: var(--peony-deep); }
.tiptap-toolbar .sep { width: 1px; background: var(--line); margin: 0.2rem 0.2rem; }
.ProseMirror { border: 1px solid var(--line); border-radius: 0 0 6px 6px; background: var(--paper-raised); padding: 1.2rem 1.3rem; min-height: 22rem; font-size: 1.1rem; line-height: 1.7; outline: none; }
.ProseMirror:focus { border-color: var(--peony); box-shadow: 0 0 0 3px var(--peony-wash); }
.ProseMirror > * + * { margin-top: 1rem; }
.ProseMirror h2 { font-family: var(--font-display); font-size: 1.6rem; }
.ProseMirror h3 { font-family: var(--font-display); font-size: 1.3rem; }
.ProseMirror blockquote { border-left: 2px solid var(--peony); padding-left: 1rem; font-style: italic; color: var(--ink); margin-left: 0; }
.ProseMirror ul, .ProseMirror ol { padding-left: 1.3rem; }
.ProseMirror.is-empty::before { content: attr(data-placeholder); color: var(--ink-faint); pointer-events: none; }

.uploader { border: 1px dashed var(--line); border-radius: 6px; padding: 1rem; text-align: center; background: var(--paper-raised); }
.uploader__preview { border-radius: 4px; overflow: hidden; margin-bottom: 0.8rem; background: var(--mist); }
.uploader__preview img { width: 100%; display: block; }
.uploader__preview.is-bw img { filter: grayscale(1) contrast(1.02); }
.uploader input[type="file"] { font-size: 0.85rem; }

.adm-msg { border: 1px solid var(--line); border-radius: 8px; padding: 1.2rem 1.3rem; background: var(--paper-raised); }
.adm-msg + .adm-msg { margin-top: 1rem; }
.adm-msg.is-unread { border-left: 3px solid var(--peony); }
.adm-msg__head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: baseline; }
.adm-msg__from { font-weight: 600; }
.adm-msg__from a { color: var(--peony-deep); text-decoration: none; }
.adm-msg__date { color: var(--ink-faint); font-size: 0.82rem; }
.adm-msg__body { margin: 0.7rem 0; white-space: pre-wrap; color: #38322d; }

.mod-comment { border: 1px solid var(--line); border-radius: 8px; padding: 1.1rem 1.2rem; background: var(--paper-raised); }
.mod-comment + .mod-comment { margin-top: 1rem; }
.mod-comment__meta { font-size: 0.82rem; color: var(--ink-faint); margin-bottom: 0.5rem; }
.mod-comment__meta a { color: var(--peony-deep); text-decoration: none; }
.mod-comment__body { white-space: pre-wrap; color: #38322d; margin-bottom: 0.8rem; }

.inline-form { display: inline; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
details > summary { cursor: pointer; display: inline-flex; }
