/* VIZ8 — le STYLE D108 (Dominique, 27/11/2026 : « on peut mettre le style D108 en stockant l'actuel, réutilisable »).
   Ce fichier se pose PAR-DESSUS viz8.css, seulement quand <html data-style="d108"> : le style d'origine (« Classique »)
   reste entier dans viz8.css et revient dès que data-style vaut « classique » (Administration › 5 › Style de l'écran).
   Repris de D108 : fond gris très clair, cartes blanches sans bordure aux grands arrondis, ombres douces, encre presque
   noire, bleu Qualitest #0090D3, boutons en pilule, police du système, titres serrés. */
html[data-style="d108"] {
  --encre: #0b0b0c; --doux: #6e6e73; --trait: rgba(11, 11, 12, .10); --fond: #f5f5f7; --carte: #ffffff;
  --accent: #0090D3; --accent-fort: #375CAD; --accent-clair: #73D9FF; --accent-t: rgba(0, 144, 211, .12);
  --police: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  --police-titre: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif;
  --rayon: 16px; --rayon-s: 10px; --rayon-l: 22px; --rayon-barre: 6px;
  --ombre: 0 1px 2px rgba(0, 0, 0, .04), 0 10px 30px -14px rgba(0, 0, 0, .14);
  --ombre-forte: 0 30px 70px -30px rgba(0, 0, 0, .28);
}
html[data-style="d108"] body { -webkit-font-smoothing: antialiased; letter-spacing: -.005em; }
html[data-style="d108"] h1, html[data-style="d108"] h2, html[data-style="d108"] h4, html[data-style="d108"] b, html[data-style="d108"] strong { font-family: var(--police-titre); letter-spacing: -.02em; }

/* la barre du haut : claire et translucide, onglets en pilules */
html[data-style="d108"] .barre { background: rgba(255, 255, 255, .82); color: var(--encre); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); box-shadow: inset 0 -1px 0 var(--trait); }
html[data-style="d108"] .marque b { letter-spacing: -.01em; font-weight: 760; }
html[data-style="d108"] .marque b::after { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-left: 4px; vertical-align: 2px; }
html[data-style="d108"] .marque span { opacity: 1; color: var(--doux); }
html[data-style="d108"] #onglets-haut button { border: 0; color: var(--doux); font-weight: 600; padding: 6px 14px; transition: background .2s, color .2s; }
html[data-style="d108"] #onglets-haut button:hover { color: var(--encre); background: rgba(11, 11, 12, .05); }
html[data-style="d108"] #onglets-haut button.pris { background: var(--encre); color: #fff; }
html[data-style="d108"] .marque-client { color: var(--encre); }
html[data-style="d108"] .marque-client img { box-shadow: 0 0 0 1px var(--trait); }
html[data-style="d108"] #moi .bouton, html[data-style="d108"] #onglets-haut a.bouton { background: var(--fond); }

/* la recherche des fonctionnalités, sur la barre claire */
html[data-style="d108"] #recherche-fonctions input { background-color: rgba(11, 11, 12, .05); border: 0; color: var(--encre); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='2.4'><circle cx='11' cy='11' r='7'/><path d='m20 20-3.5-3.5'/></svg>"); }
html[data-style="d108"] #recherche-fonctions input::placeholder { color: var(--doux); }
html[data-style="d108"] #recherche-fonctions input:focus { background-color: #fff; box-shadow: 0 0 0 2px var(--accent); }
html[data-style="d108"] .resultats-fonctions { border-radius: 14px; }
/* panneaux, cartes, bandeaux : blancs, sans bordure, arrondis, ombre douce */
html[data-style="d108"] .panneau, html[data-style="d108"] .carte, html[data-style="d108"] .bandeau { border: 0; border-radius: var(--rayon); box-shadow: var(--ombre); }
html[data-style="d108"] .panneau h3 { font-family: var(--police-titre); font-size: 11px; letter-spacing: .16em; color: var(--doux); }
html[data-style="d108"] .carte h4 { font-size: 15px; font-weight: 650; line-height: 1.3; }
html[data-style="d108"] .carte.section { box-shadow: none; border-radius: 0; border-bottom: 2px solid var(--encre); }
html[data-style="d108"] .carte.section h2 { font-size: 22px; font-weight: 760; letter-spacing: -.03em; }
html[data-style="d108"] .bandeau .chiffre { font-family: var(--police-titre); font-size: 30px; font-weight: 760; letter-spacing: -.04em; }
html[data-style="d108"] .indic { color: var(--accent-fort); letter-spacing: -.04em; }
html[data-style="d108"] .carte .menu .liste { border: 0; border-radius: 14px; box-shadow: var(--ombre-forte), 0 0 0 1px var(--trait); padding: 6px; }
html[data-style="d108"] .carte .menu .liste button { border-radius: 9px; }

/* boutons et pilules */
html[data-style="d108"] .bouton { border-radius: 999px; border: 0; box-shadow: inset 0 0 0 1px var(--trait); padding: 6px 14px; font-weight: 600; transition: box-shadow .2s, background .2s; }
html[data-style="d108"] .bouton:hover { box-shadow: inset 0 0 0 1px var(--encre); }
html[data-style="d108"] .bouton.plein { background: var(--accent); color: #fff; box-shadow: none; }
html[data-style="d108"] .bouton.plein:hover { background: var(--accent-fort); }
html[data-style="d108"] .bouton.mini { padding: 4px 11px; }
html[data-style="d108"] .pages .page, html[data-style="d108"] .badges button { border: 0; box-shadow: inset 0 0 0 1px var(--trait); font-weight: 600; }
html[data-style="d108"] .pages .page.pris, html[data-style="d108"] .badges button.pris { background: var(--encre); color: #fff; box-shadow: none; }
html[data-style="d108"] .types button { border-radius: 999px; }
html[data-style="d108"] #assistant { border-radius: 999px; background: var(--encre); box-shadow: var(--ombre-forte); }

/* champs */
html[data-style="d108"] input[type="text"], html[data-style="d108"] input[type="search"], html[data-style="d108"] input[type="number"], html[data-style="d108"] input[type="date"],
html[data-style="d108"] input[type="password"], html[data-style="d108"] select, html[data-style="d108"] textarea { border-radius: var(--rayon-s); }

/* fenêtres, assistant, bulles d'aide */
html[data-style="d108"] .fenetre { border-radius: var(--rayon-l); box-shadow: var(--ombre-forte); }
html[data-style="d108"] .fenetre h3 { font-family: var(--police-titre); font-size: 19px; letter-spacing: -.02em; }
html[data-style="d108"] .chat { border: 0; border-radius: var(--rayon-l); box-shadow: var(--ombre-forte), 0 0 0 1px var(--trait); }
html[data-style="d108"] .chat .bulle.user { background: var(--encre); border-radius: 16px 16px 4px 16px; }
html[data-style="d108"] .chat .bulle.assistant { background: var(--fond); border-radius: 16px 16px 16px 4px; }
html[data-style="d108"] .meth-aide .aide-ana, html[data-style="d108"] .bulle-cdc { border: 0; border-radius: 14px; box-shadow: var(--ombre-forte), 0 0 0 1px var(--trait); }

/* tableaux */
html[data-style="d108"] table.t th { font-family: var(--police-titre); font-size: 11.5px; color: var(--doux); font-weight: 600; }   /* sans majuscules forcées : les libellés restent tels quels */
html[data-style="d108"] table.t th, html[data-style="d108"] table.t td { border-bottom-color: rgba(11, 11, 12, .06); }
html[data-style="d108"] table.t td.n { font-variant-numeric: tabular-nums; }
html[data-style="d108"] .test { border-radius: var(--rayon-s); }

/* la colonne de gauche */
html[data-style="d108"] .gauche { border: 0; border-radius: var(--rayon); box-shadow: var(--ombre); }

/* le choix du style (Administration › 5) — vaut pour les deux styles */
.styles { display: flex; gap: 12px; flex-wrap: wrap; }
.choix-style { display: grid; gap: 4px; justify-items: start; text-align: left; padding: 12px 14px; min-width: 220px; border-radius: 14px; border: 1px solid var(--trait); background: var(--carte); cursor: pointer; }
.choix-style.pris { outline: 2px solid var(--accent); outline-offset: 1px; }
.apercu-style { display: flex; gap: 4px; padding: 6px; border-radius: 10px; width: 120px; }
.apercu-style i { flex: 1; height: 26px; border-radius: 7px; background: #fff; }
.apercu-style.d108 { background: #f5f5f7; } .apercu-style.d108 i:first-child { background: #0b0b0c; } .apercu-style.d108 i:nth-child(2) { background: #0090D3; } .apercu-style.d108 i { box-shadow: 0 2px 6px rgba(0,0,0,.08); border-radius: 9px; }
.apercu-style.classique { background: #f4f6f9; border-radius: 6px; } .apercu-style.classique i:first-child { background: #14273e; } .apercu-style.classique i:nth-child(2) { background: #2a6fdb; } .apercu-style.classique i { border-radius: 4px; border: 1px solid #d8dee6; }

/* la carte d'analyse : l'étiquette garde sa couleur, le titre s'affirme */
html[data-style="d108"] .carte.analyse { border-left: 0; box-shadow: var(--ombre), inset 4px 0 0 var(--genre, var(--accent)); }
html[data-style="d108"] .carte.analyse h4 { font-size: 18px; font-weight: 760; letter-spacing: -.03em; }
