@font-face { font-family: "Atkinson"; font-weight: 400; font-display: swap; src: url(/assets/fonts/atkinson-hyperlegible-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Atkinson"; font-weight: 700; font-display: swap; src: url(/assets/fonts/atkinson-hyperlegible-latin-700-normal.woff2) format("woff2"); }
:root { --bleu: #1d2f7a; --rose: #c4528f; --fond: #f6f4fa; --texte: #1c1c28; --gris: #5c5c6e; --ok: #1f7a46; --err: #b3261e; --bord: #cfcbe0; }
* { box-sizing: border-box; }
html { font-size: 20px; }
body { margin: 0; font-family: "Atkinson", Verdana, sans-serif; background: var(--fond); color: var(--texte); line-height: 1.5; }
main { max-width: 780px; margin: 0 auto; padding: 16px 16px 80px; }
body.ph main { max-width: 1100px; }
.bandeau { display: flex; align-items: center; gap: 16px; padding: 12px 20px; background: #fff; border-bottom: 3px solid var(--rose); }
.logo { font-weight: 700; color: var(--bleu); text-decoration: none; font-size: 1.1rem; }
.pharm { color: var(--gris); font-size: .8rem; flex: 1; }
.ph-bandeau nav { margin-left: auto; display: flex; gap: 18px; align-items: center; font-size: .85rem; }
.qui { color: var(--gris); }
a { color: var(--bleu); }
h1 { font-size: 1.5rem; line-height: 1.3; color: var(--bleu); margin: .2em 0 .6em; }
h2 { font-size: 1.2rem; color: var(--bleu); } h3 { font-size: 1rem; color: var(--rose); margin-top: 1.4em; }
.carte { background: #fff; border: 1px solid var(--bord); border-radius: 16px; padding: 22px; margin: 16px 0; }
.carte.etroit { max-width: 440px; margin-inline: auto; }
.gros-texte { font-size: 1.05rem; }
.aide, .repere, .petit { color: var(--gris); font-size: .85rem; }
label { display: block; font-weight: 700; margin: 14px 0 4px; }
input[type=text], input[type=password], input:not([type]), input[type=datetime-local], input[inputmode], textarea, select { width: 100%; font: inherit; padding: 12px 14px; border: 2px solid var(--bord); border-radius: 10px; background: #fff; }
input:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }
.code { font-size: 1.6rem; letter-spacing: .15em; text-transform: uppercase; text-align: center; }
.naiss { border: 0; padding: 0; margin: 14px 0; display: flex; gap: 12px; }
.naiss legend { font-weight: 700; padding: 0; margin-bottom: 4px; }
.naiss label { flex: 1; margin: 0; } .naiss label:last-child { flex: 1.6; }
.naiss input { text-align: center; font-size: 1.3rem; }
.visuel-cache { position: absolute; left: -9999px; }
button, .bouton { font: inherit; cursor: pointer; border-radius: 12px; border: 2px solid var(--bleu); background: #fff; color: var(--bleu); padding: 12px 20px; text-decoration: none; display: inline-block; }
button.gros, .bouton:not(.secondaire) { background: var(--bleu); color: #fff; font-weight: 700; min-height: 56px; padding: 14px 28px; }
button.gros { width: 100%; margin-top: 18px; }
.secondaire { background: #fff !important; color: var(--bleu) !important; }
button.danger { border-color: var(--err); color: var(--err); }
button.lien { border: 0; background: none; text-decoration: underline; padding: 6px; color: var(--gris); }
.erreur { background: #fde7e5; border-left: 5px solid var(--err); padding: 10px 14px; border-radius: 6px; color: #5b130e; }
.ok { background: #e3f4ea; border-left: 5px solid var(--ok); padding: 10px 14px; border-radius: 6px; }
progress.progression { width: 100%; height: 12px; appearance: none; -webkit-appearance: none; border: 0; border-radius: 6px; background: #e4e0ef; overflow: hidden; }
progress.progression::-webkit-progress-bar { background: #e4e0ef; border-radius: 6px; }
progress.progression::-webkit-progress-value { background: var(--rose); border-radius: 6px; }
progress.progression::-moz-progress-bar { background: var(--rose); }
.question fieldset { border: 0; padding: 0; margin: 0; }
.question legend h1 { font-size: 1.45rem; }
.options { display: grid; gap: 12px; margin-top: 14px; }
.option { text-align: left; width: 100%; min-height: 60px; font-size: 1.05rem; padding: 14px 18px; border-radius: 14px; border: 2px solid var(--bord); background: #fff; color: var(--texte); display: flex; align-items: center; gap: 12px; font-weight: 400; margin: 0; }
.option:hover { border-color: var(--bleu); }
.option.choisi { border-color: var(--bleu); background: #e9ecfb; }
.option.case input, .case input { width: 28px; height: 28px; flex: none; accent-color: var(--bleu); }
.case { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; }
.actions { display: grid; gap: 12px; margin-top: 22px; }
.nav { margin-top: 22px; }
.nombre input { max-width: 200px; font-size: 1.5rem; display: inline-block; }
.inactif { position: fixed; inset: 0; background: rgba(28,28,40,.92); color: #fff; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 20px; font-size: 1.6rem; z-index: 10; }
.inactif[hidden] { display: none; }
.inactif .gros { width: auto; }
/* tablette borne : 1340x800 paysage */
@media (min-width: 900px) and (orientation: landscape) { body.borne main { max-width: 1100px; } body.borne .options { grid-template-columns: 1fr 1fr; } body.borne { font-size: 22px; } }
/* espace pharmacien */
.liste { width: 100%; border-collapse: collapse; background: #fff; }
.liste th, .liste td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--bord); }
.pastille { background: #ece9f7; border-radius: 20px; padding: 3px 12px; font-size: .8rem; }
.st-termine .pastille { background: #ffe1ef; font-weight: 700; } .st-entretien_fait { opacity: .6; }
.en-ligne { display: inline-block; margin-right: 8px; }
.en-ligne button.gros { width: auto; margin: 0; }
.rep { border-bottom: 1px solid var(--bord); padding: 8px 0; } .rep .q { margin: 0; color: var(--gris); font-size: .85rem; }
.rep .r { margin: 0; font-weight: 700; } .rep .vide { margin: 0; color: var(--gris); } .rep .voir { margin: 0; color: var(--rose); font-weight: 700; }
.rep.sensible { background: #fff7fb; }
.fi { padding: 6px 0; } .badge { font-size: .7rem; border-radius: 10px; padding: 2px 8px; margin-left: 8px; }
.badge.rep { background: #dff0ff; } .badge.lire { background: #ffe1ef; }
.fi fieldset { border: 0; padding: 0; } .fi legend { font-weight: 700; }
.fi .info { color: var(--gris); font-style: italic; }
.barre-bas { position: sticky; bottom: 0; background: var(--fond); padding: 12px 0; display: flex; gap: 12px; }
.barre-bas .gros { width: auto; margin: 0; }
/* ticket 80 mm */
.ticket { width: 72mm; margin: 12px auto; padding: 4mm; background: #fff; text-align: center; font-size: 11pt; line-height: 1.3; border: 1px dashed #999; }
.ticket h2 { font-size: 14pt; margin: 0; } .ticket p { margin: 4px 0; }
.qr { width: 52mm; height: 52mm; margin: 4mm auto; } .qr svg, .qr img { width: 100%; height: 100%; }
.code-gros { font-size: 20pt; font-weight: 700; letter-spacing: .12em; }
@media print { @page { size: 80mm auto; margin: 0 } body { background: #fff; } .bandeau, .ecran-seulement { display: none !important; } main { padding: 0; max-width: none; } .ticket { border: 0; margin: 0; width: 72mm; } }
.ecran-seulement button.gros { width: auto; margin: 0 8px 0 0; }
