/* Leave, design spec 5.17 and 9.1: only the wallchart specifics (the person column sticky while the days scroll, the
   dense day cells with their one letter code, the weekend and holiday columns on --surface-2) and the balance consequence of
   a queue row. The month grid, year view and legend are components.css (.cal-*). */
.data-table.wallchart { width: auto; min-width: 100%; }
.wallchart th[scope="row"], .wallchart thead th:first-child { position: sticky; left: 0; z-index: 1; min-width: 12rem; background: var(--surface-1); box-shadow: inset -1px 0 0 var(--line); }
/* A matrix has a head per day: its heads keep sentence case on one line, as the body text is drawn, not the uppercase
   label of a list table that wraps (design-d-spec.md 2). */
.data-table.wallchart thead th { padding-inline: var(--space-2); font-size-adjust: inherit; letter-spacing: normal; text-transform: none; vertical-align: middle; white-space: nowrap; }
.wallchart thead th.wallchart-day { min-width: 1.75rem; padding: var(--ph-space-05); text-align: center; }
/* Task 290 (#11 of task 289): the month's days are narrower, so a whole month of 31 days stands in the content width of a
   1440 screen beside the menu (the 30th and the 31st were cut off at 1143px in 1088). Narrower than that the region
   scrolls and a line at its top says so (grid.ejs); on a phone the board is the list of the days and the line is not drawn.
   Task 302 (decision 5): the line shows when the board actually overflows its box, by a scroll-state container query on
   the region itself (the page has no script of its own, and a scroll animation is refused by test 068): it stays in view
   at the region's left while the days scroll. A browser without scroll-state queries keeps task 290's measure, the
   page's own width. */
.wallchart-sheet:not(.wallchart-weeks) .wallchart thead th.wallchart-day, .wallchart-sheet:not(.wallchart-weeks) .data-table.wallchart tbody td { min-width: 1.5rem; padding-inline: 2px; }
.leave-board { container: leave-board / inline-size; }
/* The line follows the table in the region (the table stays its first child); the region's column draws the line first. */
.wallchart-sheet { display: flex; flex-direction: column; }
.wallchart-sheet > .data-table.wallchart { flex: none; align-self: flex-start; }
.wallchart-scroll-hint { order: -1; position: sticky; left: 0; margin: 0; padding: var(--space-1) var(--space-2); color: var(--ink-2); font-size: var(--ph-text-sm); }
@supports (container-type: scroll-state) {
  .wallchart-sheet { container-type: scroll-state; }
  .wallchart-scroll-hint { display: none; }
  @container scroll-state(scrollable: x) { .wallchart-scroll-hint { display: block; } }
}
@supports not (container-type: scroll-state) {
  @container leave-board (min-width: 67rem) { .wallchart-scroll-hint { display: none; } }
}
@media (max-width: 40rem) { .wallchart-scroll-hint { display: none; } }
@media print { .wallchart-scroll-hint { display: none; } }
.wallchart-weekday, .wallchart-number { display: block; }
.wallchart-weekday { color: var(--ink); font-weight: 400; }
.wallchart-day.is-today .wallchart-number { color: var(--accent-text); font-weight: 600; box-shadow: inset 0 -2px 0 var(--accent); }
.data-table.wallchart tbody td { min-width: 1.75rem; padding: var(--ph-space-05); text-align: center; }
.wallchart .is-rest { background: var(--surface-2); }
.wallchart td.is-closure { background: repeating-linear-gradient(135deg, var(--surface-2) 0 4px, var(--line) 4px 5px); }
.wallchart-mark, .wallchart-swatch { display: inline-grid; place-items: center; min-width: 1.5rem; height: 1.5rem; padding: 0 var(--ph-space-05); border: var(--border-w) solid var(--line); border-radius: var(--radius-s); color: var(--ink); font-size: var(--text--1); font-weight: 600; text-decoration: none; }
.wallchart-mark:hover { box-shadow: inset 0 0 0 1px var(--ink); }
/* Task 052i (F34): an approved day is a filled square, 5.65:1 against the page and its letter against the square (WCAG AA,
   text and graphics); the pale fill of before measured 1.12:1 against the page. */
.wallchart-mark.is-approved, .wallchart-swatch.is-approved { background: var(--ok); border-color: var(--ok); color: var(--surface-1); }
.cal-day.is-approved, .cal-swatch.is-approved { border-color: var(--ok); }
.wallchart-mark.is-pending, .wallchart-swatch.is-pending { background: var(--ph-warn-bg); border-style: dashed; border-color: var(--warn); color: var(--warn); }
.wallchart-mark.is-rejected, .wallchart-swatch.is-rejected { background: var(--surface-1); color: var(--ink-2); text-decoration: line-through; }
.wallchart-swatch { min-width: 1rem; width: 1rem; height: 1rem; padding: 0; }
.wallchart-letter { display: inline-grid; place-items: center; min-width: 1.5rem; height: 1.5rem; border: var(--border-w) solid var(--line); border-radius: var(--radius-s); font-weight: 600; }
.leave-balance strong { font-weight: 600; }
/* Task 053a (G1): what is left now and after the waiting requests, one labelled figure per line. Task 056a (theme 1, Rosa
   F7, Franco F16 F31, Nina N19): each figure its small label in the quiet ink over its amount in the ink of the text, the
   amount never broken, so a narrow column never reads the two as one sentence; on a phone the cell takes the card's
   whole width. */
.leave-balance-line { display: block; line-height: 1.35; }
.leave-balance-line + .leave-balance-line { margin-top: var(--ph-space-05); }
.leave-balance-label { display: block; color: var(--ink-2); font-size: var(--text--1); }
.leave-balance-amount { display: block; color: var(--ink); white-space: nowrap; }
.leave-queue td.leave-balance-cell { white-space: nowrap; }
.leave-balance-compact { font-weight: 600; }
.leave-negative { color: var(--warn); }
.data-table td.mono { overflow-wrap: anywhere; }
.leave-filters input[type="date"] { width: var(--ph-input-date); }
/* The request form (task 051b items 10 and 12): the time fields only for a partial day, the count and the send button
   together at the top after a preview, the live count of leave.js beside the send button. */
.leave-form:has(#leave-duration-days:checked) :is(.leave-times, .leave-proposed-help) { display: none; }
.leave-proposed-help { display: block; margin: var(--space-1) 0 0; }
.leave-preview { margin: 0 0 var(--space-3); padding: var(--space-2); background: var(--accent-subtle-bg); border: var(--border-w) solid var(--line); border-radius: var(--radius); }
.leave-preview > h2 { margin: 0 0 var(--space-1); }
.leave-preview .leave-send { margin-top: var(--space-2); }
.leave-send > .field-help, .leave-receiver { flex-basis: 100%; margin: 0; }
.leave-live { flex-basis: 100%; margin: 0; }
.leave-live > span { display: block; }
.leave-live > span:first-child { font-weight: 600; }
/* Task 329: a warning or a refusal of the live count is the alert of the page without script, close under the count's lines. */
.leave-live > .alert { margin: var(--space-1) 0 0; }
.leave-private { margin: var(--space-2) 0; }
/* The request lists (item 11): the person's note on the office row, whole names at 1440, the period on its own line of
   the card at 390 so it never runs into the quantity. */
.leave-type-cell { display: inline-flex; align-items: center; gap: var(--ph-space-05); }
.leave-row-note { display: inline-flex; color: var(--ink-2); cursor: help; }
.leave-row-note .app-icon { width: 1.125rem; height: 1.125rem; }
.leave-queue th[scope="row"] { min-width: 12rem; }
.leave-filter-disclosure { margin: 0 0 var(--space-2); }
/* The employee's month and, on a phone, the office timeline as a month grid with every day (task 051b item 14). */
.cal-year.cal-single { grid-template-columns: minmax(0, 32rem); }
.wallchart-phone { display: none; }
/* What a revocation does to a closed month wraps in the actions cell, whose words never wrap (item 11). */
.leave-closed-note { flex-basis: 100%; max-width: 26rem; white-space: normal; text-align: start; }
/* Task 052i. The request form: the everyday types as choices, the list of the other types once «Altri tipi di assenza» is
   chosen (B11, B12, A24). The decision panel: who is told and the way back in normal text (F17). The request page: the
   drawer apart from the history card (B23). The office list: the filters in a block of their own (F38). */
.leave-type-choice .leave-other-type { margin-inline-start: var(--space-3); }
.leave-form:has(#leave-typeKey-altro) .leave-other-type { display: none; }
.leave-form:has(#leave-typeKey-altro:checked) .leave-other-type { display: block; }
.leave-decision-told { margin: 0; }
.page-aside > * + * { margin-top: var(--space-3); }
/* Task 058a (H2): a decision taken on a row lands on the list with its flash on top, a little below the window's edge. */
.leave-office-list { display: flex; flex-direction: column; scroll-margin-top: var(--space-2); }
/* Design «Segnale»: on a wide screen the queue's segments and its filters share one line. */
@media (min-width: 40.0625rem) {
  .leave-office-list { flex-flow: row wrap; align-items: center; column-gap: var(--space-2); }
  /* Task 290 (#2 of task 289): a flex item is as wide as its widest content unless told otherwise; min-width 0 lets the
     queue's table scroll inside its own region, so the page never scrolls sideways and the decisions stay in reach. */
  .leave-office-list > * { flex: 1 1 100%; min-width: 0; }
  .leave-office-list > .leave-office-toolbar { flex: 0 0 auto; }
  .leave-office-list > .leave-office-filters { flex: 1 1 0; min-width: 0; }
  /* Task 290 (#2 of task 289): when the queue is wider than its region (long names, a 1440 screen with the menu), the
     decision of a row stays at the region's right edge while the rest scrolls under it, so «Approva» and «Rifiuta» are
     always in reach. */
  .leave-queue :is(td, th).row-actions, .leave-queue thead th:last-child { position: sticky; right: 0; z-index: 1; background: var(--surface-1); box-shadow: inset 1px 0 0 var(--line); }
  .leave-queue tbody tr:hover > td.row-actions { background: var(--bg); }
  /* An open «Rifiuta» drawer lies over the rows below, so its cell stands above their decision cells. */
  .leave-queue td.row-actions:has(.row-drawer[open]) { z-index: 3; }
  .leave-queue tr.is-muted > td.row-actions { background: var(--surface-2); }
}
/* Design «Segnale»: the office rows say a period in its two dates, on one line. */
.leave-queue td.leave-period { white-space: nowrap; }
/* Task 376 (rompi-ui 375 #10): «Congedi in corso» stacks its rows below 1100px (stack-below-wide); there the action is a
   row of its card, never a sticky column over the period, and the period keeps its two dates on one line down to the
   phone, where stack-on-phone gives it the whole row. */
@media (min-width: 40.0625rem) and (max-width: 68.749rem) {
  .leave-queue.stack-below-wide :is(td, th).row-actions, .leave-queue.stack-below-wide tbody tr:hover > td.row-actions { position: static; box-shadow: none; background: transparent; }
  .data-table.stack-below-wide td.leave-period { white-space: nowrap; overflow-wrap: normal; }
}
.leave-closed-lead { margin: 0 0 var(--space-2); }
/* Design «Segnale»: the form that registers an absence opens in the side panel and shows the fields of the type chosen:
   the group, its place, the reduced schedule and the workers of a CIG for a CIG alone, the days of prognosis for a sickness or
   an injury. Without :has every field shows. */
.absence-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: 0 var(--space-2); }
.absence-register:not(:has(#field-type option[value="cig"]:checked)) :is(.absence-cig-only, .form-field:has(#register-event-groupLabel, #register-event-groupLocation)) { display: none; }
.absence-register:not(:has(#field-type option:is([value="malattia"], [value="infortunio"]):checked)) .form-field:has(#register-prognosisDays) { display: none; }
/* Task 261: on a CIG the people are the fieldset «Chi è in cassa» alone, the ticks go under «Tutti», and each duration shows its own fields; a refusal over them draws
   them back, to choose or to empty. A browser without :has drops these rules: everything shows, a note says which list counts, and the server decides. */
.absence-register:has(#field-type option[value="cig"]:checked) .form-field:has(#field-employeeIds) { display: none; }
.absence-register:has(#register-who-all:checked) .absence-who-people { display: none; }
:is(.absence-register:has(#field-type option[value="cig"]:checked), .absence-cig-form) .absence-duration:not(.absence-duration-refused):not(:has(input[name="duration"][value="hours"]:checked)) .absence-hours-part { display: none; }
:is(.absence-register:has(#field-type option[value="cig"]:checked), .absence-cig-form) .absence-duration:not(.absence-duration-refused):not(:has(input[name="duration"][value="reduced"]:checked)) .absence-reduced-part { display: none; }
@supports selector(:has(*)) { .absence-no-has { display: none; } }
/* Task 271: «Sottotipo» lists the chosen type's subtypes alone, with no script; with no type chosen, or without :has, every group shows
   under its type's name and the server refuses a subtype of another type on the field. */
.absence-register:has(#field-type option[value="malattia"]:checked) #register-event-qualifier optgroup:not([data-group="malattia"]),
.absence-register:has(#field-type option[value="maternita"]:checked) #register-event-qualifier optgroup:not([data-group="maternita"]),
.absence-register:has(#field-type option[value="infortunio"]:checked) #register-event-qualifier optgroup:not([data-group="infortunio"]),
.absence-register:has(#field-type option[value="cig"]:checked) #register-event-qualifier optgroup:not([data-group="cig"]) { display: none; }
.absence-who-people .check-field { display: flex; flex-wrap: nowrap; align-items: baseline; gap: var(--space-1); }
.absence-who-people .check-field input { flex: none; }
/* Task 244: the pause comes off a case by the hour, never off a CIG: the help does not claim it on one. */
.absence-register:has(#field-type option[value="cig"]:checked) .absence-not-cig { display: none; }
/* Task 241: the seven weekdays of «Orario ridotto» share a row and wrap where it is narrow, each wide enough for 24:00. */
.absence-reduced { display: grid; grid-template-columns: repeat(auto-fill, minmax(4.25rem, 1fr)); gap: var(--space-1); margin: var(--space-1) 0; }
.absence-reduced input { width: 100%; }
/* Task 247: under «Tutti» the ticks do not count, so they go; without :has they stay in sight and the radio decides. */
.absence-day-form:has(#day-who-all:checked) .absence-day-people { display: none; }
/* A long name wraps beside its tick, never under it. */
.absence-day-people .check-field { display: flex; flex-wrap: nowrap; align-items: baseline; gap: var(--space-1); }
.absence-day-people .check-field input { flex: none; }
/* Task 247: «Giorni diversi», one date with its figures, each with its people and «Annulla»; the names wrap, the button stays beside them. */
.absence-day-changes { margin: 0; padding: 0; list-style: none; }
.absence-day-changes > li + li { margin-top: var(--space-2); padding-top: var(--space-2); border-top: var(--border-w) solid var(--line); }
.absence-day-date { margin: 0 0 var(--space-1); font-weight: 600; }
.absence-period-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-2) 0 var(--space-4); }
.absence-period-link { margin: 0 0 var(--space-3); }
.absence-day-figure { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-1) var(--space-2); }
.absence-day-figure + .absence-day-figure { margin-top: var(--space-1); }
.absence-day-figure > p { flex: 1 1 16rem; margin: 0; overflow-wrap: anywhere; }
.absence-day-figure > form { margin: 0; }
.absence-docs { white-space: nowrap; }
/* Design «Segnale», Tipi di assenza: one table with the groups as quiet heading rows, the export code a small chip beside
   the name; the restore of a changed type sits apart under the panel's form. */
.data-table.absence-types tr.group-row > th { padding-top: var(--space-3); background: var(--bg); color: var(--ink-2); font-size: var(--ph-text-sm); font-weight: 600; text-transform: none; }
.code-chip { display: inline-block; padding: 0 var(--ph-space-05); border: var(--border-w) solid var(--line); border-radius: var(--radius-s); color: var(--ink-2); font-size: var(--text--1); font-weight: 600; }
.type-restore { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-2); margin-top: var(--space-3); padding-top: var(--space-2); border-top: var(--border-w) solid var(--line); }
.type-restore > p { margin: 0; }
/* Assenze da giustificare (task 052i, F23 and N24): the person's whole name, and the two ways to bring the paper side by
   side or one under the other, never cut at 1440. */
.absence-paperwork th[scope="row"] { min-width: 12rem; }
.absence-paperwork td.row-actions { min-width: 13rem; white-space: normal; }
.absence-paperwork td.row-actions > * + * { margin: var(--ph-space-05) 0 0; }
/* Design «Segnale»: the toolbar of the board is one line, the period control at its end; the two weeks step a month
   with a double arrow. The legend of the sheets is one line of what they hold. */
.leave-calendar-toolbar > .period { margin-left: auto; }
.period-month::after { content: ""; width: 0.45em; height: 0.45em; margin-left: -0.15em; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.period-next.period-month::after { margin: 0 0 0 -0.15em; transform: rotate(-135deg); }
.wallchart-legend { gap: var(--space-1) var(--space-2); }
.leave-window-title { margin: var(--space-2) 0 var(--space-1); }
@media (max-width: 40rem) {
  .leave-office-list > .leave-list-rows { order: 1; }
  .leave-office-list > .leave-office-filters { order: 2; margin-top: var(--space-2); }
  .data-table.stack-on-phone td.leave-period { grid-column: 1 / -1; white-space: normal; }
  .data-table.stack-on-phone td.leave-balance-cell { grid-column: 1 / -1; min-width: 0; }
  .data-table.stack-on-phone td.leave-quantity { text-align: left; }
  .wallchart-phone { display: block; }
  .wallchart-sheet { display: none; }
  /* «Oggi» on its own row, so the month select keeps its whole name (item 14). */
  .leave-calendar-toolbar .period-today { flex: 1 0 100%; border-left: 0; border-top: var(--border-w) solid var(--line); }
  /* The two weeks' arrows stay one row of five equal steps. */
  .leave-calendar-toolbar > .leave-week-nav { flex: 1 1 100%; flex-wrap: nowrap; margin-left: 0; }
  .leave-week-nav > * { flex: 1 1 0; }
  .leave-balances-toolbar > .period { flex: 1 1 100%; }
  .leave-calendar-toolbar .leave-week-nav .period-today { flex: 1 1 0; border-top: 0; border-left: var(--border-w) solid var(--line); }
}
/* Task 053a. The two weeks grid says «in attesa» under a pending day's mark (F17), in the warn ink of the pending mark.
   The balances table keeps the person's whole name at 1440 (R11) and says above it how its row adds up (G1). A drawer's
   way out and the word that nothing changed sit with the row's actions (theme 6). */
/* The fourteen days share the width evenly, each wide enough for the word. */
.wallchart-weeks .data-table.wallchart thead th.wallchart-day, .wallchart-weeks .data-table.wallchart tbody td { min-width: 3.75rem; }
.wallchart-state { display: block; margin-top: var(--ph-space-05); color: var(--warn); font-size: var(--text--1); font-weight: 600; line-height: 1.2; white-space: nowrap; }
.leave-balances th[scope="row"] { min-width: 12rem; }
.leave-balances-sum { max-width: 72ch; margin: 0 0 var(--space-2); }
.data-table.leave-balances thead th, .data-table.leave-balances thead th.num { white-space: normal; }
/* Design «Segnale»: the list of one pool has short headings, their whole words in the tooltip, and a year end
   below zero in the warn ink with a mark. */
.leave-balances-pool abbr[title] { text-decoration: none; cursor: help; }
.leave-export-pending { margin: 0 0 var(--space-2); }
/* The request page (design «Segnale»): the balance's figures side by side, how they add up behind the «i»; who is told
   beside the «i» of the way back. */
.leave-balance-inline { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--space-1); }
.leave-balance-inline .leave-balance { display: inline-flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); }
.leave-balance-inline .leave-balance-line + .leave-balance-line { margin-top: 0; }
.leave-balance-inline .leave-balance-line.leave-balance-year-end { padding-top: 0; border-top: 0; }
.leave-decision-told > p { margin: 0; }
/* What a refusal does to a sheet already delivered (task 216b): its own sentence under who is told, before the buttons. */
.leave-delivered-sheet { margin: var(--space-1) 0 0; }
.leave-breakdown { margin-top: var(--space-3); }
/* Task 212: who else is out, one line per person with the name in weight; the paperwork as a checklist, one line per
   requirement (its name, its state, its action), a document on file opening on the whole line (row-clickable). */
.leave-coverage-lead { margin: 0 0 var(--ph-space-05); }
.leave-coverage-list { margin: 0; padding: 0; list-style: none; }
.leave-coverage-list > li { padding: var(--ph-space-05) 0; }
.leave-coverage-name { font-weight: 600; }
.leave-coverage-more { margin: var(--ph-space-05) 0 0; }
.requirement-list { margin: 0; padding: 0; list-style: none; border-top: var(--border-w) solid var(--line); }
/* «Cambia documento» and «Modifica» sit on their requirement's line, at its end; open, the form takes the width below. */
.requirement-item { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--space-2); padding: var(--space-1) 0; border-bottom: var(--border-w) solid var(--line); }
.requirement-line { display: flex; flex: 1 1 24rem; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-2); min-height: var(--ph-control-h-compact); border-radius: var(--radius); }
.requirement-item > .requirement-form, .requirement-more[open] { flex-basis: 100%; }
.requirement-line.row-clickable:hover { background: var(--bg); }
.requirement-label { flex: 0 0 14rem; color: var(--ink-2); }
.requirement-state { display: flex; flex: 1 1 12rem; flex-wrap: wrap; align-items: baseline; gap: 0 var(--space-1); min-width: 0; overflow-wrap: anywhere; }
.requirement-value { font-weight: 600; }
.requirement-date { color: var(--ink-2); font-size: var(--ph-text-sm); }
.requirement-state > .requirement-date:first-child { color: var(--ink); font-size: inherit; font-weight: 600; }
.requirement-actions { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-left: auto; }
.requirement-more { margin: 0; }
.requirement-more > summary { min-height: var(--ph-control-h-compact); }
.requirement-more[open] > summary { display: flex; width: fit-content; margin-left: auto; }
/* The two day-by-day disclosures read as links aligned with the text, close under the section they open. */
:is(.leave-coverage-days, details.leave-breakdown) > summary { margin-inline-start: calc(-1 * var(--space-2)); }
.leave-coverage-days { margin: var(--space-1) 0 0; }
.leave-coverage:has(+ details.leave-breakdown) { margin-bottom: 0; }
details.leave-breakdown { margin-top: 0; }
.requirement-form { display: grid; gap: var(--space-1); max-width: 32rem; margin: var(--space-1) 0 0; }
.requirement-form .form-field, .requirement-form .form-actions { margin: 0; }
@media (max-width: 40rem) {
  .requirement-label { flex-basis: 100%; }
  .requirement-more:not([open]) > summary { margin-inline-start: calc(-1 * var(--space-2)); }
}
.leave-negative-mark { display: inline-grid; place-items: center; width: 1.125rem; height: 1.125rem; border-radius: 50%; background: var(--ph-warn-bg); color: var(--warn); font-size: var(--text--1); font-weight: 700; }
.leave-kept { flex-basis: 100%; max-width: 26rem; white-space: normal; text-align: start; }
.leave-kept[hidden] { display: none; }
/* Task 057a (H2, Rosa R7 R8 R12): the year end closes the balance under a quiet rule, apart from what has accrued so far;
   leave taken ahead of its accrual is a note in the ink of the text, never the warn ink of a balance below zero at the
   year's end. */
.leave-balance-line.leave-balance-year-end { padding-top: var(--ph-space-05); border-top: var(--border-w) solid var(--line); }
.cell-note.leave-ahead { color: var(--ink); }
.cell-note.leave-year-end-gloss { max-width: 60ch; }
@media print {
  .wallchart-sheet { overflow: visible; }
  .wallchart th[scope="row"], .wallchart thead th:first-child { position: static; }
}
/* Task 097. Who is out today, between the header and the tabs: the line in the ink of the page, what it counts under
   it in the quiet ink. A recorded absence or a long leave of the card on the calendars: a round mark with its letter
   where the mark of a leave is square, and on a day of the year view a double rule under the day, so neither is told by
   a colour alone. The line above the list of the requests says where those absences are drawn. */
.leave-today { margin: 0 0 var(--space-3); }
.leave-today-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--ph-space-05); }
.leave-today-line { margin: 0; color: var(--ink); font-size: var(--ph-text-md); line-height: var(--leading-body); }
.leave-today-note { margin: 0; color: var(--ink); }
.wallchart-mark.is-absent, .wallchart-letter.is-absent { background: var(--surface-2); border-color: var(--ink-2); border-radius: 50%; color: var(--ink); }
.wallchart-mark.is-absent:hover { box-shadow: none; }
.wallchart-state.is-absent { color: var(--ink); }
.cal-day.is-absent, .cal-swatch.is-absent { border-bottom: 3px double var(--ink-2); }
.leave-list-note { margin: 0 0 var(--space-2); }
/* Design «Segnale», the person's requests: the state and the type on one line of filters; a request presented again reads
   as a step of its history, its text muted, never shaded like a selected row. On a phone a request is a card of two
   lines, the type with its state, then the period with the quantity, and the way to withdraw it under them. */
.leave-mine-toolbar { margin: 0 0 var(--space-2); }
.leave-mine tbody tr.is-muted { background: none; color: var(--ink-2); }
.leave-mine tbody tr.is-muted a { color: var(--ink-2); }
.leave-closure-pill { margin-left: var(--ph-space-05); font-weight: 400; }
@media (max-width: 40rem) {
  /* Task 271: the state's column fits its content up to half the card. As «auto» it grew to the whole line of a refusal's
     reason, so the type beside it was left no width and wrapped one letter per line. */
  .data-table.stack-on-phone.leave-mine tr { grid-template-columns: minmax(0, 1fr) fit-content(50%); row-gap: var(--ph-space-05); }
  .data-table.stack-on-phone.leave-mine tbody th { grid-column: 1; }
  .data-table.stack-on-phone.leave-mine td.leave-state { grid-column: 2; grid-row: 1; text-align: right; }
  .data-table.stack-on-phone.leave-mine td.leave-period { grid-column: 1; grid-row: 2; }
  .data-table.stack-on-phone.leave-mine td.leave-quantity { grid-column: 2; grid-row: 2; text-align: right; }
  .data-table.stack-on-phone.leave-mine td[data-label]::before { content: none; }
}
/* The request's duration, a choice of two, on one line. */
.leave-duration > .form-field { display: inline-flex; margin: 0 var(--space-3) 0 0; }
