/* programs.css: styles used only by this part of the site, loaded after site.css (inc/layout.php). Split from site.css in v61.
   Tokens, base and shared parts stay in site.css. DESIGN.md describes them. */
/* ===== 11. Reduced motion and the pause key: everything still works, nothing moves on its own ===== */
/* ===== Innovation programs (/programs/ and /programs/program/). The list reuses the parts of the registry of studies (.reg-*, .record-*). DESIGN.md, section 4 ===== */
.prog-intro { display: grid; gap: var(--space-3); }
.prog-intro > p:not(.lead) { max-width: var(--measure); }
.prog-intro a { font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 0.15em; }
.seq-pads { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); padding-left: var(--drop); padding-bottom: var(--drop); }
@media (min-width: 600px) { .seq-pads { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-3); } }
@media (min-width: 1000px) { .seq-pads { grid-template-columns: repeat(12, minmax(0, 1fr)); } }
.seq-month { font-family: var(--font-display); font-weight: 700; font-stretch: 100%; font-size: var(--step-0); }
.seq-year { font-weight: 400; color: var(--muted-on-paper); }
.seq-n { margin-top: auto; padding-top: var(--space-2); font-family: var(--font-display); font-weight: 800; font-stretch: 100%; font-size: var(--step-2); line-height: 1; font-variant-numeric: tabular-nums; }
.seq-meter { display: block; width: 100%; height: 0.5rem; border: 2px solid var(--ink); border-radius: var(--radius-pill); overflow: hidden; }
.seq-meter i { display: block; width: calc(var(--n, 0) * 100%); height: 100%; background: var(--ink); }
.seq-pad.is-empty .seq-year { color: inherit; }
.seq-pad.is-empty .seq-meter { border-color: currentColor; }
.seq-help { margin-top: var(--space-2); font-weight: 400; }
/* One text field per column, inside the filters */
.prog-col-fields { display: grid; gap: var(--space-3); padding-bottom: var(--space-4); }
.prog-col-fields .form-field { gap: var(--space-1); }
.prog-col-fields label { color: var(--muted-on-paper); }
/* The table: name and next deadline on phones, country and status from 600 px, all seven columns from 1180 px */
.prog-table .c-place { width: 17%; } .prog-table .c-kind { width: 11%; } .prog-table .c-level { width: 10%; } .prog-table .c-money { width: 9%; } .prog-table .c-status { width: 16%; } .prog-table .c-when { width: 7.4rem; }
@media (min-width: 600px) and (max-width: 1179px) { .prog-table .c-place { width: 22%; } .prog-table .c-status { width: 24%; } }
.prog-table .c-place, .prog-table .c-kind, .prog-table .c-level, .prog-table .c-money, .prog-table .c-status { display: none; }
@media (min-width: 600px) { .prog-table .c-place, .prog-table .c-status { display: table-cell; } }
@media (min-width: 1180px) { .prog-table .c-kind, .prog-table .c-level, .prog-table .c-money { display: table-cell; } }
.prog-table .c-place .reg-sub { margin-top: var(--space-1); }
.prog-table tbody .c-when { white-space: nowrap; }
.prog-table .state { align-items: flex-start; font-weight: 400; font-size: inherit; }
.prog-table .state-lamp { margin-top: 0.3em; }
/* A programme page */
.prog-date { font-family: var(--font-display); font-weight: 800; font-stretch: 100%; font-size: var(--step-2); line-height: 1; }
