/* The claim's Delay analysis tab (ew2/web/delay.js). Red, amber and green keep their word. */
.dl-pill.dl-red { background: #fbecea; color: #9d2b25; }
.dl-pill.dl-amber { background: #fff4dc; color: #8a5a00; }
.dl-pill.dl-green { background: #e7f4ea; color: #1f6b3a; }
.dl-banner { padding: 8px 12px; border-radius: 6px; margin: 8px 0; }
.dl-banner.dl-red { background: #fbecea; color: #9d2b25; }
.dl-banner.dl-amber { background: #fff4dc; color: #8a5a00; }
.dl-quote { margin: 8px 24px; font-style: italic; text-align: left; }
.dl-events li, .dl-figs li { margin: 8px 0; }
.dl-events input { width: 12em; }
.dl-figs li { display: flex; gap: 12px; align-items: flex-start; }
.dl-thumb { max-width: 160px; max-height: 120px; border: 1px solid #d9ded9; }
.dl-add { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 16px; align-items: start; margin-top: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--sheet); }
.dl-add > label { display: grid; gap: 6px; font-size: .85rem; color: var(--ink-2); }
.dl-add > label:first-child { grid-column: 1 / -1; }
.dl-add input, .dl-add select { font: inherit; width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--sheet); color: var(--ink); }
.dl-add > .btn { grid-column: 1 / -1; justify-self: start; }
/* Choose the method: laid out as the app's other forms, label above a full-width field (Han's item 9 and the 20 October 2026 night review). */
.dl-choose { display: grid; gap: 14px; margin: 8px 0 12px; }
.dl-choose > label { display: grid; gap: 6px; font-size: .85rem; color: var(--ink-2); }
.dl-choose select, .dl-choose textarea { font: inherit; width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--sheet); color: var(--ink); }
.dl-choose textarea { min-height: 5.5em; resize: vertical; }
/* The method, the requirement, the recommendation and the chooser stand apart as cards, each heading at the card's top
   (UI audit, 21 October 2026: the three cards touched, and each heading sat 40 px down). */
.dl-panel > * + * { margin-top: 16px; }
.dl-panel .cf-card > h3:first-child { margin-top: 0; }
