/* Coverage numbers worksheet and insurance complaint guide (cov, December 1, 2026). Prefix cov-. */

/* Policy type, a row of large tap targets. */
.cov-type { border: 0; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.cov-type legend { font-weight: 620; color: var(--text); margin-bottom: 8px; padding: 0; font-size: .97rem; }
.cov-type label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--tint-2); border-radius: 999px; background: #fff; cursor: pointer; font-size: .95rem; color: var(--text); }
.cov-type label:has(input:checked) { border-color: var(--dusk); background: var(--tint); font-weight: 620; }
.cov-type input { width: 18px; height: 18px; margin: 0; accent-color: var(--dusk); }
.cov-field .hint b { font-weight: 650; color: var(--gold-ink); }
.cov-field[hidden] { display: none; }

/* The coverage card. */
.cov-sum { margin: 0 0 12px; display: grid; gap: 0; }
.cov-sum > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.cov-sum dt { color: var(--body); font-size: .93rem; }
.cov-sum dd { margin: 0; color: var(--text); font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.cov-math { background: var(--tint); border-radius: var(--radius-sm); padding: 14px 16px; margin: 0 0 12px; }
.cov-math-k { margin: 0 0 6px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dusk); }
.cov-math ul { margin: 0; padding-left: 18px; font-size: .92rem; line-height: 1.5; }
.cov-math li { margin: 0 0 4px; }
.cov-limit { color: var(--muted); margin: 0; }
.cov-restore { position: relative; cursor: pointer; }
.cov-restore:focus-within { outline: 3px solid var(--gold-strong); outline-offset: 2px; }

/* Made-up declarations page. */
.cov-dec { margin: 8px 0 1.6em; }
.cov-dec-paper { background: #fff; border: 1px solid var(--hairline); border-radius: 6px; padding: clamp(16px, 3vw, 28px); box-shadow: var(--lift); max-width: 560px; font-variant-numeric: tabular-nums; }
.cov-dec-h { margin: 0 0 8px; font-weight: 750; color: var(--text); font-size: 1.05rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; }
.cov-dec-h span { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink); background: var(--gold-tint); border-radius: 999px; padding: 3px 10px; align-self: center; }
.cov-dec-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: .8rem; color: var(--muted); padding-bottom: 10px; border-bottom: 2px solid var(--text); }
.cov-dec-sec { margin: 14px 0 4px; font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.prose .cov-dec-t, .cov-dec-t { width: 100%; border-collapse: collapse; margin: 0; font-size: .93rem; min-width: 0; }
.cov-dec-t th, .cov-dec-t td { padding: 7px 0; border-bottom: 1px dotted var(--line-cool); text-align: left; font-weight: 400; color: var(--text); background: none; }
.cov-dec-t td { text-align: right; font-weight: 650; white-space: nowrap; padding-left: 10px; }
.cov-dec-t i { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: var(--dusk); color: #fff; font-style: normal; font-size: .74rem; font-weight: 700; vertical-align: 1px; }
.cov-dec .tbl-wrap, .cov-dec .ref-wrap { overflow: visible; margin: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.cov-dec .tbl-wrap table { min-width: 0; }

/* Directory. */
.cov-find { max-width: 360px; margin: 0 0 14px; }
.cov-find label { display: block; font-weight: 620; color: var(--text); margin-bottom: 6px; }
.cov-dir td a { display: inline-flex; align-items: center; min-height: 44px; }
.cov-dir tr[hidden] { display: none !important; }
.cov-dir td:last-child { font-variant-numeric: tabular-nums; }

@media print {
  .cov-type, .cov-restore, .cov-find { display: none !important; }
  .cov-math { background: none; border: 1px solid #999; }
  .cov-sum dd, .cov-sum dt { color: #000; }
}
