
/* ═══════════════════════════════════════════════════════════
   INTOLERIS — Light Mode Override v3
   Chargé uniquement hors homepage
   IMPORTANT : tous les sélecteurs scanner sont préfixés .ih-wrap
   pour garantir une spécificité > style.css, peu importe l'ordre
   de chargement. -webkit-text-fill-color ajouté là où style.css
   l'utilise (sinon color est ignoré par WebKit).
   ═══════════════════════════════════════════════════════════ */
 
/* ════════════════════════════════════════════════════════════
   GLOBAL — Body + WooCommerce (hors homepage)
   ════════════════════════════════════════════════════════════ */
 
body {
    background-color: #f8fafc !important;
}
 
.site-content,
#content,
.content-area,
.ast-container,
.ast-page-builder-template,
#primary,
.site-main,
main.site-main {
    background-color: #f8fafc !important;
}
 
/* ── WooCommerce ── */
.woocommerce ul.products li.product,
.woocommerce div.product {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 16px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.04) !important;
}
 
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce div.product .product_title {
    color: #0f172a !important;
}
 
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: #0d9488 !important;
}
 
.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: linear-gradient(135deg, #0d9488, #0891b2) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
}
 
.woocommerce form .form-row input,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    color: #0f172a !important;
}
 
.woocommerce-checkout-review-order-table,
.woocommerce table.shop_table {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
}
 
/* ════════════════════════════════════════════════════════════
   SCANNER NOUVEAU — .ih-wrap
   Tous les sélecteurs en .ih-wrap .xxx pour spécificité 0,2,0
   battant les règles 0,1,0 de style.css même avec !important
   ════════════════════════════════════════════════════════════ */
 
.ih-wrap {
    background: #f8fafc !important;
    color: #0f172a !important;
    box-shadow: 0 4px 24px rgba(0,0,0,.06) !important;
    /* Redéfinition des variables CSS */
    --teal:     #0d9488;
    --teal-dim: rgba(13,148,136,.1);
    --teal-glow:rgba(13,148,136,.2);
    --navy:     #f8fafc;
    --navy2:    #f1f5f9;
    --navy3:    #e2e8f0;
    --text:     #0f172a;
    --text-dim: #475569;
    --warn:     #d97706;
    --ok:       #16a34a;
    --red:      #dc2626;
}
 
.ih-wrap::before { display: none !important; }
 
/* ── Hero ── */
.ih-hero-bg { display: none !important; }
 
.ih-wrap .ih-h1 {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}
.ih-wrap .ih-h1-accent {
    color: #0d9488 !important;
    -webkit-text-fill-color: #0d9488 !important;
    text-shadow: none !important;
}
.ih-wrap .ih-hero-sub {
    color: #1e293b !important;
    -webkit-text-fill-color: #1e293b !important;
}
.ih-wrap .ih-hero-intro {
    color: #475569 !important;
    -webkit-text-fill-color: #475569 !important;
}
.ih-wrap .ih-hero-claim {
    color: #0d9488 !important;
    -webkit-text-fill-color: #0d9488 !important;
}
 
.ih-wrap .ih-hero-badge {
    background:   rgba(13,148,136,.1) !important;
    border-color: rgba(13,148,136,.25) !important;
    color:        #0d9488 !important;
    -webkit-text-fill-color: #0d9488 !important;
}
 
.ih-wrap .ih-chip {
    background:   #f1f5f9 !important;
    border-color: #e2e8f0 !important;
    color:        #475569 !important;
    -webkit-text-fill-color: #475569 !important;
}
 
/* ── Sections ── */
.ih-wrap .ih-section-title {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}
.ih-wrap .ih-section-intro {
    color: #64748b !important;
    -webkit-text-fill-color: #64748b !important;
}
.ih-wrap .ih-tabs-label {
    color: #0d9488 !important;
    -webkit-text-fill-color: #0d9488 !important;
}
 
/* ── Steps ── */
.ih-wrap .ih-step {
    background:   #ffffff !important;
    border-color: rgba(13,148,136,.2) !important;
    box-shadow:   0 2px 8px rgba(0,0,0,.05) !important;
}
.ih-wrap .ih-step p {
    color: #475569 !important;
    -webkit-text-fill-color: #475569 !important;
}
.ih-wrap .ih-step-arrow {
    color: rgba(13,148,136,.5) !important;
    -webkit-text-fill-color: rgba(13,148,136,.5) !important;
}
 
/* ── Tabs ── */
.ih-wrap .ih-tab {
    background:   #f1f5f9 !important;
    color:        #475569 !important;
    -webkit-text-fill-color: #475569 !important;
    border-color: #e2e8f0 !important;
    box-shadow:   none !important;
}
.ih-wrap .ih-tab:hover {
    background:   rgba(13,148,136,.08) !important;
    color:        #0d9488 !important;
    -webkit-text-fill-color: #0d9488 !important;
    border-color: rgba(13,148,136,.3) !important;
    box-shadow:   none !important;
}
.ih-wrap .ih-tab.active {
    background:   rgba(13,148,136,.12) !important;
    color:        #0d9488 !important;
    -webkit-text-fill-color: #0d9488 !important;
    border-color: rgba(13,148,136,.5) !important;
    box-shadow:   0 0 0 3px rgba(13,148,136,.1) !important;
}
 
/* ── Mode cards ── */
.ih-wrap .ih-mode-card {
    background:   #f1f5f9 !important;
    border-color: #e2e8f0 !important;
    color:        #1e293b !important;
    -webkit-text-fill-color: #1e293b !important;
}
.ih-wrap .ih-mode-card:hover {
    background:   rgba(13,148,136,.08) !important;
    border-color: rgba(13,148,136,.4) !important;
    color:        #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    box-shadow:   0 4px 16px rgba(13,148,136,.1) !important;
}
.ih-wrap .ih-mode-card.active {
    background:   rgba(13,148,136,.12) !important;
    border-color: rgba(13,148,136,.6) !important;
    color:        #0d9488 !important;
    -webkit-text-fill-color: #0d9488 !important;
    box-shadow:   0 0 0 3px rgba(13,148,136,.1) !important;
}
.ih-wrap .ih-mode-card--secondary {
    background:   #f8fafc !important;
    border-color: #e2e8f0 !important;
    color:        #64748b !important;
    -webkit-text-fill-color: #64748b !important;
}
.ih-wrap .ih-mode-card--secondary:hover {
    background:   #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color:        #334155 !important;
    -webkit-text-fill-color: #334155 !important;
}
.ih-wrap .ih-mode-name {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}
.ih-wrap .ih-mode-hint {
    color: #64748b !important;
    -webkit-text-fill-color: #64748b !important;
}
.ih-wrap .ih-mode-icon { color: inherit !important; -webkit-text-fill-color: initial !important; }
 
/* ── Panel inner ── */
.ih-wrap .ih-panel-inner {
    background:   #ffffff !important;
    border-color: #e2e8f0 !important;
}
.ih-wrap .ih-panel-title {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}
.ih-wrap .ih-panel-desc {
    color: #64748b !important;
    -webkit-text-fill-color: #64748b !important;
}
.ih-wrap .ih-panel-example {
    background:   rgba(13,148,136,.05) !important;
    border-color: rgba(13,148,136,.2) !important;
}
 
/* ── Inputs ── */
.ih-wrap textarea,
.ih-wrap input[type="text"] {
    background:   #f8fafc !important;
    border-color: #e2e8f0 !important;
    color:        #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}
.ih-wrap textarea:focus,
.ih-wrap input[type="text"]:focus {
    background:   #ffffff !important;
    border-color: #0d9488 !important;
    color:        #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    box-shadow:   0 0 0 3px rgba(13,148,136,.1) !important;
}
.ih-wrap textarea::placeholder,
.ih-wrap input[type="text"]::placeholder {
    color: #94a3b8 !important;
    -webkit-text-fill-color: #94a3b8 !important;
}
 
/* ── Boutons secondaires ── */
.ih-wrap .ih-btn-secondary {
    background:   #f1f5f9 !important;
    color:        #64748b !important;
    -webkit-text-fill-color: #64748b !important;
    border-color: #e2e8f0 !important;
}
.ih-wrap .ih-btn-secondary:hover {
    background:   #fef2f2 !important;
    border-color: rgba(239,68,68,.3) !important;
    color:        #dc2626 !important;
    -webkit-text-fill-color: #dc2626 !important;
}
 
/* ── Résultats ── */
.ih-wrap .ih-result-head h4 {
    color:             #0d9488 !important;
    -webkit-text-fill-color: #0d9488 !important;
    border-bottom-color: rgba(13,148,136,.2) !important;
}
.ih-wrap .ih-res-block {
    background: #f1f5f9 !important;
    color:      #334155 !important;
    -webkit-text-fill-color: #334155 !important;
}
.ih-wrap .ih-res-block p,
.ih-wrap .ih-res-block span,
.ih-wrap .ih-res-block div {
    color: #334155 !important;
    -webkit-text-fill-color: #334155 !important;
}
.ih-wrap .ih-res-block b {
    color: #0d9488 !important;
    -webkit-text-fill-color: #0d9488 !important;
}
.ih-wrap .ih-res-meta {
    color: #475569 !important;
    -webkit-text-fill-color: #475569 !important;
}
.ih-wrap .ih-res-ok {
    color: #16a34a !important;
    -webkit-text-fill-color: #16a34a !important;
}
 
.ih-wrap .ih-hl {
    background:   rgba(220,38,38,.1) !important;
    color:        #dc2626 !important;
    -webkit-text-fill-color: #dc2626 !important;
    border-color: rgba(220,38,38,.25) !important;
}
 
/* ── Fix blocs restaurant (order/commander) ── */
.ih-wrap [class*="order"],
.ih-wrap [class*="commander"],
.ih-wrap [class*="how-to"],
.ih-wrap [class*="ordering"],
.ih-wrap [class*="ih-order"],
.ih-wrap [class*="ih-how-order"],
.ih-wrap [class*="ih-restaurant-how"] {
    color: #334155 !important;
    -webkit-text-fill-color: #334155 !important;
}
.ih-wrap [class*="order"] p,
.ih-wrap [class*="order"] span,
.ih-wrap [class*="order"] div,
.ih-wrap [class*="commander"] p,
.ih-wrap [class*="commander"] span {
    color: #334155 !important;
    -webkit-text-fill-color: #334155 !important;
}
.ih-wrap [class*="order"] > p:last-child,
.ih-wrap [class*="commander"] > p:last-child {
    color: #64748b !important;
    -webkit-text-fill-color: #64748b !important;
}
 
/* ── SIGHI box ── */
.ih-wrap .ih-sighi-box {
    background:   rgba(13,148,136,.05) !important;
    border-color: rgba(13,148,136,.2) !important;
}
.ih-wrap .ih-sighi-box h4 {
    color: #0d9488 !important;
    -webkit-text-fill-color: #0d9488 !important;
}
.ih-wrap .ih-sighi-row {
    background:   #f8fafc !important;
    color:        #334155 !important;
    -webkit-text-fill-color: #334155 !important;
    border-left-color: rgba(220,38,38,.4) !important;
}
.ih-wrap .ih-bad-tag {
    background: rgba(220,38,38,.1) !important;
    color:      #dc2626 !important;
    -webkit-text-fill-color: #dc2626 !important;
}
 
/* ── Other intol cards ── */
.ih-wrap .ih-other-wrap h4 {
    color: #64748b !important;
    -webkit-text-fill-color: #64748b !important;
}
.ih-wrap .ih-ocard {
    background:   #f1f5f9 !important;
    border-color: #e2e8f0 !important;
}
.ih-wrap .ih-ocard-warn {
    background:   rgba(217,119,6,.06) !important;
    border-color: rgba(217,119,6,.25) !important;
}
.ih-wrap .ih-ocard-name {
    color: #64748b !important;
    -webkit-text-fill-color: #64748b !important;
}
.ih-wrap .ih-ocard-risk {
    color: #334155 !important;
    -webkit-text-fill-color: #334155 !important;
}
.ih-wrap .ih-ocard-found {
    color: #d97706 !important;
    -webkit-text-fill-color: #d97706 !important;
}
 
/* ── Cartes protocoles ── */
.ih-wrap .ih-analyze-card {
    background:   #ffffff !important;
    border-color: #e2e8f0 !important;
}
.ih-wrap .ih-analyze-card:hover {
    background:   rgba(13,148,136,.05) !important;
    border-color: rgba(13,148,136,.3) !important;
}
.ih-wrap .ih-analyze-name {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}
.ih-wrap .ih-analyze-desc {
    color: #64748b !important;
    -webkit-text-fill-color: #64748b !important;
}
.ih-wrap .ih-analyzes-note {
    color: #64748b !important;
    -webkit-text-fill-color: #64748b !important;
}
 
/* ── Trust bar ── */
.ih-wrap .ih-trust-inner {
    background:   #ffffff !important;
    border-color: #e2e8f0 !important;
}
.ih-wrap .ih-trust-num {
    color: #0d9488 !important;
    -webkit-text-fill-color: #0d9488 !important;
}
.ih-wrap .ih-trust-label {
    color: #64748b !important;
    -webkit-text-fill-color: #64748b !important;
}
.ih-wrap .ih-trust-label strong {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}
.ih-wrap .ih-trust-sep { background: #e2e8f0 !important; }
 
/* ── Pour qui ── */
.ih-wrap .ih-forwhom {
    background:   linear-gradient(135deg, rgba(13,148,136,.04), rgba(124,58,237,.03)) !important;
    border-color: rgba(13,148,136,.15) !important;
}
.ih-wrap .ih-forwhom-title {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}
.ih-wrap .ih-forwhom-desc {
    color: #475569 !important;
    -webkit-text-fill-color: #475569 !important;
}
.ih-wrap .ih-forwhom-cta-hint {
    color: #94a3b8 !important;
    -webkit-text-fill-color: #94a3b8 !important;
}
.ih-wrap .ih-ftag {
    background:   #f1f5f9 !important;
    border-color: #e2e8f0 !important;
    color:        #475569 !important;
    -webkit-text-fill-color: #475569 !important;
}
.ih-wrap .ih-ftag--more {
    background:   rgba(13,148,136,.08) !important;
    border-color: rgba(13,148,136,.2) !important;
    color:        #0d9488 !important;
    -webkit-text-fill-color: #0d9488 !important;
}
.ih-wrap .ih-fwv-card {
    background:   #f8fafc !important;
    border-color: #e2e8f0 !important;
}
.ih-wrap .ih-fwv-row {
    color: #64748b !important;
    -webkit-text-fill-color: #64748b !important;
}
.ih-wrap .ih-fwv-row--hl {
    background:   rgba(13,148,136,.06) !important;
    border-color: rgba(13,148,136,.15) !important;
    color:        #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}
.ih-wrap .ih-fwv-badge--grey {
    background: #f1f5f9 !important;
    color: #94a3b8 !important;
    -webkit-text-fill-color: #94a3b8 !important;
}
 
/* ── Language buttons ── */
.ih-wrap .ih-lang-btn {
    background:   #f1f5f9 !important;
    color:        #475569 !important;
    -webkit-text-fill-color: #475569 !important;
    border-color: rgba(13,148,136,.25) !important;
    box-shadow:   none !important;
}
.ih-wrap .ih-lang-btn:hover {
    background:   rgba(13,148,136,.08) !important;
    color:        #0d9488 !important;
    -webkit-text-fill-color: #0d9488 !important;
    border-color: rgba(13,148,136,.3) !important;
    box-shadow:   none !important;
}
.ih-wrap .ih-lang-btn.active {
    background:   linear-gradient(135deg, #0d9488, #0891b2) !important;
    color:        #fff !important;
    -webkit-text-fill-color: #fff !important;
    border-color: #0d9488 !important;
    box-shadow:   0 3px 12px rgba(13,148,136,.3) !important;
}
 
/* ── Disclaimer ── */
.ih-wrap .ih-disclaimer {
    background:   rgba(217,119,6,.05) !important;
    border-color: rgba(217,119,6,.2) !important;
}
.ih-wrap .ih-disclaimer p,
.ih-wrap .ih-disclaimer-list li {
    color: #475569 !important;
    -webkit-text-fill-color: #475569 !important;
}
 
/* ── Barcode explainer ── */
.ih-wrap .ih-barcode-explainer {
    background:   #f8fafc !important;
    border-color: #e2e8f0 !important;
}
.ih-wrap .ih-barcode-what strong {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}
.ih-wrap .ih-barcode-what p {
    color: #64748b !important;
    -webkit-text-fill-color: #64748b !important;
}
/* Catch inline styles inside barcode explainer (ex: "lignes verticales") */
.ih-wrap .ih-barcode-explainer p {
    color: #334155 !important;
    -webkit-text-fill-color: #334155 !important;
}
.ih-wrap .ih-barcode-explainer strong,
.ih-wrap .ih-barcode-explainer p strong {
    color: #1e293b !important;
    -webkit-text-fill-color: #1e293b !important;
}
 
/* ── Recipe cards ── */
.ih-wrap .ih-recipe-card {
    background:   #ffffff !important;
    border-color: #e2e8f0 !important;
}
.ih-wrap .ih-recipe-card:hover {
    border-color: rgba(13,148,136,.3) !important;
    box-shadow:   0 6px 20px rgba(0,0,0,.06) !important;
}
.ih-wrap .ih-recipe-top h5 {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}
.ih-wrap .ih-recipe-meta {
    color: #94a3b8 !important;
    -webkit-text-fill-color: #94a3b8 !important;
}
.ih-wrap .ih-recipe-ing {
    color: #475569 !important;
    -webkit-text-fill-color: #475569 !important;
}
.ih-wrap .ih-recipe-steps {
    color: #64748b !important;
    -webkit-text-fill-color: #64748b !important;
    border-top-color: #e2e8f0 !important;
}
.ih-wrap .ih-recipe-empty {
    color: #94a3b8 !important;
    -webkit-text-fill-color: #94a3b8 !important;
}
.ih-wrap .ih-recipe-count {
    color: #16a34a !important;
    -webkit-text-fill-color: #16a34a !important;
}
 
/* ── Intol checkboxes (recettes) ── */
.ih-wrap .ih-intol-check {
    background:   #f8fafc !important;
    border-color: #e2e8f0 !important;
    color:        #475569 !important;
    -webkit-text-fill-color: #475569 !important;
}
.ih-wrap .ih-intol-check:hover {
    background:   rgba(13,148,136,.06) !important;
    border-color: rgba(13,148,136,.35) !important;
    color:        #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}
 
/* ── FAQ ── */
.ih-wrap .ih-faq-item {
    background:   #ffffff !important;
    border-color: #e2e8f0 !important;
}
.ih-wrap .ih-faq-q {
    color:      #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    background: transparent !important;
}
.ih-wrap .ih-faq-item.open .ih-faq-q {
    color:      #0d9488 !important;
    -webkit-text-fill-color: #0d9488 !important;
    background: rgba(13,148,136,.04) !important;
}
.ih-wrap .ih-faq-a {
    color: #64748b !important;
    -webkit-text-fill-color: #64748b !important;
}
 
/* ── Footer plugin ── */
.ih-wrap .ih-footer { border-top-color: #e2e8f0 !important; }
.ih-wrap .ih-footer-tagline {
    color: #0d9488 !important;
    -webkit-text-fill-color: #0d9488 !important;
}
.ih-wrap .ih-footer-note {
    color: #64748b !important;
    -webkit-text-fill-color: #64748b !important;
}
.ih-wrap .ih-footer-tech {
    color: #94a3b8 !important;
    -webkit-text-fill-color: #94a3b8 !important;
}
 
/* ── Historique ── */
.ih-wrap .ih-history-title {
    color: #1e293b !important;
    -webkit-text-fill-color: #1e293b !important;
}
.ih-wrap .ih-history-date {
    color: #94a3b8 !important;
    -webkit-text-fill-color: #94a3b8 !important;
}
 
/* ── Scanner intro ── */
.ih-wrap .ih-scanner-intro {
    color: #94a3b8 !important;
    -webkit-text-fill-color: #94a3b8 !important;
}
 
/* ── Barre "Réservé aux abonnés" (ia-photo-upgrade, généré par JS) ── */
.ih-wrap .ia-photo-upgrade {
    color: #475569 !important;
    -webkit-text-fill-color: #475569 !important;
    border-color: #e2e8f0 !important;
}
.ih-wrap .ia-photo-upgrade span {
    color: #475569 !important;
    -webkit-text-fill-color: #475569 !important;
}
.ih-wrap .ia-photo-upgrade strong {
    color: #0c6b60 !important;
    -webkit-text-fill-color: #0c6b60 !important;
}
.ih-wrap .ia-photo-upgrade-link {
    color: #0d9488 !important;
    -webkit-text-fill-color: #0d9488 !important;
    text-decoration: none !important;
}
.ih-wrap .ia-photo-upgrade-link:hover {
    color: #0f766e !important;
    -webkit-text-fill-color: #0f766e !important;
}
 
/* ── Séparateur modes (ia-modes-separator, généré par JS) ── */
.ih-wrap .ia-modes-separator {
    color: #94a3b8 !important;
    -webkit-text-fill-color: #94a3b8 !important;
    border-color: #e2e8f0 !important;
    background: transparent !important;
}
.ih-wrap .ia-modes-separator span,
.ih-wrap .ia-modes-separator p {
    color: #94a3b8 !important;
    -webkit-text-fill-color: #94a3b8 !important;
}
 
/* ── Bloc IRB (inscription / upgrade) ── */
.ih-wrap .irb-wrap {
    background: rgba(13,148,136,.05) !important;
    border-color: rgba(13,148,136,.25) !important;
}
.ih-wrap .irb-title {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}
.ih-wrap .irb-sub {
    color: #475569 !important;
    -webkit-text-fill-color: #475569 !important;
}
 
/* ── Demo bar ── */
.ih-wrap .ih-demo-hint {
    color: #94a3b8 !important;
    -webkit-text-fill-color: #94a3b8 !important;
}
.ih-wrap .ih-demo-badge {
    background:       rgba(13,148,136,.06) !important;
    border-left-color: #0d9488 !important;
    color:            #0d9488 !important;
    -webkit-text-fill-color: #0d9488 !important;
}
 
/* ── Video scanner ── */
#ih-scanner { border-color: rgba(13,148,136,.2) !important; }
 
/* ── Alternatives block ── */
.ih-wrap .ia-alternatives-block {
    background:   #ffffff !important;
    border-color: rgba(13,148,136,.2) !important;
}
.ih-wrap .ia-alt-header { border-bottom-color: #e2e8f0 !important; }
.ih-wrap .ia-alt-item   { border-bottom-color: #f1f5f9 !important; }
.ih-wrap .ia-alt-item:hover { background: rgba(13,148,136,.03) !important; }
 
.ih-wrap .ia-alt-suggestion {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}
.ih-wrap .ia-alt-why {
    color: #64748b !important;
    -webkit-text-fill-color: #64748b !important;
}
.ih-wrap .ia-alt-tag {
    color:        #64748b !important;
    -webkit-text-fill-color: #64748b !important;
    background:   #f1f5f9 !important;
    border-color: #e2e8f0 !important;
}
.ih-wrap .ia-alt-note {
    color: #94a3b8 !important;
    -webkit-text-fill-color: #94a3b8 !important;
    border-top-color: #f1f5f9 !important;
}
 
/* ── Detail accordion ── */
.ih-wrap .ia-detail-toggle {
    background:   #f8fafc !important;
    border-color: #e2e8f0 !important;
    color:        #64748b !important;
    -webkit-text-fill-color: #64748b !important;
}
.ih-wrap .ia-detail-toggle:hover {
    background: #f1f5f9 !important;
    color: #334155 !important;
    -webkit-text-fill-color: #334155 !important;
}
.ih-wrap .ia-detail-body {
    background:   #ffffff !important;
    border-color: #e2e8f0 !important;
}
 
/* ════════════════════════════════════════════
   ANCIEN SCANNER (.intoleris-app)
   ════════════════════════════════════════════ */
.intoleris-app {
    background: #f8fafc !important;
    box-shadow: 0 4px 24px rgba(0,0,0,.06) !important;
}
.intoleris-app h2 {
    color:       #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    text-shadow: none !important;
}
 
.intoleris-block {
    background:   #ffffff !important;
    border-color: rgba(13,148,136,.2) !important;
    box-shadow:   0 2px 8px rgba(0,0,0,.04) !important;
}
.intoleris-block:hover {
    border-color: rgba(13,148,136,.45) !important;
    box-shadow:   0 6px 24px rgba(13,148,136,.12) !important;
}
.intoleris-block h3 {
    color:       #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    text-shadow: none !important;
}
 
.intoleris-app video,
.intoleris-app textarea,
.intoleris-app input[type="text"],
video, textarea, input[type="text"] {
    background:   #f8fafc !important;
    border-color: #e2e8f0 !important;
    color:        #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}
 
.intoleris-app textarea::placeholder,
.intoleris-app input::placeholder,
textarea::placeholder, input::placeholder {
    color: #94a3b8 !important;
    -webkit-text-fill-color: #94a3b8 !important;
}
 
#historyBox {
    background:   #f8fafc !important;
    border-color: #e2e8f0 !important;
    color:        #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}
#historyBox li {
    background:        rgba(13,148,136,.06) !important;
    border-left-color: #0d9488 !important;
    color:             #334155 !important;
    -webkit-text-fill-color: #334155 !important;
}
#historyBox li:hover { background: rgba(13,148,136,.1) !important; }
 
#resultBox {
    background:   #ffffff !important;
    border-color: #e2e8f0 !important;
    color:        #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}
 
.sighi-box {
    background:   rgba(13,148,136,.05) !important;
    border-color: rgba(13,148,136,.2) !important;
}
.sighi-box h3 {
    color: #0d9488 !important;
    -webkit-text-fill-color: #0d9488 !important;
}
 
.res {
    background: #f1f5f9 !important;
    color:      #334155 !important;
    -webkit-text-fill-color: #334155 !important;
}
.res b {
    color: #0d9488 !important;
    -webkit-text-fill-color: #0d9488 !important;
}
 
.other-box {
    background:   #f1f5f9 !important;
    border-color: #e2e8f0 !important;
}
.other-box h4 {
    color: #64748b !important;
    -webkit-text-fill-color: #64748b !important;
}
 
/* Language buttons (ancien scanner) */
.lang-btn {
    background:   #f1f5f9 !important;
    color:        #64748b !important;
    -webkit-text-fill-color: #64748b !important;
    border-color: rgba(13,148,136,.25) !important;
    box-shadow:   none !important;
}
.lang-btn:hover {
    background:   rgba(13,148,136,.1) !important;
    color:        #0d9488 !important;
    -webkit-text-fill-color: #0d9488 !important;
    border-color: rgba(13,148,136,.3) !important;
    box-shadow:   none !important;
}
.lang-btn.active {
    background:   linear-gradient(135deg, #0d9488, #0891b2) !important;
    color:        #fff !important;
    -webkit-text-fill-color: #fff !important;
    border-color: #0d9488 !important;
    box-shadow:   0 3px 10px rgba(13,148,136,.3) !important;
}
 
/* Scrollbar historique */
#historyBox::-webkit-scrollbar-track { background: #f1f5f9 !important; }
#historyBox::-webkit-scrollbar-thumb { background: #0d9488 !important; }
 