/* Styles de base repris d'AlcoPulse (couleurs, boutons) pour le banc d'essai. */
:root{ color-scheme: dark; --bg: #0d1725; --surface: #142238; --text: #edf4ff; --muted: #a7b5c8; --border: #2b3e5a; --accent: #5eead4; }
*{ box-sizing: border-box; }
html{ font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); -webkit-text-size-adjust: 100%; }
body{ margin: 0; min-height: 100vh; padding: env(safe-area-inset-top, 0) 0 env(safe-area-inset-bottom, 0); background: radial-gradient(ellipse at top, #16294a, var(--bg) 60%); }
.test-header{ position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; background: rgba(13,23,37,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.test-header div{ display: grid; }
.test-header small{ color: var(--muted); font-size: .72rem; }
.test-pulses{ padding: 5px 10px; border-radius: 99px; background: rgba(250,204,21,.12); border: 1px solid rgba(250,204,21,.5); color: #facc15; font-weight: 800; font-size: .78rem; white-space: nowrap; }
.test-main{ max-width: 560px; margin: 0 auto; padding: 14px 14px 40px; display: grid; gap: 14px; }
.test-banner{ padding: 10px 12px; border-radius: 14px; border: 1px dashed #fbbf24; color: #fde68a; font-size: .78rem; line-height: 1.4; }
.page-panel{ padding: 16px; border-radius: 24px; background: linear-gradient(170deg, #17294a, #101d33); border: 1px solid var(--border); }
.page-section-header h2{ margin: 2px 0 4px; font-size: 1.5rem; }
.page-section-header p{ margin: 0 0 10px; color: var(--muted); font-size: .85rem; }
.eyebrow{ color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .1em; }
.button{ min-height: 46px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--border); background: transparent; color: var(--text); font: inherit; font-weight: 800; cursor: pointer; }
.button.primary{ background: #d9e8ff; color: #0d1725; border-color: #d9e8ff; }
.button.ghost{ background: rgba(255,255,255,.03); }
.button:disabled{ cursor: default; }
.hidden{ display: none !important; }
.test-tools{ padding: 12px 14px; border-radius: 16px; border: 1px solid var(--border); background: #111d31; }
.test-tools summary{ cursor: pointer; font-weight: 800; }
.test-tools label{ display: grid; gap: 6px; margin-top: 12px; font-size: .82rem; color: var(--muted); }
.test-tools select{ min-height: 44px; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--border); background: #132238; color: var(--text); font: inherit; }
.test-tools-buttons{ display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.test-tools p{ color: var(--muted); font-size: .74rem; line-height: 1.4; }
.test-toast{ position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 2147483000; max-width: min(88vw, 380px); padding: 12px 16px; border-radius: 16px; background: #13233b; border: 1px solid rgba(94,234,212,.55); font-weight: 700; font-size: .88rem; opacity: 0; transform: translate(-50%, 12px); transition: opacity .25s, transform .25s; pointer-events: none; }
.test-toast.show{ opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce){ .test-toast{ transition: none; } }
