/* FEMA National Risk Index prefill and reference chips */

/* Hazards tab: the offer, and the county picker on the NRI page */
.nri-note { display: flex; gap: 10px 14px; align-items: center; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin: 0 0 20px; }
.nri-note > .icon { color: var(--blue); flex: none; }
.nri-note p { flex: 1 1 320px; font-size: 0.875rem; }
.nri-county { margin-bottom: 8px; }
.nri-missing { margin-bottom: 12px; padding: 10px 14px; border-radius: var(--radius); background: var(--warn-50); color: var(--warn); font-weight: 500; }
.nri-picker summary { cursor: pointer; color: var(--blue-700); font-weight: 600; font-size: 0.875rem; min-height: 24px; display: inline-flex; align-items: center; }
.nri-picker__forms { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 12px; }
.nri-picker__form { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.nri-picker__form .field { margin-bottom: 0; min-width: 220px; }

/* Suggestions table */
.nri-table td { vertical-align: middle; }
.nri-table__tick { width: 56px; }
.nri-table__tick input { width: 24px; height: 24px; accent-color: var(--blue); margin: 0; display: block; }
.nri-table label { cursor: pointer; display: inline-block; min-height: 24px; padding: 2px 0; }
.nri-table tr.is-unrated td { color: var(--muted); }
.nri-footnote { margin-top: 12px; max-width: 80ch; }

/* FEMA's rating word: weight steps up with risk; the word carries the meaning */
.nri-rating { font-size: 0.8125rem; white-space: nowrap; }
.nri-rating--5, .nri-rating--4 { font-weight: 700; color: var(--ink); }
.nri-rating--3 { font-weight: 600; color: var(--ink); }
.nri-rating--2, .nri-rating--1 { font-weight: 400; color: var(--ink-2); }
.nri-rating--none { color: var(--muted); font-style: italic; }

/* Quiet reference line on the hazard page and in the survey */
.nri-chip { display: flex; gap: 8px; align-items: flex-start; margin: 6px 0 4px; padding: 7px 12px; background: var(--ground); border: 1px solid var(--line-soft); border-radius: var(--radius); font-size: 0.8125rem; color: var(--ink-2); max-width: 70ch; }
.nri-chip .icon { color: var(--blue); flex: none; width: 16px; height: 16px; margin-top: 2px; }
.nri-chip__src { color: var(--muted); }
.nri-chip a { color: var(--blue-700); }
.workbench__main .nri-chip { margin: -6px 0 18px; }
