/* ============================================================
   MONTAGE – Wochenplan, Karten, Dialog (Kanban-Grundlagen: assets/verkauf.css .be-*)
   ============================================================ */
#mo-woche[hidden], #mo-kanban[hidden], #mo-liste[hidden], .mo-dialog [hidden] { display: none !important; }
.mo-filter { width: auto; min-width: 180px; }
.mo-woche-wrap { padding: 16px 24px 24px; }
.mo-woche-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 12px; }
.mo-woche-kopf strong { font-size: 16px; min-width: 240px; text-align: center; }
.mo-hinweis { margin-left: auto; font-size: 12.5px; color: var(--muted, #888); }
.mo-woche { display: grid; grid-template-columns: 220px repeat(7, minmax(150px, 1fr)); gap: 8px; overflow-x: auto; align-items: start; }
.mo-tag { background: var(--neutral-100, #f4f3f0); border: 1px solid var(--line, #e3e1dc); border-radius: 12px; min-height: 180px; display: flex; flex-direction: column; transition: box-shadow .12s, border-color .12s; }
.mo-tag.is-heute { border-color: var(--pal-gold, #e8c255); box-shadow: inset 0 3px 0 var(--pal-gold, #e8c255); }
.mo-tag.is-wochenende { opacity: .8; }
.mo-tag.is-ziel { border-color: var(--accent-dark, #835c30); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pal-gold, #e8c255) 40%, transparent); }
.mo-tag-ohne { background: var(--pal-gold-tint, #fdf8ea); }
.mo-tag header { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 10px 4px; gap: 6px; }
.mo-tag header b { font-size: 13px; text-transform: uppercase; letter-spacing: .03em; }
.mo-tag header small { font-size: 11.5px; color: var(--muted, #888); }
.mo-tag-liste { display: flex; flex-direction: column; gap: 6px; padding: 4px 6px 8px; }
.mo-karte { padding: 7px 8px 6px; }
.mo-karte .be-karte-name { font-size: 13.5px; }
.mo-karte.mo-st-erledigt { opacity: .6; }
.mo-karte.mo-st-abgesagt { opacity: .5; text-decoration: line-through; }
.mo-karte .th-status { font-size: 10.5px; padding: 0 6px; }
.mo-zeit { font-size: 12px; font-weight: 700; color: var(--accent-dark, #835c30); margin-top: 2px; }
.mo-arten { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 4px; }
.mo-arten span { font-size: 11px; padding: 0 6px; border-radius: 8px; background: var(--neutral-100, #f0efec); color: var(--ink-soft, #555); }
.mo-team { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 5px; }
.mo-ma { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; font-size: 11px; font-weight: 700; color: #fff; background: var(--ma, #888); text-transform: uppercase; }
.mo-sub, .mo-fz { display: inline-flex; align-items: center; gap: 2px; font-size: 11.5px; padding: 1px 7px; border-radius: 10px; background: var(--pal-blau-hell, #e3f0fb); color: var(--pal-blau-dunkel, #1b4f7a); }
.mo-fz { background: var(--neutral-100, #eee); color: var(--ink-soft, #555); }
.mo-fz i { font-size: 14px; }
.mo-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mo-chip { display: inline-flex !important; flex-direction: row; align-items: center; gap: 6px; margin: 0 !important; padding: 4px 10px 4px 6px; border: 1px solid var(--line, #ddd); border-radius: 18px; font-size: 13px; font-weight: 500; text-transform: none !important; letter-spacing: 0 !important; color: var(--ink, #222); cursor: pointer; }
.mo-chip input { width: auto !important; margin: 0; }
.mo-chip:has(input:checked) { background: var(--pal-gold-tint, #fdf8ea); border-color: var(--accent-dark, #835c30); }
.mo-ort-feld { display: flex; gap: 6px; align-items: center; }
.mo-ort-feld input { flex: 1; }
.mo-material { margin: 6px 0 12px; padding: 8px 12px; border-radius: 10px; background: var(--neutral-100, #f6f5f2); font-size: 13.5px; }
.mo-material ul { margin: 4px 0 0 0; padding: 0; list-style: none; columns: 2; column-gap: 24px; }
.mo-material li { break-inside: avoid; padding: 1px 0; }
.mo-material li span { display: inline-block; min-width: 56px; font-weight: 700; }
.mo-fotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; margin: 8px 0; }
.mo-foto { position: relative; margin: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--line, #ddd); }
.mo-foto img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.mo-foto .action-btn { position: absolute; top: 4px; right: 4px; background: rgba(255,255,255,.9); }
.mo-foto-neu { position: absolute; left: 4px; top: 4px; font-size: 11px; padding: 0 6px; border-radius: 8px; background: var(--pal-gruen, #2e7d32); color: #fff; }
.mo-foto-hinzu { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.mo-fehler { color: var(--danger, #c62828); display: inline-flex; gap: 4px; align-items: center; }
.mo-ok { color: var(--pal-gruen, #2e7d32); display: inline-flex; gap: 4px; align-items: center; }
.mo-fehler i, .mo-ok i { font-size: 17px; }
.mo-klein { padding: 2px 10px; min-height: 0; font-size: 12.5px; }
.field-width-220 { flex: 0 0 220px; }
@media (max-width: 760px) {
  .mo-woche-wrap { padding: 12px 16px 16px; }
  .mo-woche { grid-template-columns: 1fr; }
  .mo-tag { min-height: 0; }
  .mo-tag-liste:has(.be-spalte-leer) { display: none; }
  .mo-hinweis { display: none; }
  .mo-material ul { columns: 1; }
  .field-width-220 { flex: 1 1 100%; }
}
