/* Co-Int Maths – Les arrondis – feuille de style commune à tous les niveaux */

/* ===== Charte (code couleur d'origine conservé) ===== */
:root {
	--pourpre: #9C0E41;
	--pourpre-fonce: #7A0B33;
	--pourpre-clair: #F7E6EC;
	--vert: #479B78;
	--vert-fonce: #367A5E;
	--menthe: #D5F5EA;
	--menthe-clair: #EEFAF5;
	--gris: #E4E4E4;
	--gris-ligne: #DADDDC;
	--fond: #F5F6F6;
	--texte: #2B2B2B;
	--texte-doux: #5F6664;
	--ok: #2E9E5B;
	--ok-fond: #E3F6EA;
	--ko: #C62828;
	--ko-fond: #FCE8E8;
	--rayon: 10px;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	background: var(--fond);
	color: var(--texte);
	font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
	font-size: 15px;
	line-height: 1.45;
}

/* ===== Barre du haut ===== */
.topbar {
	position: sticky; top: 0; z-index: 20;
	background: var(--pourpre); color: #fff;
	display: flex; align-items: center; gap: 16px;
	padding: 10px 24px;
}
.topbar .logo { height: 46px; width: 46px; background: #fff; border-radius: 8px; padding: 3px; object-fit: contain; }
.topbar .titres { flex: 1; min-width: 0; }
.topbar h1 { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.2; }
.topbar .sous-titre { font-size: 13px; opacity: .85; }
.badge-niveau {
	display: inline-block; background: #fff; color: var(--pourpre);
	font-weight: 700; font-size: 12px; padding: 2px 10px; border-radius: 20px;
	margin-left: 8px; vertical-align: middle;
}
.puce-eleve {
	display: flex; align-items: center; gap: 8px;
	background: var(--pourpre-fonce); border-radius: 20px; padding: 6px 14px; font-size: 14px;
	white-space: nowrap;
}
.puce-eleve button { background: none; border: none; color: #fff; cursor: pointer; padding: 0; display: flex; opacity: .8; }
.puce-eleve button:hover { opacity: 1; }
.puce-eleve button:disabled { display: none; }
.chrono { font-variant-numeric: tabular-nums; }

/* ===== Mise en page ===== */
main { max-width: 1140px; margin: 0 auto; padding: 24px 16px 40px; }
.grille { display: grid; grid-template-columns: 340px 1fr; gap: 20px; margin-bottom: 20px; }
.grille.simple { grid-template-columns: 1fr; }
.section { margin-bottom: 20px; }
/* Tableau compact : largeur ajustée au contenu, plusieurs tableaux côte à côte si la place le permet */
.section.compacte { display: inline-block; vertical-align: top; max-width: 100%; margin-right: 16px; }
.section.compacte table.saisie { width: auto; }
.section.compacte table.saisie th, .section.compacte table.saisie td { padding-left: 12px; padding-right: 12px; }
.section.compacte table.saisie td.libelle { padding-right: 16px; }

.carte {
	background: #fff; border-radius: var(--rayon);
	border: 1px solid var(--gris-ligne); overflow: hidden;
}
.carte-titre {
	background: var(--pourpre); color: #fff;
	padding: 10px 16px; font-weight: 600; font-size: 15px;
	display: flex; align-items: center; gap: 8px;
}
.carte-titre.vert { background: var(--vert); }
.carte-corps { padding: 16px; }

/* Consigne */
.consigne { display: flex; gap: 14px; align-items: flex-start; }
.consigne .ico {
	flex: none; width: 42px; height: 42px; border-radius: 10px;
	background: var(--pourpre); color: #fff; display: flex; align-items: center; justify-content: center;
}
.consigne { align-items: center; }
.consigne-texte { flex: 1; min-width: 0; }
.consigne h2 { margin: 0; font-size: 16px; color: var(--pourpre); }
.consigne-bascule {
	display: inline-flex; align-items: center; gap: 6px; padding: 0; border: none; background: none;
	font: inherit; font-weight: 700; color: var(--pourpre); cursor: pointer;
}
.consigne-bascule .chevron { transition: transform .3s; }
.consigne-contenu { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .35s ease; }
.consigne-contenu > div { overflow: hidden; padding-top: 6px; transition: padding-top .35s; }
.consigne-carte.repliee .consigne-contenu { grid-template-rows: 0fr; }
.consigne-carte.repliee .consigne-contenu > div { padding-top: 0; }
.consigne-carte.repliee .chevron { transform: rotate(-90deg); }
.grille { align-items: start; }
.consigne ol { margin: 0; padding-left: 18px; }
.consigne li { margin-bottom: 3px; }
.legende { display: flex; gap: 16px; margin-top: 10px; font-size: 13px; color: var(--texte-doux); flex-wrap: wrap; }
.legende span { display: inline-flex; align-items: center; gap: 6px; }
.pastille { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }

/* Information */
.info p { margin: 0; }
.bascule-carte { width: 100%; border: none; font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.bascule-carte .chevron { margin-left: auto; transition: transform .3s; }
.info-carte.repliee .bascule-carte .chevron { transform: rotate(-90deg); }
.pliable { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .35s ease; }
.pliable > div { overflow: hidden; }
.info-carte.repliee .pliable { grid-template-rows: 0fr; }

/* Coefficients */
.coefs { width: 100%; border-collapse: collapse; }
.coefs td { padding: 10px 14px; border-bottom: 1px solid var(--gris-ligne); }
.coefs tr:last-child td { border-bottom: none; }
.coefs td:first-child { background: var(--vert); color: #fff; font-size: 14px; }
.coefs td:last-child { text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; background: var(--menthe-clair); width: 90px; }

/* Prospectus */
.prospectus { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.produit { border: 1px solid var(--gris-ligne); border-radius: var(--rayon); overflow: hidden; background: #fff; }
.produit .visuel { position: relative; aspect-ratio: 16 / 10; background: var(--menthe-clair); }
.produit img { width: 100%; height: 100%; object-fit: cover; display: block; }
.produit .visuel.sans-image img { display: none; }
.produit .visuel .attente {
	display: none; position: absolute; inset: 0; align-items: center; justify-content: center;
	color: var(--vert); flex-direction: column; gap: 6px; font-size: 12px;
}
.produit .visuel.sans-image .attente { display: flex; }
.produit .remise {
	position: absolute; top: 10px; right: 10px;
	background: var(--pourpre); color: #fff; font-weight: 700;
	padding: 4px 10px; border-radius: 20px; font-size: 14px;
}
.produit .infos { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 14px; background: var(--menthe); }
.produit .nom { font-weight: 600; color: var(--pourpre); }
.produit .remise-texte { display: none; }
.produit .prix { font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.produit .prix small { font-weight: 400; font-size: 12px; color: var(--texte-doux); }

/* ===== Tableaux de saisie ===== */
.defile { overflow-x: auto; }
table.saisie { width: 100%; border-collapse: collapse; }
table.saisie th {
	background: var(--menthe); color: var(--pourpre); font-weight: 600; font-size: 13px;
	padding: 10px 6px; text-align: center; line-height: 1.25; border-bottom: 2px solid var(--vert);
}
table.saisie th:first-child { text-align: left; padding-left: 16px; }
table.saisie td { padding: 6px 6px; text-align: center; border-bottom: 1px solid var(--gris-ligne); }
table.saisie td.libelle {
	text-align: left; padding-left: 16px; background: var(--gris);
	color: var(--pourpre); font-weight: 500; white-space: nowrap;
}
table.saisie tbody tr:hover td:not(.libelle) { background: #FAFBFB; }
.donnee { font-variant-numeric: tabular-nums; color: var(--texte); font-weight: 500; }

.champ {
	width: 84px; padding: 7px 6px; text-align: center;
	border: 1.5px solid var(--vert); border-radius: 6px;
	background: var(--menthe-clair); color: var(--texte);
	font: inherit; font-variant-numeric: tabular-nums;
	transition: border-color .15s, background .15s;
}
.champ.large { width: 108px; }
.champ:focus { outline: none; border-color: var(--pourpre); background: #fff; box-shadow: 0 0 0 3px var(--pourpre-clair); }
.ok .champ { border-color: var(--ok); background: var(--ok-fond); }
.ko .champ { border-color: var(--ko); background: var(--ko-fond); }
.corr { display: none; font-size: 11px; color: var(--pourpre); font-weight: 700; margin-top: 2px; }
body.corrige .corr { display: block; }
.unite { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.unite .champ { width: 64px; }

/* Liste de choix */
select.champ { width: auto; min-width: 240px; text-align: left; cursor: pointer; }

/* Bascule Oui / Non */
.bascule { display: inline-flex; border: 1.5px solid var(--vert); border-radius: 6px; overflow: hidden; }
.bascule button {
	border: none; background: var(--menthe-clair); color: var(--vert-fonce);
	font: inherit; font-weight: 600; font-size: 13px; padding: 6px 11px; cursor: pointer;
}
.bascule button + button { border-left: 1.5px solid var(--vert); }
.bascule button.actif { background: var(--vert); color: #fff; }
.bascule button:disabled { cursor: default; }
.ok .bascule { border-color: var(--ok); }
.ok .bascule button.actif { background: var(--ok); }
.ko .bascule { border-color: var(--ko); }
.ko .bascule button.actif { background: var(--ko); }

td.etat { width: 40px; }
.etat-ico { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; align-items: center; justify-content: center; flex: none; }
.ligne-ok .etat-ico { background: var(--ok); color: #fff; }
.ligne-ko .etat-ico { background: var(--ko); color: #fff; }
.etat-ico svg { display: none; }
.ligne-ok .etat-ico .i-ok, .ligne-ko .etat-ico .i-ko { display: block; }

.aide {
	position: relative; display: inline-flex; vertical-align: middle; margin-left: 4px;
	color: var(--pourpre); cursor: help;
}
.aide .bulle {
	display: none; position: absolute; top: 120%; left: 50%; transform: translateX(-50%);
	background: var(--texte); color: #fff; font-weight: 400; font-size: 12px; text-align: left;
	padding: 8px 10px; border-radius: 6px; width: 210px; z-index: 5;
}
.aide:hover .bulle, .aide:focus .bulle { display: block; }

/* Question à choix */
.question { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 16px; }
.question .intitule { font-weight: 600; color: var(--pourpre); font-size: 16px; flex: 1; min-width: 220px; }
.question .reponse { display: flex; align-items: center; gap: 10px; }

/* Fiches de calcul (cascade) */
.fiches { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 16px; padding: 16px; }
.fiche { border: 1px solid var(--gris-ligne); border-radius: var(--rayon); overflow: hidden; }
.fiche-titre { background: var(--vert); color: #fff; font-weight: 600; padding: 7px 14px; font-size: 14px; }
.fiche table { width: 100%; border-collapse: collapse; }
.fiche th { background: var(--menthe); color: var(--pourpre); font-size: 12px; font-weight: 600; padding: 5px 6px; }
.fiche td { padding: 5px 6px; border-bottom: 1px solid var(--gris-ligne); text-align: center; }
.fiche td.libelle { text-align: left; padding-left: 12px; white-space: nowrap; }
.fiche tr.sous-total td.libelle { background: var(--gris); color: var(--pourpre); }
.fiche tr.total td { background: var(--menthe-clair); }
.fiche tr.total td.libelle { font-weight: 700; color: var(--pourpre); }
.fiche tr.ttc td { background: var(--pourpre-clair); }
.fiche tr.ttc td.libelle { font-weight: 700; color: var(--pourpre); }
.fiche tr.tm td { border-top: 2px solid var(--vert); }
.fiche tr.tm td.libelle { font-weight: 600; color: var(--vert-fonce); }
.fiche .champ { width: 96px; }
.fiche .unite .champ { width: 60px; }

/* Fiches produits (image + calcul HT / TVA / TTC) */
.produits { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 16px; padding: 16px; }
.produits.deux-par-ligne { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.produit-carte { border: 1px solid var(--gris-ligne); border-radius: var(--rayon); overflow: hidden; display: flex; flex-direction: column; }
.pc-haut { display: flex; gap: 14px; padding: 12px 14px; align-items: center; flex: 1; }
.pc-visuel { flex: none; width: 104px; height: 84px; display: flex; align-items: center; justify-content: center; background: #fff; }
.pc-visuel img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pc-visuel.sans-image { background: var(--menthe-clair); border-radius: 8px; color: var(--vert); }
.pc-visuel.sans-image img { display: none; }
.pc-visuel .attente { display: none; }
.pc-visuel.sans-image .attente { display: flex; }
.pc-nom { font-weight: 700; color: var(--pourpre); }
.pc-detail { font-size: 13px; color: var(--texte-doux); margin-bottom: 4px; }
.pc-infos { display: flex; gap: 8px; flex-wrap: wrap; }
.pc-infos span { background: var(--menthe); color: var(--vert-fonce); font-size: 13px; font-weight: 600; padding: 2px 9px; border-radius: 20px; white-space: nowrap; }
table.pc-calc { width: 100%; border-collapse: collapse; }
table.pc-calc th { background: var(--menthe); color: var(--pourpre); font-size: 12px; font-weight: 600; padding: 5px 4px; border-top: 1px solid var(--gris-ligne); }
table.pc-calc td { padding: 7px 4px; text-align: center; }
table.pc-calc td.etat { width: 40px; }

/* Suites logiques */
.series { display: grid; grid-template-columns: repeat(auto-fit, minmax(440px, 1fr)); gap: 16px; padding: 16px; }
.series.un-par-ligne { grid-template-columns: 1fr; }
.serie { border: 1px solid var(--gris-ligne); border-radius: var(--rayon); overflow: hidden; display: flex; flex-direction: column; }
.serie-titre { background: var(--vert); color: #fff; font-weight: 600; padding: 7px 14px; display: flex; justify-content: space-between; align-items: center; }
.badge-indice { display: none; background: #fff; color: var(--pourpre); font-size: 12px; font-weight: 700; padding: 1px 9px; border-radius: 20px; }
.serie.indice-utilise .badge-indice { display: inline-block; }
.serie-corps { display: flex; align-items: center; gap: 18px; padding: 14px; flex-wrap: wrap; flex: 1; }
.suite { display: flex; gap: 8px; flex-wrap: wrap; }
.tuile {
	min-width: 54px; height: 54px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center;
	background: var(--menthe); color: var(--pourpre); font-size: 20px; font-weight: 700; border-radius: 8px; font-variant-numeric: tabular-nums;
}
.tuile-q { background: #fff; border: 2px dashed var(--pourpre); }
.serie-image { position: relative; flex: 1 1 380px; max-width: 600px; }
.serie-image img { max-width: 100%; height: auto; display: block; }
.serie-image .attente { display: none; }
.serie-image.sans-image { min-height: 120px; background: var(--menthe-clair); border-radius: 8px; color: var(--vert); }
.serie-image.sans-image img { display: none; }
.serie-image.sans-image .attente { display: flex; position: absolute; inset: 0; align-items: center; justify-content: center; flex-direction: column; gap: 6px; font-size: 12px; }
.serie-reponses { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; position: relative; padding-right: 36px; }
.serie-reponses > .etat-ico { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
.rep { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rep-lib { font-size: 13px; font-weight: 600; color: var(--vert-fonce); min-width: 52px; }
.rep-carte { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rep-carte .de { color: var(--texte-doux); }
select.champ.choix-carte { min-width: 0; width: 112px; }
.champ.champ-serie { width: 110px; font-size: 18px; font-weight: 700; text-transform: uppercase; }
.serie-indice { display: flex; align-items: center; gap: 12px; padding: 8px 14px; border-top: 1px solid var(--gris-ligne); background: var(--fond); min-height: 46px; }
.btn-indice {
	display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--pourpre); background: #fff; color: var(--pourpre);
	font: inherit; font-size: 14px; font-weight: 600; padding: 5px 12px; border-radius: 20px; cursor: pointer;
}
.btn-indice:hover { background: var(--pourpre-clair); }
.btn-indice:disabled { opacity: .45; cursor: default; background: #fff; }
.indice-texte { display: none; font-weight: 600; color: var(--pourpre); }
.serie.indice-utilise .indice-texte { display: inline; }
.serie.indice-utilise .serie-indice { background: var(--pourpre-clair); }

/* ===== Barre d'actions & score ===== */
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 20px 0; }
.btn {
	display: inline-flex; align-items: center; gap: 8px;
	border: none; border-radius: 8px; padding: 11px 20px;
	font: inherit; font-weight: 600; cursor: pointer; transition: background .15s;
}
.btn-principal { background: var(--pourpre); color: #fff; }
.btn-principal:hover { background: var(--pourpre-fonce); }
.btn-second { background: #fff; color: var(--vert-fonce); border: 1.5px solid var(--vert); }
.btn-second:hover { background: var(--menthe-clair); }
.btn:disabled { opacity: .4; cursor: not-allowed; }

.bandeau-cloture {
	display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
	background: var(--pourpre-clair); color: var(--pourpre); border: 1.5px solid var(--pourpre);
	border-radius: var(--rayon); padding: 12px 16px; font-weight: 600;
}
.bandeau-cloture[hidden] { display: none; }
body.cloture .champ { cursor: default; }

/* Jauge de réussite fixée à droite de l'écran */
.score {
	position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 15;
	width: 140px; padding: 14px 12px; text-align: center;
	background: #fff; border: 1px solid var(--gris-ligne); border-top: 4px solid var(--pourpre);
	border-radius: var(--rayon); display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.score-titre { font-size: 12px; font-weight: 700; color: var(--pourpre); text-transform: uppercase; letter-spacing: .04em; }
.score-valeur { font-size: 30px; font-weight: 700; color: var(--pourpre); font-variant-numeric: tabular-nums; line-height: 1; }
.score p { margin: 0; font-size: 12px; line-height: 1.35; }
.score-texte { color: var(--texte); }
.penalite { font-size: 13px; color: var(--pourpre); }
.jauge {
	position: relative; width: 34px; height: 200px; background: var(--gris);
	border-radius: 17px; overflow: hidden;
}
.jauge div { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: var(--vert); transition: height .6s; }
.jauge.parfait div { background: var(--ok); }

/* Place réservée à la jauge quand l'écran est trop étroit pour qu'elle tienne à côté du contenu */
@media (max-width: 1480px) and (min-width: 861px) {
	main { margin: 0 172px 0 auto; max-width: min(1140px, calc(100vw - 188px)); }
}

footer { text-align: center; font-size: 13px; color: var(--texte-doux); padding: 10px 0 30px; }

/* ===== Fenêtres ===== */
.voile {
	position: fixed; inset: 0; background: rgba(30, 10, 18, .55); z-index: 50;
	display: flex; align-items: center; justify-content: center; padding: 16px;
}
.voile.cache { display: none; }
.fenetre { background: #fff; border-radius: 14px; width: 100%; max-width: 420px; overflow: hidden; }
.fenetre .carte-titre { font-size: 17px; padding: 14px 20px; }
.fenetre form { padding: 20px; }
.fenetre label { display: block; font-weight: 600; margin-bottom: 6px; }
.fenetre input {
	width: 100%; padding: 10px 12px; font: inherit; border: 1.5px solid var(--vert);
	border-radius: 8px; margin-bottom: 16px;
}
.fenetre input:focus { outline: none; border-color: var(--pourpre); box-shadow: 0 0 0 3px var(--pourpre-clair); }
.fenetre form .btn { width: 100%; justify-content: center; }
.fenetre .dialogue-corps { padding: 20px; }
.fenetre .dialogue-corps p { margin: 0 0 18px; }
.dialogue-boutons { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.fenetre.alerte .carte-titre { background: var(--vert-fonce); }

.entete-impression { display: none; }

@media (max-width: 860px) {
	.series { grid-template-columns: 1fr; }
	.produits.deux-par-ligne { grid-template-columns: 1fr; }
	.score {
		top: auto; bottom: 0; right: 0; left: 0; transform: none; width: auto;
		flex-direction: row; flex-wrap: wrap; justify-content: center; border-radius: 0;
		border-width: 1px 0 0; border-top: 3px solid var(--pourpre); padding: 8px 12px; gap: 6px 12px;
	}
	.jauge { width: 120px; height: 12px; }
	.jauge div { top: 0; height: 100%; width: 0; right: auto; transition: width .6s; }
	body { padding-bottom: 90px; }
	.grille { grid-template-columns: 1fr; }
	.prospectus { grid-template-columns: 1fr; }
	.topbar { flex-wrap: wrap; padding: 10px 16px; gap: 8px 12px; }
	.topbar .titres { flex: 1 1 calc(100% - 62px); }
	.topbar h1 { font-size: 16px; }
}

/* ===== Impression : compacte, sans aplats ===== */
@media print {
	@page { size: A4 portrait; margin: 10mm; }
	body { background: #fff; font-size: 9.5pt; color: #000; }
	.topbar, .actions, .voile, footer, .consigne-carte, .score, .aide, .bandeau-cloture, .produit .visuel, .corr { display: none !important; }
	main { padding: 0; max-width: none; }
	.entete-impression { display: block; border-bottom: 2px solid #000; padding-bottom: 5px; margin-bottom: 8px; }
	.entete-impression h1 { font-size: 12pt; margin: 0 0 4px; }
	.entete-impression table { width: 100%; border-collapse: collapse; font-size: 9.5pt; }
	.entete-impression td { padding: 1px 0; }
	.entete-impression strong { font-size: 10.5pt; }
	.grille, .grille.simple { display: block; margin-bottom: 6px; }
	.section, .grille > .carte { margin-bottom: 6px; break-inside: avoid; }
	.carte { border: none; border-radius: 0; overflow: visible; }
	.carte-titre, .carte-titre.vert { background: none; color: #000; padding: 3px 0; border-bottom: 1px solid #000; font-size: 10pt; }
	.carte-titre svg { display: none; }
	.carte-corps { padding: 4px 0; }
	.coefs td, .coefs td:first-child, .coefs td:last-child { background: none; color: #000; padding: 1px 6px; border: 1px solid #999; }
	.prospectus { display: flex; gap: 6px; }
	.produit { border: 1px solid #999; border-radius: 0; flex: 1; }
	.produit .infos { background: none; padding: 2px 6px; }
	.produit .nom { color: #000; }
	.produit .prix { font-size: 9.5pt; }
	.produit .remise-texte { display: inline; font-weight: 700; margin-left: 4px; }
	.defile { overflow: visible; }
	table.saisie th, .fiche th { background: none; color: #000; border: 1px solid #999; padding: 2px 3px; font-size: 8.5pt; }
	table.saisie td, table.saisie td.libelle, .fiche td, .fiche td.libelle,
	.fiche tr.total td, .fiche tr.ttc td, .fiche tr.sous-total td.libelle { background: none !important; color: #000 !important; border: 1px solid #999; padding: 1px 3px; }
	.champ, select.champ { border: none !important; background: none !important; width: auto; min-width: 0; max-width: 80px; padding: 0; font-weight: 700; appearance: none; -webkit-appearance: none; }
	select.champ { max-width: none; }
	.bascule { border: none !important; }
	.bascule button { display: none; }
	.bascule button.actif { display: inline; background: none !important; color: #000 !important; padding: 0; }
	.bascule button + button { border-left: none; }
	.fiche tr.tm td { border-top: 2px solid #000; }
	.ko::after { content: " \2717"; font-weight: 700; }
	.etat-ico, .ligne-ok .etat-ico, .ligne-ko .etat-ico { background: none !important; color: #000 !important; width: auto; height: auto; }
	.fiches { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px 0; }
	.fiche { border: none; border-radius: 0; break-inside: avoid; }
	.fiche-titre { background: none; color: #000; padding: 1px 0; font-size: 9pt; }
	.question { padding: 3px 0; }
	.info-carte .pliable { grid-template-rows: 1fr !important; transition: none !important; }
	.bascule-carte .chevron { display: none; }
	.series { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px 0; }
	.serie { border: 1px solid #999; border-radius: 0; break-inside: avoid; }
	.serie-titre { background: none; color: #000; padding: 2px 6px; border-bottom: 1px solid #999; }
	.badge-indice { background: none; color: #000; padding: 0; }
	.serie-corps { padding: 3px 6px; gap: 6px; }
	.serie-image, .serie-indice, .btn-indice { display: none !important; }
	.tuile { min-width: 0; height: auto; padding: 0 4px; background: none; color: #000; font-size: 10pt; border: 1px solid #999; }
	.tuile-q { border-style: dashed; }
	.rep-lib { color: #000; }
	select.champ.choix-carte, .champ.champ-serie { width: auto; font-size: 10pt; }
	.champ:disabled, .champ[readonly] { color: #000 !important; opacity: 1 !important; -webkit-text-fill-color: #000; }
	.produits { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px 0; }
	.produit-carte { border: 1px solid #999; border-radius: 0; break-inside: avoid; }
	.pc-haut { padding: 3px 6px; }
	.pc-visuel { display: none; }
	.pc-nom { color: #000; }
	.pc-infos span { background: none; color: #000; padding: 0; }
	table.pc-calc th { background: none; color: #000; border: 1px solid #999; padding: 1px 3px; }
	table.pc-calc td { border: 1px solid #999; padding: 1px 3px; }
	.question .intitule { color: #000; font-size: 10pt; }
	tr { break-inside: avoid; }
}
