/*
 * Farben & Logo gemäß LVM-Regelwerk für Gestaltung (Mediathek).
 * Schrift: LVM-Rotis ist lizenzpflichtig (Monotype) und nicht in dieser
 * Auslieferung enthalten — der Font-Stack greift mit Fallbacks, falls die
 * Schrift lokal nicht installiert ist.
 */
:root {
  /* LVM-Primärfarben */
  --lvm-tiefgruen: #004817;
  --lvm-logogruen: #009b31;
  --lvm-mittelgruen: #7eb61c;
  --lvm-hellgruen: #c7d100;
  --lvm-gelbgruen: #f0e51b;

  /* abgeleitete Tokens */
  --primary: var(--lvm-logogruen);
  --primary-hover: var(--lvm-tiefgruen);
  --headline: var(--lvm-tiefgruen);
  --accent-gradient: linear-gradient(90deg, var(--lvm-mittelgruen) 0%, var(--lvm-mittelgruen) 20%, var(--lvm-hellgruen) 100%);

  --bg: #f4f6f3;
  --card: #ffffff;
  --text: #1a2230;
  --muted: #5d6b6b;
  --border: #dfe5dc;

  --danger-bg: #fef2f2;
  --danger-border: #fecaca;
  --danger-text: #991b1b;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(0, 72, 23, 0.06), 0 1px 2px rgba(0, 72, 23, 0.08);

  /* Schutzraum-Logo = 1/3 Logo-Höhe */
  --logo-h: 80px;
  --logo-safe: calc(var(--logo-h) / 3);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "LVM-Rotis", "Rotis Sans Serif", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { color: var(--headline); }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Akzent-Balken oben (Verlauf Mittelgrün -> Hellgrün) */
.nav { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.nav::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--accent-gradient);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: var(--logo-safe) 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  padding-right: var(--logo-safe);
}
.brand img {
  height: var(--logo-h);
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
}
.nav-links a {
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--text);
}
.nav-links a:hover { background: var(--bg); text-decoration: none; }
.nav-links a.active {
  background: var(--bg);
  color: var(--lvm-tiefgruen);
  font-weight: 600;
}
.nav-user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.user-name { color: var(--muted); font-size: 14px; text-decoration: none; }
.user-name:hover { color: var(--lvm-tiefgruen); text-decoration: none; }

.btn {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}
.btn:hover { border-color: var(--text); text-decoration: none; }
.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--text); border-color: var(--border); }

main.container { padding-top: 28px; padding-bottom: 60px; }

.hero {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 28px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--accent-gradient);
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 { margin: 0 0 6px 0; font-size: 28px; }
.hero p { margin: 0; color: var(--muted); max-width: 56ch; }

.hero-saarland {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.92) 45%, rgba(255,255,255,0.55) 100%),
    url("/saarland-header.webp") center / cover no-repeat;
  border-color: #d4e0c5;
}
@media (max-width: 640px) {
  .hero-saarland {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.88) 100%),
      url("/saarland-header.webp") center / cover no-repeat;
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}
@media (max-width: 800px) { .grid-3 { grid-template-columns: 1fr; } }

.tile {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  color: var(--text);
  display: block;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  border-top: 3px solid transparent;
}
.tile:hover {
  border-color: var(--lvm-mittelgruen);
  border-top-color: var(--lvm-logogruen);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.tile h2 { margin: 0 0 6px 0; font-size: 18px; color: var(--lvm-tiefgruen); }
.tile p { margin: 0; color: var(--muted); font-size: 14px; }

.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.page-head h1 { margin: 0 0 4px 0; }
.page-head p { margin: 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card-head { display: flex; flex-direction: column; gap: 8px; }
.card-head h3 { margin: 0; font-size: 17px; }
.card-head h3 a { color: var(--headline); }
.card-head h3 a:hover { color: var(--primary); }
.card-excerpt { margin: 0; color: var(--text); white-space: pre-wrap; }
.card-meta { font-size: 13px; color: var(--muted); display: flex; gap: 6px; }

.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  width: fit-content;
  background: #eef2eb;
  color: var(--muted);
}
.badge-erfahrungen { background: rgba(0, 155, 49, 0.12); color: var(--lvm-logogruen); }
.badge-schadenbeispiele { background: rgba(0, 72, 23, 0.10); color: var(--lvm-tiefgruen); }
.badge-news { background: rgba(126, 182, 28, 0.18); color: #5a8214; }

.post {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 28px;
}
.post h1 { margin: 8px 0 16px 0; }
.prose { line-height: 1.65; }
.prose p { margin: 0 0 12px 0; }
.prose code {
  background: #f1f3f5;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
}
.prose pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 14px;
  border-radius: 8px;
  overflow: auto;
}
.prose pre code { background: transparent; padding: 0; color: inherit; }
.prose ul, .prose ol { padding-left: 22px; }
.prose blockquote {
  margin: 12px 0;
  padding: 8px 14px;
  border-left: 3px solid var(--lvm-mittelgruen);
  background: #f4f6f3;
  color: var(--muted);
}
.prose a { color: var(--lvm-logogruen); }

.comments h2 { margin-bottom: 12px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 22px 0; }
.comment {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 10px;
}
.comment-meta { margin: 0 0 6px 0; }
.comment-body { margin: 0; white-space: pre-wrap; }

.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.form-wide { max-width: 760px; }
.form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
}
.form input, .form textarea, .form select {
  font: inherit;
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--lvm-logogruen);
  box-shadow: 0 0 0 3px rgba(0, 155, 49, 0.18);
}
.form-actions { display: flex; gap: 10px; }

.auth-card {
  max-width: 420px;
  margin: 60px auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.auth-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent-gradient);
}
.auth-logo {
  display: block;
  height: 104px;
  width: auto;
  margin: 0 auto var(--logo-safe);
  padding-top: var(--logo-safe);
}
.auth-card h1 { margin: 0 0 6px 0; text-align: center; }
.auth-card > p.muted { text-align: center; }
.auth-card .form { padding: 0; border: none; background: transparent; }
.auth-card .small { margin-top: 18px; text-align: center; }

.alert {
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  color: var(--danger-text);
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
}
.alert-warn {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}
.alert-info {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

.checkbox {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 10px !important;
  font-weight: 400 !important;
  font-size: 14px;
}
.checkbox input { margin-top: 2px; }

.kv {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 18px;
  margin: 0;
  font-size: 14px;
}
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }

.section {
  margin-top: 28px;
}
.section.danger {
  border: 1px solid var(--danger-border);
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
}
.section.danger h2 { color: var(--danger-text); margin-top: 0; }
.btn-danger {
  background: var(--danger-text);
  border-color: var(--danger-text);
  color: #fff;
}
.btn-danger:hover { background: #7a1414; border-color: #7a1414; }

.legal h2 { margin-top: 28px; }
.legal h3 { margin-top: 18px; }
.legal ul { padding-left: 22px; }
.legal code { background: #f1f3f5; padding: 1px 5px; border-radius: 4px; font-size: 0.92em; }

.footer-links {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.footer-links a { color: var(--lvm-tiefgruen); }
.footer-links span { color: var(--muted); }

/* ----- Karten- und Button-Helfer ----- */
.btn-sm { padding: 5px 10px; font-size: 13px; }
.spacer { flex: 1; }
.link-button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--headline);
  text-align: left;
  cursor: pointer;
  text-decoration: none;
}
.link-button:hover { color: var(--primary); text-decoration: underline; }
.news-card .card-meta { display: flex; gap: 8px; align-items: center; }
.source-line { color: var(--muted); font-size: 14px; margin: -4px 0 14px 0; }
.source-line a { margin-left: 6px; }

/* ----- News-Dialog (Pop-up) ----- */
.news-dialog {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  width: min(720px, 92vw);
  max-height: 86vh;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 72, 23, 0.18);
}
.news-dialog::backdrop {
  background: rgba(0, 24, 8, 0.45);
  backdrop-filter: blur(2px);
}
.news-dialog > article {
  display: flex;
  flex-direction: column;
  max-height: 86vh;
}
.news-dialog header {
  padding: 22px 26px 12px;
  border-bottom: 1px solid var(--border);
}
.news-dialog header::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--accent-gradient);
  margin: -22px -26px 16px;
}
.news-dialog h2 { margin: 2px 0 6px; line-height: 1.2; }
.news-dialog .dialog-source { margin: 0 0 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.news-dialog .prose {
  overflow-y: auto;
  padding: 16px 26px;
  scrollbar-gutter: stable;
}
.dialog-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 26px 18px;
  border-top: 1px solid var(--border);
  background: #fafbf7;
}

/* ----- Newspaper-Layout für Schadenbeispiele ----- */
.newspaper {
  background: #fdfcf7;
  border: 1px solid #d8d4c4;
  border-radius: var(--radius);
  padding: 36px 38px;
  margin-bottom: 28px;
  font-family: "Charter", "Iowan Old Style", Georgia, "Times New Roman", serif;
  color: #1a1a1a;
  position: relative;
}
.newspaper::before {
  content: "Schadenmagazin";
  position: absolute;
  top: 10px;
  right: 16px;
  font-family: "LVM-Rotis", "Rotis Sans Serif", -apple-system, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #8a8779;
}
.newspaper-head {
  border-bottom: 3px double #1a1a1a;
  padding-bottom: 14px;
  margin-bottom: 18px;
}
.newspaper-kicker {
  font-family: "LVM-Rotis", "Rotis Sans Serif", -apple-system, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: #5a5a5a;
  margin: 0 0 8px;
}
.newspaper-kicker a { color: var(--lvm-tiefgruen); }
.newspaper-title {
  font-family: inherit;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 700;
  margin: 0;
  color: #111;
}
.newspaper-deck {
  font-style: italic;
  color: #4a4a4a;
  margin: 8px 0 0;
  font-size: 15px;
}
.newspaper-body {
  position: relative;
}
.newspaper-prose {
  column-count: 2;
  column-gap: 28px;
  column-rule: 1px solid #e2dfd2;
  font-size: 16px;
  line-height: 1.65;
  text-align: justify;
  hyphens: auto;
}
@media (max-width: 720px) {
  .newspaper-prose { column-count: 1; }
}
.newspaper-prose p:first-of-type::first-letter {
  float: left;
  font-size: 3.6em;
  line-height: 0.9;
  padding-right: 8px;
  padding-top: 4px;
  font-weight: 700;
  color: var(--lvm-tiefgruen);
}
.newspaper-prose p { margin: 0 0 12px; orphans: 3; widows: 3; }
.newspaper-prose h2,
.newspaper-prose h3 {
  font-family: inherit;
  color: #111;
  margin-top: 14px;
}
.newspaper-prose blockquote {
  border-left: 3px solid var(--lvm-mittelgruen);
  background: transparent;
  font-style: italic;
  color: #333;
  margin: 14px 0;
  padding-left: 12px;
}

.newspaper-gallery {
  /* In Spalten als Inline-Element zwischenlaufen lassen */
  break-inside: avoid;
}
.np-figure {
  margin: 0 0 14px;
  break-inside: avoid;
}
.np-figure-frame {
  border: 1px solid #d8d4c4;
  padding: 6px;
  background: #fff;
  box-shadow: 0 1px 0 #efece1;
}
.np-figure img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(0.95);
}
.np-figure figcaption {
  font-family: "LVM-Rotis", "Rotis Sans Serif", -apple-system, sans-serif;
  font-size: 12.5px;
  color: #4a4a4a;
  margin-top: 6px;
  font-style: italic;
  line-height: 1.35;
}
/* Bilder als Float in den 2-Spalten-Lesefluss einbetten */
@media (min-width: 721px) {
  .newspaper-body {
    display: block;
  }
  .newspaper-gallery {
    float: right;
    width: 46%;
    margin: 6px 0 12px 22px;
    shape-outside: margin-box;
  }
}

/* ----- Layout mit Sidebar ----- */
.with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}
@media (max-width: 900px) {
  .with-sidebar { grid-template-columns: 1fr; }
}
.sidebar { position: sticky; top: calc(96px); }
@media (max-width: 900px) {
  .sidebar { position: static; }
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 14px;
}
.section-head h2 { margin: 0; }

.lvm-news {
  margin-bottom: 28px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(0,155,49,0.06) 0%, rgba(0,155,49,0) 90%);
  border-radius: var(--radius);
  border: 1px solid rgba(0,155,49,0.18);
}
.lvm-news .cards {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.categories { margin-top: 4px; }
.mt { margin-top: 28px; }

/* ----- Kalender-Sidebar ----- */
.calendar,
.calendar *,
.calendar *::before,
.calendar *::after {
  font-family: "LVM-Rotis", "Rotis Sans Serif", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.calendar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.calendar-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.calendar-head h2 {
  margin: 0;
  font-size: 15px;
  text-transform: capitalize;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 14px;
}
.cal-weekday {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
  padding: 4px 0;
  letter-spacing: 0.04em;
}
.cal-cell {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  color: var(--text);
  border-radius: 6px;
  background: transparent;
  position: relative;
}
.cal-cell.cal-empty { background: transparent; color: transparent; }
.cal-cell.cal-today {
  background: var(--lvm-tiefgruen);
  color: #fff;
  font-weight: 700;
}
.cal-cell.cal-has-event::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lvm-logogruen);
}
.cal-cell.cal-today.cal-has-event::after { background: var(--lvm-hellgruen); }

.cal-up-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
  color: var(--muted);
}
.cal-up-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cal-up-list li {
  padding-left: 12px;
  border-left: 3px solid var(--lvm-logogruen);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cal-up-list time {
  font-size: 11.5px;
  color: var(--muted);
  text-transform: capitalize;
}
.cal-up-list strong { font-size: 13.5px; }

/* ----- Termine-Seite ----- */
.event-form-wrap {
  margin: 8px 0 22px;
}
.event-form-wrap > summary {
  list-style: none;
  display: inline-block;
}
.event-form-wrap > summary::-webkit-details-marker { display: none; }
.event-form-wrap[open] > summary { margin-bottom: 12px; }
.event-times {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 600px) {
  .event-times { grid-template-columns: 1fr; }
}

.event-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.event-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
@media (max-width: 600px) {
  .event-row { grid-template-columns: 1fr; gap: 4px; }
}
.event-date {
  font-family: "LVM-Rotis", "Rotis Sans Serif", -apple-system, sans-serif;
  font-weight: 700;
  color: var(--lvm-tiefgruen);
  text-transform: capitalize;
  font-variant-numeric: tabular-nums;
}
.event-body {
  margin: 4px 0 0;
  white-space: pre-wrap;
}
.event-list-past { opacity: 0.75; }

/* ----- Cookie-Banner ----- */
.cookie-banner[hidden] { display: none !important; }
.cookie-toggle[hidden] { display: none !important; }

.cookie-toggle {
  position: fixed;
  left: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--lvm-tiefgruen);
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(0, 72, 23, 0.18);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}
.cookie-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--lvm-logogruen);
  box-shadow: 0 10px 24px rgba(0, 155, 49, 0.22);
}
.cookie-toggle:focus-visible {
  outline: 2px solid var(--lvm-logogruen);
  outline-offset: 2px;
}
.cookie-toggle svg { display: block; }

/* ----- TOTP / 2FA ----- */
.totp-setup ol {
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.totp-qr {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.totp-qr img { display: block; background: #fff; }
.totp-secret {
  display: inline-block;
  padding: 6px 10px;
  background: #f1f3f5;
  border-radius: 6px;
  letter-spacing: 0.06em;
  font-size: 14px;
}
.recovery-grid {
  list-style: none;
  padding: 16px;
  margin: 18px 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 15px;
}
.recovery-details { margin-top: 18px; }
.recovery-details summary { cursor: pointer; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  margin: 0 auto;
  max-width: 720px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 72, 23, 0.18);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 100;
}
.cookie-banner::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: var(--radius) var(--radius) 0 0;
}
.cookie-banner p {
  margin: 0;
  font-size: 14px;
  color: var(--text);
}
.cookie-banner .btn { flex-shrink: 0; }
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .cookie-banner .btn { align-self: flex-end; }
}

.muted { color: var(--muted); }
.small { font-size: 13px; }

.footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding-top: 18px;
  padding-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
}
