/* Perystyl kit 1.2.0, fichier généré par scripts/build.py : ne pas modifier.
   Thèmes : clair par défaut, data-theme="dark", ou data-theme="system" qui suit le système. */
:root, [data-theme="light"] {
  --ground: #ffffff;
  --surface: #ffffff;
  --sunk: #f4f7fb;
  --raised: #ecf0f7;
  --line: #dfe3ea;
  --line-strong: #858d9a;
  --ink: #112242;
  --ink-2: #384459;
  --muted: #5a6475;
  --entablature: #112242;
  --on-entablature: #ffffff;
  --on-entablature-muted: #b6c1d5;
  --stylobate: #112242;
  --on-stylobate: #ffffff;
  --on-stylobate-muted: #b3bed2;
  --action: #15326a;
  --action-hover: #0c2049;
  --action-soft: #e7effc;
  --on-action: #ffffff;
  --focus: var(--action);
  --scrim: rgba(17,34,66,0.45);
  --success: #0b7643;
  --success-soft: #dff8e6;
  --warning: #9a5a00;
  --warning-soft: #fff2d6;
  --danger: #ba2b2e;
  --danger-soft: #ffeae9;
  --app-sentinel-tile: #ce7600;
  --app-sentinel: #a85300;
  --app-sentinel-soft: #fff0db;
  --app-agora-tile: #007339;
  --app-agora: #007339;
  --app-agora-soft: #e1fbeb;
  --app-scribe-tile: #6b44c4;
  --app-scribe: #6b44c4;
  --app-scribe-soft: #f3f0ff;
  --app-uniflo-tile: #d83d02;
  --app-uniflo: #ca2d00;
  --app-uniflo-soft: #ffece4;
  --app-cards-tile: #9f0043;
  --app-cards: #9f0043;
  --app-cards-soft: #ffeaf1;
  --app-syncs-tile: #037fd9;
  --app-syncs: #006bc4;
  --app-syncs-soft: #e2f6ff;
  --shadow-card: 0 1px 2px rgba(17,34,66,0.06), 0 8px 24px -12px rgba(17,34,66,0.18);
  --shadow-float: 0 2px 4px rgba(17,34,66,0.06), 0 16px 36px -12px rgba(17,34,66,0.28);
}
[data-theme="dark"] {
  --ground: #090e18;
  --surface: #111722;
  --sunk: #050911;
  --raised: #1a212d;
  --line: #272e3b;
  --line-strong: #6d7583;
  --ink: #f0f4f9;
  --ink-2: #cdd3dd;
  --muted: #a2aab8;
  --entablature: #111d36;
  --on-entablature: #f0f4f9;
  --on-entablature-muted: #b2bbcc;
  --stylobate: #04060e;
  --on-stylobate: #e7ebf2;
  --on-stylobate-muted: #a3abb9;
  --action: #c6d8f9;
  --action-hover: #e5efff;
  --action-soft: #1c2a43;
  --on-action: #061431;
  --focus: var(--action);
  --scrim: rgba(0,0,0,0.60);
  --success: #6ad895;
  --success-soft: #122d1d;
  --warning: #f9ba5f;
  --warning-soft: #382409;
  --danger: #fe8a88;
  --danger-soft: #421b1b;
  --app-sentinel-tile: #ce7600;
  --app-sentinel: #d58f37;
  --app-sentinel-soft: #3a2305;
  --app-agora-tile: #007339;
  --app-agora: #4eb07c;
  --app-agora-soft: #0b311e;
  --app-scribe-tile: #6b44c4;
  --app-scribe: #a48ef8;
  --app-scribe-soft: #2a2342;
  --app-uniflo-tile: #d83d02;
  --app-uniflo: #f67a58;
  --app-uniflo-soft: #401e15;
  --app-cards-tile: #9f0043;
  --app-cards: #f67398;
  --app-cards-soft: #3f1c26;
  --app-syncs-tile: #037fd9;
  --app-syncs: #58a3ec;
  --app-syncs-soft: #112a43;
  --shadow-card: 0 1px 2px rgba(0,0,0,0.5), 0 10px 28px -12px rgba(0,0,0,0.7);
  --shadow-float: 0 2px 4px rgba(0,0,0,0.5), 0 18px 40px -10px rgba(0,0,0,0.75);
}
@media (prefers-color-scheme: dark) {
  [data-theme="system"] {
    --ground: #090e18;
    --surface: #111722;
    --sunk: #050911;
    --raised: #1a212d;
    --line: #272e3b;
    --line-strong: #6d7583;
    --ink: #f0f4f9;
    --ink-2: #cdd3dd;
    --muted: #a2aab8;
    --entablature: #111d36;
    --on-entablature: #f0f4f9;
    --on-entablature-muted: #b2bbcc;
    --stylobate: #04060e;
    --on-stylobate: #e7ebf2;
    --on-stylobate-muted: #a3abb9;
    --action: #c6d8f9;
    --action-hover: #e5efff;
    --action-soft: #1c2a43;
    --on-action: #061431;
    --focus: var(--action);
    --scrim: rgba(0,0,0,0.60);
    --success: #6ad895;
    --success-soft: #122d1d;
    --warning: #f9ba5f;
    --warning-soft: #382409;
    --danger: #fe8a88;
    --danger-soft: #421b1b;
    --app-sentinel-tile: #ce7600;
    --app-sentinel: #d58f37;
    --app-sentinel-soft: #3a2305;
    --app-agora-tile: #007339;
    --app-agora: #4eb07c;
    --app-agora-soft: #0b311e;
    --app-scribe-tile: #6b44c4;
    --app-scribe: #a48ef8;
    --app-scribe-soft: #2a2342;
    --app-uniflo-tile: #d83d02;
    --app-uniflo: #f67a58;
    --app-uniflo-soft: #401e15;
    --app-cards-tile: #9f0043;
    --app-cards: #f67398;
    --app-cards-soft: #3f1c26;
    --app-syncs-tile: #037fd9;
    --app-syncs: #58a3ec;
    --app-syncs-soft: #112a43;
    --shadow-card: 0 1px 2px rgba(0,0,0,0.5), 0 10px 28px -12px rgba(0,0,0,0.7);
    --shadow-float: 0 2px 4px rgba(0,0,0,0.5), 0 18px 40px -10px rgba(0,0,0,0.75);
  }
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 72px;
  --space-9: 112px;
  --radius-1: 6px;
  --radius-2: 8px;
  --radius-3: 12px;
  --radius-4: 20px;
  --radius-tile: 8px;
  --radius-dot: 999px;
  --entablature-height: 48px;
  --app-rule: 2px;
  --columns: 12;
  --sidebar-width: 232px;
  --switcher-width: 344px;
  --signin-width: 420px;
  --control-height: 36px;
  --tap-target: 44px;
  --tile-l: 48px;
  --tile-m: 32px;
  --tile-s: 24px;
  --tile-xs: 16px;
  --measure: 68ch;
  --content-max: 1200px;
  --breakpoint: 880px;
  --font-display: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --font-text: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --font-email: "Segoe UI", Helvetica, Arial, sans-serif;
}
.display-xl { font-family: var(--font-display); font-size: 56px; line-height: 60px; font-weight: 700; letter-spacing: -0.03em; }
.display-l { font-family: var(--font-display); font-size: 40px; line-height: 46px; font-weight: 700; letter-spacing: -0.025em; }
.title-1 { font-family: var(--font-display); font-size: 30px; line-height: 36px; font-weight: 650; letter-spacing: -0.02em; }
.title-2 { font-family: var(--font-display); font-size: 22px; line-height: 28px; font-weight: 650; letter-spacing: -0.015em; }
.title-3 { font-family: var(--font-display); font-size: 16px; line-height: 22px; font-weight: 600; }
.lead { font-family: var(--font-text); font-size: 19px; line-height: 30px; font-weight: 400; }
.body { font-family: var(--font-text); font-size: 16px; line-height: 26px; font-weight: 400; }
.ui { font-family: var(--font-text); font-size: 14px; line-height: 20px; font-weight: 400; }
.control { font-family: var(--font-text); font-size: 14px; line-height: 20px; font-weight: 600; }
.small { font-family: var(--font-text); font-size: 13px; line-height: 18px; font-weight: 400; }
.eyebrow { font-family: var(--font-text); font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: 0.08em; }
.label { font-family: var(--font-text); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.06em; }
.code { font-family: var(--font-mono); font-size: 13px; line-height: 20px; font-weight: 400; }
.figure { font-family: var(--font-mono); font-size: 14px; line-height: 20px; font-weight: 500; }
.email-title { font-family: var(--font-email); font-size: 22px; line-height: 28px; font-weight: 600; }
.email-body { font-family: var(--font-email); font-size: 15px; line-height: 24px; font-weight: 400; }

/* Perystyl kit 1.2.0, fichier généré par scripts/build.py : ne pas modifier. : composants */

/* Perystyl v3 « Institution claire » : le châssis commun. Préfixe py-. Toutes les valeurs viennent des jetons (tokens.css).
   Fond blanc net, encre bleu nuit, une couleur franche par app. L'architecture reste en filigrane :
   une barre nette en haut (l'entablement), une grille régulière (les colonnes), un socle en bas (le stylobate). */

/* L'app n'apporte que sa couleur : data-app sur <html> ou sur un bloc. */
:root { --app: var(--action); --app-soft: var(--action-soft); --app-tile: var(--ink); }
[data-app="sentinel"] { --app: var(--app-sentinel); --app-soft: var(--app-sentinel-soft); --app-tile: var(--app-sentinel-tile); }
[data-app="agora"]    { --app: var(--app-agora);    --app-soft: var(--app-agora-soft);    --app-tile: var(--app-agora-tile); }
[data-app="scribe"]   { --app: var(--app-scribe);   --app-soft: var(--app-scribe-soft);   --app-tile: var(--app-scribe-tile); }
[data-app="uniflo"]   { --app: var(--app-uniflo);   --app-soft: var(--app-uniflo-soft);   --app-tile: var(--app-uniflo-tile); }
[data-app="cards"]    { --app: var(--app-cards);    --app-soft: var(--app-cards-soft);    --app-tile: var(--app-cards-tile); }
[data-app="syncs"]    { --app: var(--app-syncs);    --app-soft: var(--app-syncs-soft);    --app-tile: var(--app-syncs-tile); }

html { color-scheme: light; }
[data-theme="dark"] { color-scheme: dark; }
@media (prefers-color-scheme: dark) { [data-theme="system"] { color-scheme: dark; } [data-theme="system"] .py-portico__beam { background: var(--line-strong); } }
[data-theme] { color: var(--ink); }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font-text); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-variant-numeric: lining-nums; }
*, *::before, *::after { box-sizing: border-box; }

/* Typographie : titres en Instrument Sans 600 à 700, approche resserrée. */
.display-xl, .display-l, .title-1, .title-2, .title-3 { color: var(--ink); margin: 0; text-wrap: balance; }
.eyebrow, .label { text-transform: uppercase; font-variant-numeric: lining-nums tabular-nums; }
.figure, .py-num { font-variant-numeric: lining-nums tabular-nums; }
.py-muted { color: var(--muted); }
.py-link, .py a { color: var(--action); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.py-link:hover { color: var(--action-hover); text-decoration-thickness: 2px; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.py-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.py-on-ink :focus-visible, .py-suitebar :focus-visible, .py-footer :focus-visible { outline-color: currentColor; }

/* Identité */
.py-symbol { display: block; width: auto; height: 20px; color: var(--ink); }
.py-logotype { display: block; height: 15px; width: auto; color: var(--ink); overflow: visible; }
.py-lockup { display: block; height: 28px; width: auto; color: var(--ink); overflow: visible; }
.py-tile { display: block; flex: none; width: var(--tile-l); height: var(--tile-l); }
.py-tile--xl { width: 64px; height: 64px; }
.py-tile--m { width: var(--tile-m); height: var(--tile-m); }
.py-tile--s { width: var(--tile-s); height: var(--tile-s); }
.py-tile--xs { width: var(--tile-xs); height: var(--tile-xs); }

/* Surtitre : petites capitales, une ligne, jamais une frise. */
.py-eyebrow { display: inline-flex; align-items: center; gap: var(--space-2); margin: 0; font: 600 13px/18px var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--app); }
.py-eyebrow .py-tile { width: 20px; height: 20px; }
.py-eyebrow--neutral { color: var(--muted); }

/* Preuves : trois faits concrets, une coche de la couleur de l'app. */
.py-proofs { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin: 0; padding: 0; list-style: none; font: 500 14px/20px var(--font-text); color: var(--ink-2); }
.py-proofs li { display: inline-flex; align-items: center; gap: var(--space-2); }
.py-proofs li > span { display: inline; }
.py-proofs li::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: var(--radius-dot); background: var(--app-tile) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E") center/16px no-repeat; }
.py-proofs strong { color: var(--ink); font-weight: 600; }

/* Boutons : une seule couleur d'action pour toute la suite, le bleu nuit. */
.py-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); height: var(--control-height); padding: 0 var(--space-4); border: 1px solid var(--line-strong); border-radius: var(--radius-1); background: var(--surface); color: var(--ink); font: 600 14px/20px var(--font-text); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .12s, border-color .12s, color .12s; }
.py-btn:hover { background: var(--sunk); }
.py-btn--primary { background: var(--action); border-color: var(--action); color: var(--on-action); }
.py-btn--primary:hover { background: var(--action-hover); border-color: var(--action-hover); }
.py-btn--quiet { border-color: transparent; background: transparent; color: var(--action); }
.py-btn--quiet:hover { background: var(--action-soft); }
.py-btn--danger { color: var(--danger); border-color: var(--danger); background: var(--surface); }
.py-btn--danger:hover { background: var(--danger-soft); }
.py-btn--block { display: flex; width: 100%; }
.py-btn--lg { height: 48px; padding: 0 var(--space-5); font-size: 16px; border-radius: var(--radius-2); }
.py-btn--on-ink { background: var(--on-entablature); border-color: var(--on-entablature); color: var(--entablature); }
.py-btn--on-ink:hover { background: transparent; color: var(--on-entablature); }
.py-btn[disabled], .py-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
@media (max-width: 880px) { .py-btn { min-height: var(--tap-target); } }

/* Champs */
.py-field { display: grid; gap: 6px; }
.py-field__label { font: 600 14px/20px var(--font-text); color: var(--ink); }
.py-field__help { font-size: 13px; line-height: 18px; color: var(--muted); }
.py-field__error { font: 600 13px/18px var(--font-text); color: var(--danger); }
.py-input { width: 100%; height: var(--control-height); padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-1); background: var(--surface); color: var(--ink); font: 400 14px/20px var(--font-text); }
.py-input::placeholder { color: var(--muted); }
.py-input:focus-visible { outline: 2px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
.py-field--error .py-input { border-color: var(--danger); }
textarea.py-input { padding-top: 7px; resize: vertical; }

/* Cartes */
.py-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-2); padding: var(--space-5); }
.py-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-2); }
.py-card__meta { font-size: 13px; line-height: 18px; color: var(--muted); white-space: nowrap; }

/* Badges d'état : un point et un mot */
.py-badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: var(--radius-dot); font: 600 13px/18px var(--font-text); white-space: nowrap; background: var(--raised); color: var(--ink-2); }
.py-badge::before { content: ""; width: 6px; height: 6px; border-radius: var(--radius-dot); background: currentColor; }
.py-badge--success { background: var(--success-soft); color: var(--success); }
.py-badge--warning { background: var(--warning-soft); color: var(--warning); }
.py-badge--danger { background: var(--danger-soft); color: var(--danger); }
.py-badge--neutral { background: var(--raised); color: var(--ink-2); }

/* Tableaux */
.py-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-2); overflow: hidden; font: 400 14px/20px var(--font-text); color: var(--ink-2); }
.py-table th { text-align: left; padding: 10px 16px; background: var(--sunk); border-bottom: 1px solid var(--line); font: 600 12px/16px var(--font-text); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.py-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.py-table tr:last-child td { border-bottom: 0; }
.py-table tbody tr:hover td { background: var(--sunk); }
.py-table tr[aria-selected="true"] td { background: var(--action-soft); color: var(--ink); }
.py-table .num { text-align: right; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.py-table strong { color: var(--ink); font-weight: 600; }

/* La barre de suite : une barre bleu nuit nette, identique dans les six apps. */
.py-suitebar { position: relative; display: flex; align-items: center; gap: var(--space-3); height: var(--entablature-height); padding: 0 var(--space-3) 0 var(--space-2); background: var(--entablature); color: var(--on-entablature); font: 400 14px/20px var(--font-text); }
.py-suitebar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--app-rule); background: var(--app-tile); }
.py-suitebar__switch { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: var(--radius-1); background: transparent; color: var(--on-entablature); cursor: pointer; }
.py-suitebar__switch:hover, .py-suitebar__switch[aria-expanded="true"] { background: rgba(255,255,255,.12); }
.py-suitebar__switch .py-symbol { height: 17px; color: currentColor; }
.py-suitebar__app { display: inline-flex; align-items: center; gap: 10px; color: var(--on-entablature); text-decoration: none; font: 650 16px/20px var(--font-display); letter-spacing: -.01em; }
.py-suitebar__sep { width: 1px; height: 20px; background: rgba(255,255,255,.22); }
.py-suitebar__org { color: var(--on-entablature-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.py-suitebar__end { margin-left: auto; display: flex; align-items: center; gap: var(--space-3); }
.py-suitebar__account { color: var(--on-entablature-muted); text-decoration: none; }
.py-suitebar__account:hover { color: var(--on-entablature); text-decoration: underline; }
.py-suitebar .py-avatar { background: var(--on-entablature); color: var(--entablature); }
.py-avatar { display: inline-grid; place-items: center; text-decoration: none; width: 28px; height: 28px; border-radius: var(--radius-dot); background: var(--action-soft); color: var(--action); font: 600 12px/1 var(--font-text); flex: none; }
@media (max-width: 880px) { .py-suitebar__org, .py-suitebar__sep, .py-suitebar__account { display: none; } }

/* Sélecteur d'applications */
.py-switcher { width: var(--switcher-width); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-3); box-shadow: var(--shadow-float); overflow: hidden; }
.py-switcher__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px; }
.py-switcher__head .py-lockup { height: 22px; }
.py-switcher__head span { font-size: 13px; color: var(--muted); }
.py-switcher__list { margin: 0; padding: 4px 8px 8px; list-style: none; }
.py-switcher__app { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--radius-2); color: var(--ink); text-decoration: none; }
.py-switcher__app:hover { background: var(--sunk); }
.py-switcher__app[aria-current="page"] { background: var(--app-soft); }
.py-switcher__name { display: block; font: 600 15px/20px var(--font-display); }
.py-switcher__role { display: block; font-size: 13px; line-height: 18px; color: var(--muted); }
.py-switcher__app--off .py-tile { filter: grayscale(1); opacity: .45; }
.py-switcher__app--off .py-switcher__name { color: var(--ink-2); }
.py-switcher__more { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--action); text-decoration: underline; text-underline-offset: .2em; }
.py-switcher__foot { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--sunk); border-top: 1px solid var(--line); font-size: 13px; line-height: 18px; }

/* Navigation latérale */
.py-sidenav { width: var(--sidebar-width); flex: none; padding: var(--space-3) var(--space-2); background: var(--sunk); border-right: 1px solid var(--line); font: 400 14px/20px var(--font-text); }
.py-sidenav__group { margin: var(--space-4) var(--space-3) var(--space-1); font: 600 12px/16px var(--font-text); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.py-sidenav__item { position: relative; display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 var(--space-3); border-radius: var(--radius-1); color: var(--ink-2); text-decoration: none; }
.py-sidenav__item:hover { background: var(--raised); color: var(--ink); }
.py-sidenav__item[aria-current="page"] { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); }
.py-sidenav__item[aria-current="page"]::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: var(--app-tile); }
.py-sidenav__count { margin-left: auto; font: 400 12px/16px var(--font-mono); color: var(--muted); }
.py-sidenav svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* État vide */
.py-empty { max-width: 560px; padding: var(--space-7) var(--space-5); }
.py-empty__mark { height: 28px; color: var(--line-strong); margin-bottom: var(--space-5); }
.py-empty__title { margin: var(--space-2) 0 var(--space-3); }
.py-empty__text { margin: 0 0 var(--space-5); color: var(--ink-2); font-size: 15px; line-height: 24px; }
.py-empty__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* Connexion et consentement */
.py-signin { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-4); min-height: 100%; padding: var(--space-7) var(--space-4); background: var(--sunk); }
.py-signin__card { width: 100%; max-width: var(--signin-width); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-3); box-shadow: var(--shadow-card); overflow: hidden; }
.py-signin__card::before { content: ""; display: block; height: 4px; background: var(--app-tile); }
.py-signin__app { display: flex; align-items: center; gap: 10px; padding: var(--space-5) var(--space-6) 0; font: 650 17px/22px var(--font-display); color: var(--ink); }
.py-signin__app small { margin-left: auto; font: 400 12px/16px var(--font-text); color: var(--muted); text-align: right; }
.py-signin__body { padding: var(--space-4) var(--space-6) var(--space-6); }
.py-signin__title { margin: 0 0 var(--space-1); }
.py-signin__sub { margin: 0 0 var(--space-5); font-size: 14px; line-height: 21px; color: var(--ink-2); }
.py-signin__methods { display: grid; gap: var(--space-2); }
.py-signin__or { display: flex; align-items: center; gap: var(--space-3); margin: var(--space-4) 0; font-size: 13px; color: var(--muted); }
.py-signin__or::before, .py-signin__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.py-signin__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); width: 100%; max-width: var(--signin-width); font-size: 13px; line-height: 18px; color: var(--muted); }
.py-signin__foot a { color: var(--muted); }
.py-signin__suite { display: flex; align-items: center; gap: 6px; width: 100%; max-width: var(--signin-width); font-size: 13px; line-height: 18px; color: var(--muted); }
.py-signin__suite .py-tile { width: 16px; height: 16px; }
.py-signin__suite span { margin-left: 6px; }
.py-lang { display: inline-flex; gap: 0; }
.py-lang > * + *::before { content: "·"; margin: 0 .45em; color: var(--muted); }
.py-lang [aria-current="true"] { color: var(--ink); font-weight: 700; text-decoration: none; }
.py-lang a { color: var(--muted); text-decoration: none; }
.py-provider { justify-content: flex-start; padding-left: 14px; gap: 12px; height: 42px; }
.py-provider__mark { width: 18px; height: 18px; flex: none; }

.py-consent__client { display: flex; align-items: center; gap: 12px; padding: 12px; margin-bottom: var(--space-4); background: var(--sunk); border: 1px solid var(--line); border-radius: var(--radius-2); }
.py-consent__client-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--radius-1); background: var(--ink); color: var(--ground); font: 700 15px/1 var(--font-text); }
.py-consent__client-name { display: block; font-weight: 600; font-size: 15px; line-height: 20px; color: var(--ink); }
.py-consent__client-id { display: block; font: 400 12px/16px var(--font-mono); color: var(--muted); }
.py-consent__scopes { margin: 0 0 var(--space-4); padding: 0; list-style: none; }
.py-consent__scope { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 20px; color: var(--ink-2); }
.py-consent__scope:last-child { border-bottom: 1px solid var(--line); }
.py-consent__scope strong { color: var(--ink); font-weight: 600; }
.py-consent__note { margin: 0 0 var(--space-5); font-size: 13px; line-height: 19px; color: var(--muted); }
.py-consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }

/* Mails transactionnels */
.py-mail { width: 600px; max-width: 100%; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-2); overflow: hidden; font-family: var(--font-email); }
.py-mail__head { position: relative; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 24px; background: var(--entablature); color: var(--on-entablature); font: 600 17px/22px var(--font-email); }
.py-mail__head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--app-tile); }
.py-mail__suite { margin-left: auto; display: flex; align-items: center; gap: 8px; font: 400 12px/16px var(--font-email); color: var(--on-entablature-muted); }
.py-mail__suite .py-symbol { height: 12px; color: currentColor; }
.py-mail__body { padding: 32px 32px 24px; color: var(--ink-2); font: 400 15px/24px var(--font-email); }
.py-mail__body h1 { margin: 0 0 16px; font: 600 22px/28px var(--font-email); color: var(--ink); }
.py-mail__body p { margin: 0 0 16px; }
.py-mail__foot { padding: 16px 32px; background: var(--sunk); border-top: 1px solid var(--line); font: 400 12px/18px var(--font-email); color: var(--muted); }

/* Vitrines : en-tête, hero, scène produit */
.py-site { background: var(--ground); color: var(--ink); }
.py-site__wrap { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--space-6); }
.py-site__header { border-bottom: 1px solid var(--line); background: var(--ground); }
.py-site__header .py-site__wrap { display: flex; align-items: center; gap: var(--space-6); height: 68px; }
.py-site__brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 19px/24px var(--font-display); letter-spacing: -.015em; }
.py-site__brand .py-lockup { height: 26px; }
.py-site__nav { display: flex; gap: var(--space-5); font: 500 15px/20px var(--font-text); }
.py-site__nav a { color: var(--ink-2); text-decoration: none; }
.py-site__nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .3em; }
.py-site__cta { margin-left: auto; display: flex; gap: var(--space-2); }

.py-hero { padding: var(--space-8) 0 var(--space-8); }
.py-hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-7); align-items: center; }
.py-hero__text { display: grid; gap: var(--space-5); justify-items: start; }
.py-hero__title { font-size: 54px; line-height: 58px; }
.py-hero__lead { margin: 0; max-width: 34em; color: var(--ink-2); }
.py-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.py-hero__proof { margin-top: var(--space-1); }
@media (max-width: 880px) {
  .py-hero__grid { grid-template-columns: 1fr; }
  .py-hero__title { font-size: 38px; line-height: 44px; }
  .py-site__nav { display: none; }
}

/* La scène : une teinte douce de l'app, une barre de sa couleur en haut (l'entablement), une capture produit. */
.py-stage { position: relative; padding: 40px 36px 84px; background: var(--app-soft); border-radius: var(--radius-4); overflow: hidden; }
.py-stage::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--app-tile); }
.py-shot { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-3); box-shadow: var(--shadow-card); overflow: hidden; }
.py-shot .py-suitebar { height: 40px; font-size: 12px; }
.py-shot .py-suitebar__app { font-size: 14px; }
.py-shot .py-suitebar .py-avatar { width: 24px; height: 24px; font-size: 10px; }
.py-shot__body { padding: 20px 22px 22px; display: grid; gap: 12px; }
.py-shot__row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-2); font-size: 14px; line-height: 20px; color: var(--ink-2); background: var(--surface); }
.py-shot__row strong { color: var(--ink); font-weight: 600; }
.py-shot__row .py-badge { margin-left: auto; }
.py-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-3); box-shadow: var(--shadow-float); font-size: 13px; line-height: 18px; color: var(--ink-2); }
.py-chip strong { display: block; font: 600 14px/18px var(--font-text); color: var(--ink); }
.py-chip .py-tile { width: 32px; height: 32px; }

/* Bloc « fait partie de Perystyl » */
.py-partof { background: var(--sunk); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.py-partof__inner { max-width: var(--content-max); margin: 0 auto; padding: var(--space-7) var(--space-6); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-7); align-items: center; }
.py-partof__title { margin: var(--space-2) 0 var(--space-3); }
.py-partof__text { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 26px; }
.py-partof__apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.py-partof__apps a { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-2); color: var(--ink); text-decoration: none; font: 600 15px/20px var(--font-display); }
.py-partof__apps a span { display: block; font: 400 13px/18px var(--font-text); color: var(--muted); }
.py-partof__apps a:hover { border-color: var(--line-strong); }
.py-partof__apps a[aria-current="page"] { background: var(--app-soft); border-color: var(--app); }
.py-partof__apps .py-tile { width: 36px; height: 36px; }
@media (max-width: 880px) { .py-partof__inner { grid-template-columns: 1fr; } .py-partof__apps { grid-template-columns: 1fr 1fr; } }

/* Le portique de la suite : une barre bleu nuit qui couvre six applications (perystyl.com). */
.py-portico { display: grid; gap: 0; }
.py-portico__beam { height: 10px; background: var(--entablature); border-radius: var(--radius-1) var(--radius-1) 0 0; }
[data-theme="dark"] .py-portico__beam { background: var(--line-strong); }
.py-portico__cols { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-3); padding-top: var(--space-3); }
.py-portico__col { display: grid; align-content: start; gap: 10px; padding: var(--space-4); background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--app-tile); border-radius: 0 0 var(--radius-2) var(--radius-2); color: var(--ink); text-decoration: none; min-height: 196px; }
.py-portico__col:hover { background: var(--app-soft); }
.py-portico__name { font: 650 18px/22px var(--font-display); letter-spacing: -.01em; }
.py-portico__role { font: 600 12px/16px var(--font-text); letter-spacing: .06em; text-transform: uppercase; color: var(--app); }
.py-portico__does { font-size: 14px; line-height: 20px; color: var(--ink-2); }
.py-portico__base { height: 6px; margin-top: var(--space-3); background: var(--line); border-radius: 0 0 var(--radius-1) var(--radius-1); }
@media (max-width: 880px) { .py-portico__cols { grid-template-columns: 1fr 1fr; } }

/* Colonnade : la section « Les six applications » de perystyl.com */
.py-court { display: grid; gap: var(--space-6); }
.py-court__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-6); align-items: end; }
.py-court__head p { margin: 0; color: var(--ink-2); }
.py-court__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.py-court__room { display: grid; align-content: start; justify-items: start; gap: 6px; padding: var(--space-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-3); color: var(--ink); text-decoration: none; }
.py-court__room:hover { border-color: var(--app); box-shadow: var(--shadow-card); }
.py-court__room .py-tile { margin-bottom: 8px; }
.py-court__name { font: 650 19px/24px var(--font-display); letter-spacing: -.01em; }
.py-court__role { font: 600 12px/16px var(--font-text); letter-spacing: .06em; text-transform: uppercase; color: var(--app); }
.py-court__does { font-size: 14px; line-height: 21px; color: var(--ink-2); }
.py-court__links { grid-column: 2; margin-top: 8px; font-size: 13px; line-height: 18px; color: var(--muted); }
.py-court__base { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); align-items: center; padding: var(--space-4) var(--space-5); background: var(--sunk); border: 1px solid var(--line); border-radius: var(--radius-3); }
@media (max-width: 880px) { .py-court__grid, .py-court__head { grid-template-columns: 1fr; } }

/* Ordres (page « Pourquoi Perystyl ») */
.py-orders { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.py-orders > div { display: grid; gap: var(--space-2); align-content: start; padding: var(--space-5); border: 1px solid var(--line); border-radius: var(--radius-3); background: var(--surface); }
.py-orders svg { height: 92px; width: auto; color: var(--ink); margin-bottom: var(--space-2); }
.py-orders h3 { margin: 0; }
.py-orders p { margin: 0; font-size: 14px; line-height: 21px; color: var(--ink-2); }

/* Pied de page : le socle bleu nuit */
.py-footer { background: var(--stylobate); color: var(--on-stylobate); font-size: 14px; line-height: 22px; }
.py-footer .py-site__wrap { padding-top: var(--space-7); padding-bottom: var(--space-5); }
.py-footer__cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-6); padding-bottom: var(--space-6); }
.py-footer h3 { margin: 0 0 var(--space-3); font: 600 13px/18px var(--font-text); color: var(--on-stylobate-muted); }
.py-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.py-footer a { color: var(--on-stylobate); text-decoration: none; }
.py-footer a:hover { text-decoration: underline; }
.py-footer__brand .py-lockup { height: 28px; color: var(--on-stylobate); margin-bottom: var(--space-4); }
.py-footer__brand p { margin: 0; max-width: 22em; color: var(--on-stylobate-muted); }
.py-footer__apps { display: flex; gap: 6px; margin-top: var(--space-4); }
.py-footer__apps .py-tile { width: 24px; height: 24px; }
.py-footer__base { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); padding-top: var(--space-4); border-top: 1px solid rgba(255,255,255,.16); font-size: 13px; color: var(--on-stylobate-muted); }
.py-footer__base .py-lang { margin-left: auto; }
.py-footer__base a { color: var(--on-stylobate-muted); }
.py-footer .py-lang [aria-current="true"] { color: var(--on-stylobate); }
.py-footer .py-lang > * + *::before { color: var(--on-stylobate-muted); }
@media (max-width: 880px) { .py-footer__cols { grid-template-columns: 1fr 1fr; } }

/* Déclinaisons : vignette de partage, couverture, carte, invitation, signature */
.py-og { position: relative; display: grid; grid-template-columns: 1fr 470px; width: 1200px; height: 630px; margin: 0 auto; background: var(--ground); overflow: hidden; }
.py-og__text { display: grid; align-content: center; gap: 28px; padding: 0 64px 0 72px; }
.py-og__title { margin: 0; font: 700 64px/68px var(--font-display); letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
.py-og__foot { display: flex; align-items: center; gap: 14px; font: 500 22px/28px var(--font-text); color: var(--muted); }
.py-og__foot .py-lockup { height: 34px; }
.py-og__art { position: relative; display: grid; place-items: center; background: var(--app-tile); }
.py-og__art svg { width: 260px; height: 260px; }
.py-og__base { position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: var(--entablature); }

.py-doc { display: grid; grid-template-rows: auto 1fr auto auto; width: 560px; height: 792px; background: #ffffff; color: #112242; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.py-doc__band { position: relative; display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 40px; background: #112242; color: #ffffff; font: 600 13px/16px var(--font-text); letter-spacing: .06em; text-transform: uppercase; }
.py-doc__band::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; background: var(--app-tile); }
.py-doc__band .py-logotype { height: 13px; color: #ffffff; }
.py-doc__main { display: grid; align-content: start; gap: 18px; padding: 96px 48px 0; }
.py-doc__type { font: 600 13px/18px var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--app-print); }
.py-doc__title { margin: 0; font: 700 40px/46px var(--font-display); letter-spacing: -.025em; color: #112242; text-wrap: balance; }
.py-doc__meta { margin: 0; font-size: 14px; line-height: 20px; color: #5a6475; }
.py-doc__art { display: flex; align-items: center; gap: 16px; margin: 0 48px 40px; padding: 20px; background: var(--app-print-soft); border-radius: var(--radius-3); font-size: 14px; line-height: 20px; color: #384459; }
.py-doc__art .py-tile { width: 56px; height: 56px; }
.py-doc__base { display: flex; justify-content: space-between; padding: 16px 48px; border-top: 1px solid #dfe3ea; font-size: 12px; line-height: 16px; color: #5a6475; }

.py-namecard { position: relative; display: grid; grid-template-rows: 1fr auto; width: 510px; height: 300px; padding: 30px 32px 24px 38px; background: #ffffff; color: #112242; border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow-card); overflow: hidden; }
.py-namecard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--app-tile); }
.py-namecard__top { display: flex; justify-content: space-between; align-items: flex-start; }
.py-namecard__name { margin: 0; font: 700 26px/30px var(--font-display); letter-spacing: -.02em; }
.py-namecard__role { margin: 6px 0 0; font-size: 15px; line-height: 21px; color: #384459; }
.py-namecard__lines { font: 400 14px/22px var(--font-mono); color: #384459; }
.py-namecard__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 14px; border-top: 1px solid #dfe3ea; font-size: 12px; color: #5a6475; }
.py-namecard__foot .py-lockup { height: 16px; color: #112242; }

.py-invite { display: grid; grid-template-rows: auto 1fr auto; width: 520px; height: 700px; background: #ffffff; color: #112242; border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow-card); overflow: hidden; }
.py-invite__band { display: flex; align-items: center; justify-content: space-between; height: 140px; padding: 0 40px; background: var(--app-tile); color: #ffffff; }
.py-invite__band .py-tile { width: 64px; height: 64px; }
.py-invite__band span { font: 600 13px/18px var(--font-text); letter-spacing: .08em; text-transform: uppercase; }
.py-invite__main { display: grid; align-content: start; gap: 14px; padding: 40px; }
.py-invite__kicker { font: 600 13px/18px var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--app-print); }
.py-invite__title { margin: 0; font: 700 36px/42px var(--font-display); letter-spacing: -.025em; }
.py-invite__when { margin: 0 0 12px; font-size: 16px; line-height: 25px; color: #384459; }
.py-invite__base { display: flex; justify-content: space-between; align-items: center; padding: 16px 40px; border-top: 1px solid #dfe3ea; font-size: 12px; color: #5a6475; }
.py-invite__base .py-lockup { height: 16px; color: #112242; }

.py-sig { font: 400 13px/20px var(--font-email); color: var(--ink-2); padding-top: 12px; border-top: 2px solid var(--ink); max-width: 460px; }
.py-sig__name { font-weight: 600; font-size: 15px; color: var(--ink); }
.py-sig__app { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12px; line-height: 16px; color: var(--muted); }

/* Encre d'impression (documents, cartes) : valeurs claires, quel que soit le thème de l'écran. Bloc généré par build_v3.py. */
.py-print { --app-print: var(--app); --app-print-soft: var(--app-soft); }
[data-app="sentinel"].py-print, [data-app="sentinel"] .py-print { --app-print: #a85300; --app-print-soft: #fff0db; }
[data-app="agora"].py-print, [data-app="agora"] .py-print { --app-print: #007339; --app-print-soft: #e1fbeb; }
[data-app="scribe"].py-print, [data-app="scribe"] .py-print { --app-print: #6b44c4; --app-print-soft: #f3f0ff; }
[data-app="uniflo"].py-print, [data-app="uniflo"] .py-print { --app-print: #ca2d00; --app-print-soft: #ffece4; }
[data-app="cards"].py-print, [data-app="cards"] .py-print { --app-print: #9f0043; --app-print-soft: #ffeaf1; }
[data-app="syncs"].py-print, [data-app="syncs"] .py-print { --app-print: #006bc4; --app-print-soft: #e2f6ff; }


/* Kit : le sélecteur s'ouvre depuis le symbole de la barre. <details> garantit l'ouverture au clavier sans script ; templates/switcher.js ferme au clic extérieur et sur Échap. */
.py-suitebar__menu { position: relative; }
.py-suitebar__menu > summary { list-style: none; }
.py-suitebar__menu > summary::-webkit-details-marker { display: none; }
.py-suitebar__menu[open] > summary { background: rgba(255,255,255,.12); }
.py-suitebar__menu > .py-switcher { position: absolute; top: calc(100% + 6px); left: 0; z-index: 50; max-width: calc(100vw - 16px); color: var(--ink); }
.py-switcher__current { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.py-suitebar__app .py-suitebar__name { white-space: nowrap; }
@media (max-width: 420px) { .py-suitebar__app .py-suitebar__name { display: none; } }
