/* Incidents: colours and pieces on top of the shared MedStock styles */
:root { --brand: #4a2a5e; --brand-2: #6b3d87; }
@media (prefers-color-scheme: dark) { :root { --brand: #2e1a3b; --brand-2: #b48ad0; } }
.mfa-qr { background: #fff; padding: 10px; border-radius: 12px; width: 200px; margin: 10px 0; }
.mfa-qr svg { width: 100%; height: auto; display: block; }
.mfa-key { font-family: ui-monospace, monospace; font-size: 1.05rem; letter-spacing: .05em; word-break: break-all; }
.types { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.types button { text-align: left; padding: 14px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; cursor: pointer; min-height: 80px; }
.types button b { display: block; margin-bottom: 4px; }
.types button span { color: var(--muted); font-size: .85rem; }
.types button.on { border-color: var(--brand-2); box-shadow: 0 0 0 2px var(--brand-2) inset; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.timeline li { border-left: 3px solid var(--line); padding: 2px 0 2px 12px; }
.timeline li.kind-close { border-color: var(--ok); }
.timeline li.kind-addendum { border-color: var(--warn); }
.timeline .when { color: var(--muted); font-size: .8rem; }
.req { display: grid; gap: 8px; }
.req > div { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); }
.prewrap { white-space: pre-wrap; }
.big-report { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 64px; font-size: 1.1rem; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
