/* ============================================================
   Exposé Editor — App-Shell
   Hell, ruhig, edel. Tannengrün als einziger Akzent,
   Gold ausschliesslich als Haarlinie (Markenregel).
   ============================================================ */

:root {
  --paper: #fcfbf8;
  --canvas: #f1efe9;
  --canvas-deep: #eae7de;
  --ink: #26302a;
  --muted: #7d8a82;
  --line: #e5e0d3;
  --line-soft: #eee9dd;
  --tanne: #1e3a2b;
  --tanne-hover: #274a37;
  --tanne-soft: #e8ede9;
  --gold: #c4a75f;
  --creme: #f4eedf;
  --danger: #b04a3f;
  --danger-soft: #f7e9e6;
  --shadow-tile: 0 1px 2px rgba(38, 48, 42, 0.06), 0 10px 28px rgba(38, 48, 42, 0.09);
  --shadow-pop: 0 4px 12px rgba(38, 48, 42, 0.1), 0 16px 48px rgba(38, 48, 42, 0.16);
  --font-ui: 'Jost', 'Segoe UI', Arial, sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
}

body {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 15px;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 2px solid var(--tanne);
  outline-offset: 2px;
}

/* ---------- Topbar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 60px;
  padding: 0 20px;
  background: var(--paper);
  border-bottom: 1px solid var(--gold); /* die Gold-Haarlinie */
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.brand .monogramm {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--tanne);
  color: var(--creme);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  line-height: 1;
  border-radius: 4px;
}
.brand .wortmarke {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}
.brand .wortmarke b {
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand .wortmarke span {
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.topbar .spacer { flex: 1; }

/* ---------- Buttons ---------- */

a.btn { text-decoration: none; color: inherit; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-weight: 400;
  white-space: nowrap;
  transition: background 0.12s ease, border-color 0.12s ease;
}
.btn:hover { background: var(--canvas); border-color: #d8d2c2; }
.btn:disabled { opacity: 0.45; cursor: default; }
.btn:disabled:hover { background: var(--paper); }

.btn.primary {
  background: var(--tanne);
  border-color: var(--tanne);
  color: #fdfcf7;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.btn.primary:hover { background: var(--tanne-hover); border-color: var(--tanne-hover); }

.btn.danger { color: var(--danger); border-color: #e4c8c2; }
.btn.danger:hover { background: var(--danger-soft); }

.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: var(--tanne-soft); }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--ink);
  transition: background 0.12s ease;
}
.icon-btn:hover { background: var(--tanne-soft); }
.icon-btn:disabled { opacity: 0.35; cursor: default; }
.icon-btn:disabled:hover { background: none; }
.icon-btn svg { width: 18px; height: 18px; }

/* ---------- Bibliothek ---------- */

.lib-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 32px 80px;
}

.lib-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.lib-head h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 34px;
  margin: 0;
  letter-spacing: 0.01em;
}
.lib-head .count { color: var(--muted); font-size: 14px; }

.workdir {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 28px;
}
.workdir button {
  color: var(--tanne);
  font-size: 13.5px;
  border-bottom: 1px solid transparent;
}
.workdir button:hover { border-bottom-color: var(--tanne); }

.section-label {
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 34px 0 14px;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 26px;
}

.tile {
  display: flex;
  flex-direction: column;
  align-self: start;
  justify-content: flex-start;
  text-align: left;
  border-radius: 6px;
  outline-offset: 4px;
}
.tile .sheet { width: 100%; }
.tile .sheet {
  position: relative;
  background: #fff;
  border-radius: 3px;
  box-shadow: var(--shadow-tile);
  aspect-ratio: 210 / 297;
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.tile .sheet.quer { aspect-ratio: 297 / 210; }
.tile:hover .sheet {
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(38, 48, 42, 0.07), 0 18px 44px rgba(38, 48, 42, 0.16);
}
.tile .sheet img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.tile .sheet .placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: repeating-linear-gradient(-45deg, #fafaf7, #fafaf7 12px, #f5f4ef 12px, #f5f4ef 24px);
  font-size: 13px;
}
.tile .name {
  margin: 12px 2px 2px;
  font-weight: 500;
  font-size: 14.5px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tile .meta {
  margin: 2px 2px 0;
  color: var(--muted);
  font-size: 12.5px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.tile .meta .dot::before { content: '·'; }

.tile.unsupported { cursor: default; }
.tile.unsupported .sheet { box-shadow: none; border: 1px dashed var(--line); background: transparent; }
.tile.unsupported:hover .sheet { transform: none; }
.tile.unsupported .name { color: var(--muted); font-weight: 400; }

.badge {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 10px;
  font-size: 11px;
  letter-spacing: 0.06em;
  background: var(--tanne-soft);
  color: var(--tanne);
}
.badge.gray { background: #edece6; color: var(--muted); }

.empty-state {
  padding: 70px 20px;
  text-align: center;
  color: var(--muted);
}
.empty-state .big {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--ink);
  margin-bottom: 8px;
}

/* Drag&Drop-Overlay */
.drop-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  background: rgba(244, 238, 223, 0.88);
  backdrop-filter: blur(3px);
}
.drop-overlay.active { display: grid; }
.drop-overlay .inner {
  border: 2px dashed var(--tanne);
  border-radius: 14px;
  padding: 48px 72px;
  text-align: center;
  color: var(--tanne);
  font-family: var(--font-display);
  font-size: 26px;
  background: var(--paper);
}

/* ---------- Editor-Layout ---------- */

.editor-shell {
  display: grid;
  grid-template-rows: 60px 1fr;
  grid-template-columns: 188px 1fr;
  grid-template-areas: 'top top' 'rail canvas';
  height: 100vh;
  overflow: hidden;
}
.editor-shell .topbar { grid-area: top; position: static; }

.doc-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 0 1 auto;
}

.save-state {
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
}
.save-state.error { color: var(--danger); }

.zoom-group {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 2px;
}
.zoom-group .zoom-val {
  min-width: 52px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.divider-v { width: 1px; height: 24px; background: var(--line); }

/* Seitenleiste */
.rail {
  grid-area: rail;
  overflow-y: auto;
  padding: 18px 14px 40px;
  background: var(--paper);
  border-right: 1px solid var(--line-soft);
  scrollbar-width: thin;
}
.rail-item {
  position: relative;
  margin-bottom: 16px;
  border-radius: 4px;
}
.rail-item .thumb-frame {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 3px rgba(38, 48, 42, 0.14);
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: outline-color 0.12s ease;
}
.rail-item.active .thumb-frame { outline-color: var(--tanne); }
.rail-item iframe {
  display: block;
  width: 100%;
  border: 0;
  pointer-events: none;
}
.rail-item .pagenum {
  text-align: center;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 5px;
}
.rail-item .rail-actions {
  position: absolute;
  top: 6px;
  right: 6px;
  display: none;
  gap: 4px;
}
.rail-item:hover .rail-actions { display: flex; }
.rail-item .rail-actions button {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(252, 251, 248, 0.94);
  box-shadow: 0 1px 4px rgba(38, 48, 42, 0.22);
}
.rail-item .rail-actions button:hover { background: #fff; color: var(--tanne); }
.rail-item .rail-actions button.del:hover { color: var(--danger); }
.rail-item .rail-actions svg { width: 14px; height: 14px; }
.rail-item .warn-dot {
  position: absolute;
  top: -5px;
  left: -5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--danger);
  border: 2px solid var(--paper);
  display: none;
}
.rail-item.has-overflow .warn-dot { display: block; }

/* Canvas */
.canvas {
  grid-area: canvas;
  overflow: auto;
  position: relative;
  scrollbar-width: thin;
}
.canvas-sizer { margin: 0 auto; padding: 36px 48px 120px; width: max-content; }
.doc-frame-wrap { transform-origin: top left; }
#docFrame { display: block; border: 0; background: transparent; }

/* Schwebende Formatleiste */
.format-bar {
  position: fixed;
  z-index: 60;
  display: none;
  align-items: center;
  gap: 2px;
  padding: 4px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-pop);
}
.format-bar.visible { display: flex; }
.format-bar button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  font-size: 14.5px;
}
.format-bar button:hover { background: var(--tanne-soft); }
.format-bar button.active { background: var(--tanne); color: #fdfcf7; }
.format-bar .sep { width: 1px; height: 20px; background: var(--line); margin: 0 3px; }
.format-bar .swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

/* Auswahl-Chip (schwebt neben selektiertem Block) */
.selection-chip {
  position: fixed;
  z-index: 55;
  display: none;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: var(--tanne);
  border-radius: 9px;
  box-shadow: var(--shadow-pop);
}
.selection-chip.visible { display: flex; }
.selection-chip button {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  color: #f2efe4;
  border-radius: 7px;
  font-size: 13px;
}
.selection-chip button:hover { background: rgba(255, 255, 255, 0.14); }
.selection-chip svg { width: 14px; height: 14px; }
.selection-chip .sep { width: 1px; height: 18px; background: rgba(255, 255, 255, 0.25); }

/* Bild-Panel */
.image-panel {
  position: fixed;
  right: 20px;
  top: 76px;
  z-index: 50;
  width: 252px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-pop);
  padding: 16px;
  display: none;
}
.image-panel.visible { display: block; }
.image-panel h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
}
.image-panel .hint { color: var(--muted); font-size: 12.5px; line-height: 1.5; margin: 0 0 12px; }
.image-panel .row { display: flex; gap: 8px; margin-bottom: 10px; }
.image-panel .row .btn { flex: 1; justify-content: center; height: 36px; font-size: 14px; }
.image-panel label.slider-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 14px 0 6px;
}
.image-panel input[type='range'] {
  width: 100%;
  accent-color: var(--tanne);
}
.image-panel .adjust-active-hint {
  background: var(--creme);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink);
}

/* ---------- Dialoge / Modals ---------- */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  place-items: center;
  background: rgba(38, 48, 42, 0.32);
  backdrop-filter: blur(2px);
}
.modal-backdrop.visible { display: grid; }
.modal {
  width: min(480px, calc(100vw - 48px));
  background: var(--paper);
  border-radius: 14px;
  box-shadow: var(--shadow-pop);
  padding: 26px 28px;
}
.modal h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
}
.modal p { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0 0 18px; }
.modal .field-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
}
.modal input[type='text'] {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.modal input[type='text']:focus { border-color: var(--tanne); outline: none; }
.modal .format-choice { display: flex; gap: 8px; margin: 16px 0 4px; }
.modal .format-choice button {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
  transition: border-color 0.12s ease, background 0.12s ease;
}
.modal .format-choice button .fmt { font-weight: 500; font-size: 15px; display: block; }
.modal .format-choice button .sub { font-size: 11.5px; color: var(--muted); display: block; margin-top: 2px; }
.modal .format-choice button.selected {
  border-color: var(--tanne);
  background: var(--tanne-soft);
}
.modal .actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}
.modal .target-hint { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

/* Ordner-Browser */
.dir-list {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-top: 10px;
}
.dir-list button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.dir-list button:last-child { border-bottom: none; }
.dir-list button:hover { background: var(--tanne-soft); }
.dir-list button svg { width: 15px; height: 15px; color: var(--muted); flex: none; }
.dir-current {
  font-size: 13px;
  color: var(--muted);
  word-break: break-all;
  background: var(--canvas);
  border-radius: 8px;
  padding: 8px 12px;
}

/* Menü (Dropdown) */
.menu {
  position: fixed;
  z-index: 70;
  min-width: 230px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-pop);
  padding: 6px;
  display: none;
}
.menu.visible { display: block; }
.menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  text-align: left;
  font-size: 14px;
}
.menu button:hover { background: var(--tanne-soft); }
.menu button.danger { color: var(--danger); }
.menu button.danger:hover { background: var(--danger-soft); }
.menu .menu-sep { height: 1px; background: var(--line-soft); margin: 5px 8px; }
.menu button svg { width: 16px; height: 16px; color: var(--muted); }
.menu button.danger svg { color: var(--danger); }

/* Einstellungen im Menü */
.menu label.check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 8px;
}
.menu label.check:hover { background: var(--tanne-soft); }
.menu label.check input { accent-color: var(--tanne); }

/* ---------- Toasts & Busy ---------- */

.toast-zone {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--ink);
  color: #f4f2ea;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 14px;
  box-shadow: var(--shadow-pop);
  pointer-events: auto;
  animation: toast-in 0.22s ease;
}
.toast.error { background: var(--danger); }
.toast button {
  color: var(--gold);
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.busy-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  place-items: center;
  background: rgba(252, 251, 248, 0.75);
  backdrop-filter: blur(2px);
}
.busy-overlay.visible { display: grid; }
.busy-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 44px;
  box-shadow: var(--shadow-pop);
}
.busy-card .msg { font-size: 15px; }
.spinner {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2.5px solid var(--line);
  border-top-color: var(--tanne);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Anmeldung ---------- */

.auth-body {
  display: grid;
  place-items: center;
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 70% -10%, #eef0ea 0%, transparent 60%),
    var(--canvas);
}
.auth-card {
  width: min(400px, calc(100vw - 40px));
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold); /* die Gold-Haarlinie */
  border-radius: 14px;
  box-shadow: var(--shadow-tile);
  padding: 34px 36px 36px;
}
.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}
.auth-brand .monogramm {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--tanne);
  color: var(--creme);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  border-radius: 5px;
}
.auth-brand .wortmarke { display: flex; flex-direction: column; line-height: 1.3; }
.auth-brand .wortmarke b {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.auth-brand .wortmarke span {
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.auth-card h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 27px;
  margin: 0 0 18px;
}
.auth-card .field-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
}
.auth-card input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.auth-card input:focus { border-color: var(--tanne); outline: none; }
.auth-hint { color: var(--muted); font-size: 13.5px; line-height: 1.5; margin: -8px 0 16px; }
.auth-error {
  margin-top: 14px;
  background: var(--danger-soft);
  color: var(--danger);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13.5px;
}
.auth-submit { width: 100%; justify-content: center; height: 44px; margin-top: 20px; font-size: 15px; }
.policy-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  font-size: 13px;
  color: var(--muted);
}
.policy-list li { padding: 3px 0 3px 24px; position: relative; }
.policy-list li::before {
  content: '○';
  position: absolute;
  left: 4px;
  color: var(--sand, #d8cfb6);
}
.policy-list li.ok { color: var(--tanne); }
.policy-list li.ok::before { content: '●'; color: var(--tanne); }

/* Benutzer-Menü / Admin */
.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 6px 0 14px;
  border-radius: 19px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 13.5px;
}
.user-chip .avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--tanne-soft);
  color: var(--tanne);
  font-weight: 500;
  font-size: 12px;
}
.users-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 6px; }
.users-table th {
  text-align: left;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}
.users-table td { padding: 10px; border-bottom: 1px solid var(--line-soft); }
.users-table td.actions { text-align: right; white-space: nowrap; }
.users-table .role-badge {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 9px;
  font-size: 11px;
  background: var(--tanne-soft);
  color: var(--tanne);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
