/* ds 8.13.2 · github.com/AlexisPaoleschi/ds · do not edit this copy, change the ds repo */
/* The fonts of both themes, served with the design system's copy (fonts/ next to ds-X.Y.Z.css): no page asks
   Google Fonts for them. Made by scripts/fonts.py; a browser downloads only the faces a page uses. */
  @font-face { font-family: "Archivo"; font-style: normal; font-weight: 600 800; font-display: swap; src: url("fonts/archivo-var-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
  @font-face { font-family: "Archivo"; font-style: normal; font-weight: 600 800; font-display: swap; src: url("fonts/archivo-var-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
  @font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/ibm-plex-sans-var-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
  @font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/ibm-plex-sans-var-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
  @font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-mono-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
  @font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-mono-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
  @font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
  @font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
  @font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-mono-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
  @font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-mono-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
  @font-face { font-family: "Gilda Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/gilda-display-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
  @font-face { font-family: "Gilda Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/gilda-display-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
  @font-face { font-family: "Urbanist"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("fonts/urbanist-var-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
  @font-face { font-family: "Urbanist"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("fonts/urbanist-var-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Tokens of the design system shared by Alexis's apps.
   Two themes: atelier, dark, for the tools (Bank, Studio); vitrine, light, for the public sites
   (alexispaoleschi.com, Selecta). Both carry the gold of alexispaoleschi.com.
   Apps only use the roles (--bg, --ink, --accent…), never a raw value, so that a theme changes everything at once. */

/* raw values */
:root {
  --gold-500: #c9a961; --gold-600: #b39654;
  --night-900: #0e0f12; --night-800: #16181d; --night-700: #1c1f26; --night-600: #262a33; --night-500: #333845;
  --mist-100: #eceef3; --mist-300: #9ba3b2; --mist-500: #8892a0;
  /* money in, money out, what needs a look: vivid, as the palette is; Atelier's colours no longer follow the gold's
     lightness (that made them pale), the gold alone stays as it is */
  --green-400: #4ec98a; --red-400: #e8686b; --yellow-400: #e3b341;
  --cream-50: #fdfcfa; --beige-100: #f7f4ef; --coal-900: #1a1a1a; --wine-600: #a3403e;
  /* vitrine's « needs a look », a rust that reads on white and on the beige (5.6:1 and 5.1:1) and stays apart from its gold */
  --rust-600: #995632;
  --font-archivo: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-plex: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-plex-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --font-gilda: "Gilda Display", Georgia, serif;
  /* the palette, for banks, categories, networks and agendas: the vivid colours the apps had before the design system,
     made lighter where they were too dark to read on the night background (4.8:1 or more on a panel), and kept apart
     wherever they are shown together (a bank's list, a month's spending, a trip, Studio's networks and agendas).
     Its red, green and yellow name a bank, a category or an agenda; --good, --bad and --mid alone mean money in,
     money out and what needs a look */
  --c-rouge: #f1453f; --c-corail: #e8686b; --c-orange: #fb8139; --c-ambre: #da942c; --c-jaune: #e3b341; --c-vert: #4ec98a; --c-emeraude: #21a475;
  --c-turquoise: #2bc5c8; --c-ciel: #3fb6f2; --c-bleu: #498fee; --c-violet: #9b8cf2; --c-mauve: #cc7fd9; --c-rose: #e05b9e; --c-ardoise: #8e99ab;
  --black: #000000; --white: #ffffff;
  /* over a photo, whatever the theme: white and black veils, and the shadows that keep a text readable on it */
  --overlay-white-strong: color-mix(in srgb, var(--white) 80%, transparent); --overlay-white-medium: color-mix(in srgb, var(--white) 50%, transparent);
  --overlay-white-light: color-mix(in srgb, var(--white) 25%, transparent); --overlay-white-lighter: color-mix(in srgb, var(--white) 10%, transparent);
  --overlay-black-strong: color-mix(in srgb, var(--black) 90%, transparent); --overlay-black-medium: color-mix(in srgb, var(--black) 50%, transparent);
  --overlay-black-soft: color-mix(in srgb, var(--black) 35%, transparent);
  --text-shadow-sm: 0 2px 4px color-mix(in srgb, var(--black) 60%, transparent); --text-shadow-md: 0 2px 6px color-mix(in srgb, var(--black) 60%, transparent);
  --text-shadow-lg: 0 2px 8px color-mix(in srgb, var(--black) 60%, transparent);
  /* the veil behind a window, a sheet or a phone's drawer */
  --veil: color-mix(in srgb, var(--black) 55%, transparent);
  /* a white button over a photo (the way back on a hero): its soft shadow, and the one it takes when it rises */
  --photo-shadow: 0 2px 8px color-mix(in srgb, var(--black) 10%, transparent); --photo-shadow-up: 0 4px 16px color-mix(in srgb, var(--black) 10%, transparent);
  /* the photo viewer's controls, over its black veil: their signs and their thin ring */
  --viewer-ink: color-mix(in srgb, var(--white) 70%, transparent); --viewer-line: color-mix(in srgb, var(--white) 30%, transparent);
  /* the frosted glass over a photo (the viewer's buttons and count, the home's bars): how much it blurs, and the blurs of a
     way back over a photo (small), a blurred thumbnail and the phone's tab bar (large) */
  --blur-s: 8px; --blur: 10px; --blur-m: 12px; --blur-l: 18px; --glass-blur: blur(var(--blur));
  /* line heights: tight (a figure, a label in capitals), the interface's, running text's; the public sites' airy line
     (their titles, Selecta's text), the site's notes (1.6) and its running text (2). Sizes, weights and letter spacings
     are the text roles' (below, 5.0.0) */
  --lh-tight: 1; --lh-ui: 1.3; --lh-text: 1.5;
  --lh-loose: 1.8;
  --lh-relaxed: 1.6; --lh-airy: 2;
  /* space: one scale for paddings, margins and gaps */
  --s-2: 2px; --s-4: 4px; --s-6: 6px; --s-8: 8px; --s-10: 10px; --s-12: 12px; --s-14: 14px; --s-16: 16px; --s-18: 18px; --s-20: 20px; --s-24: 24px; --s-28: 28px;
  --s-32: 32px; --s-36: 36px; --s-40: 40px; --s-48: 48px;
  --s-56: 56px; --s-60: 60px; --s-80: 80px;
  /* layers, from the page up: raised, edge tab, overlay, tab bar, the veil under a phone's drawer, the drawer (above the
     tab bar), a sheet, the photo viewer (over the sheet it may be opened from), a window over them, passing message */
  --z-raise: 2; --z-edge: 25; --z-over: 30; --z-bar: 40; --z-scrim: 44; --z-drawer: 45; --z-sheet: 50; --z-viewer: 52; --z-dialog: 55; --z-toast: 60;
  /* one turn of an animation that loops (a badge that bounces, an arrow that beckons) */
  --t-loop: 2s;
  /* how much shows of what is turned off (a day outside the month, a source switched off), of what is being saved or
     worked on (.is-busy: a row being saved, a photo being sent), and of what waits */
  --o-off: .38; --o-busy: .5; --o-muted: .75;
  /* icons, four sizes and no other, in ds and in every app: small (in a tag, a line of the smallest text, a figure's
     unit), between (beside small text: a status, a message's action, a profile's link), medium (a button's, beside the
     text), large (a bar's tabs and icons, an event's facts) */
  --ico-s: 12px; --ico-sm: 14px; --ico-m: 16px; --ico-l: 20px;
  /* the site's pictograms, larger than any icon and only three sizes: small (what a trip includes, the networks on a
     phone), medium (a place, the networks), large (a strong point, a contact, a place's pin, a signing up) */
  --picto-s: 24px; --picto-m: 32px; --picto-l: 48px;
  /* the chevron of every list that opens (a menu, a pill, a search's button): the sprite's chevron-down (icons.js), 1px
     wide at 12px, as a mask that takes the colour of its ground; a native menu, which has no ::after, takes it as a
     picture in its theme's quiet grey (--chev-faint) */
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  /* the arrow after a tile that opens something (.tile.is-link, 8.6.0): the sprite's arrow-right, as a mask in the colour of
     its words, as the arrow of a .go-link */
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
  /* the least a finger can aim at */
  --touch-target: 44px;
  /* the least room of a search field, its words looked for and its placeholder whole (« Chercher un nom », 8.6.0) */
  --search-min: 14em;
  /* the room a phone keeps at its edges (its notch, its bar) */
  --safe-top: env(safe-area-inset-top, 0px); --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px); --safe-left: env(safe-area-inset-left, 0px);
  /* the widest a page grows, the same in every app */
  --page-max: 1500px;
  /* the width of a public site's pages, made to be read as much as looked at (alexispaoleschi.com) */
  --page-site: 1200px;
  /* reading widths: a short form or a band's words, a page of text, a page's introduction, a hero's words */
  --read-s: 560px; --read-m: 640px; --read-l: 720px; --read-xl: 900px;
  /* a window (.sheet) on a computer, always of this size, at most 86% of the screen's height; a phone's is its width
     and 88% of its height */
  --sheet-w: var(--read-l); --sheet-h: 640px;
  /* a panel under a button of the top bar (.pop-panel, Selecta's bell): its width on a computer; the room it leaves
     at the bottom of the screen, down to which it may grow (8.7.1: it stopped at 70% of the screen and 560px, and cut
     the fifth of five lines on two lines each); the fade at the end of what it lists while there is more to scroll to;
     the figure on such a button (.pop-count), a small round of this height */
  --pop-w: 380px; --pop-gap: var(--space-md); --pop-fade: var(--s-48); --count-h: 16px;
  /* the window that asks (.dialog): its width on a computer, a phone's being its width */
  --dialog-w: 420px;
  /* the first loading's screen (.boot, ds.boot) leaves this room above it, an app's top bar, so that nothing moves when
     it goes (8.7.2: written 72px in page.css) */
  --boot-top: 72px;
  /* the photo kit: a file's bar in the list of files sent, a photo framed alone (a cover) and the small dropzone beside it on a computer, a button on a tile's veil at most, the gold ring of a chosen
     photo, the light round behind a thumbnail's cross on a phone, the dark at the foot of a tile under its caption */
  --upload-meter-w: 120px; --photo-frame-h: 220px; --tile-act-w: 170px; --pick-ring: 1px; --thumb-x-r: 11px; --caption-veil: color-mix(in srgb, var(--black) 82%, transparent);
  /* the tab bar at the bottom of a phone (the views of Bank and Studio), and the passing messages above it, as wide
     as each other; read by fixed elements, so 100% is the screen's width */
  --tabbar-w: min(calc(100% - 40px), 420px);
  --font-urbanist: "Urbanist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* atelier: the default theme */
:root, [data-theme="atelier"] {
  /* the cross that takes a thumbnail away, on a phone (.thumb-x): a dark round with the gold ring of the computer's cross */
  --thumb-x-bg: var(--panel); --thumb-x-ring: var(--accent-soft);
  color-scheme: dark;
  /* a figure put forward (.big-fig): the label above it 10px away, room above and under it */
  --big-fig-gap: var(--s-10); --big-fig-pt: var(--s-16); --big-fig-pb: var(--s-24);
  --bg: var(--night-900); --panel: var(--night-800); --panel-2: var(--night-700);
  --line: var(--night-600); --line-2: var(--night-500);
  --ink: var(--mist-100); --dim: var(--mist-300); --faint: var(--mist-500);
  --chev-faint: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238892a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --accent: var(--gold-500); --accent-soft: color-mix(in srgb, var(--gold-500) 12%, transparent);
  --accent-line: color-mix(in srgb, var(--gold-500) 35%, transparent); --accent-strong: color-mix(in srgb, var(--gold-500) 50%, transparent);
  /* the gold of a word: the gold itself, in both themes; a theme could darken it alone */
  --accent-text: var(--accent);
  --on-accent: var(--night-800);
  --good: var(--green-400); --bad: var(--red-400); --mid: var(--yellow-400);
  /* how much of a status colour (good, bad, mid) its soft ground and its line keep */
  --soft-mix: 12%; --line-mix: 35%;
  /* how much of a palette colour a word keeps, the rest being ink: all of it on the night background */
  --tint-ink: 100%;
  --display: var(--font-archivo); --body: var(--font-plex); --mono: var(--font-plex-mono);
  /* corners: small (badges, boxes to tick), medium (buttons, fields, tiles), large (cards, panels, sheets) */
  --r-s: 4px; --r-m: 6px; --r-l: 8px;
  /* durations, and the shadows: menus, then sheets and drawers; the public sites' soft ones have none here */
  --t-fast: .15s; --t-mid: .3s; --t-slow: .4s;
  --shadow-pop: 0 6px 24px color-mix(in srgb, var(--black) 35%, transparent);
  --shadow-sheet: 0 12px 32px color-mix(in srgb, var(--black) 45%, transparent);
  --shadow-soft: none; --shadow-card: none;
}

/* roles: what the components read, so that each theme gives them its own character.
   Declared again on every element that sets a theme, so that they follow that theme's fonts and colours.
   These are atelier's; vitrine changes the ones it needs in its own block below. */
:root, [data-theme] {
  /* the gaps between letters: five, and every text role of either theme takes one of them, none other (5.9.0) */
  --track-0: 0; --track-s: .04em; --track-m: .1em; --track-l: .15em; --track-xl: .18em;
  /* Text: fifteen roles and no other size, weight or letter spacing, in ds or in an app (5.0.0, 5.6.0, 5.16.0; the price left in 6.0.0). Each has one font, one
     size, one weight, one spacing and one case, which the theme sets; a component picks a role, never a size. A word in a
     role may be in mono (a figure, a date) or take the strong weight (a word put forward); its line height stays the
     component's. Atelier's: Archivo for titles and figures, IBM Plex Sans for the rest.
     The big title: a cover, a very big figure (smaller on a phone, below) */
  --type-display-font: var(--display); --type-display-size: 50px; --type-display-weight: 800; --type-display-ls: var(--track-0); --type-display-case: none;
  /* a page's title (22px on a phone), a section's or a window's, a block's (a small tile's figure, a fold's title) */
  --type-title-1-font: var(--display); --type-title-1-size: 28px; --type-title-1-weight: 800; --type-title-1-ls: var(--track-0); --type-title-1-case: none;
  --type-title-2-font: var(--display); --type-title-2-size: 22px; --type-title-2-weight: 800; --type-title-2-ls: var(--track-0); --type-title-2-case: none;
  --type-title-3-font: var(--display); --type-title-3-size: 17px; --type-title-3-weight: 700; --type-title-3-ls: var(--track-0); --type-title-3-case: none;
  /* a tile's figure, a price, a year */
  --type-figure-font: var(--display); --type-figure-size: 28px; --type-figure-weight: 700; --type-figure-ls: var(--track-0); --type-figure-case: none;
  /* the spaced line under a big title */
  --type-subtitle-font: var(--body); --type-subtitle-size: 15px; --type-subtitle-weight: 400; --type-subtitle-ls: var(--track-xl); --type-subtitle-case: uppercase;
  /* a cover as tall as the screen (the site's event pages): its title and the line under it (a place); its title smaller
     on a phone, below */
  --type-cover-font: var(--display); --type-cover-size: 64px; --type-cover-weight: 800; --type-cover-ls: var(--track-0); --type-cover-case: none;
  --type-cover-line-font: var(--body); --type-cover-line-size: 20px; --type-cover-line-weight: 400; --type-cover-line-ls: var(--track-xl); --type-cover-line-case: uppercase;
  /* sentences, lists, a table's cells, a field's value; then a name, a row's title, a box's words */
  --type-text-font: var(--body); --type-text-size: 15px; --type-text-weight: 400; --type-text-ls: var(--track-0); --type-text-case: none;
  --type-strong-font: var(--body); --type-strong-size: 15px; --type-strong-weight: 600; --type-strong-ls: var(--track-0); --type-strong-case: none;
  /* a detail (the line under a field, a place, a note, a chip), then what is packed tight (a calendar, a chart, a unit) */
  --type-small-font: var(--body); --type-small-size: 13px; --type-small-weight: 400; --type-small-ls: var(--track-0); --type-small-case: none;
  --type-caption-font: var(--body); --type-caption-size: 12px; --type-caption-weight: 400; --type-caption-ls: var(--track-0); --type-caption-case: none;
  /* capitals (a menu's links, a card's details), small capitals (a field's label, the head of a section, a card or a
     table, a tab, a badge) */
  --type-caps-font: var(--body); --type-caps-size: 13px; --type-caps-weight: 500; --type-caps-ls: var(--track-m); --type-caps-case: uppercase;
  --type-smallcaps-font: var(--display); --type-smallcaps-size: 11px; --type-smallcaps-weight: 700; --type-smallcaps-ls: var(--track-m); --type-smallcaps-case: uppercase;
  /* a button's words */
  --type-button-font: var(--body); --type-button-size: 13px; --type-button-weight: 600; --type-button-ls: var(--track-0); --type-button-case: none;
  /* a card's title is a block's here, a page's on the site's big cards (vitrine below) */
  --type-card-title-font: var(--type-title-3-font); --type-card-title-size: var(--type-title-3-size); --type-card-title-weight: var(--type-title-3-weight);
  --type-card-title-ls: var(--type-title-3-ls); --type-card-title-case: var(--type-title-3-case);
  /* the name on the left of a bar: a logo more than a text, the one size outside the roles */
  --brand-font: var(--display); --brand-size: 13px; --brand-weight: 800; --brand-ls: .22em; --brand-color: var(--accent);
  /* the line heights of a title, of a small heading, of running text */
  --title-lh: var(--lh-tight); --head-lh: var(--lh-ui); --text-lh: var(--lh-text);
  /* the room between a title's lines when it wraps, and what its line box gives back above and below it: a title on one
     line keeps its place, a title on two lines reads as one */
  --title-wrap-lh: var(--title-lh); --title-wrap-pad: 0px;
  --stat-gap: var(--s-24);
  --lede-color: var(--dim); --check-box: 16px;
  --space-md: var(--s-16); --space-lg: var(--s-24); --space-xl: var(--s-32);
  /* the ground of a band across the page (a footer), of a box in the page (a message), of a line around what floats */
  --band: var(--panel); --box-bg: var(--panel-2); --pop-line: var(--line-2);
  /* the ground of a table's row under the pointer: a touch of ink here, the band in vitrine */
  --row-lit: color-mix(in srgb, var(--ink) 3%, transparent);
  /* the height of a control: a field, a menu and a button side by side line up */
  --control-h: 34px;
  /* a switch (label.switch, ds.switch): its track off and on, its knob and the knob's corner (8.5.0: the Vitrine's own) */
  --switch-off: var(--line-2); --switch-on: var(--good); --switch-knob: var(--ink); --switch-knob-r: 50%;
  /* buttons: one height for all of them */
  --btn-h: var(--control-h); --btn-px: var(--s-12);
  --btn-bg: var(--panel-2); --btn-shadow: none; --btn-lift: 0px;
  /* a button with only an icon (reload, settings, a pencil, a cross): square, as high as every button (4.0.0) */
  --btn-icon-h: var(--btn-h);
  /* the cross inside a field (a search's), smaller than the field that holds it: part of the field, not a button */
  --field-btn-h: 28px;
  /* the large one (.is-large): a public site's call to act, on its hero or a section; a tool's is its usual button */
  --btn-l-h: var(--btn-h); --btn-l-px: var(--btn-px);
  /* fields */
  --field-lh: var(--lh-ui); --field-py: var(--s-8); --field-px: var(--s-10);
  --field-bg: var(--panel-2); --field-line: var(--line); --field-halo: none;
  /* the line under a field: what happened to it */
  --field-note-lh: var(--lh-ui);
  /* cards */
  --card-bg: var(--panel); --card-line: var(--line); --card-pad: var(--s-16); --card-shadow: none;
  /* a card you click: how far it rises on hover, and its shadow then */
  --card-lift: 0px; --card-hover-shadow: var(--card-shadow);
  /* the room between a card's title and its lines of details (a place, a date), and their line height */
  --card-gap: var(--s-8); --card-meta-lh: var(--lh-ui);
  /* a message: a sentence in a box, with its icon */
  --msg-align: flex-start; --msg-py: var(--s-10); --msg-px: var(--s-12); --msg-gap: var(--s-8); --msg-icon: var(--ico-sm); --msg-icon-top: calc((1lh - var(--msg-icon)) / 2);
  /* a passing message */
  --toast-py: var(--s-8); --toast-pl: var(--s-14); --toast-pr: var(--s-8);
  /* the smallest corner: a swatch, a small bar */
  --r-xs: calc(var(--r-s) / 2);
  /* the soft ground and the line of each status colour, and the soft ground an item's colour (--n) tints */
  --good-soft: color-mix(in srgb, var(--good) var(--soft-mix), transparent); --good-line: color-mix(in srgb, var(--good) var(--line-mix), transparent);
  --bad-soft: color-mix(in srgb, var(--bad) var(--soft-mix), transparent); --bad-line: color-mix(in srgb, var(--bad) var(--line-mix), transparent);
  --mid-soft: color-mix(in srgb, var(--mid) var(--soft-mix), transparent); --mid-line: color-mix(in srgb, var(--mid) var(--line-mix), transparent);
  --tint-soft: 14%;
  /* a slider's track */
  --zoom-track: var(--line-2);
  /* the buttons of a window, of a sheet's actions, and the controls of a list's selection bar */
  --dialog-btn-px: var(--btn-px); --sheet-acts-btn-px: var(--btn-px);
  --selbar-field-py: var(--s-6); --selbar-field-px: var(--field-px);
  /* a choice made: its gold (chosen.css), and a tab's ground when it is the one shown */
  --chosen-ink: var(--accent-text); --chosen-bg: var(--accent-soft); --chosen-line: var(--accent-line); --tab-on-bg: var(--accent-soft);
  /* the spinner: its ring and how long a turn takes, the same in both themes */
  --spin-ring: var(--accent-line); --spin-time: .8s;
  /* the small pages (privacy, terms): the line under a heading */
  --doc-rule: var(--line);
  /* the top bar: its ground, its line of shadow, its room */
  --topbar-bg: var(--panel); --topbar-blur: none; --topbar-shadow: none; --topbar-py: var(--s-12); --topbar-px: var(--s-16); --topbar-gap: var(--s-16);
  --topbar-btn-h: var(--btn-h); --topbar-btn-px: var(--btn-px);
  /* windows: the room inside */
  --sheet-pad: var(--s-20);
  /* a card's cover photo: how much it grows on hover and how slowly, where its badge sits */
  --cover-zoom: 1.03; --cover-time: var(--t-mid); --cover-badge: var(--s-10);
  /* a small card, for narrow columns: less room inside (its title is a block's, in both themes) */
  --card-s-pad: var(--s-12); --card-s-gap: var(--s-6); --card-s-badge: var(--s-8);
  /* a badge: a few capitals on a filled ground */
  --badge-lh: var(--lh-tight); --badge-py: var(--s-2); --badge-px: var(--s-6);
  /* a site's footer */
  --footer-py: var(--s-24);
  /* a word on a tint of its own colour (a network's code, a bank's name in a chip) keeps less of it */
  --tint-ink-on-tint: calc(var(--tint-ink) * .75);
  /* the outline that shows where the keyboard is */
  --focus: 2px solid var(--accent); --focus-offset: 2px;
}

/* vitrine: the public sites, alexispaoleschi.com and Selecta. Every value here is the site's own. */
[data-theme="vitrine"] {
  color-scheme: light;
  /* the cross that takes a thumbnail away, on a phone (.thumb-x): Selecta's light round, without a ring */
  --thumb-x-bg: var(--overlay-white-strong); --thumb-x-ring: var(--overlay-white-strong);
  /* a figure put forward (.big-fig), what it stands for under it */
  --big-fig-gap: var(--s-12); --big-fig-pt: 0; --big-fig-pb: 0;
  /* the site's grounds: a cream page, white cards and fields, beige bands */
  --bg: var(--cream-50); --panel: var(--white); --panel-2: var(--white); --band: var(--beige-100); --row-lit: var(--band);
  /* every line in the site's soft gold; the full gold to underline */
  --line: color-mix(in srgb, var(--gold-500) 20%, transparent); --line-2: var(--gold-500); --pop-line: var(--line);
  /* the site's two greys: 85% for what is read, 60% for what stays quiet */
  --ink: var(--coal-900); --dim: color-mix(in srgb, var(--coal-900) 85%, transparent); --faint: color-mix(in srgb, var(--coal-900) 60%, transparent);
  --chev-faint: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-opacity='.6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  /* the gold of alexispaoleschi.com, the reference every colour is matched to; its darker gold on hover, and for a success */
  --accent: var(--gold-500); --accent-soft: color-mix(in srgb, var(--gold-500) 5%, transparent); --accent-line: var(--gold-500); --accent-strong: var(--gold-600);
  /* a word in gold keeps the site's gold, and a word on gold its white, a choice made knowing they read less on white (2.2:1) */
  --accent-text: var(--accent); --on-accent: var(--white);
  --good: var(--gold-600); --bad: var(--wine-600); --mid: var(--rust-600); --soft-mix: 8%;
  /* a switch: grey when off, the site's gold when on, a white knob, square as every corner here (8.5.0: off and on were
     two golds, the line's and the success's, and could not be told apart) */
  --switch-off: color-mix(in srgb, var(--coal-900) 45%, transparent); --switch-on: var(--accent); --switch-knob: var(--white); --switch-knob-r: 0;
  /* a word in a palette colour keeps 55% of it and takes 45% of ink, so that every colour reads on white and on the beige */
  --tint-ink: 55%;
  --display: var(--font-gilda); --body: var(--font-urbanist); --mono: var(--font-plex-mono);
  /* square corners */
  --r-s: 0; --r-m: 0; --r-l: 0;
  /* the site's soft shadows: a bar or a table (the lightest), a card at rest, then anything raised (on hover, a passing
     message, a window) */
  --shadow-soft: var(--photo-shadow); --shadow-card: var(--photo-shadow-up); --shadow-pop: 0 8px 24px color-mix(in srgb, var(--black) 10%, transparent); --shadow-sheet: var(--shadow-pop);
  /* the site moves more slowly */
  --t-fast: .3s; --t-mid: .4s; --t-slow: .5s;
  /* Text: Gilda Display for titles and figures, never bold, a little spaced, the big ones in capitals; Urbanist for the
     rest, light for running text, medium for what belongs to a form and for a word put forward */
  --type-display-size: 56px; --type-display-weight: 400; --type-display-ls: var(--track-m); --type-display-case: uppercase;
  --type-title-1-size: 28px; --type-title-1-weight: 400; --type-title-1-ls: var(--track-m); --type-title-1-case: uppercase;
  --type-title-2-size: 24px; --type-title-2-weight: 400; --type-title-2-ls: var(--track-m); --type-title-2-case: none;
  --type-title-3-size: 20px; --type-title-3-weight: 400; --type-title-3-ls: var(--track-m); --type-title-3-case: none;
  --type-figure-size: 28px; --type-figure-weight: 400; --type-figure-ls: var(--track-m); --type-figure-case: none;
  --type-subtitle-size: 16px; --type-subtitle-weight: 400; --type-subtitle-ls: var(--track-xl); --type-subtitle-case: uppercase;
  --type-cover-size: 84px; --type-cover-weight: 400; --type-cover-ls: var(--track-m); --type-cover-case: uppercase;
  --type-cover-line-size: 24px; --type-cover-line-weight: 400; --type-cover-line-ls: var(--track-xl); --type-cover-line-case: uppercase;
  --type-text-size: 16px; --type-text-weight: 300; --type-text-ls: var(--track-0); --type-text-case: none;
  --type-strong-size: 16px; --type-strong-weight: 500; --type-strong-ls: var(--track-0); --type-strong-case: none;
  --type-small-size: 13px; --type-small-weight: 400; --type-small-ls: var(--track-s); --type-small-case: none;
  --type-caption-size: 12px; --type-caption-weight: 400; --type-caption-ls: var(--track-0); --type-caption-case: none;
  --type-caps-size: 14px; --type-caps-weight: 500; --type-caps-ls: var(--track-l); --type-caps-case: uppercase;
  --type-smallcaps-font: var(--body); --type-smallcaps-size: 12px; --type-smallcaps-weight: 500; --type-smallcaps-ls: var(--track-l); --type-smallcaps-case: uppercase;
  --type-button-size: 14px; --type-button-weight: 500; --type-button-ls: var(--track-l); --type-button-case: uppercase;
  /* the site's big cards take a page's title */
  --type-card-title-font: var(--type-title-1-font); --type-card-title-size: var(--type-title-1-size); --type-card-title-weight: var(--type-title-1-weight);
  --type-card-title-ls: var(--type-title-1-ls); --type-card-title-case: var(--type-title-1-case);
  /* the site's name in 20px Gilda (17px on a phone), in ink */
  --brand-size: 20px; --brand-weight: 400; --brand-ls: var(--track-m); --brand-color: var(--ink);
  /* titles, and running text, with room between their lines */
  --title-lh: var(--lh-loose); --head-lh: var(--lh-loose); --text-lh: var(--lh-airy);
  --title-wrap-lh: var(--lh-ui); --title-wrap-pad: calc((var(--lh-loose) - var(--lh-ui)) * .5em);
  --lede-color: var(--ink);
  --box-bg: var(--accent-soft);
  /* a control is 45px high, Selecta's: the site's 63px buttons are kept for its calls to act (.is-large) */
  --control-h: 45px;
  /* buttons: white with a soft gold edge and a soft shadow; they rise on hover */
  --btn-px: var(--s-28);
  /* the large one, the site's: 63px high, 48px on each side */
  --btn-l-h: 63px; --btn-l-px: var(--s-48);
  --btn-bg: var(--overlay-white-strong); --btn-shadow: var(--shadow-card); --btn-lift: calc(-1 * var(--s-2));
  /* the cross inside a field */
  --field-btn-h: 34px;
  /* a button with only an icon: as high as the others */
  --btn-icon-h: var(--btn-h);
  /* fields: 16px, the least that keeps an iPhone from zooming in on them; roomy, a soft gold edge;
     in use, the full gold edge and a faint gold halo */
  --field-lh: normal; --field-py: var(--s-12); --field-px: var(--s-20);
  --field-bg: var(--white); --field-line: var(--line); --field-halo: 0 0 0 3px var(--accent-soft);
  /* the line under a field, as under the site's newsletter field */
  --field-note-lh: 1.4;
  /* cards: white, a soft gold edge, a soft shadow, 32px inside; one you click rises 4px */
  --card-bg: var(--white); --card-line: var(--line); --card-pad: var(--s-32); --card-shadow: var(--shadow-card);
  --card-lift: calc(-1 * var(--s-4)); --card-hover-shadow: var(--shadow-pop);
  /* 16px between a card's title and its details, with a gold icon */
  --card-gap: var(--s-16); --card-meta-lh: 1.8;
  /* a message as the site's notes (« Transport… is included »): a 20px gold icon, 20 × 28px inside */
  --msg-align: center; --msg-py: var(--s-20); --msg-px: var(--s-28); --msg-gap: var(--s-12); --msg-icon: var(--ico-l); --msg-icon-top: 0px;
  /* a passing message with the room of the site's pieces */
  --toast-py: var(--s-14); --toast-pl: var(--s-20); --toast-pr: var(--s-14);
  /* a window: 32px inside */
  --sheet-pad: var(--s-32);
  /* the top bar of the site: translucent white over a blur, a soft shadow, 20 × 40px of room, its links 32px apart */
  --topbar-bg: var(--overlay-white-strong); --topbar-blur: var(--glass-blur); --topbar-shadow: var(--shadow-soft);
  --topbar-py: var(--s-20); --topbar-px: var(--s-40); --topbar-gap: var(--s-32);
  /* its action is lower than the page's buttons: 14 × 36px of room, 55px high */
  --topbar-btn-h: 55px; --topbar-btn-px: var(--s-36);
  /* a card's cover photo grows 5% on hover, over .6s; its badge 20px from the corner */
  --cover-zoom: 1.05; --cover-time: .6s; --cover-badge: var(--s-20);
  /* a small card: 20px inside, 12px between its lines */
  --card-s-pad: var(--s-20); --card-s-gap: var(--s-12); --card-s-badge: var(--s-12);
  /* the slider's soft track, the room of the buttons of a window, of a sheet's actions and of a list's selection bar */
  --zoom-track: var(--line);
  --dialog-btn-px: var(--s-24); --sheet-acts-btn-px: var(--s-20);
  /* a window that asks, wider: its title's wide letters on one line (« Retirer la couverture de cette galerie ? »), and
     its two buttons side by side (5.20.0) */
  --dialog-w: var(--read-m);
  --selbar-field-py: var(--s-8); --selbar-field-px: var(--s-12);
  /* a tab shown, at 18 % of the gold: its 5 % ground would hardly show on white (a framed choice keeps it) */
  --tab-on-bg: color-mix(in srgb, var(--accent) 18%, transparent);
  /* the site's spinner: a soft gold ring, a gold top */
  --spin-ring: var(--line);
  /* the legal pages: a gold line under a heading */
  --doc-rule: var(--accent);
  /* badges: white on gold */
  --badge-lh: 1.8; --badge-py: var(--s-6); --badge-px: var(--s-16);
  --footer-py: var(--s-48);
}
/* a computer, wider than a phone: more room */
@media (min-width: 769px) {
  :root { --space-md: var(--s-20); --space-lg: var(--s-32); --space-xl: var(--s-48); }
}
/* the site's smaller computers, tablets and phones */
@media (max-width: 1024px) {
  [data-theme="vitrine"] { --topbar-py: var(--s-16); --topbar-px: var(--s-24); --topbar-gap: var(--s-24); --topbar-btn-h: 47px; --topbar-btn-px: var(--s-24); }
}
@media (max-width: 768px) {
  /* Atelier: a little less room inside a card on a phone, where the width is short (Bank's, 2026) */
  :root { --card-pad: var(--s-14); }
  /* Vitrine on a phone: badges, the footer and cards a little tighter */
  [data-theme="vitrine"] { --badge-py: 5px; --badge-px: var(--s-12); --footer-py: var(--s-24); --card-pad: var(--s-24); }
}
/* the sizes of the text on a phone: the big title smaller (36px at most, less on a narrow phone, so that a long word in
   capitals still holds: 30px at 375px), a page's title one step smaller, the cover's title smaller, in both
   themes (held sideways, the site kit gives a phone the same: sitebase.css, 5.7.0) */
@media (max-width: 768px) {
  :root, [data-theme] { --type-display-size: clamp(28px, 8vw, 36px); --type-title-1-size: 22px; --type-cover-size: 48px; }
  [data-theme="vitrine"] { --type-title-1-size: 24px; }
}
@media (max-width: 480px) {
  [data-theme="vitrine"] { --btn-l-h: 59px; --btn-l-px: var(--s-24); --btn-px: var(--s-20); --field-btn-h: 29px;
    --topbar-px: var(--s-16); --topbar-gap: var(--s-8); --brand-size: 17px;
    --card-pad: var(--s-20); --card-gap: var(--s-12); --cover-badge: var(--s-12);
    /* a phone gives a window's and a sheet's words the width */
    --sheet-pad: var(--s-20); }
}
/* Less motion, when the device asks for it, in one place: nothing takes time, nothing lifts or zooms on hover, and every
   animation, the looping ones included (the wheels, the site's pulses and bounces), stands still at once. A component
   that must not even show its last frame (the header's tick) says so in its own file. */
/* the box to tick, a little bigger under a finger: the hint under it follows */
@media (pointer: coarse) {
  :root, [data-theme] { --check-box: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  :root, [data-theme] { --t-fast: 0s; --t-mid: 0s; --t-slow: 0s; --t-loop: 0s; --btn-lift: 0px; --card-lift: 0px; --cover-zoom: 1; }
  *, *::before, *::after { animation-duration: 0s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important;
    scroll-behavior: auto !important; }
}
/* Base of every page: the boxes to tick, the fields and the focus, drawn the same in every app. */
  a:focus-visible:where(:not([data-theme="vitrine"] *)), button:focus-visible:where(:not([data-theme="vitrine"] *)), select:focus-visible:where(:not([data-theme="vitrine"] *)), input:focus-visible:where(:not([data-theme="vitrine"] *)), textarea:focus-visible:where(:not([data-theme="vitrine"] *)) { outline: var(--focus); outline-offset: var(--focus-offset); border-radius: var(--r-s); }
  /* a field taken: its own edge turns gold, the ring drawn on its line rather than around it (8.7.3). Nothing passes its
     box, so a box that scrolls (a table's .tbl-wrap, a sheet, a list) never cuts it: Studio's « Chercher un nom », over a
     first column flush with the table's edge, lost its left side */
  :is(input:not([type=checkbox]):not([type=radio]), select, textarea):focus-visible:where(:not([data-theme="vitrine"] *)) { outline-offset: calc(-1 * var(--focus-offset)); }
  input:not([type=checkbox]):not([type=radio]), select, textarea { font: var(--type-text-weight) var(--type-text-size)/var(--field-lh) var(--type-text-font); letter-spacing: var(--type-text-ls); color: var(--ink); background: var(--field-bg); border: 1px solid var(--field-line); border-radius: var(--r-m); padding: 0 var(--field-px); min-width: 0; text-transform: var(--type-text-case); }
  /* a field's text is centred in its height; only a textarea, which grows, takes room above and under its lines */
  textarea { padding-block: var(--field-py); }
  input::placeholder, textarea::placeholder { color: var(--faint); }
  /* a field that cannot be changed (a finished selection), greyed; a textarea grows only downwards */
  :is(input:not([type=checkbox]):not([type=radio]), select, textarea):disabled { color: var(--faint); background: var(--band); cursor: not-allowed; }
  textarea { resize: vertical; }
  /* a box the focus is moved into (a sheet, the photo viewer, a drawer on a phone, tabindex -1) shows no text cursor:
     the browser's text cursor mode (F7) put one blinking at its first word, as if one could write there; a field keeps
     its own, which it does not inherit while it has the focus */
  [tabindex="-1"]:focus:not(input, textarea, select, [contenteditable]) { caret-color: transparent; }
  /* what a search looked for, lit in a list (ds.highlight) */
  mark.hit { background: var(--accent-soft); color: var(--accent-text); border-radius: var(--r-xs); }
/* a field and a menu are as high as a button beside them (--control-h); a textarea and a list of several lines keep theirs */
  :where(input:not([type=checkbox], [type=radio], [type=range], [type=file], [type=color], [type=hidden], [type=image]), select:not([multiple], [size])) { box-sizing: border-box; height: var(--control-h); }
/* a menu looks like every list that opens (a pill, a search's button, .combo): a field, the sprite's chevron on its
   right instead of the browser's arrow, which each browser draws its own way (« un seul look pour la combo box »,
   22 November 2026) */
  select:where(:not([multiple], [size])) { appearance: none; padding-right: calc(var(--field-px) + var(--ico-s) + var(--s-8));
    background-image: var(--chev-faint); background-repeat: no-repeat; background-position: right var(--field-px) center; background-size: var(--ico-s); }
/* the boxes to tick: in the accent, the same size everywhere, a little bigger under a finger (--check-box, which also
   sets the hint's indent under a box, 6.7.1) */
  input[type=checkbox] { accent-color: var(--accent); width: var(--check-box); height: var(--check-box); margin: 0; cursor: pointer; vertical-align: middle; }
/* a box ticked by a click that saves at once (Studio's Planning), a button drawn as the boxes above, filled with the
   accent and its tick once on: <button class="box" aria-pressed="false"><svg class="ico"><use href="#i-check"/></svg></button> */
  button.box { display: inline-grid; place-items: center; flex: none; width: var(--check-box); height: var(--check-box); margin: 0; padding: 0; box-sizing: border-box; cursor: pointer;
    background: transparent; border: 1.5px solid var(--line-2); border-radius: var(--r-xs); color: transparent; }
  button.box .ico { width: var(--ico-s); height: var(--ico-s); stroke-width: 2.8; }
  button.box[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
  @media (hover: hover) { button.box:hover { border-color: var(--accent); } }
  button.box.is-busy { opacity: var(--o-busy); cursor: progress; }
/* a link inside running words (a person's name in a row's line, a day, a site): the words' own colour, gold under the
   pointer, as a row's title: <a class="link"> */
  a.link { color: inherit; text-decoration: none; }
  @media (hover: hover) { a.link:hover { color: var(--accent-text); } }
/* its second line, in small under it (a linked operation's kind, 4.25.0): <a class="link">Le nom<small>remboursement</small></a> */
  a.link > small { display: block; color: var(--faint); font-size: var(--type-caption-size); font-family: var(--type-caption-font); font-weight: var(--type-caption-weight); letter-spacing: var(--type-caption-ls); text-transform: var(--type-caption-case); }
/* a quiet link of one icon beside a name (a person's profile on a network, 4.25.0): faint, gold on a gold ground under
   the pointer or the focus, its icon the small one: <a class="icon-link" href="…" aria-label="…"><svg class="ico">… */
  a.icon-link { display: inline-flex; padding: var(--s-2); border-radius: var(--r-s); color: var(--faint); }
  a.icon-link:focus-visible { color: var(--accent); background: var(--accent-soft); }
  @media (hover: hover) { a.icon-link:hover { color: var(--accent); background: var(--accent-soft); } }
  a.icon-link .ico { width: var(--ico-sm); height: var(--ico-sm); }
/* a field in use, on the public sites: the full gold edge and a faint gold halo, as on alexispaoleschi.com */
  :where([data-theme="vitrine"]) :where(input:not([type=checkbox]):not([type=radio]), select, textarea) { transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease; }
  :where([data-theme="vitrine"]) input:not([type=checkbox]):not([type=radio]):focus, :where([data-theme="vitrine"]) select:focus, :where([data-theme="vitrine"]) textarea:focus { outline: none; border-color: var(--accent); box-shadow: var(--field-halo); }
/* running text on the public sites: paragraphs at 85%, their links in gold, a little heavier and underlined */
  :where([data-theme="vitrine"]) p { color: var(--dim); }
  /* a link in a sentence, or in a box's words (« I accept the Terms and Conditions », 6.1.0): gold, underlined */
  :where([data-theme="vitrine"]) :is(p, .check) a { color: var(--accent-text); font-weight: var(--type-strong-weight); text-decoration: underline; transition: color var(--t-fast) ease; }
  @media (hover: hover) { :where([data-theme="vitrine"]) :is(p, .check) a:hover { color: var(--accent-strong); } }
/* A field's label over it, in the theme's small capitals (Selecta's sign-in): <label class="field-label" for="…"> */
  .field-label { display: block; color: var(--faint); font-family: var(--type-smallcaps-font); font-size: var(--type-smallcaps-size); font-weight: var(--type-smallcaps-weight);
    letter-spacing: var(--type-smallcaps-ls); text-transform: var(--type-smallcaps-case); }
/* a field that must be filled says so after its label, or after a box's words, with a gold star that a screen reader
   leaves out (the field's own required says it): .field-label.is-required, <span class="is-required"> in a .check (6.2.0) */
  :is(.field-label, .check > span).is-required::after { content: "\a0*"; content: "\a0*" / ""; color: var(--accent-text); }
/* The line under a field: what happened to it, in gold for a success, in red for a refusal (the field then takes a red edge).
   .is-reserved keeps its line's height while it is empty, so that the message appearing moves nothing under it. */
  .field-note { display: block; margin: var(--s-12) 0 0; color: var(--dim);
    font: var(--type-small-weight) var(--type-small-size)/var(--field-note-lh) var(--type-small-font); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  .field-note.is-good { color: var(--good); }
  .field-note.is-bad { color: var(--bad); }
  .field-note.is-reserved { min-height: calc(var(--type-small-size) * var(--field-note-lh)); }
  /* the line ds.validate writes under a field that had none takes no room while it has nothing to say */
  .field-note[data-validate]:empty { display: none; }
  :where(:has(> .field-note.is-bad)) :is(input:not([type=checkbox]):not([type=radio]), select, textarea) { border-color: var(--bad-line); }
/* Something being saved or worked on (.is-busy on a photo's tile, a cover, a row): its picture steps back while it lasts;
   a button that works shows its wheel (buttons.css), a table's row steps back whole (table.css) */
  :where(.is-busy) > :is(img, video) { opacity: var(--o-busy); transition: opacity var(--t-fast) ease; }
/* A search field and its cross (.search-field > input + .search-clear): the cross shows once something is typed, on a
   phone too, where the browser drew none, and empties the field (ds.js tells the page, as typing would). The browser's
   own cross goes. The field needs a placeholder: an empty field is one that shows it, whoever emptied it. */
  /* as wide as its placeholder at the least (--search-min, 8.6.0: « Chercher un nom » was cut in a narrow column), never
     wider than its place */
  .search-field { position: relative; display: block; min-width: min(100%, var(--search-min)); }
  .search-field > input { width: 100%; padding-right: calc(var(--field-px) + var(--field-btn-h)); }
  .search-field > input::-webkit-search-cancel-button, .search-field > input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
  .search-field > .search-clear { position: absolute; top: 0; bottom: 0; right: var(--s-4); display: flex; align-items: center; justify-content: center;
    width: var(--field-btn-h); height: var(--field-btn-h); margin: auto 0; padding: 0; border: 0; border-radius: var(--r-m);
    background: none; color: var(--dim); cursor: pointer; transition: color var(--t-fast) ease; }
  .search-field > .search-clear:hover, .search-field > .search-clear:active, .search-field > .search-clear:focus-visible { color: var(--accent); }
  .search-field > input:placeholder-shown ~ .search-clear { display: none; }
/* What a search understands, under an « i » beside its cross (Bank's): <span class="search-field has-help"><input
   aria-describedby="h"><button class="search-clear">…<button class="search-info" aria-expanded="false" aria-label="Aide"><svg
   class="ico"><use href="#i-info"/></svg></button><span class="search-help" id="h" role="tooltip">…</span></span>. The help
   opens under the field on hover, on focus or on a tap (ds.js sets .is-open), a strip above it keeping it open while the
   mouse goes down to it; inside it, the forms and what they do as pairs (<dl>, a form in the mono, then its words) */
  .search-field.has-help > input { padding-right: calc(var(--field-px) + 2 * var(--field-btn-h)); }
  .search-field > .search-info { position: absolute; top: 0; bottom: 0; right: var(--s-4); display: flex; align-items: center; justify-content: center;
    width: var(--field-btn-h); height: var(--field-btn-h); margin: auto 0; padding: 0; border: 0; border-radius: var(--r-m);
    background: none; color: var(--dim); cursor: help; transition: color var(--t-fast) ease; }
  .search-field > input:not(:placeholder-shown) ~ .search-info { right: calc(var(--s-4) + var(--field-btn-h)); }
  .search-field > .search-info:hover, .search-field > .search-info:focus-visible, .search-field > .search-info[aria-expanded="true"] { color: var(--accent-text); }
  .search-field > .search-help { display: none; position: absolute; top: calc(100% + var(--s-6)); right: 0; z-index: var(--z-over);
    width: min(100%, var(--read-s)); box-sizing: border-box; padding: var(--s-12) var(--s-16); background: var(--panel); border: 1px solid var(--line);
    border-radius: var(--r-l); box-shadow: var(--shadow-pop); color: var(--dim); font: var(--type-small-weight) var(--type-small-size)/var(--lh-ui) var(--type-small-font); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  .search-field > .search-help::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: calc(var(--s-6) + 1px); }
  .search-field > .search-info:hover ~ .search-help, .search-field > .search-info:focus-visible ~ .search-help,
  .search-field > .search-help:hover, .search-field > .search-help.is-open { display: block; }
  .search-help dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-6) var(--s-16); margin: 0; }
  .search-help dt { font: var(--type-caption-weight) var(--type-caption-size)/var(--lh-ui) var(--mono); color: var(--ink); white-space: nowrap; letter-spacing: var(--type-caption-ls); text-transform: var(--type-caption-case); }
  .search-help dd { margin: 0; }
  @media (max-width: 480px) { .search-help dl { grid-template-columns: minmax(0, 1fr); row-gap: var(--s-2); } .search-help dd { margin-bottom: var(--s-6); } }

/* a live thing's beat (a sync under way, a client looking at a gallery now): its mark fades and comes back. In ds.css,
   which every app loads, so that a page without the tools can use it (4.0.1) */
@keyframes pulse { 50% { opacity: .35; } }
/* a figure's tone in a sentence or a row, outside a table or a tile: .tone.is-good (money in, a rise), .is-bad, .is-mid;
   a change, signed and in its tone (ds.delta): .delta, its figures aligned and a little bolder, on one line */
  :is(.tone, .delta).is-good { color: var(--good); }
  :is(.tone, .delta).is-bad { color: var(--bad); }
  :is(.tone, .delta).is-mid { color: var(--mid); }
  .tone.is-faint { color: var(--faint); }
/* and a word put forward (4.25.0): .tone.is-gold (a planned day, « en attente », a gift), .tone.is-ink (a figure among
   quieter ones), .tone.is-strong (the same, bold: a month's net) */
  .tone.is-gold { color: var(--accent-text); }
  .tone.is-ink { color: var(--ink); }
  .tone.is-strong { color: var(--ink); font-weight: var(--type-strong-weight); }
/* a country's flag, an emoji, in the body's font so that a line in mono still draws it (4.26.1) */
  .flag { font-family: var(--type-text-font); }
  .delta { font-variant-numeric: tabular-nums; font-weight: var(--type-strong-weight); white-space: nowrap; }
/* Headings for a page's parts, the same in every app (the audit of 23 November 2026: Selecta wrote seven): .title-1 a
   page's title, .title-2 a section, .title-3 a block (a column, a panel, a side panel), each in its text role (5.0.0). A page's head (.page-head): its small gold word above (.eyebrow), its
   title, what it does on the right on a computer; a sentence under it at reading width (.lede). The spaces that grow a
   step on a computer (--space-md, --space-lg, --space-xl) set a page's room. */
  .title-1, .title-2, .title-3 { margin: 0; min-width: 0; color: var(--ink);
    line-height: var(--title-wrap-lh); padding-block: var(--title-wrap-pad); overflow-wrap: anywhere; text-wrap: balance; }
  .title-1 { font-size: var(--type-title-1-size); text-transform: var(--type-title-1-case); font-family: var(--type-title-1-font); font-weight: var(--type-title-1-weight); letter-spacing: var(--type-title-1-ls); }
  .title-2 { font-size: var(--type-title-2-size); font-family: var(--type-title-2-font); font-weight: var(--type-title-2-weight); letter-spacing: var(--type-title-2-ls); text-transform: var(--type-title-2-case); }
  .title-3 { font-size: var(--type-title-3-size); font-family: var(--type-title-3-font); font-weight: var(--type-title-3-weight); letter-spacing: var(--type-title-3-ls); text-transform: var(--type-title-3-case); }
  .eyebrow { margin: 0 0 var(--s-6); color: var(--accent-text); font: var(--type-smallcaps-weight) var(--type-smallcaps-size)/var(--lh-tight) var(--type-smallcaps-font);
    letter-spacing: var(--type-smallcaps-ls); text-transform: var(--type-smallcaps-case); }
  .lede { max-width: var(--read-m); margin: 0 0 var(--space-lg); color: var(--lede-color); font-size: var(--type-text-size); line-height: var(--text-lh); font-family: var(--type-text-font); font-weight: var(--type-text-weight); letter-spacing: var(--type-text-ls); text-transform: var(--type-text-case); }
  .page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-12) var(--s-16); margin-bottom: var(--space-lg); }
  .page-head > .eyebrow { flex: 0 0 100%; margin: 0 0 calc(-1 * var(--s-8)); }
/* A form's pieces outside a settings page (Selecta's admin, a sign-in): a field with its label above and its line under
   it (.field-group: .field-label, the control, .field-note); a card holding a form at reading width (.card.is-form); a
   field and its buttons on one line, in a column on a phone (.field-row); a figure and its unit after it (.field-with-unit,
   .field-unit); a box with its words (.check, a finger's height
   on a touch screen, its hint under it, .check-hint) and a list of them (.checks, a fieldset whose legend is a .field-label, or a div); a
   choice among a few in one bar cut in boxes (.choices, .choice); the newer and older pages at the two ends of a list
   (.pager). A button that stays pressed is in buttons.css. */
  .field-group { display: flex; flex-direction: column; gap: var(--s-6); min-width: 0; }
  /* its control across the column; a date field without the phone's own frame, which would overflow the card (iOS) */
  .field-group > :is(input, select, textarea) { width: 100%; }
  .field-group input[type="date"] { max-width: 100%; text-align: left; -webkit-appearance: none; appearance: none; }
  .field-group > .field-note { margin-top: 0; }
  .card.is-form { display: flex; flex-direction: column; gap: var(--space-md); max-width: var(--read-s); }
  /* a form card across its whole width (6.6.0: a workshop's application): its fields two by two, a long text alone on its
     line as are boxes to choose from (7.8.0), and all that is not a field (the boxes, the button, the line under it, its foot) across the card; the button in
     the middle, at its own size (7.7.4: half the card wide was too much). On a phone, one field under the other and the button across, as any form */
  .card.is-form.is-wide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md) var(--s-24); max-width: none; }
  .card.is-form.is-wide > :not(.field-group), .card.is-form.is-wide > .field-group:has(> :is(textarea, .choices)) { grid-column: 1 / -1; }
  .card.is-form.is-wide > .btn { justify-self: center; }
  /* the big button of a form card (a workshop's application): set apart from the fields above it, a step more than two
     fields are from each other (7.1.3) */
  .card.is-form > .btn.is-large { margin-top: calc(var(--space-lg) - var(--space-md)); }
  /* the line under it that says how the sending went: no room while it says nothing, out of the flow (still heard once it
     speaks: it is not hidden) */
  .card.is-form > .field-note:empty { position: absolute; margin: 0; }
  @media (max-width: 768px) { .card.is-form.is-wide { grid-template-columns: minmax(0, 1fr); } .card.is-form.is-wide > .btn { justify-self: stretch; } }
  .field-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-8); }
  .field-row > :is(input, select, textarea) { flex: 1 1 12em; min-width: 0; }
  /* a figure and its unit after it, without script (8.5.0: Selecta's pages, which its server writes): « [30] min »,
     « [7] jours », « [ ] Go », the unit after the box and never in the label, as ds.fields writes it beside its field:
     <span class="field-with-unit"><input type="number" aria-describedby="u-quiet"><span class="field-unit" id="u-quiet">min</span></span> */
  .field-with-unit { display: flex; align-items: center; gap: var(--s-8); min-width: 0; }
  .field-with-unit > input { flex: 0 1 8em; width: 8em; min-width: 0; text-align: right; }
  .field-unit { flex: none; color: var(--faint); font: var(--type-caption-weight) var(--type-caption-size)/var(--lh-tight) var(--type-caption-font); letter-spacing: var(--type-caption-ls); text-transform: var(--type-caption-case); }
  .check { display: flex; align-items: center; gap: var(--s-8); cursor: pointer; font-size: var(--type-text-size); font-family: var(--type-text-font); font-weight: var(--type-text-weight); letter-spacing: var(--type-text-ls); text-transform: var(--type-text-case); }
  .check > input { flex: none; margin: 0; }
  /* in Vitrine, what belongs to a form (a label, the line under a field, a box's words, its hint, a button) is medium; only
     the text around it is light */
  /* the hint under a box is drawn as the line under a field (.field-note): one look for both */
  .check-hint { margin: calc(-1 * var(--s-4)) 0 0; padding-left: calc(var(--check-box) + var(--s-8)); color: var(--dim);
    font: var(--type-small-weight) var(--type-small-size)/var(--field-note-lh) var(--type-small-font); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  @media (pointer: coarse) { .check { min-height: var(--touch-target); } }
  .checks { display: flex; flex-direction: column; gap: var(--s-8); min-width: 0; margin: 0; padding: 0; border: 0; }
  .checks > legend { margin-bottom: var(--s-6); padding: 0; }
  /* the line that says what is wrong with a box (ds.validate), under its words as its hint is */
  .checks > .field-note { margin: calc(-1 * var(--s-4)) 0 0; padding-left: calc(var(--check-box) + var(--s-8)); }
  /* a choice among a few, in one bar cut in as many boxes (7.8.0: a workshop's session, its dates under its name; 7.8.1:
     one bar, the chosen box all gold, no round to tick): .choices, a div role=radiogroup named by its .field-label
     (aria-labelledby), holding a label.choice per option with its radio (out of sight, still there for the keyboard and a
     screen reader), its name (.choice-title) and, if need be, a line under it (.choice-text); a data-error on .choices
     gives ds.validate its words. The bar has a field's edge and ground, a thin line between its boxes; the chosen box is
     gold with its words in the colour a gold button writes in, the one the keyboard is on has the focus ring inside it.
     One box under the other on a phone. In a wide form card, it takes the whole width as a long text does (above). */
  .choices { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border: 1px solid var(--field-line); border-radius: var(--r-m);
    background: var(--field-bg); overflow: hidden; transition: border-color var(--t-fast) ease; }
  .choice { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-2); min-height: var(--control-h);
    padding: var(--s-12) var(--s-16); text-align: center; color: var(--ink); cursor: pointer; transition: background-color var(--t-fast) ease, color var(--t-fast) ease; }
  .choice + .choice { border-left: 1px solid var(--field-line); }
  .choice > input { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; }
  .choice-title { font-family: var(--type-strong-font); font-size: var(--type-strong-size); font-weight: var(--type-strong-weight); letter-spacing: var(--type-strong-ls); text-transform: var(--type-strong-case); }
  .choice-text { color: var(--dim); font: var(--type-small-weight) var(--type-small-size)/var(--field-note-lh) var(--type-small-font); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  @media (hover: hover) { .choice:not(:has(> input:checked)):not(:has(> input:disabled)):hover { background: var(--accent-soft); } }
  .choice:has(> input:checked) { color: var(--on-accent); background: var(--accent); }
  .choice:has(> input:checked) > .choice-text { color: var(--on-accent); }
  .choice:has(> input:focus-visible) { outline: var(--focus); outline-offset: calc(-1 * var(--s-4)); }
  .choice:has(> input:checked:focus-visible) { outline-color: var(--on-accent); }
  .choice:has(> input:disabled) { color: var(--faint); background: var(--band); cursor: not-allowed; }
  .choice:has(> input:disabled) > .choice-text { color: var(--faint); }
  .choices:has(> .choice > input[aria-invalid="true"]) { border-color: var(--bad-line); }
  @media (max-width: 768px) {
    .choices { grid-auto-flow: row; grid-auto-columns: auto; }
    .choice + .choice { border-left: 0; border-top: 1px solid var(--field-line); }
  }
  /* two fields side by side with their words (« du … au … »), one under the other on a phone */
  .field-pair { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-8); align-items: center; }
  .field-pair > label { display: contents; color: var(--faint); font: var(--type-small-weight) var(--type-small-size)/var(--lh-tight) var(--type-small-font); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  .field-pair :is(input, select) { min-width: 0; }
  @media (min-width: 769px) { .field-pair { grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr); } }
  .pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-12); margin-top: var(--space-lg); }
  .pager > :only-child { margin-left: auto; }
/* The page of an app (Bank, Studio): its reset, its header and the loading in it, the first loading over the page, the
   page's width and margins, the room of the phone's tab bar, words for screen readers only. */
  * { box-sizing: border-box; }
  [hidden] { display: none !important; }
  /* the text keeps its size when a phone turns sideways, and a picture never runs wider than its room (4.27.1: Selecta's
     and Studio's, every app's) */
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  img, video, canvas { max-width: 100%; }
  body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--type-text-font); font-size: var(--type-text-size); font-weight: var(--type-text-weight); line-height: var(--text-lh); -webkit-font-smoothing: antialiased; letter-spacing: var(--type-text-ls); text-transform: var(--type-text-case); }
  a { color: inherit; }
  /* a word put forward takes the strong weight, never the browser's bold (5.0.0) */
  b, strong { font-weight: var(--type-strong-weight); }
  .ico { width: var(--ico-m); height: var(--ico-m); flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  header.top { align-items: center; border-bottom: 1px solid var(--line-2); display: flex; gap: var(--s-12); justify-content: space-between; padding-bottom: var(--s-12); position: relative; }
  .brand { font: var(--brand-weight) var(--brand-size)/var(--lh-tight) var(--brand-font); letter-spacing: var(--brand-ls); text-transform: uppercase; color: var(--accent-text); }
  /* the header's square buttons (reload the sources, the settings, the new version): .btn.is-icon, quieter than a button
     of the page, on the panel's ground with a faint icon; under the pointer and pressed, its icon and its edge in gold like
     every button; a lit new version (.newver.is-on, live.css) keeps its gold. One with nothing to do (disabled: Bank's
     undo and redo) stays in its place, greyed further (--o-off), and does not light up */
  :where(header.top) .btn.is-icon { background: var(--panel); color: var(--faint); }
  :where(header.top) .btn.is-icon:disabled { opacity: var(--o-off); }
  header.top .busy { align-items: center; color: var(--accent-text); display: inline-flex; font: var(--type-strong-weight) var(--type-caption-size)/var(--lh-tight) var(--type-caption-font); gap: var(--s-6); margin-right: auto; visibility: hidden; letter-spacing: var(--type-caption-ls); text-transform: var(--type-caption-case); }
  /* a whole turn in four quarters: from « none » to rotate(360deg), the same matrix at both ends, Safari on an iPhone
     turned the header's wheel by an eighth of a turn and back, every 0.8s (Bank, 28 November 2026: « la roue ne tourne
     pas »); a quarter at a time leaves no doubt of the way round */
  @keyframes spin { from { transform: rotate(0deg); } 25% { transform: rotate(90deg); } 50% { transform: rotate(180deg); }
    75% { transform: rotate(270deg); } to { transform: rotate(360deg); } }
/* the loading, as on Studio: a spinner and how far it got, then a green tick that fades away */
  /* ds.busy puts the class loading on header.top while something loads; .busy-text says what, for screen readers only */
  header.top.is-loading .busy { visibility: visible; }
  header.top .busy .busy-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  header.top .busy .busy-share { font: var(--type-strong-weight) var(--type-caption-size)/var(--lh-tight) var(--mono); color: var(--accent-text); min-width: 3.2ch; font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: var(--type-caption-ls); text-transform: var(--type-caption-case); }
  /* its disc on the middle of the name's capitals (1.1px low before, 22 November 2026) */
  header.top .busy .busy-ok { display: none; width: 16px; height: 16px; border-radius: 50%; background: var(--good-soft); place-items: center; translate: 0 -0.1em; }
  header.top .busy .busy-ok svg { fill: none; height: var(--ico-s); stroke-dasharray: 16; stroke-dashoffset: 16; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.4; stroke: var(--good); width: var(--ico-s); }
  header.top.is-loaded .busy { visibility: visible; animation: okfade 1.9s ease forwards; }
  header.top.is-loaded .busy .spin, header.top.is-loaded .busy .busy-share { display: none; }
  header.top.is-loaded .busy .busy-ok { display: inline-grid; animation: okpop .35s ease-out; }
  header.top.is-loaded .busy .busy-ok svg { animation: okdraw .35s .1s ease-out forwards; }
  @keyframes okpop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
  @keyframes okdraw { to { stroke-dashoffset: 0; } }
  @keyframes okfade { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }
  /* a loading that failed (ds.busy.fail): its word in red where the share was, for four seconds (7.5.0) */
  header.top.is-failed .busy { visibility: visible; animation: failfade 4s ease forwards; }
  header.top.is-failed .busy .spin, header.top.is-failed .busy .busy-ok { display: none; }
  header.top.is-failed .busy .busy-share { color: var(--bad); }
  @keyframes failfade { 0%, 85% { opacity: 1; } 100% { opacity: 0; } }
  
  header.top .busy .spin { --spin-size: 14px; display: block; }
/* the first loading, in the middle of the page: what is being read, then it fades as the page is drawn */
  .boot { display: grid; place-items: center; text-align: center; min-height: 52vh; padding: var(--s-24); transition: opacity var(--t-mid) ease; }
  .boot.is-gone { opacity: 0; }
  .boot .boot-title { margin: 0; font-size: var(--type-title-3-size); font-weight: var(--type-title-3-weight); color: var(--ink); font-family: var(--type-title-3-font); letter-spacing: var(--type-title-3-ls); text-transform: var(--type-title-3-case); }
  .boot .boot-text { margin: var(--s-8) 0 0; font-size: var(--type-small-size); color: var(--dim); min-height: 1.3em; font-family: var(--type-small-font); font-weight: var(--type-small-weight); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  .boot .boot-retry { margin-top: var(--s-16); }
/* over the page below the header, so that nothing moves when it goes: the page is drawn under it, then it fades */
  .boot { position: fixed; inset: calc(var(--boot-top) + var(--safe-top)) 0 0 0; z-index: var(--z-over); background: var(--bg); min-height: 0; }
/* the loading's spinner and share in the middle too, above what is being read: the eye goes there first */
  .boot .boot-progress { display: inline-flex; align-items: center; gap: var(--s-8); margin-bottom: var(--s-14); font: var(--type-strong-weight) var(--type-small-size)/var(--lh-tight) var(--mono); color: var(--accent-text); font-variant-numeric: tabular-nums; letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  .boot .boot-progress .spin { --spin-size: 18px; display: block; }
  .boot .boot-progress span { min-width: 3.2ch; text-align: left; }
  .boot .boot-progress span:empty { display: none; }
  .boot.is-failed .boot-progress { display: none; }
/* on an iPhone app, a page shorter than the screen puts the bottom bar higher, by the status bar's height:
     the page always fills the screen, so that the bar stays in the same place while loading and after */
  html { min-height: calc(100% + var(--safe-top)); }
@media (max-width: 768px) {
    /* the room the bar of tabs takes at the foot of a phone page, only on a page that has one (not the site's, nor Selecta's) */
    body:not(.settings):has(.tabs.is-bar) { padding-bottom: calc(90px + var(--safe-bottom)); }
}
@media (max-width: 480px) {
   header.top { gap: var(--s-6); }
   header.top .tabs button { padding: var(--s-8) var(--s-8); }
}
@media (prefers-reduced-motion: reduce) {
   header.top.is-loaded .busy, header.top.is-loaded .busy .busy-ok, header.top.is-failed .busy { animation: none; }
   /* the tick is drawn at once and stays, as Studio did (the wheels stand still through tokens.css) */
   header.top.is-loaded .busy .busy-ok svg { stroke-dashoffset: 0; animation: none; }
}
  /* the page: one width for every app, the margins clear of the phone's edges */
  .wrap { display: grid; gap: var(--s-14); margin: 0 auto; max-width: var(--page-max); padding-block: var(--s-24) var(--s-60); padding-left: max(var(--s-16), var(--safe-left)); padding-right: max(var(--s-16), var(--safe-right)); }
/* an app's page keeps clear of the phone's notch and of its home bar: its root takes their room, and a jump to an anchor
   stops under the notch; the public sites (Vitrine) draw their own top bar and footer around them */
  :root:not([data-theme="vitrine"]) { padding-top: var(--safe-top); padding-bottom: var(--safe-bottom); scroll-padding-top: var(--safe-top); }
/* the tools keep the scroll bar's room, so that the page never shifts sideways when a list grows longer than the screen;
   the public sites (Vitrine) do not have this bar's room to keep */
  :root:not([data-theme="vitrine"]) { scrollbar-gutter: stable; }
/* words for screen readers only, kept out of sight */
  .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* a line that goes on two on a phone, where its writer chose: what follows starts a line of its own, and the separator
   before it (.sep, a « · ») goes; wider, all of it stays on one line */
@media (max-width: 768px) {
  .phone-break { display: block; }
  .phone-break > .sep { display: none; }
}
/* The small marks, each drawn once.
   The swatch: the small square of an item's colour (--n), a bank, a category, an agenda, a network: .swatch, and the same
   square wherever ds shows one (a filter's, the calendar's .cal-mark, a chart's key, a tile's title, a picker's
   colour alone); --swatch-size (10px) and --swatch-c (its colour, --n by default) may change; .is-open draws it hollow. */
  .swatch, .cal-mark, .chart-key, .tile dt i, .picker-av.is-dot {
    flex: none; box-sizing: border-box; width: var(--swatch-size, 10px); height: var(--swatch-size, 10px); border-radius: var(--r-xs);
    background: var(--swatch-c, var(--n, var(--dim))); border: 1.5px solid var(--swatch-c, var(--n, var(--dim))); }
  .swatch.is-open, .cal-mark.is-open { background: transparent; }
  .picker-av.is-dot { --swatch-c: var(--n, var(--accent)); }
/* The pip: the small gold dot that says something waits (a filter in use on its tab, a new version on the reload button,
   a view with news in the tab bar): .pip, and the same dot wherever ds draws one; --pip-size (7px) may change, and on a
   button it keeps a ring of the button's ground (.newver-pip, the settings' reload). */
  .pip, .filter-pip, .newver-pip, .tabs .tabn {
    flex: none; box-sizing: border-box; width: var(--pip-size, 7px); height: var(--pip-size, 7px); border-radius: 50%; background: var(--accent); }
  .newver-pip { outline: 2px solid var(--panel); }
  /* on a photo, a light ring keeps it seen (a note left on a photo, Selecta) */
  .pip.is-ringed { box-shadow: 0 0 0 var(--s-2) var(--overlay-white-strong); }
  /* in a line of text it sits on the line; red, something went wrong (Bank: an account whose read failed, 8.13.0). A pip
     says in its title what it means, which a pointer shows on it (« quand je mets ma souris sur le point rouge ou
     orange, faut l'explication »), and to a screen reader as an image (role="img", aria-label) */
  .pip { display: inline-block; vertical-align: middle; }
  .pip.is-bad { background: var(--bad); }
/* The spinner, for every wait, drawn once: a ring (--spin-ring) whose top quarter (--spin-top, the gold) turns at one
   speed (--spin-time), its size --spin-size: 16px in a line, 28px on a photo's tile, 60px for a whole page; the small
   ones of a message's action (11px), a passing message (12px), a button at work (13px, in its text's colour so that it
   shows on a filled button), the header (14px) and the first loading (18px). On a photo, its ring is white. */
  .spinner, .btn.is-busy::after, .msg .act .spin, header.top .busy .spin, .boot .boot-progress .spin, .toast.is-busy .mark {
    flex: none; box-sizing: border-box; width: var(--spin-size, 16px); height: var(--spin-size, 16px); background: none;
    border: 2px solid var(--spin-ring); border-top-color: var(--spin-top, var(--accent)); border-radius: 50%; animation: spin var(--spin-time) linear infinite; }
  .spinner { display: inline-block; }
  .spinner.is-medium { --spin-size: 28px; }
  .spinner.is-large { --spin-size: 60px; }
  .spinner.on-photo { --spin-ring: var(--overlay-white-light); }
/* The tag: a short word in a small frame (Bank's « bientôt » and its trips, Studio's labels, a late source), in its
   colour: --a, the gold unless the page gives one (a bank's, a network's: style="--a: var(--c-bleu)"), or a tone,
   .tag.is-good, .is-bad, .is-mid, or grey for what matters less, .is-faint (8.5.0: a quiet notification). Its ground and its edge are that colour, lighter (--soft-mix, --line-mix), its word
   too, darkened in vitrine so that it reads on white (--tint-ink, as a tile's label). A link
   (a.tag) shows its edge in full on hover; an icon in it is the small one. */
  .tag { --a: var(--accent); display: inline-flex; align-items: center; gap: var(--s-4); box-sizing: border-box; padding: var(--s-2) var(--s-6);
    font: var(--type-strong-weight) var(--type-caption-size)/var(--lh-tight) var(--type-caption-font); letter-spacing: var(--type-caption-ls); text-transform: var(--type-caption-case); text-decoration: none; white-space: nowrap;
    color: color-mix(in oklab, var(--a) var(--tint-ink), var(--ink)); background: color-mix(in srgb, var(--a) var(--soft-mix), transparent);
    border: 1px solid color-mix(in srgb, var(--a) var(--line-mix), transparent); border-radius: var(--r-s); }
  .tag.is-good { --a: var(--good); }
  .tag.is-bad { --a: var(--bad); }
  .tag.is-mid { --a: var(--mid); }
  .tag.is-faint { --a: var(--faint); }
  .tag .ico { width: var(--ico-s); height: var(--ico-s); }
  @media (hover: hover) { a.tag:hover { border-color: var(--a); } }
/* buttons: one height, one font, one corner; only the colours tell them apart.
   grey to go somewhere, gold to act, filled gold to save, red to delete or sign out */
.btn { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: var(--s-6); min-height: var(--btn-h); padding: 0 var(--btn-px);
  font: var(--type-button-weight) var(--type-button-size)/var(--lh-tight) var(--type-button-font); letter-spacing: var(--type-button-ls); text-transform: var(--type-button-case); white-space: nowrap; text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--r-m); background: var(--btn-bg); box-shadow: var(--btn-shadow); color: var(--dim); cursor: pointer; }
/* under the pointer and while pressed, the same for every button of the Atelier: its text or its icon and its edge in gold
   (the header's square ones too); a button with nothing to do (disabled) does not move */
.btn:hover, .btn:active:where(:not([data-theme="vitrine"] *)) { color: var(--accent-text); border-color: var(--accent-line); }
/* .btn.is-act takes the chosen gold (chosen.css) */
.btn.is-act:is(:hover, :active) { border-color: var(--accent-strong); }
.btn.is-save { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.btn.is-save:is(:hover, :active) { filter: brightness(1.08); }
.btn.is-danger { color: var(--bad); background: var(--bad-soft); border-color: var(--bad-line); }
.btn.is-danger:is(:hover, :active) { border-color: var(--bad); }
.btn:disabled:not(.is-busy) { color: var(--faint); background: none; border-color: var(--line); cursor: default; filter: none; }
.btn:focus-visible:where(:not([data-theme="vitrine"] *)) { outline: var(--focus); outline-offset: var(--focus-offset); }
/* a button with only an icon (reload, settings, a pencil, a cross): square, as high as every button (--btn-icon-h), its
   icon in the middle */
.btn.is-icon { flex: none; width: var(--btn-icon-h); height: var(--btn-icon-h); min-height: 0; padding: 0; }

/* a pill (.is-pill): one of several actions of the same rank, on its gold tint with its icon (the selection bar's
   actions, the buttons of an open trip, an account's actions, the filters set); .is-pill.is-danger on the red tint. The
   corners of every button (--r-m), not round: nothing else in the apps is (18 November 2026) */
.btn.is-pill, .selbar-acts > .btn { color: var(--accent-text); background: var(--accent-soft); border-color: transparent; box-shadow: none; }
.btn.is-pill:is(:hover, :active), .selbar-acts > .btn:is(:hover, :active) { border-color: var(--accent-line); }
.btn.is-pill.is-danger { color: var(--bad); background: var(--bad-soft); }
.btn.is-pill.is-danger:is(:hover, :active) { border-color: var(--bad-line); }
.btn.is-pill .ico, .selbar-acts > .btn .ico { color: inherit; }

/* a large button: a public site's call to act (« Book now » on its hero); in a tool, the usual button */
.btn.is-large { min-height: var(--btn-l-h); padding: 0 var(--btn-l-px); }
/* a small button: a row's actions, a way back */
/* one size for every button of a theme, in every app: no small one since 4.0.0 (18 November 2026) */
/* an icon before the words, drawn with empty space around it in its square: moved by that space towards the edge, so
   that the gap on its side looks the same as after the words (the cross is the emptiest one) */
:where(.btn:not(.is-icon)) > .ico:first-child { margin-left: calc(-0.5 * var(--s-2)); }
:where(.btn:not(.is-icon)) > .ico:first-child:has(use[href="#i-close"]) { margin-left: calc(-1.5 * var(--s-2)); }
/* a button that opens a list (a category, a trip): <label class="btn is-select">, its words and its icon, and the native
   menu laid over it, invisible, so that a tap anywhere on it opens the device's own list (a wheel on an iPhone); the
   menu carries the name read aloud (aria-label), the button its look and its gold under the pointer */
.btn.is-select { position: relative; overflow: hidden; }
.btn.is-select select { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.btn.is-select:focus-within:where(:not([data-theme="vitrine"] *)) { outline: var(--focus); outline-offset: var(--focus-offset); }
/* vitrine: the buttons of alexispaoleschi.com. White with a soft gold edge; gold letters and a gold edge to act,
   filled gold to save, red to delete. On hover they fill with their colour and rise. */
[data-theme="vitrine"] .btn { color: var(--ink); transition: all var(--t-fast) ease; }
[data-theme="vitrine"] .btn.is-act { color: var(--accent-text); background: var(--btn-bg); border-color: var(--accent); }
[data-theme="vitrine"] .btn.is-save { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
[data-theme="vitrine"] .btn.is-danger { color: var(--bad); background: var(--btn-bg); border-color: var(--bad); }
[data-theme="vitrine"] .btn:disabled:not(.is-busy) { background: var(--btn-bg); border-color: var(--line); opacity: .6; }
/* a save button that is done (« Subscribed ») keeps its gold, faded: its white words on the white of the others would vanish */
[data-theme="vitrine"] .btn.is-save:disabled:not(.is-busy) { background: var(--accent); border-color: var(--accent); }
[data-theme="vitrine"] .btn:active { transform: none; }
@media (hover: hover) {
  [data-theme="vitrine"] .btn:not(:disabled):hover { color: var(--on-accent); background: var(--accent); border-color: var(--accent); transform: translateY(var(--btn-lift)); box-shadow: var(--shadow-pop); filter: none; }
  [data-theme="vitrine"] .btn.is-save:not(:disabled):hover { background: var(--accent-strong); border-color: var(--accent-strong); }
  [data-theme="vitrine"] .btn.is-danger:not(:disabled):hover { background: var(--bad); border-color: var(--bad); }
}
/* a button whose request is on its way (a form sent, ds.js marks it): it keeps its colours, it turns, and a second
   click sends nothing; only a button that cannot be used takes the faded look above */
  .btn.is-busy { cursor: progress; opacity: var(--o-muted); }
  .btn.is-busy::after { content: ""; --spin-size: 13px; --spin-ring: currentColor; --spin-top: transparent; }
/* in capitals (Vitrine), the words have nothing under their base line, so an icon or the wheel, centred on the line, sat
   lower than the letters (0.9px at 14px, « est-ce que la petite icône est bien centrée ? », 22 November 2026): they go
   up by what the line keeps under the capitals' middle, 0.06em (4.5.1 lifted the wheel by 0.1em, 0.5px too high),
   measured in Chromium on the showcase, Selecta's sign-in and the site */
  [data-theme="vitrine"] .btn.is-busy::after, [data-theme="vitrine"] .btn:not(.is-icon) > .ico { translate: 0 -0.06em; }
/* a button that stays pressed among others (a filter, « Afficher » on a password): filled with the strong gold, after
   every variant so that is-act does not cover it */
.btn[aria-pressed="true"], [data-theme="vitrine"] .btn[aria-pressed="true"] { color: var(--on-accent); background: var(--accent-strong); border-color: var(--accent-strong); }
/* The tabs: one choice among a few views or periods; a page's main views as a bar at the bottom of a phone. */
  .tabs { display: flex; gap: var(--s-4); background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-m); padding: var(--s-2); width: fit-content; }
  .tabs button { min-height: var(--s-24); font: var(--type-smallcaps-weight) var(--type-smallcaps-size)/var(--lh-tight) var(--type-smallcaps-font); letter-spacing: var(--type-smallcaps-ls); text-transform: var(--type-smallcaps-case); color: var(--faint); background: none; border: none; border-radius: var(--r-s); padding: var(--tab-py, var(--s-8)) var(--tab-px, var(--s-14)); cursor: pointer; }
  /* the same tabs for every choice among a few views or periods: a selected tab, a pressed button or a chosen one */
  .tabs button[aria-selected="true"], .tabs button[aria-pressed="true"] { background: var(--tab-on-bg); color: var(--accent-text); }
  /* a tab may also be a link (a choice of language: the page's own is aria-current) or a choice among radio buttons (a
     setting: <label><input type="radio" class="visually-hidden">…</label>); .tabs.is-icons holds only icons, each tab
     square around its icon, its name in aria-label and title */
  .tabs > a, .tabs > label { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: var(--s-24);
    padding: var(--tab-py, var(--s-8)) var(--tab-px, var(--s-14)); border-radius: var(--r-s); color: var(--faint); cursor: pointer; text-decoration: none;
    font: var(--type-smallcaps-weight) var(--type-smallcaps-size)/var(--lh-tight) var(--type-smallcaps-font); letter-spacing: var(--type-smallcaps-ls); text-transform: var(--type-smallcaps-case); }
  .tabs > a[aria-current="page"], .tabs > a[aria-current="true"], .tabs > label:has(input:checked) { background: var(--tab-on-bg); color: var(--accent-text); }
  .tabs > label:has(input:focus-visible) { outline: var(--focus); outline-offset: var(--focus-offset); }
  .tabs.is-icons > :is(button, a, label) { display: inline-grid; place-items: center; --tab-py: var(--s-4); --tab-px: var(--s-8); }
  .tabs.is-icons .ico { display: block; }
  /* .tabs.is-scroll: tabs that stay on one line and scroll sideways when they do not fit (a phone), a little tighter
     from a laptop down, so that more fit before they scroll (Studio's analysis, a person's networks) */
  .tabs.is-scroll { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; box-sizing: border-box; }
  .tabs.is-scroll > :is(button, a, label) { flex: none; white-space: nowrap; }
  @media (max-width: 1280px) { .tabs.is-scroll { --tab-px: var(--s-10); } }
  @media (hover: hover) { .tabs > :is(a, label):not([aria-current="page"]):not([aria-current="true"]):not(:has(input:checked)):hover { color: var(--accent-text); } }
/* a page's main views (Bank: Comptes, Opérations, Analyse, Voyages; Studio: Agenda, Analyse) in <div class="tabs is-bar">,
   each button holding <svg class="ico"> and <span class="tl">: in the header with their names on a computer; on a phone,
   a bar at the bottom within the thumb's reach, the icon above the name. A gold dot <i class="tabn"> says something waits
   in a view (Bank: the operations left to file); it sits on the icon's corner on a phone, so the name stays centred */
  .tabs.is-bar button { display: inline-flex; align-items: center; position: relative; }
  .tabs.is-bar button .ico { display: none; }
  .tabs .tabn { --pip-size: 6px; display: inline-block; margin-left: var(--s-6); vertical-align: middle; }
@media (max-width: 768px) {
  header.top .tabs.is-bar, .tabs.is-bar { position: fixed; z-index: var(--z-bar); left: 50%; transform: translateX(-50%); bottom: calc(14px + var(--safe-bottom));
    width: var(--tabbar-w); height: 54px; justify-content: space-between; gap: var(--s-6); padding: var(--s-6); border: 1px solid var(--line); border-radius: var(--r-m);
    background: color-mix(in srgb, var(--panel) 84%, transparent); -webkit-backdrop-filter: blur(var(--blur-l)); backdrop-filter: blur(var(--blur-l)); box-shadow: var(--shadow-sheet); }
  header.top .tabs.is-bar button, .tabs.is-bar button { flex: 1; flex-direction: column; justify-content: center; gap: var(--s-2); height: 40px; padding: 0; border-radius: var(--r-m); }
  .tabs.is-bar button .ico { display: block; width: var(--ico-l); height: var(--ico-l); }
  /* under its icon, a tab's word is a caption, as a phone's tab bar writes it: no capitals, no spacing (5.0.0) */
  .tabs.is-bar button .tab-label { display: block; line-height: var(--lh-tight); font-family: var(--type-caption-font); font-size: var(--type-caption-size); font-weight: var(--type-caption-weight); letter-spacing: var(--type-caption-ls); text-transform: var(--type-caption-case); }
  .tabs.is-bar .tabn { position: absolute; top: var(--s-4); left: calc(50% + var(--s-8)); margin: 0; }
  /* five views or more (Bank, with its Placements): the bar, and the passing messages above it, take the screen's width
     less 8px a side, and its buttons sit closer, so that every name holds; on the narrowest phones a name is shortened */
  :root:has(.tabs.is-bar > button:nth-of-type(5)) { --tabbar-w: min(calc(100% - var(--s-16)), 480px); }
  .tabs.is-bar:has(> button:nth-of-type(5)) { gap: var(--s-2); padding: var(--s-4); }
  .tabs.is-bar:has(> button:nth-of-type(5)) button { flex: 1 1 auto; min-width: 0; }
  .tabs.is-bar:has(> button:nth-of-type(5)) .tab-label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
/* The pill: a short menu that says its choice (« 12 mois », « Récentes d’abord »), drawn as every list that opens: a
   field's frame and ground, the sprite's chevron on its right (4.7.0). The real <select> lies over it,
   unseen, so that a tap opens the phone's own picker and the keyboard works as on any menu:
   <label class="pill"><span class="pv"></span><select>…</select></label>. ds.pills writes the choice in .pill-value.
   A filter in use is lit in gold (.is-on; on its own for a .pill.is-filter whose menu holds a value). In a card's title
   (.ct) it sits on the right. */
  .pill {--pill-py: var(--s-8); --pill-px: var(--s-12);
    position: relative; display: inline-flex; align-items: center; max-width: 100%; box-sizing: border-box; min-height: var(--btn-h); padding: var(--pill-py) var(--pill-px);
    gap: var(--s-8); border: 1px solid var(--field-line); border-radius: var(--r-m); color: var(--ink); background: var(--field-bg); cursor: pointer;
    font: var(--type-strong-weight) var(--type-small-size)/var(--lh-tight) var(--type-small-font); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  [data-theme="vitrine"] .pill { --pill-py: var(--s-10); --pill-px: var(--s-16); }
  .pill .pill-value { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pill::after, .combo::after { content: ""; flex: none; width: var(--ico-s); height: var(--ico-s); background: var(--faint);
    -webkit-mask: var(--chev) center / contain no-repeat; mask: var(--chev) center / contain no-repeat; }
  /* 16px, the least that keeps an iPhone from zooming in on the menu it opens */
  .pill select { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; font-size: var(--type-text-size); }
  @media (hover: hover) { :is(.pill, .combo):hover { border-color: var(--line-2); } }
  /* .pill.is-on takes the chosen gold (chosen.css), its chevron too */
  .pill.is-on::after { background: currentColor; }
  /* the menu is unseen: the pill shows where the keyboard is */
  .pill:has(select:focus-visible):where(:not([data-theme="vitrine"] *)) { outline: var(--focus); outline-offset: var(--focus-offset); }
  [data-theme="vitrine"] .pill:has(select:focus-visible) { border-color: var(--accent); box-shadow: var(--field-halo); }
  .pills { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-6); }
/* The combo: a list whose choices are searched (ds.picker under it, opened by it), saying its choice: the same look as a
   menu and a pill. <button type="button" class="combo" aria-haspopup="listbox"><span class="combo-value">Loisirs ›
   Restaurant</span></button>. Nothing chosen yet (Bank's « À classer »): .is-empty, in gold dashes. In a dense list's
   rows (Bank's operations): .is-compact, smaller. */
  .combo { display: inline-flex; align-items: center; gap: var(--s-8); max-width: 100%; min-width: 0; box-sizing: border-box; min-height: var(--control-h); padding: 0 var(--field-px);
    font: var(--type-text-weight) var(--type-text-size)/var(--field-lh) var(--type-text-font); letter-spacing: var(--type-text-ls); text-align: left; text-transform: var(--type-text-case);
    color: var(--ink); background: var(--field-bg); border: 1px solid var(--field-line); border-radius: var(--r-m); cursor: pointer; }
  .combo-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .combo[aria-expanded="true"] { border-color: var(--line-2); }
  .combo.is-empty { color: var(--accent-text); background: none; border-style: dashed; border-color: var(--accent-line); }
  .combo.is-empty::after { background: currentColor; }
  .combo.is-compact { min-height: 0; gap: var(--s-4); padding: var(--s-4) var(--s-6); font: var(--type-strong-weight) var(--type-caption-size)/var(--lh-tight) var(--type-caption-font); letter-spacing: var(--type-caption-ls); border-radius: var(--r-s); text-transform: var(--type-caption-case); }
  .ct .pill { margin-left: auto; }

/* The search picker: a field to type in, then the choices that match it, one tap away (Bank: a bank to connect, a
   category for an operation). A choice may carry its colour's initial or icon (.picker-av, coloured by --n), a word in
   small after its name, and what a tap does (.picker-cta, « Connecter → »); choices may stand under headings (a
   category, then its subcategories). ds.picker draws it in its holder and follows the keys. */
  .picker { display: grid; gap: var(--s-6); margin-top: var(--s-10); padding: var(--s-10); background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--r-l); }
  .picker-q { width: 100%; box-sizing: border-box; }
  .picker .picker-q { background: var(--panel); }
  .picker-list { display: grid; max-height: 320px; overflow-y: auto; overscroll-behavior: contain; }
  /* its box, under the choices (ds.picker's check): what a choice is for, always in sight under a long list */
  .picker-check { display: flex; align-items: center; gap: var(--s-8); margin-top: var(--s-4); padding: var(--s-10) var(--s-6) var(--s-2);
    border-top: 1px solid var(--line); color: var(--dim); font: var(--type-text-weight) var(--type-text-size)/var(--lh-ui) var(--type-text-font); cursor: pointer; letter-spacing: var(--type-text-ls); text-transform: var(--type-text-case); }
  .picker-check input { margin: 0; flex: none; }
  .picker-g { margin: var(--s-12) var(--s-6) var(--s-4); color: var(--faint);
    font: var(--type-smallcaps-weight) var(--type-smallcaps-size)/var(--lh-tight) var(--type-smallcaps-font); letter-spacing: var(--type-smallcaps-ls); text-transform: var(--type-smallcaps-case); }
  .picker-g:first-child { margin-top: var(--s-6); }
  .picker-opt { position: relative; display: flex; align-items: center; gap: var(--s-12); width: 100%; box-sizing: border-box; margin: 0; padding: var(--s-8) var(--s-6);
    background: none; border: 0; border-radius: var(--r-m); color: var(--ink); cursor: pointer; font: inherit; text-align: left; text-decoration: none; }
  /* a straight line between two choices, clear of the rounded corners a lit choice has */
  .picker-opt + .picker-opt::before { content: ""; position: absolute; top: 0; left: var(--s-6); right: var(--s-6); border-top: 1px solid var(--line); }
  .picker-opt:hover::before, .picker-opt.is-focused::before, .picker-opt:hover + .picker-opt::before, .picker-opt.is-focused + .picker-opt::before { border-top-color: transparent; }
  .picker-opt:hover, .picker-opt.is-focused { background: var(--accent-soft); }
  .picker-opt[aria-selected="true"] .picker-name { color: var(--accent-text); }
  .picker-av { display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: var(--r-m);
    color: color-mix(in oklab, var(--n, var(--accent)) var(--tint-ink-on-tint), var(--ink)); background: color-mix(in srgb, var(--n, var(--accent)) var(--tint-soft), transparent);
    font: var(--type-smallcaps-weight) var(--type-smallcaps-size)/var(--lh-tight) var(--type-smallcaps-font); letter-spacing: var(--type-smallcaps-ls); text-transform: var(--type-smallcaps-case); }
  .picker-av .ico { width: var(--ico-m); height: var(--ico-m); }
  /* a colour alone: the small square of the filters */
  .picker-av.is-dot { margin-inline: var(--s-4); }
  .picker-name { flex: 1; min-width: 0; font-weight: var(--type-strong-weight); overflow-wrap: anywhere; font-family: var(--type-strong-font); font-size: var(--type-strong-size); letter-spacing: var(--type-strong-ls); text-transform: var(--type-strong-case); }
  .picker-name small { margin-left: var(--s-6); color: var(--faint); font-weight: var(--type-small-weight); font-family: var(--type-small-font); font-size: var(--type-small-size); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  .picker-cta { color: var(--accent-text); font: var(--type-button-weight) var(--type-button-size)/var(--lh-tight) var(--type-button-font); white-space: nowrap; letter-spacing: var(--type-button-ls); text-transform: var(--type-button-case); }
  .picker-none { margin: var(--s-8) var(--s-6); color: var(--dim); font-size: var(--type-small-size); font-family: var(--type-small-font); font-weight: var(--type-small-weight); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }

/* The dashed button that adds one more (Bank: « Connecter une banque »): the page's width, a gold + in its ring, what
   it adds in bold and a line under it. Lit while what it opened is open (aria-expanded="true"). */
  .add-btn { display: flex; align-items: center; gap: var(--s-12); width: 100%; box-sizing: border-box; margin: 0; padding: var(--s-12) var(--s-14);
    background: none; border: 1px dashed var(--line-2); border-radius: var(--r-l); color: var(--ink); cursor: pointer; font: inherit; text-align: left; }
  .add-btn:hover, .add-btn[aria-expanded="true"] { background: var(--accent-soft); border-color: var(--accent-line); }
  .add-plus { display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%;
    color: var(--accent-text); background: var(--accent-soft); border: 1px solid var(--accent-line); font: var(--type-title-2-weight) var(--type-title-2-size)/var(--lh-tight) var(--type-title-2-font); letter-spacing: var(--type-title-2-ls); text-transform: var(--type-title-2-case); }
  .add-plus .ico { width: var(--ico-m); height: var(--ico-m); }
  .add-t { display: flex; flex-direction: column; gap: var(--s-2); min-width: 0; }
  .add-t b { font: var(--type-strong-weight) var(--type-strong-size)/var(--head-lh) var(--type-strong-font); letter-spacing: var(--type-strong-ls); text-transform: var(--type-strong-case); }
  .add-t small { color: var(--dim); font-size: var(--type-small-size); line-height: var(--lh-ui); font-family: var(--type-small-font); font-weight: var(--type-small-weight); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
/* The card and its parts: the card, its gold line on top (.is-ruled) and its colour (.is-tinted), one you click (.is-link),
   its label (.ct, fitted to its line) and the small headings inside it, a card that folds, its title and lines of
   details, its cover photo, the small one; cards side by side (.grid-cards). */
  .card { background: var(--card-bg); border: 1px solid var(--card-line); border-radius: var(--r-l); padding: var(--card-pad); box-shadow: var(--card-shadow); min-width: 0; }
  /* the gold line on top of a card, as on the site's event and newsletter cards */
  .card.is-ruled { border-top: 3px solid var(--accent); }
  /* a card among many side by side (Bank's banks, each a card): on the lighter ground, a little tighter */
  .card.is-raised { --card-bg: var(--panel-2); padding: var(--s-14) var(--s-16) var(--s-16); }
  /* a card you click rises a little */
  .card.is-link { color: inherit; text-decoration: none; transition: transform var(--t-mid) ease, box-shadow var(--t-mid) ease; }
  @media (hover: hover) { .card.is-link:hover { transform: translateY(var(--card-lift)); box-shadow: var(--card-hover-shadow); } }
  /* a card's label, and what acts on the card beside it; when both do not hold on the line, the action goes under it */
  .ct { align-items: center; color: var(--faint); display: flex; flex-wrap: wrap; font: var(--type-smallcaps-weight) var(--type-smallcaps-size)/var(--lh-tight) var(--type-smallcaps-font); gap: var(--s-8) var(--s-10); letter-spacing: var(--type-smallcaps-ls); margin: 0 0 var(--s-12); text-transform: var(--type-smallcaps-case); }
  h4.sect { align-items: center; color: color-mix(in oklab, var(--n, var(--faint)) var(--tint-ink), var(--ink)); display: flex; font: var(--type-smallcaps-weight) var(--type-smallcaps-size)/var(--lh-tight) var(--type-smallcaps-font); gap: var(--s-6); letter-spacing: var(--type-smallcaps-ls); margin: var(--s-16) 0 var(--s-6); text-transform: var(--type-smallcaps-case); }
  /* a section's title right above a list (Studio: « Du plus récent au plus ancien », Bank: a trip's ticked operations):
     a line under it, its action on its right (a button); as high as that button, with one or not, so that its words sit
     at the same place in every list; the list's first row then needs no line of its own */
  h4.sect.is-ruled { justify-content: space-between; gap: var(--s-12); min-height: var(--control-h); margin: 0; padding-bottom: var(--s-8); border-bottom: 1px solid var(--line-2); }
  h4.sect:first-of-type { margin-top: 0; }
  /* an empty list or card says so (« Rien de prévu ce mois-là. »); in a dashed box when it stands for a whole block
     (.is-box: no gallery yet, a card still loading) */
  .empty-note { color: var(--dim); margin: 0; }
  /* in a list, as high as its rows */
  li.empty-note { list-style: none; padding: var(--s-12) var(--s-2); }
  .empty-note.is-box { background: var(--panel); border: 1px dashed var(--line); border-radius: var(--r-l); color: var(--faint); font-size: var(--type-small-size); padding: var(--s-32) var(--s-16); text-align: center; font-family: var(--type-small-font); font-weight: var(--type-small-weight); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  /* a short sentence under a block, quieter than the text: what a figure means, where it comes from */
  .note { color: var(--dim); font-size: var(--type-small-size); line-height: var(--lh-ui); margin: var(--s-8) 0 0; font-family: var(--type-small-font); font-weight: var(--type-small-weight); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  /* quieter still: a count, a state, what is going on (« 12 photos dans la sélection », « Aucune notification ») */
  .note.is-faint { color: var(--faint); }
  /* an icon before a card's or a section's title, in gold, the size of its capitals */
  .ct > .ico, h4.sect > .ico { color: var(--accent-text); height: var(--ico-s); width: var(--ico-s); }
  /* in Atelier, Archivo's capitals stand higher than the middle of their line: the icon and the swatch go up to theirs;
     not in Vitrine, whose capitals sit on the middle (icon audit, 22 November 2026) */
  .ct > :is(.ico, .swatch):where(:not([data-theme="vitrine"] *)) { translate: 0 -0.075em; }
  /* what acts on a card's or a section's title line (a button, a month's arrows, tabs): on its right, in the words of a
     control rather than the title's capitals; on a narrow line it goes under the title */
  .ct > .ct-tools, h4.sect > .ct-tools { cursor: default; letter-spacing: var(--type-button-ls); margin-left: auto; text-transform: var(--type-button-case); font-family: var(--type-button-font); font-size: var(--type-button-size); font-weight: var(--type-button-weight); }
  /* a card title with its tools (a period selector, tabs; ds.card): they go under the title on a narrow screen, the fold's
     chevron just after them, and a folded card hides them (its chevron back on the right) */
  .ct-tools :is(.tabs, .periodpick) { margin: 0; }
  .card.is-folded > .ct > .ct-tools { display: none; }
/* a section that folds, its state kept by ds.fold: <details class="fold" data-fold="key"><summary>Courses
   <span class="fold-n">12</span></summary>…</details>; in a card, <details class="card fold"> with <summary class="ct">.
   Its chevron turns; a closed card's title takes no room below it. A card's title that folds its card itself, its state
   kept by the app (Studio), takes the same chevron: <h2 class="ct fold" role="button" aria-expanded="true">. */
  details.fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: var(--s-8); min-height: var(--s-24); }
  details.fold > summary::-webkit-details-marker { display: none; }
  details.fold > summary::after, .ct.fold[aria-expanded]::after { content: ""; flex: none; margin-left: auto; width: var(--s-6); height: var(--s-6); border-right: 1.5px solid var(--faint);
    border-bottom: 1.5px solid var(--faint); transform: rotate(-45deg); transition: transform var(--t-fast) ease, translate var(--t-fast) ease; }
  /* open, the square's two borders draw a V in its lower half (2.1px under its middle): it goes up by that much, and in an
     Atelier card's title by its capitals' 0.075em too (icon audit, 22 November 2026) */
  details.fold[open] > summary::after, .ct.fold[aria-expanded="true"]::after { transform: rotate(45deg); translate: 0 -28%; }
  .ct.fold[aria-expanded="true"]:where(:not([data-theme="vitrine"] *))::after,
  details.fold[open] > summary.ct:where(:not([data-theme="vitrine"] *))::after { translate: 0 calc(-28% - 0.075em); }
  .ct.fold[aria-expanded] { cursor: pointer; user-select: none; }
  /* a card's title that folds it, with its tools (a period selector): the tools on the right, the chevron just after them,
     and folded, the tools hidden and the chevron back on the right; the title stays as high as its words, with its tools
     or without: as much room above it as on its left (5.19.2) */
  .ct.fold[aria-expanded]:has(> .ct-tools)::after { margin-left: var(--s-4); }
  .card.is-folded > .ct.fold[aria-expanded]:has(> .ct-tools)::after { margin-left: auto; }
  /* the tools stand on the title's line and centre on it without making it taller, so that every card's title sits at
     the same place with tools or without (as much room above it as on its left; 5.19.2 for a title that folds its card,
     every card's title since 7.3.1), and the content keeps its room under them; folded, the tools hidden, nothing moves.
     On a narrow line they go under the title, 8px under its words; on a phone a title that folds its card puts its words
     on two lines rather than push the tools (a period list) under it */
  .ct:has(> :is(.ct-tools, .periodpick)) { --ct-tools-out: calc((var(--type-smallcaps-size) * var(--lh-tight) - var(--control-h)) / 2);
    row-gap: calc(var(--s-8) - var(--ct-tools-out)); }
  .ct > :is(.ct-tools, .periodpick) { margin-block: var(--ct-tools-out); }
  .ct:has(> :is(.ct-tools, .periodpick)):not(.card.is-folded > *) { margin-bottom: calc(var(--s-12) - var(--ct-tools-out)); }
  @media (max-width: 768px) {
    .ct.fold[aria-expanded]:has(> .ct-tools) { flex-wrap: nowrap; }
  }
  /* sections that fold, one under the other (Bank's rules, by who made them): a line between them, room around each
     title: <div class="folds"><details class="fold">… */
  .folds > details.fold { border-top: 1px solid var(--line); }
  /* a group's title in its summary, in gold (who made the rules), and what it is under it, before its lines (4.26.0):
     <summary><span class="fold-t">Apprises</span><span class="fold-n">12</span></summary><p class="fold-d">… */
  .fold-t { font: var(--type-title-3-weight) var(--type-title-3-size)/var(--lh-tight) var(--type-title-3-font); color: var(--accent); letter-spacing: var(--type-title-3-ls); text-transform: var(--type-title-3-case); }
  .fold-d { margin: 0 0 var(--s-6); font-size: var(--type-small-size); color: var(--dim); font-family: var(--type-small-font); font-weight: var(--type-small-weight); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  .folds > details.fold:first-child { border-top: none; }
  .folds > details.fold > summary { padding-block: var(--s-12); }
  details.fold .fold-n { font: var(--type-caption-weight) var(--type-caption-size)/var(--lh-tight) var(--mono); color: var(--faint); letter-spacing: var(--type-caption-ls); text-transform: var(--type-caption-case); }
  details.card.fold:not([open]) > summary.ct { margin-bottom: 0; }
  /* a card folded by its title (ds.foldCard): only the title stays */
  .card.is-folded > :not(.ct) { display: none !important; }
  .card.is-folded > .ct { margin-bottom: 0; }
  /* folded, a little less room under its title than above it, over the card's thinner bottom line (Studio's) */
  .card.is-folded { padding-bottom: var(--s-14); }
/* a row of actions under a block (Bank: a trip's « Voir les opérations », « Modifier »): on one line while they hold,
   then on two; on a narrow phone its buttons share the row, as wide as each other, their icons kept: <div class="acts"> */
  .acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-8); }
@media (max-width: 480px) {
  .acts { gap: var(--s-6); }
  .acts > .btn { flex: 1 1 0; min-width: 0; gap: var(--s-4); padding-inline: var(--s-4); }
}
/* cards side by side as the width allows, each at least --grid-min (Bank's accounts, Studio's overview, Selecta's galleries) */
  /* a card used as a bar (Selecta's selection, its panel, its state): the lightest shadow, its groups apart on a line, in
     a column on a phone */
  .card.is-bar { --card-shadow: var(--shadow-soft); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-12) var(--space-md); }
  @media (max-width: 768px) { .card.is-bar { flex-direction: column; align-items: stretch; } }
  /* a section that folds with its chevron before its title, in gold (Selecta's panels) */
  details.fold.is-lead > summary::after { content: none; }
  details.fold.is-lead > summary::before { content: ""; flex: none; width: var(--s-6); height: var(--s-6); margin-left: var(--s-2); border-top: 1.5px solid var(--accent-text);
    border-right: 1.5px solid var(--accent-text); transform: rotate(45deg); transition: transform var(--t-mid) ease; }
  details.fold.is-lead[open] > summary::before { transform: translateY(-28%) rotate(135deg); }
  /* what a section comes to, on the right of its title (Bank's bills: « Prévu 1 234€ ») */
  h4.sect > .sect-sum { display: inline-flex; align-items: baseline; gap: var(--s-6); margin-left: auto; color: var(--dim); font: var(--type-caption-weight) var(--type-caption-size)/var(--lh-tight) var(--type-caption-font); letter-spacing: var(--type-caption-ls); text-transform: var(--type-caption-case); }
  h4.sect > .sect-sum b { color: var(--ink); font: var(--type-strong-weight) var(--type-caption-size)/var(--lh-tight) var(--mono); letter-spacing: var(--type-caption-ls); text-transform: var(--type-caption-case); }
  /* a short note right after its title, in the body's words and not in capitals (a line's move today: « +1,2 % à 17h »,
     in its tone, 4.25.0) */
  h4.sect > .sect-note { margin-left: var(--s-6); font: var(--type-strong-weight) var(--type-caption-size)/var(--lh-ui) var(--type-caption-font); letter-spacing: var(--type-caption-ls); text-transform: var(--type-caption-case); }
  /* a line of short figures in mono, in gold (the golden hour: « ☀ 7h52 → 8h40 48 min ») : b a figure in ink, i its note,
     faint; the items apart (4.25.0) */
  .figline { display: flex; flex-wrap: wrap; gap: var(--s-14); margin: 0 0 var(--s-10); font: var(--type-small-weight) var(--type-small-size)/var(--lh-ui) var(--mono); color: var(--accent); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  .figline b { font-weight: var(--type-strong-weight); color: var(--ink); }
  .figline i { font-style: normal; color: var(--faint); margin-left: var(--s-6); }
  /* a card's total and its lines (a bank and its accounts): .sum-head, its name in small capitals in its colour (--n) and
     its figure large; .sum-line under it, a line's name and figure, quieter; .sum-link, a figure and its word aligned right
     with its arrow (where the money goes at the month's end; is-bad in red), beside its line in a .sum-row; each may be a
     link, gold under the pointer */
  :is(.sum-head, .sum-line) { display: flex; align-items: center; gap: var(--s-12); color: inherit; text-decoration: none; }
  :is(.sum-head, .sum-line) > .sum-name { flex: 1; min-width: 0; }
  /* a pip after a line's name (8.13.0: Bank's read that failed, its figure kept on the line) */
  .sum-name > .pip { margin-left: var(--s-6); }
  .sum-head > .sum-name { color: var(--n, var(--accent-text)); font: var(--type-smallcaps-weight) var(--type-smallcaps-size)/var(--lh-tight) var(--type-smallcaps-font); letter-spacing: var(--type-smallcaps-ls); text-transform: var(--type-smallcaps-case); }
  .sum-head > .sum-fig { font: var(--type-figure-weight) var(--type-figure-size)/var(--lh-tight) var(--type-figure-font); font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: var(--type-figure-ls); text-transform: var(--type-figure-case); }
  /* a line too narrow for its name and what follows it (a late tag, a figure) puts them under the name, never over it */
  .sum-line { flex-wrap: wrap; row-gap: var(--s-4); padding: var(--s-10) 0 0 var(--s-14); }
  .sum-line > .sum-name { flex: 1 1 auto; }
  .sum-line > .sum-fig { margin-left: auto; }
  .sum-line > .sum-name { color: var(--dim); font: var(--type-strong-weight) var(--type-strong-size)/var(--lh-ui) var(--type-strong-font); letter-spacing: var(--type-strong-ls); text-transform: var(--type-strong-case); }
  .sum-line > .sum-fig { color: var(--dim); font: var(--type-title-3-weight) var(--type-title-3-size)/var(--lh-tight) var(--type-title-3-font); font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: var(--type-title-3-ls); text-transform: var(--type-title-3-case); }
  .sum-link { display: flex; align-items: center; justify-content: flex-end; gap: var(--s-4); padding-top: var(--s-10); color: var(--faint); text-align: right; text-decoration: none; }
  /* a line and the figure that goes with it, side by side (.sum-row, 8.0.1, from Bank: a bank's only account and the
     balance it ends the month on): the line takes the room, the figure and its arrow stand on its right, under it when
     the screen is too narrow */
  .sum-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-12); }
  .sum-row > .sum-line { flex: 1 1 auto; min-width: 0; }
  .sum-row > .sum-link { margin-left: auto; }
  .sum-link > span { display: flex; flex-direction: column; align-items: flex-end; gap: var(--s-2); }
  .sum-link b { color: var(--dim); font: var(--type-strong-weight) var(--type-strong-size)/var(--lh-tight) var(--type-strong-font); font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: var(--type-strong-ls); text-transform: var(--type-strong-case); }
  /* a note under a line, a link to its detail (the bills account's « fin du mois estimée 412 € → », 4.25.0): set in as the
     line, small and faint, in ink under the pointer; .is-bad when it says money must be sent */
  a.sum-note { display: flex; align-items: center; gap: var(--s-2); padding: var(--s-4) 0 0 var(--s-14); color: var(--faint);
    font: var(--type-caption-weight) var(--type-caption-size)/var(--lh-ui) var(--type-caption-font); text-decoration: none; letter-spacing: var(--type-caption-ls); text-transform: var(--type-caption-case); }
  a.sum-note .ico { width: var(--ico-s); height: var(--ico-s); flex: none; }
  a.sum-note.is-bad { color: var(--bad); }
  a.sum-note:is(:hover, :focus-visible) { color: var(--ink); }
  .sum-link small { font: var(--type-caption-weight) var(--type-caption-size)/var(--lh-tight) var(--type-caption-font); white-space: nowrap; letter-spacing: var(--type-caption-ls); text-transform: var(--type-caption-case); }
  .sum-link > .ico { flex: none; width: var(--ico-s); height: var(--ico-s); }
  .sum-link.is-bad :is(b, small) { color: var(--bad); }
  @media (hover: hover) { a:is(.sum-head, .sum-line):hover > .sum-name { color: var(--accent); } .sum-link:hover :is(b, .ico) { color: var(--accent); } }
  .sum-link:focus-visible b { color: var(--accent); }
  .grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(var(--grid-min, 320px), 100%), 1fr)); gap: var(--s-12); }
  /* a card's title, then its lines of details (a place, a date), each with its icon */
  .card-title { margin: 0 0 var(--card-gap); padding-block: var(--title-wrap-pad); color: var(--ink); font: var(--type-card-title-weight) var(--type-card-title-size)/var(--title-wrap-lh) var(--type-card-title-font);
    letter-spacing: var(--type-card-title-ls); text-transform: var(--type-card-title-case); }
  .card-meta { display: flex; align-items: center; gap: var(--s-8); margin: 0 0 var(--card-gap); color: var(--faint);
    font: var(--type-caps-weight) var(--type-caps-size)/var(--card-meta-lh) var(--type-caps-font); letter-spacing: var(--type-caps-ls); text-transform: var(--type-caps-case); }
  /* in vitrine, on the middle of its capitals (+0.6 to +1px low before, 22 November 2026) */
  [data-theme="vitrine"] .card-meta svg { translate: 0 -0.06em; }
  .card-meta svg { flex: none; width: var(--ico-m); height: var(--ico-m); color: var(--accent); }
  /* A card with a cover photo, as the site's events and Selecta's galleries: the photo in 16:9 with its badge on it
     and the gold line under it, then the card's title, details and text. A card you click (.is-link) rises and its photo grows. */
  .card.has-cover { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
  /* the photo keeps its 16:9 and the line goes under it, on a page that counts borders in sizes (box-sizing) too */
  .card-cover { position: relative; display: block; box-sizing: content-box; aspect-ratio: 16 / 9; overflow: hidden; background: var(--band); border-bottom: 3px solid var(--accent); }
  .card-cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform var(--cover-time) ease; }
  .card-cover .badge { position: absolute; top: var(--cover-badge); right: var(--cover-badge); }
  @media (hover: hover) { .card.is-link:hover .card-cover img { transform: scale(var(--cover-zoom)); } }
  .card-body { display: flex; flex: 1; flex-direction: column; gap: var(--card-gap); padding: var(--card-pad); }
  .card-body > * { margin: 0; }
  /* a card's title that leads where its cover leads, and keeps the title's look (6.0.0) */
  .card-title > a { color: inherit; text-decoration: none; }
  /* a small card, for narrow columns (Selecta's galleries): the same card with a smaller title and less room */
  .card.is-small {--card-pad: var(--card-s-pad);
    --card-gap: var(--card-s-gap); --cover-badge: var(--card-s-badge); }
/* The ruled card in a colour of its own (Bank: a card per bank, each in its bank's colour, as many a row as fit):
   .card.is-ruled.is-tinted with --n; its label (.ct) takes the colour too. Without --n, the gold of .is-ruled. */
  .card.is-ruled.is-tinted { border-top-color: var(--n, var(--accent)); }
  .card.is-tinted > .ct { color: color-mix(in oklab, var(--n, var(--accent)) var(--tint-ink), var(--ink)); }
/* What the address pointed at (ds.seek) and a logo with its initial (ds.avatar). */
/* what the address pointed at (ds.seek), lit a moment */
  .is-lit { animation: lit calc(var(--t-mid) * 6) ease-out; }
  @keyframes lit { from { background-color: var(--accent-soft); box-shadow: 0 0 0 var(--s-4) var(--accent-soft); } to { background-color: transparent; box-shadow: none; } }
/* a merchant's or a person's logo, its initial underneath (ds.avatar) */
  .avatar { position: relative; display: inline-grid; place-items: center; flex: none; width: var(--avatar-size, 28px); height: var(--avatar-size, 28px);
    overflow: hidden; border-radius: var(--r-s); background: var(--accent-soft); color: var(--accent-text); font: var(--type-smallcaps-weight) var(--type-smallcaps-size)/var(--lh-tight) var(--type-smallcaps-font); letter-spacing: var(--type-smallcaps-ls); text-transform: var(--type-smallcaps-case); }
  .avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--panel); }
  .avatar.is-round { border-radius: 50%; }
@media (prefers-reduced-motion: reduce) {
  .is-lit { animation: none; }
  details.fold > summary::after, .ct.fold[aria-expanded]::after { transition: none; }
}
/* The message: a sentence in a box, with its icon, good or bad, and its action. */
  .msg { align-items: var(--msg-align); background: var(--box-bg); border-radius: var(--r-m); border: 1px solid var(--line); color: var(--dim); display: flex; font-size: var(--type-text-size); gap: var(--msg-gap); margin-top: var(--s-10); padding: var(--msg-py) var(--msg-px); font-family: var(--type-text-font); font-weight: var(--type-text-weight); letter-spacing: var(--type-text-ls); text-transform: var(--type-text-case); }
  .msg .ico { color: var(--accent); margin-top: var(--msg-icon-top); flex: none; height: var(--msg-icon); width: var(--msg-icon); }
  .msg.is-bad { background: var(--bad-soft); border-color: var(--bad-line); color: var(--bad); }
  .msg.is-bad .ico { color: var(--bad); }
  .msg.is-good { background: var(--good-soft); border-color: var(--good-line); }
  .msg.is-good .ico { color: var(--good); }
  .msg > .txt { flex: 1 1 auto; min-width: 0; }
  .msg .txt b { color: var(--ink); font-weight: var(--type-strong-weight); }
  .msg .txt small { display: block; margin-top: var(--s-4); font-size: var(--type-small-size); color: var(--faint); font-family: var(--type-small-font); font-weight: var(--type-small-weight); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  .msg .txt small.det { font-family: var(--mono); font-size: var(--type-caption-size); overflow-wrap: anywhere; font-weight: var(--type-caption-weight); letter-spacing: var(--type-caption-ls); text-transform: var(--type-caption-case); }
  .msg .act { align-items: center; align-self: center; background: var(--panel-2); border-radius: var(--r-m); border: 1px solid var(--line); color: var(--ink); cursor: pointer; display: inline-flex; flex: none; font: var(--type-button-weight) var(--type-button-size)/var(--lh-tight) var(--type-button-font); gap: var(--s-6); padding: var(--s-6) var(--s-10); white-space: nowrap; text-decoration: none; letter-spacing: var(--type-button-ls); text-transform: var(--type-button-case); }
  .msg .act:not(:disabled):is(:hover, :active) { color: var(--accent-text); border-color: var(--accent-line); }
  .msg .act:not(:disabled):is(:hover, :active) .ico { color: inherit; }
  .msg .act .ico { color: var(--dim); margin: 0; width: var(--ico-sm); height: var(--ico-sm); }
  .msg .act:disabled { opacity: var(--o-muted); cursor: default; }
  .msg .act .spin { --spin-size: 11px; }
/* The passing message: at the bottom right on a computer, above the tab bar on a phone; three at most, the newest at the bottom.
   ds.js puts it on the page (ds.toast). */
  .toasts { position: fixed; z-index: var(--z-toast); right: max(var(--s-16), var(--safe-right)); bottom: max(var(--s-16), var(--safe-bottom));
    display: flex; flex-direction: column; align-items: flex-end; gap: var(--s-8); pointer-events: none; }
  .toast { pointer-events: auto; display: flex; align-items: center; gap: var(--s-10); box-sizing: border-box; max-width: min(400px, calc(100vw - 32px));
    padding: var(--toast-py) var(--toast-pr) var(--toast-py) var(--toast-pl); background: var(--panel-2); border: 1px solid var(--pop-line); border-radius: var(--r-l);
    box-shadow: var(--shadow-pop); color: var(--ink); font: var(--type-small-weight) var(--type-small-size)/var(--lh-ui) var(--type-small-font); animation: toast-in var(--t-mid) ease-out; letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  .toast.is-leaving { opacity: 0; transform: translateY(var(--s-8)); transition: opacity var(--t-fast), transform var(--t-fast); }
  .toast .mark { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
  .toast.is-good .mark { background: var(--good); }
  .toast.is-bad .mark { background: var(--bad); }
  .toast.is-busy .mark { --spin-size: 12px; }
  .toast .txt { flex: 1 1 auto; min-width: 0; }
  .toast .act, .toast .toast-close { flex: none; min-width: var(--s-24); min-height: var(--s-24); background: none; border: 0; border-radius: var(--r-s); cursor: pointer; padding: var(--s-4) var(--s-6); }
  /* its action looks the same at every moment: the gold word in its thin gold frame (7.7.2; it was a bare word that took
     its frame under the pointer, and an iPhone keeps that state after a tap, so a new bubble under the finger showed it
     framed and the next one not) */
  .toast .act { padding-inline: var(--s-8); color: var(--accent-text); box-shadow: inset 0 0 0 1px var(--accent-line); font: var(--type-button-weight) var(--type-button-size)/var(--lh-tight) var(--type-button-font); letter-spacing: var(--type-button-ls); text-transform: var(--type-button-case); }
  /* its cross: the sprite's, in the middle of a square */
  .toast .toast-close { display: inline-grid; place-items: center; width: var(--s-24); height: var(--s-24); padding: 0; color: var(--faint); }
  .toast .toast-close .ico { width: var(--ico-s); height: var(--ico-s); }
  /* pressed, and under a real pointer only (a touch screen keeps the hover after a tap): the cross in gold with the action's
     frame, the action's frame in full gold */
  .toast .toast-close:active, .toast .act:active { color: var(--accent-text); box-shadow: inset 0 0 0 1px var(--accent); }
  @media (hover: hover) { .toast .toast-close:hover, .toast .act:hover { color: var(--accent-text); box-shadow: inset 0 0 0 1px var(--accent); } }
  @keyframes toast-in { from { opacity: 0; transform: translateY(var(--s-8)); } }
  @media (prefers-reduced-motion: reduce) { .toast, .toast.is-leaving { animation: none; transition: none; transform: none; } }
@media (max-width: 768px) {
    /* as wide as the tab bar under them, and centred like it */
    .toasts { left: 0; right: 0; margin-inline: auto; width: var(--tabbar-w); align-items: stretch; bottom: calc(var(--safe-bottom) + var(--s-48) + var(--s-48)); }
    .toast { max-width: none; }
}
/* The window that asks before something that cannot be undone, or for a short text: the question over a veil,
   then « Annuler » and the answer. ds.confirm puts it on the page. */
  .dialog-veil { position: fixed; inset: 0; z-index: var(--z-dialog); display: grid; place-items: center; padding: var(--s-16); background: var(--veil); }
  .dialog { width: min(var(--dialog-w), 100%); box-sizing: border-box; display: grid; align-content: start; gap: var(--s-12); padding: var(--sheet-pad); background: var(--panel); border: 1px solid var(--pop-line); border-radius: var(--r-l); box-shadow: var(--shadow-sheet); }
  .dialog-t { margin: 0; font: var(--type-title-2-weight) var(--type-title-2-size)/var(--head-lh) var(--type-title-2-font); color: var(--ink); letter-spacing: var(--type-title-2-ls); text-transform: var(--type-title-2-case); }
  .dialog-text { margin: 0; font: var(--type-text-weight) var(--type-text-size)/var(--text-lh) var(--type-text-font); color: var(--dim); letter-spacing: var(--type-text-ls); text-transform: var(--type-text-case); }
  .dialog-in { width: 100%; box-sizing: border-box; }
  /* a box under the field or the text (ds.confirm's check): what the answer is for */
  .dialog-check { display: flex; align-items: center; gap: var(--s-8); color: var(--dim); font: var(--type-text-weight) var(--type-text-size)/var(--lh-ui) var(--type-text-font); cursor: pointer; letter-spacing: var(--type-text-ls); text-transform: var(--type-text-case); }
  .dialog-check input { margin: 0; flex: none; }
  /* the buttons keep their height, and go under one another when the line is too short for both */
  .dialog-b { --btn-px: var(--dialog-btn-px); display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: var(--s-8); margin-top: var(--s-4); }
@media (max-width: 480px) {
  /* a phone gives the words the width, as in a sheet; the two buttons share the line, or each takes it all */
  .dialog-b > .btn { flex: 1 1 auto; }
}
/* The photo viewer, taken from alexispaoleschi.com: a photo over a black veil, a cross to close it, an arrow on each side,
   all three square buttons in the dark glass of its count, the cross and the arrows those of the icons (Lucide's, as the
   site's « ← Home »), filled with gold on hover as the site's buttons are. Under the photo, room for an app's own bar
   (Selecta's name, heart and note). The position (.viewer-count) sits in that bar, on the right of the photo's title
   (.viewer-name), as in Selecta's: ds.viewer builds the same bar when the page has none, so the count never covers the
   photo. Alone in the stage's bottom right corner, the pill keeps its old place.
   It sits over a photo, so it looks the same in both themes. Opening, closing and the keys stay with each app for now. */
  /* the room the photo leaves above and under it (--viewer-top, --viewer-bottom): the stage's padding, and the box of the
     next photo while a finger drags it, so that both are at the same height */
  .viewer { --viewer-gap: var(--s-24); --viewer-btn: var(--touch-target); --viewer-side: calc(var(--viewer-btn) + 2 * var(--viewer-gap));
    --viewer-top: var(--s-48); --viewer-bottom: var(--s-48);
    position: fixed; inset: 0; z-index: var(--z-viewer); display: grid; grid-template-rows: minmax(0, 1fr) auto;
    /* one column as wide as the screen: a long title in the bar is cut, it does not widen the viewer past the screen */
    grid-template-columns: minmax(0, 1fr); padding-top: var(--safe-top); }
  .viewer-veil { position: absolute; inset: 0; background: var(--overlay-black-strong); }
  /* a flex box, so that the photo can be as high as the room it has, and no higher */
  .viewer-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: var(--viewer-top) var(--viewer-side) var(--viewer-bottom); }
  .viewer-stage img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: var(--shadow-sheet); user-select: none; -webkit-user-select: none; }
  .viewer-stage .spinner { position: absolute; }
  .viewer-btn { position: absolute; z-index: var(--z-raise); display: grid; place-items: center; width: var(--viewer-btn); height: var(--viewer-btn); padding: 0; color: var(--viewer-ink);
    background: var(--overlay-black-medium); border: 1px solid var(--viewer-line); border-radius: var(--r-m); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); cursor: pointer;
    transition: color var(--t-fast) ease, background var(--t-fast) ease, border-color var(--t-fast) ease; }
  .viewer-btn::before { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--sign) center / contain no-repeat; mask: var(--sign) center / contain no-repeat; }
  @media (hover: hover) { .viewer-btn:hover { color: var(--white); background: var(--accent); border-color: var(--accent); } }
  .viewer-close { --sign: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E"); top: calc(var(--viewer-gap) + var(--safe-top)); right: calc(var(--viewer-gap) + var(--safe-right)); }
  .viewer-prev, .viewer-next { top: 50%; transform: translateY(-50%); }
  .viewer-prev { --sign: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 19-7-7 7-7M19 12H5'/%3E%3C/svg%3E"); left: calc(var(--viewer-gap) + var(--safe-left)); }
  .viewer-next { --sign: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E"); right: calc(var(--viewer-gap) + var(--safe-right)); }
  /* the position, « 2 / 9 », in a blurred pill in the bottom right corner, in line with the cross and the arrows */
  .viewer-count { position: absolute; z-index: var(--z-raise); right: calc(var(--viewer-gap) + var(--safe-right)); bottom: calc(var(--viewer-gap) + var(--safe-bottom)); padding: var(--s-12) var(--s-28);
    color: var(--viewer-ink); background: var(--overlay-black-medium); border: 1px solid var(--viewer-line); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
    font: var(--type-small-weight) var(--type-small-size)/var(--lh-loose) var(--type-small-font); letter-spacing: var(--type-small-ls); white-space: nowrap; text-transform: var(--type-small-case); }
  /* in an app's tools (Selecta's bar), beside the heart: the same pill, in the bar's row instead of the corner */
  .viewer-tools .viewer-count { position: static; }
/* a web app on an iPhone's home screen: iOS shades the top of the screen under its status bar, a little lower than its
   safe area; the cross and the photo start below that shade */
@media (display-mode: standalone) {
  .viewer { padding-top: calc(var(--safe-top) + var(--s-24)); }
  .viewer-close { top: calc(var(--viewer-gap) + var(--safe-top) + var(--s-24)); }
}
@media (max-width: 768px) {
  /* on a phone the photo takes the width, and the arrows sit over it */
  /* the photo takes the width: it starts under the cross, not beside it; at its foot, the count is in the bar */
  .viewer { --viewer-gap: var(--s-16); --viewer-side: var(--s-10); --viewer-btn: var(--s-40);
    --viewer-top: calc(var(--viewer-gap) + var(--viewer-btn) + var(--s-8)); --viewer-bottom: var(--s-16); }
}
/* What ds.viewer (src/viewer.js) adds to its look: it fades in, the page behind
   stays still while it is open, the photo hides behind the spinner while it loads (or shows its thumbnail, blurred),
   follows the finger that swipes it, and a caption can sit under it. */
  .viewer.is-open { animation: viewer-in var(--t-fast) ease-out; }
  /* the focus goes to the viewer itself, which needs no ring: its buttons have theirs */
  .viewer:focus { outline: none; }
  /* the finger is the viewer's: no page scrolls and no page reloads under it; two fingers still zoom */
  .viewer { touch-action: pinch-zoom; }
  :root:has(.viewer.is-open) { overflow: hidden; overscroll-behavior: none; }
  .viewer-veil { transition: opacity var(--t-fast) ease; }
  .viewer-stage img { transition: opacity var(--t-fast) ease, filter var(--t-mid) ease, transform var(--t-fast) ease; -webkit-user-drag: none; }
  .viewer-stage img:not([src]) { visibility: hidden; }
  .viewer-stage img.is-loading { opacity: 0; }
  .viewer-stage img.is-placeholder { filter: blur(var(--blur-m)); }
  /* while a finger holds it, the photo follows it at once */
  .viewer.is-dragging .viewer-stage img, .viewer.is-dragging .viewer-veil { transition: none; }
  /* the next photo, beside it while a finger drags it, at the same size in the same room (the stage's padding) */
  .viewer-stage .viewer-peek { position: absolute; inset: var(--viewer-top) var(--viewer-side) var(--viewer-bottom); margin: auto; max-width: calc(100% - 2 * var(--viewer-side));
    max-height: calc(100% - var(--viewer-top) - var(--viewer-bottom)); pointer-events: none; }
  .viewer-stage .viewer-peek[hidden] { display: none; }
  /* let go: both go on to their place, a little slower, slowing down at the end */
  .viewer.is-sliding .viewer-stage img { transition: transform var(--t-mid) ease-out; }
  /* under the photo, in the row viewer.css keeps for it: the bar, an app's (Selecta's) or the one ds.viewer builds the same
     way (.viewer-bar.is-tools, the photo's title on the left and the count on the right, src/photokit.css) */
  .viewer-bar { position: relative; touch-action: auto; padding: var(--s-12) var(--s-24) calc(var(--s-20) + var(--safe-bottom)); text-align: center; }
  /* a field in the bar (Selecta's note on a photo), light on the dark veil, and the line under it */
  .viewer-bar :is(input:not([type=checkbox]):not([type=radio]), textarea) { width: 100%; color: var(--white); background: var(--overlay-black-soft); border-color: var(--viewer-line); }
  .viewer-bar :is(input, textarea)::placeholder { color: var(--viewer-ink); }
  .viewer-bar .field-note:not(.is-bad) { color: var(--viewer-ink); }
  @keyframes viewer-in { from { opacity: 0; } }
@media (max-width: 768px) {
  .viewer-bar { padding-inline: var(--s-16); }
}
@media (prefers-reduced-motion: reduce) {
  .viewer.is-open { animation: none; }
  .viewer-stage img, .viewer-veil { transition: none; }
}
/* A panel under a button of the top bar (Selecta's bell, ds.pop): .pop holds the button and its panel (.pop-panel), its
   head (.pop-head: a title and a quiet action), what it lists, its foot (.pop-foot: a link to everything, « Tout voir,
   37 notifications → » and the sprite's arrow as a .go-link's, only when the panel shows fewer, 8.7.0); .pop-count is
   the figure on the button, « 99+ » at most. On a phone the panel spans the screen under the bar; on a computer it is
   --pop-w wide under its button. Either way it grows down to the bottom of the screen, less --pop-gap (8.7.1): its top
   on the screen is --pop-top, which ds.pop reads as it opens (without it, the panel stops at 70% of the screen). */
  .pop-panel { position: absolute; top: 100%; right: var(--space-md); left: var(--space-md); z-index: var(--z-bar); display: flex; flex-direction: column;
    max-height: calc(100vh - var(--pop-top, 30vh) - var(--pop-gap) - var(--safe-bottom)); max-height: calc(100dvh - var(--pop-top, 30dvh) - var(--pop-gap) - var(--safe-bottom));
    overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow-pop); }
  .pop-panel[hidden] { display: none; }
  /* what it lists, between its head and its foot, takes the room they leave: the lines a cut list shows (ds.cut, five
     or the app's « Lignes par liste ») are all seen whole when the screen holds them; only when it does not does the
     list scroll, and then a fade at its end says there is more below (.has-more-below), at its top that some went up
     (.has-more-above), which ds.pop puts as it opens, fills and scrolls: never a line cut flush against the foot */
  .pop-panel > :not(.pop-head, .pop-foot) { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
  .pop-panel > :is(.has-more-below, .has-more-above) {
    -webkit-mask-image: linear-gradient(to bottom, transparent, var(--black) var(--pop-fade-top, 0px), var(--black) calc(100% - var(--pop-fade-end, 0px)), transparent);
    mask-image: linear-gradient(to bottom, transparent, var(--black) var(--pop-fade-top, 0px), var(--black) calc(100% - var(--pop-fade-end, 0px)), transparent); }
  .pop-panel > .has-more-above { --pop-fade-top: var(--pop-fade); }
  .pop-panel > .has-more-below { --pop-fade-end: var(--pop-fade); }
  /* rows split by a hairline (ul.rows) keep the panel's room on each side, and the first its room above (8.7.1) */
  .pop-panel > ul.rows { --row-py: var(--s-12); }
  .pop-panel > ul.rows > li { padding-inline: var(--space-md); }
  .pop-panel > ul.rows > li:first-child { padding-top: var(--row-py); }
  .pop-head { display: flex; flex: none; align-items: center; justify-content: space-between; gap: var(--s-12); padding: var(--s-12) var(--space-md); border-bottom: 1px solid var(--line); }
  .pop-head > button, .pop-foot { color: var(--accent-strong); font: var(--type-smallcaps-weight) var(--type-smallcaps-size)/var(--lh-tight) var(--type-smallcaps-font); letter-spacing: var(--type-smallcaps-ls); text-transform: var(--type-smallcaps-case); text-decoration: none; }
  .pop-head > button { padding: var(--s-4) 0; background: none; border: 0; cursor: pointer; }
  /* its title keeps its width and never breaks inside a word; a long action (« Tout marquer comme lu ») goes on two
     lines at the head's end instead (8.7.2: « Notificatio / ns ») */
  .pop-head > :first-child:not(button) { flex: none; }
  .pop-head > button { min-width: 0; text-align: end; text-wrap: balance; }
  .pop-head > button:disabled { color: var(--faint); cursor: default; }
  .pop-foot { display: flex; flex: none; align-items: center; justify-content: center; gap: var(--s-6); min-height: var(--touch-target); border-top: 1px solid var(--line); }
  .pop-foot .ico { width: var(--ico-sm); height: var(--ico-sm); }
  .pop-count { position: absolute; top: var(--s-6); right: var(--s-4); display: grid; place-items: center; min-width: var(--count-h); height: var(--count-h);
    padding: 0 var(--s-4); color: var(--on-accent); background: var(--accent); border-radius: var(--r-l); font: var(--type-strong-weight) var(--type-caption-size)/var(--lh-tight) var(--type-caption-font); letter-spacing: var(--type-caption-ls); pointer-events: none; text-transform: var(--type-caption-case); }
  .pop-count[hidden] { display: none; }
  /* the figure sits on its button, on a phone too, where the panel is placed by the bar and not by .pop (8.0.1: it went
     to the corner of the page) */
  :is(button, a):has(> .pop-count) { position: relative; }
@media (min-width: 769px) {
  .pop { position: relative; }
  .pop-panel { top: calc(100% + var(--s-8)); right: 0; left: auto; width: var(--pop-w); }
}
/* The sheet: one thing shown in full over the page, to read it and act on it (Bank: an operation, its category, its
   note, its trip). On a computer a window in the middle of the screen, as Bank's always was; on a phone it rises from
   the bottom, within the thumb's reach. Not the small window of .dialog, which asks one question, nor the photo viewer. Its markup: <div class="sheet" hidden> (the veil) around <div class="sheet-panel"
   role="dialog" aria-modal="true">, with its .sheet-close (<button class="sheet-close" aria-label="Fermer"> holding the sprite's
   cross, <svg class="ico"><use href="#i-close"/></svg>, never the letter ×, which sits off the middle); ds.sheet opens and
   closes it.
   A .sheet-panel on its own, outside a .sheet, sits in the page (the showcase shows it so). */
  .sheet { position: fixed; inset: 0; z-index: var(--z-sheet); display: flex; align-items: center; justify-content: center; padding: var(--s-20);
    background: var(--veil); animation: sheet-veil var(--t-mid) ease-out; }
  .sheet-panel { position: relative; box-sizing: border-box; min-width: 0; overflow-y: auto; overscroll-behavior: contain; padding: var(--sheet-pad);
    background: var(--panel); border: 1px solid var(--pop-line); border-radius: var(--r-l); color: var(--ink); outline: none; }
  /* in its veil: a window in the middle, always of one size (--sheet-w × --sheet-h, 720 × 640px, at most 86% of the
     screen's height), whatever it shows: a tab, a date picker opening or a shorter list changes nothing around it
     (« force toutes les pop-up à avoir toujours cette taille-là », 23 November 2026); it scrolls inside */
  .sheet > .sheet-panel { width: min(var(--sheet-w), 100%); height: min(var(--sheet-h), 86vh); height: min(var(--sheet-h), 86dvh);
    box-shadow: var(--shadow-sheet); animation: sheet-pop var(--t-mid) ease-out; }
  /* a sheet that shows a list (Studio: a person's posts, network by network): its head (.sheet-head: the line, the
     title, the tabs, the figures) stays, only its list (.sheet-list) scrolls under it, out to the window's edges:
     <div class="sheet is-list"><div class="sheet-panel"><button class="sheet-close">…<div class="sheet-head">…<div class="sheet-list">…
     and, when it has some, its .sheet-acts after the list */
  .sheet.is-list > .sheet-panel { display: flex; flex-direction: column; overflow: hidden; }
  .sheet.is-list > .sheet-panel > .sheet-close { position: absolute; top: var(--s-10); right: var(--s-10); margin: 0; }
  .sheet.is-list .sheet-head { flex: none; }
  .sheet.is-list .sheet-head > :is(.sheet-sub, .sheet-t) { margin-right: calc(var(--btn-icon-h) + var(--s-8)); }
  .sheet.is-list .sheet-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
    margin: 0 calc(-1 * var(--sheet-pad)) calc(-1 * var(--sheet-pad)); padding: 0 var(--sheet-pad) var(--sheet-pad); }
  /* its actions after the list (Bank: a trip's days to tick, then « Enregistrer »): always in sight at the bottom */
  .sheet.is-list .sheet-list:has(~ .sheet-acts) { margin-bottom: 0; padding-bottom: 0; }
  .sheet.is-list > .sheet-panel > .sheet-acts { flex: none; }
  /* the cross sits in the corner, clear of the room inside, and stays there while a long sheet scrolls under it;
     the title wraps beside it */
  .sheet-close { --sheet-x-at: calc(var(--s-10) - var(--sheet-pad)); position: sticky; top: var(--sheet-x-at); z-index: var(--z-raise); float: right;
    display: grid; place-items: center; width: var(--btn-icon-h); height: var(--btn-icon-h); box-sizing: border-box; padding: 0;
    margin: var(--sheet-x-at) var(--sheet-x-at) var(--s-8) var(--s-12); border: 1px solid var(--line); border-radius: var(--r-m);
    background: var(--panel-2); color: var(--dim); cursor: pointer; }
  .sheet-close:is(:hover, :active) { color: var(--accent-text); border-color: var(--accent-line); }
  /* its head: a short line that says what the sheet shows (« Opération », « Tous les posts »), a detail after « · » if
     need be (a day, a network), then the title, the thing's own name, never an action; a big figure (an amount, in green
     when it comes in) */
  .sheet-sub { margin: 0; color: var(--faint); font: var(--type-small-weight) var(--type-small-size)/var(--lh-ui) var(--type-small-font); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  .sheet-sub::first-letter { text-transform: uppercase; }
  /* the sheet's name as large as its figure: smaller, the square buttons beside it (rename, see) looked bigger than it
     (« le bouton renommer est trop gros par rapport au texte », 22 November 2026) */
  .sheet-t { margin: var(--s-4) 0 var(--s-6); color: var(--ink); overflow-wrap: anywhere;
    font: var(--type-title-1-weight) var(--type-title-1-size)/var(--head-lh) var(--type-title-1-font); letter-spacing: var(--type-title-1-ls); text-transform: var(--type-title-1-case); }
  .sheet-fig { margin: var(--s-6) 0 var(--s-16); color: var(--ink); font: var(--type-figure-weight) var(--type-figure-size)/var(--lh-tight) var(--type-figure-font); font-variant-numeric: tabular-nums; letter-spacing: var(--type-figure-ls); text-transform: var(--type-figure-case); }
  .sheet-fig.is-good { color: var(--good); }
  .sheet-fig.is-bad { color: var(--bad); }
  /* what it was in another currency, under its euros */
  .sheet-fig small { display: block; margin-top: var(--s-4); color: var(--faint); font: var(--type-caption-weight) var(--type-caption-size)/var(--lh-ui) var(--type-caption-font); letter-spacing: var(--type-caption-ls); text-transform: var(--type-caption-case); }
  /* its actions, on one line while they hold on it, then on two: a word is never cut; on a phone they share the width */
  .sheet-acts { --btn-px: var(--sheet-acts-btn-px);display: flex; flex-wrap: wrap; gap: var(--s-8); margin-top: var(--s-14); }
  .sheet-acts > .btn { max-width: 100%; }
  /* vitrine: the site's buttons, a little narrower and less spaced, so that three hold on the line */

  @keyframes sheet-veil { from { background-color: transparent; } }
  @keyframes sheet-pop { from { opacity: 0; transform: translateY(var(--s-8)); } }
  @keyframes sheet-up { from { transform: translateY(100%); } }
@media (max-width: 768px) {
  /* the whole width, rising from the bottom, clear of an iPhone's bar */
  .sheet { align-items: flex-end; justify-content: stretch; padding: 0; }
  .sheet.is-list .sheet-list { margin-right: calc(-1 * (var(--sheet-pad) + var(--safe-right))); margin-bottom: calc(-1 * (var(--sheet-pad) + var(--safe-bottom)));
    padding-right: calc(var(--sheet-pad) + var(--safe-right)); padding-bottom: calc(var(--sheet-pad) + var(--safe-bottom)); }
  .sheet.is-list .sheet-list:has(~ .sheet-acts) { margin-bottom: 0; padding-bottom: 0; }
  .sheet > .sheet-panel { width: 100%; height: 88vh; height: 88dvh; border-width: 1px 0 0; border-radius: var(--r-l) var(--r-l) 0 0;
    padding-right: calc(var(--sheet-pad) + var(--safe-right)); padding-bottom: calc(var(--sheet-pad) + var(--safe-bottom)); animation-name: sheet-up; }
  .sheet-acts > .btn { flex: 1 1 0; min-width: max-content; padding-inline: var(--s-8); }
  /* while a sheet is open, the finger scrolls the sheet and the page behind stays still; one left open in a hidden view
     does not hold the page */
  :root:has(.sheet:not([hidden]):not([hidden] *)) { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .sheet, .sheet > .sheet-panel { animation: none; }
}
/* Figures in tiles: its title (dt), its figure and its unit (dd, .tile-unit; in ink in Atelier, in gold in Vitrine, as
   the site's small cards), the line that compares under it, the
   only one in a colour (.tile-delta, in the dd), a small bottom line for the period or a detail (.tile-note); in a grid
   (the study of the tiles, 30 November 2026). The compact form is for the top of a screen. */
  .tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; margin-top: var(--s-16); background: var(--line); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
  .tile { background: var(--panel); padding: var(--s-14) var(--s-14) var(--s-12); min-width: 0; border-top: 3px solid var(--n, var(--line)); }
  .tile dt { display: flex; align-items: center; gap: var(--s-6); font: var(--type-smallcaps-weight) var(--type-smallcaps-size)/var(--title-lh) var(--type-smallcaps-font); letter-spacing: var(--type-smallcaps-ls); color: color-mix(in oklab, var(--n, var(--ink)) var(--tint-ink), var(--ink)); margin-bottom: var(--s-10); text-transform: var(--type-smallcaps-case); }
  /* a figure and its unit on one line, never broken inside (8.7.2: « 57 / 900 » on a phone): too long for its tile, it
     gets smaller (ds.fitFigures, for every tile) */
  .tile dd { margin: 0; font: var(--type-figure-weight) var(--type-figure-size)/var(--title-lh) var(--type-figure-font); font-variant-numeric: tabular-nums; letter-spacing: var(--type-figure-ls); text-transform: var(--type-figure-case); white-space: nowrap; }
  .tile .tile-unit { font: var(--type-caption-weight) var(--type-caption-size)/var(--lh-tight) var(--type-caption-font); color: var(--dim); margin-left: var(--s-6); letter-spacing: var(--type-caption-ls); text-transform: var(--type-caption-case); }
  /* the line that compares, under the figure (« +12 en 30 jours », « −8 % par rapport à octobre »), in a tone (is-good,
     is-bad, is-mid) or plain: the only place of a tile that takes a tone, its figure keeping its theme's colour, ink
     in Atelier, gold in Vitrine (8.6.0) */
  .tile .tile-delta { display: block; font: var(--type-caption-weight) var(--type-caption-size)/var(--lh-ui) var(--type-caption-font); margin-top: var(--s-6); color: var(--dim); letter-spacing: var(--type-caption-ls); text-transform: var(--type-caption-case); white-space: normal; }
  .tile .tile-delta:is(.is-good, .is-bad, .is-mid) { font-weight: var(--type-strong-weight); }
  .tile .tile-delta.is-good { color: var(--good); }
  .tile .tile-note { display: inline-block; font: var(--type-caption-weight) var(--type-caption-size)/var(--lh-text) var(--type-caption-font); color: var(--faint); margin-top: var(--s-8); text-decoration: none; letter-spacing: var(--type-caption-ls); text-transform: var(--type-caption-case); }
  .tile a.tile-note:hover, .tile a.tile-note:focus-visible { color: var(--ink); text-decoration: underline; }
  .tile .tile-delta.is-bad { color: var(--bad); }
  .tile .tile-delta.is-mid { color: var(--mid); }
  /* a short list inside a tile, a word and its figure on each line (Studio's members by tier) */
  .tile .tile-list { border-top: 1px solid var(--line); display: grid; gap: var(--s-4); list-style: none; margin: var(--s-12) 0 0; padding: var(--s-10) 0 0; }
  .tile .tile-list li { color: var(--dim); display: flex; font-size: var(--type-small-size); gap: var(--s-10); justify-content: space-between; font-family: var(--type-small-font); font-weight: var(--type-small-weight); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  .tile .tile-list b { color: var(--ink); font: var(--type-strong-weight) var(--type-small-size)/var(--lh-ui) var(--mono); font-variant-numeric: tabular-nums; letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  /* figures in a row, without boxes: each its value in the titles' font, its word under it in small capitals; .is-accent
     for the one that matters (Selecta's gallery: photos, chosen, still to choose) */
  .stats { align-items: flex-end; display: flex; flex-wrap: wrap; gap: var(--s-16) var(--stat-gap); }
  .stat { display: flex; flex-direction: column; line-height: var(--lh-ui); }
  .stat-value { color: var(--ink); font: var(--type-figure-weight) var(--type-figure-size)/var(--lh-ui) var(--type-figure-font); font-variant-numeric: tabular-nums; letter-spacing: var(--type-figure-ls); text-transform: var(--type-figure-case); }
  .stat-label { color: var(--faint); font: var(--type-smallcaps-weight) var(--type-smallcaps-size)/var(--lh-tight) var(--type-smallcaps-font); letter-spacing: var(--type-smallcaps-ls); text-transform: var(--type-smallcaps-case); }
  .stat.is-accent .stat-value { color: var(--accent-text); }
  /* what the figure counts, after it, small and quiet as a tile's unit (8.6.0: « 5,9 Go », « 34 sur 40 », « 6 photos »):
     <span class="stat-value">6<span class="stat-unit">photos</span></span> */
  .stat-unit { color: var(--dim); font: var(--type-caption-weight) var(--type-caption-size)/var(--lh-tight) var(--type-caption-font); letter-spacing: var(--type-caption-ls); margin-left: var(--s-6); text-transform: var(--type-caption-case); }
  /* the compact form: small figures at the top of a screen (Bank's operations and trips) */
  .tiles.is-compact { background: none; border: 0; border-radius: 0; gap: var(--s-8); margin-top: 0; overflow: visible; }
  .tiles.is-compact .tile { background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--r-m); padding: var(--s-10) var(--s-12); }
  .tiles.is-compact .tile dt { display: block; margin-bottom: var(--s-6); font: var(--type-smallcaps-weight) var(--type-smallcaps-size)/var(--lh-tight) var(--type-smallcaps-font); letter-spacing: var(--type-smallcaps-ls); text-transform: var(--type-smallcaps-case); color: var(--faint); }
  .tiles.is-compact .tile dd { font: var(--type-title-3-weight) var(--type-title-3-size)/var(--title-lh) var(--type-title-3-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: var(--type-title-3-ls); text-transform: var(--type-title-3-case); }
  /* in Vitrine, the site's small cards keep a tile's figure; in Atelier a small tile's figure is a block's title */
  [data-theme="vitrine"] .tiles.is-compact .tile dd { font: var(--type-figure-weight) var(--type-figure-size)/var(--title-lh) var(--type-figure-font); letter-spacing: var(--type-figure-ls); text-transform: var(--type-figure-case); }
  /* the line that compares wraps in a small tile (8.6.0: it took the figure's single line, and « +142,80€ par rapport à la
     marge » ended in « … » on a phone) */
  .tiles.is-compact .tile .tile-delta { white-space: normal; }
  /* a tile's tone (.tile.is-good, .is-bad, .is-mid; ds.minitiles' tone) colours its line that compares, when that line
     has no tone of its own, and never its figure, which keeps its theme's colour (8.6.0, the study of the tiles: it coloured the
     figure) */
  .tiles .tile:is(.is-good, .is-bad, .is-mid) .tile-delta { font-weight: var(--type-strong-weight); }
  .tiles .tile.is-good .tile-delta:not(.is-bad, .is-mid) { color: var(--good); }
  .tiles .tile.is-bad .tile-delta:not(.is-good, .is-mid) { color: var(--bad); }
  .tiles .tile.is-mid .tile-delta:not(.is-good, .is-bad) { color: var(--mid); }
  /* a set number of columns (Bank's four sums, two by two on a phone): .tiles.is-cols, --tile-cols (4), and on a phone
     --tile-cols-phone (2) */
  .tiles.is-cols { grid-template-columns: repeat(var(--tile-cols, 4), minmax(0, 1fr)); }
  /* in set columns, the figures of a row stay in line when a title takes two lines (8.6.0): each tile shares its row's
     three lines as a subgrid, its title, its figure (and the line that compares, in the dd), its bottom line
     (.tile-note); a list whose tiles hold more (a curve, a list) keeps its own flow */
  .tiles.is-cols:not(:has(> .tile > :not(dt, dd, .tile-note))) > .tile { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  .tiles.is-cols:not(:has(> .tile > :not(dt, dd, .tile-note))) > .tile > .tile-note { grid-row: 3; justify-self: start; }
  /* a tile that opens something (Bank's Placements): .tile.is-link holding its link, a.row-link, in its label so that
     Tab reaches it; a click anywhere on the tile opens it (ds.js, as a row's) and its label turns gold on hover. It
     draws its own arrow after its title (8.6.0: the apps wrote « → » in the words), the sprite's, as a .go-link's, in
     the colour of the title. The arrow is an inline box of no letter, so that it never goes alone to a line of its own.
     Its box is the arrow's own square, set in width and height as the chevron of a list, the room before it a margin
     (8.10.1): Safari on an iPhone painted the room of a box sized by padding alone, a bar before the arrow (« ENTRÉES▌→ »,
     8.8.1) then after it (« PLACEMENTS →▌ »).
     Figures that must show whole get smaller in .tiles.is-shrink (ds.fitFigures, ds.js). */
  .tile.is-link { cursor: pointer; }
  .tile.is-link dt::after { content: ""; display: inline-block; width: var(--ico-sm); height: var(--ico-sm); margin-left: var(--s-6);
    vertical-align: middle; background: currentColor;
    -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; }
  /* in a tile's label laid out in a row (its swatch, its words), the row's gap stands before it */
  .tiles:not(.is-compact) .tile.is-link dt::after { flex: none; margin-left: 0; }
  @media (hover: hover) { .tile.is-link:hover dt { color: var(--accent-text); } }
  /* fitted (ds.minitiles: a median, an average at the top of a card): the tiles side by side, each as wide as the widest,
     no wider than the words; the figure's unit just after it, what it is taken over under it */
  .tiles.is-fit { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; width: fit-content; max-width: 100%; margin: 0 0 var(--s-16); }
  .tiles.is-fit .tile { display: flex; flex-direction: column; gap: var(--s-6); }
  /* a title wraps in a narrow tile rather than run past it (8.6.0: « Dernier post » was kept on one line) */
  .tiles.is-fit .tile dt { margin: 0; }
  .tiles.is-fit .tile dd { color: var(--ink); line-height: var(--lh-tight); font-variant-numeric: tabular-nums; }
  /* an icon in the unit (« 418 [icon] par story ») keeps the room a row's figure gives it (.fig) before its words */
  .tiles.is-fit .tile .tile-unit { display: inline-flex; align-items: center; gap: var(--s-4); margin-left: var(--s-4); }
  .tiles.is-fit .tile .tile-unit .ico { width: var(--ico-s); height: var(--ico-s); }
  .tiles.is-fit .tile .tile-note { display: block; margin: 0; color: var(--dim); font: var(--type-caption-weight) var(--type-caption-size)/var(--lh-ui) var(--type-caption-font); opacity: .8; letter-spacing: var(--type-caption-ls); text-transform: var(--type-caption-case); }
  /* vitrine: the compact tiles are the site's small cards, as on Selecta's dashboard: apart, white, a soft shadow,
     the figure in gold above its label */
  /* wide enough for a sum in the figure role (two side by side on a phone, from 150px each) */
  [data-theme="vitrine"] .tiles.is-compact { gap: var(--s-20); }
  [data-theme="vitrine"] .tiles.is-compact:not(.is-cols) { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  [data-theme="vitrine"] .tiles.is-compact .tile { display: flex; flex-direction: column; justify-content: flex-start; padding: var(--s-20);
    background: var(--card-bg); border: 1px solid var(--card-line); border-radius: var(--r-m); box-shadow: var(--card-shadow); }
  /* the figure above its label; what follows them (a bottom line, .tile-note) under them, in its order (8.6.0: the tile
     drawn upside down, column-reverse, put a note above the figure) */
  [data-theme="vitrine"] .tiles.is-compact .tile > dd { order: -2; }
  [data-theme="vitrine"] .tiles.is-compact .tile > dt { order: -1; }
  [data-theme="vitrine"] .tiles.is-compact .tile dt { margin: var(--s-4) 0 0; line-height: var(--title-lh); }
  /* its figure in gold, the site's small cards' (a tone colours its line that compares, never its figure, 8.6.0) */
  [data-theme="vitrine"] .tiles.is-compact .tile dd { color: var(--accent-strong); }
@media (max-width: 768px) {
  /* four fitted tiles make two rows of two on a phone; fewer stay side by side, a long label on two lines when the row
     is narrow (8.6.0) */
  .tiles.is-fit:has(> .tile:nth-child(4)) { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  [data-theme="vitrine"] .tiles.is-compact { gap: var(--s-16); }
  [data-theme="vitrine"] .tiles.is-compact:not(.is-cols) { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .tiles.is-cols { grid-template-columns: repeat(var(--tile-cols-phone, 2), minmax(0, 1fr)); }
  /* a tile alone on its row takes the whole row (8.6.0: Bank's third bill tile, its operations' count) */
  .tiles.is-cols > .tile.is-wide { grid-column: 1 / -1; }
  [data-theme="vitrine"] .tiles.is-compact .tile { padding: var(--s-16); }
}
@media (max-width: 480px) {
  /* two tiles a row on a phone: an odd last one takes the whole row rather than leave a hole beside it (8.7.2); a set
     number of columns (.is-cols) says it with .tile.is-wide */
  .tiles:not(.is-cols, .is-fit) > .tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* A figure put forward, alone on its line and centred (Bank's « Tous les comptes »): its
   small label above it (.big-fig-label), the figure in gold (.big-fig-value), what it stands for under it
   (.big-fig-note); the theme gives its font, Archivo heavy in Atelier, Gilda light and very large in Vitrine. A link
   (a.big-fig) lights its label under the pointer.
   <a class="big-fig" href="#"><span class="big-fig-label">Tous les comptes</span><span class="big-fig-value">12 345€</span></a> */
  .big-fig { display: flex; flex-direction: column; align-items: center; padding: var(--big-fig-pt) 0 var(--big-fig-pb); color: inherit; text-decoration: none; }
  .big-fig-label { margin-bottom: var(--big-fig-gap); color: var(--faint); font: var(--type-smallcaps-weight) var(--type-smallcaps-size)/var(--lh-tight) var(--type-smallcaps-font);
    letter-spacing: var(--type-smallcaps-ls); text-transform: var(--type-smallcaps-case); }
  .big-fig-value { color: var(--accent); font: var(--type-display-weight) var(--type-display-size)/var(--lh-tight) var(--type-display-font); letter-spacing: var(--type-display-ls);
    font-variant-numeric: tabular-nums; white-space: nowrap; text-transform: var(--type-display-case); }
  .big-fig-note { margin-top: var(--big-fig-gap); color: var(--faint); font-size: var(--type-text-size); letter-spacing: var(--type-text-ls); font-family: var(--type-text-font); font-weight: var(--type-text-weight); text-transform: var(--type-text-case); }
  @media (hover: hover) { a.big-fig:hover .big-fig-label { color: var(--accent-text); } }
/* a link of its own under it, closer to it than the rest (Bank's « En novembre : 2 345€ reçus · 1 234€ dépensés »,
   4.25.0; money in and out without colour, 8.6.0): dim, in ink under the pointer:
   <a class="big-fig-link" href="#operations?periode=mois">… */
  /* 12px under the figure in both themes: Atelier's figure keeps 24px under it (--big-fig-pb), Vitrine's none (8.7.2: it
     came up over Vitrine's figure) */
  a.big-fig-link { display: block; margin: calc(var(--s-12) - var(--big-fig-pb)) 0 var(--s-16); text-align: center; text-decoration: none;
    font: var(--type-small-weight) var(--type-small-size)/var(--lh-ui) var(--type-small-font); color: var(--dim); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  a.big-fig-link:hover { color: var(--ink); }
/* One bar per category, merchant or month (Bank: where the money goes, a category's subcategories): how much each one
   is against the biggest of the list. <span class="meter"><i style="width: 42%"></i></span>, in the accent, or in the
   item's own colour (--n). In a list's row (ul.rows) it takes a line of its own, under the row's words. */
  .meter { display: block; flex: 1 1 100%; height: 6px; overflow: hidden; border-radius: var(--r-s);
    background: color-mix(in srgb, var(--n, var(--accent)) var(--tint-soft), transparent); }
  .meter > i { display: block; height: 100%; border-radius: inherit; background: var(--n, var(--accent)); }
/* The table of a list to read, sort and pick from (Bank's operations, Studio's people): <table class="tbl"> in a
   .tbl-wrap, which scrolls sideways when the table is wider than the page. Figures are right-aligned (.is-num); the
   column titles are buttons that sort (th > button.sort, ds.sortable), the one in use showing its way; a box per row
   picks it (.tbl-ck, ds.selection). A row that opens something (a sheet) is .is-link.
   On a phone, a table .is-cards turns each row into a small card: its box on the left, its name (.tbl-main) and its
   figure (.tbl-end) on the first line, then its other cells one under the other, each named by its data-label. What
   only a wide screen shows (.tbl-wide) goes, what only a phone shows (.tbl-phone, e.g. the date and the bank under the
   name) comes, and the column titles give way to a menu that sorts (.tbl-sortmenu, a pill). */
  .tbl-wrap { overflow-x: auto; }
  /* a table in a card of its own (Selecta's lists): its frame and its shadow are a card's, its titles on the band, its
     cells roomier, no line under its last row; on a phone, its rows' cards (.is-cards) stand on the page, without it */
  .tbl-wrap.is-card { background: var(--card-bg); border: 1px solid var(--card-line); border-radius: var(--r-l); box-shadow: var(--card-shadow); }
  .tbl-wrap.is-card .tbl :is(th, td) { padding: var(--s-12) var(--s-20); border-top: 0; border-bottom: 1px solid var(--line); }
  .tbl-wrap.is-card .tbl th { background: var(--band); }
  .tbl-wrap.is-card .tbl tbody tr:last-child > td { border-bottom: 0; }
  .tbl { width: 100%; border-collapse: collapse; color: var(--ink); font-size: var(--type-text-size); font-family: var(--type-text-font); font-weight: var(--type-text-weight); letter-spacing: var(--type-text-ls); text-transform: var(--type-text-case); }
  .tbl th { padding: var(--s-8); border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: middle; white-space: nowrap; color: var(--faint);
    font: var(--type-smallcaps-weight) var(--type-smallcaps-size)/var(--lh-tight) var(--type-smallcaps-font); letter-spacing: var(--type-smallcaps-ls); text-transform: var(--type-smallcaps-case); }
  .tbl td { padding: var(--s-8); border-top: 1px solid var(--line); vertical-align: middle; }
  /* a quieter cell (an operation's category beside its name, 4.26.1) */
  .tbl td.is-quiet { color: var(--faint); font-size: var(--type-small-size); font-family: var(--type-small-font); font-weight: var(--type-small-weight); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  /* a cell's small line under its figure, in gold (« prévu 28 nov. »), or beside it (.is-inline: « · à publier ») (4.26.1) */
  small.cell-note { display: block; font-size: var(--type-caption-size); color: var(--accent); font-family: var(--type-caption-font); font-weight: var(--type-caption-weight); letter-spacing: var(--type-caption-ls); text-transform: var(--type-caption-case); }
  small.cell-note.is-inline { display: inline; margin-left: var(--s-6); }
  /* a row that goes on from the one above it (an operation's category under it, 4.26.0): no room above, close to it */
  .tbl tr.is-cont > td { padding-top: 0; }
  .tbl .is-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
  /* a dense table of figures (Studio's people, a column a network): tighter rows, its cells in the quieter mono, flush
     left; the name column stays in the words' font (.tbl-name) */
  .tbl.is-dense :is(th, td) { padding: var(--s-6) var(--s-10) var(--s-6) 0; }
  .tbl.is-dense td { font: var(--type-small-weight) var(--type-small-size)/var(--lh-tight) var(--mono); white-space: nowrap; letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  /* its cells are grey unless they say something: a tone (.is-good, .is-bad, .is-mid, .tone.is-gold, .tone.is-ink) wins over
     the grey, which weighs nothing (5.8.1: the grey had hidden Studio's colours since 4.14.0) */
  :where(.tbl.is-dense) td { color: var(--dim); }
  /* a cell's note under its figure, in the same mono as its figure (« 3j » over « prévu 28 nov. ») */
  .tbl.is-dense small.cell-note { font-family: var(--mono); }
  .tbl.is-dense td.tbl-name { color: var(--ink); font: var(--type-strong-weight) var(--type-small-size)/var(--lh-tight) var(--type-small-font); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  /* money in and money out, what is fresh and what is late */
  .tbl .is-good { color: var(--good); }
  .tbl .is-bad { color: var(--bad); }
  .tbl .is-mid { color: var(--mid); }
  /* a group's head over its rows (a day over its operations: its box for all of them, its name, what it comes to on the
     right; ds.date(day, "heading")); a phone's cards take it as a heading */
  .tbl tr.tbl-group > td { padding: var(--s-16) var(--s-8) var(--s-6); border-bottom: 1px solid var(--line-2); }
  @media (hover: hover) { .tbl tbody tr.tbl-group:hover > td { background: none; } }
  .tbl-group-head { display: flex; justify-content: space-between; gap: var(--s-12); color: var(--dim); font: var(--type-strong-weight) var(--type-small-size)/var(--lh-tight) var(--type-small-font); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  .tbl-group-sum { font: var(--type-small-weight) var(--type-small-size)/var(--lh-tight) var(--mono); white-space: nowrap; letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  /* nothing yet (« jamais »): quieter than the row */
  .tbl .is-faint { color: var(--faint); }
  .tbl .tbl-ck { width: 28px; }
  /* a row's box on its row's middle, not on the line of its own cell (icon audit, 22 November 2026); a phone's cards keep
     theirs, already right (below) */
  .tbl td.tbl-ck > input { display: block; }
  .tbl .tbl-main { min-width: 0; font-weight: var(--type-strong-weight); overflow-wrap: break-word; }
  /* in vitrine, a row's name keeps the weight of its text */
  .tbl .tbl-phone { display: none; }
  .tbl tbody tr.is-link { cursor: pointer; }
  /* a row reached with Tab (one that opens a sheet, tabindex="0"): the focus ring inside it, along the table's lines */
  .tbl tbody tr:focus-visible { outline: var(--focus); outline-offset: calc(-1 * var(--focus-offset)); }
  @media (hover: hover) { .tbl tbody tr:hover > td { background: var(--row-lit); } }
  /* a row being saved steps back whole until it is (--o-busy) */
  .tbl tbody tr.is-busy > td { opacity: var(--o-busy); transition: opacity var(--t-fast) ease; }
  /* a row's link (a table's row, a tile, a row that opens): in the row's text, the whole row opening it (ds.js); Tab
     reaches it */
  a.row-link { color: inherit; text-decoration: none; }
  a.row-link:focus-visible { outline: var(--focus); outline-offset: var(--focus-offset); border-radius: var(--r-s); }
  .tbl tbody tr.is-selected > td { background: var(--accent-soft); }
  /* a title that sorts: in ink while its column is the one in use, its way in a gold arrow (aria-sort on the th) */
  /* a finger finds it: its target reaches above and under the short line of capitals */
  .tbl th .sort::before { content: ""; position: absolute; inset: calc(-1 * var(--s-8)) calc(-1 * var(--s-4)); }
  .tbl th .sort { position: relative; display: inline-flex; align-items: center; gap: var(--s-4); margin: 0; padding: 0; background: none; border: 0; border-radius: var(--r-s); cursor: pointer;
    color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; }
  .tbl th .sort:hover, .tbl th[aria-sort="ascending"] .sort, .tbl th[aria-sort="descending"] .sort { color: var(--ink); }
  /* the arrow's room is kept in every title, so that the columns do not move when another one sorts */
  .tbl th .sort::after { content: "\00a0"; content: "\00a0" / ""; display: inline-block; min-width: 0.75em; }
  /* a row of column groups over the titles (Studio's « Dernière publication », « Visibilité », « Argent »): quieter, one
     continuous line under it over every column but the first (the names), an unnamed group included, the titles under
     it a little apart */
  .tbl thead tr.is-group th { padding-bottom: var(--s-6); border-bottom: 0; color: var(--dim); }
  .tbl thead tr.is-group th:not(:first-child) { border-bottom: 1px solid var(--line); }
  .tbl thead tr.is-group + tr th { padding-top: var(--s-8); }
  /* over figures, the arrow goes before the title, whose words stay in line with the figures under it */
  .tbl th.is-num .sort { flex-direction: row-reverse; }
  /* the arrow is not read out: aria-sort says it */
  .tbl th[aria-sort="descending"] .sort::after { content: "↓"; content: "↓" / ""; color: var(--accent-text); }
  .tbl th[aria-sort="ascending"] .sort::after { content: "↑"; content: "↑" / ""; color: var(--accent-text); }
  /* Archivo's arrows stand on the base line, under the capitals' middle: up to it (icon audit, 22 November 2026) */
  .tbl th:where(:not([data-theme="vitrine"] *)) .sort::after { translate: 0 -0.08em; }
  /* the menu is a .pill too: hidden by a rule that outweighs the pill's, wherever the pill comes in the cascade */
  .tbl-sortmenu, .pill.tbl-sortmenu { display: none; }

/* The bar of a multiple choice: how many rows are picked (.selbar-n), what they add up to (.selbar-sum, given by the
   page) and a cross that drops them all (.selbar-x, [data-sel-clear]); then what to do with all of them at once in
   .selbar-acts (a category, a name, a trip): pills of one rank on the gold tint, each with its icon, a list being a pill
   holding its menu (.btn.is-select). On a phone the count, the total and the cross make the first line and the pills
   share the second, as wide as each other, icons kept; on a computer all is on one line. It stays at the top while the
   list scrolls; hidden while nothing is picked. ds.selection runs it. */
  .selbar {--field-py: var(--selbar-field-py); --field-px: var(--selbar-field-px);
    position: sticky; top: var(--safe-top); z-index: var(--z-raise); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-8) var(--s-10);
    margin-bottom: var(--s-10); padding: var(--s-10) var(--s-12); background: var(--panel-2); border: 1px solid var(--accent-line); border-radius: var(--r-l); box-shadow: var(--shadow-pop); }
  .selbar-n { margin-right: auto; color: var(--ink); font: var(--type-strong-weight) var(--type-strong-size)/var(--lh-ui) var(--type-strong-font); font-variant-numeric: tabular-nums; letter-spacing: var(--type-strong-ls); text-transform: var(--type-strong-case); }
  .selbar-n:has(+ .selbar-sum:not(:empty)) { margin-right: 0; }
  .selbar-sum { margin-right: auto; color: var(--dim); font: var(--type-small-weight) var(--type-small-size)/var(--lh-ui) var(--type-small-font); font-variant-numeric: tabular-nums; letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  .selbar-sum:empty { display: none; }
  .selbar select { flex: 0 1 auto; min-width: 0; max-width: 100%; background-color: var(--panel); }
  .selbar-acts { display: flex; flex: 0 1 auto; order: 1; flex-wrap: wrap; gap: var(--s-8); }
  .selbar-x { order: 2; }
  /* a phone: the pills on their own line, as wide as each other, a little less padding */
  @media (max-width: 768px) {
    .selbar-acts { flex: 1 1 100%; order: 0; }
    .selbar-x { order: 0; }
    .selbar-acts > * { flex: 1 1 0; min-width: 0; }
    .selbar-acts > .btn { padding-left: var(--s-6); padding-right: var(--s-6); }
    /* never cut: on a phone too narrow, a list's word ends with « … » (3.7.0) */
    .selbar-acts > .btn > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  }
  @media (max-width: 480px) {
    .selbar-acts > .btn { gap: var(--s-4); padding-left: var(--s-4); padding-right: var(--s-4); }
    /* the Vitrine's capitals, spaced out, keep a narrower spacing there */
    /* the site's capitals are wider: a pill that cannot keep its word goes to the next line rather than being cut */
    [data-theme="vitrine"] .selbar-acts > * { min-width: max-content; }
  }

@media (max-width: 768px) {
  .tbl .tbl-wide { display: none; }
  .tbl .tbl-phone { display: block; margin-top: var(--s-4); color: var(--faint); font: var(--type-caption-weight) var(--type-caption-size)/var(--lh-ui) var(--type-caption-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: var(--type-caption-ls); text-transform: var(--type-caption-case); }
  .tbl-sortmenu, .pill.tbl-sortmenu { display: inline-flex; }
  .tbl-wrap:has(> .tbl.is-cards) { overflow-x: visible; }
  .tbl.is-cards, .tbl.is-cards tbody { display: block; }
  .tbl.is-cards thead { display: none; }
  .tbl.is-cards tr { display: grid; grid-template-columns: [ck-start] auto [ck-end main-start] minmax(0, 1fr) [main-end end-start] auto [end-end];
    gap: var(--s-4) var(--s-10); align-items: start; padding: var(--s-10) 0; border-top: 1px solid var(--line); }
  .tbl.is-cards tr:not(:has(> .tbl-ck)) { grid-template-columns: [main-start] minmax(0, 1fr) [main-end end-start] auto [end-end]; }
  .tbl.is-cards td { display: block; min-width: 0; padding: 0; border: 0; grid-column: main-start / end-end; }
  .tbl.is-cards td.tbl-ck { grid-column: ck; grid-row: 1; width: auto; padding-top: calc(var(--s-2) / 2); }
  .tbl.is-cards td.tbl-ck > input { display: inline-block; }
  .tbl.is-cards td.tbl-main { grid-column: main; grid-row: 1; }
  .tbl.is-cards td.tbl-end { grid-column: end; grid-row: 1; }
  .tbl.is-cards td[colspan] { grid-column: 1 / -1; }
  /* a group's head among the cards: a heading on the page, not a card (its box on the left, its words across) */
  .tbl.is-cards tbody tr.tbl-group { align-items: center; padding: var(--s-24) 0 var(--s-8); border: 0; background: none; box-shadow: none; }
  .tbl.is-cards tbody tr.tbl-group:first-child { padding-top: var(--s-8); }
  .tbl.is-cards tr.tbl-group > td { padding: 0; border: 0; }
  .tbl.is-cards tr.tbl-group > td[colspan] { grid-column: main-start / end-end; grid-row: 1; }
  /* a cell named by its column: the name on the left, the value on the right */
  .tbl.is-cards td[data-label] { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-8); }
  .tbl.is-cards td[data-label]::before { content: attr(data-label); color: var(--faint);
    font: var(--type-smallcaps-weight) var(--type-smallcaps-size)/var(--lh-ui) var(--type-smallcaps-font); letter-spacing: var(--type-smallcaps-ls); text-transform: var(--type-smallcaps-case); }
  /* a card is lit whole, not cell by cell; in a .card, out to its edges (over its padding, --card-pad), so that the gold
     takes the whole width of the screen's line */
  .tbl.is-cards tbody tr > td, .tbl.is-cards tbody tr.is-selected > td { background: none; }
  /* a table in a card of its own: its rows' cards stand on the page */
  .tbl-wrap.is-card:has(> .tbl.is-cards) { background: none; border: 0; border-radius: 0; box-shadow: none; }
  .tbl-wrap.is-card .tbl.is-cards :is(th, td) { padding: 0; border: 0; background: none; }
  .tbl.is-cards tbody tr.is-selected { background: var(--accent-soft); }
  .card .tbl.is-cards tbody tr.is-selected { box-shadow: calc(-1 * var(--card-pad)) 0 var(--accent-soft), var(--card-pad) 0 var(--accent-soft); }
  /* what only a wide screen shows stays hidden in a card too */
  .tbl.is-cards td.tbl-wide { display: none; }
}
/* Lists of rows: rows split by a hairline, or drawn as small cards (.is-cards), a heading over a group of them
   (.rows-head), a row's title and its second line, place, date and figure, a row done, a row that opens, a word in a
   palette colour, a person's tag, the late badge (.late-tag). An empty list says so with .empty-note (card.css). */
  ul.rows { list-style: none; margin: 0; padding: 0; }
  /* rows split by a hairline: ul.rows, and the lists of rows ds draws the same way (a ranking, a sheet's pairs of words, a
     settings page's jobs, connections and fields), each with its own room above and below a row (--row-py) */
  ul.rows li, .rank li, .facts > div, :where(.settings) :is(.job, .conn, .field) { border-top: 1px solid var(--line); padding-block: var(--row-py, var(--s-8)); }
  ul.rows li { align-items: center; display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-10); }
  ul.rows li:first-child { border-top: none; padding-top: 0; }
  /* under a ruled heading (h4.sect.is-ruled), right after it or at the top of a sheet's list whose head ends with it, the
     first row keeps its room above the line, as the others under theirs (« l'écart en haut de la première ligne est
     vraiment trop petit », Studio's posts, 23 November 2026) */
  :is(h4.sect.is-ruled + ul.rows, .sheet-head:has(> h4.sect.is-ruled:last-child) + .sheet-list > ul.rows:first-child):not(.is-cards) > li:first-child:not(.rows-head) { padding-top: var(--row-py, var(--s-8)); }
  .row-title { flex: 1 1 150px; font-size: var(--type-strong-size); font-weight: var(--type-strong-weight); min-width: 0; overflow-wrap: anywhere; text-decoration: none; font-family: var(--type-strong-font); letter-spacing: var(--type-strong-ls); text-transform: var(--type-strong-case); }
  .row-place { font-size: var(--type-small-size); color: var(--faint); font-family: var(--type-small-font); font-weight: var(--type-small-weight); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  /* a heading over a group of rows inside the list (a year over its trips): small capitals, without the rows' line, what
     the group comes to on its right */
  ul.rows > li.rows-head { border: 0; color: var(--dim); display: flex; font: var(--type-strong-weight) var(--type-small-size)/var(--lh-tight) var(--type-small-font); gap: var(--s-12); justify-content: space-between; letter-spacing: var(--type-small-ls); padding: var(--s-24) 0 var(--s-2); text-transform: var(--type-small-case); }
  ul.rows > li.rows-head:first-child { padding-top: var(--s-4); }
  /* rows drawn as small cards (a trip, and what it is made of under it): each on the lighter ground, apart from the
     next, its name and its figure a step larger */
  ul.rows.is-cards > li:not(.rows-head) { background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--r-l); display: block; margin-top: var(--s-8); padding: var(--s-14); }
  ul.rows.is-cards > li:not(.rows-head) .row-title { line-height: var(--lh-ui); }
  /* a card row that starts with a small picture: the picture, then the words beside it, with room between (8.0.1: the
     name touched the picture) */
  ul.rows.is-cards > li:not(.rows-head):has(> .row-thumb) { align-items: center; display: flex; gap: var(--s-12); }
  ul.rows.is-cards > li:not(.rows-head) .row-value { font: var(--type-strong-weight) var(--type-strong-size)/var(--lh-tight) var(--mono); letter-spacing: var(--type-strong-ls); text-transform: var(--type-strong-case); }
  /* a card row that opens, lit under the pointer (Selecta's galleries waiting), and one not read yet, its gold dot
     before its title (Selecta's notifications) */
  @media (hover: hover) { ul.rows.is-cards > li.is-link:is(:hover, :focus-within) { background: var(--row-lit); } }
  ul.rows > li.is-unread .row-title::before { content: ""; display: inline-block; width: var(--pip-size, 7px); height: var(--pip-size, 7px);
    margin-right: var(--s-6); border-radius: 50%; background: var(--accent); vertical-align: middle; }
  /* one happening right now (a client selecting in Selecta): the same dot, breathing */
  ul.rows > li.is-live .row-title::before { animation: pulse calc(var(--t-mid) * 4) ease-in-out infinite; }
  @media (prefers-reduced-motion: reduce) { ul.rows > li.is-live .row-title::before { animation: none; } }
  /* rows under a row (a person's lessons under the person): a dashed line between them, less room, the title smaller
     and quieter: <ul class="rows is-sub"> inside the row */
  ul.rows.is-sub > li { --row-py: var(--s-4); border-top-style: dashed; gap: var(--s-4) var(--s-8); }
  ul.rows.is-sub > li:first-child { border-top: none; padding-top: var(--s-4); }
  ul.rows.is-sub .row-title { color: var(--dim); font-size: var(--type-small-size); font-weight: var(--type-strong-weight); font-family: var(--type-small-font); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  /* a row being saved steps back until it is (--o-busy), as a table's */
  ul.rows > li.is-busy { opacity: var(--o-busy); transition: opacity var(--t-fast) ease; }
  /* a row's second line, under its title: a detail, smaller and faint */
  .row-title small { color: var(--faint); display: block; font: var(--type-small-weight) var(--type-small-size)/var(--lh-ui) var(--type-small-font); margin-top: var(--s-2); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  /* the words as a bank or a server wrote them, under a row's name, in the fixed-width font (an operation's label) */
  .row-label { color: var(--faint); display: block; font: var(--type-caption-weight) var(--type-caption-size)/var(--lh-ui) var(--mono); margin-top: var(--s-2); overflow-wrap: anywhere; letter-spacing: var(--type-caption-ls); text-transform: var(--type-caption-case); }
  /* a note under a row, in gold italics (one's own words on an operation) */
  .row-note { color: var(--accent-text); display: block; font: italic var(--type-small-weight) var(--type-small-size)/var(--lh-ui) var(--type-small-font); margin-top: var(--s-2); overflow-wrap: anywhere; letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  /* a small picture at the head of a row (a photo a note is about), square, its corners the row's */
  .row-thumb { flex: none; width: var(--row-thumb, 48px); height: var(--row-thumb, 48px); object-fit: cover; border-radius: var(--r-s); background: var(--panel-2); }
  /* the photos of a post at the head of its row (6.8.0, ds.viewer.thumb in ds-photo.js): the first one in the square, how
     many there are in its corner, a play mark on a video's cover; a click opens them all in the viewer. A post without
     a photo keeps an empty square with a quiet page, so that the rows stay aligned (.is-empty). Smaller in a ranking.
     The marks are drawn here, as the viewer's: no icon sprite is needed.
     <button class="row-thumb" type="button"><img alt="" src="…"><span class="row-thumb-n">5</span></button>,
     .is-video on a video's cover, <span class="row-thumb is-empty" aria-hidden="true"></span> without a photo */
  :is(button, span).row-thumb { position: relative; display: block; box-sizing: border-box; margin: 0; padding: 0; overflow: hidden;
    border: 1px solid var(--line); color: var(--faint); }
  button.row-thumb { cursor: zoom-in; }
  @media (hover: hover) { button.row-thumb:hover { border-color: var(--accent); } }
  .row-thumb > img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .row-thumb-n { position: absolute; right: var(--s-2); bottom: var(--s-2); padding: 0 var(--s-4); border-radius: var(--r-s); color: var(--white);
    background: var(--overlay-black-strong); font: var(--type-caption-weight) var(--type-caption-size)/var(--lh-ui) var(--mono); letter-spacing: var(--type-caption-ls); }
  .row-thumb.is-video::after, .row-thumb.is-empty::before { content: ""; position: absolute; inset: 0; margin: auto; background: currentColor;
    -webkit-mask: var(--sign) center / contain no-repeat; mask: var(--sign) center / contain no-repeat; }
  /* a row of portrait tiles, one per story of a day (ds.viewer.strip): its photo at a story's shape, its figure under it,
     a bar of its tone at its foot (a verdict's colours), the best one ringed in gold; it scrolls sideways when too long.
     <ol class="thumb-strip"><li class="is-good is-best"><button class="thumb-strip-photo" type="button"><img alt="" src="…"></button>
     <span class="thumb-strip-fig">1 433</span></li>…</ol>, .is-video on a video's cover, span.thumb-strip-photo.is-empty without */
  .thumb-strip { --strip-w: var(--s-56); display: flex; gap: var(--s-8); margin: 0; padding: 0 0 var(--s-4); list-style: none; overflow-x: auto; scrollbar-width: thin; }
  /* as strong as the lines' own ul.rows li, and after it: a strip in a line (a day of stories) keeps its tiles side by side,
     with no line's rule or room */
  ol.thumb-strip > li { flex: none; display: flex; flex-direction: column; align-items: stretch; gap: var(--s-4); width: var(--strip-w); margin: 0; padding: 0; border: 0; }
  .thumb-strip-photo { position: relative; display: block; box-sizing: border-box; width: 100%; aspect-ratio: 9 / 16; margin: 0; padding: 0; overflow: hidden;
    color: var(--faint); background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--r-s); }
  button.thumb-strip-photo { cursor: zoom-in; }
  @media (hover: hover) { button.thumb-strip-photo:hover { border-color: var(--accent); } }
  .thumb-strip-photo > img { display: block; width: 100%; height: 100%; object-fit: cover; }
  /* its tone: a bar at its foot */
  .thumb-strip-photo::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: var(--s-4); background: var(--strip-tone, transparent); }
  .thumb-strip > .is-good { --strip-tone: var(--good); }
  .thumb-strip > .is-mid { --strip-tone: var(--mid); }
  .thumb-strip > .is-bad { --strip-tone: var(--bad); }
  .thumb-strip > .is-best > .thumb-strip-photo { border-color: var(--accent); box-shadow: inset 0 0 0 var(--pick-ring) var(--accent); }
  .thumb-strip-photo.is-video::before, .thumb-strip-photo.is-empty::before { content: ""; position: absolute; inset: 0; margin: auto; background: currentColor;
    -webkit-mask: var(--sign) center / contain no-repeat; mask: var(--sign) center / contain no-repeat; }
  .thumb-strip-photo.is-video::before { --sign: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4v16l13-8z'/%3E%3C/svg%3E");
    z-index: var(--z-raise); width: var(--ico-l); height: var(--ico-l); color: var(--white); filter: drop-shadow(0 0 var(--s-2) var(--overlay-black-strong)); }
  .thumb-strip-photo.is-empty::before { --sign: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8zM14 3v5h5M9 13h6M9 17h4'/%3E%3C/svg%3E");
    width: var(--ico-m); height: var(--ico-m); }
  /* the icon 4px before its figure, as a row's figure (.fig) and a mini tile's unit (7.7.1) */
  .thumb-strip-fig { display: flex; align-items: center; justify-content: center; gap: var(--s-4); color: var(--ink); white-space: nowrap;
    font: var(--type-caption-weight) var(--type-caption-size)/var(--lh-ui) var(--mono); letter-spacing: var(--type-caption-ls); }
  .thumb-strip-fig .ico { width: var(--ico-s); height: var(--ico-s); color: var(--faint); }
  .thumb-strip > .is-best > .thumb-strip-fig { color: var(--accent-text); }
  .row-thumb.is-video::after { --sign: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4v16l13-8z'/%3E%3C/svg%3E");
    width: var(--ico-l); height: var(--ico-l); color: var(--white); filter: drop-shadow(0 0 var(--s-2) var(--overlay-black-strong)); }
  .row-thumb.is-empty { cursor: default; }
  .row-thumb.is-empty::before { --sign: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8zM14 3v5h5M9 13h6M9 17h4'/%3E%3C/svg%3E");
    width: var(--ico-m); height: var(--ico-m); }
  .rank.has-thumb { grid-template-columns: 20px auto minmax(0, 1fr) auto; }
  .rank .row-thumb { --row-thumb: var(--s-36); }
@media (max-width: 768px) {
  .row-thumb { --row-thumb: var(--s-40); }
}
  /* rows under a row, indented (a trip's kinds of spending and their lines) */
  ul.rows.is-tree > li > ul.rows { flex-basis: 100%; margin-left: var(--s-16); }
  /* a row done (a task ticked, a bill paid) steps back, as a done line of the calendar */
  ul.rows li.is-done :is(.row-date, .row-title, .row-value) { color: var(--faint); }
  /* a row that opens something (a sheet, a trip): its title in gold under the pointer, as a link's */
  ul.rows li.is-link { cursor: pointer; }
  /* a card row that opens as a whole (a notification): its title's link covers the card, what else in it a click
     reaches (a fold, another link) above it: <li class="is-link"><span class="row-title"><a href>…</a><small>…</small>… */
  ul.rows.is-cards > li.is-link:has(.row-title > a) { position: relative; }
  ul.rows.is-cards > li.is-link .row-title > a::after { content: ""; inset: 0; position: absolute; }
  ul.rows.is-cards > li.is-link:has(.row-title > a) :is(a, button, summary, input, select, label):not(.row-title > a) { position: relative; z-index: 1; }
  /* a row whose name is a link and whose second line holds other links (a post's, then who is on it): the title's
     link in the row's ink, gold under the pointer: <span class="row-title"><a href>…</a><small>…</small></span> */
  .row-title > a { color: inherit; text-decoration: none; }
  @media (hover: hover) { a.row-title:hover, .row-title > a:hover, ul.rows li.is-link:hover .row-title { color: var(--accent-text); } }
  /* a word in a palette colour (a bank's name): <span class="tint" style="--n: var(--c-ciel)">; in vitrine darkened with ink to read */
  .tint { color: color-mix(in oklab, var(--n, var(--accent)) var(--tint-ink), var(--ink)); }
  .who { background: color-mix(in srgb, var(--n, var(--accent)) var(--tint-soft), transparent); border-radius: var(--r-s); color: color-mix(in oklab, var(--n, var(--accent)) var(--tint-ink-on-tint), var(--ink)); flex: 0 0 auto; font: var(--type-smallcaps-weight) var(--type-smallcaps-size)/var(--lh-tight) var(--type-smallcaps-font); letter-spacing: var(--type-smallcaps-ls); padding: var(--s-2) var(--s-6); text-transform: var(--type-smallcaps-case); }
  /* never cut over lines: on a narrow line it goes under what it follows (.sum-line wraps) */
  .late-tag { flex: none; white-space: nowrap; font: var(--type-strong-weight) var(--type-caption-size)/var(--lh-tight) var(--type-caption-font); color: var(--bad); background: var(--bad-soft); border: 1px solid var(--bad-line); padding: var(--s-2) var(--s-6); border-radius: var(--r-s); letter-spacing: var(--type-caption-ls); text-transform: var(--type-caption-case); }
  /* a list's line: its date or time, and its amount or figure */
  .row-date { color: var(--dim); flex: 0 0 auto; font-variant-numeric: tabular-nums; min-width: 7ch; font: var(--type-small-weight) var(--type-small-size)/var(--lh-text) var(--mono); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  .row-value { color: var(--ink); font-variant-numeric: tabular-nums; font: var(--type-strong-weight) var(--type-strong-size)/var(--lh-tight) var(--mono); min-width: 86px; text-align: right; margin-left: auto; white-space: nowrap; letter-spacing: var(--type-strong-ls); text-transform: var(--type-strong-case); }
  .row-value .row-sub { color: var(--faint); display: block; font-size: var(--type-caption-size); margin-top: var(--s-4); font-family: var(--type-caption-font); font-weight: var(--type-caption-weight); letter-spacing: var(--type-caption-ls); text-transform: var(--type-caption-case); }
  /* a short line of its own in a row, under what is above it, in small, its colour a tone (a trip's « Remboursé 120 € »,
     .row-line.tone.is-good, 4.26.1; .row-note is an operation's note, in gold italics) */
  .row-line { display: block; font-size: var(--type-small-size); font-family: var(--type-small-font); font-weight: var(--type-small-weight); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  /* a line break inside a row, on a phone only (Studio's day: its title and whose it is on the first line, the person,
     the place and the time on the second): <i class="row-break"></i>, the page ordering what goes on each line (4.26.1) */
  ul.rows li > .row-break { display: none; }
@media (max-width: 768px) {
  ul.rows li > .row-break { display: block; flex: 0 0 100%; height: 0; }
  /* a row without a time (.row-date.is-none, « — »): its column keeps the rows in line on a computer, and gives its room
     to the title on a phone (7.4.0) */
  .row-date.is-none { display: none; }
}
  /* figures each behind its small icon (a post's likes, replies, reposts, views), in a row's place or at its end, the
     same in a list, an agenda's day and a sheet: <span class="figs"><span class="fig" title="40 likes"><svg class="ico">…
     </svg>40</span>…</span> (Studio's) */
  .figs { align-items: center; color: var(--dim); display: inline-flex; flex-wrap: wrap; font: var(--type-small-weight) var(--type-small-size)/var(--lh-tight) var(--mono);
    font-variant-numeric: tabular-nums; gap: var(--s-4) var(--s-12); vertical-align: middle; letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  .fig { align-items: center; display: inline-flex; gap: var(--s-4); white-space: nowrap; }
  .fig .ico { height: var(--ico-sm); width: var(--ico-sm); }
/* A row that is judged (Studio's posts): its photos (.row-thumb), its name and its second line (.row-title), its figures
   (.row-figs: .figs, or a .row-value), its verdict (.verdict). On a computer on one line, the name and its line cut to
   one line each. On a phone, every row alike: the name and its line beside the photos, the name on two lines at most,
   the verdict on their right; the figures under them, as wide as the row beside the photos, never squeezing the name
   (« sur mobile on voit pas les textes », 28 November 2026). A row without figures (a post still to come) keeps its
   verdict in the verdicts' column.
   <ul class="rows is-scored"><li><button class="row-thumb">…</button><span class="row-title"><a href>Name</a><small>27 nov. ·
   Léa</small></span><span class="row-figs"><span class="figs">…</span></span><span class="verdict is-tall">…</span></li></ul> */
  ul.rows.is-scored > li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: var(--s-14); }
  ul.rows.is-scored > li:has(> .row-thumb) { grid-template-columns: auto minmax(0, 1fr) auto auto; }
  ul.rows.is-scored .row-title > :is(a, span), ul.rows.is-scored .row-title small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .row-figs { display: grid; gap: var(--s-2); justify-items: end; min-width: 0; text-align: right; }
  .row-figs .figs { justify-content: flex-end; }
  .row-figs .row-value { display: inline-flex; align-items: center; gap: var(--s-4); min-width: 0; margin: 0; }
  ul.rows.is-scored > li > .verdict { grid-column: -2; }
@media (max-width: 768px) {
  ul.rows.is-scored > li { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "main verdict" "figs figs"; gap: var(--s-6) var(--s-10); }
  ul.rows.is-scored > li:has(> .row-thumb) { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "thumb main verdict" "thumb figs figs"; }
  ul.rows.is-scored > li > .row-thumb { grid-area: thumb; align-self: start; }
  ul.rows.is-scored > li > .row-title { grid-area: main; }
  ul.rows.is-scored > li > .row-figs { grid-area: figs; justify-items: start; text-align: left; }
  ul.rows.is-scored .row-figs .figs { justify-content: flex-start; }
  ul.rows.is-scored > li > .verdict { grid-area: verdict; align-self: start; }
  /* the name on two lines at most, its second line whole */
  ul.rows.is-scored .row-title > :is(a, span) { display: -webkit-box; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
  ul.rows.is-scored .row-title small { white-space: normal; }
}
/* Key and value, one pair a row, under a line (an operation's account, its bank's label, its note): <dl class="kv">,
   each pair in a <div> with its <dt> and <dd>; a field in a value takes the row's width. */
  .facts { margin: 0; }
  .facts > div { --row-py: var(--s-10); display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: var(--s-10); align-items: start; }
  .facts dt { color: var(--faint); font: var(--type-smallcaps-weight) var(--type-smallcaps-size)/var(--lh-text) var(--type-smallcaps-font); letter-spacing: var(--type-smallcaps-ls); text-transform: var(--type-smallcaps-case); }
  .facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; font-size: var(--type-text-size); font-family: var(--type-text-font); font-weight: var(--type-text-weight); letter-spacing: var(--type-text-ls); text-transform: var(--type-text-case); }
  /* words as the bank wrote them */
  .facts dd.is-mono { color: var(--dim); font: var(--type-small-weight) var(--type-small-size)/var(--lh-text) var(--mono); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  .facts dd :is(select, textarea, input:not([type=checkbox]):not([type=radio])) { width: 100%; max-width: 100%; box-sizing: border-box; }
  .facts dd textarea { resize: vertical; line-height: var(--lh-text); }

@media (max-width: 768px) {
    .row-value { min-width: 68px; }
  .facts > div { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
}

/* What a total is made of (a trip's money, kind by kind, 4.25.0): .parts, a line each, a <div> with its words and its
   figure; .is-head a kind and its total, in ink and bold, a little apart from the one before (its .swatch in front);
   .is-sub a line of it, set in and quieter; .is-good what came back; .is-ruled a hairline above it all. The figures in
   mono, on the right.
   <div class="parts is-ruled"><div class="is-head"><span><i class="swatch"></i>Transport</span><span>−312 €</span></div>
     <div class="is-sub"><span>Train</span><span>−212 €</span></div>… */
  .parts { display: grid; gap: var(--s-2); font-size: var(--type-small-size); font-family: var(--type-small-font); font-weight: var(--type-small-weight); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  .parts.is-ruled { padding-top: var(--s-12); border-top: 1px solid var(--line); }
  .parts > div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-12); }
  .parts > .is-head { margin-top: var(--s-10); color: var(--ink); font-weight: var(--type-strong-weight); }
  .parts > .is-head:first-child { margin-top: 0; }
  .parts > .is-head .swatch { display: inline-block; vertical-align: middle; margin-right: var(--s-8); }
  .parts > .is-sub { padding-left: var(--s-16); color: var(--dim); }
  .parts > div > span:last-child { font: var(--type-small-weight) var(--type-small-size)/var(--lh-text) var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  .parts > .is-head > span:last-child { font-weight: var(--type-strong-weight); color: var(--ink); }
  .parts > .is-good, .parts > .is-good > span:last-child { color: var(--good); }

/* Lines of pairs (a rule: the merchant and where it goes, a note under it, 4.26.0): .pair, a hairline above it; .pair-k
   what it is, bold, its <small> in mono; .pair-v where it goes, on the right (a.pair-v a link, in gold); .pair-n the note
   under it, small and faint (.is-wide across the line); .pair.is-off a line kept but not used, struck through.
   <div class="pair"><span class="pair-k">Super U <small>SUPER U</small></span><span class="pair-v">Courses</span><span class="pair-n">Dépense</span></div> */
  .pair { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-2) var(--s-12); padding: var(--s-8) 0; border-top: 1px solid var(--line); }
  .pair-k { min-width: 0; font-weight: var(--type-strong-weight); overflow-wrap: anywhere; font-family: var(--type-strong-font); font-size: var(--type-strong-size); letter-spacing: var(--type-strong-ls); text-transform: var(--type-strong-case); }
  .pair-k small { margin-left: var(--s-6); font: var(--type-caption-weight) var(--type-caption-size)/var(--lh-tight) var(--mono); color: var(--faint); letter-spacing: var(--type-caption-ls); text-transform: var(--type-caption-case); }
  .pair-v { text-align: right; color: var(--dim); }
  a.pair-v { color: var(--accent); font-variant-numeric: tabular-nums; text-decoration: none; }
  a.pair-v:hover { text-decoration: underline; }
  .pair-n { font-size: var(--type-caption-size); color: var(--faint); font-family: var(--type-caption-font); font-weight: var(--type-caption-weight); letter-spacing: var(--type-caption-ls); text-transform: var(--type-caption-case); }
  .pair-n.is-wide { grid-column: 1 / -1; }
  .pair.is-off :is(.pair-k, .pair-v) { color: var(--faint); text-decoration: line-through; }
  .pair.is-off .pair-n { color: var(--mid); }
@media (max-width: 768px) {
  /* on a phone, one under the other, where it goes on the left */
  .pair { grid-template-columns: minmax(0, 1fr); }
  .pair-v { text-align: left; }
}
/* blocks one under the other, split by a hairline (a bank and its accounts): <div class="groups"><div>…</div><div>… ;
   and a block set apart under a hairline (what was taken away, under the list): <div class="apart"> (4.26.0) */
  .groups > * { border-top: 1px solid var(--line); padding: var(--s-4) 0; }
  .groups > :first-child { border-top: none; }
  .apart { padding-top: var(--s-10); border-top: 1px solid var(--line); }
/* The pieces of a public site, taken from alexispaoleschi.com: a badge, a section's head, the footer (the card's parts
   are in card.css).
   Selecta and the site use them; in atelier they take atelier's fonts and colours. */
  .badge { display: inline-block; padding: var(--badge-py) var(--badge-px) var(--badge-py) calc(var(--badge-px) + var(--type-smallcaps-ls));
    font: var(--type-smallcaps-weight) var(--type-smallcaps-size)/var(--badge-lh) var(--type-smallcaps-font); letter-spacing: var(--type-smallcaps-ls); text-transform: var(--type-smallcaps-case); white-space: nowrap;
    color: var(--on-accent); background: var(--accent); border-radius: var(--r-s); }
  /* on red, the light of the panel: white in vitrine, the night in atelier */
  .badge.is-bad { color: var(--panel); background: var(--bad); }
  /* what is not open yet: a quiet word on a faint gold, inside a gold line */
  .badge.is-soft { color: var(--dim); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent-line); }
  /* what is over (6.7.0: a workshop that has ended), readable on a photo as on a page: the ink, solid, under the panel's
     light (white on black in vitrine, the night on the mist in atelier) */
  .badge.is-done { color: var(--panel); background: var(--ink); }
  .section-head { text-align: center; }
  .section-head h2 { position: relative; margin: 0 0 var(--s-32); padding-bottom: var(--s-24); color: var(--ink); text-wrap: balance;
    font: var(--type-display-weight) var(--type-display-size)/var(--title-lh) var(--type-display-font); letter-spacing: var(--type-display-ls); text-transform: var(--type-display-case); }
  .section-head h2::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 60px; height: 1px; background: var(--accent); transform: translateX(-50%); }
  .section-head .section-sub { margin: 0 0 var(--s-48); color: var(--accent-text);
    font: var(--type-subtitle-weight) var(--type-subtitle-size)/var(--title-lh) var(--type-subtitle-font); letter-spacing: var(--type-subtitle-ls); text-transform: var(--type-subtitle-case); }
  /* a page with the site's footer fills at least one screen, and a short page (the newsletter's) keeps its footer at the
     bottom of the screen instead of half-way up: the footer is held no higher than the screen's foot, inside its page,
     which leaves a long page as it is (5.19.2) */
  body:has(> .site-footer) { min-height: 100vh; min-height: 100dvh; }
  body > .site-footer { position: sticky; top: 100vh; top: 100dvh; }
  /* a block of its own, not the row of an app's footer */
  .site-footer { display: block; padding: var(--footer-py) calc(var(--s-20) + var(--safe-right)) calc(var(--footer-py) + var(--safe-bottom)) calc(var(--s-20) + var(--safe-left)); text-align: center; background: var(--band); border-top: 1px solid var(--line); }
  .site-footer p { margin: 0 0 var(--s-16); color: var(--faint); font: var(--type-text-weight) var(--type-text-size)/var(--title-lh) var(--type-text-font); letter-spacing: var(--type-text-ls); text-transform: var(--type-text-case); }
  .site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-32); }
  .site-footer a { color: var(--accent-text); text-decoration: none; font: var(--type-strong-weight) var(--type-text-size)/var(--title-lh) var(--type-text-font); letter-spacing: var(--type-text-ls); transition: color var(--t-fast) ease; text-transform: var(--type-text-case); }
  @media (hover: hover) { .site-footer a:hover { color: var(--accent-strong); } }
  /* a film in a page (an event's house, seen from the sky), framed as the page's photos: its poster until it is played,
     its own controls, nothing loaded before (5.21.0):
     <figure class="video-frame"><video controls playsinline preload="none" poster="…"><source src="…" type="video/mp4"></video></figure> */
  .video-frame { margin: var(--s-48) 0 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--night-800); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
  .video-frame > video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Steps and key facts (6.3.0): how something goes, one step after another, and what one must know before asking. A
   workshop's booking shows both above its request: send your request, get the details, secure your spot; then the
   companion and the payment terms. Selecta and the site can use them; in atelier they take atelier's fonts and colours. */

/* The steps, numbered by the list itself (01, 02, 03 over each title):
   <ol class="steps"><li><span class="steps-dot"><svg aria-hidden="true" class="ico">…</svg></span>
   <h4 class="steps-title">…</h4><p class="steps-text">…</p></li>…</ol>
   Side by side, each picto in a thin ring and a line from ring to ring; on a phone, one under the other, the rings on the
   left linked from top to bottom and the words beside them. */
  .steps { --steps-dot: calc(var(--picto-m) + 2 * var(--s-20)); --steps-gap: var(--s-32); display: grid; grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column; gap: var(--steps-gap); margin: var(--s-48) 0; padding: 0; list-style: none; text-align: center; counter-reset: steps; }
  .steps > li { position: relative; min-width: 0; }
  /* the line to the next ring, from this ring's middle to the next one's, under both rings */
  .steps > li:not(:last-child)::after { content: ""; position: absolute; top: calc(var(--steps-dot) / 2); left: 50%; width: calc(100% + var(--steps-gap));
    border-top: 1px solid var(--line); }
  .steps-dot { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; box-sizing: border-box;
    width: var(--steps-dot); height: var(--steps-dot); margin: 0 auto var(--s-16); background: var(--card-bg); border: 1px solid var(--line); border-radius: 50%; }
  .steps-dot > .ico { width: var(--picto-m); height: var(--picto-m); color: var(--accent); stroke-width: 1; }
  .steps-title { margin: 0 0 var(--s-12); color: var(--ink); line-height: var(--title-lh);
    font-family: var(--type-title-2-font); font-size: var(--type-title-2-size); font-weight: var(--type-title-2-weight); letter-spacing: var(--type-title-2-ls); text-transform: var(--type-title-2-case); }
  .steps-title::before { counter-increment: steps; content: counter(steps, decimal-leading-zero); display: block; margin-bottom: var(--s-8); color: var(--accent-text);
    font-family: var(--type-caps-font); font-size: var(--type-caps-size); font-weight: var(--type-caps-weight); letter-spacing: var(--type-caps-ls); text-transform: var(--type-caps-case); }
  .steps-text { margin: 0; color: var(--dim); line-height: var(--lh-relaxed);
    font-family: var(--type-text-font); font-size: var(--type-text-size); font-weight: var(--type-text-weight); letter-spacing: var(--type-text-ls); text-transform: var(--type-text-case); }
  @media (max-width: 768px) {
    .steps { --steps-gap: var(--s-28); grid-auto-flow: row; text-align: left; }
    .steps > li { display: grid; grid-template-columns: var(--steps-dot) minmax(0, 1fr); column-gap: var(--s-20); align-content: start; }
    .steps-dot { grid-row: 1 / span 2; margin: 0; }
    .steps-title, .steps-text { grid-column: 2; }
    .steps > li:not(:last-child)::after { top: var(--steps-dot); bottom: calc(-1 * var(--steps-gap)); left: calc(var(--steps-dot) / 2); width: 0;
      border-top: 0; border-left: 1px solid var(--line); }
  }

/* The key facts, two side by side on a light gold band, each with its picto beside its gold title and its words under
   the title: <div class="key-facts"><div class="key-facts-item"><svg aria-hidden="true" class="ico">…</svg>
   <h4 class="key-facts-title">…</h4><p class="key-facts-text">…</p></div>…</div>
   The one that matters most can take the band's whole width, above the others and a thin line (.key-facts-item.is-wide,
   6.5.0: a workshop's price on request), as does one alone. A fact apart from the others goes in a band of its own,
   without the gold, inside a thin line (.key-facts.is-outline, 6.6.0: the companion, above the price and the payment), a
   band right under another one close to it. On a phone, one under the other, the words across the band's width under the
   picto and the title. */
  .key-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-40); margin: var(--s-40) 0; padding: var(--s-32) var(--s-40);
    text-align: left; background: var(--accent-soft); border: 1px solid var(--line); border-radius: var(--r-l); }
  .key-facts-item.is-wide { grid-column: 1 / -1; padding-bottom: var(--s-28); border-bottom: 1px solid var(--line); }
  .key-facts-item:only-child { grid-column: 1 / -1; }
  .key-facts.is-outline { background: transparent; }
  .key-facts:has(+ .key-facts) { margin-bottom: var(--s-24); }
  .key-facts + .key-facts { margin-top: var(--s-24); }
  .key-facts-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-8) var(--s-16); align-content: start; min-width: 0; }
  .key-facts-item > .ico { align-self: center; width: var(--picto-m); height: var(--picto-m); color: var(--accent); stroke-width: 1; }
  .key-facts-title { margin: 0; color: var(--accent-text); line-height: var(--title-lh);
    font-family: var(--type-title-2-font); font-size: var(--type-title-2-size); font-weight: var(--type-title-2-weight); letter-spacing: var(--type-title-2-ls); text-transform: var(--type-title-2-case); }
  .key-facts-text { grid-column: 2; margin: 0; color: var(--dim); line-height: var(--lh-relaxed);
    font-family: var(--type-text-font); font-size: var(--type-text-size); font-weight: var(--type-text-weight); letter-spacing: var(--type-text-ls); text-transform: var(--type-text-case); }
  @media (max-width: 768px) {
    .key-facts { grid-template-columns: minmax(0, 1fr); gap: var(--s-28); padding: var(--s-24) var(--s-20); }
    .key-facts-text { grid-column: 1 / -1; }
  }
/* The hero: a photo across the page with its title over it, taken from alexispaoleschi.com's events (the event pages, the
   events and the newsletter) and Selecta's gallery cover. <section class="hero"> holds <img class="hero-img"> (or a
   <picture class="hero-img">, or the page's own background-image, or its photo given by the page itself:
   style="--hero-photo: url(/path/from/the/root.jpg)", a path from the root since the design system's file reads it) and <div class="hero-in"> with .hero-t, .hero-sub (gold
   capitals), .hero-meta (a date, a place) and .hero-acts (its buttons); a .back-link.on-photo may sit in its corner.
   A veil from the overlay tokens keeps the white words readable on any photo; it is over a photo, so it reads the same
   in both themes, each with its own title font.
   Without a modifier it is the site's page hero (the events, the newsletter); .is-full fills the screen with an event
   page's sizes, .is-band is a photo band between two sections, .is-short is low (Selecta's cover), .is-bottom puts the words at the bottom
   left over a veil that darkens downwards (Selecta's), .is-parallax lets the photo drift slower than the page (CSS only;
   still on a touch screen and for those who ask for less motion). */
  /* the page's hero (the site's events and newsletter): 420px high, its title (the big title) over a gold line, its
     subtitle under it; .is-full gives an event page's room. Each room is a --hero-* token, so that a page can set the one
     it needs; the words are the text roles'. */
  .hero { --hero-veil: var(--overlay-black-medium); --hero-h: 420px; --hero-pad: var(--s-80); --hero-pad-end: var(--hero-pad); --hero-side: var(--s-40);
    --hero-in-max: var(--read-l); --hero-in-pad: 0px;
    --hero-t-lh: var(--title-lh); --hero-t-gap: var(--s-32); --hero-rule: block; --hero-rule-gap: var(--s-24);
    --hero-sub-gap: 0px;
    --hero-meta-gap: var(--s-56);
    position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: var(--hero-h); overflow: hidden; color: var(--white); text-align: center;
    padding: var(--hero-pad) max(var(--hero-side), var(--safe-right)) var(--hero-pad-end) max(var(--hero-side), var(--safe-left));
    background-color: var(--night-800); background-image: var(--hero-photo, none); background-position: center; background-size: cover; background-repeat: no-repeat; }
  .hero-img, .hero-img img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
  .hero-img img { position: static; }
  /* a film as the hero's photo (5.21.0): <video class="hero-img" autoplay muted loop playsinline poster="…"> with its
     <source media="(min-width: 769px) and (prefers-reduced-motion: no-preference)">, so that a phone and whoever asks for
     less motion load nothing and keep the page's photo (--hero-photo) */
  video.hero-img { pointer-events: none; }
  /* the veil, over the photo and under the words */
  .hero::after { content: ""; position: absolute; inset: 0; background: var(--hero-veil); pointer-events: none; }
  /* as wide as its words, up to --hero-in-max; a word longer than the screen stays whole, centred over the hero's edges */
  .hero-in { position: relative; z-index: var(--z-raise); display: flex; flex-direction: column; align-items: center; max-width: var(--hero-in-max);
    box-sizing: border-box; padding: var(--hero-in-pad); }
  .hero-in > * { margin: 0; }
  .hero-t { position: relative; margin-bottom: var(--hero-t-gap); padding-bottom: var(--hero-rule-gap); color: var(--white); overflow-wrap: break-word; text-shadow: var(--text-shadow-lg);
    font: var(--type-display-weight) var(--type-display-size)/var(--hero-t-lh) var(--type-display-font); letter-spacing: var(--type-display-ls); text-transform: var(--type-display-case); }
  /* the gold line under the page's title, as under a section's */
  .hero-t::after { content: ""; display: var(--hero-rule); position: absolute; left: 50%; bottom: 0; width: 60px; height: 1px; background: var(--accent); transform: translateX(-50%); }
  /* gold capitals */
  .hero-sub { margin-bottom: var(--hero-sub-gap); color: var(--accent); text-shadow: var(--text-shadow-lg);
    font: var(--type-subtitle-weight) var(--type-subtitle-size)/var(--lh-loose) var(--type-subtitle-font); letter-spacing: var(--type-subtitle-ls); text-transform: var(--type-subtitle-case); }
  /* a date, a place */
  .hero-meta { margin-bottom: var(--hero-meta-gap); color: var(--white); text-shadow: var(--text-shadow-lg);
    font: var(--type-subtitle-weight) var(--type-subtitle-size)/var(--lh-loose) var(--type-subtitle-font); letter-spacing: var(--type-subtitle-ls); text-transform: var(--type-subtitle-case); }
  .hero-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-12); }
  /* a hero's buttons are the site's large ones */
  .hero-acts .btn { min-height: var(--btn-l-h); padding: 0 var(--btn-l-px); }
  /* the way back, in the hero's top left corner, clear of an iPhone's notch */
  .hero > .back-link { position: absolute; z-index: var(--z-raise); top: max(var(--s-24), var(--safe-top)); left: max(var(--s-24), var(--safe-left)); }

  /* an event page: the screen’s height, its name, the place, the date, then its button */
  .hero.is-full { --hero-h: 100vh; --hero-pad: 0px; --hero-side: 0px; --hero-in-max: var(--read-xl); --hero-in-pad: var(--s-20);
    --hero-t-gap: var(--s-24); --hero-rule: none; --hero-rule-gap: 0px;
    --hero-sub-gap: var(--s-16); }
  /* a photo band between two sections of a page (the site's event pages): 60% of the screen's height, its title, a few
     words in gold under it */
  .hero.is-band { --hero-h: 60vh; --hero-pad: 0px; --hero-pad-end: 0px; --hero-side: 0px; --hero-in-max: var(--read-xl); --hero-in-pad: var(--s-20);
    --hero-t-gap: var(--s-24); --hero-rule: none; --hero-rule-gap: 0px;
    --hero-meta-gap: var(--s-40); }
  /* a band's sentence: a few words in gold capitals, as a cover's place, its lines of one length */
  .hero.is-band .hero-meta { font: var(--type-subtitle-weight) var(--type-subtitle-size)/var(--lh-loose) var(--type-subtitle-font); letter-spacing: var(--type-subtitle-ls); text-transform: var(--type-subtitle-case); color: var(--accent); text-wrap: balance; }
  /* a cover as tall as the screen (an event's page): its title and its place take the cover's roles, its date the
     subtitle's spaced capitals, in white under the gold place, so that the three read as one block; its buttons keep the
     site's size */
  .hero.is-full .hero-t { font: var(--type-cover-weight) var(--type-cover-size)/var(--hero-t-lh) var(--type-cover-font); letter-spacing: var(--type-cover-ls); text-transform: var(--type-cover-case); }
  .hero.is-full .hero-sub { font: var(--type-cover-line-weight) var(--type-cover-line-size)/var(--lh-loose) var(--type-cover-line-font); letter-spacing: var(--type-cover-line-ls); text-transform: var(--type-cover-line-case); }
  .hero.is-full .hero-meta { font: var(--type-subtitle-weight) var(--type-subtitle-size)/var(--lh-loose) var(--type-subtitle-font); letter-spacing: var(--type-subtitle-ls); text-transform: var(--type-subtitle-case); }
  /* Selecta's gallery cover: low, its words close together */
  .hero.is-short { --hero-h: clamp(220px, 34vh, 320px); --hero-pad: var(--s-32); --hero-side: var(--s-32);
    --hero-t-lh: var(--lh-ui); --hero-t-gap: 0px; --hero-rule: none; --hero-rule-gap: 0px; --hero-meta-gap: 0px; }
  .hero.is-short .hero-in { gap: var(--s-12); }
  .hero.is-bottom { --hero-veil: linear-gradient(to top, var(--overlay-black-medium), transparent); align-items: stretch; justify-content: flex-end; text-align: left; }
  .hero.is-bottom .hero-in { align-items: flex-start; width: 100%; gap: var(--s-6); }
  .hero.is-bottom .hero-meta { font: var(--type-smallcaps-weight) var(--type-smallcaps-size)/var(--lh-ui) var(--type-smallcaps-font); letter-spacing: var(--type-smallcaps-ls); text-transform: var(--type-smallcaps-case); }
  .hero.is-bottom .hero-acts { justify-content: flex-start; margin-top: var(--s-12); }

  /* parallax: the photo, taller than the hero, drifts down as the page goes up, so it seems further away; a background
     image stays put instead, as on the site's event pages */
  @keyframes hero-drift { from { transform: translateY(-10%); } to { transform: translateY(10%); } }
@media (hover: hover) {
  .hero.is-parallax { background-attachment: fixed; }
  @supports (animation-timeline: view()) {
    .hero.is-parallax .hero-img { top: -15%; bottom: auto; height: 130%; animation: hero-drift linear both; animation-timeline: view(); }
  }
}
@media (max-width: 768px) {
  video.hero-img { display: none; }
  .hero { --hero-h: 360px; --hero-pad: var(--s-60); --hero-side: var(--s-24); }
  .hero.is-full { --hero-h: 100vh; --hero-pad: 0px; --hero-side: 0px; }
  .hero.is-band { --hero-h: 50vh; }
}
@media (max-width: 480px) {
  .hero { --hero-h: 300px; --hero-pad: var(--s-80); --hero-pad-end: var(--s-48); --hero-side: var(--s-16); }
  .hero.is-full { --hero-h: 100vh; --hero-pad: 0px; --hero-pad-end: 0px; --hero-side: 0px; }
  .hero.is-short { --hero-h: 220px; --hero-pad: var(--s-20); --hero-pad-end: var(--s-20); --hero-side: var(--s-16); }
  .hero > .back-link { top: max(var(--s-16), var(--safe-top)); left: max(var(--s-16), var(--safe-left)); }
}
@media (prefers-reduced-motion: reduce) {
  video.hero-img { display: none; }
  .hero.is-parallax { background-attachment: scroll; }
  .hero.is-parallax .hero-img { top: 0; height: 100%; animation: none; }
}
/* The top bar, taken from alexispaoleschi.com: a name on the left, then links in capitals underlined in gold on hover,
   or buttons with an icon (Selecta's bell, settings, sign-out), and room for one action (« Book now »).
   Its content lines up with the page under it: 1500px for a tool, 1200px on a site's page (.is-site).
   What a single app needs stays in it: the site's phone menu and its bar that appears on scrolling, Selecta's languages and bell. */
  .topbar { position: relative; z-index: var(--z-bar); background: var(--topbar-bg); border-bottom: 1px solid var(--line); box-shadow: var(--topbar-shadow);
    backdrop-filter: var(--topbar-blur); -webkit-backdrop-filter: var(--topbar-blur); }
  .topbar.is-site { --topbar-max: var(--page-site); }
  /* a bar on the page's own ground rather than over a photo (Selecta's admin and galleries): solid, without the glass, its
     soft shadow kept */
  .topbar.is-solid { --topbar-bg: var(--panel); --topbar-blur: none; }
  .topbar-in { display: flex; align-items: center; justify-content: space-between; gap: var(--topbar-gap); max-width: var(--topbar-max, var(--page-max)); margin: 0 auto;
    padding: calc(var(--topbar-py) + var(--safe-top)) max(var(--topbar-px), var(--safe-right)) var(--topbar-py) max(var(--topbar-px), var(--safe-left)); }
  .topbar-brand { flex: none; color: var(--brand-color); text-decoration: none; white-space: nowrap; transition: color var(--t-fast) ease;
    font: var(--brand-weight) var(--brand-size)/var(--lh-tight) var(--brand-font); letter-spacing: var(--brand-ls); text-transform: uppercase; }
  .topbar-nav { display: flex; flex: 1; align-items: center; justify-content: flex-end; gap: var(--topbar-gap); min-width: 0; }
  /* centred while it holds, never pushed over the name when it does not */
  .topbar-nav.is-center { justify-content: safe center; }
  /* nothing in the bar shrinks: a choice of language keeps its two letters */
  .topbar-nav > * { flex: none; }
  .topbar-link { position: relative; padding: var(--s-8) 0; color: var(--ink); text-decoration: none; white-space: nowrap; transition: color var(--t-fast) ease;
    font: var(--type-caps-weight) var(--type-caps-size)/var(--lh-ui) var(--type-caps-font); letter-spacing: var(--type-caps-ls); text-transform: var(--type-caps-case); }
  .topbar-link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--accent); transition: width var(--t-fast) ease; }
  .topbar-icon { position: relative; display: grid; place-items: center; min-width: var(--touch-target); min-height: var(--touch-target); padding: 0; color: var(--ink); background: none; border: 0; cursor: pointer;
    transition: color var(--t-fast) ease; }
  .topbar-icon svg { width: var(--ico-l); height: var(--ico-l); }
  .topbar .btn { --btn-h: var(--topbar-btn-h); --btn-px: var(--topbar-btn-px); flex: none; }
  @media (hover: hover) {
    .topbar-brand:hover, .topbar-link:hover, .topbar-icon:hover { color: var(--accent-text); }
    .topbar-link:hover::after { width: 100%; }
  }
/* the way back at the bar's far left (.topbar.has-back, a .back-link.topbar-back before .topbar-in, 5.19.0, framed as over a photo with .on-photo since 5.19.1): on a wide
   screen it sits at the screen's edge, outside the content's width, which stays where the page's is; where there is no
   room for it there, the content moves aside and it comes just before the name */
  .topbar.has-back { display: grid; grid-template-columns: minmax(max-content, 1fr) minmax(0, var(--topbar-max, var(--page-max))) 1fr; align-items: center; }
  .topbar.has-back > .topbar-in { grid-row: 1; grid-column: 2; width: 100%; }
  .topbar-back { grid-row: 1; grid-column: 1; justify-self: start; margin: var(--safe-top) 0 0 max(var(--topbar-px), var(--safe-left)); }
@media (max-width: 768px) {
  /* on a phone, what is marked .is-wide leaves the bar: the site puts its links and its action in its own menu */
  .topbar .is-wide { display: none; }
}
/* a compact bar, for an app on a public theme (Selecta): less room, its name in ink, smaller than the site's (4.26.1) */
  .topbar.is-compact { --topbar-py: var(--s-12); --topbar-px: var(--space-md); --topbar-gap: var(--space-md); --brand-color: var(--ink); }
@media (min-width: 769px) {
  .topbar.is-compact { --topbar-px: var(--space-lg); }
}
@media (max-width: 480px) {
  .topbar.is-compact { --topbar-gap: var(--s-8); }
}
/* The way back, « ← Galeries », anywhere in a page: <a class="back-link"> with the sprite's arrow,
   <svg class="ico" aria-hidden="true"><use href="#i-arrow-left"/></svg>, then a few capitals. Quiet until the pointer
   comes: it turns gold and its arrow steps back (Selecta's). Over a photo (.on-photo: a hero's corner) it is the site's
   floating button instead, white with a soft gold edge, over a blur; the bar's way back (.topbar-back) takes the same
   frame, so that it looks the same at the top of the page and in the bar (5.19.1). The settings' .back stays the settings' own. */
  .back-link { display: inline-flex; align-items: center; gap: var(--s-8); padding: var(--s-6) 0; color: var(--faint); text-decoration: none;
    font: var(--type-smallcaps-weight) var(--type-smallcaps-size)/var(--lh-tight) var(--type-smallcaps-font); letter-spacing: var(--type-smallcaps-ls); text-transform: var(--type-smallcaps-case); white-space: nowrap;
    transition: color var(--t-fast) ease, background-color var(--t-fast) ease, border-color var(--t-fast) ease, transform var(--t-fast) ease, box-shadow var(--t-fast) ease; }
  .back-link .ico { width: var(--ico-m); height: var(--ico-m); transition: transform var(--t-fast) ease; }
  @media (hover: hover) {
    .back-link:hover { color: var(--accent-text); }
    .back-link:hover .ico { transform: translateX(calc(-1 * var(--s-4))); }
  }
  /* over a photo: dark words on a white pill whatever the theme, as the photo is the same in both */
  .back-link.on-photo { padding: var(--s-10) var(--s-20); color: var(--coal-900); background: var(--overlay-white-strong);
    border: 1px solid color-mix(in srgb, var(--gold-500) 20%, transparent);
    border-radius: var(--r-m); box-shadow: var(--photo-shadow); -webkit-backdrop-filter: blur(var(--blur-s)); backdrop-filter: blur(var(--blur-s)); }
  .back-link.on-photo:active { transform: none; }
  /* the site's arrow, a little bolder than the sprite's on its white pill */
  .back-link.on-photo .ico { width: var(--ico-sm); height: var(--ico-sm); stroke-width: 2; }
  @media (hover: hover) {
    .back-link.on-photo:hover { color: var(--white); background: var(--accent); border-color: var(--accent); transform: translateY(calc(-1 * var(--s-2))); box-shadow: var(--photo-shadow-up); }
    .back-link.on-photo:hover .ico { transform: none; }
  }
@media (max-width: 480px) {
  .back-link.on-photo {padding: var(--s-8) var(--s-14); }
}
@media (prefers-reduced-motion: reduce) {
  .back-link, .back-link .ico { transition: none; }
}

/* The way there, « Tout Patreon Alexis → », under a block that has more elsewhere: <a class="go-link"> (or a button),
   its words then the sprite's arrow, <svg class="ico" aria-hidden="true"><use href="#i-arrow-right"/></svg>. In the
   accent, its arrow stepping on under the pointer; in Vitrine in the site's small capitals (Studio's « Voir le détail »,
   Selecta's « Toute l'activité »). */
  .go-link { display: inline-flex; align-items: center; gap: var(--s-6); margin: 0; padding: var(--s-6) 0; background: none; border: 0; cursor: pointer;
    color: var(--accent-text); font: var(--type-smallcaps-weight) var(--type-smallcaps-size)/var(--lh-tight) var(--type-smallcaps-font); text-decoration: none; white-space: nowrap; letter-spacing: var(--type-smallcaps-ls); text-transform: var(--type-smallcaps-case); }
  .go-link .ico { width: var(--ico-sm); height: var(--ico-sm); transition: transform var(--t-fast) ease; }
  @media (hover: hover) { .go-link:hover .ico { transform: translateX(var(--s-4)); } }
/* links at a block's foot, one under the other (8.6.0: Studio's « Tout voir, 70 posts », then « Voir le détail », ran
   into each other on a line): <div class="go-links"><button class="go-link">…</button><a class="go-link">…</a></div> */
  .go-links { display: flex; flex-direction: column; align-items: flex-start; margin-top: var(--s-6); }
/* The photo grid, taken from Selecta's galleries (ds.photogrid, src/photogrid.js): a wall of photos, any element holding
   an image a tile (a link that opens the viewer, a figure…). ds.photogrid lays it out in masonry, columns of even height
   where each photo keeps its shape; without it, or with masonry: false, even rows of tiles cut to the same height.
   --tile is a column's least width (the zoom's size), --photogrid-gap the room between photos (none in Selecta). */
  .photogrid { --tile: 190px; --photogrid-gap: var(--s-4); position: relative; display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(var(--tile), 100%), 1fr)); gap: var(--photogrid-gap); }
  .photogrid.is-flush { --photogrid-gap: 0px; }
  /* a tile: a faint ground while its photo loads; the tiles slide from their top left corner when the size changes */
  .photogrid > * { position: relative; display: block; min-width: 0; margin: 0; overflow: hidden; transform-origin: 0 0;
    background: color-mix(in srgb, var(--ink) 7%, transparent); color: inherit; }
  .photogrid > * img { display: block; width: 100%; height: var(--tile); object-fit: cover; transition: transform var(--cover-time) ease; }
  .photogrid.is-masonry { display: block; }
  .photogrid.is-masonry > * { position: absolute; }
  .photogrid.is-masonry > * img { height: 100%; }
  /* a photo one can open grows a little under the pointer, as a card's cover */
  @media (hover: hover) { .photogrid > a:hover img { transform: scale(var(--cover-zoom)); } }
  /* the keyboard's ring inside the tile, where the photos around do not cover it */
  .photogrid > :focus-visible { z-index: var(--z-raise); outline-offset: calc(-1 * var(--s-4)); }

/* The zoom: a slider between a small and a large magnifier, <label class="photogrid-zoom"> around
   <input type="range" class="zoom-slider">. Selecta's bar: a thin rail with round ends, a faint gold ground and a
   soft edge, under a gold thumb ringed with the page's colour. */
  .photogrid-zoom { display: inline-flex; align-items: center; gap: var(--s-8); color: var(--faint); cursor: pointer; }
  .photogrid-zoom .ico { width: var(--ico-m); height: var(--ico-m); }
  /* the rail's edge: Atelier's strong line; vitrine's strong line is the full gold, so it takes the soft one */
  /* written longer than the fields' rule of base.css, so that a range is never drawn as a field */
  input.zoom-slider[type=range]:not([type=checkbox]):not([type=radio]) { -webkit-appearance: none; appearance: none;
    box-sizing: border-box; width: 120px; height: 24px; margin: 0; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; cursor: pointer; }
  input.zoom-slider[type=range]:disabled { opacity: .5; cursor: default; }
  /* 6px high, its ends round whatever the theme's corners (half its height); the thumb (18px) is pulled up by half of
     what it has over the rail's 4px inside, 7px */
  .zoom-slider::-webkit-slider-runnable-track { box-sizing: border-box; height: 6px; background: var(--accent-soft); border: 1px solid var(--zoom-track); border-radius: calc(var(--s-6) / 2); }
  .zoom-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; box-sizing: border-box; width: 18px; height: 18px; margin-top: calc(-1 * var(--s-14) / 2);
    background: var(--accent); border: 2px solid var(--panel); border-radius: 50%; box-shadow: var(--btn-shadow); transition: transform var(--t-fast) ease; }
  .zoom-slider::-moz-range-track { box-sizing: border-box; height: 6px; background: var(--accent-soft); border: 1px solid var(--zoom-track); border-radius: calc(var(--s-6) / 2); }
  .zoom-slider::-moz-range-thumb { box-sizing: border-box; width: 18px; height: 18px; background: var(--accent); border: 2px solid var(--panel); border-radius: 50%; box-shadow: var(--btn-shadow); transition: transform var(--t-fast) ease; }
  @media (hover: hover) {
    .zoom-slider:not(:disabled):hover::-webkit-slider-thumb { transform: scale(1.15); }
    .zoom-slider:not(:disabled):hover::-moz-range-thumb { transform: scale(1.15); }
  }
@media (max-width: 480px) {
  /* on a phone the slider takes the room it has, for the thumb */
  .photogrid-zoom { flex: 1 1 auto; }
  input.zoom-slider[type=range]:not([type=checkbox]):not([type=radio]) { flex: 1 1 auto; width: auto; min-width: 0; height: var(--touch-target); }
}
@media (prefers-reduced-motion: reduce) {
  .photogrid > * img { transition: none; }
}
/* The photo kit, taken from Selecta's galleries (the audit of 23 November 2026): what an app that receives and shows
   photos draws around them.
   .dropzone: the dashed frame that takes files dropped on it or opens the choice (ds.dropzone), gold while files are
   dragged over it (.is-over), its button first and across on a phone; .is-compact for a small one beside a photo.
   The files being sent (ds.upload): .upload-total (the batch's bar and « 3 sur 12 ») and ul.rows.is-cards >
   li.upload-row (a file's name, its bar, what happened, « Réessayer »).
   On a tile of .photogrid: .tile-acts, its buttons on a dark veil under the pointer or the focus (a bar fading up from
   its foot on a touch screen); button.box.on-photo, a light box in its corner (shown under the pointer, the focus or
   once ticked); .is-pickable.is-picked, the gold ring of a chosen photo; .is-busy, the wheel in its middle (its .spinner) while
   the buttons and the box wait; .tile-caption, a line at its foot (a client's note).
   .thumb-x: the cross that takes a thumbnail away, in its corner as large as a finger on a phone and a touch screen, a
   small ring beside it on a computer. The viewer's bar with its tools: .viewer-bar.is-tools (the photo's name on the
   left, its action on the right, .viewer-hint the keys under them). */
  .dropzone { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: var(--space-md); padding: var(--space-lg) var(--space-md);
    text-align: center; background: var(--panel); border: 2px dashed var(--line); border-radius: var(--r-l); transition: border-color var(--t-mid) ease, background-color var(--t-mid) ease; }
  .dropzone > .btn, .dropzone > .dropzone-acts { order: -1; width: 100%; }
  .dropzone > .dropzone-acts > .btn { width: 100%; }
  .dropzone.is-over { border-color: var(--accent); background: var(--accent-soft); }
  .dropzone p { margin: 0; color: var(--faint); font-size: var(--type-text-size); font-family: var(--type-text-font); font-weight: var(--type-text-weight); letter-spacing: var(--type-text-ls); text-transform: var(--type-text-case); }
  .dropzone.is-compact { gap: var(--s-12); padding: var(--space-md); }
  .dropzone.is-compact p { font-size: inherit; }
@media (min-width: 769px) {
  .dropzone { align-items: center; padding: var(--space-xl); }
  .dropzone > .btn, .dropzone > .dropzone-acts, .dropzone > .dropzone-acts > .btn { order: 0; width: auto; }
  .dropzone.is-compact { min-height: var(--photo-frame-h); padding: var(--space-lg); }
}

  .upload-total { display: flex; flex-direction: column; gap: var(--s-6); margin-top: var(--space-md); }
  .upload-total .meter { flex: none; width: 100%; }
  .upload-list { margin: var(--space-md) 0 0; }
  .upload-list:empty { margin-top: 0; }
  ul.rows.is-cards > li.upload-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s-6) var(--s-12); }
  .upload-row-name { grid-column: 1 / -1; min-width: 0; overflow: hidden; font-size: var(--type-text-size); white-space: nowrap; text-overflow: ellipsis; font-family: var(--type-text-font); font-weight: var(--type-text-weight); letter-spacing: var(--type-text-ls); text-transform: var(--type-text-case); }
  .upload-row .meter { grid-column: 1; width: 100%; }
  .upload-row-status { grid-column: 2; min-width: var(--ico-l); color: var(--good); font-size: var(--type-small-size); text-align: right; font-family: var(--type-small-font); font-weight: var(--type-small-weight); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  /* the tick of a file sent is green; what a failure says, red */
  .upload-row-status.is-bad { color: var(--bad); }
  .upload-row .btn { grid-column: 1 / -1; width: 100%; }
@media (min-width: 769px) {
  ul.rows.is-cards > li.upload-row { display: flex; gap: var(--s-12); }
  .upload-row-name { flex: 1; }
  .upload-row .meter { flex: none; width: var(--upload-meter-w); }
  .upload-row .btn { width: auto; }
}

  /* a tile's own pieces, over its photo */
  .photogrid > .has-tools { background: var(--ink); }
  .tile-acts { position: absolute; inset: 0; z-index: var(--z-raise); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-8);
    padding: var(--s-12); background: var(--overlay-black-medium); opacity: 0; pointer-events: none; transition: opacity var(--t-mid) ease; }
  :hover > .tile-acts, :focus-within > .tile-acts { opacity: 1; pointer-events: auto; }
  .tile-acts .btn { width: 100%; max-width: var(--tile-act-w); }
  /* in Vitrine its white is whole: at 80% over the dark veil it turned grey, and « Supprimer » read 3.9:1 (8.7.2) */
  [data-theme="vitrine"] .tile-acts .btn { background: var(--panel); }
@media (hover: none) {
  .tile-acts { inset: auto 0 0 0; flex-direction: row; gap: var(--s-6); padding: var(--s-8); background: linear-gradient(to top, var(--overlay-black-strong), transparent); opacity: 1; pointer-events: auto; }
  .tile-acts .btn { flex: 1; min-width: 0; max-width: none; }
  /* the buttons' bar lies over the tile's foot: a caption goes just above it rather than under its buttons; the bar
     takes the strong veil, as dark as the foot of the caption above it, so that the two make one band and a red
     button reads on it whatever the photo (7.3.1) */
  .tile-acts ~ .tile-caption, .tile-caption:has(~ .tile-acts) { bottom: calc(var(--btn-h) + 2 * var(--s-8));
    background: linear-gradient(to top, var(--overlay-black-strong), var(--overlay-black-medium)); }
  .tile-caption ~ .tile-acts, .tile-acts:has(~ .tile-caption) { background: var(--overlay-black-strong); }
}
  button.box.on-photo { position: absolute; top: var(--s-8); left: var(--s-8); z-index: calc(var(--z-raise) + 1); background: var(--overlay-black-soft); border-color: var(--overlay-white-strong);
    color: transparent; opacity: 0; transition: opacity var(--t-mid) ease, background-color var(--t-mid) ease, border-color var(--t-mid) ease; }
  :hover > button.box.on-photo, :focus-within > button.box.on-photo, button.box.on-photo[aria-pressed="true"] { opacity: 1; }
  button.box.on-photo[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
/* a phone or a touch screen, which has no pointer to hover with: the box always shows, and a finger's room around it */
@media (max-width: 768px), (pointer: coarse) {
  button.box.on-photo { opacity: 1; }
  button.box.on-photo::after { content: ""; position: absolute; inset: calc((var(--ico-l) - var(--touch-target)) / 2); }
}
  /* the gold ring of a chosen photo, inside its edge */
  .photogrid > .is-pickable::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; box-shadow: inset 0 0 0 0 var(--accent); transition: box-shadow var(--t-mid) ease; }
  .photogrid > .is-pickable.is-picked::after { box-shadow: inset 0 0 0 var(--pick-ring) var(--accent); }
  /* the wheel in the middle of a photo at work; its buttons and its box wait */
  .photogrid > * > .spinner, .photo-frame > .spinner { position: absolute; inset: 0; z-index: calc(var(--z-raise) + 2); margin: auto; visibility: hidden; pointer-events: none; }
  .is-busy > .spinner { visibility: visible; }
  .is-busy > .tile-acts, .is-busy > button.box.on-photo { opacity: 0; pointer-events: none; }
  /* a photo framed alone (a cover), --photo-frame-h high, its ground while it has none (.photo-frame-empty), its wheel as a tile's */
  .photo-frame { position: relative; min-width: 0; }
  .photo-frame > img, .photo-frame > .photo-frame-empty { display: block; width: 100%; height: var(--photo-frame-h); object-fit: cover; border: 1px solid var(--line); border-radius: var(--r-l); }
  .photo-frame > .photo-frame-empty { background: var(--band); }

  .thumb-x { position: relative; display: grid; place-items: center; flex: none; width: var(--ico-l); height: var(--ico-l); padding: 0; color: var(--accent);
    background: none; border: 1px solid var(--accent-soft); border-radius: 50%; cursor: pointer; transition: background-color var(--t-mid) ease, border-color var(--t-mid) ease, color var(--t-mid) ease; }
  .thumb-x .ico { width: var(--ico-s); height: var(--ico-s); }
  .thumb-x:disabled { cursor: not-allowed; opacity: var(--o-muted); }
@media (hover: hover) {
  .thumb-x:not(:disabled):hover { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
}
/* a phone or a tablet: in the thumbnail's corner, as large as a finger, on a round of its theme (8.0.1): light in Vitrine,
   dark with the gold ring of the computer's cross in Atelier (--thumb-x-bg, --thumb-x-ring) */
@media (max-width: 1024px) {
  .thumb-x, .thumb-x:not(:disabled):hover { position: absolute; top: calc(-1 * var(--s-10)); right: calc(-1 * var(--s-10)); z-index: var(--z-raise); width: var(--touch-target); height: var(--touch-target);
    color: var(--accent); background: radial-gradient(circle at center, var(--thumb-x-bg) 0 calc(var(--thumb-x-r) - 1px), var(--thumb-x-ring) calc(var(--thumb-x-r) - 1px) var(--thumb-x-r), transparent var(--thumb-x-r));
    border: none; }
}

  .tile-caption { position: absolute; right: 0; bottom: 0; left: 0; margin: 0; padding: var(--s-6) var(--s-8); overflow: hidden; color: var(--white);
    background: linear-gradient(to top, var(--caption-veil), var(--overlay-black-medium)); font-size: var(--type-caption-size); line-height: var(--lh-ui);
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-family: var(--type-caption-font); font-weight: var(--type-caption-weight); letter-spacing: var(--type-caption-ls); text-transform: var(--type-caption-case); }

  /* the viewer's bar with its tools: the photo's name on the left, its action on the right, the keys under them */
  .viewer-bar.is-tools { z-index: 1; display: flex; flex-direction: column; gap: var(--s-4); padding: var(--space-md) calc(var(--space-md) + var(--safe-right)) calc(var(--space-md) + var(--safe-bottom)) calc(var(--space-md) + var(--safe-left));
    text-align: left; background: linear-gradient(to top, var(--overlay-black-medium), transparent); }
  .viewer-tools { display: flex; align-items: center; gap: var(--s-12); }
  .viewer-name { flex: 1; min-width: 0; overflow: hidden; color: var(--white); font-size: var(--type-caption-size); letter-spacing: var(--type-caption-ls); white-space: nowrap; text-overflow: ellipsis; text-shadow: var(--shadow-pop); font-family: var(--type-caption-font); font-weight: var(--type-caption-weight); text-transform: var(--type-caption-case); }
  .viewer-hint { margin: 0; color: var(--overlay-white-medium); font-size: var(--type-caption-size); letter-spacing: var(--type-caption-ls); text-shadow: var(--shadow-pop); pointer-events: none; font-family: var(--type-caption-font); font-weight: var(--type-caption-weight); text-transform: var(--type-caption-case); }
@media (min-width: 769px) {
  .viewer-bar.is-tools { padding-right: calc(var(--space-lg) + var(--safe-right)); padding-left: calc(var(--space-lg) + var(--safe-left)); }
  .viewer-tools { gap: var(--space-md); }
}
@media (max-width: 768px) {
  .viewer-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dropzone, .tile-acts, button.box.on-photo, .photogrid > .is-pickable::after, .thumb-x { transition: none; }
}
/* The gallery kit (4.26.0): what an app that shows a photographer's galleries to clients draws, taken from Selecta as it
   drew it, so that nothing moved on its pages. Its page (main.page: a <main> only, so that no other page's .page takes its width) and its sign-in page (.auth-page, .auth-form);
   the galleries waiting (.pending-gallery-*: the name over the whole card row, its clients that fold); a row's error
   (.row-error), an address's last part (.slug-value); a cover's buttons while it
   works (.cover-preview); a toolbar's quiet icon (.toolbar-icon); the client's tiles to choose from (.photo-select-*)
   and their heart (.like-btn, .liked, .lightbox-like, its beat); the photos chosen (.selection-panel-*); the export of a
   selection (.export-*); a tile with a note (.has-comment), the client's note (.client-note-body) and the notes on
   photos (.photo-note-*, .notes-none, .notes-count); the bell's notices (.bell-*); a slider between two icons
   (.settings-zoom), a filter of notices (.notification-filter); a
   gallery's cover with no photo yet (.gallery-cover). */
main.page { max-width: var(--page-max); margin: 0 auto; padding-top: var(--space-lg); padding-right: calc(var(--space-md) + var(--safe-right)); padding-bottom: var(--space-lg); padding-left: calc(var(--space-md) + var(--safe-left)); }
@media (min-width: 769px) {
  main.page { padding-top: var(--space-xl); padding-right: calc(var(--space-lg) + var(--safe-right)); padding-bottom: var(--space-xl); padding-left: calc(var(--space-lg) + var(--safe-left)); }
}
@media (hover: hover) {
  .panel-head:hover h2 { color: var(--accent); }
}
.pending-gallery-name { grid-column: 1; min-width: 0; overflow-wrap: anywhere; font-weight: var(--type-strong-weight); text-decoration: none; color: var(--ink); }
.pending-gallery-name::after { content: ""; position: absolute; inset: 0; }
.pending-gallery-name:hover { color: var(--accent); }
.pending-gallery-clients { grid-column: 1 / -1; min-width: 0; font-size: var(--type-small-size); color: var(--faint); text-align: left; font-family: var(--type-small-font); font-weight: var(--type-small-weight); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
.pending-gallery-clients > details > summary:hover { color: var(--accent); }
.pending-gallery-client-list { margin: var(--s-4) 0; padding: 0; list-style: none; overflow-wrap: break-word; }
.row-error { font-size: var(--type-small-size); color: var(--bad); font-family: var(--type-small-font); font-weight: var(--type-small-weight); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
.slug-value { overflow-wrap: anywhere; font-family: var(--mono); font-size: var(--type-small-size); color: var(--faint); font-weight: var(--type-small-weight); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
.cover-preview.is-busy .cover-preview-actions { opacity: 0; pointer-events: none; }
.toolbar-icon { display: flex; align-items: center; color: var(--faint); cursor: pointer; }
.toolbar-icon svg { display: block; width: var(--ico-m); height: var(--ico-m); }
.photo-select-tile { position: relative; overflow: hidden; background: var(--ink); cursor: zoom-in; transform-origin: top left; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.photo-select-tile:focus-visible { outline: var(--focus); outline-offset: calc(-1 * var(--focus-offset)); }
.photo-select-name { position: absolute; right: 0; bottom: 0; left: 0; z-index: 1; padding: var(--s-20) var(--s-10) calc(var(--s-14) / 2); overflow: hidden; font-size: var(--type-caption-size); font-weight: var(--type-caption-weight); text-overflow: ellipsis; white-space: nowrap; color: var(--white); text-shadow: var(--shadow-pop); background: linear-gradient(to top, var(--overlay-black-medium), transparent); pointer-events: none; letter-spacing: var(--type-caption-ls); font-family: var(--type-caption-font); text-transform: var(--type-caption-case); }
@media (hover: hover) {
  .photo-select-tile:hover img { transform: scale(1.04); }
}
.like-btn { position: absolute; top: var(--s-12); right: var(--s-12); z-index: 1; width: 36px; height: 36px; padding: 0; background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; filter: drop-shadow(var(--shadow-pop)); }
/* the heart of the sprite, white over the photo, filled red once chosen */
.like-btn .ico { width: var(--picto-s); height: var(--picto-s); color: var(--white); transition: transform var(--t-fast) ease; }
.like-btn.liked .ico { color: var(--bad); fill: currentColor; }
@media (hover: hover) {
  .like-btn:hover .ico { transform: scale(1.1); }
}
.like-btn:active .ico { transform: scale(0.95); }
.like-btn.lightbox-like .ico { width: var(--picto-m); height: var(--picto-m); }
.like-btn.liked { animation: heartBeat calc(var(--t-mid) * 2) ease; }
.like-btn:disabled { cursor: not-allowed; opacity: 0.6; }
/* the photos chosen: a column of small photos with their names on a computer, a row of larger ones that scrolls sideways
   on a phone and a tablet */
.selection-panel-list { display: flex; flex-direction: column; gap: var(--s-6); margin: 0; padding: 0 var(--s-12) 0 0; overflow-x: hidden; overflow-y: auto; scroll-snap-type: none; scrollbar-gutter: stable; list-style: none; }
.selection-panel-thumb { flex: 0 0 auto; width: 48px; height: 48px; object-fit: cover; }
.selection-panel-name { display: none; flex: 1; min-width: 0; overflow: hidden; font-size: var(--type-caption-size); text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-family: var(--type-caption-font); font-weight: var(--type-caption-weight); letter-spacing: var(--type-caption-ls); text-transform: var(--type-caption-case); }
@media (max-width: 1024px) {
  .selection-panel-list { flex-direction: row; gap: var(--s-12); padding: var(--s-10) var(--s-10) var(--s-4) 0; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-gutter: auto; }
  .selection-panel-thumb { width: 84px; height: 84px; }
}
.like-btn.lightbox-like { position: static; width: 44px; height: 44px; }
@keyframes heartBeat {
    0% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(1.1);
    }
    75% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}
.export-count { margin: 0; font-size: var(--type-small-size); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); color: var(--faint); font-family: var(--type-small-font); font-weight: var(--type-small-weight); }
.export-option { display: flex; align-items: center; gap: var(--s-8); font-size: var(--type-text-size); cursor: pointer; font-family: var(--type-text-font); font-weight: var(--type-text-weight); letter-spacing: var(--type-text-ls); text-transform: var(--type-text-case); }
/* A short field beside a label: 8px inside, for an extension to fit in its 90px. */
.export-raw-extension { --field-py: var(--s-8); --field-px: var(--s-10); width: 90px; letter-spacing: var(--type-smallcaps-ls); text-transform: var(--type-smallcaps-case); font-family: var(--type-smallcaps-font); font-size: var(--type-smallcaps-size); font-weight: var(--type-smallcaps-weight); }
.export-text { flex: 1; width: 100%; min-height: 96px; padding: var(--s-12) var(--s-14); font-family: var(--mono); line-height: var(--lh-text); resize: vertical; font-size: var(--type-small-size); font-weight: var(--type-small-weight); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
/* --- Touch targets: 44px floor on coarse pointers. */
@media (max-width: 768px), (pointer: coarse) {
  .pending-gallery-name { display: flex; align-items: center; min-height: var(--touch-target); }
  .pending-gallery-clients > details > summary { min-height: var(--touch-target); }
  .toolbar-icon { justify-content: center; min-width: var(--touch-target); min-height: var(--touch-target); }
  .like-btn { top: var(--s-8); right: var(--s-8); width: var(--touch-target); height: var(--touch-target); }
  .export-option { min-height: var(--touch-target); }
  .export-option input[type='checkbox'] { width: 20px; height: 20px; }
  .export-raw-extension { min-height: var(--touch-target); }
}
.photo-tile.has-comment { box-shadow: inset 0 0 0 1px var(--accent-strong); }
.client-note-body { flex: 1; margin: 0; padding: var(--space-md); font-size: var(--type-text-size); line-height: var(--lh-text); color: var(--ink); white-space: pre-wrap; background: var(--panel); border-left: 2px solid var(--accent-strong); border-radius: 0 var(--r-m) var(--r-m) 0; font-family: var(--type-text-font); font-weight: var(--type-text-weight); letter-spacing: var(--type-text-ls); text-transform: var(--type-text-case); }
.photo-note-thumb { flex: 0 0 auto; width: 72px; height: 72px; object-fit: cover; background: var(--ink); }
.photo-note-name { margin: 0 0 var(--s-4); font-family: var(--type-caption-font); font-size: var(--type-caption-size); color: var(--accent-strong); overflow-wrap: anywhere; font-weight: var(--type-caption-weight); letter-spacing: var(--type-caption-ls); text-transform: var(--type-caption-case); }
.photo-note-text { margin: 0; font-size: var(--type-text-size); line-height: var(--lh-text); color: var(--ink); white-space: pre-wrap; font-family: var(--type-text-font); font-weight: var(--type-text-weight); letter-spacing: var(--type-text-ls); text-transform: var(--type-text-case); }
.notes-none { color: var(--faint); }
.notes-count { color: var(--ink); }
/* --- Bell, notifications page, settings screen. The bell is the design system's panel under a button of the top bar
   (.pop, .pop-panel, .pop-head, .pop-foot, its figure .pop-count), which also makes its list take the room left and
   scroll with its fade (8.7.1); Selecta draws only its lines. */
.bell-list .bell-item-body { display: flex; flex: 1; flex-direction: column; gap: var(--s-2); min-width: 0; padding: var(--s-12) var(--space-md); font-size: var(--type-text-size); line-height: var(--lh-text); letter-spacing: var(--type-text-ls); text-transform: var(--type-text-case); text-align: left; color: inherit; text-decoration: none; font-family: var(--type-text-font); font-weight: var(--type-text-weight); }
/* a line that opens its gallery is not underlined: its title turns gold under the mouse, as a row of a list does */
@media (hover: hover) { a.bell-item-body:hover .bell-item-title { color: var(--accent-text); } }
/* its lines laid out wherever the list stands, under a bar or not (8.7.2: only under .topbar-nav, a line elsewhere was a
   link run on one line); « Marquer comme lue », its gold dot alone, without the browser's grey box (a ds button) */
.bell-list .bell-item-read { flex: none; width: var(--touch-target); height: var(--touch-target); margin: 0; padding: 0; background: none; border: 0; border-radius: 0; cursor: pointer; }
.bell-list { margin: 0; padding: 0; list-style: none; }
.bell-item { position: relative; display: flex; align-items: flex-start; border-bottom: 1px solid var(--line); }
.bell-item.is-unread { background: var(--accent-soft); }
.bell-item-title { overflow-wrap: anywhere; color: var(--ink); }
.bell-item.is-unread .bell-item-title { font-weight: var(--type-strong-weight); }
.bell-item-detail, .bell-item-time { font-size: var(--type-small-size); color: var(--faint); font-family: var(--type-small-font); font-weight: var(--type-small-weight); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
.bell-item-read::before { content: ''; display: block; width: 8px; height: 8px; margin: auto; background: var(--accent); border-radius: 50%; }
@media (hover: hover) {
  .bell-item-read:hover::before { background: transparent; box-shadow: inset 0 0 0 1px var(--accent); }
}
.bell-empty { padding: var(--space-lg) var(--space-md); font-size: var(--type-small-size); text-align: center; color: var(--faint); font-family: var(--type-small-font); font-weight: var(--type-small-weight); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
/* a footer's contact link, its icon then its words, as tall as a finger */
.site-footer .footer-link { display: inline-flex; align-items: center; min-height: var(--touch-target); }
.footer-link .ico { flex: none; width: var(--ico-m); height: var(--ico-m); margin-right: var(--s-8); }
.settings-zoom { display: flex; align-items: center; gap: var(--s-8); width: 100%; min-height: 30px; color: var(--faint); }
.settings-zoom-icon { flex: none; width: var(--ico-m); height: var(--ico-m); }
.notification-filter { font-size: var(--type-smallcaps-size); letter-spacing: var(--type-smallcaps-ls); text-transform: var(--type-smallcaps-case); text-decoration: none; color: var(--accent-strong); font-family: var(--type-smallcaps-font); font-weight: var(--type-smallcaps-weight); }
/* On a computer, Selecta's tables sit in a card of their own (the design system's .tbl-wrap.is-card: a white panel, its
   column titles on the beige band, a row lit in beige under the pointer), every column after the first centred. */
/* Selecta's gallery cover: the design system's short hero (.hero.is-short.is-bottom) at Selecta's heights, room and
   title size, its date in the hero's own small capitals; without a photo, a beige light. */
.hero.gallery-cover { --hero-h: 220px; --hero-pad: var(--space-md); --hero-pad-end: var(--space-md); --hero-side: 0px; --hero-in-max: var(--page-max); --hero-in-pad: 0 var(--space-md); --hero-veil: linear-gradient(to top, var(--overlay-black-medium), transparent 60%); background: var(--band); }
/* its words start where the page's column does (main.page: --page-max, the same room on each side), so its title has
   the column's width before it wraps */
.hero.gallery-cover .hero-in { margin-inline: auto; }
@media (min-width: 769px) {
  .hero.gallery-cover { --hero-in-pad: 0 var(--space-lg); }
}
.gallery-cover--placeholder { background: linear-gradient(135deg, var(--band), var(--accent-soft)); }
/* the sign-in page */
.auth-page { width: 100%; max-width: calc(420px + 2 * var(--space-md)); margin: auto; padding-top: calc(var(--space-md) + var(--safe-top)); padding-right: calc(var(--space-md) + var(--safe-right)); padding-bottom: var(--space-md); padding-left: calc(var(--space-md) + var(--safe-left)); }
/* The design system's lasting message, centred in the form. */
.auth-form .msg { margin: 0; justify-content: center; text-align: center; line-height: var(--lh-ui); }
/* a gallery's cover on a computer: taller, more room, a larger title */
@media (min-width: 769px) {
  .hero.gallery-cover { --hero-h: 320px; --hero-pad: var(--space-lg); --hero-pad-end: var(--space-lg); }
}
/* The small pages of an app (privacy, terms, signed out): the app's name above a title, one column of text. */
  body.doc { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font: var(--type-text-weight) var(--type-text-size)/var(--text-lh) var(--type-text-font); -webkit-font-smoothing: antialiased; letter-spacing: var(--type-text-ls); text-transform: var(--type-text-case); }
  body.doc main { max-width: calc(var(--read-l) + 2 * var(--s-16)); margin: 0 auto; padding: var(--s-48) var(--s-16); }
  body.doc .eyebrow { margin: 0 0 var(--s-6); font: var(--type-smallcaps-weight) var(--type-smallcaps-size)/var(--lh-tight) var(--type-smallcaps-font); letter-spacing: var(--type-smallcaps-ls); text-transform: var(--type-smallcaps-case); color: var(--accent-text); }
  body.doc h1 { margin: 0 0 var(--s-10); font: var(--type-title-1-weight) var(--type-title-1-size)/var(--title-lh) var(--type-title-1-font); letter-spacing: var(--type-title-1-ls); text-transform: var(--type-title-1-case); }
  body.doc main p { margin: 0 0 var(--s-16); color: var(--dim); }
  body.doc main p a { color: var(--accent-text); }
/* A longer text (terms, a release to sign): its headings, its lists, its bold words; it prints without its colours. */
  body.doc main h2 { margin: var(--s-32) 0 var(--s-12); padding-bottom: var(--s-6); border-bottom: 1px solid var(--doc-rule); color: var(--ink);
    font: var(--type-title-2-weight) var(--type-title-2-size)/var(--head-lh) var(--type-title-2-font); break-after: avoid; letter-spacing: var(--type-title-2-ls); text-transform: var(--type-title-2-case); }
  body.doc main h3 { margin: var(--s-20) 0 var(--s-8); color: var(--ink); font: var(--type-strong-weight) var(--type-strong-size)/var(--head-lh) var(--type-strong-font); break-after: avoid; letter-spacing: var(--type-strong-ls); text-transform: var(--type-strong-case); }
  body.doc main :is(ul, ol) { margin: 0 0 var(--s-16); padding-left: var(--s-20); color: var(--dim); }
  body.doc main li { margin-bottom: var(--s-6); }
  body.doc main strong { font-weight: var(--type-strong-weight); color: var(--ink); }
  @media print {
    body.doc { background: none; }
    body.doc main { max-width: none; padding: 0; }
    /* on paper every word is in full black and a little bolder than on a screen, so that a page to sign reads well */
    body.doc, body.doc main :is(h1, h2, h3, p, li, strong, a, .eyebrow) { color: var(--black); }
  }
/* A legal page of a site (<body class="doc is-legal">, the site's terms and model releases): its head in the middle, a
   word to keep in mind (.doc-notice), the two parties' block to sign by hand (.doc-sign), its foot. Its links are in gold
   without a line, and on paper it keeps room above and below each page. */
  body.doc .doc-head { margin-bottom: var(--s-40); text-align: center; }
  body.doc .doc-sub { margin: var(--s-4) 0 0; color: var(--faint); }
  body.doc .doc-section { margin-bottom: var(--s-32); }
  body.doc.is-legal main p a { text-decoration: none; }
  body.doc .doc-notice { margin: var(--s-20) 0; padding: var(--s-12) var(--s-16); font-size: var(--type-small-size); color: var(--dim); background: var(--accent-soft);
    border-left: 3px solid var(--accent); font-family: var(--type-small-font); font-weight: var(--type-small-weight); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  /* the two parties side by side, each with a line to sign and its fields to fill in by hand */
  body.doc .doc-sign { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-40); margin-top: var(--s-48); break-inside: avoid; }
  body.doc .doc-sign-party { padding-top: var(--s-16); border-top: 1px solid var(--ink); }
  body.doc .doc-sign-label { margin: 0 0 var(--s-4); font-size: var(--type-small-size); color: var(--faint); font-family: var(--type-small-font); font-weight: var(--type-small-weight); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  body.doc .doc-sign-line { height: var(--s-40); margin-bottom: var(--s-8); border-bottom: 1px solid var(--faint); }
  body.doc .doc-sign-field { display: flex; align-items: baseline; gap: var(--s-6); margin: 0 0 var(--s-4); font-size: var(--type-small-size); color: var(--dim); font-family: var(--type-small-font); font-weight: var(--type-small-weight); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  body.doc .doc-sign-field-line { flex: 1; border-bottom: 1px solid var(--faint); }
  body.doc .doc-foot { margin-top: var(--s-48); padding-top: var(--s-20); text-align: center; border-top: 1px solid var(--line); }
  body.doc .doc-foot p { margin: 0 0 var(--s-4); font-size: var(--type-small-size); color: var(--faint); font-family: var(--type-small-font); font-weight: var(--type-small-weight); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  /* on a phone, a legal page's paragraphs, lists and notice are justified, no word cut, like the site's running text
     (5.18.0); a page of text is in ds.css, so the phone is the apps' one, upright */
  @media (max-width: 768px) {
    body.doc .doc-section :is(p, li, .doc-notice) { text-align: justify; text-align-last: left; hyphens: manual; }
  }
  body.doc.is-legal { page: legal; }
  @page legal { margin-top: 20mm; margin-bottom: 20mm; }
  @media print {
    body.doc .doc-notice { background: none; }
    body.doc :is(.doc-sub, .doc-notice, .doc-sign-label, .doc-sign-field, .doc-foot p) { color: var(--black); }
  }
/* The settings page, shared by the apps: everything on it lives under .settings (the page's body; the showcase puts
   its syncs in a box of that class), with no added weight (:where), so that a page can still change one of its rules. */
  body:where(.settings) { -webkit-font-smoothing: antialiased; background: var(--bg); color: var(--ink); font-family: var(--type-text-font); font-size: var(--type-text-size); font-weight: var(--type-text-weight); line-height: var(--text-lh); margin: 0; letter-spacing: var(--type-text-ls); text-transform: var(--type-text-case); }
  :where(.settings) .wrap { display: grid; gap: var(--s-14); margin: 0 auto; max-width: var(--page-max); padding-block: var(--s-24) var(--s-60); padding-left: max(var(--s-16), var(--safe-left)); padding-right: max(var(--s-16), var(--safe-right)); }
  :where(.settings) a { color: inherit; }
  :where(.settings) a:focus-visible, :where(.settings) button:focus-visible, :where(.settings) input:focus-visible { border-radius: var(--r-s); outline-offset: var(--focus-offset); outline: var(--focus); }
  :where(.settings) header { align-items: flex-end; border-bottom: 1px solid var(--line-2); display: flex; gap: var(--s-12); justify-content: space-between; padding-bottom: var(--s-14); }
  :where(.settings) .eyebrow { color: var(--accent-text); font: var(--type-smallcaps-weight) var(--type-smallcaps-size)/var(--lh-tight) var(--type-smallcaps-font); letter-spacing: var(--type-smallcaps-ls); margin: 0 0 var(--s-6); text-transform: var(--type-smallcaps-case); }
  :where(.settings) h1 { font: var(--type-title-1-weight) var(--type-title-1-size)/var(--title-lh) var(--type-title-1-font); letter-spacing: var(--type-title-1-ls); text-transform: var(--type-title-1-case); margin: 0; }
  :where(.settings) .hacts { align-items: center; display: flex; gap: var(--s-8); }
  :where(.settings) .outrow { align-items: center; display: flex; flex-wrap: wrap; gap: var(--s-10) var(--s-16); justify-content: space-between; }
  :where(.settings) .outrow .lede { margin: 0; }
  /* the button that ends a row (« Se déconnecter », in red, last on the page) keeps to the right when the row wraps on a
     phone (Studio and Bank wrote it by hand) */
  :where(.settings) .outrow > .btn:last-child { margin-left: auto; }
  :where(.settings) .job, :where(.settings) section.card { scroll-margin-top: 14px; }
  :where(.settings) .jump { display: none; gap: var(--s-6); overflow-x: auto; scrollbar-width: none; }
  :where(.settings) .jump::-webkit-scrollbar { display: none; }
  :where(.settings) .card { background: var(--card-bg); border-radius: var(--r-l); border: 1px solid var(--card-line); box-shadow: var(--card-shadow); min-width: 0; padding: var(--card-pad); }
  :where(.settings) .ct { color: var(--faint); font: var(--type-smallcaps-weight) var(--type-smallcaps-size)/var(--lh-tight) var(--type-smallcaps-font); letter-spacing: var(--type-smallcaps-ls); margin: 0 0 var(--s-4); text-transform: var(--type-smallcaps-case); }
  :where(.settings) .lede { color: var(--dim); font-size: var(--type-text-size); margin: 0 0 var(--s-14); max-width: 70ch; font-family: var(--type-text-font); font-weight: var(--type-text-weight); letter-spacing: var(--type-text-ls); text-transform: var(--type-text-case); }
  :where(.settings) .job { --row-py: var(--s-12); display: grid; gap: var(--s-6) var(--s-14); grid-template-columns: minmax(0, 1fr); }
  :where(.settings) .job:first-of-type { border-top: none; padding-top: var(--s-4); }
  :where(.settings) .job .name { align-items: center; display: flex; font: var(--type-title-3-weight) var(--type-title-3-size)/var(--head-lh) var(--type-title-3-font); gap: var(--s-8); letter-spacing: var(--type-title-3-ls); text-transform: var(--type-title-3-case); }
  /* a sync's dot (a job's, a connection's): grey, is-good, is-bad, or is-running while it runs */
  :where(.settings) .sync-dot { background: var(--faint); border-radius: 50%; flex: none; height: 8px; width: 8px; }
  :where(.settings) .sync-dot.is-good { background: var(--good); }
  :where(.settings) .sync-dot.is-bad { background: var(--bad); }
  :where(.settings) .sync-dot.is-running { animation: pulse 1.2s ease-in-out infinite; background: var(--accent); }
  :where(.settings) .job .when { color: var(--dim); font-size: var(--type-small-size); font-family: var(--type-small-font); font-weight: var(--type-small-weight); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  :where(.settings) .job .job-sum { color: var(--faint); font-size: var(--type-small-size); font-family: var(--type-small-font); font-weight: var(--type-small-weight); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  :where(.settings) .job .job-sum.is-bad { color: var(--bad); }
  /* the lines of what a job does (7.9.0, Studio's Patreon: its posts, its members, its revenue, its posts' figures): its
     dot, its name and rhythm, then when it ran and runs next, in red when it failed; its own switch at its head, by its
     name (8.0.0; at its end until 8.0.1), the line greyed while it is off */
  :where(.settings) .job-parts { display: grid; gap: var(--s-6); list-style: none; margin: var(--s-2) 0 0; padding: 0; }
  :where(.settings) .job-parts li { align-items: baseline; display: grid; gap: var(--s-4) var(--s-10); grid-template-columns: auto minmax(0, 20em) minmax(0, 1fr); }
  :where(.settings) .job-parts li:has(> label.switch) { grid-template-columns: auto auto minmax(0, 20em) minmax(0, 1fr); }
  :where(.settings) .job-parts .sync-dot { align-self: center; height: 6px; width: 6px; }
  :where(.settings) .job-parts li > label.switch { align-self: center; }
  :where(.settings) .job-parts li.is-off :is(.job-part-name, .job-part-every, .job-part-when) { color: var(--faint); }
  :where(.settings) .job-part-name { color: var(--ink); font-family: var(--type-small-font); font-size: var(--type-small-size); font-weight: var(--type-strong-weight); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  :where(.settings) .job-part-every { color: var(--dim); font-weight: var(--type-small-weight); }
  :where(.settings) .job-part-when { color: var(--dim); font-family: var(--type-small-font); font-size: var(--type-small-size); font-weight: var(--type-small-weight); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  :where(.settings) .job-parts li.is-bad .job-part-when { color: var(--bad); }
  :where(.settings) .job .acts { align-items: center; display: flex; flex-wrap: wrap; gap: var(--s-8) var(--s-10); margin-top: var(--s-2); }
  :where(.settings) .job .acts .btns { display: flex; gap: var(--s-8); margin-left: auto; }
  :where(.settings) label.switch { align-items: center; color: var(--dim); cursor: pointer; display: inline-flex; font-size: var(--type-text-size); gap: var(--s-8); user-select: none; white-space: nowrap; font-family: var(--type-text-font); font-weight: var(--type-text-weight); letter-spacing: var(--type-text-ls); text-transform: var(--type-text-case); }
  :where(.settings) label.switch input { -webkit-appearance: none; appearance: none; background: var(--switch-off); border-radius: var(--r-m); cursor: pointer; flex: none; height: 20px; margin: 0; position: relative; transition: background var(--t-fast); width: 34px; }
  :where(.settings) label.switch input::after { background: var(--switch-knob); border-radius: var(--switch-knob-r); content: ""; height: 14px; left: 3px; position: absolute; top: 3px; transition: left var(--t-fast); width: 14px; }
  :where(.settings) label.switch input:checked { background: var(--switch-on); }
  :where(.settings) label.switch input:checked::after { left: 17px; }
  :where(.settings) .group { margin-top: var(--s-16); }
  :where(.settings) .group:first-of-type { margin-top: var(--s-4); }
  :where(.settings) .group h3 { color: var(--accent-text); font: var(--type-title-3-weight) var(--type-title-3-size)/var(--title-lh) var(--type-title-3-font); letter-spacing: var(--type-title-3-ls); margin: 0 0 var(--s-6); text-transform: var(--type-title-3-case); }
  :where(.settings) .field { align-items: center; display: grid; gap: var(--s-4) var(--s-14); grid-template-columns: minmax(0, 1fr) auto; }
  :where(.settings) .field .lab { font-size: var(--type-text-size); font-family: var(--type-text-font); font-weight: var(--type-text-weight); letter-spacing: var(--type-text-ls); text-transform: var(--type-text-case); }
  :where(.settings) .field .help { color: var(--faint); font-size: var(--type-caption-size); grid-column: 1; font-family: var(--type-caption-font); font-weight: var(--type-caption-weight); letter-spacing: var(--type-caption-ls); text-transform: var(--type-caption-case); }
  :where(.settings) .field .inp { align-items: center; display: flex; gap: var(--s-8); grid-column: 2; grid-row: 1 / span 2; }
  :where(.settings) .field input:where(:not([type=range], [type=checkbox], [type=radio])) { background: var(--panel-2); border-radius: var(--r-m); border: 1px solid var(--line-2); color: var(--ink); font: var(--type-strong-weight) var(--type-strong-size)/var(--lh-tight) var(--mono); padding: var(--s-8) var(--s-10); text-align: right; width: 84px; letter-spacing: var(--type-strong-ls); text-transform: var(--type-strong-case); }
  /* a figure's box keeps a small room on its sides in every theme (8.6.0: Vitrine's field room cut « 1000 » to « 100 ») */
  :where(.settings) .field .inp > input[type=number] { padding-inline: var(--s-10); }
  :where(.settings) .field input.is-changed { border-color: var(--accent); }
  :where(.settings) .field input[aria-invalid="true"] { background: var(--bad-soft); border-color: var(--bad); }
  /* a figure without a unit keeps the unit's room, so that every box of a list stands in one column (7.7.3: Studio's
     « Vérifications ratées » stood further right than the boxes above it) */
  :where(.settings) .field .inp:has(> input[type=number]):not(:has(> .unit))::after { content: ""; flex: none; width: 5.6em; font-size: var(--type-caption-size); }
  /* a unit takes the room it needs (8.5.1): a short one's at least, a long one (« vérifications ratées d'affilée », « min
     sans rien faire ») on one line on a computer and on two at most on a phone; at 5.6em, it took three */
  :where(.settings) .field .unit { color: var(--faint); font: var(--type-caption-weight) var(--type-caption-size)/var(--lh-tight) var(--type-caption-font); max-width: 14em; min-width: 5.6em; letter-spacing: var(--type-caption-ls); text-transform: var(--type-caption-case); text-wrap: balance; }
  /* the fields of a group share their columns (8.5.1): the label, the box, the unit. A long unit widens the unit's column
     for the whole group, so that its boxes still stand in one column and its short units after them, side by side */
  :where(.settings) .group:has(> .field) { column-gap: var(--s-8); display: grid; grid-template-columns: minmax(0, 1fr) auto auto; }
  :where(.settings) .group:has(> .field) > :not(.field) { grid-column: 1 / -1; }
  :where(.settings) .group > .field { column-gap: inherit; grid-column: 1 / -1; grid-template-columns: subgrid; }
  :where(.settings) .group > .field > .inp { column-gap: inherit; display: grid; grid-column: 2 / -1; grid-template-columns: subgrid; }
  :where(.settings) .group > .field > .inp > input[type=number] { margin-left: var(--s-6); }
  /* the line under a field (« Par défaut 3 vérifications ratées d'affilée, entre 1 et 12 vérifications ratées
     d'affilée. ») starts a line of its own when it does not hold after the help, and wraps when it does not hold on one
     (8.5.1: it never wrapped, and ran past its card on a phone) */
  :where(.settings) .field .def { display: inline-block; text-wrap: pretty; }
  /* A setting written by the server (8.6.0: Selecta's pages, which have no script) is the same row as ds.fields': a
     .field in a .group, its label (label.lab), its help and its « Par défaut … » (.help, .def), its control (.inp). A
     figure is written as ds.fields writes it, <input type="number"> and its .unit after it. A text (an address), a
     choice (a select) or a slider takes a column of 18em at the end of the row, its right edge with the units'; on a
     phone, it goes under its label, across the row, its help under it, as a long text (a textarea) always does. A
     refusal goes under the help (.field-note.is-bad: the box in red). docs/composants.md writes them. */
  :where(.settings) .field:has(> .inp > :is(input:not([type=number]), select)) { column-gap: var(--s-14); grid-template-columns: minmax(0, 1fr) minmax(0, 18em); }
  :where(.settings) .field:has(> .inp > :is(input:not([type=number]), select)) > .inp { display: flex; grid-column: 2; }
  :where(.settings) .field .inp > :is(input:not([type=number]), select) { flex: 1 1 auto; font: var(--type-text-weight) var(--type-text-size)/var(--lh-tight) var(--type-text-font); letter-spacing: var(--type-text-ls); text-align: left; text-transform: var(--type-text-case); width: 100%; }
  /* a long text (a textarea: a welcome word) under its label, across the row, its help under it, at any width */
  :where(.settings) .field:has(> .inp > textarea) { grid-template-columns: minmax(0, 1fr); }
  :where(.settings) .field:has(> .inp > textarea) > .inp { display: flex; grid-column: 1; grid-row: 2; }
  :where(.settings) .field .inp > textarea { flex: 1 1 auto; width: 100%; }
  :where(.settings) .field > .field-note { grid-column: 1; margin: 0; }
  :where(.settings) .bar { align-items: center; background: var(--panel); border-radius: 0 0 var(--r-l) var(--r-l); border-top: 1px solid var(--line); bottom: 0; display: flex; gap: var(--s-12); justify-content: flex-end; margin: var(--s-16) calc(-1 * var(--s-16)) calc(-1 * var(--s-16)); padding: var(--s-12) var(--s-16); position: sticky; }
  /* the bar's message is a line of text, not the lasting message's box: empty, it shows nothing; filled, the bar keeps its height */
  :where(.settings) .bar .msg { display: block; margin: 0 auto 0 0; padding: 0; background: none; border: 0; border-radius: 0; color: var(--dim); font-size: var(--type-small-size); line-height: var(--lh-ui); font-family: var(--type-small-font); font-weight: var(--type-small-weight); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  :where(.settings) .bar .msg.is-bad { color: var(--bad); }
  :where(.settings) .bar .msg.is-good { color: var(--good); }
  :where(.settings) .conn { --row-py: var(--s-10); align-items: center; display: grid; gap: var(--s-2) var(--s-14); grid-template-columns: minmax(0, 1fr) auto; }
  :where(.settings) .conn:first-of-type { border-top: none; padding-top: var(--s-4); }
  :where(.settings) .conn .name { align-items: center; display: flex; font-weight: var(--type-strong-weight); gap: var(--s-8); font-family: var(--type-strong-font); font-size: var(--type-strong-size); letter-spacing: var(--type-strong-ls); text-transform: var(--type-strong-case); }
  :where(.settings) .conn .det { color: var(--dim); font-size: var(--type-small-size); grid-column: 1; overflow-wrap: anywhere; font-family: var(--type-small-font); font-weight: var(--type-small-weight); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  /* what failed, in red, as a job's summary */
  :where(.settings) .conn .det.is-bad { color: var(--bad); }
  :where(.settings) .conn a { color: var(--accent-text); font: var(--type-strong-weight) var(--type-strong-size)/var(--lh-tight) var(--type-strong-font); grid-column: 2; grid-row: 1 / span 2; text-decoration: none; white-space: nowrap; letter-spacing: var(--type-strong-ls); text-transform: var(--type-strong-case); }
  :where(.settings) .conn a:hover { text-decoration: underline; }
  /* a connection's actions (8.5.0): a button that runs here (« Réessayer », « Demander le code »), or several side by side */
  :where(.settings) .conn > :is(.btn, .conn-acts) { grid-column: 2; grid-row: 1 / span 2; }
  :where(.settings) .conn-acts { align-items: center; display: flex; flex-wrap: wrap; gap: var(--s-6) var(--s-14); justify-content: flex-end; }
  /* the notifications' list (8.5.0, ds.notifications): the phone first (a connection's row), then a line per kind of
     notification, its switch before its name and its level in a word (a tag: urgent in red, normal in gold, discret in
     grey), a number under it at need (a threshold, a delay); then the last ones sent, and the test. Across its card's
     whole width, as every settings card (8.6.0: it stood at reading width, beside full cards). With a column of switches
     per way (.is-cols: « Téléphone », « Mail »), the switches at the start of the row, before the kind's name, their
     columns' names above them (8.6.0: at the end of a wide row, they were far from the name they set) */
  :where(.settings) .notify { --notify-col: 6em; }
  :where(.settings) .notify > .conn:first-child { padding-top: var(--s-4); }
  :where(.settings) .notify-head { align-items: end; border-top: 1px solid var(--line); display: grid; gap: var(--s-10); grid-template-columns: minmax(0, 1fr); padding-top: var(--s-14); }
  :where(.settings) .notify.is-cols .notify-head { grid-template-columns: repeat(var(--notify-cols, 2), var(--notify-col)) minmax(0, 1fr); row-gap: var(--s-6); }
  /* its title on its own line, the columns' names under it, each over its switches (whatever order the server writes them in) */
  :where(.settings) .notify.is-cols .notify-head > .notify-title { grid-column: 1 / -1; grid-row: 1; }
  :where(.settings) .notify.is-cols .notify-head > .notify-col { grid-row: 2; }
  :where(.settings) .notify > .notify-head:first-child { border-top: none; padding-top: var(--s-4); }
  :where(.settings) .notify-title { color: var(--accent-text); font: var(--type-title-3-weight) var(--type-title-3-size)/var(--title-lh) var(--type-title-3-font); letter-spacing: var(--type-title-3-ls); margin: 0; text-transform: var(--type-title-3-case); }
  :where(.settings) .notify > .notify-title { margin-top: var(--s-20); }
  :where(.settings) .notify-col { color: var(--faint); justify-self: center; white-space: nowrap; font: var(--type-smallcaps-weight) var(--type-smallcaps-size)/var(--lh-tight) var(--type-smallcaps-font); letter-spacing: var(--type-smallcaps-ls); text-align: center; text-transform: var(--type-smallcaps-case); }
  :where(.settings) .notify-kinds, :where(.settings) .notify-sent { list-style: none; margin: var(--s-6) 0 0; padding: 0; }
  :where(.settings) .notify-kind { align-items: center; border-top: 1px solid var(--line); display: grid; gap: var(--s-2) var(--s-10); grid-template-columns: auto minmax(0, 1fr); padding-block: var(--s-10); }
  :where(.settings) .notify-kind:first-child { border-top: none; }
  :where(.settings) .notify.is-cols .notify-kind { gap: var(--s-2) var(--s-10); grid-template-columns: repeat(var(--notify-cols, 2), var(--notify-col)) minmax(0, 1fr); }
  /* the name in the last column, on the switches' line, whether the server writes it before or after them */
  :where(.settings) .notify.is-cols .notify-name { grid-column: -2; grid-row: 1; }
  :where(.settings) .notify-name { align-items: center; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-8); min-width: 0; }
  :where(.settings) .notify-kind-name { color: var(--ink); font-family: var(--type-text-font); font-size: var(--type-text-size); font-weight: var(--type-text-weight); letter-spacing: var(--type-text-ls); text-transform: var(--type-text-case); }
  :where(.settings) .notify-kind.is-off .notify-kind-name { color: var(--faint); }
  :where(.settings) .notify-cell { display: flex; justify-content: center; }
  :where(.settings) .notify-none { color: var(--faint); }
  :where(.settings) .notify-text { color: var(--dim); font-family: var(--type-small-font); font-size: var(--type-small-size); font-weight: var(--type-small-weight); grid-column: 2; letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  /* a kind's figures under its name: a field each, without the lines of a list of settings */
  :where(.settings) .notify-fields { grid-column: 2; }
  /* with columns, its line and its figures under its name, in the last column */
  :where(.settings) .notify.is-cols :is(.notify-text, .notify-fields) { grid-column: -2; }
  :where(.settings) .notify-fields .group, :where(.settings) .notify-fields .group:first-of-type { margin-top: 0; }
  :where(.settings) .notify-fields .field { --row-py: var(--s-4); border-top: none; }
  /* the last ones sent: when, what it said, its level */
  :where(.settings) .notify-sent li { align-items: baseline; border-top: 1px solid var(--line); display: grid; gap: var(--s-2) var(--s-12); grid-template-columns: 11em minmax(0, 1fr) auto; padding-block: var(--s-8); }
  :where(.settings) .notify-sent li:first-child { border-top: none; }
  :where(.settings) .notify-when { color: var(--dim); font-family: var(--type-small-font); font-size: var(--type-small-size); font-weight: var(--type-small-weight); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  :where(.settings) .notify-what { color: var(--ink); overflow-wrap: anywhere; }
  :where(.settings) .notify-empty { color: var(--faint); margin: var(--s-6) 0 0; }
  /* « Tout voir, 20 envoyées → » under the last ones sent (8.6.0) */
  :where(.settings) .notify > .go-link { margin-top: var(--s-4); }
  :where(.settings) .notify-acts { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: var(--s-8); margin-top: var(--s-10); padding-top: var(--s-14); }
  :where(.settings) .mem { color: var(--faint); font: var(--type-caption-weight) var(--type-caption-size)/var(--lh-text) var(--type-caption-font); letter-spacing: var(--type-caption-ls); text-transform: var(--type-caption-case); }
  :where(.settings) .err { color: var(--bad); font-size: var(--type-small-size); font-family: var(--type-small-font); font-weight: var(--type-small-weight); letter-spacing: var(--type-small-ls); text-transform: var(--type-small-case); }
  :where(.settings) :is(.logbox, .job-settings) { background: var(--bg); border-radius: var(--r-m); border: 1px solid var(--line-2); grid-column: 1 / -1; margin-top: var(--s-6); overflow: hidden; }
  /* a job's settings (8.5.0): « Réglages » opens, under the job, the fields that set it, in the same box as its journal;
     the technical ones folded under « Avancé »; its own « Enregistrer » at the end, what is typed told beside it */
  :where(.settings) .job-settings { padding: var(--s-4) var(--s-12) var(--s-12); }
  :where(.settings) .job-settings:focus { outline: none; }
  :where(.settings) .job-settings-fields > .group:first-child { margin-top: 0; }
  :where(.settings) .job-settings-fields > .group > .field:first-child { border-top: none; }
  :where(.settings) .job-settings-more { border-top: 1px solid var(--line); margin-top: var(--s-4); }
  :where(.settings) .job-settings-more > summary { color: var(--dim); font: var(--type-smallcaps-weight) var(--type-smallcaps-size)/var(--lh-tight) var(--type-smallcaps-font); letter-spacing: var(--type-smallcaps-ls); padding-block: var(--s-10); text-transform: var(--type-smallcaps-case); }
  :where(.settings) .job-settings-more > summary:hover { color: var(--ink); }
  :where(.settings) .job-settings-more .job-settings-fields > .group:first-child > .field:first-child { padding-top: 0; }
  :where(.settings) .job-settings-bar { align-items: center; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: var(--s-8) var(--s-12); justify-content: flex-end; padding-top: var(--s-12); }
  :where(.settings) .job-settings-bar .msg { background: none; border: 0; border-radius: 0; color: var(--dim); display: block; flex: 1 1 12em; font-family: var(--type-small-font); font-size: var(--type-small-size); font-weight: var(--type-small-weight); letter-spacing: var(--type-small-ls); line-height: var(--lh-ui); margin: 0; padding: 0; text-transform: var(--type-small-case); }
  :where(.settings) .job-settings-bar .msg.is-bad { color: var(--bad); }
  :where(.settings) .job-settings-bar .msg.is-good { color: var(--good); }
  :where(.settings) .loghead { align-items: center; border-bottom: 1px solid var(--line); color: var(--dim); display: flex; flex-wrap: wrap; font-size: var(--type-caption-size); gap: var(--s-6) var(--s-10); padding: var(--s-6) var(--s-12); font-family: var(--type-caption-font); font-weight: var(--type-caption-weight); letter-spacing: var(--type-caption-ls); text-transform: var(--type-caption-case); }
  :where(.settings) .loghead .live { align-items: center; display: inline-flex; gap: var(--s-8); }
  /* which lines the journal shows (8.4.0): all but the detail, only the warnings and errors, or everything */
  :where(.settings) .loghead .log-show { --tab-py: var(--s-2); --tab-px: var(--s-8); }
  :where(.settings) .loghead a { color: var(--dim); margin-left: auto; text-decoration: none; white-space: nowrap; }
  :where(.settings) .loghead a:hover { color: var(--accent-text); }
  :where(.settings) .logs { font: var(--type-caption-weight) var(--type-caption-size)/var(--lh-text) var(--mono); max-height: 420px; overflow: auto; overscroll-behavior: contain; letter-spacing: var(--type-caption-ls); text-transform: var(--type-caption-case); }
  /* a run (8.4.0): a block that folds, its head saying when and what started it, then how it ended, how long it took,
     and its errors and warnings; the latest first */
  :where(.settings) .log-run { border-bottom: 1px solid var(--line); padding-bottom: var(--s-4); }
  :where(.settings) .log-run:not([open]) { padding-bottom: 0; }
  :where(.settings) .log-run > .log-run-head { flex-wrap: wrap; gap: var(--s-2) var(--s-8); padding: var(--s-6) var(--s-12); }
  :where(.settings) .log-run-head .log-time { color: var(--faint); font-variant-numeric: tabular-nums; }
  :where(.settings) .log-run-head .log-by { color: var(--ink); font-weight: var(--type-strong-weight); }
  :where(.settings) .log-run-head .log-sum { color: var(--dim); }
  :where(.settings) .log-run-head .log-sum > span { white-space: nowrap; }
  :where(.settings) .log-run-head .log-sum .is-mid { color: var(--mid); }
  :where(.settings) .log-run-head .log-sum .is-bad { color: var(--bad); }
  :where(.settings) .sync-dot.is-mid { background: var(--mid); }
  /* a line, in columns: its time, its level in a word, where below the job and what happened, how long it took; under
     its run's head, its time under the head's */
  :where(.settings) .log-line { display: grid; gap: var(--s-10); grid-template-columns: 64px 72px minmax(0, 1fr) auto; padding: 0 var(--s-12) 0 calc(var(--s-12) + var(--s-16)); }
  :where(.settings) .log-line .log-time { color: var(--faint); font-variant-numeric: tabular-nums; }
  :where(.settings) .log-line .log-level { color: var(--dim); }
  :where(.settings) .log-line .log-text { color: var(--ink); overflow-wrap: anywhere; white-space: pre-wrap; }
  :where(.settings) .log-line .log-where { color: var(--dim); margin-right: var(--s-8); }
  :where(.settings) .log-line .log-took { color: var(--faint); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
  :where(.settings) .log-line.is-mid :is(.log-level, .log-text) { color: var(--mid); }
  :where(.settings) .log-line.is-bad :is(.log-level, .log-text) { color: var(--bad); }
  :where(.settings) .log-line.is-faint :is(.log-level, .log-text, .log-where) { color: var(--faint); }
  :where(.settings) .logs .log-empty { color: var(--faint); margin: 0; padding: var(--s-8) var(--s-12); }
@media (max-width: 768px) {
  /* the bar of links to the cards, for a phone where the page is long */
  :where(.settings) .jump { display: flex; }
  /* on a phone, « Tout sur Render » beside the state, the choice of lines below; a run's head on two lines, what
     started it, then how it ended */
  :where(.settings) .loghead .log-show { order: 3; }
  :where(.settings) .log-run-head .log-by { flex: 1 1 0; min-width: 0; }
  :where(.settings) .log-run-head .log-sum { flex-basis: 100%; order: 4; padding-left: var(--s-16); }
  /* on a phone, the time, the level and how long on one line, what happened below */
  :where(.settings) .log-line { gap: 0 var(--s-8); grid-template-areas: "time level took" "text text text"; grid-template-columns: auto minmax(0, 1fr) auto; padding: var(--s-2) var(--s-12); }
  :where(.settings) .log-line .log-time { grid-area: time; }
  :where(.settings) .log-line .log-level { grid-area: level; }
  :where(.settings) .log-line .log-text { grid-area: text; }
  :where(.settings) .log-line .log-took { grid-area: took; }
  :where(.settings) .job-parts li { grid-template-columns: auto minmax(0, 1fr); }
  :where(.settings) .job-parts li:has(> label.switch) { grid-template-columns: auto auto minmax(0, 1fr); }
  :where(.settings) .job-part-when { grid-column: -2; }
  :where(.settings) .job .acts { flex-wrap: nowrap; }
  :where(.settings) .job .acts .btns { gap: var(--s-6); }
  /* three buttons (« Réglages », « Journal », « Lancer ») and a switch do not hold on a phone's line: the buttons go under
     the switch, on the right */
  :where(.settings) .job .acts:has(> .btns > .btn:nth-child(3)) { flex-wrap: wrap; }
  /* and Vitrine's wider buttons go two and one when three do not hold (8.6.0: they ran past a 360px phone) */
  :where(.settings) .job .acts .btns { flex-wrap: wrap; justify-content: flex-end; }
  /* a notification's line on a phone: its name and level, then its figures and its words under them, the whole width;
     a column as wide as its name (« Téléphone », 8.6.0: at 4.5em, it ran past the column on the left) */
  :where(.settings) .notify { --notify-col: 5.5em; }
  :where(.settings) .notify-sent li { grid-template-columns: minmax(0, 1fr) auto; }
  /* with a column per way, a kind's line and its figures go under its switches, across the whole row (8.5.1): the name's
     column is too narrow for them */
  :where(.settings) .notify.is-cols :is(.notify-text, .notify-fields) { grid-column: 1 / -1; }
  /* and its name and level too, on a line of their own under its switches, the whole width (8.7.2: beside two columns
     of switches the name had a third of the row, « Sélection / terminée ») */
  :where(.settings) .notify.is-cols .notify-name { grid-column: 1 / -1; grid-row: 2; }
  :where(.settings) .notify-sent .notify-what { grid-column: 1 / -1; grid-row: 2; }
  :where(.settings) .field { align-items: start; }
  :where(.settings) .field .help { grid-column: 1 / -1; }
  :where(.settings) .field .inp { gap: var(--s-6); grid-row: 1; }
  :where(.settings) .field input:where([type=number]) { width: 72px; }
  /* a text or a choice under its label, across the row, its help under it (8.6.0) */
  :where(.settings) .field:has(> .inp > :is(input:not([type=number]), select)) { grid-template-columns: minmax(0, 1fr); }
  :where(.settings) .field:has(> .inp > :is(input:not([type=number]), select)) > .inp { grid-column: 1; grid-row: 2; }
  :where(.settings) .field > .field-note { grid-column: 1 / -1; }
  /* on a phone, the box as far from its label as before, and a long unit on two lines at most (8.5.1) */
  :where(.settings) .group:has(> .field) { column-gap: var(--s-6); }
  :where(.settings) .group > .field > .inp > input[type=number] { margin-left: var(--s-8); }
  :where(.settings) .field .unit { max-width: 7.5em; }
  :where(.settings) .conn .det { grid-column: 1 / -1; }
  :where(.settings) .conn a, :where(.settings) .conn > :is(.btn, .conn-acts) { grid-row: 1; }
  /* several actions do not hold beside a name on a phone: they go under its details, from the left */
  :where(.settings) .conn > .conn-acts { grid-column: 1 / -1; grid-row: auto; justify-content: flex-start; }
}
@media (max-width: 480px) {
  :where(.settings) .wide-only { display: none; }
  /* a long test button takes the whole width, and its words two lines inside a button's height */
  :where(.settings) .notify-acts > .btn { flex: 1 1 100%; text-align: center; white-space: normal; }
}
/* Chosen: the gold every framed choice takes, the same everywhere: a pill in use, a period in the date picker, a gold
   button, the chosen day of the calendar. Its colours are roles (--chosen-ink, --chosen-bg, --chosen-line), which a
   component may change (the calendar's day keeps the full gold edge). Last of the controls, so that it wins over their
   hover. The tabs' chosen one is their own (--tab-on-bg). */
  .pill.is-on, .periodpop button:is([aria-pressed="true"], [aria-selected="true"]), .btn.is-act, .cal-cell.is-selected { color: var(--chosen-ink); background: var(--chosen-bg); border-color: var(--chosen-line); }
