/* Cycle readiness on Home (specs/cycle-readiness.md). Editorial: hairlines and white space, no panels, no shadows, no column tint.
   Colours are omni.css vars only. */
.kit-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Disease areas as a single-choice selector (buttons, pressed = chosen) */
button.da { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; width: 100%; margin: 0; padding: 0; font: inherit; text-align: left; color: var(--ink); background: #FFFFFF; border: 1px solid transparent; border-radius: 0; cursor: pointer; }
button.da:hover { border-color: var(--b300); }
button.da[aria-pressed="true"] { border-color: var(--blue); }
button.da[aria-pressed="true"] .da__n { color: var(--blue); }
button.da:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.das .da__art { display: block; flex: none; }
.das .da__ico { display: none; }
/* Content starts at the top edge, so every art tile lines up even when a name wraps and a card grows. The numeral stays slim so "Breast Cancer" fits on one line at 1440. */
.das .da__b { display: flex; gap: 6px; padding: 14px 12px; }
.das .da__b b { flex: none; font-size: 20px; }
/* Up to 1100 px the cards are compact so the grid stays close: no art tile, a 4 px top band in the disease area's colour (--da, from DA_COLOR), a small icon, the name and this cycle's readiness ("4/8"). */
@media (max-width: 1100px) {
  .das { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  button.da { position: relative; flex-direction: row; justify-content: flex-start; align-items: center; gap: 10px; min-height: 64px; padding: 4px 14px 0; }
  button.da::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--da); }
  .das .da__art { display: none; }
  .das .da__ico { display: block; flex: none; width: 22px; height: 22px; color: var(--navy); }
  .das .da__ico svg { display: block; width: 100%; height: 100%; }
  .das .da__b { flex: 1; min-width: 0; padding: 0; gap: 8px; }
  .das .da__n { min-width: 0; }
}
@media (max-width: 760px) {
  .das { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  button.da { gap: 6px; padding: 4px 8px 0; }
  .das .da__ico { width: 18px; height: 18px; }
  .das .da__b { font-size: 14px; gap: 4px; }
  .das .da__b b { font-size: 18px; }
}
/* Narrow phones: "Ophthalmology" and "4/8" need the room the icon takes. */
@media (max-width: 420px) { .das .da__ico { display: none; } }

/* The grid */
.kit { margin-top: 48px; }
.kit__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 24px; }
.kit__t { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 300; }
.kit__hn { margin-left: 16px; font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--text2); white-space: nowrap; }
.kit__links { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.kit__all { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.kit__all:focus-visible, button.da:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.kit__all svg { width: 18px; height: 18px; flex: none; transition: transform .15s; }
.kit__all:hover svg { transform: translateX(4px); }
.kit__sum { margin: 6px 0 24px; font-size: 15px; color: var(--text2); }

.kit__tbl { width: 100%; border-collapse: collapse; table-layout: fixed; }
.kit__tbl col:first-child { width: 28%; }
.kit__tbl th, .kit__tbl td { padding: 0; text-align: left; font-weight: inherit; vertical-align: middle; }
.kit__tbl thead th, .kit__tbl thead td { padding: 0 12px 14px; vertical-align: bottom; border-bottom: 1px solid var(--hair); }
.kit__tbl thead td { padding-left: 0; }
.kit__tbl tbody th, .kit__tbl tbody td { border-bottom: 1px solid var(--hair); }
.kit__cn { display: block; font-size: 13px; line-height: 1.4; font-weight: 600; }
.kit__now { margin-left: 8px; font-size: 12px; font-weight: 600; color: var(--ink); }
.kit__cm { display: block; font-size: 12px; line-height: 1.4; color: var(--muted); }
.kit__ct { display: block; margin-top: 10px; font-size: 28px; line-height: 1.1; font-weight: 300; letter-spacing: -0.01em; color: var(--ink); }
.kit__ch.is-now .kit__ct { color: var(--blue); }
.kit__tbl .kit__rl { padding-right: 16px; font-size: 15px; line-height: 1.3; font-weight: 600; }

/* A cell is one link: dot and word */
.kit__c { display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 12px; font-size: 13px; font-weight: 600; color: var(--ink); }
a.kit__c:hover .kit__w { text-decoration: underline; text-underline-offset: 3px; }
a.kit__c:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.kit__dot { display: block; flex: none; width: 8px; height: 8px; border-radius: 50%; box-sizing: border-box; background: var(--muted); }
.kit__dot--ready { background: var(--ok); }
.kit__dot--expiring { background: var(--warn); }
.kit__dot--progress { background: var(--blue); }
.kit__dot--expired { background: var(--bad); }
.kit__dot--missing { background: transparent; border: 1.5px solid var(--bad); }
.kit__c--missing .kit__w { color: var(--bad-text); }
.kit__dash { display: block; flex: none; width: 10px; height: 0; border-top: 1.5px solid var(--line); }
.kit__c--notdue .kit__w { color: var(--muted); }

.kit__leg { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 12px; color: var(--text2); }
.kit__leg li { display: inline-flex; align-items: center; gap: 7px; }

@media (max-width: 760px) {
  .kit__hn { display: block; margin: 4px 0 0; white-space: normal; }
  .kit { margin-top: 36px; }
  .kit__tbl col:first-child { width: 34%; }
}
/* Phones: cells keep the dot, the word stays for screen readers; the legend explains the dots. */
@media (max-width: 600px) {
  .kit__tbl thead th { padding: 0 8px 12px; }
  .kit__c { padding: 0 8px; }
  .kit__c .kit__w { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .kit__now { display: block; margin-left: 0; }
  .kit__tbl .kit__rl { padding-right: 8px; font-size: 14px; }
  .kit__sum { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .kit__all svg { transition: none; } }
