/* Tableur dans les pages du site — /styles/tableur-mini.css
   .tab-mini   : petite feuille de calcul statique dans un énoncé (exercices, automatismes, quiz)
   .tab-iframe : module Tableur intégré dans un exercice (page Exercices)
   .tab-svg    : image d'une feuille produite par /outils/js/tableur-svg.js */

.tab-mini { border-collapse: collapse; margin: 8px 0; font-size: .9rem; font-family: Arial, sans-serif; }
.tab-mini th,
.tab-mini td { min-width: 52px; padding: 4px 8px; border: 1px solid #c8cfe0; }
.tab-mini th { background: #eef1f7; color: #4a5370; font-weight: 600; text-align: center; }
.tab-mini td { background: #fff; color: #1d2433; }
.tab-mini td.num { text-align: right; }
.tab-mini td.cible { background: #e7f5ff; }

.tab-formule-txt,
.tab-aide code { font-family: Consolas, 'Courier New', monospace; }
.tab-aide { font-size: .85rem; color: #6b7590; }

.tab-iframe { display: block; width: 100%; min-height: 420px; border: 1px solid #dde2ee; border-radius: 8px; background: #f5f7fa; }

.tab-svg { max-width: 100%; height: auto; }

/* Mini-feuille dans une question (automatismes, quiz, flashcards) */
.tab-q-feuille { margin: 8px 0; overflow-x: auto; text-align: left; }
.tab-q-feuille .tab-svg { display: block; max-width: 100%; height: auto; }
code.tab-formule-txt { padding: 1px 5px; border-radius: 4px; background: #eef1f7; font-family: Consolas, 'Courier New', monospace; }
