/* Fehlt / Nachbestellen im Entwurfsstil: Karten und Dialog aus Heute.dc.html, Werte 1:1. */
.fe-page > .msg:empty { display: none; }
.fe-page > .msg { margin-bottom: 20px; }
.fe-bar { margin-bottom: 20px; }

/* Raster der Standort-Karten: nutzt die Breite (2 Spalten ab 1180, 3 ab 1600) */
.fe-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
@media (min-width: 1180px) { .fe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fe-grid.one { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1600px) { .fe-grid:not(.one) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fe-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
@media (min-width: 1180px) { .fe-split { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); } }

/* Karte wie "Fehlt im Laden" / "Fehlt-Meldungen" */
.fe-card { background: #FBF9F5; border: 1px solid #E2DACB; border-radius: 20px; padding: 22px 24px; min-width: 0; }
.fe-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fe-h { display: flex; align-items: center; gap: 8px; min-width: 0; font: 600 12px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #736B5F; }
.fe-h .ic { font-size: 14px; flex: none; }
.fe-h span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fe-cnt { font-size: 13px; color: #5A544B; white-space: nowrap; }
.fe-rows { display: flex; flex-direction: column; margin-top: 10px; }
.fe-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #EAE3D6; }
.fe-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fe-l { min-width: 0; }
.fe-l b { font-weight: 600; }
.fe-q { color: #5A544B; }
.fe-l .tag { margin-left: 4px; }
.fe-note { font-size: 13px; color: #736B5F; }
.fe-when { font-size: 12px; color: #736B5F; white-space: nowrap; }
.fe-row.done .fe-l { text-decoration: line-through; color: #736B5F; }
.fe-row.done .fe-l .tag { text-decoration: none; }
.fe-dot { width: 8px; height: 8px; border-radius: 50%; background: #F3A66E; flex: none; }
.fe-dot.ordered { background: #6F8F4E; }
/* runder Haken der Leitung (Entwurf: 24px, Rand #C9BBA5, erledigt matcha) */
.fe-tick { flex: none; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; border-radius: 50%; border: 1.5px solid #C9BBA5; background: transparent; color: transparent; cursor: pointer; transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease; }
.fe-tick .ic { font-size: 12px; stroke-width: 3; }
.fe-tick:hover:not(:disabled) { border-color: #5F7F40; color: #5F7F40; }
.fe-tick.on { background: #5F7F40; border-color: #5F7F40; color: #FBF9F5; }
.fe-tick:disabled { cursor: default; }
.fe-more { flex: none; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin: -4px -6px -4px 0; border: 0; border-radius: 9px; background: transparent; color: #5A544B; cursor: pointer; }
.fe-more .ic { font-size: 18px; }
.fe-more:hover { background: #EFE9DF; }
.fe-empty { padding: 14px 0 4px; color: #736B5F; font-size: 14px; }
.fe-foot { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.fe-foot .fe-bulk { align-self: flex-start; }
/* gestrichelter Knopf wie im Entwurf */
.fe-add { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 42px; border: 1px dashed #D3C8B7; border-radius: 12px; background: transparent; color: var(--ink); font: 600 14px/1 var(--sans); cursor: pointer; transition: background-color 150ms ease, border-color 150ms ease; }
.fe-add .ic { font-size: 16px; }
.fe-add:hover { background: #F4F1EA; border-color: #A9763F; }
.fe-side .fe-card { padding: 22px 24px; }
.fe-hint { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 0; font-size: 13px; color: #736B5F; line-height: 1.45; }
.fe-hint .ic { font-size: 16px; color: #A9763F; margin-top: 1px; flex: none; }
@media (max-width: 767px) {
  .fe-card { padding: 18px 16px; }
  .fe-row { gap: 10px; }
  .fe-when { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; max-width: 34%; }
}

/* Dialog "Etwas fehlt" (max 520, Abstaende 16) */
@media (min-width: 768px) { .dlg.fe-dlg { max-width: 520px; } }
.dlg.fe-dlg .dlg-b { padding: 16px 24px 22px; }
.fe-form { display: flex; flex-direction: column; gap: 16px; }
.fe-sugg-l { font-size: 13px; font-weight: 600; color: #5A544B; margin-bottom: 8px; }
.fe-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fe-chip { height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid #D3C8B7; background: #FBF9F5; color: var(--ink); font: 600 13px/1 var(--sans); cursor: pointer; transition: background-color 150ms ease, border-color 150ms ease; }
.fe-chip:hover { border-color: #A9763F; }
.fe-chip.on { border-color: #A9763F; background: #FDE8D7; }
.fe-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fe-opt { font-weight: 400; color: #736B5F; font-size: 13px; }
.btn.fe-off { opacity: .5; }
@media (max-width: 767px) { .dlg.fe-dlg .dlg-b { padding: 16px; } }
