/* Scoped to the audited pages by refinements-normalize.js. */
.rfu-help { display:block; margin-top:.375rem; font-size:.75rem; line-height:1.5; font-weight:400; color:#475569; overflow-wrap:anywhere; }
.rfu-lorem-row { flex-wrap:wrap; }
.rfu-lorem-row select { flex:1 1 9rem; min-width:9rem; }
#trip-period { padding-left:.375rem; padding-right:.375rem; }
@media(max-width:650px){
 main input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]):not([type=hidden]), main select, main textarea { font-size:16px!important; min-width:0; }
 .rfu-lorem-row select { min-width:9rem; }
}
/* Interaction audit: scoped corrections, no calculator layout or values changed. */
body[data-interaction-polish="simulateur-emprunt-immobilier"] main .bg-indigo-600 p.text-indigo-200 { color:#e0e7ff; }
body[data-interaction-polish="calculateur-placements-interets"] main p.text-slate-400,
body[data-interaction-polish="calculateur-frais-kilometriques"] main p.text-slate-400,
body[data-interaction-polish="calculateur-pate-a-pain"] main p.text-slate-400,
body[data-interaction-polish="simulateur-rupture-conventionnelle"] main :is(p,span).text-slate-400,
body[data-interaction-polish="simulateur-dpe-2026"] main p.text-slate-400,
#type-hint, #slider-hint, #char-min-hint,
.crochet-markers-card p.text-slate-400, #fc-result-panel .bg-blue-50 p,
.fu-preset-grid button.is-recommended small,
.micro-rate-pill small, .inf-controls .inf-step-title small, .inf-chart-card header small,
.sr-paint__heading small, .sr-paint__coats button small,
.sr-stc-line small, .sr-stc-result-body :is(p,small).text-slate-400,
.iv-recurring :is(p,small), .iv-recurring .tt-field>span,
#hc-empty p, .ca-goals button small, .rt-presets small, .rt-mode small,
.ex-choice small, #tx-collage-pick small, #tx-collage-list>p, #tx-history>p { color:#475569; }
.micro-mode-button[aria-pressed='true'] { background-color:#047857; }
.ca-step header small { color:#c2410c; }
.inf-controls .inf-step-title small, .inf-chart-card header small, .sr-paint__heading small { color:#0369a1; }
body[data-interaction-polish="calculateur-date-accouchement"] main label small { color:#475569; }
body[data-interaction-polish="encodeur-decodeur-url"] #uw-app button small { color:#475569; }
.sr-stc-line small, .sr-stc-result-body :is(p,small).text-slate-400 { font-size:12px; line-height:1.5; }
body[data-interaction-polish="generateur-facture-devis-2026"] .iv-recurring { border-color:#bae6fd; background:#f0f9ff; }
body[data-interaction-polish="generateur-facture-devis-2026"] .iv-recurring header small { color:#0369a1; font-size:11px; }
body[data-interaction-polish="generateur-facture-devis-2026"] .iv-recurring header strong { color:#0f172a; font-size:14px; }
body[data-interaction-polish="generateur-facture-devis-2026"] .iv-recurring>p { font-size:12px; line-height:1.5; }
body[data-interaction-polish="generateur-facture-devis-2026"] .iv-recurring .tt-secondary { min-height:44px; border-color:#bae6fd; background:#e0f2fe; color:#0c4a6e; font-size:12px; }
body[data-interaction-polish="trier-liste-supprimer-doublons"] .ex-choice input:checked+span small { color:#475569; }
@media(max-width:360px){ .tf-controls { grid-template-columns:minmax(0,1fr); } }
/* Keyboard audit: inset outlines remain visible inside clipped tool panels.
   Only the 22 controls with no existing focus indicator are targeted. */
body[data-keyboard-polish] main :is(
  #frais-notaire, #frais-garantie, #frais-dossier,
  #project-select, #gauge-pat-st, #gauge-me-st, #gauge-pat-row, #gauge-me-row,
  #val-to-convert, #yarn-remaining, #yarn-rows-remaining, #yarn-per-row,
  #math-current, #math-target, #target-rows, #target-stitches,
  #leaven-pct, #text-input, #uw-pattern, #tx-santa-budget
):focus-visible { outline:3px solid #2563eb; outline-offset:-3px; }
body[data-keyboard-polish="calculatrice-scientifique"] #tx-expression:focus-visible {
  outline:3px solid #7dd3fc; outline-offset:-3px;
}
/* The clock's sky changes from dark to bright: keep both edges distinguishable. */
body[data-keyboard-polish="fuseaux-horaires"] #city-selector:focus-visible {
  outline:3px solid #0f172a; outline-offset:-3px;
  box-shadow:inset 0 0 0 5px #fff;
}
/* Fuseaux horaires: the custom header needs a full-width mobile search row. */
@media(max-width:640px){
  body[data-keyboard-polish="fuseaux-horaires"] > nav { flex-wrap:wrap; gap:.75rem; }
  body[data-keyboard-polish="fuseaux-horaires"] > nav > div { display:contents; }
  body[data-keyboard-polish="fuseaux-horaires"] > nav #sr-nav-root { flex-basis:100%; order:1; }
}
