/* Pricevra v10 — système de design. phase 23 : violet d'origine conservé (choix d'Alane) ; logo officiel recoloré en violet.
   Thème violet & blanc. Police Inter auto-hébergée (aucune requête tierce). */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/static/fonts/InterVariable-latin.woff2") format("woff2");
}
:root {
  --bg: #f8f7fc; --bg-elevated: #ffffff; --card: #ffffff; --soft: #f3f2f8;
  --ink: #16141f; --ink-secondary: #2e2a3d; --muted: #625e70; --muted-2: #6f6b7e; /* design : 4,56 à 5,15:1 (AA) — était #8f8b9c, 3,31:1 */
  --line: #e7e5ef; --line-strong: #d3d0de; --field-line: #8a869a; /* bordure des champs : ≥ 3:1 (WCAG 1.4.11) */
  --brand: #6d28d9; --brand-hover: #5b21b6; --brand-2: #8b5cf6; --brand-soft: #f3efff; --brand-soft-2: #e9e2ff; --accent: #8b5cf6; --accent-ink: #047857;
  --brand-line: #d8ccfb; --brand-ring: rgba(124, 58, 237, .28);
  --green: #047857; --green-soft: #ecfdf5; --green-line: #a7f3d0;
  --red: #b91c1c; --red-soft: #fef2f2; --red-line: #fecaca;
  --amber: #b45309; --amber-soft: #fffbeb; --amber-line: #fde68a;
  --blue: #1d4ed8; --blue-soft: #eff6ff;
  --radius: 14px; --radius-sm: 9px; --radius-lg: 20px;
  --shadow-xs: 0 1px 2px rgba(22, 20, 31, .05);
  --shadow: 0 1px 2px rgba(22, 20, 31, .04), 0 2px 6px rgba(22, 20, 31, .04);
  --shadow-md: 0 6px 18px rgba(48, 25, 110, .08), 0 1px 3px rgba(22, 20, 31, .05);
  --shadow-lg: 0 24px 60px rgba(48, 25, 110, .14), 0 6px 16px rgba(22, 20, 31, .06);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --side-w: 248px; --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-size-adjust: 100%; }
body {
  font-family: var(--font); font-feature-settings: "cv11", "calt"; background: var(--bg); color: var(--ink);
  font-size: 14.5px; line-height: 1.55; min-height: 100vh; display: flex; flex-direction: column;
}
a { color: var(--brand); text-decoration: none; text-underline-offset: 2px; }
a:hover { color: var(--brand-hover); text-decoration: underline; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; border-radius: 6px; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; width: 100%; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; }
.skip-link:focus { left: 8px; color: #fff; }
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic.sm { width: 15px; height: 15px; } .ic.lg { width: 22px; height: 22px; }
.spacer { flex: 1; }
.only-mobile { display: none !important; }
small { font-size: 12px; }
hr.sep { border: none; border-top: 1px solid var(--line); margin: 20px 0; }

/* ── Logo ── */
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: -0.02em; }
.logo:hover { text-decoration: none; color: var(--ink); }
.logo-mark {
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-size: 14px; font-weight: 750;
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 55%, #4c1d95 100%); box-shadow: 0 2px 6px rgba(109, 40, 217, .35), inset 0 1px 0 rgba(255,255,255,.25);
}
.logo-mark.xs { width: 20px; height: 20px; font-size: 11px; border-radius: 6px; display: inline-grid; vertical-align: -4px; margin-right: 6px; }

/* ── Navigation publique ── */
.nav { background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.nav .container { display: flex; align-items: center; gap: 28px; height: 64px; }
.pub-links { display: flex; gap: 4px; }
.pub-links a { color: var(--muted); font-weight: 500; font-size: 14px; padding: 7px 11px; border-radius: 8px; }
.pub-links a:hover { color: var(--ink); background: var(--soft); text-decoration: none; }
.nav-right { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--muted); }
.nav-right > a:not(.btn) { color: var(--ink-secondary); font-weight: 550; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; font-size: 11.5px; padding: 2px; background: var(--soft); border-radius: 8px; }
.lang-switch a { color: var(--muted); font-weight: 650; letter-spacing: .03em; padding: 3px 7px; border-radius: 6px; }
.lang-switch a:hover { color: var(--ink); text-decoration: none; }
.lang-switch a.active { color: var(--brand); background: #fff; box-shadow: var(--shadow-xs); }
.lang-sep { display: none; }

/* ── Application : barre latérale ── */
.is-app { flex-direction: row; }
.shell { display: flex; width: 100%; min-width: 0; flex: 1; min-height: 100vh; }
@media (min-width: 901px) { .shell { background: linear-gradient(90deg, #fff calc(var(--side-w) - 1px), var(--line) calc(var(--side-w) - 1px), var(--line) var(--side-w), transparent var(--side-w)); } }
.sidebar {
  width: var(--side-w); flex: none; position: sticky; top: 0; height: 100vh; overflow-y: auto; z-index: 60;
  background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 16px 12px 14px;
}
.side-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 8px 14px; }
.workspace { padding: 0 2px 10px; border-bottom: 1px solid var(--line); margin-bottom: 8px; position: relative; }
.ws-current { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; cursor: pointer; list-style: none; border: 1px solid var(--line); background: var(--bg); }
.ws-current::-webkit-details-marker { display: none; }
.ws-current:hover { border-color: var(--brand-line); background: var(--brand-soft); }
.ws-current.static { cursor: default; } .ws-current.static:hover { border-color: var(--line); background: var(--bg); }
.ws-name { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
.ws-name strong { font-size: 13px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-name small, .ws-item small { color: var(--muted); font-size: 11.5px; display: block; }
.ws-avatar { width: 28px; height: 28px; border-radius: 8px; flex: none; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: var(--brand); background: var(--brand-soft-2); }
.ws-avatar.sm { width: 24px; height: 24px; font-size: 11.5px; border-radius: 7px; }
.ws-list { position: absolute; left: 2px; right: 2px; top: calc(100% - 4px); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px; z-index: 70; animation: pop .14s var(--ease); }
.ws-title { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 650; padding: 6px 8px; }
.ws-item { width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; background: none; border: 0; padding: 8px; border-radius: 8px; font: inherit; font-size: 13px; cursor: pointer; color: var(--ink); }
.ws-item:hover, .ws-item.current { background: var(--brand-soft); }
.side-nav { display: flex; flex-direction: column; gap: 1px; flex: 1; }
.side-group { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted-2); font-weight: 650; padding: 14px 10px 6px; }
.side-link { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; color: var(--ink-secondary); font-weight: 520; font-size: 14px; transition: background .12s, color .12s; position: relative; }
.side-link .ic { color: var(--muted); }
.side-link small { color: var(--muted); font-weight: 450; font-size: 11.5px; }
.side-link:hover { background: var(--soft); color: var(--ink); text-decoration: none; }
.side-link.active { background: var(--brand-soft); color: var(--brand); font-weight: 620; }
.side-link.active .ic { color: var(--brand); }
.side-link.active::before { content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--brand); }
.side-link .badge { margin-left: auto; }
.side-foot { border-top: 1px solid var(--line); padding: 12px 4px 0; display: flex; flex-direction: column; gap: 10px; }
.me { display: flex; align-items: center; gap: 6px; }
.me-link { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; color: var(--ink-secondary); font-weight: 550; font-size: 13px; padding: 6px; border-radius: 8px; }
.me-link:hover { background: var(--soft); text-decoration: none; color: var(--ink); }
.me-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; border: 1px solid transparent; background: transparent; color: var(--muted); cursor: pointer; position: relative; }
.icon-btn:hover { background: var(--soft); color: var(--ink); text-decoration: none; }
.icon-btn .dot { position: absolute; top: 7px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); border: 2px solid #fff; }
.shell-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { display: none; }
.scrim { display: none; }
.is-app main { padding: 32px 0 64px; flex: 1; }
.is-app main:focus { outline: none; }
.badge { display: inline-block; min-width: 19px; padding: 0 6px; height: 19px; line-height: 19px; border-radius: 999px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; text-align: center; margin-left: 4px; font-variant-numeric: tabular-nums; }

/* ── Mise en page ── */
main { padding: 36px 0 72px; flex: 1; }
h1 { font-size: 26px; font-weight: 700; letter-spacing: -0.025em; margin: 0 0 6px; color: var(--ink); line-height: 1.22; }
h2 { font-size: 16px; font-weight: 650; letter-spacing: -0.01em; margin: 0 0 14px; color: var(--ink); }
h3 { font-size: 15px; font-weight: 650; margin: 0; }
.sub { color: var(--muted); margin: 0 0 24px; font-size: 14.5px; }
.eyebrow { font-size: 12px; font-weight: 650; color: var(--brand); text-transform: uppercase; letter-spacing: .07em; margin: 0 0 6px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.card > h2:first-child { margin-top: 0; }
.card-head { display: flex; align-items: center; gap: 12px; margin: -4px 0 16px; flex-wrap: wrap; }
.card-head h2 { margin: 0; }
.card-head .hint { margin: 0; }
.card.flush { padding: 0; overflow: hidden; }
.card.flush > .card-head { padding: 18px 20px 0; margin: 0 0 12px; }
.card.danger { border-color: var(--red-line); }
.grid { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-main { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: start; }
.stack > * + * { margin-top: 16px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.page-head { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.page-head h1 { margin: 0 0 4px; }
.page-head .sub { margin: 0; }
.page-head .actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; } .mt { margin-top: 18px; } .mb { margin-bottom: 18px; }
.muted { color: var(--muted); }

/* ── KPI ── */
.stat { padding: 18px 20px; position: relative; overflow: hidden; }
.stat .label { color: var(--muted); font-size: 12.5px; font-weight: 550; display: flex; align-items: center; gap: 7px; }
.stat .label .ic { color: var(--brand-2); width: 16px; height: 16px; }
.stat .value { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; margin-top: 6px; font-variant-numeric: tabular-nums; line-height: 1.15; }
.stat .value.green { color: var(--green); } .stat .value.red { color: var(--red); }
.stat .value small { font-size: 14px; color: var(--muted); font-weight: 550; letter-spacing: 0; }
.stat .foot { font-size: 12px; color: var(--muted); margin-top: 6px; }
.stat a.stretch::after { content: ""; position: absolute; inset: 0; }
.stat:hover { border-color: var(--brand-line); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.kpis.six { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.meter { height: 6px; background: var(--soft); border-radius: 99px; overflow: hidden; margin-top: 10px; }
.meter > span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand-2), var(--brand)); border-radius: 99px; }
.meter.good > span { background: linear-gradient(90deg, #34d399, var(--green)); }
.meter.warn > span { background: linear-gradient(90deg, #fbbf24, var(--amber)); }

/* ── Listes d'actions / recommandations ── */
.reco { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.reco li { display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); font-size: 13.5px; }
.reco li .ic { margin-top: 1px; color: var(--brand); }
.reco li.error .ic { color: var(--red); } .reco li.review .ic, .reco li.stale .ic { color: var(--amber); } .reco li.ok .ic, .reco li.stock .ic { color: var(--green); }
.reco li a { margin-left: auto; white-space: nowrap; font-weight: 600; font-size: 13px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.checklist li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; padding: 8px 10px; border-radius: 9px; }
.checklist li:hover { background: var(--bg); }
.checklist .tick { width: 20px; height: 20px; border-radius: 50%; border: 1.6px solid var(--line-strong); display: grid; place-items: center; flex: none; }
.checklist li.done .tick { background: var(--brand); border-color: var(--brand); color: #fff; }
.checklist li.done .tick .ic { width: 12px; height: 12px; stroke-width: 3; }
.checklist li.done span.lbl { color: var(--muted); text-decoration: line-through; }
.checklist a { margin-left: auto; font-size: 13px; font-weight: 600; }
.progress-label { font-size: 12.5px; color: var(--muted); }

/* ── Tableaux ── */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; position: relative; }
table { width: 100%; border-collapse: collapse; }
th { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 650; text-align: left;
  padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fbfafe; white-space: nowrap; }
th[data-sort] { cursor: pointer; user-select: none; }
th[data-sort]:hover { color: var(--ink); }
th[data-sort]::after { content: "↕"; opacity: .35; margin-left: 4px; font-size: 10px; }
th[aria-sort=ascending]::after { content: "↑"; opacity: .9; } th[aria-sort=descending]::after { content: "↓"; opacity: .9; }
td { padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 14px; }
tr:last-child td { border-bottom: none; }
tbody tr { transition: background .1s; }
tbody tr:hover { background: #fcfbff; }
tr[hidden] { display: none; }
.table thead th, .table td { padding: 10px 12px; }
.pname { font-weight: 600; color: var(--ink); display: block; max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.pname:hover { color: var(--brand); }
.pmeta { font-size: 12px; color: var(--muted); }
.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price { font-weight: 650; }
.old { color: var(--muted); text-decoration: line-through; font-weight: 400; }
.row-actions { display: inline-flex; gap: 4px; justify-content: flex-end; }
tr.blocked td { background: #fffafa; }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.search { position: relative; flex: 1; min-width: 200px; max-width: 360px; }
.search .ic { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 16px; }
.search input { padding-left: 34px !important; }
.seg { display: inline-flex; gap: 2px; padding: 3px; background: var(--soft); border-radius: 10px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 560; color: var(--muted); padding: 6px 10px; border-radius: 8px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.seg button:hover { color: var(--ink); }
.seg button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-xs); }
.seg .n { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.table-empty { padding: 28px; text-align: center; color: var(--muted); font-size: 14px; }

/* ── Pastilles ── */
.chip, .pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; line-height: 1.6; background: var(--soft); color: var(--muted); }
.chip.drop, .chip.ok, .pill.ok { background: var(--green-soft); color: var(--green); }
.chip.rise { background: var(--red-soft); color: var(--red); }
.chip.flat { background: var(--soft); color: var(--muted); }
.chip.err, .pill.warn { background: var(--amber-soft); color: var(--amber); }
.chip.domain { background: var(--brand-soft); color: var(--brand); font-weight: 550; }
a.chip.domain:hover { text-decoration: none; background: var(--brand-soft-2); }
.chip.danger { background: var(--red-soft); color: var(--red); }
.tag { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--brand-soft-2); color: var(--brand); letter-spacing: .02em; vertical-align: middle; margin-left: 6px; text-transform: none; }
.tag.demo { background: #fff7ed; color: #9a3412; border: 1px dashed #fdba74; }
.tag.beta { background: #ecfeff; color: #0e7490; }
.dot-s { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--muted-2); }
.dot-s.ok { background: #10b981; } .dot-s.err { background: #f59e0b; } .dot-s.out { background: #ef4444; }

/* ── Formulaires ── */
label { display: block; font-weight: 550; font-size: 13px; margin-bottom: 6px; color: var(--ink-secondary); }
.hint { color: var(--muted); font-size: 12.5px; margin-top: 6px; line-height: 1.5; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=number], input[type=search], input[type=tel], select, textarea {
  width: 100%; padding: 9px 12px; min-height: 40px; border: 1px solid var(--field-line); border-radius: var(--radius-sm);
  font: inherit; font-size: 14px; background: #fff; color: var(--ink); transition: border-color .12s, box-shadow .12s;
}
input[type=file] { font: inherit; font-size: 13px; }
input::placeholder, textarea::placeholder { color: var(--muted-2); }
input:hover, select:hover, textarea:hover { border-color: var(--muted-2); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px var(--brand-ring); }
.check { display: flex; align-items: flex-start; gap: 9px; font-weight: 500; cursor: pointer; margin: 8px 0; }
.check input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--brand); flex: none; }
.field + .field { margin-top: 16px; }
details.advanced { margin-top: 12px; }
details.advanced > summary { cursor: pointer; color: var(--muted); font-size: 13px; font-weight: 550; list-style: none; display: inline-flex; gap: 6px; align-items: center; }
details.advanced > summary::before { content: "›"; font-size: 16px; transition: transform .15s; display: inline-block; }
details.advanced[open] > summary::before { transform: rotate(90deg); }
details.advanced > summary::-webkit-details-marker { display: none; }
details.advanced > .adv-body { margin-top: 12px; padding: 14px; border: 1px dashed var(--line-strong); border-radius: 10px; background: var(--bg); }

/* ── Boutons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 16px; min-height: 40px; border-radius: var(--radius-sm);
  border: 1px solid transparent; font: inherit; font-size: 14px; font-weight: 620; cursor: pointer; background: var(--brand); color: #fff;
  white-space: nowrap; transition: background .12s, box-shadow .12s, border-color .12s, transform .06s;
  box-shadow: 0 1px 2px rgba(76, 29, 149, .25), inset 0 1px 0 rgba(255,255,255,.14);
}
.btn .ic { width: 16px; height: 16px; }
.btn:hover { background: var(--brand-hover); text-decoration: none; color: #fff; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn.secondary { background: #fff; color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-xs); }
.btn.secondary:hover { background: var(--bg); color: var(--ink); border-color: #b9b4c8; }
.btn.ghost { background: transparent; color: var(--muted); box-shadow: none; }
.btn.ghost:hover { color: var(--ink); background: var(--soft); }
.btn.ghost.danger-hover:hover { color: var(--red); background: var(--red-soft); }
.btn.danger { background: var(--red); box-shadow: none; } .btn.danger:hover { background: #991b1b; }
.btn.sm { padding: 5px 11px; min-height: 32px; font-size: 13px; border-radius: 8px; }
.btn.icon { padding: 0; width: 34px; min-height: 34px; }
.btn.block { width: 100%; }
.btn.lg { padding: 12px 22px; min-height: 48px; font-size: 15px; border-radius: 11px; }
.btn.is-busy { opacity: .7; pointer-events: none; }
.btn.is-busy::after { content: ""; width: 12px; height: 12px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
form.inline { display: inline; }
.add-form { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; }

/* ── Messages ── */
.flash { padding: 12px 16px 12px 40px; border-radius: 11px; margin-bottom: 16px; font-weight: 520; font-size: 14px; border: 1px solid; position: relative; animation: slide .25s var(--ease); transition: opacity .4s, transform .4s; }
.flash::before { content: ""; position: absolute; left: 15px; top: 15px; width: 14px; height: 14px; border-radius: 50%; background: currentColor; opacity: .85;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11'/%3E%3C/svg%3E") center/contain; }
.flash.fade { opacity: .0; transform: translateY(-4px); }
.flash.success { background: var(--green-soft); color: #065f46; border-color: var(--green-line); }
.flash.error { background: var(--red-soft); color: #991b1b; border-color: var(--red-line); }
.flash.info { background: var(--brand-soft); color: #4c1d95; border-color: var(--brand-line); }
.banner { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 11px; background: linear-gradient(90deg, var(--brand-soft), #fff); border: 1px solid var(--brand-line); margin-bottom: 22px; font-size: 13.5px; color: #4c1d95; }
.banner .ic { color: var(--brand); }
.banner.expired { background: var(--red-soft); border-color: var(--red-line); color: #991b1b; } .banner.expired .ic { color: var(--red); }
.banner a { font-weight: 650; }
.callout { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-secondary); }
.callout .ic { color: var(--brand); margin-top: 2px; }
.callout.warn { background: var(--amber-soft); border-color: var(--amber-line); color: #78350f; } .callout.warn .ic { color: var(--amber); }

/* ── États vides ── */
.empty { text-align: center; color: var(--muted); padding: 52px 20px; }
.empty-icon { width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.empty-icon svg { width: 24px; height: 24px; }
.empty p { margin: 0 auto; font-size: 14px; max-width: 400px; line-height: 1.55; }
.empty .empty-title { font-weight: 650; color: var(--ink); margin-bottom: 6px; font-size: 16px; }
.empty .btn { margin-top: 18px; }

/* ── Authentification ── */
.auth { max-width: 420px; margin: 40px auto; padding: 32px; }
.auth h1 { font-size: 23px; }
.auth .sub { margin-bottom: 24px; }
.auth-logo { display: flex; justify-content: center; margin-bottom: 18px; }
.or-sep { display: flex; align-items: center; gap: 10px; color: var(--muted-2); margin: 14px 0; font-size: 13px; }
.or-sep::before, .or-sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.google-btn { display: flex; align-items: center; justify-content: center; gap: 8px; }
.steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.steps li { padding: 3px 10px; border-radius: 999px; background: var(--soft); }
.steps li.active { background: var(--brand); color: #fff; }
.steps li.done { background: var(--brand-soft-2); color: var(--brand); }
.subnav { display: flex; gap: 2px; flex-wrap: wrap; margin: 0 0 22px; border-bottom: 1px solid var(--line); }
.subnav a { padding: 9px 13px; color: var(--muted); font-weight: 550; font-size: 14px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.subnav a:hover { color: var(--ink); text-decoration: none; }
.subnav a.active { color: var(--brand); border-color: var(--brand); font-weight: 650; }
.recovery { columns: 2; font-size: 15px; }
.welcome-grid { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.welcome-grid a.card { text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
.welcome-grid a.card:hover { border-color: var(--brand-line); box-shadow: var(--shadow-md); transform: translateY(-1px); }
table.matrix td, table.matrix th { text-align: center; } table.matrix td:first-child { text-align: left; }

/* ── Accueil public ── */
.landing-wrap { max-width: 1120px; margin: 0 auto; }
.hero { text-align: center; padding: 56px 0 40px; position: relative; }
.hero::before { content: ""; position: absolute; inset: -40px -200px auto; height: 520px; z-index: -1;
  background: radial-gradient(600px 300px at 50% 10%, rgba(139, 92, 246, .16), transparent 70%), radial-gradient(400px 220px at 80% 40%, rgba(109, 40, 217, .08), transparent 70%); }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--brand); background: #fff; border: 1px solid var(--brand-line); padding: 5px 13px; border-radius: 999px; margin-bottom: 24px; box-shadow: var(--shadow-xs); }
.hero h1 { font-size: clamp(34px, 5.2vw, 56px); line-height: 1.07; letter-spacing: -0.04em; margin-bottom: 20px; font-weight: 750; max-width: 820px; margin-inline: auto; }
.hero .grad { background: linear-gradient(90deg, #7c3aed, #6d28d9 40%, #a855f7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 18px; color: var(--muted); max-width: 580px; margin: 0 auto 32px; line-height: 1.55; }
.hero-ctas { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-note { font-size: 13px; color: var(--muted); margin: 0; }
.hero-mock { margin: 56px auto 0; max-width: 900px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow-lg); overflow: hidden; text-align: left; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fbfafe; }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: #e4e1ec; }
.mock-url { margin-left: 12px; font-size: 12px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 4px 10px; flex: 1; max-width: 280px; }
.mock-body { padding: 20px 24px 24px; }
.mock-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.mock-head strong { font-size: 14px; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.mock-stat { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; background: #fbfafe; }
.mock-stat .ml { font-size: 11px; color: var(--muted); font-weight: 550; }
.mock-stat .mv { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-top: 2px; }
.mock-table { width: 100%; font-size: 13px; }
.mock-table th { background: transparent; padding: 8px 10px; font-size: 10px; }
.mock-table td { padding: 10px; border-bottom: 1px solid #f1eff6; }
.mock-caption { font-size: 12px; color: var(--muted); text-align: center; margin: 10px 0 0; }
.section-label { text-align: center; font-size: 12.5px; font-weight: 650; color: var(--brand); letter-spacing: .07em; text-transform: uppercase; margin: 0 0 8px; }
.section-title { text-align: center; font-size: 32px; font-weight: 750; letter-spacing: -0.035em; margin: 0 0 12px; line-height: 1.15; }
.section-sub { text-align: center; color: var(--muted); font-size: 16px; max-width: 540px; margin: 0 auto 40px; line-height: 1.55; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 64px 0 0; }
.feature { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s, transform .15s; }
.feature:hover { border-color: var(--brand-line); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-icon { width: 42px; height: 42px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 16px; }
.feature-icon svg { width: 20px; height: 20px; }
.feature h2 { font-size: 16px; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 28px; margin: 56px 0 0; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 550; color: var(--ink-secondary); }
.trust-item svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; }
.pricing-section { margin: 72px 0 0; padding-bottom: 24px; }
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 760px; margin: 0 auto; }
.plan { padding: 28px; display: flex; flex-direction: column; position: relative; transition: border-color .15s, box-shadow .15s, transform .15s; }
.plan:hover { border-color: var(--brand-line); box-shadow: var(--shadow-md); }
.plan.featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow-md); }
.plan h3 { font-size: 15px; color: var(--muted); font-weight: 650; margin-bottom: 8px; }
.plan .amount { font-size: 40px; font-weight: 750; letter-spacing: -0.035em; margin: 0 0 4px; line-height: 1; }
.plan .amount small { font-size: 15px; font-weight: 550; color: var(--muted); letter-spacing: 0; }
.plan .plan-desc { font-size: 13px; color: var(--muted); margin: 0 0 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.plan ul li { padding: 8px 0 8px 28px; position: relative; color: var(--ink-secondary); font-size: 14px; border-top: 1px solid #f3f1f8; }
.plan ul li:first-child { border-top: none; }
.plan ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 17px; height: 17px; border-radius: 50%; background: var(--brand-soft-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 8l3 3 5-5' stroke='%236d28d9' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }
.plan .tag { background: var(--brand); color: #fff; }
.plan.current { border: 2px solid var(--brand); }
.pricing-footnote { text-align: center; color: var(--muted); font-size: 13px; margin: 28px auto 0; max-width: 560px; line-height: 1.55; }
.final-cta { margin: 72px 0 0; text-align: center; padding: 52px 32px; border-radius: var(--radius-lg); color: #fff;
  background: radial-gradient(500px 200px at 20% 0%, rgba(255,255,255,.08), transparent 70%), linear-gradient(135deg, #7c3aed, #5b21b6 60%, #4c1d95); box-shadow: var(--shadow-lg); }
.final-cta h2 { font-size: 28px; letter-spacing: -0.03em; margin-bottom: 10px; color: #fff; }
.final-cta p { color: #fff; opacity: .95; margin: 0 0 24px; font-size: 15.5px; }
.final-cta .btn { background: #fff; color: var(--brand); } .final-cta .btn:hover { background: var(--brand-soft); color: var(--brand-hover); }

/* ── Pied de page ── */
.footer { color: var(--muted); font-size: 13px; padding: 26px 28px 34px; border-top: 1px solid var(--line); background: #fff; }
.footer-inner { max-width: 1180px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-brand { font-weight: 650; color: var(--ink-secondary); display: inline-flex; align-items: center; }
.footer-legal { max-width: 1180px; margin: 12px auto 0; display: flex; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; font-size: 12.5px; }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--ink); }

/* ── Divers ── */
code { background: var(--soft); padding: 2px 6px; border-radius: 5px; font-size: 12px; font-family: var(--mono); color: #3f3a52; }
.mono { font-family: var(--mono); font-size: 12px; white-space: pre-wrap; color: #3f3a52; }
.modebar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: 13px; font-weight: 600; border: 1px dashed; }
.modebar.simulated { background: var(--amber-soft); color: #92400e; border-color: #fcd34d; }
.modebar.test { background: #f0f9ff; color: #075985; border-color: #7dd3fc; }
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 880px; }
.offers .plan { display: flex; flex-direction: column; } .offers .plan ul { flex: 1; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 0 0 16px; }
.kv dt { color: var(--muted); font-size: 13px; } .kv dd { margin: 0; font-weight: 600; font-size: 14px; }
table.kv { display: table; width: 100%; } table.kv th { background: none; text-transform: none; letter-spacing: 0; font-size: 13.5px; font-weight: 500; color: var(--muted); padding: 11px 0; width: 42%; white-space: normal; }
table.kv td { padding: 11px 0; font-weight: 600; }
.checkout { max-width: 480px; margin: 30px auto; }
.checkout .total { display: flex; justify-content: space-between; font-size: 17px; font-weight: 700; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
details.sim summary { cursor: pointer; color: var(--muted); font-size: 13px; }
details > summary { cursor: pointer; }
.legal-doc { max-width: 820px; } .legal-doc h1 { font-size: 26px; } .legal-doc h2 { font-size: 17px; margin-top: 22px; }
.legal-doc .mor { background: var(--brand-soft); padding: 12px 14px; border-radius: 10px; border: 1px solid var(--brand-line); }
.channels { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.channel { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fcfbfe; transition: border-color .12s, background .12s; }
.channel:hover { border-color: var(--line-strong); background: #fff; }
.channel-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.channel-head .check { margin: 0; flex: 1; min-width: 160px; }
.channel-body { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.channel .chip.pro { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; font-size: 11px; font-weight: 700; }
.channel .chip.plan-ok { background: var(--brand-soft); color: var(--brand); font-size: 11px; }
.channel .chip.live { background: var(--green-soft); color: var(--green); font-size: 11px; }
.channel .chip.dry { background: var(--soft); color: var(--muted); font-size: 11px; }
.channels-intro { font-size: 13px; color: var(--muted); margin: 0 0 14px; line-height: 1.5; }
#webpush-status { font-size: 12px; color: var(--muted); margin-top: 8px; }
/* Opportunités */
.opp-summary { margin: 0; font-size: 15px; color: var(--ink-secondary); line-height: 1.55; }
.opp-cards { display: flex; flex-direction: column; gap: 12px; }
.opp-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; background: #fff; border-left: 4px solid var(--line-strong); transition: box-shadow .15s; }
.opp-card:hover { box-shadow: var(--shadow-md); }
.opp-card.priority-high { border-left-color: var(--red); }
.opp-card.priority-medium { border-left-color: var(--amber); }
.opp-card.priority-low { border-left-color: var(--brand); }
.opp-card-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.opp-product { margin: 0 0 6px; font-size: 16px; letter-spacing: -0.01em; }
.opp-reason { margin: 0 0 12px; color: var(--ink-secondary); font-size: 14px; }
.opp-metrics .label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 650; margin-bottom: 4px; }
.opp-metrics .value-sm { font-size: 14px; font-weight: 650; color: var(--ink); }
.chip.priority-high { background: var(--red-soft); color: var(--red); }
.chip.priority-medium { background: var(--amber-soft); color: var(--amber); }
.chip.priority-low { background: var(--brand-soft); color: var(--brand); }
.opp-competitor-picks { display: flex; flex-direction: column; gap: 4px; max-height: 240px; overflow: auto; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; }
.opp-form .field { margin-bottom: 10px; }
/* Graphiques */
.chart-box { position: relative; height: 280px; }
.chart-box.sm { height: 190px; }
.legend { display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 120px; padding-top: 8px; }
.bars .b { flex: 1; display: flex; flex-direction: column-reverse; gap: 1px; min-width: 3px; height: 100%; }
.bars .b span { display: block; border-radius: 3px 3px 1px 1px; }
/* phase 30 : contraste ≥ 3:1 sur fond blanc (WCAG 1.4.11) — vert #047857 ≈ 5,5:1, rouge #b91c1c ≈ 6,5:1 ; les hausses sont
   en plus hachurées pour ne pas dépendre de la seule couleur */
.bars .b .d { background: var(--green); }
.bars .b .r { background: repeating-linear-gradient(135deg, var(--red) 0 3px, #7f1d1d 3px 5px); }
.bars .b:hover span { filter: brightness(.9); }
.bars-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 6px; }
.help-toc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.help-toc a.card { color: inherit; display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; }
.help-toc a.card:hover { text-decoration: none; border-color: var(--brand-line); box-shadow: var(--shadow-md); }
.help-toc .n { width: 28px; height: 28px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 700; flex: none; }
.help-sec { scroll-margin-top: 24px; }
.help-sec h2 { font-size: 19px; margin-bottom: 10px; }
.help-sec p, .help-sec li { color: var(--ink-secondary); }
.glossary dt { font-weight: 650; margin-top: 10px; } .glossary dd { margin: 2px 0 0; color: var(--muted); }

@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes slide { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .kpis.six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-main { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .offers, .grid-2, .grid-3, .features, .pricing, .help-toc { grid-template-columns: 1fr; }
  .grid-4, .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .add-form { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 28px; }
  .mock-stats { grid-template-columns: 1fr; }
  .footer-inner { justify-content: center; text-align: center; } .footer-legal { justify-content: center; }
  .pub-links { display: none; }
  /* application : tiroir */
  .only-mobile { display: inline-grid !important; }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; transform: translateX(-104%); transition: transform .22s var(--ease); box-shadow: var(--shadow-lg); width: min(84vw, 300px); }
  .nav-open .sidebar { transform: none; }
  .scrim { display: block; position: fixed; inset: 0; background: rgba(22, 20, 31, .38); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 55; }
  .nav-open .scrim { opacity: 1; pointer-events: auto; }
  .topbar { display: flex; align-items: center; gap: 8px; position: sticky; top: 0; z-index: 40; height: 56px; padding: 0 10px; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
  .is-app main { padding: 20px 0 48px; }
  .hide-md { display: none !important; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  body { font-size: 14px; }
  h1 { font-size: 22px; }
  .nav .container { gap: 10px; height: 58px; }
  .nav-right { gap: 8px; } .nav-right .lang-switch { display: none; } .nav-login { font-size: 13.5px; }
  .banner { flex-wrap: wrap; }
  .hero h1 { font-size: 33px; }
  .hero-lead { font-size: 16px; }
  .hero-ctas { flex-direction: column; align-items: stretch; } .hero-ctas .btn { width: 100%; }
  .section-title { font-size: 25px; }
  .final-cta { padding: 36px 20px; }
  .card { padding: 18px; }
  .auth { margin: 16px auto; padding: 22px; }
  main { padding: 24px 0 48px; }
  .stat { padding: 14px 15px; } .stat .value { font-size: 23px; }
  .row2, .welcome-grid { grid-template-columns: 1fr; }
  .kpis.six, .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat .label { font-size: 12px; }
  .page-head .actions { margin-left: 0; width: 100%; } .page-head .actions .btn { flex: 1; }
  .hide-sm { display: none !important; }
  td, th { padding-left: 10px; padding-right: 10px; }
  .pname { max-width: 170px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .toolbar { padding: 12px; } .search { max-width: none; min-width: 100%; }
  .recovery { columns: 1; }
  .reco li { flex-wrap: wrap; } .reco li a { margin-left: 28px; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.only-sm-block { display: none; }
@media (max-width: 600px) { .only-sm-block { display: block; } }

/* ── v10 : pages d'état, aide, pagination, divers ── */
.state-page { max-width: 520px; margin: 48px auto; text-align: center; }
.state-page h1 { font-size: 28px; }
.state-page .sub { margin-bottom: 26px; }
.state-icon { width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand-line); }
.state-icon.danger { background: var(--red-soft); color: var(--red); box-shadow: inset 0 0 0 1px var(--red-line); }
.state-code { font-size: 12.5px; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 6px; }
.row.center, .center { justify-content: center; text-align: center; }
.card.soft { background: var(--bg); box-shadow: none; }
.help-toc { margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.help-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-secondary); font-size: 13px; font-weight: 550; box-shadow: var(--shadow-xs); }
.help-chip .ic { color: var(--brand); }
.help-chip:hover { border-color: var(--brand-line); color: var(--brand); text-decoration: none; }
.help-list { display: flex; flex-direction: column; gap: 14px; }
.card.help { scroll-margin-top: 80px; }
.card.help h2 { display: flex; align-items: center; gap: 12px; font-size: 18px; }
.card.help p, .card.help li { color: var(--ink-secondary); }
.card.help ol, .card.help ul { padding-left: 20px; margin: 8px 0; } .card.help li + li { margin-top: 6px; }
.num-badge { width: 28px; height: 28px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); display: inline-grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
ul.checks { list-style: none; padding-left: 0 !important; }
ul.checks li { position: relative; padding-left: 26px; }
ul.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; border-radius: 50%; background: var(--brand-soft-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 8l3 3 5-5' stroke='%236d28d9' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.pager .btns { display: flex; gap: 6px; }
.metric-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0; padding: 0; }
.metric-strip > div { padding: 16px 18px; border-left: 1px solid var(--line); }
.metric-strip > div:first-child { border-left: 0; }
.metric-strip strong { display: block; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.metric-strip small { color: var(--muted); font-size: 12px; }
.badge-soft { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 650; padding: 2px 8px; border-radius: 999px; background: var(--soft); color: var(--muted); }
.reason-list { margin: 4px 0 0; padding-left: 18px; font-size: 13px; color: var(--ink-secondary); }
.reason-list li.bad { color: var(--red); } .reason-list li.maybe { color: var(--amber); }
.upload { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 14px; border: 1.5px dashed var(--brand-line); border-radius: 12px; background: var(--brand-soft); }
.upload input[type=file] { flex: 1; min-width: 200px; }
.readonly-note { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 11px; background: var(--soft); color: var(--ink-secondary); font-size: 13.5px; margin-bottom: 18px; border: 1px solid var(--line); }
.readonly-note .ic { color: var(--muted); }
@media (max-width: 900px) { .metric-strip > div { border-left: 0; border-top: 1px solid var(--line); } .metric-strip > div:first-child { border-top: 0; } }
@media (max-width: 600px) { .hide-xs { display: none !important; } .state-page { margin: 24px auto; } }
@media print { .sidebar, .topbar, .footer, .skip-link { display: none !important; } .is-app main { padding: 0; } }
.seg a { font-size: 13px; font-weight: 560; color: var(--muted); padding: 6px 10px; border-radius: 8px; display: inline-flex; gap: 6px; align-items: center; }
.seg a:hover { color: var(--ink); text-decoration: none; }
.seg a.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-xs); }
tr.unread td { background: #fbf9ff; }
.pick-row { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 4px 0; border-bottom: 1px solid #f3f1f8; }
.pick-row:last-child { border-bottom: 0; }
.pick-row .check { margin: 4px 0; } .pick-row .check.pmeta { white-space: nowrap; }
.opp-card .opp-metrics { gap: 12px; }
@media (max-width: 600px) { .opp-card .opp-metrics { grid-template-columns: 1fr 1fr; } .pick-row { flex-direction: column; gap: 0; } }
.acct > .card + .card { margin-top: 16px; }
.role-form { display: inline-flex; gap: 6px; align-items: center; }
.role-form select, td select { width: auto; min-height: 32px; padding: 4px 30px 4px 10px; font-size: 13px; }
.invite-form { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; }
@media (max-width: 600px) { .invite-form { grid-template-columns: 1fr; } }
.kv > div:nth-child(odd) { color: var(--muted); font-size: 13px; }
.is-public main { overflow-x: clip; }
th.wrap { white-space: normal; min-width: 90px; }
/* phase 10b : tri et pagination côté serveur du tableau de bord */
th a.th-sort { color: inherit; text-decoration: none; display: inline-flex; gap: 2px; align-items: center; }
th a.th-sort:hover, th a.th-sort.on { color: var(--ink); }
.toolbar form.search { margin: 0; }
.pager .btns { flex-wrap: wrap; align-items: center; }
.pager .btn.sm { min-width: 36px; min-height: 36px; justify-content: center; }
.pager .btn.pg-current { pointer-events: none; }
.pager .gap { padding: 0 2px; }
.per-page { display: inline-flex; gap: 6px; align-items: center; margin: 0; }
.per-page select { width: auto; min-height: 36px; padding: 4px 28px 4px 10px; }
@media (max-width: 640px) { .pager { justify-content: center; text-align: center; } .pager > span:first-child { width: 100%; } }
@media (max-width: 600px) { #ptable .row-actions { flex-direction: column; gap: 4px; } #ptable td:last-child { padding-left: 4px; } }
@media (max-width: 600px) { #ptable td, #ptable th { padding-left: 8px; padding-right: 8px; } #ptable td:last-child { padding-left: 2px; } }

/* ---- Revue design (branche design-fixes) ---- */
/* Grilles tarifaires : 4 offres sur une ligne en grand écran, Enterprise en bandeau pleine largeur */
.pricing { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); max-width: 1120px; }
.offers { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); max-width: none; }
.plan.enterprise { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; padding: 22px 28px; }
.plan.enterprise h3 { margin: 0; } .plan.enterprise .amount { font-size: 28px; margin: 0; }
.plan.enterprise .plan-desc, .plan.enterprise .hint { margin: 0; flex: 1 1 260px; }
@media (min-width: 1101px) { .pricing { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Tableau de bord : la carte graphique s'étire à la hauteur de la colonne droite (plus de vide) */
@media (min-width: 1101px) {
  .dash-main { align-items: stretch; }
  .dash-main .trend-card { display: flex; flex-direction: column; }
  .dash-main .trend-card .chart-y { flex: 1 1 auto; min-height: 120px; max-height: 460px; }
}
/* Échelle du graphique (axe Y + repères) */
.chart-y { position: relative; display: flex; gap: 8px; height: 140px; }
.chart-y .bars { flex: 1; height: 100%; padding-top: 0;
  background: linear-gradient(to top, var(--line) 1px, transparent 1px) 0 0 / 100% 50%; }
.y-axis { position: relative; width: 22px; flex: none; font-size: 11px; color: var(--muted); text-align: right; }
.y-axis span { position: absolute; right: 0; top: 0; transform: translateY(-50%); line-height: 1; }
.y-axis span.ymid { top: 50%; }
.y-axis span.y0 { top: auto; bottom: 0; transform: translateY(50%); }
.bars-axis.y-pad { margin-left: 30px; }
.legend-unit { color: var(--muted); font-style: italic; }
/* Mobile : liste produits en cartes, actions Vérifier/Supprimer toujours visibles */
@media (max-width: 600px) {
  #ptable, #ptable tbody { display: block; width: 100%; }
  #ptable thead { display: none; }
  #ptable tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: start;
    padding: 12px 14px; border-bottom: 1px solid var(--line); }
  #ptable td { display: block; padding: 0 !important; border: 0; }
  #ptable td:first-child { grid-column: 1; grid-row: 1 / span 2; }
  #ptable td.price { grid-column: 2; grid-row: 1; text-align: right; }
  #ptable td:last-child:not(.price) { grid-column: 2; grid-row: 2; justify-self: end; }
  #ptable .row-actions { flex-direction: row !important; gap: 6px; }
  #ptable .pname { max-width: none; }
  .table-wrap { max-width: 100%; }
}
.offers .plan .btn { white-space: normal; height: auto; min-height: 38px; line-height: 1.3; padding-top: 8px; padding-bottom: 8px; text-align: center; }

/* phase 19 : sélecteur universel de langue + ajustements RTL */
.lang-picker { position: relative; font-size: 13px; }
.lang-picker > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 8px; background: var(--soft); color: var(--ink); font-weight: 600; white-space: nowrap; }
.lang-picker > summary::-webkit-details-marker { display: none; }
.lang-picker > summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.lp-pop { position: absolute; z-index: 60; inset-inline-end: 0; top: calc(100% + 6px); width: min(280px, 90vw); background: #fff; border-radius: 12px; box-shadow: var(--shadow-xs), 0 12px 32px rgba(0,0,0,.14); padding: 8px; }
.side-foot .lp-pop { top: auto; bottom: calc(100% + 6px); inset-inline-start: 0; inset-inline-end: auto; }
.lp-search { width: 100%; box-sizing: border-box; margin-bottom: 6px; }
.lp-list { list-style: none; margin: 0; padding: 0; max-height: min(320px, 60vh); overflow-y: auto; }
.lp-list a { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 8px; color: var(--ink); text-align: start; }
.lp-list a:hover, .lp-list a:focus { background: var(--soft); text-decoration: none; outline: none; }
.lp-list a.active { color: var(--brand); font-weight: 650; }
/* phase 48 : options du sélecteur en <button> (POST + CSRF) pour un compte connecté, même rendu que les liens */
.lp-form { margin: 0; }
.lp-list button { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 24px; padding: 7px 10px; border: 0; border-radius: 8px; background: none; color: var(--ink); font: inherit; text-align: start; cursor: pointer; }
.lp-list button:hover, .lp-list button:focus { background: var(--soft); outline: none; }
.lp-list button:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.lp-list button.active { color: var(--brand); font-weight: 650; }
.lp-empty { margin: 6px 10px; color: var(--muted); }
@media (max-width: 720px) { .lp-pop { position: fixed; inset-inline: 5vw; width: auto; top: 64px; } }
[dir="rtl"] body { text-align: right; }
[dir="rtl"] .ic { transform: scaleX(-1); }
[dir="rtl"] .side-link, [dir="rtl"] .nav-right, [dir="rtl"] .topbar { direction: rtl; }
[dir="rtl"] input, [dir="rtl"] textarea, [dir="rtl"] select { text-align: start; }
[dir="rtl"] .num, [dir="rtl"] input[type="url"], [dir="rtl"] input[type="email"] { direction: ltr; }
:lang(ja), :lang(zh), :lang(ko), :lang(zh-hant) { word-break: keep-all; overflow-wrap: anywhere; }
.btn, .side-link span, .lang-picker summary { overflow-wrap: anywhere; }

/* ── phase 23 : améliorations reprises du cahier de design (logo officiel, titres Fraunces, transparence, reflow 390/320 px) ── */
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/static/fonts/fraunces-latin-600.woff2") format("woff2"); /* OFL, sous-ensemble latin Google Fonts */
}
.logo-mark-img { width: 28px; height: 28px; flex: none; display: block; }
.logo-mark-img.xs { width: 20px; height: 20px; display: inline-block; vertical-align: -5px; margin-right: 6px; }
.is-public .hero h1, .is-public .section-title, .is-public .final-cta h2 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif; font-weight: 600; letter-spacing: -0.015em;
}
.is-public .hero h1 { line-height: 1.08; }
.is-public .hero-lead, .is-public .section-sub { max-width: 38rem; margin-inline: auto; }
.num, .amount, .mock-table .num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 3px; }
html { scroll-padding-top: 80px; }
.honest { display: grid; gap: 24px; align-items: start; margin: 56px auto 0; max-width: 980px; }
@media (min-width: 900px) { .honest { grid-template-columns: 1fr 1.1fr; gap: 48px; } }
.honest .section-title { text-align: start; }
.honest ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.honest li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.honest li .ic { margin-top: 2px; color: var(--accent-ink); }
.honest li.no .ic { color: var(--muted); }
@media (max-width: 600px) {
  .nav .container { gap: 8px; }
  .nav-right { gap: 6px; }
  .nav-right .lang-picker .lp-cur { display: none; }   /* le libellé reste annoncé par aria-label */
  .nav-right .btn.sm { padding-inline: 10px; }
}
@media (max-width: 360px) {
  .nav-right .nav-login { display: none; }  /* « Connexion » reste accessible : bouton du hero et pied de page */
}
/* phase 23 : liens dans un paragraphe soulignés (WCAG 1.4.1, relevé Lighthouse « link-in-text-block ») */
p a:not(.btn), .pricing-footnote a, .hint a { text-decoration: underline; }
/* phase 23 : canaux d'alerte présentés à égalité (landing + réglages) */
.channels-section { margin: 64px auto 0; max-width: 980px; }
.channel-grid { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.channel-tile { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.ct-name { font-weight: 650; color: var(--ink); }
.ct-status { font-size: 13px; font-weight: 600; color: var(--green); }
.channel-tile.soon .ct-status { color: var(--muted); }
.chip.soon { background: var(--soft); color: var(--muted); }

/* phase 25 : utilitaires du tableau de bord — remplacent les attributs style= (préparation d'une CSP sans 'unsafe-inline' pour les styles) */
.t-green { color: var(--green); } .t-red { color: var(--red); }
.legend i.lg-d { background: var(--green); } .legend i.lg-r { background: repeating-linear-gradient(135deg, var(--red) 0 3px, #7f1d1d 3px 5px); }
.gap-20 { gap: 20px; } .va-3 { vertical-align: -3px; } .m-0 { margin: 0; } .mt-4 { margin-top: 4px; } .mt-12 { margin-top: 12px; }
.pl-0 { padding-left: 0; } .pr-0 { padding-right: 0; } .mw-220 { max-width: 220px; } .w-min { width: 1%; }
.lbl-opt { font-weight: 400; color: var(--muted); } .onb-meter { margin: -6px 0 12px; }
.q-full { color: var(--amber); font-weight: 600; }
.chip.warn { background: var(--amber-soft); color: var(--amber); border-color: var(--amber-line); }
.w-0{width:0}.w-5{width:5%}.w-10{width:10%}.w-15{width:15%}.w-20{width:20%}.w-25{width:25%}.w-30{width:30%}.w-35{width:35%}.w-40{width:40%}.w-45{width:45%}.w-50{width:50%}.w-55{width:55%}.w-60{width:60%}.w-65{width:65%}.w-70{width:70%}.w-75{width:75%}.w-80{width:80%}.w-85{width:85%}.w-90{width:90%}.w-95{width:95%}.w-100{width:100%}
.h-0{height:0}.h-5{height:5%}.h-10{height:10%}.h-15{height:15%}.h-20{height:20%}.h-25{height:25%}.h-30{height:30%}.h-35{height:35%}.h-40{height:40%}.h-45{height:45%}.h-50{height:50%}.h-55{height:55%}.h-60{height:60%}.h-65{height:65%}.h-70{height:70%}.h-75{height:75%}.h-80{height:80%}.h-85{height:85%}.h-90{height:90%}.h-95{height:95%}.h-100{height:100%}

/* ------------------------------------------------------------------ CSP : remplacement des style="" (alerts, settings, product, autopilot)
   Placées en fin de fichier : à spécificité égale, elles l'emportent sur les règles précédentes.
   !important uniquement là où l'attribut style écrasait une règle plus spécifique (même comportement qu'avant). */
.gap-6 { gap: 6px; } .gap-8 { gap: 8px; }
.ml-auto { margin-left: auto; }
.self-center { align-self: center; }
.grow { flex: 1; } .min-w-0 { min-width: 0; }
.break-any { overflow-wrap: anywhere; }
.fs-13 { font-size: 13px; } .fs-13-5 { font-size: 13.5px; } .fw-400 { font-weight: 400; }
.text-green { color: var(--green); } .text-red { color: var(--red); } .text-amber { color: var(--amber); }
.m-0 { margin: 0 !important; }                 /* bat `.field + .field { margin-top: 16px }` comme le faisait style="margin:0" */
.mt-4 { margin-top: 4px; } .mt-8 { margin-top: 8px; } .mt-10 { margin-top: 10px; } .mt-14 { margin-top: 14px; }
.mt-20 { margin-top: 20px !important; }        /* idem sur `.field.row` */
.mb-10 { margin-bottom: 10px !important; }
.pad-card-foot { padding: 0 20px 18px; }
.badge-brand { background: var(--brand); }
.ic-inline { vertical-align: -2px; }
hr.sep.sep-lg { margin: 22px 0; }
.h3-sub { font-size: 14px; margin: 18px 0 6px; }
.h3-section { font-size: 14px; margin: 4px 0 8px; }
.table-wrap.scroll-360 { max-height: 360px; overflow: auto; }
.stat .value.value-sm { font-size: 19px; }     /* l'attribut style battait aussi la règle mobile (23px) */
.minw-180 { min-width: 180px; } .minw-240 { min-width: 240px; }

/* ------------------------------------------------------------------ historique de prix en SVG (product.html) — aucun style en ligne */
.hc-figure { margin: 0; display: grid; gap: 10px; }
.hc { display: block; width: 100%; height: auto; overflow: visible; font-family: inherit; }
.hc-compact { display: none; }
@media (max-width: 560px) { .hc-wide { display: none; } .hc-compact { display: block; } }
.hc-grid line { stroke: var(--line); stroke-width: 1; }
.hc-tick { fill: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.hc-price { fill: var(--ink-secondary); font-size: 11.5px; font-weight: 650; font-variant-numeric: tabular-nums; }
.hc-line line { stroke: var(--brand); stroke-width: 2.5; stroke-linecap: round; }
.hc-dot { fill: var(--brand); }
.hc-last { fill: #fff; stroke: var(--brand); stroke-width: 2.5; }
.hc-gap { opacity: .9; }
.hc-hatch { fill: var(--line-strong); }
.hc-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; color: var(--muted); }
.hc-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.hc-key { display: inline-block; width: 22px; height: 12px; flex: none; }
.hc-key-line { border-bottom: 3px solid var(--brand); height: 8px; }
.hc-key-gap { border: 1px solid var(--line-strong);
  background: repeating-linear-gradient(45deg, var(--line-strong) 0 2px, transparent 2px 6px); }
.hc-periods { margin: 10px 0 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: 13.5px; }
.hc-period-gap strong { color: var(--muted); font-weight: 600; }
@media (forced-colors: active) { .hc-line line { stroke: Highlight; } .hc-hatch { fill: CanvasText; } }
.mt-16 { margin-top: 16px !important; }

/* phase 27 : vert exact du logo V3 (pricevra-mark-64.png), utilisé par login-art.css */
:root { --logo-green: #2bc6a2; }
/* phase 29 : audit de la page d'accueil (revue Claude vérifiée sur le code actuel) */
.mock-stats { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }   /* 3 chiffres côte à côte, y compris mobile */
@media (max-width: 600px) { .mock-stat { padding: 8px 10px; } .mock-stat .mv { font-size: 17px; } .mock-body { padding: 14px; } }
.honest .section-label { text-align: start; }                                 /* sur-titre aligné sur son titre */
.setup-offer { margin-top: 64px; padding-top: 8px; }                          /* la note des prix ne touche plus le titre */
.setup-title { font-size: 25px; }
.setup-title .tag { font-family: var(--font); font-size: 12px; letter-spacing: .02em; }   /* badge dans la police du texte */
.setup-offer .pricing { justify-content: center; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 24px; }   /* cibles ≥ 24 px (WCAG 2.5.8) */
.lang-picker > summary { min-height: 32px; }
.lp-list a { min-height: 24px; align-items: center; }
.lp-code { display: none; }
@media (max-width: 600px) {
  .nav-right .lang-picker .lp-code { display: inline; }                       /* « 🌐 FR ▾ » plutôt que « 🌐 ▾ » */
  .hero-eyebrow { font-size: 12px; padding: 5px 12px; max-width: 100%; text-align: center; justify-content: center; line-height: 1.35; }
  .channel-grid.all-soon { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .channel-grid.all-soon .channel-tile { padding: 10px 12px; gap: 2px; }
  .channel-grid.all-soon .ct-name { font-size: 13.5px; }
  .channel-grid.all-soon .ct-status { font-size: 12px; }
}
/* phase 30 : tableau de bord — tri accessible, lignes mobiles, blocs par point de rupture */
button.th-sort { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: inherit; }
.d-block { display: block; }
.only-md-block { display: none; }
@media (max-width: 900px) { .only-md-block { display: block; } }
/* phase 31 : parcours d'inscription — remplace les styles en ligne (CSP sans unsafe-inline) */
.row2 > .field + .field { margin-top: 0; }          /* Prénom / Nom alignés (l'espacement vient du gap) */
.auth.auth-wide { max-width: 620px; }
.auth-switch { text-align: center; margin-top: 20px; }
.trial-terms { margin: 12px 0; padding: 12px 14px; border-left: 3px solid var(--brand, #6d28d9); background: var(--brand-soft, #f5f3ff); border-radius: 8px; }
.trial-terms p { margin: 0; }
.trial-terms p + p { margin-top: 8px; }
.banner.card-required { border-color: var(--brand, #6d28d9); }
.row2 + .field { margin-top: 16px; }                 /* phase 31 */
/* phase 32 : styles sortis de billing.html (CSP) + mention HT ; erreurs de champ du formulaire d'inscription */
.amount small.amount-unit { font-size: 15px; color: var(--muted); }
.mt-6 { margin-top: 6px; }
.mw-820 { max-width: 820px; }
.tax-basis { font-size: .8em; color: var(--muted); font-weight: 500; }
.tax-note { font-weight: 600; }
.field-error { color: var(--danger, #b42318); font-size: 13.5px; margin-top: 4px; }
.field input[aria-invalid="true"] { border-color: var(--danger, #b42318); }

/* phase 35 : type de client (inscription / facturation) */
.p35-ctype{border:0;padding:0;margin:0 0 12px}
.p35-ctype legend{font-weight:600;margin-bottom:6px}
.p35-choices{display:flex;gap:18px;flex-wrap:wrap}
.withdrawal-box{border:1px solid var(--line,#e5e7eb);border-radius:10px;padding:12px;margin:8px 0 12px}
form:has(#ct-business:checked) .p35-individual-only{display:none}
form:has(#ct-individual:checked) .p35-business-only{display:none}
.p35-ask{margin-bottom:14px}

/* phase 36 : formulaire type de rétractation (texte préformaté, retour à la ligne) */
.pv-pre{white-space:pre-wrap;font-family:inherit;background:transparent;border:1px solid var(--border,#e5e7eb);border-radius:8px;padding:16px;line-height:1.6}
