/* A question that got no answer. Red = error, amber = wait or partial, blue = needs access. */
.er { --er-c: var(--tdtu-red-600); --er-line: var(--tdtu-red-600); --er-bg: var(--danger-50); }
.er.is-warning, .er-cut { --er-c: var(--warning); --er-line: var(--warning-500); --er-bg: var(--warning-50); }
.er.is-access { --er-c: var(--v-ink); --er-line: var(--v-ink); --er-bg: var(--primary-soft); }
.er-box { display: flex; align-items: center; gap: 12px; }
.er-ic { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border: 2px solid var(--er-line); border-radius: var(--radius-md); background: var(--er-bg); color: var(--er-c); }
.er-ic .ic { width: 20px; height: 20px; }
.er-body { flex: 1; min-width: 0; }
.er-title { display: block; font-family: var(--font-heading); font-size: 15.5px; line-height: 22px; font-weight: 800; color: var(--er-c); }
.er-msg { margin: 1px 0 0; color: var(--text); font-size: 14.5px; line-height: 22px; }
.er-msg a { color: var(--primary); font-weight: 600; }
.er-acts { display: flex; flex: none; gap: 8px; }
.er-btn { flex: none; height: 36px; padding: 0 14px; border: 2px solid var(--v-ink); border-radius: var(--radius-md); background: var(--v-cream); box-shadow: 2px 2px 0 var(--v-ink); color: var(--v-ink); font-size: 13.5px; font-weight: 700; white-space: nowrap; transition: transform var(--duration-fast), box-shadow var(--duration-fast), background var(--duration-fast); }
.er-btn:hover:not(:disabled) { background: var(--v-yellow); color: var(--tdtu-blue-800); box-shadow: 3px 3px 0 var(--v-ink); transform: translate(-1px, -1px); }
.er-btn:disabled { border: 1.5px dashed var(--tdtu-blue-300); background: var(--paper); box-shadow: none; color: var(--gray-700); cursor: not-allowed; font-variant-numeric: tabular-nums; }
.send:disabled, .send:disabled:hover { background: var(--primary-soft); color: var(--gray-700); box-shadow: 0 0 0 1.5px var(--tdtu-blue-300); cursor: not-allowed; }

/* An answer cut off half way. */
.er-cut { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 8px 8px 8px 10px; border-radius: var(--radius-md); background: var(--er-bg); color: var(--text); font-size: 14px; line-height: 20px; }
.er-cut .er-ic { width: 30px; height: 30px; border-width: 1.5px; background: var(--paper); }
.er-cut .er-ic .ic { width: 17px; height: 17px; }
.er-cut-text { flex: 1; min-width: 0; }
.er-cut .er-btn { background: var(--primary); color: var(--text-inverse); }
.er-cut .er-btn:hover:not(:disabled) { background: var(--v-yellow); color: var(--tdtu-blue-800); }
