/* Interface de gestion (console opérateur et panneau client) — aucune dépendance externe */
@font-face { font-family: "Inter"; src: url("polices/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --encre: #18202b;
  --encre-2: #4a5462;
  --encre-3: #7c8694;
  --ligne: #e2e6eb;
  --ligne-forte: #c9d0d8;
  --fond: #f4f5f7;
  --surface: #ffffff;
  --survol: #f7f8fa;
  --marque: #0f6b62;
  --marque-fonce: color-mix(in srgb, var(--marque) 82%, #000);
  --marque-pale: color-mix(in srgb, var(--marque) 9%, #fff);
  --danger: #b42318; --danger-pale: #fdeceb;
  --succes: #0f7a4a; --succes-pale: #e3f5ec;
  --alerte: #8f5100; --alerte-pale: #fff3dd;
  --info: #1d5fa8; --info-pale: #e7f0fb;
  --violet: #6236c2; --violet-pale: #f0eafc;
  --rayon: 10px;
  --rayon-petit: 7px;
  --ombre: 0 1px 2px rgba(16, 24, 40, .05);
  --police: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 14.5px/1.55 var(--police); color: var(--encre); background: var(--fond); font-feature-settings: "cv11", "ss01"; }
a { color: var(--marque-fonce); text-underline-offset: .15em; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: 1.5rem; font-weight: 680; }
h2 { font-size: 1.08rem; font-weight: 650; }
h3 { font-size: .98rem; font-weight: 640; }
p { margin: 0 0 .8em; }
code, pre, .mono { font-family: var(--mono); font-size: .86em; }
small, .discret { color: var(--encre-3); }
hr { border: 0; border-top: 1px solid var(--ligne); margin: 20px 0; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--marque) 40%, transparent); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Cadre ---------- */
.cadre { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; }
.cote { position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; padding: 16px 12px; gap: 2px; }
.console .cote { background: #141b24; color: #c4ccd6; }
.gestion .cote { background: var(--surface); border-right: 1px solid var(--ligne); color: var(--encre-2); }
.marque-cote { display: flex; align-items: center; gap: 10px; padding: 6px 10px 18px; text-decoration: none; color: inherit; min-width: 0; }
.marque-cote .pastille-marque { width: 30px; height: 30px; border-radius: 8px; background: var(--marque); color: #fff; display: grid; place-items: center; font-weight: 750; font-size: .95rem; flex: none; }
.marque-cote img { max-height: 32px; max-width: 120px; object-fit: contain; }
.marque-cote strong { display: block; font-size: .95rem; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.marque-cote small { display: block; font-size: .76rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.console .marque-cote strong { color: #fff; }
.console .marque-cote small { color: #8592a1; }
.nav-groupe { font-size: .72rem; font-weight: 600; color: var(--encre-3); padding: 14px 10px 4px; letter-spacing: .02em; }
.console .nav-groupe { color: #6f7c8b; }
.nav a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 7px; color: inherit; text-decoration: none; font-size: .92rem; font-weight: 500; }
.console .nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.console .nav a.actif { background: rgba(255, 255, 255, .1); color: #fff; }
.gestion .nav a:hover { background: var(--survol); color: var(--encre); }
.gestion .nav a.actif { background: var(--marque-pale); color: var(--marque-fonce); }
.nav a .compte { margin-left: auto; font-size: .72rem; font-weight: 700; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--marque); color: #fff; display: inline-grid; place-items: center; }
.nav a .compte.alerte { background: #d97706; }
.cote-bas { margin-top: auto; padding-top: 14px; display: grid; gap: 2px; }
.console .cote-bas { border-top: 1px solid rgba(255, 255, 255, .08); }
.gestion .cote-bas { border-top: 1px solid var(--ligne); }
.cote-bas form { margin: 0; }
.cote-bas button { width: 100%; background: none; border: 0; font: inherit; color: inherit; display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 7px; cursor: pointer; font-size: .92rem; font-weight: 500; }
.console .cote-bas button:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.gestion .cote-bas button:hover { background: var(--survol); }
.qui { display: flex; align-items: center; gap: 10px; padding: 8px 10px; font-size: .86rem; min-width: 0; }
.qui .avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--marque-pale); color: var(--marque-fonce); display: grid; place-items: center; font-weight: 700; font-size: .8rem; flex: none; }
.console .qui .avatar { background: rgba(255, 255, 255, .1); color: #fff; }
.qui span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.principal { min-width: 0; }
.bandeau-operateur { background: #2b1d5c; color: #e9e3ff; font-size: .85rem; padding: 7px 28px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.bandeau-operateur a { color: #fff; font-weight: 600; }
.contenu { padding: 26px 32px 72px; max-width: 1240px; min-width: 0; }
.contenu.etroit { max-width: 900px; }

/* ---------- En-tête de page ---------- */
.tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.tete h1 { margin: 0; }
.tete .sous { margin: 4px 0 0; color: var(--encre-2); }
.fil { font-size: .85rem; color: var(--encre-3); margin-bottom: 6px; display: flex; gap: 6px; flex-wrap: wrap; }
.fil a { color: var(--encre-2); text-decoration: none; }
.fil a:hover { text-decoration: underline; }
.actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.onglets { display: flex; gap: 2px; border-bottom: 1px solid var(--ligne); margin: 0 0 20px; overflow-x: auto; }
.onglets a { padding: 9px 13px; color: var(--encre-2); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; font-weight: 500; }
.onglets a:hover { color: var(--encre); }
.onglets a.actif { color: var(--encre); border-bottom-color: var(--marque); }

/* ---------- Cartes ---------- */
.carte { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 20px 22px; margin-bottom: 16px; box-shadow: var(--ombre); }
.carte.sans-marge { padding: 0; overflow: hidden; }
.carte > h2:first-child, .carte-tete h2 { margin-bottom: 0; }
.carte-tete { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.carte-tete p { margin: 2px 0 0; color: var(--encre-3); font-size: .88rem; }
.carte.sans-marge .carte-tete { padding: 16px 20px 0; }
.carte.danger { border-color: #f1c4bf; }
.grille { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-2-1 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; }
.g-1-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; }

/* ---------- Indicateurs ---------- */
.kpi { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 16px 18px; text-decoration: none; color: inherit; display: block; box-shadow: var(--ombre); }
a.kpi:hover { border-color: var(--ligne-forte); }
.kpi .lib { font-size: .84rem; color: var(--encre-2); display: flex; gap: 8px; align-items: center; }
.kpi .val { font-size: 1.6rem; font-weight: 680; letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-top: 4px; display: block; }
.kpi .val.alerte { color: var(--alerte); }
.kpi .note { font-size: .8rem; color: var(--encre-3); }
.graph { width: 100%; height: 142px; display: block; border-bottom: 1px solid var(--ligne); }
.graph-legende { display: flex; justify-content: space-between; font-size: .75rem; color: var(--encre-3); padding-top: 6px; }
.graph .barre { fill: color-mix(in srgb, var(--marque) 70%, #fff); }
.graph .barre:hover { fill: var(--marque); }
.graph .axe { stroke: var(--ligne); }
.graph text { font-size: 10px; fill: var(--encre-3); font-family: var(--police); }

/* ---------- Étiquettes ---------- */
.etiq { display: inline-flex; align-items: center; gap: 5px; font-size: .76rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: #eef0f3; color: var(--encre-2); white-space: nowrap; line-height: 1.6; }
.etiq.succes { background: var(--succes-pale); color: var(--succes); }
.etiq.danger { background: var(--danger-pale); color: var(--danger); }
.etiq.alerte { background: var(--alerte-pale); color: var(--alerte); }
.etiq.info { background: var(--info-pale); color: var(--info); }
.etiq.violet { background: var(--violet-pale); color: var(--violet); }
.etiq.point::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pastille { width: 10px; height: 10px; border-radius: 50%; background: var(--c, #999); display: inline-block; flex: none; }

/* ---------- Tableaux ---------- */
.tableau { width: 100%; border-collapse: collapse; }
.tableau th { text-align: left; font-weight: 600; color: var(--encre-2); font-size: .8rem; padding: 10px 14px; border-bottom: 1px solid var(--ligne); background: #fafbfc; white-space: nowrap; }
.tableau td { padding: 11px 14px; border-bottom: 1px solid var(--ligne); vertical-align: middle; }
.tableau tbody tr:last-child td { border-bottom: 0; }
.tableau tbody tr:hover td { background: var(--survol); }
.tableau .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tableau .fin { text-align: right; white-space: nowrap; }
.tableau .principal-lien { color: var(--encre); font-weight: 600; text-decoration: none; }
.tableau .principal-lien:hover { text-decoration: underline; }
.tableau tr.attenue td { color: var(--encre-3); }
.tableau .sous-ligne { display: block; font-size: .82rem; color: var(--encre-3); }
.carte .tableau th:first-child, .carte .tableau td:first-child { padding-left: 20px; }
.carte .tableau th:last-child, .carte .tableau td:last-child { padding-right: 20px; }
.defile { overflow-x: auto; }
.vignette { width: 42px; height: 42px; border-radius: 7px; object-fit: cover; background: #eef0f3; display: block; flex: none; }
.cellule-produit { display: flex; gap: 12px; align-items: center; }
.barre-outils { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--ligne); }
.barre-outils .recherche { flex: 1 1 220px; max-width: 360px; position: relative; }
.barre-outils .recherche .ico { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--encre-3); }
.barre-outils .recherche input { padding-left: 34px; }
.pagination { display: flex; gap: 6px; justify-content: space-between; align-items: center; padding: 12px 20px; border-top: 1px solid var(--ligne); font-size: .88rem; color: var(--encre-2); }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 16px; }
.champ { display: grid; gap: 6px; min-width: 0; align-content: start; }
.champ > label, .champ > .lib { font-weight: 600; font-size: .88rem; color: var(--encre); }
.champ .aide { font-size: .82rem; color: var(--encre-3); }
.champ .erreur-champ { font-size: .82rem; color: var(--danger); }
input:not([type]), input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], input[type=tel], input[type=date], input[type=time], input[type=search], select, textarea {
  font: inherit; color: inherit; width: 100%; padding: 8px 11px; border: 1px solid var(--ligne-forte); border-radius: var(--rayon-petit); background: #fff; min-height: 38px;
}
textarea { min-height: 96px; resize: vertical; line-height: 1.55; }
textarea.code, input.code { font-family: var(--mono); font-size: .86rem; }
textarea.grand { min-height: 260px; }
input:focus, select:focus, textarea:focus { border-color: var(--marque); outline: 3px solid color-mix(in srgb, var(--marque) 18%, transparent); outline-offset: 0; }
input:disabled, select:disabled { background: var(--survol); color: var(--encre-3); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237c8694' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 32px; }
.rangee { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.rangee.r2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rangee.r3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.case { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: .92rem; }
.case input { margin: 3px 0 0; width: 16px; height: 16px; accent-color: var(--marque); flex: none; }
.case small { display: block; }
.interrupteur { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 500; }
.interrupteur input { appearance: none; width: 36px; height: 20px; border-radius: 999px; background: var(--ligne-forte); position: relative; cursor: pointer; transition: background .15s; flex: none; margin: 0; }
.interrupteur input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.interrupteur input:checked { background: var(--marque); }
.interrupteur input:checked::after { transform: translateX(16px); }
.couleur { display: flex; gap: 8px; align-items: center; }
.couleur input[type=color] { width: 44px; height: 38px; padding: 3px; border: 1px solid var(--ligne-forte); border-radius: var(--rayon-petit); background: #fff; cursor: pointer; flex: none; }
.couleur input[type=text] { font-family: var(--mono); max-width: 120px; }
.prefixe { display: flex; align-items: stretch; }
.prefixe span { display: grid; place-items: center; padding: 0 10px; background: var(--survol); border: 1px solid var(--ligne-forte); border-right: 0; border-radius: var(--rayon-petit) 0 0 var(--rayon-petit); color: var(--encre-3); font-size: .9rem; white-space: nowrap; }
.prefixe input { border-radius: 0 var(--rayon-petit) var(--rayon-petit) 0; }
.choix-cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.choix-cartes label { border: 1px solid var(--ligne-forte); border-radius: var(--rayon); padding: 12px 14px; cursor: pointer; display: grid; gap: 2px; position: relative; background: #fff; }
.choix-cartes label:has(input:checked) { border-color: var(--marque); box-shadow: inset 0 0 0 1px var(--marque); background: var(--marque-pale); }
.choix-cartes input { position: absolute; opacity: 0; pointer-events: none; }
.choix-cartes strong { font-size: .95rem; }
.choix-cartes span { font-size: .84rem; color: var(--encre-2); }
.section-form { display: grid; gap: 14px; }
.section-form + .section-form { border-top: 1px solid var(--ligne); padding-top: 18px; margin-top: 4px; }
.barre-enregistrer { position: sticky; bottom: 0; z-index: 5; background: color-mix(in srgb, var(--fond) 88%, transparent); backdrop-filter: blur(8px); border-top: 1px solid var(--ligne); padding: 12px 0; margin-top: 8px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; font-weight: 600; font-size: .88rem; margin-bottom: 8px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; font: inherit; font-weight: 600; font-size: .9rem; padding: 8px 15px; min-height: 38px; border-radius: var(--rayon-petit); border: 1px solid transparent; background: var(--marque); color: #fff; cursor: pointer; text-decoration: none; line-height: 1.2; white-space: nowrap; }
.btn:hover { background: var(--marque-fonce); color: #fff; }
.btn .ico { width: 16px; height: 16px; }
.btn.secondaire { background: #fff; color: var(--encre); border-color: var(--ligne-forte); }
.btn.secondaire:hover { background: var(--survol); color: var(--encre); }
.btn.fantome { background: transparent; color: var(--encre-2); border-color: transparent; }
.btn.fantome:hover { background: var(--survol); color: var(--encre); }
.btn.danger { background: #fff; color: var(--danger); border-color: #ecb7b1; }
.btn.danger:hover { background: var(--danger-pale); }
.btn.danger-plein { background: var(--danger); color: #fff; }
.btn.petit { min-height: 30px; padding: 4px 10px; font-size: .84rem; }
.btn.icone { padding: 0; width: 32px; min-height: 32px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.lien-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--marque-fonce); cursor: pointer; text-decoration: underline; text-underline-offset: .15em; }
.lien-btn.danger { color: var(--danger); }
form.en-ligne { display: inline; margin: 0; }

/* ---------- Messages ---------- */
.flash { display: flex; gap: 10px; align-items: flex-start; padding: 11px 14px; border-radius: var(--rayon-petit); margin-bottom: 18px; font-size: .92rem; border: 1px solid; }
.flash.ok { background: var(--succes-pale); border-color: #b7e2c9; color: #0b5a37; }
.flash.erreur { background: var(--danger-pale); border-color: #f1c4bf; color: #8a1c12; }
.flash.info { background: var(--info-pale); border-color: #bfd6f2; color: #16457b; }
.avis { padding: 11px 14px; border-radius: var(--rayon-petit); font-size: .9rem; border: 1px solid #f0d49c; background: var(--alerte-pale); color: #6b3d00; }
.avis.info { border-color: #bfd6f2; background: var(--info-pale); color: #16457b; }
.avis.danger { border-color: #f1c4bf; background: var(--danger-pale); color: #8a1c12; }
.avis a { color: inherit; font-weight: 600; }
.vide { text-align: center; padding: 44px 20px; color: var(--encre-2); }
.vide .ico { width: 34px; height: 34px; color: var(--encre-3); margin-bottom: 6px; }
.vide h3 { margin-bottom: 4px; }
.verrou { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 1px dashed var(--ligne-forte); border-radius: var(--rayon); color: var(--encre-2); background: var(--survol); }

/* ---------- Listes de définition ---------- */
dl.infos { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 7px 20px; margin: 0; font-size: .92rem; }
dl.infos dt { color: var(--encre-3); }
dl.infos dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.chronologie { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.chronologie li { display: grid; grid-template-columns: 10px 1fr; gap: 12px; font-size: .9rem; }
.chronologie li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ligne-forte); margin-top: 6px; }
.chronologie li:first-child::before { background: var(--marque); }
.chronologie small { display: block; }
.totaux { display: grid; gap: 6px; margin-left: auto; width: min(340px, 100%); font-variant-numeric: tabular-nums; }
.totaux div { display: flex; justify-content: space-between; gap: 12px; }
.totaux .total { border-top: 1px solid var(--ligne); padding-top: 10px; margin-top: 4px; font-weight: 700; font-size: 1.05rem; }
.code-bloc { background: #151c26; color: #e2e8f0; padding: 14px 16px; border-radius: var(--rayon-petit); overflow-x: auto; font-family: var(--mono); font-size: .82rem; line-height: 1.6; white-space: pre; margin: 0; }
.copie { position: relative; }
.copie .btn { position: absolute; top: 8px; right: 8px; }

/* ---------- Éditeur de pages ---------- */
.editeur { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.blocs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.bloc { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--rayon); box-shadow: var(--ombre); }
.bloc[open] { border-color: var(--ligne-forte); }
.bloc.masque { opacity: .65; }
.bloc > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 11px 12px 11px 14px; cursor: pointer; border-radius: var(--rayon); }
.bloc > summary::-webkit-details-marker { display: none; }
.bloc > summary:hover { background: var(--survol); }
.bloc .num-bloc { width: 26px; height: 26px; border-radius: 7px; background: var(--marque-pale); color: var(--marque-fonce); display: grid; place-items: center; flex: none; }
.bloc .num-bloc .ico { width: 15px; height: 15px; }
.bloc .titre-bloc { min-width: 0; flex: 1; }
.bloc .titre-bloc strong { display: block; font-size: .92rem; }
.bloc .titre-bloc small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bloc .outils-bloc { display: flex; gap: 2px; }
.bloc .outils-bloc button { background: none; border: 0; width: 30px; height: 30px; border-radius: 7px; display: grid; place-items: center; color: var(--encre-2); cursor: pointer; }
.bloc .outils-bloc button:hover { background: var(--fond); color: var(--encre); }
.bloc .outils-bloc button.danger:hover { color: var(--danger); background: var(--danger-pale); }
.bloc .corps-bloc { padding: 4px 18px 18px; border-top: 1px solid var(--ligne); display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding-top: 16px; }
.repetition { display: grid; gap: 10px; }
.ligne-rep { border: 1px solid var(--ligne); border-radius: var(--rayon-petit); padding: 12px; display: grid; gap: 10px; background: #fcfcfd; position: relative; }
.ligne-rep .retirer { position: absolute; top: 8px; right: 8px; }
.ligne-rep .rangee { padding-right: 30px; }
.ajout-bloc { border: 1px dashed var(--ligne-forte); border-radius: var(--rayon); padding: 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; background: rgba(255,255,255,.6); }
.ajout-bloc select { max-width: 320px; }
.options-bloc { border-top: 1px dashed var(--ligne); padding-top: 12px; }
.options-bloc summary { cursor: pointer; font-size: .85rem; color: var(--encre-2); font-weight: 600; }
.panneau-page { position: sticky; top: 16px; display: grid; gap: 14px; }

/* ---------- Champ image + médiathèque ---------- */
.champ-image { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.champ-image .apercu { width: 64px; height: 48px; border-radius: 6px; background: #eef0f3 center/cover no-repeat; border: 1px solid var(--ligne); flex: none; display: grid; place-items: center; color: var(--encre-3); overflow: hidden; }
.champ-image .apercu img { width: 100%; height: 100%; object-fit: cover; }
.champ-image input[type=text] { flex: 1; min-width: 140px; font-family: var(--mono); font-size: .8rem; }
.grille-medias { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.media { border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.media .vis { aspect-ratio: 4 / 3; background: #eef0f3 center/cover no-repeat; display: grid; place-items: center; color: var(--encre-3); }
.media .vis img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media .info { padding: 8px 10px; font-size: .78rem; display: grid; gap: 2px; }
.media .info span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.media button.choisir { all: unset; cursor: pointer; display: block; }
.media button.choisir:focus-visible { outline: 3px solid var(--marque); }
dialog.modale { border: 0; border-radius: 14px; padding: 0; width: min(980px, calc(100vw - 32px)); max-height: calc(100vh - 48px); box-shadow: 0 24px 64px rgba(15, 23, 42, .3); }
dialog.modale::backdrop { background: rgba(15, 23, 42, .45); }
.modale-tete { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--ligne); position: sticky; top: 0; background: #fff; z-index: 1; gap: 10px; }
.modale-corps { padding: 18px; overflow-y: auto; max-height: calc(100vh - 140px); }
.zone-depot { border: 2px dashed var(--ligne-forte); border-radius: var(--rayon); padding: 22px; text-align: center; color: var(--encre-2); background: var(--survol); }
.zone-depot.survol { border-color: var(--marque); background: var(--marque-pale); }

/* ---------- Éditeur Markdown ---------- */
.md-outils { display: flex; gap: 2px; padding: 4px; border: 1px solid var(--ligne-forte); border-bottom: 0; border-radius: var(--rayon-petit) var(--rayon-petit) 0 0; background: var(--survol); flex-wrap: wrap; }
.md-outils button { background: none; border: 0; min-width: 30px; height: 28px; border-radius: 5px; cursor: pointer; font: 600 .82rem var(--police); color: var(--encre-2); padding: 0 7px; }
.md-outils button:hover { background: #fff; color: var(--encre); }
.md-outils + textarea { border-top-left-radius: 0; border-top-right-radius: 0; }
.apercu-md { border: 1px solid var(--ligne-forte); border-radius: 0 0 var(--rayon-petit) var(--rayon-petit); padding: 6px 16px; background: #fff; min-height: 96px; }

/* ---------- Variantes ---------- */
.options-produit { display: grid; gap: 10px; }
.option-ligne { display: grid; grid-template-columns: 180px 1fr auto; gap: 10px; align-items: start; }
.tableau-variantes input { min-height: 34px; padding: 6px 9px; }
.tableau-variantes td { padding: 8px 10px; }
.tableau-variantes td:first-child { min-width: 150px; font-weight: 600; }
.tableau-variantes input[type=text], .tableau-variantes input[type=number] { min-width: 80px; }
.tableau-variantes select { min-width: 120px; min-height: 34px; padding: 6px 28px 6px 9px; }

/* ---------- Connexion ---------- */
.page-auth { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: var(--fond); }
.carte-auth { width: min(400px, 100%); background: #fff; border: 1px solid var(--ligne); border-radius: 16px; padding: 32px; box-shadow: 0 8px 30px rgba(16, 24, 40, .06); }
.carte-auth .logo-auth { display: flex; gap: 10px; align-items: center; margin-bottom: 22px; }
.carte-auth h1 { font-size: 1.3rem; }
.carte-auth .bas-auth { margin-top: 16px; font-size: .88rem; text-align: center; }
.qr { display: grid; place-items: center; padding: 10px; background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); width: fit-content; }
.qr svg { display: block; }

/* ---------- Divers ---------- */
.etat-domaine { display: grid; gap: 4px; }
.etat-domaine small { max-width: 520px; }
.replique { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--ligne); }
.replique:last-child { border-bottom: 0; }
.voyant { width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; flex: none; background: var(--encre-3); }
.voyant.vert { background: #12a150; box-shadow: 0 0 0 3px #12a15026; }
.voyant.orange { background: #d97706; box-shadow: 0 0 0 3px #d9770626; }
.voyant.rouge { background: #dc2626; box-shadow: 0 0 0 3px #dc262626; }
.liste-cochee { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.liste-cochee a { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: var(--rayon-petit); color: var(--encre); text-decoration: none; }
.liste-cochee a:hover { background: var(--survol); }
.liste-cochee .coche { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--ligne-forte); display: grid; place-items: center; color: #fff; flex: none; }
.liste-cochee .coche .ico { width: 12px; height: 12px; stroke-width: 3; }
.liste-cochee .fait .coche { background: var(--succes); border-color: var(--succes); }
.liste-cochee .fait .lib { color: var(--encre-3); text-decoration: line-through; }
.barre-progres { height: 8px; border-radius: 999px; background: var(--fond); overflow: hidden; }
.barre-progres span { display: block; height: 100%; background: var(--marque); border-radius: 999px; }
.barre-progres.alerte span { background: #d97706; }
.top-liste { list-style: none; padding: 0; margin: 0; }
.top-liste li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--ligne); font-size: .9rem; }
.top-liste li:last-child { border-bottom: 0; }
.top-liste span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.message { border-bottom: 1px solid var(--ligne); padding: 16px 20px; }
.message:last-child { border-bottom: 0; }
.message.non-lu { background: color-mix(in srgb, var(--marque) 3%, #fff); }
.message .entete-msg { display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.message .corps-msg { white-space: pre-wrap; margin: 8px 0 12px; }
.couleurs-apercu { display: flex; gap: 6px; }
.couleurs-apercu span { width: 22px; height: 22px; border-radius: 6px; border: 1px solid rgba(0,0,0,.08); }
.polices { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.polices label { border: 1px solid var(--ligne-forte); border-radius: var(--rayon); padding: 14px; cursor: pointer; display: grid; gap: 4px; background: #fff; position: relative; }
.polices label:has(input:checked) { border-color: var(--marque); box-shadow: inset 0 0 0 1px var(--marque); }
.polices input { position: absolute; opacity: 0; }
.polices .specimen { font-size: 1.35rem; line-height: 1.2; color: var(--encre); }
.polices small { font-size: .78rem; }

@media (max-width: 1100px) {
  .editeur { grid-template-columns: minmax(0, 1fr); }
  .panneau-page { position: static; }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .cadre { grid-template-columns: minmax(0, 1fr); }
  .cote { position: static; height: auto; max-height: none; flex-direction: row; flex-wrap: wrap; padding: 10px 12px; gap: 4px; }
  .cote .nav-groupe { display: none; }
  .marque-cote { padding: 4px 8px; flex-basis: 100%; }
  .nav { display: flex; gap: 2px; overflow-x: auto; flex-basis: 100%; }
  .nav a { white-space: nowrap; }
  .cote-bas { display: none; }
  .contenu { padding: 18px 16px 56px; }
  .g2, .g3, .g4, .g-2-1, .g-1-2, .rangee.r2, .rangee.r3 { grid-template-columns: minmax(0, 1fr); }
  .carte.sans-marge, .carte:has(> .tableau) { overflow-x: auto; }
  .option-ligne { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print {
  .cote, .barre-enregistrer, .noprint, .tete .actions, .contrat-accepter, .contrat-bandeau, .menu-mobile { display: none !important; }
  .contrat-texte { border: 0; box-shadow: none; padding: 0; }
  .cadre { display: block; }
  body { background: #fff; }
}

/* ---------- Choix du thème ---------- */
.themes-choix { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.theme-carte { border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.theme-carte.actif { border-color: var(--marque); box-shadow: 0 0 0 2px var(--marque-pale); }
.theme-vignette { aspect-ratio: 16 / 10; background: #eef0f3; overflow: hidden; display: block; color: var(--encre-3); position: relative; }
.theme-vignette span { position: absolute; inset: 0; display: grid; place-items: center; }
.theme-vignette img { width: 100%; height: auto; display: block; transition: transform 4s ease; }
.theme-carte:hover .theme-vignette img { transform: translateY(-66%); }
@media (prefers-reduced-motion: reduce) { .theme-carte:hover .theme-vignette img { transform: none; } }
.theme-texte { padding: 14px 16px 0; }
.theme-texte h3 { margin: 0 0 4px; font-size: 1.05rem; display: flex; gap: 8px; align-items: center; }
.theme-texte p { margin: 0 0 8px; font-size: .9rem; }
.theme-actions { padding: 6px 16px 16px; margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.theme-actions form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.case.petite { font-size: .82rem; }

.avis-carte { border-color: var(--alerte); background: #fffaf0; }
.tableau tfoot td { border-bottom: 0; padding-top: 6px; padding-bottom: 6px; }

/* ---------- Soutien : fil de discussion ---------- */
.fil-discussion { display: grid; gap: 12px; margin-bottom: 16px; }
.message-billet { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 14px 18px; max-width: 92%; }
.message-billet.hebergeur { margin-left: auto; background: var(--marque-pale); border-color: color-mix(in srgb, var(--marque) 30%, transparent); }
.message-billet header { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; font-size: .9rem; }
.message-billet header small { color: var(--encre-3); }
.annonce-panneau { border-radius: var(--rayon); padding: 12px 16px; margin-bottom: 14px; background: #eef4ff; border: 1px solid #c9d8f5; }
.annonce-panneau.important { background: #fff7e6; border-color: #f3d39a; }
.annonce-panneau strong { display: block; }

/* Cartes à choisir (assistant de démarrage, création de site) */
.choix-carte { position: relative; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.choix-carte > input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.choix-carte:hover { border-color: #c5cbd3; }
.choix-carte:has(> input:checked) { border-color: var(--marque); box-shadow: 0 0 0 3px var(--marque-pale); }
.choix-carte:has(> input:focus-visible) { outline: 2px solid var(--marque); outline-offset: 2px; }
.coche-choix { position: absolute; top: 10px; right: 10px; z-index: 2; width: 26px; height: 26px; border-radius: 50%; background: var(--marque); color: #fff; display: none; place-items: center; }
.coche-choix .ico { width: 16px; height: 16px; }
.choix-carte:has(> input:checked) .coche-choix { display: grid; }
.themes-choix.compact { grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); gap: 12px; }
.themes-choix.compact .theme-vignette { aspect-ratio: 4 / 3; }
.themes-choix.compact .theme-texte { padding: 10px 12px 12px; }
.themes-choix.compact .theme-texte p { font-size: .82rem; }
.secteurs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); gap: 10px; }
.secteur-carte { border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 14px 14px 12px; background: #fff; display: flex; flex-direction: column; gap: 4px; }
.secteur-carte > .ico { width: 26px; height: 26px; color: var(--marque); margin-bottom: 4px; }
.secteur-carte strong { font-size: .95rem; }
.secteur-carte small { color: var(--encre-3); font-size: .8rem; line-height: 1.35; }
.etape-assistant { display: flex; gap: 12px; align-items: flex-start; }
.etape-num { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--marque); color: #fff; font-weight: 700; font-size: .9rem; }
.etape-assistant h2 { margin: 3px 0 4px; }
.assistant-pied { position: sticky; bottom: 0; z-index: 5; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); border-top: 1px solid var(--ligne); padding: 12px 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.bienvenue-carte { background: linear-gradient(120deg, var(--marque-pale), #fff 70%); border-color: var(--marque-pale); }
.bienvenue-carte h2 { display: flex; gap: 8px; align-items: center; }
.annonce-gestion { border-left: 4px solid var(--marque); }
.annonce-gestion.important { border-left-color: #d97706; background: #fffbeb; }
.annonce-gestion h3 { margin: 0 0 4px; font-size: 1rem; }
.annonce-gestion p { margin: 0; }
.theme-texte .titre-carte { display: block; font-size: 1rem; margin-bottom: 2px; }
.theme-texte .petit-texte { display: block; font-size: .82rem; line-height: 1.35; }
.pre { white-space: pre-wrap; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
@media (max-width: 620px) {
  .secteurs { grid-template-columns: 1fr 1fr; gap: 8px; }
  .secteur-carte { padding: 12px 10px 10px; }
  .secteur-carte small { display: none; }
  .themes-choix.compact { grid-template-columns: 1fr 1fr; gap: 8px; }
  .themes-choix.compact .theme-texte .petit-texte { display: none; }
  .etape-assistant { gap: 10px; }
}
/* Bandeau d'état de publication dans l'éditeur */
.bandeau-publication { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 14px 18px; border-radius: var(--rayon); border: 1px solid; margin-bottom: 4px; }
.bandeau-publication > span { display: flex; gap: 10px; align-items: flex-start; }
.bandeau-publication .ico { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.bandeau-publication.brouillon { background: #fffbeb; border-color: #fcd34d; color: #78350f; }
.bandeau-publication.modifie { background: var(--marque-pale); border-color: color-mix(in srgb, var(--marque) 30%, transparent); }
/* Filtre des thèmes par secteur */
.filtre-themes { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.filtre-themes button { font: inherit; font-size: .88rem; font-weight: 600; border: 1px solid var(--ligne-forte); background: #fff; color: var(--encre-2); border-radius: 999px; padding: 7px 14px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.filtre-themes button span { font-size: .78rem; color: var(--encre-3); font-weight: 600; }
.filtre-themes button:hover { border-color: var(--marque); color: var(--marque); }
.filtre-themes button[aria-pressed="true"] { background: var(--marque); border-color: var(--marque); color: #fff; }
.filtre-themes button[aria-pressed="true"] span { color: rgba(255,255,255,.8); }
/* Modèles de pages */
.modeles-pages { display: grid; gap: 6px; max-height: 420px; overflow-y: auto; padding-right: 4px; }
.groupe-modeles { margin: 10px 0 2px; font-size: .78rem; font-weight: 700; color: var(--encre-3); }
.groupe-modeles:first-child { margin-top: 0; }
.modele-page { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--ligne); border-radius: var(--rayon-petit); padding: 9px 11px; cursor: pointer; background: #fff; }
.modele-page > input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.modele-page .ico { flex: none; width: 20px; height: 20px; color: var(--marque); margin-top: 2px; }
.modele-page strong { display: block; font-size: .92rem; }
.modele-page small { display: block; font-size: .8rem; color: var(--encre-3); line-height: 1.35; }
.modele-page:hover { border-color: #c5cbd3; }
.modele-page:has(input:checked) { border-color: var(--marque); box-shadow: inset 0 0 0 1px var(--marque); background: var(--marque-pale); }
.modele-page:has(input:focus-visible) { outline: 2px solid var(--marque); outline-offset: 2px; }
.apercu-courriel { width: 100%; height: 760px; border: 0; display: block; background: #f1f1ef; border-radius: 0 0 var(--rayon) var(--rayon); }

/* ---------- Paramètres : sections à onglets ---------- */
.parametres { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: start; }
.onglets-cote { position: sticky; top: 16px; display: grid; gap: 2px; }
.onglets-cote a { padding: 8px 12px; border-radius: var(--rayon-petit); color: var(--encre-2); text-decoration: none; font-weight: 500; font-size: .92rem; }
.onglets-cote a:hover { background: var(--surface); color: var(--encre); }
.onglets-cote a.actif { background: var(--surface); color: var(--encre); font-weight: 620; box-shadow: inset 3px 0 0 var(--marque), var(--ombre); }
.parametres-corps { min-width: 0; max-width: 880px; }
.parametres-corps .form > *, .panneau-param > *, .panneau-param .section-form > * { min-width: 0; }
.parametres .carte > p.discret { font-size: .9rem; }
.sans-enregistrer .barre-enregistrer { display: none; }
.horaire { display: grid; }
.horaire-tete, .jour { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: center; }
.horaire-tete { font-size: .8rem; color: var(--encre-3); font-weight: 600; padding-bottom: 6px; }
.horaire-tete small { font-weight: 400; }
.jour { padding: 7px 0; border-top: 1px solid var(--ligne); min-height: 52px; }
.plage { display: flex; align-items: center; gap: 8px; }
.plage input { flex: 1; min-width: 0; }
.plage > span { color: var(--encre-3); font-size: .85rem; }
.ferme-etiq { display: none; color: var(--encre-3); font-size: .9rem; grid-column: 2 / -1; }
.jour:has(input[type=checkbox]:not(:checked)) .plage { display: none; }
.jour:has(input[type=checkbox]:not(:checked)) .ferme-etiq { display: block; }
.apercu-horaire { background: var(--survol); border: 1px dashed var(--ligne-forte); border-radius: var(--rayon-petit); padding: 12px 14px; }
.apercu-horaire .lib { font-size: .8rem; font-weight: 600; color: var(--encre-3); }
.apercu-horaire p { margin: 4px 0 0; white-space: pre-line; }
.apercu-horaire p:empty::before { content: "Cochez les jours où vous êtes ouvert."; color: var(--encre-3); }
.apercu-google { display: grid; gap: 3px; padding: 14px 16px; border: 1px solid var(--ligne); border-radius: var(--rayon-petit); background: #fff; font-family: Arial, Helvetica, sans-serif; max-width: 620px; }
.g-url { font-size: 12.5px; color: #4d5156; }
.g-titre { font-size: 19px; color: #1a0dab; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-texte { font-size: 13.5px; color: #4d5156; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.copie-ligne { display: flex; gap: 8px; align-items: center; }
.copie-ligne input { flex: 1; min-width: 0; }
.compteur { font-size: .78rem; color: var(--encre-3); text-align: right; }
.compteur.depasse { color: var(--alerte); }
@media (max-width: 960px) {
  .parametres { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .onglets-cote { position: static; display: flex; overflow-x: auto; border-bottom: 1px solid var(--ligne); gap: 0; }
  .onglets-cote a { white-space: nowrap; border-radius: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; }
  .onglets-cote a.actif { background: none; box-shadow: none; border-bottom-color: var(--marque); }
  .horaire-tete { display: none; }
  .jour { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ferme-etiq { grid-column: auto; }
}
[data-copier-horaire] { white-space: normal; text-align: left; height: auto; }

/* ---------- Infrastructure : assistant de mise en ligne ---------- */
.assistant-ligne { border-color: color-mix(in srgb, var(--marque) 45%, var(--ligne)); }
.etapes-assistant { margin: 16px 0 0; padding-left: 1.3em; display: grid; gap: 16px; }
.etapes-assistant li { padding-left: 4px; line-height: 1.6; }
.etapes-assistant li::marker { font-weight: 700; color: var(--marque); }
.ligne-jeton { display: flex; gap: 10px; margin-top: 10px; max-width: 620px; }
.ligne-jeton input { flex: 1; min-width: 0; }
.groupe-assistant { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 10px; }
.groupe-assistant legend { font-weight: 650; font-size: .95rem; padding: 0; margin-bottom: 10px; }
.choix-cartes label.desactive { opacity: .55; cursor: not-allowed; }
.etat-mise-en-ligne { list-style: none; margin: 0; padding: 0; }
.etat-mise-en-ligne li { display: grid; grid-template-columns: 14px 220px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--ligne); }
.etat-mise-en-ligne li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ligne-forte); }
.etat-mise-en-ligne li.ok::before { background: var(--succes); }
.etat-mise-en-ligne li.alerte::before { background: #d97706; }
.etat-mise-en-ligne li.erreur::before { background: var(--danger); }
.etat-mise-en-ligne li > span { color: var(--encre-2); overflow-wrap: anywhere; }
.etat-mise-en-ligne li > form { justify-self: end; }
.details-techniques { margin-top: 8px; }
.details-techniques > summary { cursor: pointer; font-weight: 600; color: var(--encre-2); padding: 10px 0 14px; }
.details-techniques[open] > summary { color: var(--encre); }
@media (max-width: 960px) {
  .etat-mise-en-ligne li { grid-template-columns: 14px minmax(0, 1fr); }
  .etat-mise-en-ligne li > span, .etat-mise-en-ligne li > form { grid-column: 2; justify-self: start; }
  .ligne-jeton { flex-direction: column; }
}
.actions-ligne { text-align: right; white-space: nowrap; }
.console-publique { display: grid; gap: 10px; }
.adresse-console { display: grid; gap: 6px; padding-left: 26px; }
.adresse-console > label { font-weight: 600; font-size: .88rem; }
.prefixe-adresse { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; font-family: var(--mono); font-size: .9rem; color: var(--encre-2); }
.prefixe-adresse input { width: 12ch; min-height: 34px; padding: 5px 9px; font-family: var(--mono); }

/* ---------- Conditions de service ---------- */
.contrat-bandeau { background: var(--marque-pale); border-color: color-mix(in srgb, var(--marque) 30%, transparent); margin-bottom: 18px; }
.contrat-bandeau small { display: block; color: var(--encre-2); margin-top: 2px; }
.contrat-texte { max-width: 78ch; padding: 28px 32px; font-size: .95rem; line-height: 1.65; }
.contrat-texte h2 { font-size: 1.05rem; margin: 1.8em 0 .5em; }
.contrat-texte h2:first-child { margin-top: 0; }
.contrat-texte p { margin: 0 0 .85em; }
.contrat-accepter { max-width: 78ch; margin-top: 16px; padding: 20px 24px; }
.carte-auth.large { width: min(820px, 100%); }
.carte-auth.large .contrat-texte { padding: 0; max-width: none; }
@media (max-width: 640px) { .contrat-texte { padding: 20px 18px; } }
.contrat-texte blockquote { margin: 0 0 1.4em; padding: 14px 18px; border-radius: var(--rayon); background: var(--marque-pale); border-left: 4px solid var(--marque); }
.contrat-texte blockquote p { margin: 0; }
