/* police Onest hébergée sur le serveur (licence OFL : /static/fonts/OFL.txt) : aucun appel à Google */
@font-face{font-family:'Onest';font-style:normal;font-display:swap;font-weight:400;src:url(/static/fonts/onest-400.woff2) format('woff2')}@font-face{font-family:'Onest';font-style:normal;font-display:swap;font-weight:500;src:url(/static/fonts/onest-500.woff2) format('woff2')}@font-face{font-family:'Onest';font-style:normal;font-display:swap;font-weight:600;src:url(/static/fonts/onest-600.woff2) format('woff2')}
/* QR Équipement — espace artisan et page client. Mêmes couleurs que le site. */
:root {
  --bg: #f7f9fa; --surface: #ecf0f2; --card: #ffffff; --ink: #1f3038; --muted: #5d6b72; --text: #34474f;
  --accent: #0d7480; --accent-ink: #ffffff; --accent-soft: #dcefef;
  --line: rgb(31 48 56 / .14); --line-soft: rgb(31 48 56 / .08);
  --ok: #1d6b3a; --ok-soft: #e1f2e6; --warn: #8a4b00; --warn-soft: #fbeedb; --err: #a3242a; --err-soft: #fbe3e3; --info: #1f4f86; --info-soft: #e1ebf8;
  --font: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 12px; --r-btn: 10px; --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) { :root {
  --bg: #0f171b; --surface: #172228; --card: #142026; --ink: #e6eef1; --muted: #9aabb2; --text: #c8d5da;
  --accent: #46b8c3; --accent-ink: #062a2e; --accent-soft: #123a3f;
  --line: rgb(230 238 241 / .16); --line-soft: rgb(230 238 241 / .08);
  --ok: #7fd49a; --ok-soft: #12301d; --warn: #f2bc6b; --warn-soft: #36260d; --err: #f19a9e; --err-soft: #3a1517; --info: #9cc3f2; --info-soft: #14263b;
} }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-weight: 500; line-height: 1.2; margin: 0 0 16px; text-wrap: balance; }
h1 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.01em; }
h2 { font-size: 20px; }
p { margin: 0 0 12px; max-width: 44em; }
a { color: var(--accent); text-underline-offset: 3px; }
code { font: 13px/1.4 ui-monospace, Menlo, monospace; background: var(--surface); padding: 2px 6px; border-radius: 6px; word-break: break-all; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 10px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }
small, .small { font-size: 14px; color: var(--muted); }
.muted { color: var(--muted); }
.lead { font-size: 18px; color: var(--text); max-width: 46em; }
.hint { font-size: 14px; color: var(--muted); max-width: 44em; }
.label { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 6px; }
.req { font-size: 13px; color: var(--muted); font-weight: 400; }

/* boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: var(--r-btn); border: 1px solid transparent; font: 500 15px/1.2 var(--font); text-decoration: none; cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none; transition: transform 120ms var(--ease-out), background-color 150ms, border-color 150ms; }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--secondary { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn--danger { background: var(--card); color: var(--err); border-color: color-mix(in oklab, var(--err) 45%, transparent); }
.btn--small { min-height: 44px; padding: 8px 12px; font-size: 14px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: color-mix(in oklab, var(--accent) 86%, var(--ink)); }
  .btn--secondary:hover { border-color: var(--ink); }
  .btn--danger:hover { background: var(--err-soft); }
}
.linkbtn { background: none; border: 0; padding: 12px 0; min-height: 44px; font: 500 15px var(--font); color: var(--accent); cursor: pointer; text-align: left; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 12px 0; }
.actions .link { display: inline-flex; align-items: center; min-height: 44px; }
.inline { display: inline-flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0; }

/* formulaires */
.form { display: grid; gap: 14px; }
.form--row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-top: 16px; }
.form--row .field { flex: 1 1 260px; }
.field label { display: grid; gap: 6px; font-size: 15px; font-weight: 500; color: var(--ink); }
.field .hint { margin: 6px 0 0; font-weight: 400; }
input, select, textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-btn); background: var(--card); color: var(--ink); font: 400 16px/1.4 var(--font); }
input[type="file"] { padding: 8px; }
input[type="checkbox"] { width: 22px; height: 22px; min-height: 0; flex: none; margin: 1px 0 0; accent-color: var(--accent); }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; min-height: 44px; padding: 10px 0; cursor: pointer; }
.group { border: 1px solid var(--line-soft); border-radius: var(--r); padding: 14px 16px 16px; margin: 0; display: grid; gap: 12px; }
.group legend { padding: 0 6px; font-weight: 500; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }

/* messages */
.flash, .banner { padding: 12px 16px; border-radius: var(--r); margin: 0 0 18px; font-size: 15px; max-width: 70em; }
.flash--ok { background: var(--ok-soft); color: var(--ok); }
.flash--err { background: var(--err-soft); color: var(--err); }
.flash--warn, .banner { background: var(--warn-soft); color: var(--warn); }
.banner--warn { background: var(--err-soft); color: var(--err); }
.flash a, .banner a { color: inherit; font-weight: 500; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font-size: 13px; font-weight: 500; white-space: nowrap; background: var(--surface); color: var(--text); }
.chip--ok { background: var(--ok-soft); color: var(--ok); }
.chip--warn { background: var(--warn-soft); color: var(--warn); }
.chip--info { background: var(--info-soft); color: var(--info); }
.badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 600; margin-left: 6px; }

/* cartes, listes, tableaux */
.card { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 20px; margin: 0 0 20px; }
.card.narrow { max-width: 480px; margin: 0 auto; }
.card.danger { border-color: color-mix(in oklab, var(--err) 30%, transparent); }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.cols > .card { margin: 0 0 20px; }
.cols--qr { grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); }
@media (max-width: 860px) { .cols--qr { grid-template-columns: 1fr; } }
.rows { list-style: none; margin: 0 0 8px; padding: 0; }
.rows > li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-soft); flex-wrap: wrap; }
.rows > li:first-child { border-top: 0; }
.rows small { display: block; }
.rows .meta { font-size: 13px; }
.rows--cards > li { display: block; border: 1px solid var(--line-soft); padding: 16px 18px; margin-bottom: 12px; }
.req-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.msg { white-space: pre-wrap; background: var(--surface); padding: 10px 12px; border-radius: 8px; }
.doc { align-items: flex-start; }
.doc-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px 20px; margin: 0 0 12px; }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 500; }
.facts dd small { display: block; font-weight: 400; }
.facts .wide { grid-column: 1 / -1; }
.private { background: var(--surface); padding: 10px 12px; border-radius: 8px; font-size: 15px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--r); background: var(--card); margin: 0 0 20px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
th { font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td small { display: block; }
td a, .rows a, .facts dd a { display: inline-flex; align-items: center; min-height: 44px; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.empty { text-align: center; padding: 40px 20px; border: 1px dashed var(--line); border-radius: var(--r); }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 8px; }
.toolbar input { flex: 1 1 280px; }
.toolbar select { flex: 0 1 280px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin: 0 0 20px; }
.tile { display: grid; gap: 4px; padding: 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line-soft); text-decoration: none; color: var(--ink); }
.tile b { font-size: 30px; font-weight: 500; font-variant-numeric: tabular-nums; }
.tile span { color: var(--muted); font-size: 14px; }
.meter { display: block; width: 100%; height: 6px; margin-top: 6px; }
.meter__bg { fill: var(--surface); } .meter__fill { fill: var(--accent); }
.qr-big svg { width: 100%; max-width: 240px; height: auto; display: block; border-radius: 8px; }
.copybox { white-space: pre-wrap; background: var(--surface); padding: 12px 14px; border-radius: 8px; font: 14px/1.5 var(--font); max-width: 60em; }
.logo-preview { max-height: 64px; max-width: 220px; background: #fff; padding: 6px; border-radius: 8px; }

/* offres */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin: 20px 0; }
.plan { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.plan--current { border: 2px solid var(--accent); }
.plan .who { font-size: 13px; color: var(--muted); }
.plan h2 { margin: 0; }
.plan .price b { font-size: 28px; font-weight: 500; }
.plan ul { margin: 0 0 8px; padding-left: 18px; color: var(--text); font-size: 15px; flex: 1; }
.plan .current { font-weight: 500; color: var(--accent); margin: 0; }

/* espace artisan : barre + menu latéral */
.topbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 16px; min-height: 60px; padding: env(safe-area-inset-top, 0px) 20px 0; background: var(--bg); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); text-decoration: none; min-height: 44px; }
.mark { width: 24px; height: 24px; color: var(--accent); flex: none; }
.company { color: var(--muted); font-size: 14px; margin-left: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: calc(100dvh - 60px); }
.side { border-right: 1px solid var(--line); padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 60px; align-self: start; max-height: calc(100dvh - 60px); overflow-y: auto; }
.side a, .menu__nav a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 15px; }
.side a[aria-current="page"], .menu__nav a[aria-current="page"] { background: var(--surface); color: var(--ink); font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .side a:hover, .menu__nav a:hover { background: var(--surface); } }
.side form { padding: 0 12px; }
.who { margin-top: 16px; padding: 12px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line-soft); }
.main { padding: 28px clamp(16px, 3vw, 40px) calc(48px + env(safe-area-inset-bottom, 0px)); min-width: 0; }
.main--wide { max-width: 1280px; margin: 0 auto; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r-btn); cursor: pointer; font-weight: 500; }
.menu summary::-webkit-details-marker { display: none; }
.menu__nav { position: absolute; right: 0; top: calc(100% + 8px); width: min(300px, calc(100vw - 32px)); background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 8px; box-shadow: 0 12px 32px rgb(0 0 0 / .16); max-height: calc(100dvh - 90px); overflow-y: auto; }
.menu__nav form { padding: 0 12px; }
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .side { display: none; }
  .menu { display: block; }
  .company { display: none; }
  .topbar { justify-content: space-between; padding-left: 16px; padding-right: 16px; }
}

/* pages publiques (page client, connexion) */
.public { min-height: 100dvh; }
.public-wrap { max-width: 720px; margin: 0 auto; padding: calc(24px + env(safe-area-inset-top, 0px)) 16px calc(40px + env(safe-area-inset-bottom, 0px)); }
.public-brand a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; color: var(--ink); text-decoration: none; }
.client h1 { font-size: clamp(28px, 7vw, 38px); margin-bottom: 20px; }
.client .facts { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 18px; }
.block { margin: 28px 0; }
.block h2 { font-size: 19px; margin-bottom: 10px; }
.block .rows a { font-weight: 500; display: inline-flex; min-height: 44px; align-items: center; }
.client-pro { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); margin-top: 32px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 600; flex: none; }
.pro-logo { max-height: 48px; max-width: 140px; background: #fff; padding: 4px; border-radius: 8px; }
.disclaimer { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line-soft); padding-top: 14px; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h1 { font-size: 28px; } .prose h2 { font-size: 19px; margin-top: 24px; }
.prose li { margin-bottom: 6px; }

/* étiquettes A4 : 3 × 7 étiquettes de 63,5 × 38,1 mm */
.labels-page { background: #fff; color: #000; padding: 24px; color-scheme: light;
  /* page d'impression toujours blanche : couleurs claires même si l'ordinateur est en mode sombre */
  --bg: #f7f9fa; --surface: #ecf0f2; --card: #ffffff; --ink: #1f3038; --muted: #5d6b72; --text: #34474f;
  --accent: #0d7480; --accent-ink: #ffffff; --accent-soft: #dcefef; --line: rgb(31 48 56 / .14); --line-soft: rgb(31 48 56 / .08); }
.labels-page .no-print { max-width: 210mm; margin: 0 auto 24px; color: #1f3038; }
.sheet { width: 210mm; margin: 0 auto; padding: 15.15mm 7.2mm 0; display: grid; grid-template-columns: repeat(3, 63.5mm); grid-auto-rows: 38.1mm; column-gap: 2.5mm; background: #fff; box-shadow: 0 0 0 1px #ccc; }
.label-qr { display: flex; align-items: center; gap: 2mm; padding: 1.5mm 2.5mm 1.5mm 1.5mm; overflow: hidden; color: #000; }
.label-qr svg { width: 33mm; height: 33mm; flex: none; }
.label-qr__txt { display: flex; flex-direction: column; justify-content: center; gap: 1mm; min-width: 0; max-height: 100%; overflow: hidden; font-family: var(--font); line-height: 1.12; }
.label-qr__txt > * { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.label-qr__co { font-size: 8pt; font-weight: 700; -webkit-line-clamp: 3; }
.label-qr__type { font-size: 7.5pt; font-weight: 500; -webkit-line-clamp: 2; }
.label-qr__ref { font-size: 7pt; font-family: ui-monospace, Menlo, monospace; -webkit-line-clamp: 1; }
.label-qr__cta { font-size: 5.5pt; color: #333; border-top: .25mm solid #000; padding-top: .8mm; -webkit-line-clamp: 2; }
@media print {
  @page { size: A4; margin: 0; }
  .labels-page { padding: 0; }
  .no-print { display: none; }
  .sheet { box-shadow: none; margin: 0; }
  .label-qr { break-inside: avoid; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

.legal-foot { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 36px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 14px; }
.legal-foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }

.newowner { border: 1px solid var(--line-soft); border-radius: var(--r); padding: 0 16px; background: var(--card); }
.newowner summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 500; list-style-position: inside; }
.newowner[open] { padding-bottom: 12px; }
.newowner .grid2 { margin-top: 8px; }

/* guide de démarrage du tableau de bord */
.start { margin: 0 0 20px; display: grid; gap: 6px; }
.steps { list-style: none; padding: 0; margin: 8px 0 0; display: grid; }
.steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line-soft, rgb(31 48 56 / .08)); }
.steps li:first-child { border-top: 0; }
.steps .num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; background: var(--accent-soft, #dcefef); color: var(--accent, #0d7480); }
.steps li.done .num { background: var(--ok-soft); color: var(--ok, #1d6b45); }
.steps li.done b { color: var(--muted, #5d6b72); }
.steps b { display: block; font-weight: 500; }
.steps small { display: block; color: var(--muted, #5d6b72); }
@media (max-width: 560px) { .steps li { grid-template-columns: 36px minmax(0, 1fr); } .steps li > :last-child { grid-column: 2; justify-self: start; } }

/* administration du service */
.actions-cell { white-space: normal; min-width: 220px; }
.actions-cell form, .actions-cell details { display: inline-block; margin: 2px 4px 2px 0; vertical-align: top; }
.inline-more summary { list-style: none; cursor: pointer; }
.inline-more summary::-webkit-details-marker { display: none; }
.inline-more[open] { display: block; padding: 10px; border: 1px solid var(--line-soft); border-radius: var(--r); background: var(--surface); }
.inline-more .field { display: grid; gap: 4px; margin: 8px 0; font-size: 14px; }
details.card > summary { cursor: pointer; list-style: none; min-height: 44px; display: flex; align-items: center; }
details.card > summary::-webkit-details-marker { display: none; }
details.card > summary::after { content: "▾"; margin-left: 8px; color: var(--muted); }
.inline-h { display: inline; margin: 0; }
small.pre { white-space: pre-wrap; display: block; max-height: 12em; overflow: auto; }
.main--wide > .flash, .card > .hint { max-width: 44em; }
/* demandes d'intervention et points à surveiller (14 nov.) */
.chip--danger { background: var(--err-soft); color: var(--err); }
a.chip { text-decoration: none; }
.req--urgent { border-color: color-mix(in oklab, var(--err) 45%, transparent) !important; }
.req-photo { display: block; max-width: min(100%, 320px); max-height: 240px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line-soft); }
.watch-box { background: var(--warn-soft); color: var(--warn); padding: 10px 12px; border-radius: 8px; margin: 10px 0; }
.watch-box ul { margin: 6px 0 0; padding-left: 20px; }
.card.watch { border-color: color-mix(in oklab, var(--warn) 35%, transparent); }
.watch-done { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.watch-done input { min-width: 12em; flex: 1; }
details.solved { margin-top: 12px; }
details.solved > summary { cursor: pointer; color: var(--muted); min-height: 44px; display: flex; align-items: center; }
.client .call { margin: 4px 0 16px; }
.client .call .btn { min-height: 48px; }
h3.sub { font-size: 15px; font-weight: 600; margin: 20px 0 8px; }
.prose-card ul { padding-left: 20px; display: grid; gap: 6px; }
.prose-card p, .prose-card li { max-width: 44em; }
/* centre d'aide */
.help-cat { margin-top: 20px; }
.help-cat > h2 { font-size: 16px; margin-bottom: 8px; color: var(--muted); }
.help-item { padding: 0; margin-bottom: 8px; }
.help-item > summary { cursor: pointer; padding: 14px 16px; min-height: 48px; display: flex; align-items: center; font-weight: 600; list-style: none; }
.help-item > summary { justify-content: space-between; gap: 12px; }
details.help-item > summary::after { content: '+'; margin-left: auto; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
details.help-item[open] > summary::after { content: '−'; }
.help-item > ol, .help-item > p { margin: 0 16px 14px; }
.help-item > ol { padding-left: 20px; display: grid; gap: 6px; max-width: 44em; }
.help-call { margin-top: 24px; }
.main > .flash, .main > p.lead { max-width: 44em; }
/* œil des mots de passe */
.pass-wrap { position: relative; display: block; }
.pass-wrap > input { width: 100%; padding-right: 52px; }
.pass-eye { position: absolute; top: 50%; right: 2px; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; color: var(--muted); border-radius: 8px; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .pass-eye:hover { color: var(--fg, inherit); } }
.pass-eye:focus-visible { outline: 2px solid var(--accent, currentColor); outline-offset: -2px; }

/* nouveautés du 15 nov. : bilan, signature, import, exemple */
.bilan__list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.bilan__list li { display: flex; gap: 12px; align-items: baseline; padding: 12px 14px; border-radius: var(--r); background: var(--surface); }
.bilan__list b { font-size: 26px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--accent); min-width: 1.6em; }
.bilan__list span { font-size: 14px; color: var(--text); }
.bilan__list li.zero b { color: var(--muted); }
.tabs-mini { display: flex; gap: 6px; margin: -6px 0 14px; flex-wrap: wrap; }
.tabs-mini a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; text-decoration: none; color: var(--text); border: 1px solid var(--line); font-size: 14px; }
.tabs-mini a[aria-current] { background: var(--accent-soft); border-color: transparent; color: var(--ink); font-weight: 500; }
.sig canvas { display: block; width: 100%; max-width: 600px; aspect-ratio: 3 / 1; height: auto; background: #fff; border: 2px dashed var(--line); border-radius: var(--r); touch-action: none; cursor: crosshair; }
.sig-help.err { color: var(--err); font-weight: 500; }
.steps-plain { padding-left: 1.3em; margin: 0 0 16px; max-width: 44em; }
.steps-plain li { margin-bottom: 6px; }
.example-bar { position: sticky; top: 8px; z-index: 5; }
fieldset.group .check { margin-bottom: 6px; }

/* sécurité du compte */
.secu .card { margin-bottom: 16px; }
.totp-qr { width: 200px; max-width: 70vw; background: #fff; padding: 8px; border-radius: var(--r); margin: 0 0 12px; }
.totp-qr svg { display: block; width: 100%; height: auto; }
code.key { font-size: 15px; letter-spacing: .04em; word-break: break-all; }
.codes { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 26em; }
.codes code { font-size: 17px; letter-spacing: .05em; }
.card.suggest { box-shadow: inset 4px 0 0 var(--accent), 0 0 0 1px var(--line, rgba(0,0,0,.08)); }
.founder-badge { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--accent-soft, #dcefef); color: var(--accent, #0d7480); }

/* tableau de bord et calendrier (18 nov.) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.delta { display: block; font-size: 13px; margin-top: 2px; color: var(--muted); }
.delta--up { color: var(--ok); }
.delta--down { color: var(--warn); }
.saved { margin: 0 0 8px; }
.saved b { font-size: 20px; font-weight: 600; color: var(--accent); }
.tiles--small { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.tiles--small .tile { padding: 14px; }
.tiles--small .tile b { font-size: 26px; }
.tile--warn { background: var(--warn-soft); border-color: transparent; }
.tile--warn b, .tile--warn span { color: var(--warn); }
.charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.chart { margin: 0; }
.chart figcaption { margin-bottom: 6px; font-size: 15px; }
.chart svg { width: 100%; height: auto; display: block; }
.chart .bar { fill: color-mix(in oklab, var(--accent) 45%, var(--card)); }
.chart .bar--now { fill: var(--accent); }
.chart .axis { stroke: var(--line); stroke-width: 1; }
.chart text { font: 500 13px var(--font); fill: var(--muted); text-anchor: middle; }
.chart text.val { fill: var(--ink); }
.next-rdv { margin: 12px 0 0; }
.cal-nav { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 12px; }
.cal-nav h2 { margin: 0; min-width: 9em; text-align: center; text-transform: capitalize; }
.cal { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 4px; margin: 0 0 8px; }
.cal th { font-size: 13px; font-weight: 500; color: var(--muted); padding: 4px 0; }
.cal td { vertical-align: top; height: 92px; padding: 0; background: var(--card); border: 1px solid var(--line-soft); border-radius: 8px; }
.cal td.cal__empty { background: transparent; border-color: transparent; }
.cal td a { display: block; height: 100%; min-height: 44px; padding: 6px; color: var(--ink); text-decoration: none; border-radius: 8px; }
.cal td.today { border: 2px solid var(--accent); }
.cal td.sel a { background: var(--accent-soft); }
.cal__num { font-weight: 600; font-size: 14px; }
.cal__count { display: none; }
.cal ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 3px; }
.cal li { font-size: 13px; line-height: 1.3; padding: 2px 5px; border-radius: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal li.rdv { background: var(--info-soft); color: var(--info); }
.cal li.due { background: var(--warn-soft); color: var(--warn); }
.cal li.done { background: var(--ok-soft); color: var(--ok); text-decoration: line-through; }
.cal li.more { color: var(--muted); }
@media (max-width: 700px) {
  .cal { border-spacing: 2px; }
  .cal td { height: 54px; }
  .cal td a { padding: 4px 2px; text-align: center; }
  .cal ul { display: none; }
  .cal__count { display: block; margin: 4px auto 0; width: 22px; height: 22px; line-height: 22px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 600; }
}
.legend { font-size: 13px; color: var(--muted); display: flex; gap: 6px 14px; flex-wrap: wrap; align-items: center; margin: 0 0 20px; }
.lg { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 4px; }
.lg--rdv { background: var(--info-soft); border: 1px solid var(--info); }
.lg--due { background: var(--warn-soft); border: 1px solid var(--warn); }
.lg--done { background: var(--ok-soft); border: 1px solid var(--ok); }
.day-h { font-size: 15px; margin: 18px 0 4px; text-transform: none; }
.day-h:first-of-type { margin-top: 4px; }
.aps .ap { align-items: flex-start; }
.ap > div:first-child { flex: 1 1 220px; min-width: 0; }
.ap small { display: block; }
.ap--done > div:first-child { opacity: .7; }
.ap--due b { color: var(--warn); }
.ap__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cal-add .btn { margin: 0 6px 6px 0; }

/* appli installable (18 nov.) */
[hidden] { display: none !important; }
.install-card { border: 1px solid var(--accent-soft, #dcefef); }
