/* IBI approved colours (D-348): light blue #0d5f9a on #eef6fc. 4.5:1 contrast. */
:root {
  --ink: #1a2a34;
  --muted: #3d5566;
  --page: #eef6fc;
  --glow: #e0f0fa;
  --accent-glow: rgba(13, 95, 154, 0.16);
  --surface: #ffffff;
  --soft: #d6eaf7;
  --brand: #0d5f9a;
  --brand-hi: #1a7ab8;
  --on-brand: #ffffff;
  --accent: #0d5f9a;
  --line: #c5dcec;
  --edge: #3a6a90;
  --shadow: rgba(13, 50, 80, 0.12);
  --focus: #0d5f9a;
  --error: #7a1f1f;
  --error-bg: #fdecec;
}

/* #1018 worker schedule agenda. Layout only: on wide screens the table shows and the day-grouped agenda is hidden; on
   phones the agenda shows and the table (still in the page) is hidden. Both come from the same allowlisted rows. */
.api-agenda h3 { margin: 1rem 0 0.25rem; }
.api-agenda ul { margin: 0; padding-left: 1.25rem; }
.api-agenda li { margin: 0.25rem 0; overflow-wrap: anywhere; }
@media (min-width: 48rem) { .api-agenda { display: none; } }
@media (max-width: 47.99rem) { .has-agenda .table-wrap { display: none; } }

/* #931 exception queue. Layout only: the selected-exception panel sits under the table (the page column is too
   narrow to hold both side by side, which squeezed the table to about 200px), and on phones the two selects share
   a row. Markup, copy, links, query parameters and reading order are unchanged. */
.queue-body.has-panel { grid-template-columns: minmax(0, 1fr); }
.queue caption { text-align: left; }
@media (max-width: 47.99rem) {
  .queue .filters[aria-label="Filter the exceptions list"] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; align-items: end; }
  .queue .filters[aria-label="Filter the exceptions list"] label { min-width: 0; margin: 0; }
  .queue .filters[aria-label="Filter the exceptions list"] label:first-child { grid-column: 1 / -1; }
  .queue .filters[aria-label="Filter the exceptions list"] input, .queue .filters[aria-label="Filter the exceptions list"] select, .queue .filters[aria-label="Filter the exceptions list"] button { margin: 0; min-width: 0; }
}
