/* Kaffeekärtchen (06.10.2026): Leiste im Abschnitt „Raue / Beerdigungskaffee“ und Dialog mit Formular + Vorschau. Tokens der .wm-Bausteine. */
@media screen {
  .coffee-cards-bar { grid-column:1 / -1; display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; margin:2px 0 10px; padding:10px 14px; border:1px solid var(--wm-border,#dccfe4); border-radius:12px; background:var(--wm-tint,#f2ecf6); }
  .coffee-cards-bar > span { display:grid; grid-template-columns:auto 1fr; gap:2px 10px; align-items:center; min-width:0; }
  .coffee-cards-bar > span svg { grid-row:span 2; width:20px; height:20px; color:var(--wm-accent,#643182); }
  .coffee-cards-bar strong { font-size:13.5px; color:var(--wm-accent,#643182); }
  .coffee-cards-bar small { font-size:12px; color:var(--wm-muted,#6e6576); line-height:1.4; }

  .coffee-cards-modal .modal-body, .coffee-cards-modal .modal-content { max-width:none; }
  .coffee-cards-layout { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr); gap:20px; align-items:start; }
  .coffee-cards-form { display:grid; gap:12px; min-width:0; }
  .coffee-cards-form .field.full { grid-column:1 / -1; }
  .coffee-cards-form textarea { width:100%; min-height:64px; resize:vertical; }
  .coffee-cards-form .link-button { background:none; border:0; padding:0; color:var(--wm-accent,#643182); text-decoration:underline; cursor:pointer; font:inherit; font-size:12px; }
  .coffee-cards-count { display:flex; align-items:center; gap:6px; }
  .coffee-cards-count input { width:84px; text-align:center; }
  .coffee-cards-check { display:flex; gap:8px; align-items:center; margin-top:6px; font-size:13px; }
  .coffee-cards-symbol { display:flex; align-items:center; gap:8px; margin-top:6px; font-size:12px; color:var(--wm-muted,#6e6576); }
  .coffee-cards-symbol img { width:28px; height:28px; object-fit:contain; }
  .coffee-cards-preview { position:sticky; top:0; display:grid; gap:10px; }
  .coffee-cards-preview h3 { margin:0; font:600 15px/1.2 Cardo, Georgia, serif; color:var(--wm-accent,#643182); }
  .coffee-cards-card { margin:0; display:grid; gap:4px; }
  .coffee-cards-face { aspect-ratio:85 / 54; border:1px solid var(--wm-border,#dccfe4); border-radius:8px; overflow:hidden; background:var(--wm-soft,#f4f1f6); display:grid; place-items:center; box-shadow:var(--wm-shadow); }
  .coffee-cards-face img { display:block; width:100%; height:100%; object-fit:contain; background:#fff; }
  .coffee-cards-face span { padding:12px; font-size:12px; color:var(--wm-muted,#6e6576); text-align:center; }
  .coffee-cards-card.loading .coffee-cards-face { opacity:.6; }
  .coffee-cards-card figcaption { font-size:12px; color:var(--wm-muted,#6e6576); }

  @media (max-width: 900px) {
    .coffee-cards-layout { grid-template-columns:1fr; }
    .coffee-cards-preview { position:static; }
    .coffee-cards-bar button { width:100%; }
  }
}
