/* Admin · Cadran — styles de base. Valeurs : tokens.css uniquement. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--q-bg); }
body { margin: 0; background: var(--q-bg); color: var(--q-ink); font-family: var(--q-font); font-size: var(--q-fs-3);
	line-height: var(--q-lh); font-stretch: var(--q-wdth-texte); font-variant-numeric: var(--q-num); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; font-stretch: inherit; }
:focus-visible { outline: 3px solid var(--q-ink); outline-offset: 2px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: var(--q-fs-2); font-weight: 650; }
/* étiquette gravée : capitales serrées */
h2, .et { font-size: var(--q-fs-etiquette); font-stretch: var(--q-wdth-etiquette); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--q-ink-2); }
.chiffre, .n { font-stretch: var(--q-wdth-chiffre); font-variant-numeric: tabular-nums; }
.n { font-weight: 600; letter-spacing: -.01em; }
.gros { font-size: var(--q-fs-1); font-weight: 640; line-height: var(--q-lh-serre); font-stretch: var(--q-wdth-chiffre); letter-spacing: -.02em; }
.lect { font-size: var(--q-fs-lecture); line-height: var(--q-lh-serre); font-stretch: var(--q-wdth-chiffre); font-weight: 640; letter-spacing: -.025em; }
.lect sup { font-size: .42em; font-weight: 500; vertical-align: .95em; margin-left: 4px; letter-spacing: 0; }
.sous, .m2 { color: var(--q-ink-2); font-size: var(--q-fs-4); }
.signal { color: var(--q-signal-ink); }
/* panneaux */
.carte { background: var(--q-surface); border-radius: var(--q-r-2); padding: var(--q-sp-4); display: grid; gap: var(--q-sp-3); align-content: start; min-width: 0; }
.carte > header, header.ligne { display: flex; justify-content: space-between; align-items: baseline; gap: var(--q-sp-3); }
.grille { display: grid; gap: var(--q-sp-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.ligne { display: flex; align-items: baseline; justify-content: space-between; gap: var(--q-sp-3); }
.lignes { border-top: 1px solid var(--q-line); }
.lignes > div { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--q-line); font-size: var(--q-fs-4); }
/* commandes */
.bouton { background: var(--q-ink); color: var(--q-surface); border: 0; border-radius: var(--q-r-1); padding: var(--q-sp-2) var(--q-sp-4); font-weight: 650; cursor: pointer; min-height: var(--q-cible); }
.bouton.discret { background: var(--q-surface); color: var(--q-ink); box-shadow: inset 0 0 0 1px var(--q-line); }
.bouton:disabled { opacity: .5; }
.champ { display: grid; gap: var(--q-sp-1); font-size: var(--q-fs-4); color: var(--q-ink-2); }
.champ input, .champ select, .champ textarea, .saisie-libre { background: var(--q-surface-2); border: 1px solid transparent; border-radius: var(--q-r-1); padding: var(--q-sp-2) var(--q-sp-3); min-height: var(--q-cible); color: var(--q-ink); font-size: var(--q-fs-3); }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--q-ink); outline: none; }
.tableau { width: 100%; border-collapse: collapse; font-size: var(--q-fs-4); }
.tableau th { text-align: left; padding: var(--q-sp-2) 0; border-bottom: 1px solid var(--q-line); font-size: var(--q-fs-etiquette); font-stretch: var(--q-wdth-etiquette); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--q-ink-2); }
.tableau td { padding: 9px var(--q-sp-2) 9px 0; border-bottom: 1px solid var(--q-line); vertical-align: top; }
.erreur { color: var(--q-signal-ink); font-size: var(--q-fs-4); font-weight: 600; }
.vide { color: var(--q-ink-2); font-size: var(--q-fs-4); }
.lien { background: none; border: 0; color: var(--q-ink-2); cursor: pointer; text-decoration: underline; min-height: 32px; padding: 0; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
