/* Hallmark · shape: app screen · genre: modern-minimal · theme: brand · brand: Groupe Lapalme (spec 2026-11-28) · redesign: full
 * paper: oklch(97% 0.002 170) · accent: oklch(69.5% 0.175 54) · display: Inter · body: Inter
 * nav: top bar kept (logo, app name, breadcrumb) · signature: the dossier panel, what the PDF will hold, live, in the brand charcoal · states: loading, empty, error, full on the project list; saving, generating, error on a project
 * axes: light/grotesk-heavy/chromatic-orange · posture: restrained · contrast: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S4 R4 V3 · weakest: V, the client's palette and faces are fixed, so the change lives in the composition: the charcoal dossier, ruled tables, orange present rows */
/* Hallmark · dropped "Programme de prévention par projet" · the heading only: each screen now owns its h1 (Projets, the project name) and the bar keeps these words as the tool's name */
/* Hallmark · reworded "2. Risques critiques — évaluation avant-projet" to "2. Risques critiques" · 19 names the dash; "Évaluation avant-projet" now opens the hint under it */
/* Hallmark · reworded "8. Documents d'ingénieurs exigés par le Code" to "8. Documents d’ingénieurs exigés par le Code" · F1 asks for the typographic apostrophe in every heading of the program */
/* Hallmark · waive 72 · .dossier .liste is overflow-y: auto inside the sticky panel · the annex list scrolls in the charcoal dossier, so the text past its edge is the scrolled part of the list, not a cramped box */
/* Hallmark · waive 49b · a project name, two lines at most at 320px · the chantier name in the project table is the client's own data and wraps rather than truncate */
/* Hallmark · finish-review: subagent · 8 findings · 8 resolved · gap: below 60rem the dossier sits under the form, so a tick there changes nothing in view */
@import url("./tokens.css");
@import url("./base.css");

body { font-weight: var(--weight-body); line-height: 1.5; font-optical-sizing: auto; }
button, input, select, textarea { font-weight: var(--weight-ui); color: inherit; }
code { font-family: var(--font-outlier); font-size: 0.875em; font-weight: 400; }
a:hover { color: var(--color-accent-text); }
a:active { color: var(--color-ink); }

/* Shell */
.barre { display: flex; align-items: center; gap: var(--space-lg); min-height: var(--bar-h); padding-inline: var(--space-lg); background: var(--color-field); border-bottom: 1px solid var(--color-rule); }
.barre .logo { display: flex; flex-shrink: 0; }
.barre .logo img { width: auto; height: 28px; }
.app-nom { padding-left: var(--space-lg); border-left: 1px solid var(--color-rule); font-size: var(--text-sm); font-weight: var(--weight-strong); white-space: nowrap; }
.barre nav { display: flex; align-items: baseline; gap: var(--space-xs); min-width: 0; font-size: var(--text-sm); color: var(--color-ink-2); }
.barre nav a { font-weight: var(--weight-strong); color: var(--color-ink); text-decoration: none; white-space: nowrap; }
.barre nav a:hover { color: var(--color-accent-text); text-decoration: underline; }
#fil { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag { margin-left: auto; font-size: var(--text-sm); color: var(--color-ink-2); white-space: nowrap; }

.page { max-width: var(--container); margin-inline: auto; padding: var(--space-xl) var(--gutter) var(--space-2xl); }
.tete { display: flex; flex-wrap: wrap; align-items: end; gap: var(--space-md) var(--space-lg); padding-bottom: var(--space-lg); border-bottom: 1px solid var(--color-ink); }
.tete h1 { max-width: 40ch; margin-right: auto; }

/* Controls: one filled primary per screen, in the brand orange with dark ink (white on it is 2.9:1). */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: var(--control-h); padding: 0 var(--space-md); border: 1px solid var(--color-ink); border-radius: var(--radius-input); background: transparent; color: var(--color-ink); font: var(--weight-strong) var(--text-sm)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn::before { content: ""; position: absolute; inset: -2px; }
.btn:hover { background: var(--color-paper-2); color: var(--color-ink); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--plein { border-color: var(--color-accent); background: var(--color-accent); color: var(--color-accent-ink); }
.btn--plein:hover { border-color: var(--color-accent-hover); background: var(--color-accent-hover); color: var(--color-accent-ink); }
.btn-lien { position: relative; display: inline-flex; align-items: center; min-height: 32px; padding: 0; border: 0; background: none; color: var(--color-ink); font-size: var(--text-sm); font-weight: var(--weight-strong); text-decoration: underline; text-decoration-color: var(--color-muted); text-underline-offset: 0.2em; cursor: pointer; transition: color var(--dur-micro) var(--ease-out), text-decoration-color var(--dur-micro) var(--ease-out); }
.btn-lien::before { content: ""; position: absolute; inset: -6px -4px; }
.btn-lien:hover { color: var(--color-accent-text); text-decoration-color: currentColor; }
.btn-lien:active { transform: translateY(1px); }
.btn-lien:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn-lien:disabled { opacity: 0.55; cursor: not-allowed; }

/* Fields: constant 1px edge at 3.6:1, the ring inset so it never collides with a neighbour. */
input[type=text], input[type=date], input[type=search], textarea { width: 100%; min-height: var(--control-h); padding: 0 var(--space-sm); border: 1px solid var(--color-muted); border-radius: var(--radius-input); background: var(--color-field); color: var(--color-ink); font-size: var(--text-md); outline: 2px solid transparent; outline-offset: -3px; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
textarea { min-height: 5rem; padding-block: var(--space-xs); line-height: 1.5; resize: vertical; }
input[type=text]:hover, input[type=date]:hover, input[type=search]:hover, textarea:hover { background: var(--color-paper); }
input[type=text]:focus-visible, input[type=date]:focus-visible, input[type=search]:focus-visible, textarea:focus-visible { outline-color: var(--color-focus); border-color: var(--color-ink); }
input[readonly], input[readonly]:hover { background: var(--color-paper-2); color: var(--color-ink-2); cursor: default; }
::placeholder { color: var(--color-muted); opacity: 1; }
[aria-invalid="true"] { border-color: var(--color-error) !important; }
.f { display: flex; flex-direction: column; gap: var(--space-xs); font-size: var(--text-sm); font-weight: var(--weight-strong); }
.facultatif { font-weight: var(--weight-body); color: var(--color-ink-2); }

input[type=checkbox] { appearance: none; position: relative; flex-shrink: 0; width: 20px; height: 20px; margin: 0; border: 1px solid var(--color-muted); border-radius: 0; background: var(--color-field); cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out); }
input[type=checkbox]::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid var(--color-accent-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: 0; }
input[type=checkbox]:hover { border-color: var(--color-ink); }
input[type=checkbox]:checked { border-color: var(--color-accent); background: var(--color-accent); }
input[type=checkbox]:checked::after { opacity: 1; }
input[type=checkbox]:active { transform: translateY(1px); }
input[type=checkbox]:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
input[type=checkbox]:disabled { opacity: 0.55; cursor: not-allowed; }

table { width: 100%; border-collapse: collapse; }
th { padding: var(--space-xs) var(--space-sm); border-bottom: 1px solid var(--color-ink); color: var(--color-ink-2); font-size: var(--text-sm); font-weight: var(--weight-strong); text-align: left; white-space: nowrap; }
td { padding: var(--space-sm); border-bottom: 1px solid var(--color-rule); vertical-align: middle; }
time, .rev { font-family: var(--font-outlier); font-variant-numeric: tabular-nums; }

/* Project list */
.liste-outils { display: flex; gap: var(--space-sm); align-items: center; }
.liste-outils input { width: 18rem; }
#projets { margin-top: var(--space-md); }
#projets td { padding-block: var(--space-md); }
#projets .no { width: 9rem; font-family: var(--font-outlier); white-space: nowrap; }
#projets .no a, #projets .nom a { color: var(--color-ink); text-decoration: none; }
#projets .nom a { font-weight: var(--weight-strong); }
#projets a:hover { color: var(--color-accent-text); text-decoration: underline; }
/* The whole row opens the project: the name's link stretches over it, so the row hover is an honest signal. */
#projets tbody tr { position: relative; }
#projets .nom a::after { content: ""; position: absolute; inset: 0; }
#projets tbody tr:hover td { background: var(--color-paper-2); }
#projets .mo, #projets .muted { color: var(--color-ink-2); }
#projets .ver { white-space: nowrap; }
#projets .ver time { margin-left: var(--space-sm); font-size: var(--text-sm); color: var(--color-ink-2); }
#projets .vide { padding: var(--space-2xl) var(--space-sm); color: var(--color-ink-2); }
#projets tbody tr.squelette:hover td { background: none; }
.squelette span { display: block; width: 60%; height: 12px; background: var(--color-paper-3); }
.squelette .nom span { width: 80%; }

/* Project screen: the questionnaire on the left, the dossier on the right */
.projet { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: var(--space-xl) var(--space-2xl); align-items: start; }
.projet > .tete { grid-column: 1 / -1; }
.bloc { padding-block: var(--space-xl); border-top: 1px solid var(--color-rule); }
.colonne > .bloc:first-child, .colonne > form > .bloc:first-child { padding-top: 0; border-top: 0; }
#carte-versions:not([hidden]) + form > .bloc:first-child { padding-top: var(--space-xl); border-top: 1px solid var(--color-rule); }
.bloc > h2 { max-width: 40ch; margin-bottom: var(--space-xs); }
.hint { max-width: 65ch; margin-bottom: var(--space-lg); color: var(--color-ink-2); font-size: var(--text-sm); }
.bloc-tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-xs) var(--space-lg); margin-bottom: var(--space-xs); }
.bloc-tete h2 { margin: 0; }
.grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); }
.grille .full { grid-column: 1 / -1; }

#versions { margin: var(--space-md) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--color-ink); }
#versions li { display: grid; grid-template-columns: 5rem 7rem minmax(0, 1fr) auto; gap: var(--space-md); align-items: baseline; padding-block: var(--space-sm); border-bottom: 1px solid var(--color-rule); }
#versions li:first-child .det { font-weight: var(--weight-strong); }
#versions li:last-child, .matrice tr:last-child td, .piece:last-child { border-bottom: 0; }
.projet > [aria-busy="true"] { opacity: 0.45; transition: opacity var(--dur-short) var(--ease-out); }
#versions .date { font-size: var(--text-sm); color: var(--color-ink-2); }
#versions a { color: var(--color-accent-text); font-weight: var(--weight-strong); }
#versions a:hover { color: var(--color-ink); }

.seg { margin: 0; padding: 0; border: 0; }
.seg legend { margin-bottom: var(--space-xs); padding: 0; font-size: var(--text-sm); font-weight: var(--weight-strong); }
.seg .choix { display: flex; }
.seg label { position: relative; display: inline-flex; align-items: center; min-height: var(--control-h); min-width: 6rem; justify-content: center; padding: 0 var(--space-lg); border: 1px solid var(--color-muted); background: var(--color-field); cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.seg label + label { margin-left: -1px; }
.seg input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.seg label:hover { background: var(--color-paper-2); }
.seg label:active { transform: translateY(1px); }
.seg label:has(input:checked) { z-index: var(--z-base); border-color: var(--color-ink); background: var(--color-ink); color: var(--color-paper); font-weight: var(--weight-strong); }
.seg label:has(input:focus-visible) { z-index: var(--z-raised); outline: 2px solid var(--color-focus); outline-offset: 2px; }
.seg:has([aria-invalid="true"]) label { border-color: var(--color-error); }
.seg .hint { margin: var(--space-xs) 0 0; }

/* The three matrices of the frame document: a present row is tinted and named in bold. */
.matrice th:not(:first-child), .matrice td.c { width: 7rem; text-align: center; }
.matrice td { padding-block: var(--space-xs); }
.matrice td.c { padding: 0; }
.case { display: flex; align-items: center; justify-content: center; min-height: 48px; cursor: pointer; }
.matrice tr.on td { background: var(--color-row-on); }
.matrice tr.on td:first-child { font-weight: var(--weight-strong); }
.docs { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-md); margin-top: var(--space-2xs); }
.doc { color: var(--color-ink-2); font-size: var(--text-sm); font-weight: var(--weight-body); }
.matrice tr.on .doc { color: var(--color-ink); }
.doc--manque { color: var(--color-accent-text); }
.matrice tr.on .doc--manque { color: var(--color-accent-text); font-weight: var(--weight-strong); }

details { border-top: 1px solid var(--color-rule); }
details:last-of-type { border-bottom: 1px solid var(--color-rule); }
summary { display: flex; align-items: center; gap: var(--space-sm); min-height: 48px; font-weight: var(--weight-strong); list-style: none; cursor: pointer; transition: color var(--dur-micro) var(--ease-out); }
summary::-webkit-details-marker { display: none; }
summary::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(-45deg); transition: transform var(--dur-short) var(--ease-out); }
details[open] > summary::before { transform: rotate(45deg); }
summary:hover { color: var(--color-accent-text); }
summary:active { color: var(--color-ink); }
summary .n { font-family: var(--font-outlier); font-size: var(--text-sm); font-weight: var(--weight-ui); color: var(--color-accent-text); white-space: nowrap; }
details > table { margin-bottom: var(--space-md); }

.piece { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-xs) var(--space-lg); align-items: center; padding-block: var(--space-md); border-bottom: 1px solid var(--color-rule); }
.piece:first-child { border-top: 1px solid var(--color-ink); }
.piece-titre { display: block; font-weight: var(--weight-strong); }
.piece-fichier { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2xs) var(--space-md); margin-top: var(--space-2xs); color: var(--color-ink-2); font-size: var(--text-sm); }
.piece-fichier b { color: var(--color-ink); font-weight: var(--weight-ui); overflow-wrap: anywhere; }
.piece input[type=file]:focus-visible + label { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* The dossier: what the PDF will hold, in the brand charcoal. Every rule here swaps its ink. */
.dossier { position: sticky; top: var(--space-lg); display: flex; flex-direction: column; max-height: calc(100dvh - var(--space-xl)); background: var(--color-panel); color: var(--color-panel-ink); --color-focus: var(--color-accent); }
.dossier .head { padding: var(--space-lg) var(--space-lg) var(--space-md); border-bottom: 1px solid var(--color-panel-rule); }
.dossier h2 { color: var(--color-panel-ink); }
.chiffres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: var(--space-md) 0 0; }
.chiffres > div { display: flex; flex-direction: column-reverse; gap: var(--space-2xs); padding-inline: var(--space-md); border-left: 1px solid var(--color-panel-rule); }
.chiffres > div:first-child { padding-left: 0; border-left: 0; }
.chiffres dt { color: var(--color-panel-muted); font-size: var(--text-sm); }
.chiffres dd { margin: 0; font: var(--weight-strong) var(--text-3xl)/1 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: var(--tracking-display); }
.dossier .note { margin-top: var(--space-md); color: var(--color-panel-muted); font-size: var(--text-xs); }
.dossier .note:empty { display: none; }
.dossier .liste { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 0 var(--space-lg) var(--space-lg); scrollbar-color: var(--color-panel-rule) var(--color-panel); }
.dossier h3 { margin: var(--space-md) 0 var(--space-2xs); color: var(--color-panel-ink); font-size: var(--text-sm); letter-spacing: 0; }
/* A row ticks its document; the eye beside it opens the document's preview. */
.annexe { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: var(--space-xs); color: var(--color-panel-muted); font-size: var(--text-sm); transition: color var(--dur-micro) var(--ease-out); }
.annexe.on { color: var(--color-panel-ink); }
.annexe-choix { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: var(--space-sm); padding-block: var(--space-xs); cursor: pointer; }
.annexe-choix:hover { color: var(--color-panel-ink); }
.voir { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-top: var(--space-3xs); padding: 0; border: 0; background: none; color: var(--color-panel-muted); cursor: pointer; transition: color var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out); }
.voir::before { content: ""; position: absolute; inset: -4px -6px; }
.voir:hover { background: var(--color-panel-well); color: var(--color-panel-accent); }
.voir:active { transform: translateY(1px); }
.voir:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.annexe code { margin-right: var(--space-2xs); color: inherit; }
.annexe small { display: block; margin-top: var(--space-3xs); color: var(--color-panel-muted); font-size: var(--text-xs); }
.annexe small:empty { display: none; }
.dossier input[type=checkbox] { border-color: var(--color-panel-muted); background: transparent; }
.dossier input[type=checkbox]:hover { border-color: var(--color-panel-ink); }
.dossier input[type=checkbox]:checked { border-color: var(--color-accent); background: var(--color-accent); }
.dossier .generation { display: flex; flex-direction: column; gap: var(--space-sm); padding: var(--space-md) var(--space-lg); border-bottom: 1px solid var(--color-panel-rule); }
.dossier .f { color: var(--color-panel-ink); }
.dossier textarea { border-color: var(--color-panel-muted); background: var(--color-panel-well); color: var(--color-panel-ink); }
.dossier textarea:hover { border-color: var(--color-panel-ink); background: var(--color-panel-well); }
.dossier textarea:focus-visible { outline-color: var(--color-focus); border-color: var(--color-panel-ink); }
.dossier textarea::placeholder { color: var(--color-panel-muted); }
#details { field-sizing: content; max-height: 10rem; }
.dossier .btn-lien { color: var(--color-panel-ink); text-decoration-color: var(--color-panel-muted); }
.dossier .btn-lien:hover { color: var(--color-panel-accent); text-decoration-color: currentColor; }
#apercu-programme { align-self: start; white-space: nowrap; }
#manque { color: var(--color-panel-muted); font-size: var(--text-sm); }
#manque:empty, #erreurs:empty, #resultat:empty { display: none; }
#erreurs { margin: 0; padding-left: var(--space-md); color: var(--color-panel-error); font-size: var(--text-sm); }
.actions { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-xs); }
.dossier .btn:not(.btn--plein) { border-color: var(--color-panel-muted); color: var(--color-panel-ink); }
.dossier .btn:not(.btn--plein):hover { border-color: var(--color-panel-ink); background: var(--color-panel-well); }
#statut { min-height: 1lh; color: var(--color-panel-muted); font-size: var(--text-sm); overflow-wrap: break-word; }
#statut.err { color: var(--color-panel-error); }
#resultat { display: flex; gap: var(--space-lg); }
#resultat a { color: var(--color-panel-accent); font-size: var(--text-sm); font-weight: var(--weight-strong); }
#resultat a:hover { color: var(--color-panel-ink); }

/* Preview of a library document, over the page. */
#apercu { width: min(64rem, 100% - 2 * var(--gutter)); max-width: none; height: min(60rem, 100dvh - 2 * var(--space-lg)); max-height: none; padding: 0; border: 1px solid var(--color-ink); border-radius: var(--radius-input); background: var(--color-field); color: var(--color-ink); }
#apercu[open] { display: flex; flex-direction: column; }
#apercu::backdrop { background: var(--color-scrim); }
.apercu-tete { display: flex; align-items: center; gap: var(--space-md); padding: var(--space-sm) var(--space-sm) var(--space-sm) var(--space-lg); border-bottom: 1px solid var(--color-rule); }
.apercu-tete h2 { min-width: 0; margin-right: auto; font-size: var(--text-md); overflow-wrap: break-word; }
#apercu-doc, #apercu-img { flex: 1 1 auto; width: 100%; min-height: 0; border: 0; background: var(--color-paper-2); }
#apercu-img { object-fit: contain; }
.apercu-pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: var(--space-sm) var(--space-lg); padding: var(--space-sm) var(--space-lg); border-top: 1px solid var(--color-rule); }
#apercu-statut { margin: 0 auto 0 0; color: var(--color-ink-2); font-size: var(--text-sm); }

@media (max-width: 60rem) {
  .projet { grid-template-columns: minmax(0, 1fr); }
  .dossier { position: static; max-height: none; }
  .dossier .liste { overflow: visible; }
}
@media (max-width: 40rem) {
  .barre { flex-wrap: wrap; gap: var(--space-xs) var(--space-md); padding: var(--space-sm) var(--gutter); }
  .app-nom { order: 3; flex-basis: 100%; padding-left: 0; border-left: 0; }
  .tete { align-items: stretch; flex-direction: column; }
  .liste-outils { flex-direction: column; align-items: stretch; }
  .liste-outils input { width: 100%; }
  .grille { grid-template-columns: minmax(0, 1fr); }
  /* A phone gets each risk at full width, its three choices labelled underneath. */
  .matrice, .matrice tbody { display: block; }
  .matrice tr:has(th) { display: none; }
  .matrice tr[data-row] { display: grid; grid-template-columns: auto auto minmax(0, 1fr); border-bottom: 1px solid var(--color-rule); }
  .matrice tr[data-row]:last-child { border-bottom: 0; }
  .matrice tr:has(th) + tr { border-top: 1px solid var(--color-ink); }
  .matrice td { border: 0; }
  .matrice td:first-child { grid-column: 1 / -1; padding: var(--space-sm) var(--space-xs) 0; }
  .matrice td.c { width: auto; }
  .case { justify-content: flex-start; gap: var(--space-xs); padding-inline: var(--space-xs); font-size: var(--text-sm); }
  .case::after { content: attr(data-col); }
  #projets thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  #projets tr { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-2xs) var(--space-md); padding-block: var(--space-md); border-bottom: 1px solid var(--color-rule); }
  #projets td { display: block; padding: 0; border: 0; }
  #projets .no { width: auto; }
  #projets .ver { grid-column: 2; }
  #projets .opt { display: none; }
  #projets .vide { grid-column: 1 / -1; }
  #versions li { grid-template-columns: 4rem minmax(0, 1fr) auto; }
  #versions .date { grid-column: 2; grid-row: 1; }
  #versions .det { grid-column: 1 / -1; }
  #versions a { grid-column: 3; grid-row: 1; }
  .piece { grid-template-columns: minmax(0, 1fr); }
  #apercu { width: 100%; height: 100dvh; border: 0; }
}
