/* Wavora · la vitrine de l'outil de gestion, sur le vert profond de l'accueil (18/10, version 3 de l'aperçu : voir la fin)
   En haut, le texte, le métier et le thème à choisir ; puis six étapes rapides et la fenêtre de l'outil,
   complète dès le départ, dans le look de la démo (docs/apercu-gestion : titres Red Hat Display, texte
   Hanken Grotesk, chiffres IBM Plex Mono, cartes arrondies, tuiles de verre sur la maquette).
   Les thèmes sont des ambiances entières (fond, cartes, encres, couleur, couleur d'appoint, alerte) :
   Cozy, Numérique, Élégant, Nature, Minuit ([data-vibe]).
   La fenêtre est dessinée à sa taille réelle (1180 × 700, ou 390 × 872 sur téléphone) puis mise à
   l'échelle de la page (--k, posé par vitrine.js), dans un cadre qui la coupe à cette taille. */

/* les polices de l'outil (OFL), reprises de la démo */
@font-face { font-family: "Red Hat Display"; font-weight: 400 900; font-display: swap; src: url("../../assets/fonts/red-hat-display-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: "Red Hat Display"; font-weight: 400 900; font-display: swap; src: url("../../assets/fonts/red-hat-display-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-weight: 300 800; font-display: swap; src: url("../../assets/fonts/hanken-grotesk-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: "Hanken Grotesk"; font-weight: 300 800; font-display: swap; src: url("../../assets/fonts/hanken-grotesk-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, 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("../../assets/fonts/ibm-plex-mono-500-latin.woff2") format("woff2"); }
@property --o-accent { syntax: "<color>"; inherits: true; initial-value: #C2683F; }
@property --o-serie { syntax: "<color>"; inherits: true; initial-value: #E0A04A; }

/* ── le texte et les choix ───────────────────────────────────────────────── */
.vt { padding-bottom: calc(8vw + 9vh); }
.vt-in { width: min(1180px, 100% - 48px); margin: 0 auto; }
.vt-tete { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 48px; }
.vt h2 { text-wrap: balance; }
.vt-lead { margin: 16px 0 0; max-width: 31em; font-size: 17px; line-height: 1.55; color: var(--muted); }
.vt-choix { display: grid; gap: 12px; justify-items: end; }
.vt-groupe { display: flex; align-items: center; gap: 14px; }
.vt-legende { font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.vt-puces { display: flex; gap: 4px; padding: 4px; border-radius: 99px; border: 1px solid var(--rule); background: rgb(245 242 233 / .03); }
.vt-puce { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 99px; font: 500 14px/1 var(--sans); color: var(--muted); white-space: nowrap; transition: background-color .3s, color .3s; }
.vt-puce:hover:not([aria-pressed="true"]) { color: var(--ink); background: rgb(245 242 233 / .07); }
.vt-puce[aria-pressed="true"] { background: var(--ink); color: var(--deep); }
.vt-th { padding-left: 9px; }
.vt-th i { flex: none; width: 18px; height: 18px; border-radius: 50%; background: conic-gradient(var(--a) 0 50%, var(--b) 0 75%, var(--f) 0); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .25); }
.vt-puce:focus-visible, .vt-etape:focus-visible, .vt-lecture:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ── les six étapes, comme des histoires qui se remplissent ─────────────── */
.vt-etapes { display: flex; align-items: flex-start; gap: 22px; margin: 40px 0 20px; }
.vt-etapes ol { flex: 1; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.vt-etape { all: unset; cursor: pointer; display: grid; gap: 4px; width: 100%; border-radius: 4px; }
.vt-etape i { position: relative; display: block; height: 2px; margin-bottom: 9px; border-radius: 2px; background: var(--rule); overflow: hidden; }
.vt-etape b { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--f, 0)); }
.vt-etape strong { font: 500 15px/1.25 var(--sans); color: var(--muted); transition: color .3s; }
.vt-etape:hover strong, .vt-etape[aria-current="step"] strong { color: var(--ink); }
.vt-etape-tel { display: none; }
.vt-lecture { all: unset; cursor: pointer; flex: none; width: 38px; height: 38px; margin-top: -6px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--rule); color: var(--ink); transition: background-color .25s, border-color .25s; }
.vt-lecture:hover { background: rgb(245 242 233 / .08); border-color: rgb(245 242 233 / .3); }
.vt-lecture svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vt-lecture .i-lire { display: none; fill: currentColor; stroke: none; }
.vt-lecture[aria-pressed="true"] .i-lire { display: block; }
.vt-lecture[aria-pressed="true"] .i-pause { display: none; }
.vt-pied { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 28px; margin-top: 40px; }
.vt-note { margin: 0; font-size: 13px; color: rgb(195 206 200 / .7); }

/* ── la fenêtre, à sa taille réelle puis à l'échelle ─────────────────────── */
.vt-scene { position: relative; height: calc(var(--fh, 700px) * var(--k, 1)); }
.vt-scene::before { content: ""; position: absolute; inset: 0; border-radius: calc(26px * var(--k, 1)); box-shadow: 0 50px 110px -40px rgb(0 0 0 / .75); }
.vt-clip { position: absolute; inset: 0; overflow: hidden; border-radius: calc(26px * var(--k, 1)); }
.vt-fenetre { --fw: 1180px; --fh: 700px; position: absolute; left: 0; top: 0; width: var(--fw); height: var(--fh); transform: scale(var(--k, 1)); transform-origin: 0 0;
  border-radius: 26px; overflow: hidden; isolation: isolate; text-align: left; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .07);
  font: 400 13.5px/1.45 "Hanken Grotesk", system-ui, sans-serif; -webkit-font-smoothing: antialiased;
  background: var(--o-fond); color: var(--o-ink); transition: --o-accent .8s ease, --o-serie .8s ease, background-color .8s, color .8s; }

/* les thèmes d'ambiance : chacun règle tout, du fond à l'alerte */
:is(.vt-fenetre, .vt-commandes)[data-vibe="cozy"] { --o-fond: #F3ECE2; --o-carte: #FFFCF7; --o-creux: #F1E8DB; --o-trait: rgba(70, 45, 20, .1); --o-trait2: rgba(70, 45, 20, .18);
  --o-ink: #2A1F17; --o-ink2: #6E5E50; --o-ink3: #9C8C7D; --o-accent: #C2683F; --o-serie: #8E9E54; --o-alerte: #D9822B; --o-sur: #FFFFFF;
  --o-ombre: 0 1px 2px rgba(70, 45, 20, .05), 0 10px 26px -14px rgba(70, 45, 20, .22); --o-verre: rgba(255, 252, 247, .62); --o-verre-bord: rgba(255, 255, 255, .85); --o-verre-ombre: 0 12px 30px -14px rgba(70, 45, 20, .35); }
:is(.vt-fenetre, .vt-commandes)[data-vibe="numerique"] { --o-fond: #EDF1F7; --o-carte: #FFFFFF; --o-creux: #EDF2F9; --o-trait: rgba(15, 30, 60, .09); --o-trait2: rgba(15, 30, 60, .17);
  --o-ink: #0E1726; --o-ink2: #4F5D73; --o-ink3: #8391A6; --o-accent: #2563EB; --o-serie: #0EA5C6; --o-alerte: #E86A1A; --o-sur: #FFFFFF;
  --o-ombre: 0 1px 2px rgba(20, 40, 80, .05), 0 10px 26px -14px rgba(20, 40, 80, .2); --o-verre: rgba(255, 255, 255, .6); --o-verre-bord: rgba(255, 255, 255, .85); --o-verre-ombre: 0 12px 30px -14px rgba(20, 40, 80, .38); }
:is(.vt-fenetre, .vt-commandes)[data-vibe="elegant"] { --o-fond: #0F1412; --o-carte: #18201C; --o-creux: #232C27; --o-trait: rgba(255, 255, 255, .08); --o-trait2: rgba(255, 255, 255, .17);
  --o-ink: #F1EDE4; --o-ink2: #B0B5AD; --o-ink3: #7F867E; --o-accent: #CDAA62; --o-serie: #86B19B; --o-alerte: #E0894A; --o-sur: #1A1408;
  --o-ombre: inset 0 1px 0 rgba(255, 255, 255, .04), 0 10px 30px -16px rgba(0, 0, 0, .7); --o-verre: rgba(24, 32, 28, .6); --o-verre-bord: rgba(255, 255, 255, .14); --o-verre-ombre: 0 12px 30px -12px rgba(0, 0, 0, .7); }
:is(.vt-fenetre, .vt-commandes)[data-vibe="minuit"] { --o-fond: #0D0E14; --o-carte: #161822; --o-creux: #212433; --o-trait: rgba(255, 255, 255, .08); --o-trait2: rgba(255, 255, 255, .17);
  --o-ink: #F1F2F7; --o-ink2: #A3A8BA; --o-ink3: #727A8E; --o-accent: #8B7CF6; --o-serie: #2CC7E0; --o-alerte: #F08A4B; --o-sur: #0D0E14;
  --o-ombre: inset 0 1px 0 rgba(255, 255, 255, .04), 0 10px 30px -16px rgba(0, 0, 0, .75); --o-verre: rgba(22, 24, 34, .6); --o-verre-bord: rgba(255, 255, 255, .14); --o-verre-ombre: 0 12px 30px -12px rgba(0, 0, 0, .75); }
:is(.vt-fenetre, .vt-commandes) { --o-doux: color-mix(in oklab, var(--o-accent) 13%, var(--o-carte)); --o-accent-t: color-mix(in oklab, var(--o-accent) 80%, var(--o-ink)); }
.vt-fenetre * { box-sizing: border-box; }
.vt-fenetre :is(.o-carte, .o-liste li, .o-cherche, .o-bouton, .o-rond, .o-avatar, .o-scene, .o-tuile, .o-toast, .o-etiquette, .o-cube, .o-ajout, .o-apparence, .o-mini > div, .o-mt) {
  transition: background-color .8s, color .8s, box-shadow .8s, border-color .8s, stroke .8s; }
.vt-fenetre svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.vt-fenetre .mono, .o-tuile strong, .o-big { font-family: "IBM Plex Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; letter-spacing: -.04em; word-spacing: -.3em; }

/* la barre du haut, et le panneau Apparence */
.o-haut { position: relative; z-index: 6; height: 66px; display: flex; align-items: center; gap: 14px; padding: 0 20px 0 16px; }
.o-marque { display: flex; align-items: center; gap: 10px; width: 196px; flex: none; min-width: 0; }
.o-cube { width: 34px; height: 34px; padding: 7px; border-radius: 11px; background: var(--o-ink); stroke: var(--o-fond) !important; flex: none; }
.o-marque b { display: block; font: 750 15px/1.15 "Red Hat Display", sans-serif; letter-spacing: -.02em; white-space: nowrap; }
.o-marque small { display: block; font-size: 11.5px; color: var(--o-ink3); white-space: nowrap; }
.o-cherche { flex: 1; max-width: 340px; display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 9px 0 14px; border-radius: 99px; background: var(--o-carte); box-shadow: var(--o-ombre); color: var(--o-ink3); font-size: 13px; }
.o-cherche svg { width: 16px; height: 16px; flex: none; }
.o-cherche kbd { margin-left: auto; padding: 1px 7px; border: 1px solid var(--o-trait2); border-radius: 7px; font: 500 11px/1.4 "IBM Plex Mono", monospace; }
.o-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.o-bouton { height: 40px; padding: 0 15px; display: inline-flex; align-items: center; gap: 8px; border-radius: 99px; background: var(--o-carte); box-shadow: var(--o-ombre); font-weight: 600; font-size: 13px; white-space: nowrap; }
.o-bouton svg { width: 16px; height: 16px; }
.o-rond { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 99px; background: var(--o-carte); box-shadow: var(--o-ombre); color: var(--o-ink2); }
.o-rond svg { width: 17px; height: 17px; }
.o-palette.on { box-shadow: var(--o-ombre), 0 0 0 2px var(--o-accent); color: var(--o-accent-t); }
.o-pastille { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--o-alerte); color: #fff; font: 650 10.5px/19px "Hanken Grotesk", sans-serif; font-style: normal; text-align: center; }
.o-avatar { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 99px; background: var(--o-ink); color: var(--o-fond); font-weight: 650; font-size: 12.5px; letter-spacing: .02em; }
.o-apparence { position: absolute; top: 58px; right: 74px; width: 268px; padding: 14px; border-radius: 20px; background: var(--o-carte); box-shadow: var(--o-ombre), 0 30px 60px -24px rgba(0, 0, 0, .45);
  opacity: 0; translate: 0 -8px; scale: .97; transform-origin: 80% 0; pointer-events: none; transition: opacity .3s, translate .45s cubic-bezier(.2, .8, .2, 1), scale .45s cubic-bezier(.2, .8, .2, 1), background-color .8s; }
.o-apparence.on { opacity: 1; translate: 0 0; scale: 1; }
.o-apparence b { display: block; margin: 0 0 10px 2px; font: 750 13.5px/1 "Red Hat Display", sans-serif; }
.o-vignettes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.o-vg { display: grid; justify-items: center; gap: 5px; font-size: 10px; color: var(--o-ink2); }
.o-vg i { position: relative; width: 40px; height: 40px; border-radius: 12px; background: var(--f); box-shadow: inset 0 0 0 1px rgba(127, 127, 127, .25); transition: box-shadow .3s; overflow: hidden; }
.o-vg i::before { content: ""; position: absolute; left: 7px; right: 7px; bottom: 7px; height: 12px; border-radius: 4px; background: var(--a); }
.o-vg i::after { content: ""; position: absolute; left: 7px; top: 8px; width: 14px; height: 6px; border-radius: 3px; background: var(--b); }
.o-vg.on i { box-shadow: 0 0 0 2px var(--o-carte), 0 0 0 4px var(--o-accent); }

/* le menu : toutes les sections, dès le départ ; la pastille de la section ouverte glisse */
.o-corps { display: grid; grid-template-columns: 196px minmax(0, 1fr); height: calc(var(--fh) - 66px); }
.o-nav { display: flex; flex-direction: column; gap: 10px; min-height: 0; padding: 4px 10px 18px 14px; }
.o-liste { position: relative; margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; align-content: start; }
.o-liste::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 38px; border-radius: 13px; background: var(--o-carte); box-shadow: var(--o-ombre); translate: 0 var(--y, 0); transition: translate .45s cubic-bezier(.3, .8, .25, 1), background-color .8s, box-shadow .8s; }
.o-liste li { position: relative; display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 11px; border-radius: 13px; color: var(--o-ink2); font-weight: 550; font-size: 13.5px; white-space: nowrap; transition: color .3s; }
.o-liste li.actif { color: var(--o-ink); font-weight: 650; }
.o-liste svg { width: 17px; height: 17px; flex: none; }
.o-liste .n { margin-left: auto; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--o-accent); color: var(--o-sur); font: 650 11px/19px "Hanken Grotesk", sans-serif; text-align: center; transition: background-color .8s, color .8s; }
.o-liste .o-mot { transition: opacity .25s; }
.o-liste .o-mot.change { opacity: 0; }
.o-ajout { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 11px; border-radius: 13px; border: 1.5px dashed var(--o-trait2); color: var(--o-ink3); font-size: 12.5px; font-weight: 550; white-space: nowrap; }
.o-ajout svg { width: 15px; height: 15px; }

/* la scène : la maquette ouverte en grand sur l'accueil, en bande dans une section */
.o-main { min-width: 0; min-height: 0; padding: 0 20px 18px 6px; display: flex; flex-direction: column; gap: 14px; }
.o-scene { position: relative; flex: none; height: 372px; overflow: hidden; border-radius: 28px; background: linear-gradient(180deg, var(--o-carte) 25%, color-mix(in oklab, var(--o-accent) 9%, var(--o-carte))); box-shadow: var(--o-ombre);
  transition: height .55s cubic-bezier(.3, .8, .25, 1), background-color .8s, box-shadow .8s; }
.o-main.bande .o-scene { height: 236px; }
.o-maquette, .o-image { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.o-maquette { opacity: 0; transition: opacity 1s; }
.o-maquette.pret { opacity: 1; }
.o-image { object-fit: cover; display: none; opacity: 0; transition: opacity .5s; }
.o-image.vue { opacity: 1; }
.o-salut { position: absolute; z-index: 2; left: 22px; top: 18px; }
.o-salut h3 { margin: 0; font: 760 30px/1.05 "Red Hat Display", sans-serif; letter-spacing: -.022em; }
.o-salut p { margin: 5px 0 0; font-size: 13px; color: var(--o-ink2); }
.o-main.bande .o-salut { top: 16px; bottom: 16px; width: 300px; padding: 18px 18px 16px; display: flex; flex-direction: column; border-radius: 22px; background: var(--o-verre); border: 1px solid var(--o-verre-bord);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--o-verre-ombre); }
.o-onglets { display: none; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.o-main.bande .o-onglets { display: flex; }
.o-onglets span { padding: 6px 11px; border-radius: 99px; font-size: 12px; font-weight: 600; color: var(--o-ink2); background: color-mix(in oklab, var(--o-carte) 60%, transparent); }
.o-onglets span:first-child { background: var(--o-ink); color: var(--o-fond); }
.o-salut.change > * { animation: o-glisse .45s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes o-glisse { from { opacity: 0; translate: 0 6px; } }
.o-ex { position: absolute; z-index: 2; right: 18px; top: 18px; padding: 5px 11px; border-radius: 99px; background: var(--o-verre); border: 1px solid var(--o-verre-bord); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 11.5px; color: var(--o-ink2); }
.o-etiquettes { position: absolute; inset: 0; pointer-events: none; }
.o-etiquette { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 7px; padding: 5px 6px 5px 12px; border-radius: 99px; background: var(--o-verre); border: 1px solid var(--o-verre-bord);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--o-verre-ombre); font-weight: 650; font-size: 12px; color: var(--o-ink); white-space: nowrap; opacity: 0; scale: .85; transition: opacity .35s, scale .45s cubic-bezier(.3, 1.5, .5, 1), background-color .8s, color .8s; }
.o-etiquette.on { opacity: 1; scale: 1; }
.o-etiquette.vise { background: var(--o-accent); color: var(--o-sur); border-color: transparent; }
.o-etiquette .n { min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--o-accent); color: var(--o-sur); font: 650 11px/19px "Hanken Grotesk", sans-serif; text-align: center; }
.o-etiquette.vise .n { background: var(--o-sur); color: var(--o-accent); }
.o-toast { position: absolute; z-index: 3; right: 18px; top: 56px; display: flex; align-items: center; gap: 10px; max-width: 330px; padding: 9px 14px 9px 9px; border-radius: 16px; background: var(--o-carte);
  box-shadow: var(--o-ombre), 0 20px 44px -18px rgba(0, 0, 0, .38); font-size: 12.5px; font-weight: 550; opacity: 0; translate: 0 -10px; transition: opacity .35s, translate .5s cubic-bezier(.2, .8, .2, 1), background-color .8s; }
.o-toast.on { opacity: 1; translate: 0 0; }
.o-toast-ic { position: relative; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--o-accent); }
.o-toast-ic::after { content: ""; position: absolute; left: 9.5px; top: 6.5px; width: 5px; height: 9.5px; border: solid var(--o-sur); border-width: 0 2px 2px 0; rotate: 40deg; }
.o-toast time { margin-left: 4px; color: var(--o-ink3); font-size: 11.5px; font-weight: 400; white-space: nowrap; }
.o-tuiles { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 16px; display: flex; gap: 12px; transition: opacity .3s, translate .45s cubic-bezier(.2, .8, .2, 1); }
.o-main.bande .o-tuiles { opacity: 0; translate: 0 20px; pointer-events: none; }
.o-tuile { position: relative; flex: 1 1 0; min-width: 0; display: grid; gap: 2px; padding: 12px 16px 13px; border-radius: 20px; background: var(--o-verre); border: 1px solid var(--o-verre-bord);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: var(--o-verre-ombre); }
.o-tuile small { font-size: 12px; color: var(--o-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o-tuile strong { font-size: 21px; line-height: 1.2; font-weight: 500; color: var(--o-ink); white-space: nowrap; }
.o-tuile .o-sous { display: flex; align-items: center; gap: 6px; min-height: 18px; font-size: 11.5px; color: var(--o-ink3); white-space: nowrap; overflow: hidden; }
.o-ecart { padding: 1px 7px; border-radius: 99px; background: var(--o-doux); color: var(--o-accent-t); font-weight: 650; }
.o-verifie { display: inline-flex; align-items: center; gap: 5px; color: var(--o-accent-t); font-weight: 600; }
.o-verifie::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--o-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.4 6.2 5.2 8l3.4-3.6' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* les widgets sous la scène : une grille de quatre colonnes, qui se recompose à chaque section */
.o-grille { position: relative; flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 14px; }
/* l'accueil : trois widgets sur une rangée ; une section : deux rangées sur quatre colonnes */
.o-grille[data-forme="accueil"] { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr) minmax(0, 1.2fr); grid-template-rows: minmax(0, 1fr); }
.o-grille[data-forme="section"] .o-carte { padding: 13px 16px; }
.o-grille[data-forme="section"] .o-carte h4 { margin-bottom: 8px; }
.o-carte { position: relative; min-width: 0; min-height: 0; overflow: hidden; display: flex; flex-direction: column; padding: 15px 17px; border-radius: 22px; background: var(--o-carte); box-shadow: var(--o-ombre); }
.o-carte h4 { margin: 0 0 10px; display: flex; align-items: center; gap: 8px; font: 750 14.5px/1.2 "Red Hat Display", sans-serif; letter-spacing: -.015em; white-space: nowrap; }
.o-carte h4 .droite { margin-left: auto; font: 500 11.5px/1 "Hanken Grotesk", sans-serif; color: var(--o-ink3); letter-spacing: 0; }
.o-carte.plein { background: color-mix(in oklab, var(--o-accent) 90%, #000); color: var(--o-sur); }
.o-carte.plein h4 .n { min-width: 21px; height: 21px; padding: 0 6px; border-radius: 99px; background: color-mix(in oklab, var(--o-sur) 20%, transparent); font: 650 11.5px/21px "Hanken Grotesk", sans-serif; text-align: center; }
/* À faire */
.o-taches { margin: 0; padding: 0; list-style: none; display: grid; }
.o-taches li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 1px 10px; align-items: center; padding: 7px 0; border-top: 1px solid color-mix(in oklab, var(--o-sur) 16%, transparent); }
.o-taches li:first-child { border-top: 0; padding-top: 0; }
.o-taches li > i { grid-row: span 2; width: 28px; height: 28px; border-radius: 9px; background: color-mix(in oklab, var(--o-sur) 15%, transparent); display: grid; place-items: center; }
.o-taches li > i svg { width: 14px; height: 14px; stroke: var(--o-sur); }
.o-taches strong { font-size: 12.5px; font-weight: 600; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o-taches small { font-size: 11px; opacity: .72; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* le gros solde : le chiffre à gauche, les deux tuiles à droite */
.o-solde-g { flex: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.o-solde-g .o-mt-l { margin: 0; grid-template-columns: 1fr; }
.o-big { display: block; font-size: 33px; line-height: 1.05; font-weight: 500; letter-spacing: -.05em; }
.o-solde .o-verifie { margin: 6px 0 12px; font-size: 11.5px; }
.o-mt-l { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.o-mt { display: grid; gap: 1px; padding: 9px 11px 10px; border-radius: 14px; background: var(--o-creux); }
.o-mt small { font-size: 11px; color: var(--o-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o-mt b { font: 500 14.5px/1.2 "IBM Plex Mono", monospace; letter-spacing: -.04em; word-spacing: -.3em; white-space: nowrap; }
.o-mt b.plus { color: var(--o-accent-t); }
/* l'anneau d'objectifs, à graduations */
.o-anneau { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; flex: 1; min-height: 0; }
.o-carte.etroit .o-anneau { grid-template-columns: 1fr; justify-items: center; gap: 8px; }
.o-anneau svg { width: var(--d, 116px); height: var(--d, 116px); overflow: visible; }
.o-grille[data-forme="section"] .o-anneau svg { --d: 112px; }
.o-anneau .tick { stroke: var(--o-creux); stroke-width: 2.6; transition: stroke .35s; }
.o-anneau .tick.a { stroke: var(--o-accent); } .o-anneau .tick.b { stroke: var(--o-serie); } .o-anneau .tick.c { stroke: var(--o-alerte); }
.o-anneau .centre { font: 500 22px "IBM Plex Mono", monospace; letter-spacing: -.05em; fill: var(--o-ink); stroke: none; text-anchor: middle; }
.o-anneau .sous { font: 500 9.5px "Hanken Grotesk", sans-serif; fill: var(--o-ink3); stroke: none; text-anchor: middle; }
.o-leg { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; min-width: 0; width: 100%; }
.o-leg li { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; align-items: center; gap: 8px; font-size: 11.5px; }
.o-leg li i { width: 8px; height: 8px; border-radius: 3px; background: var(--c); }
.o-leg span { color: var(--o-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o-leg b { font: 500 11.5px "IBM Plex Mono", monospace; letter-spacing: -.03em; }
.o-carte.etroit .o-leg { display: none; }
/* les widgets façon téléphone : quatre petites tuiles carrées */
.o-carte.o-c-mini { padding: 0; background: none; box-shadow: none; overflow: visible; }
.o-mini { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; }
.o-mini > div { min-width: 0; min-height: 0; overflow: hidden; display: flex; flex-direction: column; padding: 11px 12px; border-radius: 20px; background: var(--o-carte); box-shadow: var(--o-ombre); }
.o-mini small { font-size: 10.5px; font-weight: 600; color: var(--o-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o-mini b { margin-top: auto; font: 750 15px/1.1 "Red Hat Display", sans-serif; letter-spacing: -.02em; }
.o-mini em { font-style: normal; font-size: 10.5px; color: var(--o-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o-mini .date { background: var(--o-accent); color: var(--o-sur); }
.o-mini .date small, .o-mini .date em { color: color-mix(in oklab, var(--o-sur) 78%, transparent); }
.o-mini .date b { font: 500 28px/1 "IBM Plex Mono", monospace; letter-spacing: -.05em; }
.o-mini .ok b::before { content: ""; display: inline-block; width: 11px; height: 11px; margin-right: 5px; border-radius: 50%; background: var(--o-accent); vertical-align: 1px; }
/* la présence (sans visages) */
.o-gens { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.o-gens i { width: 22px; height: 22px; border-radius: 50%; background: var(--o-accent); box-shadow: inset 0 -5px 0 color-mix(in oklab, var(--o-accent) 70%, #000); }
.o-gens i.vac { background: repeating-linear-gradient(135deg, var(--o-creux) 0 3px, var(--o-carte) 3px 6px); box-shadow: inset 0 0 0 1.5px var(--o-trait2); }
.o-gens i.off { background: var(--o-creux); box-shadow: inset 0 0 0 1.5px var(--o-trait2); }
.o-presence .o-big { margin-bottom: 4px; }
.o-presence p { margin: 0 0 10px; font-size: 11.5px; color: var(--o-ink3); }
/* la paie */
.o-paie .cal { display: grid; justify-items: start; margin: 2px 0 10px; }
.o-paie .cal b { font: 500 40px/1 "IBM Plex Mono", monospace; letter-spacing: -.05em; color: var(--o-accent-t); }
.o-paie .cal span { font-size: 12px; color: var(--o-ink2); }
.o-pill { align-self: flex-start; margin-top: auto; padding: 5px 10px; border-radius: 99px; background: var(--o-doux); color: var(--o-accent-t); font-size: 11.5px; font-weight: 600; }
/* l'anneau des montants à recevoir, par âge */
.o-rond-age { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; flex: 1; }
.o-rond-age svg { width: 104px; height: 104px; rotate: -90deg; }
.o-rond-age circle { fill: none; stroke-width: 11; stroke-linecap: round; transition: stroke-dasharray .9s cubic-bezier(.2, .8, .2, 1); }
.o-rond-age .fond { stroke: var(--o-creux); }
/* barres arrondies, lignes, jauges (repris de la première version) */
.o-barres { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; align-items: end; padding-top: 4px; }
.o-barre { position: relative; height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 6px; justify-items: center; }
.o-barre .rail { position: relative; width: 100%; max-width: 34px; height: 100%; border-radius: 99px; background: var(--o-creux); overflow: hidden; }
.o-barre .rail b { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--h, 0) * 100%); border-radius: 99px; background: var(--o-accent); transition: height .8s cubic-bezier(.2, .8, .2, 1), background-color .8s; }
.o-barre.creux .rail b { background: var(--o-alerte); }
.o-barre.pale .rail b { background: color-mix(in oklab, var(--o-accent) 36%, var(--o-creux)); }
.o-barre .v { position: absolute; left: 50%; translate: -50% 0; bottom: calc(var(--h, 0) * 100% + 4px); font: 500 10.5px/1 "IBM Plex Mono", monospace; letter-spacing: -.04em; color: var(--o-ink2); white-space: nowrap; transition: bottom .8s cubic-bezier(.2, .8, .2, 1); }
.o-barre span { font-size: 11px; color: var(--o-ink3); white-space: nowrap; }
.o-carte h4 .o-alerte { margin: 0; padding: 3px 9px; font: 600 11px/1.3 "Hanken Grotesk", sans-serif; }
.o-alerte { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: color-mix(in oklab, var(--o-alerte) 15%, var(--o-carte)); color: color-mix(in oklab, var(--o-alerte) 75%, var(--o-ink)); font-size: 11.5px; font-weight: 600; }
.o-lignes { margin: 0; padding: 0; list-style: none; display: grid; }
.o-lignes li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 10px; padding: 7px 0; border-top: 1px solid var(--o-trait); }
.o-lignes li:first-child { border-top: 0; padding-top: 2px; }
.o-lignes li > span { min-width: 0; font-size: 12.5px; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o-lignes li > em { font-style: normal; font-size: 11.5px; color: var(--o-ink3); white-space: nowrap; }
.o-lignes .jauge { grid-column: 1 / -1; position: relative; height: 7px; border-radius: 99px; background: var(--o-creux); }
.o-lignes .jauge b { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--w, 0) * 100%); border-radius: 99px; background: var(--o-accent); transition: width .8s cubic-bezier(.2, .8, .2, 1), background-color .8s; }
.o-lignes .jauge.bas b { background: var(--o-alerte); }
.o-lignes .jauge s { position: absolute; top: -3px; bottom: -3px; left: calc(var(--m) * 100%); width: 2px; border-radius: 2px; background: var(--o-ink2); }
.o-doc { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--o-accent-t); }
.o-doc .rond { width: 13px; height: 13px; border-radius: 50%; background: var(--o-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.4 6.2 5.2 8l3.4-3.6' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.o-doc.attente { color: var(--o-ink3); }
.o-doc.attente .rond { background: none; border: 1.6px solid var(--o-trait2); border-top-color: var(--o-accent); animation: o-tourne .8s linear infinite; }
@keyframes o-tourne { to { rotate: 360deg; } }
.o-heure { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 99px; background: var(--o-creux); font: 500 11px/1.4 "IBM Plex Mono", monospace; letter-spacing: -.03em; color: var(--o-ink2); }
.o-lignes li.vif .o-heure, .o-heure.vif { background: var(--o-doux); color: var(--o-accent-t); }

/* sans animation : tout est à sa place, rien ne bouge */
html:not(.motion-on) .vt-fenetre, html:not(.motion-on) .vt-fenetre * { transition: none !important; animation: none !important; }
/* la fabrique des images du téléphone : la scène à la taille de celle du téléphone, nue */
.vt-fenetre.capture .o-scene { width: 366px; height: 300px !important; border-radius: 0; box-shadow: none; }
.vt-fenetre.capture :is(.o-salut, .o-ex, .o-toast, .o-tuiles, .o-etiquettes) { visibility: hidden; }

/* ══ version 3 (18/10, tard) : une couleur par section, des graphiques, le calendrier ══════════════
   Chaque thème a sa gamme de sections (--o-s-*) : Finances, Équipe, Ventes, Métier, Calendrier, Marketing,
   Documents. Elle revient partout : l'icône du menu, ses pastilles, les étiquettes de la maquette, le point
   des titres de cartes et les graphiques. */
:is(.vt-fenetre, .vt-commandes)[data-vibe="cozy"] { --o-s-fin: #C2683F; --o-s-equ: #7E9B4E; --o-s-ven: #D9962E; --o-s-met: #5B84A6; --o-s-cal: #9C5E8C; --o-s-mkt: #C9776F; --o-s-doc: #8C7B6B; }
:is(.vt-fenetre, .vt-commandes)[data-vibe="numerique"] { --o-s-fin: #2563EB; --o-s-equ: #0EA5C6; --o-s-ven: #10B981; --o-s-met: #F59E0B; --o-s-cal: #8B5CF6; --o-s-mkt: #EC4899; --o-s-doc: #64748B; }
:is(.vt-fenetre, .vt-commandes)[data-vibe="elegant"] { --o-s-fin: #CDAA62; --o-s-equ: #86B19B; --o-s-ven: #D98E6A; --o-s-met: #8FA8C8; --o-s-cal: #C48BA8; --o-s-mkt: #D9A0A0; --o-s-doc: #9AA39B; }
:is(.vt-fenetre, .vt-commandes)[data-vibe="minuit"] { --o-s-fin: #8B7CF6; --o-s-equ: #2CC7E0; --o-s-ven: #F472B6; --o-s-met: #FBBF24; --o-s-cal: #34D399; --o-s-mkt: #FB7185; --o-s-doc: #8A90A6; }
.vt-fenetre svg text { fill: currentColor; stroke: none; }

/* le menu : chaque section a son icône de couleur ; la section ouverte la porte en plein */
.o-liste li .o-ic { width: 26px; height: 26px; margin-left: -5px; flex: none; display: grid; place-items: center; border-radius: 8px; color: var(--s);
  background: color-mix(in oklab, var(--s) 15%, transparent); transition: background-color .35s, color .35s; }
.o-liste li .o-ic svg { width: 15px; height: 15px; }
.o-liste li.actif .o-ic { background: var(--s); color: var(--o-sur); }
.o-liste .n { background: var(--s); }
.o-liste::before { background: color-mix(in oklab, var(--sa, var(--o-accent)) 7%, var(--o-carte)); }
/* les étiquettes de la maquette */
.o-etiquette .n { background: var(--s, var(--o-accent)); }
.o-etiquette.vise { background: var(--s, var(--o-accent)); }
.o-etiquette.vise .n { color: var(--s, var(--o-accent)); }
.o-main.bande .o-salut h3::before { content: ""; display: inline-block; width: 10px; height: 10px; margin: 0 9px 3px 0; border-radius: 3px; background: var(--s); }

/* les titres de cartes : un petit point de la couleur de la section */
.o-carte h4 .o-pt { width: 8px; height: 8px; flex: none; border-radius: 3px; background: var(--s); }

/* les tuiles de chiffres : un chiffre à gauche, un petit graphique à droite */
.o-tuile { grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; }
.o-tuile > :not(.o-graph) { grid-column: 1; }
.o-tuile .o-graph { grid-column: 2; grid-row: 1 / span 3; align-self: center; display: block; }
.o-tuile .o-graph svg { display: block; width: 76px; height: 36px; }
.o-points { display: flex; gap: 4px; }
.o-points i { width: 10px; height: 10px; border-radius: 50%; background: color-mix(in oklab, var(--s) 22%, transparent); }
.o-points i.on { background: var(--s); }
.o-tuile:nth-child(4) .o-graph { display: none; }

/* les petits graphiques : courbe (ce mois, et le mois passé en pointillé) et barres sur fond gris */
.o-courbe { overflow: visible; }
.o-courbe .ligne { fill: none; stroke: var(--cc); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; }
.o-courbe .avant { fill: none; stroke: color-mix(in oklab, var(--cc) 45%, var(--o-ink3)); stroke-width: 1.3; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; opacity: .7; }
.o-courbe .aire { stroke: none; }
.o-mbar .rail { fill: var(--o-creux); stroke: none; }
.o-mbar .v { fill: var(--cc); stroke: none; transform-box: fill-box; transform-origin: bottom; }
.o-mbar .v.pale { fill: color-mix(in oklab, var(--cc) 40%, var(--o-creux)); }

/* À faire : quatre tâches, chacune de la couleur de sa section, qui se cochent */
.o-c-afaire h4 .o-fait { font: 500 11.5px "IBM Plex Mono", monospace; color: var(--o-ink3); }
.o-taches li { grid-template-columns: 28px minmax(0, 1fr) 18px; gap: 0 10px; padding: 8px 0; border-top: 1px solid var(--o-trait); }
.o-taches li > i { grid-row: auto; background: color-mix(in oklab, var(--s) 16%, transparent); }
.o-taches li > i svg { stroke: var(--s); }
.o-taches strong { color: var(--o-ink); transition: color .4s; }
.o-taches small { display: none; }
.o-coche { width: 18px; height: 18px; border-radius: 50%; border: 1.6px solid var(--o-trait2); transition: background-color .35s, border-color .35s; }
.o-taches li.faite strong { color: var(--o-ink3); text-decoration: line-through; text-decoration-color: var(--s); }
.o-taches li.faite .o-coche { border-color: var(--s); background: var(--s) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.4 6.2 5.2 8l3.4-3.8' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.o-prog { margin-top: auto; height: 5px; border-radius: 99px; background: var(--o-creux); overflow: hidden; }
.o-prog b { display: block; height: 100%; width: calc(var(--p, 0) * 100%); border-radius: 99px; background: linear-gradient(90deg, var(--o-s-ven), var(--o-s-met), var(--o-s-equ), var(--o-s-fin)); transition: width .8s cubic-bezier(.2, .8, .2, 1); }

/* l'encaisse : le chiffre, ses deux tuiles, et la courbe du mois */
.o-solde-g { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.o-solde-c { display: flex; flex-direction: column; min-width: 0; }
.o-solde-c .o-mt-l { grid-template-columns: 1fr 1fr; }
.o-solde-graph { position: relative; display: flex; flex-direction: column; min-height: 0; }
.o-solde-graph svg { flex: 1; width: 100%; min-height: 0; }
.o-legende { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 10.5px; color: var(--o-ink3); }
.o-legende i { width: 14px; height: 0; border-top: 2px solid var(--o-s-fin); }
.o-legende i.pointille { margin-left: 8px; border-top: 1.5px dashed var(--o-ink3); }

/* où va l'argent : les ventes à gauche, partagées en cinq rubans */
.o-flux { flex: 1; width: 100%; min-height: 0; }
.o-flux .lien { stroke: none; opacity: .32; transition: opacity .3s; }
.o-carte:hover .o-flux .lien { opacity: .42; }
.o-flux rect { stroke: none; }
.o-flux .o-fl-g { font: 650 11.5px "Hanken Grotesk", sans-serif; text-anchor: end; fill: var(--o-ink); }
.o-flux .o-fl-v { font: 500 10.5px "IBM Plex Mono", monospace; text-anchor: end; fill: var(--o-ink3); }
.o-flux .o-fl-n { font: 600 11px "Hanken Grotesk", sans-serif; fill: var(--o-ink2); }
.o-flux .o-fl-p { font: 500 11px "IBM Plex Mono", monospace; text-anchor: end; fill: var(--o-ink); }
.o-carte:not(.net) .o-flux .lien { clip-path: inset(0 100% 0 0); transition: clip-path .9s cubic-bezier(.3, .7, .2, 1) calc(var(--i) * 80ms), opacity .3s; }
.o-carte.rempli .o-flux .lien { clip-path: inset(0 0 0 0); }

/* les objectifs : trois anneaux emboîtés */
.o-anneau svg { rotate: -90deg; }
.o-anneau circle { fill: none; stroke-width: 8.5; }
.o-anneau .piste { opacity: .16; }
.o-anneau .arc { stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray 1.1s cubic-bezier(.2, .8, .2, 1) calc(var(--i) * 120ms); }
.o-carte.rempli .o-anneau .arc { stroke-dasharray: var(--v) 100; }

/* les quatre petites tuiles de l'accueil */
.o-mini > div { gap: 3px; }
.o-mini .date { background: var(--s); }
.o-mini-l { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.o-mini-l b { margin: 0; }
.o-compte { width: 36px; height: 36px; rotate: -90deg; }
.o-compte circle { fill: none; stroke: color-mix(in oklab, var(--o-sur) 30%, transparent); stroke-width: 3.2; }
.o-compte .v { stroke: var(--o-sur); stroke-linecap: round; stroke-dasharray: var(--v) 100; }
.o-compte text { rotate: 90deg; transform-origin: 18px 18px; font: 650 8.5px "Hanken Grotesk", sans-serif; text-anchor: middle; fill: var(--o-sur); }
.o-mini .o-mbar { width: 100%; height: 26px; margin-top: auto; }
.o-mini .o-mbar + b { margin-top: 4px; font-size: 13.5px; }
.o-fichier { position: relative; width: 30px; height: 30px; margin-top: auto; display: grid; place-items: center; border-radius: 9px; background: color-mix(in oklab, var(--s) 16%, transparent); color: var(--s); }
.o-fichier svg { width: 16px; height: 16px; }
.o-fichier i { position: absolute; right: -4px; bottom: -4px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--o-carte);
  background: var(--s) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.4 6.2 5.2 8l3.4-3.8' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 9px no-repeat; }
.o-mini .ok b { margin-top: 6px; font-size: 13.5px; }
.o-mini .ok b::before { display: none; }
.o-delai { display: block; height: 5px; margin: 6px 0 2px; border-radius: 99px; background: var(--o-creux); overflow: hidden; }
.o-delai b { display: block; height: 100%; width: calc(var(--v) * 100%); margin: 0; border-radius: 99px; background: var(--s); }

/* les six prochaines semaines : une courbe, le creux marqué */
.o-sem { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.o-sem svg { flex: 1; width: 100%; min-height: 0; }
.o-creux { position: absolute; width: 12px; height: 12px; translate: -50% -50%; border-radius: 50%; background: var(--o-alerte); box-shadow: 0 0 0 4px color-mix(in oklab, var(--o-alerte) 25%, transparent); }
.o-sem-x { display: flex; justify-content: space-between; padding: 6px 2px 0; font-size: 10.5px; color: var(--o-ink3); }

/* à recevoir : une seule barre en trois couleurs */
.o-big.petit { font-size: 22px; }
.o-pile { display: flex; gap: 3px; height: 12px; margin: 10px 0 12px; }
.o-pile b { flex: var(--w) 1 0; border-radius: 99px; transform-origin: left; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.o-carte:not(.rempli) .o-pile b { transform: scaleX(0); }
.o-leg.serre { gap: 5px; }
.o-leg.serre li { font-size: 11px; }

/* vos documents : trois fichiers, un état chacun */
.o-fichiers { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.o-fichiers li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 12px; background: var(--o-creux); }
.o-fichiers li > i { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: color-mix(in oklab, var(--s) 18%, var(--o-carte)); color: var(--s); }
.o-fichiers li > i svg { width: 14px; height: 14px; }
.o-fichiers span { min-width: 0; font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* l'horaire de la semaine : une grille de couleur */
.o-carte-ch { flex: 1; display: grid; grid-template-columns: auto repeat(7, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 5px; align-items: stretch; min-height: 0; }
.o-carte-ch > b { align-self: end; text-align: center; font-size: 10.5px; font-weight: 600; color: var(--o-ink3); }
.o-carte-ch > span { align-self: center; padding-right: 6px; font-size: 11.5px; font-weight: 600; color: var(--o-ink2); white-space: nowrap; }
.o-carte-ch > i { border-radius: 7px; background: color-mix(in oklab, var(--o-s-equ) calc(var(--x) * 100%), var(--o-creux)); transition: opacity .5s var(--d), scale .5s cubic-bezier(.3, 1.4, .5, 1) var(--d); }
.o-carte:not(.rempli) .o-carte-ch > i { opacity: 0; scale: .6; }

/* au travail aujourd'hui : une silhouette par personne */
.o-big small { font-size: .6em; color: var(--o-ink3); }
.o-presence .o-big { margin-bottom: 8px; }
.o-gens { gap: 5px; margin: 0; }
.o-gens i { width: 26px; height: 26px; display: grid; place-items: center; background: var(--o-s-equ); box-shadow: none; color: var(--o-sur); }
.o-gens i svg { width: 15px; height: 15px; }
.o-gens i.vac { background: repeating-linear-gradient(135deg, color-mix(in oklab, var(--o-s-ven) 35%, var(--o-carte)) 0 3px, var(--o-carte) 3px 6px); color: var(--o-s-ven); box-shadow: inset 0 0 0 1.5px var(--o-s-ven); }
.o-gens i.off { color: var(--o-ink3); }
.o-gens-l { display: flex; align-items: center; gap: 5px; margin: auto 0 0; font-size: 10.5px; color: var(--o-ink3); }
.o-gens-l i { width: 9px; height: 9px; border-radius: 50%; background: var(--o-s-equ); }
.o-gens-l i.vac { margin-left: 8px; background: var(--o-s-ven); }

/* congés et fériés : deux semaines en frise */
.o-c-conges h4 .o-pill { margin: 0 0 0 auto; font: 600 11px/1.3 "Hanken Grotesk", sans-serif; }
.o-frise { position: relative; flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); gap: 4px; margin-top: 4px; }
.o-frise em { margin-top: auto; padding: 0 0 8px; display: grid; grid-template-columns: repeat(3, 5px); gap: 3px; justify-content: center; font-style: normal; }
.o-frise em i { width: 5px; height: 5px; border-radius: 50%; background: var(--o-s-equ); opacity: .8; }
.o-frise > span { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 0 0; border-radius: 10px; background: var(--o-creux); }
.o-frise > span.we { background: color-mix(in oklab, var(--o-creux) 50%, transparent); }
.o-frise > span.auj { box-shadow: inset 0 0 0 1.6px var(--o-s-equ); }
.o-frise small { font-size: 9.5px; color: var(--o-ink3); }
.o-frise b { font: 500 12.5px/1.2 "IBM Plex Mono", monospace; color: var(--o-ink); }
.o-frise > i { position: absolute; top: 44px; height: 22px; left: calc(var(--a) * (100% + 4px) / 14); width: calc(var(--n) * (100% + 4px) / 14 - 4px); display: flex; align-items: center; padding: 0 8px;
  border-radius: 8px; font: 650 10.5px/1 "Hanken Grotesk", sans-serif; font-style: normal; white-space: nowrap; overflow: hidden; }
.o-fr-ferie { background: repeating-linear-gradient(135deg, var(--o-trait2) 0 3px, transparent 3px 6px); color: var(--o-ink2); }
.o-fr-vac { background: color-mix(in oklab, var(--o-s-ven) 22%, var(--o-carte)); color: color-mix(in oklab, var(--o-s-ven) 70%, var(--o-ink)); box-shadow: inset 3px 0 0 var(--o-s-ven); }

/* la paie : la date et le temps qu'il reste */
.o-paie-g { display: flex; align-items: center; justify-content: space-between; }
.o-paie .cal { margin: 0; }
.o-paie .cal b { color: var(--o-s-equ); }
.o-compte.grand { width: 54px; height: 54px; }
.o-compte.grand circle { stroke: color-mix(in oklab, var(--o-s-equ) 18%, transparent); }
.o-compte.grand .v { stroke: var(--o-s-equ); }
.o-compte.grand text { fill: var(--o-ink); font-size: 8px; }

/* les ventes : barres sur fond gris, le mois en cours en couleur, l'objectif en pointillé */
.o-barres { position: relative; }
.o-barre .rail b { background: var(--s, var(--o-accent)); }
.o-barre.pale .rail b { background: color-mix(in oklab, var(--s, var(--o-accent)) 34%, var(--o-creux)); }
.o-obj { position: absolute; z-index: 1; left: 0; right: 0; bottom: calc(var(--h) * (100% - 23px) + 23px); border-top: 1.5px dashed color-mix(in oklab, var(--s) 70%, var(--o-ink)); pointer-events: none; }
.o-obj em { position: absolute; left: 0; top: -17px; font: 600 10px "Hanken Grotesk", sans-serif; font-style: normal; color: var(--o-ink3); }

/* ce soir : une frise de 18 h à 21 h, une pastille par réservation */
.o-soir { position: relative; flex: 1; margin: 8px 10px 0; min-height: 70px; border-bottom: 1.5px solid var(--o-trait2); }
.o-soir > span { position: absolute; bottom: -20px; left: calc(var(--x) * 100%); translate: -50% 0; font-size: 10.5px; color: var(--o-ink3); white-space: nowrap; }
.o-soir > b { position: absolute; bottom: calc(8px + var(--r) % 2 * 30px); left: calc(var(--x) * 100%); translate: -50% 0; display: grid; place-items: center; width: calc(26px + var(--p) * 3px); aspect-ratio: 1;
  border-radius: 50%; background: color-mix(in oklab, var(--o-s-met) calc(40% + var(--p) * 8%), var(--o-carte)); color: var(--o-sur); font: 650 12px/1 "Hanken Grotesk", sans-serif; }
.o-soir > b small { font-size: 8.5px; font-weight: 600; opacity: .85; }
.o-soir-l { margin: 26px 0 0; font-size: 11px; color: var(--o-ink3); }

/* ── le calendrier : la semaine, à réorganiser ─────────────────────────────── */
.o-main { position: relative; }
.o-main > .o-scene, .o-main > .o-grille { transition: opacity .35s; }
.o-main > .o-tuiles { transition: opacity .35s; }
.o-main.cal > .o-scene, .o-main.cal > .o-grille, .o-main.cal > .o-tuiles { opacity: 0; pointer-events: none; }
.o-cal { position: absolute; z-index: 3; inset: 0 20px 18px 6px; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 12px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.o-main.cal .o-cal { opacity: 1; visibility: visible; transition: opacity .35s .1s, visibility 0s; }
.o-cal.entre .o-cal-g, .o-cal.entre .o-cal-cote { animation: o-monte .55s cubic-bezier(.2, .8, .2, 1) backwards; }
.o-cal.entre .o-cal-cote { animation-delay: .08s; }
.o-cal.entre .o-ev { animation: o-pop .45s cubic-bezier(.3, 1.4, .5, 1) backwards; animation-delay: calc(.15s + var(--c) * 50ms); }
@keyframes o-monte { from { opacity: 0; translate: 0 14px; } }
@keyframes o-pop { from { opacity: 0; scale: .9; } }
.o-cal-tete { display: flex; align-items: center; gap: 14px; }
.o-cal-tete h3 { margin: 0; font: 760 26px/1.05 "Red Hat Display", sans-serif; letter-spacing: -.022em; }
.o-cal-tete h3::before { content: ""; display: inline-block; width: 10px; height: 10px; margin: 0 9px 3px 0; border-radius: 3px; background: var(--o-s-cal); }
.o-cal-tete p { margin: 4px 0 0; font-size: 12.5px; color: var(--o-ink2); }
.o-cal-vues { margin-left: auto; display: flex; gap: 2px; padding: 3px; border-radius: 99px; background: var(--o-creux); }
.o-cal-vues span { padding: 6px 12px; border-radius: 99px; font-size: 12px; font-weight: 600; color: var(--o-ink2); }
.o-cal-vues .on { background: var(--o-carte); color: var(--o-ink); box-shadow: var(--o-ombre); }
.o-cal-nouveau { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px 0 11px; border-radius: 99px; background: var(--o-s-cal); color: var(--o-sur); font-size: 12.5px; font-weight: 650; }
.o-cal-nouveau svg { width: 15px; height: 15px; }
.o-cal-corps { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 232px; gap: 14px; }
.o-cal-g { min-height: 0; display: grid; grid-template-rows: auto auto minmax(0, 1fr); padding: 12px 14px 14px 8px; border-radius: 22px; background: var(--o-carte); box-shadow: var(--o-ombre); }
.o-cal-jours, .o-cal-bande, .o-cal-h { display: grid; grid-template-columns: 50px minmax(0, 1fr); }
.o-cal-jours { grid-template-columns: 50px repeat(var(--n), minmax(0, 1fr)); padding-bottom: 8px; }
.o-cal-jours b { justify-self: center; padding: 4px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 650; color: var(--o-ink2); white-space: nowrap; }
.o-cal-jours b.auj { background: var(--o-s-cal); color: var(--o-sur); }
.o-cal-bande > div { position: relative; height: 36px; }
.o-cal-bande i { position: absolute; top: 2px; height: 30px; left: calc(var(--c) * 100% / var(--n) + 3px); width: calc(100% / var(--n) - 6px); display: flex; align-items: center; gap: 4px; padding: 0 7px;
  border-radius: 8px; font: 650 10.5px/1.12 "Hanken Grotesk", sans-serif; font-style: normal; overflow: hidden; }
.o-cal-bande i span { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.o-cal-bande i svg { width: 13px; height: 13px; flex: none; stroke-width: 2.4; }
.o-cal-bande .ferie { background: repeating-linear-gradient(135deg, var(--o-trait2) 0 3px, transparent 3px 7px); color: var(--o-ink2); }
.o-cal-bande .echeance { background: color-mix(in oklab, var(--s) 20%, var(--o-carte)); color: color-mix(in oklab, var(--s) 75%, var(--o-ink)); box-shadow: inset 3px 0 0 var(--s); }
.o-cal-h { min-height: 0; padding-top: 6px; }
.o-cal-heures { display: grid; grid-template-rows: repeat(var(--hh), minmax(0, 1fr)); }
.o-cal-heures span { translate: 0 -7px; padding-right: 8px; text-align: right; font: 500 10.5px "IBM Plex Mono", monospace; color: var(--o-ink3); white-space: nowrap; }
.o-cal-cols { position: relative; min-height: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr));
  background: linear-gradient(var(--o-trait) 1px, transparent 1px) 0 0 / 100% calc(100% / var(--hh)), linear-gradient(color-mix(in oklab, var(--o-trait) 50%, transparent) 1px, transparent 1px) 0 calc(50% / var(--hh)) / 100% calc(100% / var(--hh)); }
.o-cal-cols > i { border-left: 1px solid var(--o-trait); }
.o-cal-cols > i.auj { background: color-mix(in oklab, var(--o-s-cal) 6%, transparent); }
.o-cal-cols > i.ferie { background: repeating-linear-gradient(135deg, color-mix(in oklab, var(--o-trait) 70%, transparent) 0 2px, transparent 2px 9px); }
.o-cal-now { position: absolute; z-index: 2; left: calc(var(--c) * 100% / var(--n)); width: calc(100% / var(--n)); top: calc(var(--t) * 100%); height: 2px; background: var(--o-alerte); pointer-events: none; }
.o-cal-now::before { content: ""; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--o-alerte); }
.o-ev, .o-cal-fantome { position: absolute; left: calc(var(--c) * 100% / var(--n) + 3px); width: calc(100% / var(--n) - 6px); top: calc(var(--t) * 100% + 1px); height: calc(var(--d) * 100% / var(--hh) - 2px); border-radius: 9px; }
.o-ev { z-index: 3; display: flex; flex-direction: column; gap: 1px; padding: 4px 7px 4px 9px; overflow: hidden; cursor: grab; touch-action: none; user-select: none;
  background: color-mix(in oklab, var(--s) 20%, var(--o-carte)); box-shadow: inset 3px 0 0 var(--s);
  transition: left .3s cubic-bezier(.3, .8, .2, 1), top .3s cubic-bezier(.3, .8, .2, 1), box-shadow .25s, scale .25s, rotate .25s, background-color .8s; }
.o-ev[hidden] { display: none; }
.o-ev b { font: 600 10px/1.2 "IBM Plex Mono", monospace; letter-spacing: -.03em; color: color-mix(in oklab, var(--s) 72%, var(--o-ink)); white-space: nowrap; }
.o-ev span { font-size: 11px; font-weight: 650; line-height: 1.18; color: var(--o-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.o-ev.saisi { z-index: 6; cursor: grabbing; scale: 1.04; rotate: -1.2deg; box-shadow: inset 3px 0 0 var(--s), 0 18px 30px -12px rgba(0, 0, 0, .4); transition: left .12s, top .12s, box-shadow .25s, scale .25s, rotate .25s; }
.o-ev.glisse { transition: left .9s cubic-bezier(.45, 0, .2, 1), top .9s cubic-bezier(.45, 0, .2, 1), box-shadow .25s, scale .25s, rotate .25s; }
.o-cal-fantome { z-index: 2; border: 1.6px dashed var(--s, var(--o-trait2)); opacity: 0; transition: opacity .25s; pointer-events: none; }
.o-cal-fantome.on { opacity: .8; }
.o-cal-cote { min-height: 0; display: grid; grid-template-rows: auto auto minmax(0, 1fr); gap: 10px; align-content: start; }
.o-mois { padding: 12px 12px 10px; border-radius: 22px; background: var(--o-carte); box-shadow: var(--o-ombre); }
.o-mois > b { display: block; margin: 0 0 8px 4px; font: 750 13.5px "Red Hat Display", sans-serif; }
.o-mois > div { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 2px; }
.o-mois small { padding-bottom: 3px; text-align: center; font-size: 9.5px; font-weight: 600; color: var(--o-ink3); }
.o-mois span { position: relative; height: 25px; display: grid; place-items: center; font-size: 11px; color: var(--o-ink2); }
.o-mois span.hors { color: var(--o-ink3); opacity: .45; }
.o-mois span.sem { background: color-mix(in oklab, var(--o-s-cal) 12%, transparent); }
.o-mois span.sem:nth-child(7n + 8) { border-radius: 8px 0 0 8px; }
.o-mois span.auj { color: var(--o-sur); font-weight: 700; }
.o-mois span.auj::before { content: ""; position: absolute; z-index: -1; width: 23px; height: 23px; border-radius: 50%; background: var(--o-s-cal); }
.o-mois span { isolation: isolate; }
.o-mois span i { position: absolute; bottom: 1px; width: 4px; height: 4px; border-radius: 50%; background: var(--s); }
.o-cal-cote h5 { margin: 4px 0 0 4px; font: 750 13.5px "Red Hat Display", sans-serif; }
.o-echeances { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; align-content: start; }
.o-echeances li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 8px 9px; border-radius: 16px; background: var(--o-carte); box-shadow: var(--o-ombre); }
.o-echeances li > i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: color-mix(in oklab, var(--s) 16%, transparent); color: var(--s); }
.o-echeances li > i svg { width: 15px; height: 15px; }
.o-echeances span { min-width: 0; display: grid; }
.o-echeances span b { font-size: 12px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o-echeances span small { font-size: 10.5px; color: var(--o-ink3); }
.o-echeances em { padding: 3px 8px; border-radius: 99px; background: color-mix(in oklab, var(--s) 16%, var(--o-carte)); color: color-mix(in oklab, var(--s) 75%, var(--o-ink)); font: 650 10.5px/1.3 "Hanken Grotesk", sans-serif; font-style: normal; white-space: nowrap; }
.o-cal .o-cal-toast { top: 0; right: 0; }
.o-curseur { position: absolute; z-index: 10; left: 0; top: 0; width: 22px; height: 22px; opacity: 0; pointer-events: none; transition-property: transform, opacity, scale; transition-timing-function: cubic-bezier(.45, 0, .2, 1), ease, ease; transition-duration: 0s, .25s, .15s;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35)); }
.o-curseur path { fill: var(--o-ink); stroke: var(--o-carte); stroke-width: 1.5; }
.o-curseur.on { opacity: 1; }
.o-curseur.appui { scale: .85; }

/* ── tablette ─────────────────────────────────────────────────────────────── */
@media (max-width: 1080px) and (min-width: 761px) {
  .vt-tete { grid-template-columns: minmax(0, 1fr); }
  .vt-choix { justify-items: start; }
}

/* ── téléphone : l'outil comme une application ────────────────────────────── */
@media (max-width: 760px) {
  .vt { padding: calc(8vw + 44px) 0 calc(8vw + 56px); }
  .vt-in { width: calc(100% - 32px); }
  .vt h2 { font-size: 34px; }
  .vt-lead { font-size: 16px; }
  .vt-tete { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .vt-choix { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 12px; width: 100%; }
  .vt-groupe { flex-direction: column; align-items: flex-start; gap: 8px; width: 100%; }
  .vt-puces { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .vt-puces::-webkit-scrollbar { display: none; }
  .vt-puce { padding: 9px 13px; font-size: 13.5px; }
  .vt-etapes { margin: 26px 0 8px; gap: 12px; align-items: center; }
  .vt-etapes ol { gap: 5px; }
  .vt-etape { padding: 10px 0; }
  .vt-etape i { margin: 0; }
  .vt-etape strong { display: none; }
  .vt-lecture { margin-top: 0; width: 36px; height: 36px; }
  .vt-etape-tel { display: block; margin: 0 0 14px; font-size: 14.5px; color: var(--ink); font-weight: 600; }
  .vt-pied { margin-top: 26px; }
  .vt-pied .cta { width: 100%; justify-content: space-between; }

  .vt-fenetre { --fw: 390px; --fh: 872px; border-radius: 30px; }
  .vt-scene::before, .vt-clip { border-radius: calc(30px * var(--k, 1)); }
  .o-haut { height: 60px; padding: 0 14px; }
  .o-marque { width: auto; }
  .o-cherche, .o-bouton, .o-palette { display: none; }
  .o-apparence { right: 14px; top: 54px; }
  .o-corps { display: block; height: calc(var(--fh) - 60px); position: relative; }
  .o-nav { position: absolute; z-index: 4; left: 12px; right: 12px; bottom: 12px; padding: 6px; display: block; border-radius: 22px; background: var(--o-carte); box-shadow: var(--o-ombre), 0 14px 30px -18px rgba(0, 0, 0, .4); transition: background-color .8s; }
  .o-liste { display: flex; justify-content: space-around; gap: 2px; }
  .o-liste::before { display: none; }
  .o-liste li { flex: 1 1 0; min-width: 0; flex-direction: column; justify-content: center; gap: 3px; height: auto; padding: 7px 2px 6px; border-radius: 15px; font-size: 10px; font-weight: 600; text-align: center; }
  .o-liste li:nth-child(n+7) { display: none; }
  .o-liste li > .o-mot { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  .o-liste li.actif { background: var(--o-doux); color: var(--o-accent-t); }
  .o-liste .n { position: absolute; margin: 0; top: 2px; left: 50%; translate: 4px 0; min-width: 15px; height: 15px; font-size: 9.5px; line-height: 15px; padding: 0 4px; }
  .o-ajout { display: none; }
  .o-main { display: block; padding: 0 12px; }
  .o-scene, .o-main.bande .o-scene { height: 300px; border-radius: 24px; }
  .o-maquette { display: none; }
  .o-image { display: block; }
  .o-salut, .o-main.bande .o-salut { left: 16px; top: 14px; bottom: auto; width: auto; padding: 0; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .o-salut h3 { font-size: 24px; }
  .o-main.bande .o-onglets { display: none; }
  .o-ex { right: 14px; top: 14px; }
  .o-etiquettes { display: none; }
  .o-toast { left: 12px; right: 12px; top: auto; bottom: 12px; max-width: none; }
  .o-tuiles, .o-main.bande .o-tuiles { position: static; opacity: 1; translate: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
  .o-tuile { padding: 11px 13px 12px; background: var(--o-carte); border-color: transparent; box-shadow: var(--o-ombre); }
  .o-tuile strong { font-size: 18px; }
  .o-tuile .o-sous { font-size: 11px; }
  .o-grille { display: block; height: 206px; }
  .o-grille .o-carte { height: 206px; }
  .o-grille .o-carte:nth-child(n+2) { display: none; }
  /* les tuiles : le petit graphique passe sous le chiffre */
  .o-tuile { grid-template-columns: minmax(0, 1fr); }
  .o-tuile .o-graph { grid-column: 1; grid-row: auto; margin-top: 4px; }
  .o-tuile .o-graph svg { width: 100%; height: 26px; }
  /* le calendrier, sur téléphone : trois jours, et les échéances dessous */
  .o-main.cal { height: 100%; }
  .o-cal { inset: 0 12px 84px; gap: 10px; }
  .o-ev b { font-size: 9.5px; }
  .o-ev span { -webkit-line-clamp: 1; }
  .o-cal-tete h3 { font-size: 22px; }
  .o-cal-vues { display: none; }
  .o-cal-nouveau { margin-left: auto; width: 36px; padding: 0; justify-content: center; }
  .o-cal-nouveau span { display: none; }
  .o-cal-corps { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 10px; }
  .o-cal-g { padding: 10px 10px 10px 4px; }
  .o-cal-jours, .o-cal-bande, .o-cal-h { grid-template-columns: 40px minmax(0, 1fr); }
  .o-cal-jours { grid-template-columns: 40px repeat(var(--n), minmax(0, 1fr)); }
  .o-cal-jours b { padding: 4px 8px; font-size: 11.5px; }
  .o-cal-heures span { font-size: 9.5px; padding-right: 5px; }
  .o-mois, .o-cal-cote h5 { display: none; }
  .o-cal-cote { grid-template-rows: auto; }
  .o-echeances li { padding: 7px 8px; border-radius: 14px; }
  .o-cal .o-cal-toast { left: 0; right: 0; top: auto; bottom: 0; }
}

/* téléphone (18/10, à l'intégration) : les puces passent à la ligne au lieu de défiler cachées dans leur pilule */
@media (max-width: 760px) {
  .vt-puces { flex-wrap: wrap; gap: 6px; padding: 0; overflow: visible; border: 0; border-radius: 0; background: none; }
  .vt-puce { border: 1px solid var(--rule); }
  .vt-puce[aria-pressed="true"] { border-color: var(--ink); }
}

/* ══ 19/10 ══════════════════════════════════════════════════════════════════════════════
   Ordinateur : sous le titre, un bloc qui tient dans l'écran — une barre fine (métier, thème, lecture) et
   la fenêtre, mise à l'échelle de la hauteur disponible (--k posé par vitrine.js sur .vt-bloc, 0,8 au
   moins). La barre d'étapes disparaît : le menu de l'outil montre l'étape en cours (un trait qui se
   remplit), l'anneau du bouton de lecture aussi.
   Téléphone : l'outil devient une application plein écran (hauteur = écran − en-tête) ; le métier se
   choisit en touchant le nom de l'entreprise, le thème avec la palette (de vrais boutons posés sur la
   fenêtre, .vt-commandes) ; la barre d'icônes du bas sert d'étapes ; chaque section change tout l'écran
   (bande de couleur, pièce de la maquette en gros plan, ses graphiques). */
.vt-tete { grid-template-columns: minmax(0, 1fr); }
.vt-bloc { --k: 1; position: relative; width: calc(1180px * var(--k)); max-width: 100%; margin: 34px auto 0; }
.vt-barre { position: relative; display: flex; align-items: center; gap: 12px 24px; margin-bottom: 14px; }
.vt-barre .vt-choix { flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; }
.vt-groupe .vt-puces { transition: border-color .4s, box-shadow .4s; }
.vt-groupe.vise .vt-puces { border-color: rgb(245 242 233 / .4); box-shadow: 0 0 0 4px rgb(245 242 233 / .06); }
/* les étapes restent pour le clavier : invisibles, elles apparaissent au-dessus de la barre quand on y entre */
.vt-barre .vt-etapes { position: absolute; z-index: 3; left: 0; right: 56px; bottom: calc(100% + 6px); margin: 0; padding: 10px 14px 4px; border-radius: 14px; background: var(--deep); opacity: 0; pointer-events: none; transition: opacity .2s; }
.vt-barre .vt-etapes:focus-within { opacity: 1; pointer-events: auto; }
.vt-lecture { position: relative; margin-top: 0; width: 40px; height: 40px; }
.vt-lecture .vt-anneau { position: absolute; inset: -1px; width: 42px; height: 42px; rotate: -90deg; pointer-events: none; }
.vt-anneau circle { fill: none; stroke: none; }
.vt-anneau .v { stroke: var(--ink); stroke-width: 1.6; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--f, 0) * 100); }
.vt-scene { width: 100%; }
/* l'étape en cours dans le menu de l'outil : un trait de sa couleur qui se remplit */
.o-prog { position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--s); transform-origin: left; transform: scaleX(var(--f, 0)); opacity: 0; transition: opacity .3s; }
.o-liste li.actif .o-prog { opacity: .85; }
.vt-commandes { display: none; }
.o-chev { display: none; }
.vt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 760px) {
  .vt-bloc { width: 100%; margin-top: 22px; }
  .vt-barre { display: none; }
  .vt-scene::before { box-shadow: 0 30px 60px -30px rgb(0 0 0 / .7); }

  /* la fenêtre : la hauteur vient du script (--fh) */
  .o-haut { height: 56px; padding: 0 12px; gap: 8px; }
  .o-marque { gap: 9px; padding: 6px 10px 6px 6px; margin-left: -6px; border-radius: 14px; background: color-mix(in oklab, var(--o-carte) 70%, transparent); }
  .o-marque b { font-size: 14.5px; }
  .o-chev { display: block; flex: none; width: 18px; height: 18px; fill: none; stroke: var(--o-ink2); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
  .o-palette { display: grid; }
  .o-actions .o-rond:not(.o-palette) { visibility: hidden; }
  .o-apparence { top: 52px; }
  .o-corps { height: calc(var(--fh) - 56px); }
  .o-main { height: 100%; display: flex; flex-direction: column; gap: 10px; padding: 0 12px 84px; }
  .o-scene, .o-main.bande .o-scene { flex: none; height: 188px; border-radius: 22px; transition: background-color .6s; }
  .o-main.bande .o-scene { background: color-mix(in oklab, var(--sc, var(--o-accent)) 16%, var(--o-carte)); }
  /* la maquette : gros plan sur la pièce de la section (comme la caméra sur ordinateur) */
  .o-image { transform-origin: var(--zx, 50%) var(--zy, 50%); scale: var(--zs, 1); transition: opacity .5s, scale .9s cubic-bezier(.45, 0, .2, 1), transform-origin .9s cubic-bezier(.45, 0, .2, 1); }
  .o-main.bande .o-salut { inset: 10px; display: flex; flex-direction: column; align-items: flex-start; }
  .o-main.bande .o-salut h3 { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 99px; background: var(--s); color: var(--o-sur); font-size: 17px; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4); }
  .o-main.bande .o-salut h3::before { background: var(--o-sur) !important; }
  .o-main.bande .o-salut p { margin-top: 6px; padding: 3px 8px; border-radius: 8px; background: var(--o-verre); font-size: 11.5px; }
  .o-main.bande .o-onglets { display: flex; margin-top: auto; gap: 5px; }
  .o-main.bande .o-onglets span { padding: 5px 10px; font-size: 11px; background: var(--o-verre); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .o-main.bande .o-onglets span:first-child { background: var(--o-ink); }
  .o-main.bande .o-ex { top: 12px; }
  /* les chiffres : sur l'accueil seulement ; dans une section, ses propres graphiques prennent la place */
  .o-tuiles, .o-main.bande .o-tuiles { margin: 0; gap: 8px; }
  .o-main.bande .o-tuiles { display: none; }
  .o-tuile { padding: 9px 11px 10px; }
  .o-tuile strong { font-size: 16.5px; }
  .o-tuile .o-graph svg { height: 20px; }
  .o-grille, .o-main.bande .o-grille { flex: 1; min-height: 0; height: auto; display: flex; flex-direction: column; gap: 10px; }
  .o-grille .o-carte { flex: 1 1 0; min-height: 0; height: auto !important; overflow: hidden; }
  .o-grille .o-carte:nth-child(n+2) { display: none; }
  .o-main.bande .o-grille .o-carte:nth-child(2) { display: flex; }
  .o-nav { bottom: 10px; }
  .o-prog { left: 18%; right: 18%; bottom: 1px; }
  .o-cal { inset: 0 12px 84px; }

  /* les vrais boutons posés sur la barre du haut de la fenêtre, et leurs menus */
  .vt-commandes { display: block; position: absolute; z-index: 5; left: 0; top: 0; width: 390px; height: var(--fh, 720px); transform: scale(var(--k, 1)); transform-origin: 0 0; pointer-events: none; font: 400 14px/1.4 "Hanken Grotesk", system-ui, sans-serif; color: var(--o-ink); }
  .vt-commandes > * { pointer-events: auto; }
  .vt-c { all: unset; position: absolute; cursor: pointer; border-radius: 14px; -webkit-tap-highlight-color: transparent; pointer-events: auto; }
  .vt-c:focus-visible { outline: 2px solid var(--o-accent); outline-offset: 2px; }
  .vt-c-metier::after { content: ""; position: absolute; right: -3px; top: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--o-accent); box-shadow: 0 0 0 3px var(--o-fond); animation: vt-signe 2.2s ease-in-out infinite; }
  .vt-commandes.touche .vt-c-metier::after { display: none; }
  @keyframes vt-signe { 50% { scale: .6; opacity: .6; } }
  .vt-commandes .vt-lecture { position: absolute; pointer-events: auto; border: 0; background: var(--o-carte); color: var(--o-ink2); box-shadow: var(--o-ombre); }
  .vt-commandes .vt-anneau .v { stroke: var(--o-accent); stroke-width: 2.2; }
  .vt-commandes .vt-lecture:focus-visible { outline: 2px solid var(--o-accent); outline-offset: 2px; }
  .vt-menu { position: absolute; top: 58px; display: none; width: 236px; padding: 12px 10px 10px; border-radius: 20px; background: var(--o-carte); color: var(--o-ink); box-shadow: 0 22px 44px -18px rgba(0, 0, 0, .5), 0 0 0 1px var(--o-trait); }
  .vt-menu.on { display: block; animation: vt-menu .22s ease-out; }
  @keyframes vt-menu { from { opacity: 0; translate: 0 -6px; } }
  .vt-menu-m { left: 10px; }
  .vt-menu-t { right: 10px; }
  .vt-menu .vt-groupe { display: block; }
  .vt-menu .vt-legende { display: block; padding: 0 8px 6px; font-size: 12px; color: var(--o-ink3); }
  .vt-menu .vt-puces { display: grid; gap: 2px; padding: 0; border: 0; background: none; }
  .vt-menu .vt-puce { display: flex; padding: 10px; border: 0; border-radius: 12px; font-size: 15px; color: var(--o-ink2); }
  .vt-menu .vt-puce:hover:not([aria-pressed="true"]) { background: var(--o-creux); color: var(--o-ink); }
  .vt-menu .vt-puce[aria-pressed="true"] { background: var(--o-doux); color: var(--o-accent-t); font-weight: 650; }
  .vt-menu .vt-th i { box-shadow: inset 0 0 0 1px var(--o-trait2); }
}

/* ══ 19/10, deuxième passe ═════════════════════════════════════════════════════════════════
   « Déjà engagé » se retranche de l'encaisse ; sur téléphone, plus rien ne se coupe : la maquette ne vit qu'à
   l'accueil et à l'étape du métier, chaque section montre une bande à sa couleur et une ou deux cartes entières,
   le calendrier est une liste. */
.o-mt b.moins { color: var(--o-ink2); }
.o-mt em { font-style: normal; font-size: 10px; color: var(--o-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 760px) {
  /* les sections : une bande de couleur (titre, phrase, onglets), sans la maquette */
  .o-main.bande .o-scene { height: 116px; }
  .o-main.bande .o-image { display: none; }
  .o-main.bande .o-ex { top: 12px; }
  .o-main.bande .o-salut p { background: none; padding: 0; margin-top: 6px; color: var(--o-ink2); }
  .o-main.bande .o-onglets span { background: color-mix(in oklab, var(--o-carte) 70%, transparent); -webkit-backdrop-filter: none; backdrop-filter: none; }
  /* l'accueil : la maquette en grand, les quatre chiffres dessous */
  .o-main:not(.bande) .o-scene { height: 300px; }
  .o-main[data-page="metier"] .o-tuiles { display: none; }
  .o-main[data-page="metier"] .o-scene { height: 300px; }
  /* les cartes : entières, à leur hauteur (on choisit celles qui tiennent) */
  .o-grille, .o-main.bande .o-grille { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 10px; }
  .o-grille .o-carte, .o-grille .o-carte:nth-child(n+2), .o-main.bande .o-grille .o-carte:nth-child(2) { display: flex; flex: none; height: auto !important; min-height: 0; overflow: visible; }
  .o-grille .o-carte:nth-child(n+3) { display: none; }
  /* l'encaisse : le chiffre, ce qui est engagé et disponible, puis la courbe en pleine largeur */
  .o-solde-g { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .o-solde .o-big { font-size: 30px; }
  .o-solde .o-verifie { margin: 4px 0 8px; }
  .o-solde-graph svg { height: 64px; flex: none; }
  .o-solde-graph .o-legende { margin-top: 4px; }
  .o-c-ventes .o-barres { height: 150px; flex: none; }
  .o-c-objectifs .o-anneau svg { --d: 96px; }
  .o-c-metier .o-lignes, .o-c-metier .o-soir { margin-top: 6px; }

  /* le calendrier : une liste */
  .o-main.cal { height: 100%; }
  .o-cal { inset: 0 12px 84px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
  .o-agenda { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px; }
  .o-agenda h5 { margin: 8px 2px 2px; font: 650 12px/1.2 "Hanken Grotesk", sans-serif; letter-spacing: .02em; color: var(--o-ink3); text-transform: uppercase; }
  .o-agenda ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
  .o-agenda li:not(.maintenant) { display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: center; gap: 10px; padding: 9px 12px 9px 10px; border-radius: 16px; background: var(--o-carte); box-shadow: var(--o-ombre); border-left: 4px solid var(--s); }
  .o-agenda li.passe { opacity: .5; }
  .o-agenda time { display: grid; font: 500 13px/1.2 "IBM Plex Mono", monospace; letter-spacing: -.03em; color: var(--o-ink2); }
  .o-agenda time small { font: 600 10.5px/1.2 "Hanken Grotesk", sans-serif; letter-spacing: 0; color: var(--o-ink3); }
  .o-agenda li > span { display: grid; min-width: 0; }
  .o-agenda li b { font-size: 14px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .o-agenda li span > small { font-size: 12px; color: var(--o-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .o-agenda li.maintenant { display: flex; align-items: center; gap: 8px; margin: -1px 0; color: var(--o-alerte); font: 600 10.5px/1 "IBM Plex Mono", monospace; }
  .o-agenda li.maintenant i { flex: 1; height: 2px; border-radius: 2px; background: currentColor; }
  .o-agenda .o-echeances li { border-left: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; }
  .o-cal.entre .o-agenda li { animation: o-agenda .5s cubic-bezier(.2, .8, .2, 1) backwards; }
  .o-cal.entre .o-agenda ul li:nth-child(2) { animation-delay: .06s; } .o-cal.entre .o-agenda ul li:nth-child(3) { animation-delay: .12s; } .o-cal.entre .o-agenda ul li:nth-child(4) { animation-delay: .18s; }
  @keyframes o-agenda { from { opacity: 0; translate: 0 8px; } }
}

/* ══ 19/10, troisième passe (relecture Codex et propriétaire) ═══════════════════════════════
   · Sous « Bonjour », la date et le nom du commerce passent sur une pastille de verre : lisibles même posés
     sur la maquette.
   · Téléphone : la barre des étapes reste dans la page pour le clavier et les lecteurs d'écran (masquée à
     l'œil) ; son focus s'allume sur la rubrique de la fenêtre (.o-focus). Les cartes se resserrent (.serre)
     ou la dernière s'efface (.cache) pour tenir entières. */
.o-main:not(.bande) .o-salut p { display: inline-block; margin-left: -9px; padding: 3px 9px; border-radius: 99px; background: var(--o-verre); color: var(--o-ink); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.o-focus { outline: 2px solid var(--o-accent); outline-offset: 2px; }

@media (max-width: 760px) {
  .vt-barre { display: flex; position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .vt-barre .vt-etapes { opacity: 1; }
  .o-grille, .o-main.bande .o-grille { position: relative; }
  .o-grille .o-carte.cache { display: none !important; }
  .o-grille.serre { gap: 8px; }
  .o-grille.serre .o-carte { padding-block: 12px; }
  .o-grille.serre .o-solde-graph svg { height: 36px; }
  .o-grille.serre .o-solde-graph .o-legende { display: none; }
  .o-grille.serre2 .o-solde-graph { display: none; }
  .o-grille.serre :is(.o-c-metier .o-lignes, .o-c-metier .o-soir) { margin-top: 2px; }
  .o-grille.serre .o-solde .o-big { font-size: 26px; }
  .o-grille.serre .o-c-ventes .o-barres { height: 104px; }
  .o-grille.serre .o-c-objectifs .o-anneau svg { --d: 80px; }
  /* le bénéfice des six mois (20/10) : le chiffre à gauche, des barres basses à droite, pour tenir sous l'encaisse */
  .o-c-benefice .o-benef { align-items: center; gap: 14px; margin-top: 4px; }
  .o-c-benefice .o-benef-g .o-mbar { width: 100%; height: auto; }
  .o-grille.serre .o-benef-c em + em { display: none; }
}
@media (max-width: 760px) {
  .o-grille.serre .o-lignes li { padding: 4px 0; }
}
/* les téléphones courts : la maquette de l'accueil et du métier laisse plus de place aux cartes */
@media (max-width: 760px) and (max-height: 700px) {
  .o-main:not(.bande) .o-scene, .o-main[data-page="metier"] .o-scene { height: 264px; }
}

/* ══ Le thème « Verre » (19/10, remplace Nature) : épuré, façon verre dépoli ════════════════════════
   Un fond clair et doux, à peine teinté (trois halos pâles), des surfaces de verre translucides et floutées
   avec un liseré clair, une encre graphite et une seule couleur d'accent, le bleu ; les sections se
   déclinent en bleus et en gris. */
:is(.vt-fenetre, .vt-commandes)[data-vibe="verre"] { --o-fond: #EEF1F6; --o-carte: rgba(255, 255, 255, .56); --o-creux: rgba(120, 130, 150, .1); --o-trait: rgba(30, 35, 45, .08); --o-trait2: rgba(30, 35, 45, .15);
  --o-ink: #1D1D1F; --o-ink2: #5F6168; --o-ink3: #9A9CA3; --o-accent: #0A84FF; --o-serie: #8FA6C4; --o-alerte: #F5803E; --o-sur: #FFFFFF;
  --o-ombre: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 0 0 1px rgba(255, 255, 255, .55), 0 10px 30px -16px rgba(30, 40, 60, .28);
  --o-verre: rgba(255, 255, 255, .5); --o-verre-bord: rgba(255, 255, 255, .8); --o-verre-ombre: inset 0 1px 0 rgba(255, 255, 255, .9), 0 14px 34px -16px rgba(30, 40, 60, .32);
  --o-s-fin: #0A84FF; --o-s-equ: #5B9BE8; --o-s-ven: #3A3F48; --o-s-met: #7D8EA8; --o-s-cal: #4A6FA5; --o-s-mkt: #9BB0CC; --o-s-doc: #A4A9B2; }
.vt-fenetre[data-vibe="verre"] { background: radial-gradient(55% 48% at 10% 6%, #D7E5FB, transparent 72%), radial-gradient(48% 44% at 94% 14%, #EFE4F3, transparent 72%),
  radial-gradient(56% 50% at 66% 104%, #DCEEF0, transparent 72%), #EEF1F6; }
.vt-fenetre[data-vibe="verre"] :is(.o-carte, .o-toast, .o-cherche, .o-bouton, .o-rond, .o-apparence, .o-mt),
:is(.vt-fenetre, .vt-commandes)[data-vibe="verre"] .vt-menu { -webkit-backdrop-filter: blur(20px) saturate(1.7); backdrop-filter: blur(20px) saturate(1.7); }
:is(.vt-fenetre, .vt-commandes)[data-vibe="verre"] .vt-menu { background: rgba(255, 255, 255, .72); }
@media (max-width: 760px) {
  .vt-fenetre[data-vibe="verre"] .o-main.bande .o-scene { background: color-mix(in srgb, var(--sc, var(--o-accent)) 10%, rgb(255 255 255 / .7)); }
}

/* 20/10 · ordinateur : plus de boutons de métier ni de thème au-dessus de la fenêtre ; le thème se choisit dans la
   palette (son panneau Apparence), le métier change tout seul pendant la visite */
@media (min-width: 761px) {
  .vt-barre .vt-choix { display: none; }
  .vt-barre { justify-content: flex-end; }
  .o-palette { cursor: pointer; }
  .o-palette:focus-visible, .o-vg:focus-visible { outline: 2px solid var(--o-accent); outline-offset: 3px; }
  .o-apparence.on { pointer-events: auto; }
  .o-vg { cursor: pointer; }
  .o-vg:hover i { box-shadow: 0 0 0 2px var(--o-carte), 0 0 0 4px color-mix(in srgb, var(--o-accent) 50%, transparent); }
}

/* 20/10 · Finances : les dépenses du mois, en anneau (à la place de l'encaisse prévue) */
.o-benef { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: end; gap: 18px; margin-top: 8px; }
.o-benef-c { display: grid; gap: 3px; }
.o-benef-c em { font-style: normal; font-size: 12px; color: var(--o-ink3); }
.o-benef-g .o-mbar { display: block; width: 100%; height: 78px; }
.o-benef-mois { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 5px; }
.o-benef-mois i { font-style: normal; font-size: 10.5px; color: var(--o-ink3); text-align: center; }

