/* ==========================================================================
   Cuisine de la famille – Gestaltung
   Ruhig, hell, großzügig. Warme Cremetöne, Salbeigrün, Gold für Sterne.
   Serifenschrift (Lora) für Überschriften, Inter für Text und Bedienung.
   ========================================================================== */

@font-face { font-family: "Lora"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/lora-variable.woff") format("woff"); }
@font-face { font-family: "Lora"; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url("../fonts/lora-italic-variable.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/inter-400.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/inter-500.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/inter-600.woff") format("woff"); }

/* ---- Farben und Maße ---------------------------------------------------- */
:root {
  --bg: #faf7f2;
  --flaeche: #ffffff;
  --flaeche-2: #f4efe7;
  --tinte: #26231f;
  --tinte-weich: #6b645b;
  --linie: #e7e0d4;
  --linie-stark: #d5ccbc;
  --akzent: #5e7355;
  --akzent-hover: #4c6045;
  --akzent-text: #ffffff;
  --akzent-weich: #e9efe4;
  --gold: #c99a1c;
  --gefahr: #a8483f;
  --gefahr-weich: #f8e9e6;
  --ok: #4f7a4a;
  --ok-weich: #e7f1e4;
  --warn-weich: #fbf1d9;
  --warn-text: #7a5a0c;
  --schatten: 0 1px 2px rgba(60, 45, 20, .05), 0 6px 18px rgba(60, 45, 20, .06);
  --schatten-hoch: 0 2px 4px rgba(60, 45, 20, .06), 0 14px 34px rgba(60, 45, 20, .10);

  --radius: 12px;
  --radius-klein: 8px;
  --serif: "Lora", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --kopfhoehe: 64px;
  --unternav: 64px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #161411;
  --flaeche: #1f1c18;
  --flaeche-2: #27231e;
  --tinte: #f1ece3;
  --tinte-weich: #b3aa9b;
  --linie: #35302a;
  --linie-stark: #4a4339;
  --akzent: #9db58f;
  --akzent-hover: #b0c7a3;
  --akzent-text: #14180f;
  --akzent-weich: #252e21;
  --gold: #e3b94a;
  --gefahr: #e08b80;
  --gefahr-weich: #3a2420;
  --ok: #94c28d;
  --ok-weich: #22301f;
  --warn-weich: #3a301a;
  --warn-text: #e8c86e;
  --schatten: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 18px rgba(0, 0, 0, .25);
  --schatten-hoch: 0 2px 4px rgba(0, 0, 0, .35), 0 14px 34px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #161411;
    --flaeche: #1f1c18;
    --flaeche-2: #27231e;
    --tinte: #f1ece3;
    --tinte-weich: #b3aa9b;
    --linie: #35302a;
    --linie-stark: #4a4339;
    --akzent: #9db58f;
    --akzent-hover: #b0c7a3;
    --akzent-text: #14180f;
    --akzent-weich: #252e21;
    --gold: #e3b94a;
    --gefahr: #e08b80;
    --gefahr-weich: #3a2420;
    --ok: #94c28d;
    --ok-weich: #22301f;
    --warn-weich: #3a301a;
    --warn-text: #e8c86e;
    --schatten: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 18px rgba(0, 0, 0, .25);
    --schatten-hoch: 0 2px 4px rgba(0, 0, 0, .35), 0 14px 34px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}

/* ---- Grundlagen --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--tinte);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: "kern", "calt";
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem); }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
a { color: var(--akzent); text-underline-offset: 3px; }
a:hover { color: var(--akzent-hover); }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--akzent-weich); }
.klein { font-size: .85rem; }
.gedaempft { color: var(--tinte-weich); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-rechts { text-align: right; }
.text-mitte { text-align: center; }
.icon { flex: none; vertical-align: -.2em; }
.nur-dunkel { display: none; }
:root[data-theme="dark"] .nur-hell { display: none; }
:root[data-theme="dark"] .nur-dunkel { display: inline-flex; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .nur-hell { display: none; }
  :root:not([data-theme="light"]) .nur-dunkel { display: inline-flex; }
}

.sprunglink { position: absolute; left: -999px; top: 8px; background: var(--akzent); color: var(--akzent-text); padding: .5rem 1rem; border-radius: 8px; z-index: 100; }
.sprunglink:focus { left: 8px; }

/* ---- Kopfleiste --------------------------------------------------------- */
.kopf {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--linie);
}
.kopf-innen {
  max-width: 1200px; margin: 0 auto; padding: 0 1.25rem;
  height: var(--kopfhoehe);
  display: flex; align-items: center; gap: 2rem;
}
.marke-link { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--tinte); min-width: 0; }
.marke-link .marke { color: var(--akzent); }
.marke-text { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.hauptnav { display: flex; gap: .25rem; flex: 1; }
.hauptnav a {
  padding: .45rem .85rem; border-radius: 999px; text-decoration: none;
  color: var(--tinte-weich); font-weight: 500; font-size: .95rem;
  transition: background .15s, color .15s;
}
.hauptnav a:hover { background: var(--flaeche-2); color: var(--tinte); }
.hauptnav a.aktiv { background: var(--akzent-weich); color: var(--akzent); }

.kopf-aktionen { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid transparent; background: transparent; color: var(--tinte-weich);
  cursor: pointer; transition: background .15s, color .15s;
}
.icon-btn:hover { background: var(--flaeche-2); color: var(--tinte); }

.nutzermenue { position: relative; }
.nutzermenue summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: .6rem;
  padding: .25rem .75rem .25rem .25rem; border-radius: 999px; border: 1px solid var(--linie); background: var(--flaeche);
  transition: border-color .15s, box-shadow .15s;
}
.nutzermenue summary::-webkit-details-marker { display: none; }
.nutzermenue summary:hover { border-color: var(--linie-stark); }
.nutzermenue[open] summary { box-shadow: var(--schatten); }
.avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--akzent); color: var(--akzent-text); font-weight: 600; font-size: .9rem;
}
.nutzername { font-size: .92rem; font-weight: 500; max-width: 12ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menue {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px;
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius);
  box-shadow: var(--schatten-hoch); padding: .4rem; z-index: 40;
}
.menue-kopf { display: flex; flex-direction: column; padding: .6rem .75rem .7rem; border-bottom: 1px solid var(--linie); margin-bottom: .3rem; }
.menue a, .menue button {
  display: flex; align-items: center; gap: .65rem; width: 100%;
  padding: .55rem .75rem; border-radius: var(--radius-klein);
  color: var(--tinte); text-decoration: none; background: none; border: 0;
  font: inherit; font-size: .93rem; cursor: pointer; text-align: left;
}
.menue a:hover, .menue button:hover { background: var(--flaeche-2); }
.menue form { margin: 0; }

.wartungsbanner {
  display: flex; align-items: center; justify-content: center; gap: .6rem; flex-wrap: wrap;
  background: var(--warn-weich); color: var(--warn-text);
  padding: .55rem 1rem; font-size: .9rem; border-bottom: 1px solid var(--linie);
}
.wartungsbanner a { color: inherit; font-weight: 600; }

/* ---- Inhalt ------------------------------------------------------------- */
.inhalt { width: 100%; max-width: 1200px; margin: 0 auto; padding: 2.25rem 1.25rem 3.5rem; flex: 1; }
.inhalt-breit { max-width: 1400px; }
.fuss { text-align: center; color: var(--tinte-weich); font-size: .82rem; padding: 1.5rem 1rem 2rem; border-top: 1px solid var(--linie); margin-top: auto; }

.seitenkopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.seitenkopf h1 { margin: 0; }
.seitenkopf .untertitel { color: var(--tinte-weich); margin: .35rem 0 0; }
.augenbraue { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--akzent); margin: 0 0 .5rem; }

.karte {
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--schatten); margin-bottom: 1.25rem;
}
.karte > :last-child { margin-bottom: 0; }
.karte-leise { box-shadow: none; background: var(--flaeche-2); }
.karte h2, .karte h3 { margin-top: 0; }
.raster { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.raster .karte { margin-bottom: 0; }

/* Verwalten-Kacheln */
.kachel {
  display: flex; flex-direction: column; gap: .35rem; text-decoration: none; color: var(--tinte);
  padding: 1.25rem 1.4rem; border-radius: var(--radius); border: 1px solid var(--linie); background: var(--flaeche);
  box-shadow: var(--schatten); transition: transform .15s, box-shadow .15s, border-color .15s;
}
.kachel:hover { transform: translateY(-2px); box-shadow: var(--schatten-hoch); border-color: var(--linie-stark); color: var(--tinte); }
.kachel strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.kachel span { color: var(--tinte-weich); font-size: .92rem; }

/* Startseite */
.willkommen {
  position: relative; overflow: hidden;
  border-radius: calc(var(--radius) + 6px); padding: clamp(1.75rem, 4vw, 3.25rem);
  background:
    radial-gradient(900px 300px at 100% 0%, color-mix(in srgb, var(--akzent) 16%, transparent), transparent 70%),
    radial-gradient(600px 260px at 0% 100%, color-mix(in srgb, var(--gold) 14%, transparent), transparent 70%),
    var(--flaeche);
  border: 1px solid var(--linie); box-shadow: var(--schatten); margin-bottom: 1.75rem;
}
.willkommen h1 { margin-bottom: .5rem; }
.willkommen p { color: var(--tinte-weich); max-width: 56ch; font-size: 1.05rem; margin: 0; }
.leerzustand { text-align: center; padding: 3rem 1.5rem; }
.leerzustand .marke { color: var(--linie-stark); margin-bottom: .75rem; }
.leerzustand h2 { margin-bottom: .4rem; }
.leerzustand p { color: var(--tinte-weich); max-width: 46ch; margin: 0 auto; }
.status-liste { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }

/* ---- Formulare ---------------------------------------------------------- */
.feld { margin-bottom: 1.1rem; }
.feld label, .feld .etikett { display: block; font-weight: 500; font-size: .9rem; margin-bottom: .35rem; }
.feld .hinweis { color: var(--tinte-weich); font-size: .85rem; margin: .35rem 0 0; }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="search"], select, textarea {
  width: 100%; font: inherit; color: var(--tinte); background: var(--flaeche);
  border: 1px solid var(--linie-stark); border-radius: var(--radius-klein);
  padding: .65rem .85rem; min-height: 44px;
  transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--akzent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--akzent) 25%, transparent); }
input::placeholder, textarea::placeholder { color: var(--tinte-weich); opacity: .7; }
.feld-zeile { display: grid; grid-template-columns: 1fr auto; gap: .5rem; align-items: stretch; }
.feld-gruppe { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.feld label.haken, .haken { display: flex; align-items: flex-start; gap: .6rem; font-weight: 400 !important; cursor: pointer; }
.haken input { margin-top: .3rem; width: 18px; height: 18px; accent-color: var(--akzent); flex: none; }

/* ---- Knöpfe ------------------------------------------------------------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 500; font-size: .95rem; text-decoration: none; cursor: pointer;
  padding: .65rem 1.25rem; min-height: 44px; border-radius: 999px;
  border: 1px solid var(--akzent); background: var(--akzent); color: var(--akzent-text);
  transition: background .15s, border-color .15s, transform .05s, box-shadow .15s;
}
.knopf:hover { background: var(--akzent-hover); border-color: var(--akzent-hover); color: var(--akzent-text); }
.knopf:active { transform: translateY(1px); }
.knopf-rand { background: transparent; color: var(--akzent); }
.knopf-rand:hover { background: var(--akzent-weich); color: var(--akzent-hover); }
.knopf-gefahr { background: var(--gefahr); border-color: var(--gefahr); color: #fff; }
.knopf-gefahr:hover { background: color-mix(in srgb, var(--gefahr) 85%, #000); border-color: transparent; color: #fff; }
.knopf-klein { min-height: 36px; padding: .4rem .9rem; font-size: .88rem; }
.knopf-voll { width: 100%; }
.knopf-text { background: none; border: 0; color: var(--akzent); padding: .25rem .5rem; min-height: 0; font-weight: 500; }
.knopf-text:hover { background: none; text-decoration: underline; }
button:disabled, .knopf[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }

/* ---- Meldungen, Marken, Tabellen ---------------------------------------- */
.meldung { padding: .85rem 1.1rem; border-radius: var(--radius-klein); margin-bottom: 1.25rem; border: 1px solid transparent; font-size: .95rem; }
.meldung-success { background: var(--ok-weich); color: var(--ok); border-color: color-mix(in srgb, var(--ok) 30%, transparent); }
.meldung-error { background: var(--gefahr-weich); color: var(--gefahr); border-color: color-mix(in srgb, var(--gefahr) 30%, transparent); }
.meldung-info { background: var(--akzent-weich); color: var(--akzent); border-color: color-mix(in srgb, var(--akzent) 30%, transparent); }
.meldung-warn { background: var(--warn-weich); color: var(--warn-text); border-color: color-mix(in srgb, var(--warn-text) 30%, transparent); }

.plakette {
  display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 500;
  padding: .2rem .65rem; border-radius: 999px; background: var(--flaeche-2); color: var(--tinte-weich); border: 1px solid var(--linie);
}
.plakette-ok { background: var(--ok-weich); color: var(--ok); border-color: transparent; }
.plakette-warn { background: var(--warn-weich); color: var(--warn-text); border-color: transparent; }
.plakette-akzent { background: var(--akzent-weich); color: var(--akzent); border-color: transparent; }

.tabelle-rahmen { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th { text-align: left; font-weight: 600; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--tinte-weich); padding: .6rem .9rem; border-bottom: 1px solid var(--linie-stark); white-space: nowrap; }
td { padding: .8rem .9rem; border-bottom: 1px solid var(--linie); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: color-mix(in srgb, var(--flaeche-2) 55%, transparent); }

/* ---- Anmeldung, Einrichtung, Wartung ----------------------------------- */
.auth-gitter { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100vh; flex: 1; }
.auth-bild {
  position: relative; display: flex; align-items: center; justify-content: center; padding: 3rem;
  color: #f6f1e7;
  background:
    radial-gradient(700px 500px at 20% 15%, rgba(255, 255, 255, .10), transparent 60%),
    radial-gradient(600px 500px at 90% 95%, rgba(201, 154, 28, .22), transparent 60%),
    linear-gradient(155deg, #4a5e43 0%, #34452f 100%);
  overflow: hidden;
}
.auth-bild::before, .auth-bild::after {
  content: ""; position: absolute; border: 1px solid rgba(255, 255, 255, .13); border-radius: 50%;
}
.auth-bild::before { width: 520px; height: 520px; right: -170px; top: -150px; }
.auth-bild::after { width: 380px; height: 380px; left: -120px; bottom: -130px; }
.auth-bild-innen { position: relative; max-width: 28rem; }
.auth-bild .marke { color: #e9dcae; }
.auth-markenname { font-family: var(--serif); font-size: clamp(2.2rem, 3.4vw, 3.2rem); line-height: 1.1; font-weight: 600; margin: 1.1rem 0 .6rem; letter-spacing: -.02em; }
.auth-spruch { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: #e1dccb; margin: 0; }
.auth-spalte { display: flex; align-items: center; justify-content: center; padding: 2rem 1.25rem; }
.auth-karte { width: 100%; max-width: 420px; }
.auth-karte h1 { font-size: 2rem; margin-bottom: .4rem; }
.auth-karte .einleitung { color: var(--tinte-weich); margin-bottom: 1.75rem; }
.auth-kopf-mobil { display: none; align-items: center; gap: .6rem; margin-bottom: 1.75rem; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--tinte); }
.auth-kopf-mobil .marke { color: var(--akzent); }
.wartung-symbol { width: 64px; height: 64px; border-radius: 50%; background: var(--warn-weich); color: var(--warn-text); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }

/* ---- Handy und Tablet --------------------------------------------------- */
.unternav { display: none; }

@media (max-width: 900px) {
  .kopf-innen { gap: 1rem; }
  .nutzername { display: none; }
  .nutzermenue summary { padding: .25rem; }
}

@media (max-width: 760px) {
  :root { --kopfhoehe: 56px; }
  .hauptnav { display: none; }
  .marke-text { font-size: 1.15rem; }
  .inhalt { padding: 1.5rem 1rem calc(var(--unternav) + 2rem + env(safe-area-inset-bottom)); }
  .fuss { display: none; }
  .unternav {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: color-mix(in srgb, var(--flaeche) 92%, transparent);
    backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
    border-top: 1px solid var(--linie);
    padding: .3rem .25rem calc(.3rem + env(safe-area-inset-bottom));
  }
  .unternav a {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: .15rem;
    padding: .4rem .1rem; text-decoration: none; color: var(--tinte-weich);
    font-size: .68rem; font-weight: 500; border-radius: var(--radius-klein); min-width: 0;
  }
  .unternav a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .unternav a.aktiv { color: var(--akzent); }
  .karte { padding: 1.15rem; }
  .auth-gitter { grid-template-columns: 1fr; }
  .auth-bild { display: none; }
  .auth-kopf-mobil { display: flex; }
  .auth-spalte { align-items: flex-start; padding-top: 3rem; }
}

@media print {
  .kopf, .unternav, .fuss, .wartungsbanner { display: none !important; }
  body { background: #fff; color: #000; }
  .karte { box-shadow: none; border-color: #ccc; }
}

/* ==========================================================================
   Etappe 2: Verwaltungsseiten (Benutzer, Rechte, Protokoll)
   ========================================================================== */
.nowrap { white-space: nowrap; }
.nur-lesehilfe { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
form.inline { display: inline; margin: 0; }
.knopfzeile { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.25rem; }

.suchzeile { display: flex; gap: .5rem; align-items: center; }
.suchzeile input { min-width: 240px; }

.karte-kopf { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.karte-kopf h2 { margin: 0; }
.karte-hervor { border-left: 4px solid var(--akzent); }
.zwei-spalten { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; }
.zwei-spalten h3 { margin-top: 0; }

/* Aufklappbare Karte */
.aufklapp > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  font-family: var(--serif); font-size: 1.2rem; font-weight: 600;
}
.aufklapp > summary::-webkit-details-marker { display: none; }
.aufklapp > summary::after { content: "+"; font-family: var(--sans); font-weight: 400; font-size: 1.5rem; color: var(--akzent); line-height: 1; }
.aufklapp[open] > summary::after { content: "–"; }
.aufklapp-inhalt { margin-top: 1.25rem; }

/* Tabellen: auf dem Handy als gestapelte Karten */
.aktionen { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
.plakette-akzent { white-space: nowrap; }

.rechte-matrix th:first-child { width: 60%; }
.rechte-matrix .gruppenzeile td {
  background: var(--flaeche-2); font-family: var(--serif); font-weight: 600; font-size: 1rem;
  padding: .55rem .9rem; border-bottom: 1px solid var(--linie);
}
.schalter-haken { width: 22px; height: 22px; accent-color: var(--akzent); cursor: pointer; }

.rechte-liste { list-style: none; margin: 0; padding: 0; }
.rechte-liste li { display: flex; flex-direction: column; padding: .6rem 0; border-bottom: 1px solid var(--linie); }
.rechte-liste li:last-child { border-bottom: 0; }
.rechte-liste span { color: var(--tinte-weich); font-size: .9rem; }
.hinweis-neu { background: var(--ok-weich); border-color: color-mix(in srgb, var(--ok) 30%, transparent); }
.hinweis-weg { background: var(--gefahr-weich); border-color: color-mix(in srgb, var(--gefahr) 30%, transparent); }

.filterleiste { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); align-items: end; }
.filterleiste .feld { margin: 0; }
.filter-knoepfe { display: flex; gap: .5rem; flex-wrap: wrap; }
input[type="date"] { width: 100%; font: inherit; color: var(--tinte); background: var(--flaeche); border: 1px solid var(--linie-stark); border-radius: var(--radius-klein); padding: .65rem .85rem; min-height: 44px; }

.log-details { margin-top: .4rem; }
.log-details summary { cursor: pointer; color: var(--akzent); font-size: .85rem; font-weight: 500; }
.log-spalten { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: .6rem; padding: .85rem 1rem; background: var(--flaeche-2); border-radius: var(--radius-klein); font-size: .88rem; }
.log-spalten dl { margin: .4rem 0 0; }
.log-spalten dt { color: var(--tinte-weich); font-size: .78rem; margin-top: .45rem; }
.log-spalten dd { margin: 0; word-break: break-word; }
.seitenwahl { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.25rem; }

@media (max-width: 900px) {
  .zwei-spalten { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 760px) {
  .suchzeile { width: 100%; }
  .suchzeile input { min-width: 0; flex: 1; }
  table.responsiv, table.responsiv tbody, table.responsiv tr, table.responsiv td { display: block; width: 100%; }
  table.responsiv thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.responsiv tr { padding: .85rem 0; border-bottom: 1px solid var(--linie-stark); }
  table.responsiv tr:last-child { border-bottom: 0; }
  table.responsiv td { border: 0; padding: .25rem 0; display: flex; gap: 1rem; justify-content: space-between; align-items: baseline; text-align: right; }
  table.responsiv td::before { content: attr(data-label); color: var(--tinte-weich); font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; text-align: left; flex: none; }
  table.responsiv td.aktionen { justify-content: flex-start; padding-top: .6rem; }
  table.responsiv td.aktionen::before { content: none; }
  .aktionen { justify-content: flex-start; }
  table.responsiv td[colspan] { display: block; text-align: center; }
  table.responsiv td[colspan]::before { content: none; }
  .rechte-matrix th:first-child { width: auto; }
}

/* Einmalig angezeigtes Passwort */
.einmalpasswort { border-left: 4px solid var(--gold); }
.einmalpasswort h2 { font-size: 1.2rem; margin-bottom: .35rem; }
.kopier-zeile { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.kopier-zeile code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 1.15rem; letter-spacing: .04em;
  background: var(--flaeche-2); border: 1px dashed var(--linie-stark); border-radius: var(--radius-klein); padding: .5rem .9rem; user-select: all;
}

/* ==========================================================================
   Etappe 3: Rezepte, Katalog
   ========================================================================== */
.abschnittstitel { font-size: 1.25rem; margin: 0 0 1rem; }
.zurueck { margin: 0 0 1rem; font-size: .92rem; }
code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .88em; background: var(--flaeche-2); padding: .1em .35em; border-radius: 4px; }
.fehlerliste { margin: .4rem 0 0; padding-left: 1.2rem; }
.filterkarte { margin-bottom: 1.5rem; }

/* ---- Rezeptraster -------------------------------------------------------- */
.rezeptraster { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.rezeptkarte {
  display: flex; flex-direction: column; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--schatten); color: var(--tinte); text-decoration: none;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.rezeptkarte:hover { transform: translateY(-2px); box-shadow: var(--schatten-hoch); border-color: var(--linie-stark); color: var(--tinte); }
.rezeptkarte-bild { aspect-ratio: 4 / 3; background: var(--flaeche-2); display: grid; place-items: center; overflow: hidden; }
.rezeptkarte-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rezeptkarte-bild.ohne-bild { color: var(--linie-stark); }
.rezeptkarte-text { padding: .9rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .35rem; }
.rezeptkarte-text strong { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; line-height: 1.3; }
.rezeptkarte-meta { display: flex; gap: .75rem; color: var(--tinte-weich); font-size: .85rem; flex-wrap: wrap; }
.rezeptkarte-meta span + span::before { content: "·"; margin-right: .75rem; }

/* ---- Rezeptansicht ------------------------------------------------------- */
.rezeptkopf { display: grid; gap: 2rem; margin-bottom: 2rem; }
.rezeptkopf.mit-bild { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; }
.rezeptbild { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--radius) + 4px); box-shadow: var(--schatten-hoch); }
.rezeptkopf h1 { margin: .25rem 0 .75rem; }
.kategorien { margin: 0; display: flex; gap: .4rem; flex-wrap: wrap; }
.beschreibung { color: var(--tinte-weich); font-size: 1.05rem; max-width: 60ch; }
.eckdaten { list-style: none; margin: 1.25rem 0 .75rem; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem 2rem; }
.eckdaten li { display: flex; flex-direction: column; }
.eckdaten span { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--tinte-weich); }
.eckdaten strong { font-weight: 600; }
.rezept-aktionen { align-items: center; }
.rezept-aktionen form { margin: 0; }
.rezept-inhalt { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: 2rem; align-items: start; }
.zutatenkarte { position: sticky; top: calc(var(--kopfhoehe) + 1rem); }
.portionswahl { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: .25rem 0 .5rem; }
.rund-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--linie-stark); background: var(--flaeche);
  color: var(--akzent); font-size: 1.5rem; line-height: 1; cursor: pointer; display: grid; place-items: center;
  transition: background .15s, border-color .15s;
}
.rund-btn:hover:not(:disabled) { background: var(--akzent-weich); border-color: var(--akzent); }
.rund-btn:disabled { opacity: .4; cursor: not-allowed; }
.portionswert { min-width: 7.5rem; text-align: center; }
.portionswert strong { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; margin-right: .2rem; }
.portionswert span { color: var(--tinte-weich); }
.portionen-basis { margin: 0 0 1rem; }
.listenueberschrift { font-size: 1.05rem; margin: 1.75rem 0 .4rem; color: var(--akzent); }
.listenueberschrift:first-of-type { margin-top: .5rem; }
.zutatenliste { list-style: none; margin: 0; padding: 0; }
.zutat-zeile { display: grid; grid-template-columns: minmax(4.5rem, auto) 1fr; gap: .75rem; padding: .5rem 0; border-bottom: 1px solid var(--linie); }
.zutat-zeile:last-child { border-bottom: 0; }
.zutat-menge { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.zutat-notiz { color: var(--tinte-weich); }
.schrittliste { list-style: none; margin: 0 0 1rem; padding: 0; counter-reset: schritt; }
.schrittliste li { counter-increment: schritt; position: relative; padding: 0 0 1.25rem 3rem; }
.schrittliste li::before {
  content: counter(schritt); position: absolute; left: 0; top: -.1rem; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--akzent-weich); color: var(--akzent); font-weight: 600; display: grid; place-items: center; font-size: .95rem;
}
.hinweiskarte { background: var(--warn-weich); border-color: transparent; }
.hinweisliste { margin: 0; padding-left: 1.2rem; }
.hinweisliste li { margin-bottom: .6rem; }

/* ---- Rezeptformular ------------------------------------------------------ */
.doppelfeld { display: grid; grid-template-columns: 90px 1fr; gap: .5rem; }
.bild-aktuell { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; flex-wrap: wrap; }
.bild-aktuell img, .bild-vorschau { max-width: 220px; border-radius: var(--radius-klein); border: 1px solid var(--linie); }
.bild-vorschau { margin-top: .75rem; display: block; }
.bild-vorschau[hidden] { display: none; }
input[type="file"] { font: inherit; max-width: 100%; }
.kategoriegruppe { border: 0; padding: 0; margin: 0 0 1rem; }
.kategoriegruppe legend { font-weight: 600; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--tinte-weich); padding: 0; margin-bottom: .5rem; }
.kategorie-wahl { display: flex; flex-wrap: wrap; gap: .5rem; }
.wahlknopf { position: relative; }
.wahlknopf input { position: absolute; opacity: 0; inset: 0; cursor: pointer; width: 100%; height: 100%; margin: 0; }
.wahlknopf span {
  display: inline-block; padding: .4rem .9rem; border: 1px solid var(--linie-stark); border-radius: 999px; background: var(--flaeche);
  font-size: .92rem; transition: background .15s, border-color .15s, color .15s;
}
.wahlknopf:hover span { border-color: var(--akzent); }
.wahlknopf input:checked + span { background: var(--akzent); border-color: var(--akzent); color: var(--akzent-text); }
.wahlknopf input:focus-visible + span { box-shadow: 0 0 0 3px color-mix(in srgb, var(--akzent) 35%, transparent); }

.block { border: 1px solid var(--linie); border-radius: var(--radius); padding: 1rem; margin: 0 0 1rem; background: var(--flaeche-2); min-width: 0; }
.block-kopf { display: flex; gap: .5rem; align-items: center; margin-bottom: .75rem; }
.f-ueberschrift { font-family: var(--serif); font-weight: 600; }
.zeilenknoepfe { display: inline-flex; gap: .15rem; flex: none; }
.klein-btn { width: 34px; height: 34px; font-size: 1.05rem; }
.gefahr-btn:hover { background: var(--gefahr-weich); color: var(--gefahr); }
.zutat-eingabe { display: grid; grid-template-columns: 84px 84px minmax(0, 1.6fr) minmax(0, 1.2fr) auto; gap: .4rem; margin-bottom: .45rem; align-items: center; }
.zutat-eingabe .f-einheit { padding-left: .5rem; padding-right: .3rem; }
.schritt-eingabe { display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto; gap: .6rem; align-items: start; margin-bottom: .6rem; }
.schritte-spalte { counter-reset: eingabeschritt; }
.schritte-spalte .schritt-eingabe { counter-increment: eingabeschritt; }
.schritt-nr, .hinweis-punkt {
  width: 2rem; height: 2rem; border-radius: 50%; background: var(--akzent-weich); color: var(--akzent); display: grid; place-items: center;
  font-weight: 600; font-size: .9rem; margin-top: .3rem;
}
.schritt-nr::before { content: counter(eingabeschritt); }
.hinweis-punkt { font-family: var(--serif); font-style: italic; background: var(--warn-weich); color: var(--warn-text); }
.schritt-eingabe textarea { min-height: 64px; overflow: hidden; }
.speichern-leiste { position: sticky; bottom: 0; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(6px); padding: .75rem 0; margin-top: 0; z-index: 5; }

/* ---- Verwaltung: Kategorien und Katalog ------------------------------------ */
.reiter { display: flex; gap: .25rem; border-bottom: 1px solid var(--linie); margin-bottom: 1.5rem; flex-wrap: wrap; }
.reiter a { padding: .6rem 1.1rem; border-bottom: 2px solid transparent; color: var(--tinte-weich); font-weight: 500; margin-bottom: -1px; }
.reiter a:hover { color: var(--tinte); }
.reiter a.aktiv { color: var(--akzent); border-bottom-color: var(--akzent); }
.inline-form { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.inline-form input[type="text"], .inline-form select { width: auto; flex: 1 1 160px; min-width: 0; }
.kat-zeile { display: flex; gap: .5rem; align-items: center; padding: .4rem 0; border-bottom: 1px solid var(--linie); flex-wrap: wrap; }
.kat-zeile:last-child { border-bottom: 0; }
.kat-zeile form { margin: 0; }
.kat-zeile .inline-form { flex: 1; }
.alias-liste { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .4rem; }
.alias-liste .plakette form { display: inline; margin: 0; }
.alias-liste button { background: none; border: 0; cursor: pointer; color: inherit; padding: 0 0 0 .3rem; font-size: 1rem; line-height: 1; }

@media (max-width: 900px) {
  .rezeptkopf.mit-bild { grid-template-columns: 1fr; }
  .rezept-inhalt { grid-template-columns: 1fr; }
  .zutatenkarte { position: static; }
}
@media (max-width: 760px) {
  .zutat-eingabe { grid-template-columns: 72px 1fr auto; }
  .zutat-eingabe .f-name { grid-column: 1 / 3; grid-row: 2; }
  .zutat-eingabe .f-notiz { grid-column: 1 / 3; grid-row: 3; }
  .zutat-eingabe .zeilenknoepfe { grid-column: 3; grid-row: 1 / 4; flex-direction: column; }
  .zutat-eingabe { padding-bottom: .5rem; border-bottom: 1px dashed var(--linie-stark); }
  .doppelfeld { grid-template-columns: 80px 1fr; }
  .speichern-leiste { bottom: calc(var(--unternav) + env(safe-area-inset-bottom, 0px)); }
}
@media print {
  .zurueck, .rezept-aktionen, .portionswahl .rund-btn, .portionen-basis button { display: none !important; }
  .rezept-inhalt { display: block; }
  .zutatenkarte { position: static; margin-bottom: 1rem; }
  .rezeptbild { max-height: 7cm; width: auto; box-shadow: none; }
  .rezeptkopf.mit-bild { grid-template-columns: auto 1fr; }
  .karte { break-inside: avoid; }
}

/* ---- Wissenssammlung ------------------------------------------------------ */
.wissen-bereich { margin-bottom: 2.25rem; }
.wissen-bereich h2 { margin-bottom: .15rem; }
.wissen-bereich > p { margin: 0 0 1rem; }
.wissen-artikel { max-width: 820px; margin: 0 auto; }
.wissen-kopf h1 { margin: .15rem 0 .5rem; }
.wissen-kopf .knopfzeile form { margin: 0; }
.wissen-text { padding: clamp(1.25rem, 3vw, 2.25rem); font-size: 1.04rem; line-height: 1.7; }
.wissen-text h2 { font-size: 1.3rem; margin: 1.75rem 0 .5rem; }
.wissen-text h2:first-child { margin-top: 0; }
.wissen-text p { margin: 0 0 1rem; }
.wissen-text ul { margin: 0 0 1.1rem; padding-left: 1.3rem; }
.wissen-text li { margin-bottom: .45rem; }
.wissen-tabelle { width: 100%; border-collapse: collapse; font-size: .95rem; margin: .25rem 0 1.25rem; }
.wissen-tabelle th, .wissen-tabelle td { text-align: left; padding: .55rem .75rem; border-bottom: 1px solid var(--linie); vertical-align: top; }
.wissen-tabelle th { background: var(--flaeche-2); font-weight: 600; }
.quellen ul { margin: 0 0 .75rem; padding-left: 1.2rem; }
.quellen li { margin-bottom: .45rem; overflow-wrap: anywhere; }
.wissen-links { margin: 0; padding-left: 1.2rem; }
.wissen-links li { margin-bottom: .4rem; }
@media print { .wissen-artikel .knopfzeile { display: none; } }

.techniken { margin: .75rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.techniken a.plakette { text-decoration: none; }
.schwierigkeit-info { margin: .25rem 0 .5rem; font-size: .9rem; }
.schwierigkeit-info summary { cursor: pointer; color: var(--akzent); font-weight: 500; }
.schwierigkeit-info p { margin: .5rem 0 .25rem; }
.schwierigkeit-info ul { margin: 0; padding-left: 1.2rem; }

/* ---- Hilfe ------------------------------------------------------------------ */
.hilfe-gruppe { margin: 2rem 0 .75rem; font-size: 1.35rem; }
.hilfe-raster { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); align-items: start; }
.hilfe-raster h3 { margin: 0 0 .5rem; font-size: 1.1rem; }
.hilfe-liste { margin: 0 0 1rem; padding-left: 1.2rem; }
.hilfe-liste li { margin-bottom: .5rem; }

/* ---------- Kochbücher ---------- */
.kochbuch-kachel { display: flex; flex-direction: column; gap: .75rem; justify-content: space-between; }
.kochbuch-kachel .kachel-link { display: flex; flex-direction: column; gap: .35rem; color: inherit; text-decoration: none; }
.kochbuch-kachel .kachel-link strong { font-family: var(--serif); font-size: 1.1rem; }
.kochbuch-symbol { color: var(--akzent); }
.nur-leser { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.viewer-kopf { margin-bottom: 1rem; }
.viewer { display: flex; flex-direction: column; gap: .6rem; }
.viewer-leiste {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; padding: .5rem .75rem;
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: var(--schatten);
  position: sticky; top: 0; z-index: 5;
}
.viewer-gruppe { display: flex; align-items: center; gap: .35rem; }
.viewer-gruppe .icon-btn { min-width: 2.4rem; height: 2.4rem; font-size: 1.25rem; line-height: 1; }
.viewer-gruppe .schmal-text { font-size: .8rem; padding: 0 .6rem; }
.viewer-seite { display: flex; align-items: center; gap: .35rem; margin: 0; font-size: .95rem; }
.viewer-seite input { width: 3.6rem; text-align: center; padding: .4rem .3rem; }
.viewer-suche { display: flex; gap: .4rem; flex: 1 1 14rem; min-width: 12rem; }
.viewer-suche input { flex: 1; min-width: 0; }
.viewer-seitenleiste-knopf { display: none; }
.viewer-status { min-height: 1.4rem; font-size: .9rem; color: var(--tinte-weich); }
.viewer-status a { font-weight: 500; }
.viewer-rumpf { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 1rem; align-items: start; }
.viewer-buehne {
  background: var(--flaeche-2); border: 1px solid var(--linie); border-radius: var(--radius);
  padding: 12px; overflow: auto; height: calc(100vh - 17rem); min-height: 22rem; text-align: center; outline-offset: -2px;
}
.viewer-seitenrahmen { position: relative; display: inline-block; background: #fff; box-shadow: 0 2px 14px rgba(0, 0, 0, .22); text-align: left; max-width: none; }
.viewer-seitenrahmen canvas { display: block; }
.viewer-laden { padding: 3rem 1rem; color: var(--tinte-weich); }
.viewer-leiste-seite { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1rem; max-height: calc(100vh - 17rem); min-height: 12rem; overflow: auto; }
.viewer-leiste-seite h2 { font-size: 1rem; margin: 0 0 .5rem; }
.viewer-leiste-seite section + section { margin-top: 1.25rem; }
.trefferliste, .rezeptliste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .35rem; }
.trefferliste button {
  display: block; width: 100%; text-align: left; background: transparent; border: 1px solid var(--linie); border-radius: var(--radius-klein);
  padding: .5rem .65rem; color: var(--tinte); cursor: pointer; font: inherit;
}
.trefferliste button:hover, .trefferliste .aktuell button { background: var(--akzent-weich); border-color: var(--akzent); }
.trefferkopf { display: block; font-weight: 600; font-size: .85rem; }
.treffertext { display: block; font-size: .85rem; color: var(--tinte-weich); overflow-wrap: anywhere; }
.treffertext mark, .viewer-status mark { background: rgba(212, 175, 55, .45); color: inherit; border-radius: 2px; padding: 0 1px; }
.rezeptliste li { display: flex; gap: .5rem; align-items: baseline; font-size: .92rem; }
.seitenmarke { flex: none; min-width: 3rem; text-align: center; font-size: .78rem; font-weight: 600; padding: .15rem .4rem; border-radius: 999px; border: 1px solid var(--linie-stark); background: var(--flaeche-2); color: var(--tinte); cursor: pointer; }
.seitenmarke.leer { cursor: default; color: var(--tinte-weich); }
.rezept-herkunft-buch { white-space: nowrap; }

/* Textebene von PDF.js (unsichtbarer Text über dem Bild: Markieren, Kopieren, Treffer-Hervorhebung) */
.textLayer { position: absolute; inset: 0; overflow: clip; opacity: 1; line-height: 1; text-align: initial; text-size-adjust: none; transform-origin: 0 0; z-index: 1; }
.textLayer :is(span, br) { color: transparent; position: absolute; white-space: pre; cursor: text; transform-origin: 0 0; }
.textLayer span.markedContent { top: 0; height: 0; }
.textLayer ::selection { background: rgba(0, 90, 220, .3); }
.textLayer span.treffer { background: rgba(255, 196, 0, .5); border-radius: 2px; }
.textLayer br::selection { background: transparent; }

@media (max-width: 900px) {
  .viewer-rumpf { grid-template-columns: minmax(0, 1fr); }
  .viewer-seitenleiste-knopf { display: inline-flex; }
  .viewer-leiste-seite { display: none; max-height: 45vh; }
  .viewer.leiste-offen .viewer-leiste-seite { display: block; }
  .viewer-buehne { height: calc(100vh - 20rem); min-height: 18rem; padding: 8px; }
  .viewer-leiste { top: 0; }
}
@media print { .viewer-leiste, .viewer-leiste-seite, .viewer-status { display: none !important; } }

/* ---------- Update ---------- */
.sicherungsliste { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
.sicherungsliste li { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; padding: .6rem .8rem; border: 1px solid var(--linie); border-radius: var(--radius-klein); overflow-wrap: anywhere; }
.inline-form { display: inline-flex; gap: .4rem; align-items: center; margin-left: auto; }
.inline-form input { width: 9rem; padding: .35rem .5rem; }
