/* Layout of the holder pages (web/templates/holder/*) and the company console, on top of the
   design's app.css: tokens and components; no new colour but the physical card's (DESIGN.md « Card
   Green », « Card Edge » and the contactless mark), drawn only where a card is depicted. A rule that
   restates one of app.css's holder rules, which are scoped under the holder's body (.holder),
   takes the same scope: it then outranks that rule by specificity, whatever the order the sheets
   are linked in (CONTRACT §13). */
/* Mes cartes (R2, owner's choice of 15/11/2026, option A): the profile surfaces side by side on a
   wide screen, each its own height, as on a phone. A column is 17rem at least, but never wider
   than the page: at 200 % text a 375px phone gave 544px (UI audit P2-18). */
.profile-grid { display: grid; gap: 0 var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); align-items: start; }
.actions-row { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-4) 0 0; }
.actions-row form { margin: 0; }
.pagination { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin: var(--space-4) 0; }
.pagination a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 var(--space-2); font-weight: 600; }
.empty-state { color: var(--colour-muted); }
/* Edit form: one fieldset per state (editable, read-only), the rule stated once
   under the group's title. min-width: 0 undoes the fieldset's min-content width on phones. */
.field-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.field-group + .field-group { margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--colour-line); }
/* A legend is drawn across the fieldset's top border; floated, it sits in the content box like any
   heading, under the separator line instead of cutting through it. */
/* Sized like the profile titles of the dashboard panels, so a group title outranks its field labels. */
.field-group > legend { float: left; width: 100%; padding: 0; margin: 0 0 var(--space-2); font-size: var(--text-lg); font-weight: 700; line-height: 1.25; }
.field-group > legend + * { clear: both; }
.holder .field-group > .field-note { margin: 0 0 var(--space-3); }
/* A refused save (UI audit P1-6): under its message, one link per refused field, each a finger's
   target, so a holder on a phone jumps to it instead of scrolling a 4,000px form. */
.error-summary { margin: var(--space-2) 0 0; padding: 0; list-style: none; }
.error-summary a { display: inline-flex; align-items: center; min-height: var(--target-finger); font-weight: 600; overflow-wrap: anywhere; }
/* Each link and mobile money row is a card with its numbered legend (UI audit P2-15), so the
   rows read apart; floated, the legend sits inside the border like a heading. */
.row-group { min-width: 0; margin: 0 0 var(--space-3); padding: var(--space-4); border: 1px solid var(--colour-line); border-radius: var(--radius); background: var(--colour-page); }
.row-group > legend { float: left; width: 100%; margin: 0 0 var(--space-3); padding: 0; font-weight: 700; }
.row-group > legend + * { clear: both; }
.holder .row-group > .field:last-child { margin-bottom: 0; }
/* A web link has no network, a social one no label of its own: the row shows only the fields its
   type uses, and follows a change of type as it is made, with no script. A browser without :has()
   shows every field, as before; the fields are still sent, and the form ignores the other type's. */
.row-group:has(.field--kind option[value="web"]:checked) .field--platform,
.row-group:has(.field--kind option[value="social"]:checked) .field--label { display: none; }
/* A box first, its words beside it on a finger's row, in regular weight like the radios' (UI audit
   P2-4; the box's size and colour are the frame's); its error and note go under both. */
.holder .field--check { display: flex; flex-wrap: wrap; align-items: center; column-gap: var(--space-3); }
.holder .field.field--check > label { display: flex; flex: 1 1 0; align-items: center; min-width: 0; min-height: var(--target-finger); margin: 0; font-size: var(--size-body); font-weight: 400; cursor: pointer; }
.holder .field--check > .field-errors, .holder .field--check > .field-note { flex-basis: 100%; }
/* The theme's colour before its name (UI audit P2-16), ringed so a light preset holds its edge. */
.swatch { flex: none; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .15); }
/* The editor's save bar stays in reach at the bottom of the screen, over a 4,000px form (UI audit
   P2-16): its two saves only, so on a 375px phone it is one line, the longer label wrapping in its
   button; since R2 it spans the column on the page's white with a soft lift. It sticks only on a
   screen at least 36rem tall, a rem in a media query being the browser's own text size: a phone on
   its side, or text set to 200 %, would lose a third of the screen to it (WCAG 1.4.10), and keeps
   the bar in its place instead. Nothing between it and the page clips (no `overflow` on the form),
   so the page's own scroll is the one it sticks in. */
.holder .actions-row--save > .button { flex: 1 1 9rem; min-width: 0; }
.holder .profile-editor > .actions-row--save { margin: var(--space-5) 0 0; padding: var(--space-3) var(--space-4); border: 1px solid var(--colour-line); border-radius: var(--surface-radius, var(--radius)); background: var(--colour-surface); box-shadow: var(--shadow); }
/* While the bar sticks, the page keeps that much room at its bottom when it scrolls a field into
   view (keyboard focus, an error link), so the focused field is never left under the bar (WCAG
   2.4.11): about the bar's height (a 54px button, its padding and its gap to the edge). Only on
   a page that has the bar. */
@media (min-height: 36rem) {
  html:has(.actions-row--save) { scroll-padding-bottom: 6.5rem; }
  .holder .profile-editor > .actions-row--save { position: sticky; bottom: var(--space-2); z-index: 2; box-shadow: 0 -2px 6px rgba(14, 21, 17, .04), 0 10px 28px -8px rgba(14, 21, 17, .28); }
}
/* The statistics page (holder/statistiques.html): figure tiles as a list, two to a row on a phone,
   each its value, its label and, when the period is compared, its change line; then the charts of
   {% svg_bars %} (web/theme/charts.py), drawn in the frame's primary colour. Tokens only. */
.tiles { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(min(9.5rem, 100%), 1fr)); margin: var(--space-4) 0; padding: 0; list-style: none; }
.tile { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-3) var(--space-4); border: 1px solid var(--colour-line); border-radius: var(--radius-sm); background: var(--colour-surface); box-shadow: inset 0 3px 0 var(--colour-primary); }
.tile-value { font-size: var(--text-xl); font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; }
.tile-label { font-size: var(--text-sm); font-weight: 600; line-height: var(--leading-small); }
.tile-detail, .tile-change { color: var(--colour-muted); font-size: var(--text-xs); line-height: var(--leading-small); font-variant-numeric: tabular-nums; }
.holder .chart { margin: 0 0 var(--space-5); }
.holder .chart:last-child { margin-bottom: 0; }
.holder .chart-caption { margin: 0 0 var(--space-2); }
.holder .chart-caption .chart-heading { margin: 0; font-size: var(--text-md); font-weight: 700; }
.holder .chart-svg { display: block; overflow: visible; }
.holder .chart-label, .holder .chart-tick, .holder .chart-value { fill: currentColor; font-size: var(--text-xs); }
.holder .chart-tick { opacity: .8; }
.holder .chart-value { font-weight: 600; font-variant-numeric: tabular-nums; }
.holder .chart-bar { fill: var(--colour-primary); }
.holder .chart-track { fill: currentColor; opacity: .08; }
.holder .chart-axis { stroke: currentColor; stroke-opacity: .35; }
.holder .chart-grid { stroke: currentColor; stroke-opacity: .12; stroke-dasharray: 4 4; }
.holder .chart-empty { margin: 0; padding: var(--space-4); border: 1px dashed var(--colour-line); border-radius: var(--radius-sm); color: var(--colour-muted); text-align: center; }
/* The company console's team statistics (console/tableau.html, statistics/_team.html): seven
   columns scroll sideways inside their own box on a phone, never the page. Tokens only. */
.holder .team-statistics-block { margin: var(--space-6) 0 0; }
.holder .team-statistics-scroll { overflow-x: auto; max-width: 100%; }
.holder .team-statistics { border-collapse: collapse; min-width: 100%; font-variant-numeric: tabular-nums; }
.holder .team-statistics caption { text-align: start; color: var(--colour-muted); font-size: var(--text-sm); padding: 0 0 var(--space-2); }
.holder .team-statistics th, .holder .team-statistics td { padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--colour-line); text-align: start; white-space: nowrap; }

/* App components (« Le guichet », owner's choice of 14/11/2026): the company console's look, kept
   here so the holder space can take it up. A white surface per job (28 px, a hairline title), rows
   of a thing, what it is and its action; small and danger pill buttons; the count badge; avatars;
   segmented links for a period or a filter; a search; a table that stacks into rows on a phone; a
   card depicted at ID-1 proportions; a strip of figures; facts; a disclosure; the SMS code step
   before a sensitive action; choices drawn as pills; the journal by day. */
.holder {
  --colour-card: #121513;
  --colour-card-top: #262A28;
  --colour-card-bottom: #0A0B0A;
  --colour-card-edge: #2B302D;
  --colour-card-mark: #E8EEEA;
  --surface-radius: var(--radius);
  /* DESIGN.md « Shapes »: a depicted card's corners are proportional to it, as the ID-1 card's. */
  --card-corners: 7% / 11%;
}
.holder .count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.25rem; height: 1.25rem; padding: 0 .35rem;
  border-radius: var(--radius-pill); background: var(--colour-alert); color: #fff;
  font-size: var(--text-xs); font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1;
}
.holder .icon { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.holder .holder-main h1.page-title { margin: 0; font-size: var(--size-title); }
.holder .page-lede { margin: var(--space-1) 0 0; color: var(--colour-muted); font-size: var(--size-label); }
.holder .page-heading { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-3); }
.holder .back-link { margin: 0 0 var(--space-3); }
.holder .back-link a { display: inline-flex; align-items: center; min-height: var(--target-finger); font-weight: 600; }
.holder .button--small { min-height: var(--target-finger); padding: .5rem 1rem; font-size: var(--size-label); }
.holder .button--small.button--danger { padding: calc(.5rem - .5px) calc(1rem - .5px); }
.holder a.button--danger, .holder a.button--danger:hover { color: var(--colour-alert); }
.holder .button .icon { width: 1.125rem; height: 1.125rem; }
.holder .surface { margin: var(--space-5) 0 0; border: 1px solid var(--colour-line); border-radius: var(--surface-radius); background: var(--colour-surface); box-shadow: var(--shadow); }
.holder .holder-main .surface-title { display: flex; align-items: center; gap: var(--space-2); margin: 0; padding: var(--space-4) var(--space-4) var(--space-3); border-bottom: 1px solid var(--colour-line); font-size: var(--text-lg); }
.holder .surface-count { color: var(--colour-muted); font: 600 var(--size-label) var(--font-system); }
.holder .surface-hint { margin: 0; padding: var(--space-2) var(--space-4) 0; color: var(--colour-muted); font-size: var(--text-sm); }
.holder .surface-body { padding: var(--space-4); }
.holder .surface-empty { margin: 0; padding: var(--space-4); color: var(--colour-muted); }
.holder .holder-main > .surface-empty { margin-top: var(--space-5); padding: var(--space-5) var(--space-4); border: 1px dashed var(--colour-line-strong); border-radius: var(--surface-radius); text-align: center; }
.holder .surface-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-top: 1px solid var(--colour-line); }
.holder .surface-row > p { flex: 1 1 12rem; margin: 0; }
.holder .surface--form { padding: var(--space-4); max-width: 36rem; }
.holder .queue { margin: 0; padding: 0; list-style: none; }
.holder .queue > li + li { border-top: 1px solid var(--colour-line); }
.holder .queue-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); }
.holder .queue-text { flex: 1 1 11rem; min-width: 0; margin: 0; }
.holder .queue-main { display: block; font-weight: 600; line-height: 1.3; }
.holder .queue-sub { display: block; color: var(--colour-muted); font-size: var(--text-sm); line-height: 1.35; overflow-wrap: anywhere; }
.holder .queue-icon { display: flex; align-items: center; justify-content: center; flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--colour-page); color: var(--colour-ink-secondary); }
.holder .queue-icon--alert { background: var(--colour-alert-bg); color: var(--colour-alert); }
.holder .queue-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; }
/* A card's link to share (web.holder.sharing): on its own line under the row, selected whole by
   one tap or click, as the public profile's mobile money number is (theme/card.css `.num`): the
   dashboard loads no script, so the phone's own « Copier » does the copying. */
.holder .queue-share { flex: 1 1 100%; margin: 0; color: var(--colour-muted); font-size: var(--text-sm); line-height: 1.35; }
.holder .queue-share-label { display: block; }
.holder .share-link { display: block; color: var(--colour-ink); font-weight: 600; overflow-wrap: anywhere; -webkit-user-select: all; user-select: all; }
.holder .queue-share-hint { display: block; }
.holder .avatar { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--colour-primary-soft); color: var(--colour-primary-strong); font: 800 var(--size-label)/1 var(--font-display); text-transform: uppercase; }
.holder .avatar--large { width: 4rem; height: 4rem; font-size: var(--text-lg); }
.holder .segmented { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border: 1px solid var(--colour-line); border-radius: var(--radius-pill); background: var(--colour-page); }
.holder .segmented a { display: inline-flex; align-items: center; gap: var(--space-1); min-height: 2.5rem; padding: 0 .9rem; border-radius: var(--radius-pill); color: var(--colour-ink-secondary); font-size: var(--text-sm); font-weight: 700; text-decoration: none; white-space: nowrap; }
.holder .segmented a:hover { color: var(--colour-ink); }
.holder .segmented a[aria-current] { background: var(--colour-surface); color: var(--colour-ink); box-shadow: var(--shadow); }
.holder .segmented a:focus-visible { outline-offset: -3px; }
.holder .segmented-count { color: var(--colour-muted); font-variant-numeric: tabular-nums; }
.holder .toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin: var(--space-4) 0 0; }
.holder .search { display: flex; flex: 1 1 14rem; gap: var(--space-2); max-width: 26rem; margin: 0; }
.holder .search input { flex: 1; min-width: 0; min-height: var(--target-finger); padding: .5rem .85rem; border: 1px solid var(--colour-control-border); border-radius: var(--radius-sm); background: var(--colour-surface); color: var(--colour-ink); font: inherit; font-size: var(--text-md); }
/* The frame's 3 px focus ring stays (DESIGN.md, the Visible Focus Rule); the border turns green too. */
.holder .search input:focus { border-color: var(--colour-primary); }
.holder .people { width: 100%; border-collapse: collapse; }
.holder .people thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.holder .people tr { display: grid; grid-template-columns: 1fr auto; gap: .1rem var(--space-3); align-items: center; padding: var(--space-3) var(--space-4); }
.holder .people tbody tr + tr { border-top: 1px solid var(--colour-line); }
.holder .people th, .holder .people td { padding: 0; text-align: start; font-weight: inherit; }
/* A name with no space (a long compound family name) wraps inside the row rather than widen the
   page past a phone (WCAG 1.4.10). */
.holder .people-name { display: flex; align-items: center; gap: var(--space-3); grid-column: 1; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.holder .people-name > a, .holder .people-name > span { min-width: 0; overflow-wrap: anywhere; }
.holder .people-name a { color: var(--colour-ink); font-weight: 600; }
.holder .people td.people-title { grid-column: 1; padding-left: 3.5rem; color: var(--colour-muted); font-size: var(--text-sm); }
.holder .people-department { display: none; }
.holder .people-card { grid-column: 2; grid-row: 1 / span 2; }
.holder .pill--quiet { color: var(--colour-ink-secondary); background: var(--colour-page); border-style: dashed; }
.holder .card-thumb { position: relative; display: flex; align-items: flex-end; flex: none; width: 5.5rem; aspect-ratio: 1.586; padding: 6px 8px; border-radius: var(--card-corners); background: linear-gradient(155deg, var(--colour-card-top), var(--colour-card) 60%, var(--colour-card-bottom)); box-shadow: inset 0 0 0 1px var(--colour-card-edge), 0 8px 14px -8px rgba(0, 0, 0, .55); color: #fff; font: 800 var(--text-xs)/1 var(--font-display); letter-spacing: .08em; }
.holder .card-thumb .icon { position: absolute; top: 6px; right: 6px; width: 1rem; height: 1rem; color: var(--colour-card-mark); stroke-width: 2.2; }
.holder .card-thumb--off { opacity: .55; }
.holder .figure-strip { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding: 0; list-style: none; }
.holder .figure-strip li { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--colour-line); color: var(--colour-ink-secondary); font-size: var(--text-sm); }
.holder .figure-strip li:nth-child(odd) { border-right: 1px solid var(--colour-line); }
.holder .figure-strip li:nth-last-child(-n + 2) { border-bottom: 0; }
.holder .figure-strip b { display: block; color: var(--colour-ink); font: 800 var(--text-xl)/1.1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.holder .facts { margin: 0; padding: 0 var(--space-4); }
.holder .facts div { display: grid; grid-template-columns: 7rem 1fr; gap: var(--space-3); padding: var(--space-3) 0; border-top: 1px solid var(--colour-line); }
.holder .facts div:first-child { border-top: 0; }
.holder .facts dt { color: var(--colour-muted); font-size: var(--text-sm); }
.holder .facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.holder details > summary { list-style: none; cursor: pointer; }
.holder details > summary::-webkit-details-marker { display: none; }
.holder .fold > summary .surface-title::after { content: ""; width: .5rem; height: .5rem; margin: -.2rem .25rem 0 auto; border: solid var(--colour-ink-secondary); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.holder .fold[open] > summary .surface-title::after { margin-top: .25rem; transform: rotate(-135deg); }
.holder .disclosure-action { display: inline-flex; align-items: center; gap: var(--space-1); min-height: var(--target-finger); color: var(--colour-primary); font-size: var(--size-label); font-weight: 700; }
.holder .disclosure-action .icon { transition: transform .2s var(--ease-out); }
.holder .disclosure[open] .disclosure-action .icon { transform: rotate(90deg); }
.holder .disclosure-panel { display: grid; gap: var(--space-4); padding: 0 var(--space-4) var(--space-4) calc(var(--space-4) + 2.75rem + var(--space-3)); }
.holder .disclosure-panel form { margin: 0; }
.holder .code-request { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); padding: var(--space-3); border-radius: var(--radius-sm); background: var(--colour-page); }
.holder .code-request p { flex: 1 1 12rem; margin: 0; font-size: var(--text-sm); }
.holder .choices { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0 0 var(--space-4); padding: 0; border: 0; }
.holder .choices legend { margin: 0 0 var(--space-2); padding: 0; font-size: var(--size-label); font-weight: 600; }
.holder .choices label { position: relative; display: inline-flex; align-items: center; min-height: var(--target-finger); padding: .5rem 1rem; border: 1.5px solid var(--colour-line-strong); border-radius: var(--radius-pill); background: var(--colour-surface); font-size: var(--size-label); font-weight: 600; cursor: pointer; }
.holder .choices input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.holder .choices label:has(input:checked) { border-color: var(--colour-primary); background: var(--colour-primary-soft); color: var(--colour-primary-strong); }
.holder .choices label:has(input:focus-visible) { outline: var(--focus-ring); outline-offset: 3px; }
.holder .field--code input { max-width: 11rem; letter-spacing: .3em; font-variant-numeric: tabular-nums; }
.holder .holder-main .journal-day { margin: 0; padding: var(--space-4) var(--space-4) var(--space-1); color: var(--colour-muted); font: 700 var(--text-xs)/1.2 var(--font-system); letter-spacing: var(--caps); text-transform: uppercase; }
.holder .journal { margin: 0; padding: 0 0 var(--space-2); list-style: none; }
.holder .journal li { display: grid; grid-template-columns: 3.25rem 1fr; gap: var(--space-3); padding: var(--space-2) var(--space-4); }
.holder .journal time { padding-top: .1rem; color: var(--colour-muted); font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.holder .journal p { margin: 0; }
@media (prefers-reduced-motion: reduce) {
  .holder .disclosure-action .icon { transition: none; }
}
@media (min-width: 55rem) {
  .holder .figure-strip { grid-template-columns: repeat(4, 1fr); }
  .holder .figure-strip li { border-bottom: 0; border-right: 1px solid var(--colour-line); }
  .holder .figure-strip li:last-child { border-right: 0; }
  /* A table cell again on a wide screen, so its row's rule lines up; the avatar sits inline. */
  .holder .people th.people-name { display: table-cell; }
  .holder .people-name .avatar { margin-right: var(--space-3); vertical-align: middle; }
  .holder .people thead { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .holder .people tr { display: table-row; padding: 0; }
  .holder .people th, .holder .people td { padding: var(--space-3) var(--space-4); vertical-align: middle; }
  .holder .people thead th { border-bottom: 1px solid var(--colour-line); color: var(--colour-muted); font-size: var(--text-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .holder .people tbody tr + tr > * { border-top: 1px solid var(--colour-line); }
  .holder .people td.people-title { padding-left: var(--space-4); color: var(--colour-ink-secondary); font-size: var(--size-label); }
  .holder .people-department { display: table-cell; color: var(--colour-ink-secondary); font-size: var(--size-label); }
}

/* R2, the holder space in the console's look (owner's choice of 15/11/2026): the pieces the
   console's components above do not hold. */
/* A title bar holding a profile's swatch, its name and, when it is not active, its pill. */
.holder .holder-main .surface-title .swatch { width: .9rem; height: .9rem; }
.holder .surface-name { min-width: 0; overflow-wrap: anywhere; }
.holder .surface-title .pill { margin-left: auto; font-family: var(--font-system); }
.holder .surface-lede { margin: 0; padding: var(--space-3) var(--space-4) 0; color: var(--colour-muted); font-size: var(--size-label); overflow-wrap: anywhere; }
/* A warning about the whole surface, as a band under its title bar (an offline profile). */
.holder .surface-notice { margin: 0; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--colour-line); background: var(--colour-warning-bg); color: var(--colour-warning); font-size: var(--size-label); }
/* A surface's own actions, in its foot; full width side by side on a phone. */
.holder .surface-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); padding: var(--space-3) var(--space-4) var(--space-4); border-top: 1px solid var(--colour-line); }
.holder .surface-actions > .button { flex: 1 1 8rem; }
.holder .button .icon { margin-right: var(--space-1); }
.holder .queue-row .queue-sub .pill { margin-top: .15rem; }
.holder .queue > .surface-empty { padding: var(--space-4); }
.holder .wallet-link { display: inline-flex; align-items: center; min-height: var(--target-finger); font-weight: 600; font-size: var(--size-label); }
.holder .surface-title + .surface-row { border-top: 0; }
.holder .account-surface .surface-row > p { color: var(--colour-ink-secondary); font-size: var(--size-label); }
/* A page's closing note, under its last surface. */
.holder .page-note { margin-top: var(--space-4); }
.holder .holder-main > .toolbar { margin-top: var(--space-4); }
/* A profile's label is the holder's own text, up to 80 characters: its link wraps, breaking a long
   word if it must, so the set of links never gets wider than the page on a 320px phone with text
   at 200 % (WCAG 1.4.10), as the console's short period and filter labels never need to. */
.holder .segmented--names { max-width: 100%; }
.holder .segmented--names a { min-width: 0; padding-block: .45rem; white-space: normal; overflow-wrap: anywhere; }
.holder .pagination .button { min-width: 0; }
/* The statistics' six figures as one strip: the console's figure strip with each figure's
   value, label, detail and change; three to a row on a wide screen. */
.holder .figure-strip .tile-value { display: block; color: var(--colour-ink); font: 800 var(--text-xl)/1.1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.holder .figure-strip .tile-label { display: block; margin-top: .15rem; color: var(--colour-ink-secondary); font-size: var(--text-sm); font-weight: 400; }
.holder .figure-strip .tile-detail, .holder .figure-strip .tile-change { display: block; margin-top: .2rem; color: var(--colour-muted); font-size: var(--text-xs); line-height: var(--leading-small); font-variant-numeric: tabular-nums; }
.holder .surface .chart { margin: 0; }
/* The lead log: the console's journal; a row's channel, profile and country on its second line. */
.holder .lead-log { margin-top: var(--space-5); }
.holder .journal .queue-sub { overflow-wrap: anywhere; }
/* The sign-in: one narrow column, its two ways as two rows of one surface, each pill filling its row. */
.holder .sign-in { max-width: 30rem; }
.holder .sign-in .queue-row > .button { flex: 1 1 12rem; }
.holder .queue-icon--primary { background: var(--colour-primary-soft); color: var(--colour-primary-strong); }
/* The editor: each fieldset a surface whose legend is its title bar (floated, the legend sits in the
   content box like any heading instead of cutting through the border). */
.holder .profile-editor > .field-group { margin: var(--space-5) 0 0; padding: 0 var(--space-4) var(--space-4); border: 1px solid var(--colour-line); border-radius: var(--surface-radius, var(--radius)); background: var(--colour-surface); box-shadow: var(--shadow); }
.holder .profile-editor > .field-group + .field-group { border-top: 1px solid var(--colour-line); }
.holder .profile-editor > .field-group > legend { width: calc(100% + 2 * var(--space-4)); margin: 0 calc(-1 * var(--space-4)) var(--space-4); padding: var(--space-4) var(--space-4) var(--space-3); border-bottom: 1px solid var(--colour-line); font: 800 var(--text-lg)/1.25 var(--font-display); letter-spacing: -.01em; }
.holder .profile-editor > .field-group > .field:last-child, .holder .profile-editor .row-group:last-child { margin-bottom: 0; }
.holder .profile-editor .row-group { border-radius: var(--radius-sm); }
/* The read-only fields as facts: the name, then the value beside it. */
.holder .profile-editor .field--verrouille { display: grid; grid-template-columns: minmax(0, 7rem) minmax(0, 1fr); gap: var(--space-3); margin: 0; padding: var(--space-3) 0; border-top: 1px solid var(--colour-line); }
.holder .profile-editor legend + .field--verrouille, .holder .profile-editor .field-note + .field--verrouille { border-top: 0; }
.holder .profile-editor .field--verrouille .field-label { margin: 0; color: var(--colour-muted); font-size: var(--text-sm); font-weight: 400; }
.holder .profile-editor .field--verrouille .field-value { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
/* The themes as pills, each its swatch and its name; the radio fills the pill, so the whole pill
   is the target, and its focus ring is the pill's. */
.holder .field--choices > div { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.holder .field--choices > div > div { margin: 0; }
.holder .field--choices label { position: relative; display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--target-finger); margin: 0; padding: .5rem 1rem; border: 1.5px solid var(--colour-line-strong); border-radius: var(--radius-pill); background: var(--colour-surface); font-size: var(--size-label); font-weight: 600; cursor: pointer; }
.holder .field--choices label input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.holder .field--choices label:has(input:checked) { border-color: var(--colour-primary); background: var(--colour-primary-soft); color: var(--colour-primary-strong); }
.holder .field--choices label:has(input:focus-visible) { outline: var(--focus-ring); outline-offset: 3px; }
@media (min-width: 55rem) {
  .holder .figure-strip.figure-strip--six { grid-template-columns: repeat(3, 1fr); }
  .holder .figure-strip--six li:nth-child(-n+3) { border-bottom: 1px solid var(--colour-line); }
  .holder .figure-strip--six li:nth-child(3n) { border-right: 0; }
  .holder .figure-strip--six li:nth-child(3n+1), .holder .figure-strip--six li:nth-child(3n+2) { border-right: 1px solid var(--colour-line); }
}
/* P2 of the design pause (15/11/2026): the sign-in steps, the card claim and the account deletion
   in « Mon compte »'s look. One narrow `task` column: the title and its lede, the surface that does
   the work (a form, a card row, a state), then the ways on, each a row of one `ways` list. */
.holder .task { max-width: 32rem; }
.holder .task--read { max-width: 40rem; }
.holder .task > .surface + .surface, .holder .task > .messages + .surface { margin-top: var(--space-4); }
.holder .task > .messages { margin: var(--space-5) 0 0; }
.holder .task > .messages + .surface.ways { margin-top: var(--space-3); }
.holder .task > .ways, .holder .task > form + .messages { margin-top: var(--space-4); }
.holder .task-form > :last-child { margin-bottom: 0; }
.holder .task-form > .button { width: 100%; }
.holder .task-form .field:has(+ .button), .holder .task-form .field--choices { margin-bottom: var(--space-4); }
/* The one code a step asks for, typed big and spaced, so a misread character shows. */
.holder .task-form input[autocomplete="one-time-code"], .holder .task-form input[name="code"] { font: 700 var(--text-lg)/1.2 var(--font-mono); letter-spacing: .18em; text-transform: uppercase; }
.holder .task-form input[name="code"]::placeholder { letter-spacing: .12em; font-weight: 400; }
/* The number the code went to, with « Changer de numéro » beside it. */
.holder .task-number { border-bottom: 1px solid var(--colour-line); }
.holder .task-number .queue-main { flex: 1 1 8rem; font-variant-numeric: tabular-nums; }
.holder .task-card { border-bottom: 1px solid var(--colour-line); }
.holder .task-card-only .task-card { border-bottom: 0; }
/* A way on: the whole row is its link; the chevron says it leads somewhere. */
.holder .ways .way { position: relative; }
.holder .ways .way:hover { background: var(--colour-page); }
.holder .ways li:first-child { border-radius: var(--surface-radius) var(--surface-radius) 0 0; }
.holder .ways li:last-child { border-radius: 0 0 var(--surface-radius) var(--surface-radius); }
.holder .ways li:only-child { border-radius: var(--surface-radius); }
.holder .way-link { color: var(--colour-ink); text-decoration: none; }
.holder .way-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.holder .way-link:focus-visible { outline: 0; }
.holder .way:has(.way-link:focus-visible) { outline: var(--focus-ring); outline-offset: 2px; }
.holder .way > .icon { color: var(--colour-muted); }
/* A state with no form (a link sent, a link spent, an account deleted): its mark, its words, its one action. */
.holder .task-state { padding: var(--space-5) var(--space-4) var(--space-4); }
.holder .task-state-icon { display: flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; margin: 0 0 var(--space-3); border-radius: 50%; background: var(--colour-primary-soft); color: var(--colour-primary-strong); }
.holder .task-state-icon .icon { width: 1.6rem; height: 1.6rem; }
.holder .task-state-icon--alert { background: var(--colour-alert-bg); color: var(--colour-alert); }
.holder .task-state-text { margin: 0; font-size: var(--text-md); }
.holder .task-state-note { margin-top: var(--space-3); color: var(--colour-muted); font-size: var(--text-sm); }
.holder .task-state-note p { margin: 0; }
.holder .task-state-action { margin: var(--space-4) 0 0; }
.holder .task-state-action .button, .holder .task-next .button { width: 100%; }
.holder .task-next { margin: var(--space-4) 0 0; }
.holder .task-hints { margin: var(--space-4) calc(-1 * var(--space-4)) calc(-1 * var(--space-4)); border-top: 1px solid var(--colour-line); }
.holder .task-hints .queue-text { color: var(--colour-ink-secondary); font-size: var(--size-label); }
.holder .task-tap { display: flex; align-items: center; gap: var(--space-3); margin: 0 0 var(--space-4); }
/* Deletion: the warning as the lead, what is kept as a quiet note, the confirm surface ringed in alert. */
.holder .task-warning { color: var(--colour-alert); font-weight: 600; }
.holder .task-notes { margin: var(--space-4) 0 0; padding: 0 var(--space-1); color: var(--colour-muted); font-size: var(--text-sm); }
.holder .task-notes p { margin: 0 0 var(--space-2); }
.holder .task-confirm { max-width: none; margin-top: var(--space-5); border-color: var(--colour-alert); }
.holder .task-confirm > .button--small { display: flex; margin: var(--space-3) auto 0; }
.holder .task-read p { margin: 0 0 var(--space-3); }
.holder .task .surface--form { max-width: none; }
