/* Ruhiger, warmer Look: Off-White, Graphit, feine Linien, Manrope (selbst ausgeliefert) */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/manrope-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #fdfcf9;
  --card: #ffffff;
  --soft: #f7f6f2;
  --sand: #e9e7df;
  --text: #242421;
  --muted: #6a6a63;
  --line: #e6e4dc;
  --accent: #242421;
  --accent-text: #ffffff;
  --good: #4d6a47;
  --good-soft: #e7ede2;
  --warn: #8a6a2f;
  --warn-soft: #f3ecdc;
  --danger: #9b3b2e;
  --danger-soft: #f4e3df;
  --radius: 2px;
  color-scheme: only light; /* auch kein automatisches Abdunkeln durch den Browser */
}
/* Dunkler Modus nur auf Wunsch (Schalter oben rechts), Standard ist hell */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1a1a18;
  --card: #21211f;
  --soft: #262623;
  --sand: #34332f;
  --text: #edebe4;
  --muted: #a3a198;
  --line: #34332f;
  --accent: #edebe4;
  --accent-text: #1a1a18;
  --good: #a5c19c;
  --good-soft: #2a3227;
  --warn: #d8bd85;
  --warn-soft: #36301f;
  --danger: #e0a092;
  --danger-soft: #3a2723;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.6 "Manrope", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
h1 { font-size: 2.3rem; font-weight: 400; line-height: 1.1; letter-spacing: -.05em; margin: .3rem 0 .6rem; }
h2 { font-size: 1.05rem; font-weight: 500; letter-spacing: -.01em; margin: 0 0 .8rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
h3 { font-size: 1rem; font-weight: 500; margin: 0; line-height: 1.35; }
a { color: var(--text); text-underline-offset: 3px; }
p { margin: .4rem 0; }

.container { max-width: 760px; margin: 0 auto; padding: 0 16px 1rem; }
.narrow { max-width: 480px; }
.eyebrow { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 1.8rem 0 0; }
.lead { color: var(--muted); font-size: 1rem; margin-bottom: 1.2rem; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.error { color: var(--danger); margin: .5rem 0; }
.error:empty { display: none; }
.ok { color: var(--good); font-weight: 500; margin: .3rem 0; }

/* ---------- Kopfzeile ---------- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { max-width: 760px; margin: 0 auto; padding: .9rem 16px .7rem; display: flex; justify-content: space-between; align-items: center; }
.brand {
  display: flex; flex-direction: column; align-items: flex-start; line-height: 1;
  font-size: 1.15rem; font-weight: 300; letter-spacing: .28em; text-transform: uppercase;
}
.brand small { font-size: .55rem; letter-spacing: .42em; margin-top: .4rem; color: var(--muted); font-weight: 500; }
.topbar-right { display: flex; gap: .5rem; align-items: center; }
#userbox { display: flex; gap: .8rem; align-items: center; }
.theme-toggle { width: 40px; min-height: 40px; padding: 0; border-color: var(--line); border-radius: 50%; font-size: 1.05rem; line-height: 1; }
.mainnav { max-width: 760px; margin: 0 auto; padding: 0 16px; display: flex; gap: 1.6rem; }
.navtab {
  border: 0; background: none; color: var(--muted); padding: .5rem 0 .6rem; border-radius: 0; min-height: 0;
  border-bottom: 1px solid transparent; font-size: .9rem; font-weight: 400;
}
.navtab.active { color: var(--text); border-bottom-color: var(--text); }

/* ---------- Grundelemente ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem; margin: 1rem 0;
}
label { display: block; font-size: .78rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
label .small, h2 .small { text-transform: none; letter-spacing: normal; font-weight: 400; }
input, select, textarea {
  display: block; width: 100%; margin-top: .4rem; padding: .75rem .85rem;
  font: inherit; font-size: 16px; letter-spacing: normal; text-transform: none; color: var(--text); background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius); outline: none; transition: border-color .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--text); }
textarea { resize: vertical; line-height: 1.6; }

button, a.button {
  font: inherit; font-size: .95rem; font-weight: 500; padding: .65rem 1.1rem; border-radius: var(--radius); cursor: pointer;
  border: 1px solid var(--text); background: transparent; color: var(--text);
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem; text-decoration: none;
  transition: background .15s, color .15s, opacity .15s; min-height: 46px;
}
button:hover, a.button:hover { background: var(--soft); }
button:disabled { opacity: .4; cursor: not-allowed; }
.primary, a.button.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.primary:hover, a.button.primary:hover { background: color-mix(in srgb, var(--accent) 85%, var(--bg)); }
.ghost { border-color: var(--line); }
.danger { color: var(--danger); border-color: var(--line); }
.link {
  border: 0; background: none; color: var(--text); padding: 0 0 2px; min-height: 0; font-weight: 400;
  border-bottom: 1px solid currentColor; border-radius: 0;
}
.link:hover { background: none; color: var(--muted); }
.big { padding: .9rem 1.4rem; font-size: 1rem; }
.block { width: 100%; }
.grow { flex: 1; }
button.small, .small.ghost { min-height: 36px; padding: .35rem .8rem; font-size: .85rem; }
button.link.small { min-height: 0; padding: 0 0 2px; }

.row { display: flex; gap: .6rem; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.row.end { justify-content: flex-end; }
.stack { display: grid; gap: .6rem; }
.grid { display: grid; grid-template-columns: 2fr 1fr; gap: 0 .8rem; }
.grid.two { grid-template-columns: 1fr 1fr; }

/* ---------- Anmeldung ---------- */
.hero { padding: 1rem 0 .5rem; }
.hero h1 { font-size: 2.8rem; }
.hero { padding-top: 2rem; }
.howto { list-style: none; counter-reset: how; padding: 0; margin: 0 0 .5rem; display: grid; gap: .45rem; }
.howto li { counter-increment: how; display: flex; align-items: center; gap: .7rem; font-size: .95rem; }
.howto li::before {
  content: counter(how); display: inline-grid; place-items: center; flex: none; width: 1.6rem; height: 1.6rem;
  border-radius: 50%; border: 1px solid var(--text); font-size: .75rem; font-weight: 500;
}
.switch-auth { text-align: center; margin: 1rem 0 0; }

/* Eingeklappte Bereiche (weitere Wünsche, Kontaktdaten) */
details.more > summary {
  cursor: pointer; list-style: none; font-weight: 500; display: flex; align-items: center; gap: .5rem;
}
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::after { content: "+"; margin-left: auto; font-weight: 300; font-size: 1.3rem; line-height: 1; }
details.more[open] > summary::after { content: "−"; }
details.more[open] > summary { margin-bottom: 1rem; }
details.more .small { font-weight: 400; }
#cvDone details.more { margin-top: .8rem; padding-top: .8rem; border-top: 1px solid var(--line); }
#cvDone details.more > summary { font-size: .9rem; }
#cvDone details.more .facts { margin-top: 0; padding-top: 0; border-top: 0; }
#moreFilters h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---------- Fortschritt ---------- */
.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin: 1.4rem 0 0; }
.progress button {
  flex-direction: column; gap: .45rem; border: 0; background: none; padding: 0; min-height: 0;
  color: var(--muted); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; cursor: default; align-items: stretch; font-weight: 500;
}
.progress button:hover { background: none; }
.progress i { display: block; height: 2px; background: var(--line); }
.progress span { text-align: left; }
.progress .reachable { cursor: pointer; }
.progress .done i, .progress .active i { background: var(--text); }
.progress .active { color: var(--text); }

/* ---------- Schritt 1 ---------- */
.drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem;
  min-height: 220px; padding: 1.5rem; text-align: center; cursor: pointer; position: relative;
  border: 1px dashed color-mix(in srgb, var(--text) 35%, var(--line)); border-radius: var(--radius);
  background: var(--soft); text-transform: none; letter-spacing: normal; color: var(--text); font-weight: 400;
  transition: border-color .15s, background .15s;
}
.drop:hover { border-color: var(--text); background: var(--sand); }
.drop strong { font-size: 1.05rem; font-weight: 500; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop.disabled { opacity: .5; pointer-events: none; }
.drop-icon {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  border: 1px solid var(--text); font-size: 1.2rem; margin-bottom: .4rem;
}
.facts { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; margin: 1rem 0; font-size: .92rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding-top: .2rem; }
.facts dd { margin: 0; overflow-wrap: anywhere; }

.busy { display: flex; align-items: center; gap: .7rem; margin: 1rem 0; color: var(--muted); }
.spinner {
  width: 1.1rem; height: 1.1rem; border-radius: 50%; flex: none;
  border: 1.5px solid var(--line); border-top-color: var(--text); animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Schritt 2 ---------- */
.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin: .5rem 0 .8rem; }
.pill {
  display: inline-flex; align-items: center; gap: .45rem; margin: 0; cursor: pointer;
  padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  font-size: .92rem; font-weight: 400; letter-spacing: normal; text-transform: none; color: var(--text);
  transition: background .15s, border-color .15s, color .15s; user-select: none;
}
.pill:hover { border-color: var(--text); }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill:has(input:checked) { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.pill:has(input:checked)::before { content: "✓"; }
.pill .star { font-size: .75rem; opacity: .7; }
.card h2:not(:first-child) { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.options { display: grid; gap: 1rem; margin-top: 1rem; }
.options .switch span.small { display: inline-block; margin-top: .1rem; }
.inline-add { display: flex; gap: .5rem; margin-bottom: .5rem; }
.inline-add input { margin: 0; }
.inline-add button { flex: none; width: 48px; font-size: 1.3rem; padding: 0; font-weight: 300; }

/* ---------- Schritt 3 ---------- */
.selectall { margin: .3rem 0 .6rem; }
.check { display: flex; align-items: center; gap: .6rem; cursor: pointer; text-transform: none; letter-spacing: normal; font-size: .92rem; color: var(--text); font-weight: 400; }
input[type=checkbox] { width: 1.2rem; height: 1.2rem; margin: 0; flex: none; accent-color: var(--accent); }
label.job {
  display: flex; gap: .9rem; align-items: flex-start; cursor: pointer; margin: .6rem 0;
  text-transform: none; letter-spacing: normal; font-size: 1rem; color: var(--text); font-weight: 400;
  transition: border-color .15s, background .15s;
}
label.job:hover { border-color: color-mix(in srgb, var(--text) 40%, var(--line)); }
label.job input { margin-top: .15rem; }
label.job.picked { border-color: var(--text); background: var(--soft); }
label.job.test { border-style: dashed; }
.job > div { min-width: 0; flex: 1; }
.job p { margin: .25rem 0 0; font-size: .9rem; }
.meta { color: var(--muted); font-size: .88rem; }
.snippet { color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.badges { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-top: .55rem; }
.badge {
  display: inline-flex; align-items: center; font-size: .68rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  padding: .2rem .55rem; border-radius: var(--radius); background: var(--sand); color: var(--text); font-style: normal; white-space: nowrap;
}
.badge.gray { background: var(--soft); color: var(--muted); }
.badge.good { background: var(--good-soft); color: var(--good); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.bad { background: var(--danger-soft); color: var(--danger); }

/* ---------- Schritt 4 ---------- */
.switch.auto { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.connected { color: var(--good); margin: 0; }
.connected strong { color: var(--text); font-weight: 500; overflow-wrap: anywhere; }
.switch { display: flex; gap: .9rem; align-items: flex-start; cursor: pointer; margin: 0; text-transform: none; letter-spacing: normal; font-size: 1rem; color: var(--text); font-weight: 400; }
.switch strong { font-weight: 500; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.track { flex: none; width: 48px; height: 28px; border-radius: 99px; background: var(--sand); position: relative; transition: background .2s; }
.track::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--card); box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .2s;
}
.switch input:checked + .track { background: var(--accent); }
.switch input:checked + .track::after { transform: translateX(20px); }
.switch input:disabled + .track { opacity: .5; }
.switch input:focus-visible + .track { outline: 1px solid var(--text); outline-offset: 2px; }
.pending { list-style: none; padding: 0; margin: 0; }
.pending li { display: flex; justify-content: space-between; gap: .6rem; align-items: center; padding: .65rem 0; border-top: 1px solid var(--line); }
.pending li:first-child { border-top: 0; }
.pending li > div { min-width: 0; }
.pending strong { font-weight: 500; }
.pending .x { min-height: 36px; width: 36px; padding: 0; border: 0; color: var(--muted); }

#topProgress { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 4px; background: var(--sand); }
#topProgress i { display: block; height: 100%; width: 0; background: var(--good); transition: width .6s ease; }
#topProgress span {
  position: absolute; top: 6px; right: 8px; font-size: .7rem; letter-spacing: .06em; padding: .15rem .5rem;
  background: var(--text); color: var(--bg); border-radius: var(--radius); white-space: nowrap;
}
#topProgress span::before { content: ""; display: inline-block; width: .55rem; height: .55rem; margin-right: .4rem; border-radius: 50%; border: 1.5px solid currentColor; border-top-color: transparent; animation: spin .9s linear infinite; vertical-align: -1px; }

/* Fortschritt beim Erstellen: oben die Schritte der aktuellen Bewerbung, unten Häkchen pro Stelle */
.run { border-color: var(--text); }
.run .eyebrow { margin: 0 0 .3rem; }
.run h2, .card.run h2:not(:first-child) { margin: 0 0 1rem; padding-top: 0; border-top: 0; overflow-wrap: anywhere; }
.runsteps.summary { grid-template-columns: 1fr; gap: 0; }
.runsteps.summary li { flex-direction: row; align-items: center; gap: .75rem; padding: .6rem 0; border-top-width: 1px; font-size: .92rem; }
.runsteps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: .6rem; counter-reset: s; }
.runsteps li { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; padding-top: .8rem; border-top: 2px solid var(--line); color: var(--muted); font-size: .85rem; line-height: 1.35; }
.runsteps li.run { border-top-color: var(--text); color: var(--text); font-weight: 500; }
.runsteps li.done { border-top-color: var(--good); color: var(--text); }
.runsteps li.warn { border-top-color: var(--warn); color: var(--text); }
.runsteps li.fail { border-top-color: var(--danger); color: var(--text); }
.runsteps small { display: block; color: var(--muted); font-weight: 400; font-size: .78rem; margin-top: .2rem; }
.dot { display: inline-block; flex: none; width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 1.5px solid var(--line); }
.tick {
  display: inline-flex; align-items: center; justify-content: center; flex: none; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--good); color: var(--bg); font-size: .7rem; font-style: normal; font-weight: 700; animation: pop .25s ease-out;
}
.tick.warn { background: var(--warn); }
.tick.bad { background: var(--danger); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.pending li > .spinner, .pending li > .dot, .pending li > .tick { margin-right: .2rem; }
.pending li.run strong, .pending li.done strong { color: var(--text); }
.pending li.wait { color: var(--muted); }
.pending li:has(> .tick, > .dot, > .spinner) { justify-content: flex-start; }

.actions { display: flex; gap: .6rem; margin: 1.4rem 0; align-items: center; }

/* ---------- Übersicht ---------- */
.pagehead { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin: 0 0 1rem; }
.pagehead h1 { margin-bottom: 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--card); }
.stat {
  flex-direction: column; align-items: flex-start; gap: .1rem; padding: 1rem 1.1rem; min-height: 0;
  border: 0; border-left: 1px solid var(--line); border-radius: 0; text-align: left; font-weight: 400;
}
.stat:first-child { border-left: 0; }
.stat b { font-size: 2.2rem; line-height: 1; font-weight: 300; letter-spacing: -.04em; }
.stat span { color: var(--muted); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.stat.good b { color: var(--good); }
.stat.active { background: var(--soft); box-shadow: inset 0 -2px 0 var(--text); }
.filterline { margin: 1rem 0 .2rem; }
#dashView .stats { margin-bottom: 1rem; }
.note { background: var(--warn-soft); color: var(--warn); padding: .75rem .9rem; font-size: .9rem; margin-top: 1rem; }
.note a { color: inherit; }
.empty { text-align: center; padding: 2.5rem 1rem; color: var(--muted); }

details.letter { padding: 0; margin: .6rem 0; }
details.letter summary {
  display: flex; justify-content: space-between; align-items: center; gap: .8rem; list-style: none;
  padding: 1rem 1.2rem; cursor: pointer;
}
details.letter summary::-webkit-details-marker { display: none; }
details.letter summary > div { min-width: 0; }
details.letter summary p { margin: .2rem 0 0; }
details.letter .body { padding: .2rem 1.2rem 1.2rem; border-top: 1px solid var(--line); }
details.letter textarea { margin: .9rem 0; }
.fresh { margin-top: 1rem; }
.fresh-head { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.fresh-head h2 { margin-bottom: .4rem; }
.fresh-item { display: flex; gap: .8rem; align-items: flex-start; padding: .75rem 0; border-top: 1px solid var(--line); margin: 0; cursor: pointer; text-transform: none; letter-spacing: normal; font-size: 1rem; color: var(--text); font-weight: 400; }
.fresh-item:first-child { border-top: 0; }
.fresh-item > div { flex: 1; min-width: 0; }
.fresh-item h3 { font-size: .95rem; }
.fresh-item .x { min-height: 32px; width: 32px; padding: 0; border: 0; color: var(--muted); flex: none; }
.fresh .row { margin-top: .8rem; }
.spinner.inline { display: inline-block; width: .85rem; height: .85rem; vertical-align: -2px; margin-right: .3rem; }
details.research { margin: .9rem 0 0; padding: .7rem .9rem; background: var(--soft); border: 1px solid var(--line); }
details.research summary { font-size: .85rem; font-weight: 500; margin: 0; }
details.research p { white-space: pre-wrap; font-size: .88rem; color: var(--muted); margin: .6rem 0 0; }
.sendrow { display: flex; gap: .5rem; margin: 1rem 0 .2rem; flex-wrap: wrap; }
.sendrow input { flex: 1 1 220px; width: auto; margin: 0; }
.statusrow { display: flex; gap: .7rem; align-items: center; margin-top: .9rem; flex-wrap: wrap; }
.statusrow select { width: auto; margin: 0; padding: .5rem .75rem; }
.tools { display: flex; flex-wrap: wrap; gap: .45rem; }
.tools button, .tools a.button { min-height: 38px; padding: .4rem .85rem; font-size: .88rem; border-color: var(--line); }

dialog {
  width: min(640px, calc(100vw - 24px)); border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg); color: var(--text); padding: 1.4rem;
}
dialog::backdrop { background: rgba(26, 26, 24, .45); }

footer { padding-top: 2rem; padding-bottom: 2.5rem; border-top: 1px solid var(--line); margin-top: 2rem; }
footer p { margin: .3rem 0; }
footer a { color: var(--muted); }
footer .link { margin-left: .5rem; font-size: .85rem; color: var(--muted); }

/* ---------- Handy ---------- */
@media (max-width: 640px) {
  h1 { font-size: 1.9rem; }
  .hero h1 { font-size: 2.3rem; }
  .eyebrow { margin-top: 1.4rem; }
  .progress button { font-size: .64rem; letter-spacing: .05em; }
  .runsteps { grid-template-columns: 1fr; gap: 0; }
  .runsteps li { flex-direction: row; align-items: center; gap: .75rem; padding: .6rem 0; border-top-width: 1px; font-size: .92rem; }
  .runsteps li:first-child { border-top: 0; }
  .hide-mobile { display: none; }
  .card { padding: 1.05rem; }
  .grid { grid-template-columns: 1fr; }
  .grid.two { grid-template-columns: 1fr 1fr; }
  .pagehead .primary { display: none; }
  .stat { padding: .85rem .8rem; }
  .stat b { font-size: 1.8rem; }
  .actions {
    position: sticky; bottom: 0; z-index: 5; margin: 1rem -16px 0; padding: .75rem 16px calc(.75rem + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  }
  details.letter summary { padding: .95rem 1rem; }
  details.letter .body { padding: .2rem 1rem 1rem; }
}
