/* Einschätzungen (list and one matter) and the badge "Dringend" on every staff screen.
   Only what design.css, app.css, conversations.css and intake.css do not provide. */

/* The badge "Dringend" (SPEC 17.1 step 5): used on several screens, loaded by base.html. */
.chip-urgent { background: var(--error); color: #fff; font-weight: 600; height: 20px; padding: 0 7px; font-size: 11px; letter-spacing: .02em; }
.reported-mark { color: var(--text-muted); font-size: 11px; font-weight: 500; white-space: nowrap; }
.add-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 10px 16px; background: hsl(33 60% 95%); border-radius: 12px; margin-bottom: 12px; font-size: 13px; }
.add-banner form { margin: 0; }

/* --- List ------------------------------------------------------------------------- */
.mt-table { min-width: 1040px; }
.mt-head, .mt-row { display: grid; grid-template-columns: minmax(130px, 1fr) minmax(170px, 1.3fr) minmax(140px, 1fr) 110px minmax(150px, 1fr) 120px 90px; gap: 12px; align-items: start; padding: 10px 16px; }
.mt-head { font-size: 12px; font-weight: 600; color: var(--text-muted); background: hsl(33 70% 96%); }
.mt-row { border-top: 1px solid var(--line); font-size: 13px; color: var(--ink); }
.mt-row:hover { background: hsl(var(--foreground) / .03); }
.mt-row.is-urgent { box-shadow: inset 3px 0 0 var(--error); }
.mt-row.is-stalled { background: hsl(33 60% 97%); }
.mt-overdue { color: var(--error); font-weight: 600; }
.mt-adds { min-width: 760px; }

/* --- One matter ------------------------------------------------------------------- */
.mt-untrusted { margin: 0; padding: 10px 12px; border-left: 3px solid var(--line-strong); background: hsl(33 70% 96%); border-radius: 0 8px 8px 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 20px; }
.mt-mark { display: inline-block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); margin-bottom: 6px; }
.mt-draft { border: 2px dashed var(--line-strong); border-radius: 10px; padding: 12px 14px; background: hsl(33 70% 98%); }
.mt-draft-mark { display: block; color: var(--error); font-weight: 700; font-size: 12px; margin-bottom: 8px; }
.mt-draft-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 20px; margin: 0; }
.mt-form { display: flex; flex-direction: column; gap: 12px; padding: 16px 20px; }
.mt-form textarea.input { height: 260px; width: 100%; line-height: 20px; }
.mt-approved { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 21px; margin: 0; padding: 12px 14px; border-left: 3px solid var(--success); background: var(--success-tint); border-radius: 0 8px 8px 0; }
.mt-pad { padding: 14px 20px; display: flex; flex-direction: column; gap: 8px; }

/* --- Fragen (M5f): the list of questions and the card of one ---------------------- */
.fq-table .mt-head, .fq-table .mt-row { grid-template-columns: minmax(120px, .9fr) minmax(200px, 1.6fr) minmax(150px, 1.1fr) 140px 150px 120px 80px; }
.mt-row.fq-urgent { background: var(--error-tint); }
.fq-answer textarea.input { height: 180px; width: 100%; line-height: 20px; }
.fq-name-line { font-weight: 600; font-size: 13px; padding: 6px 10px; background: hsl(33 70% 96%); border-radius: 8px; }
.fq-present { padding: 8px 12px; border-radius: 10px; background: var(--success-tint); color: var(--success); font-size: 13px; }
.fq-present.is-other { background: hsl(33 60% 95%); color: var(--ink); }
.fq-msg { display: flex; flex-direction: column; gap: 4px; }
.fq-said { margin: 0; padding: 8px 12px; border-left: 3px solid var(--success); background: hsl(var(--foreground) / .03); border-radius: 0 8px 8px 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; }
