* { box-sizing: border-box; margin: 0; padding: 0; }
:root { color-scheme: light; }
body { background: #f8fafc; color: #1e293b; font-family: system-ui, sans-serif; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
input, select, textarea {
  background: #f8fafc !important;
  color: #1e293b !important;
  border-color: #cbd5e1 !important;
}
input::placeholder, textarea::placeholder { color: #94a3b8; }
table { color: #1e293b; }
th { color: #64748b !important; }
option { background: #ffffff; color: #1e293b; }
input, select, textarea { outline: none; }
button { font-family: inherit; }
input.prix-reel-ok { background: #f0fdf4 !important; color: #15803d !important; border-color: #16a34a !important; }
input.prix-reel-diff { background: #fef2f2 !important; color: #dc2626 !important; border-color: #dc2626 !important; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.7} }
/* ── Plan Hebdo : sticky ── */
.plan-filter-bar { position: sticky; top: 48px; z-index: 28; }
.plan-scroll { overflow-x: auto; overflow-y: auto; max-height: calc(100vh - 100px); }
/* thead sticky en une seule unité → plus de gap entre les 3 lignes d'en-tête */
.plan-table thead { position: sticky; top: 0; z-index: 24; }
/* ── Plan Hebdo : séparations ── */
.plan-table td { border-right: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
.plan-table th { border-right: 1px solid #e2e8f0; border-bottom: 2px solid #cbd5e1; }
.plan-table .row-group td { border-bottom: 2px solid #cbd5e1; }
