/*
 * Script : nfc-poc.css
 * Chemin : emballage-nfc-poc/nfc-poc.css
 * Description : Interface mobile de test NFC sans dépendances externes.
 * Auteur : Équipe SI MEDITHAU — POC assisté par ChatGPT
 * Prérequis : navigateur moderne ; HTTPS pour Web NFC.
 * Création : 2026-10-19 | Modification : 2026-10-19 | Version : 1.0.0
 */
:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172534;background:#f7f9fb;font-synthesis:none;-webkit-text-size-adjust:100%}
*{box-sizing:border-box}body{margin:0}.layout{max-width:680px;margin:0 auto;padding:28px 18px 42px}.header{margin-bottom:22px}.eyebrow{font-size:11px;letter-spacing:.13em;text-transform:uppercase;font-weight:750;color:#497b78;margin-bottom:12px}h1{font-size:clamp(27px,6vw,37px);line-height:1.15;letter-spacing:-.035em;margin:0 0 12px;font-weight:750}p{line-height:1.55}.header>p{margin:0 0 16px;color:#536474;font-size:15px}.notice{background:#eaf3f1;border:1px solid #c6dfd9;border-radius:9px;padding:11px 13px;font-size:12px;color:#2b6058}.panel{border:1px solid #e1e8ee;border-radius:14px;background:#fff;padding:20px;margin-bottom:15px;box-shadow:0 2px 8px #14253607}.panel-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.panel h2{font-size:16px;letter-spacing:-.01em;margin:0}.status-badge,.pill{font-size:11px;border-radius:99px;padding:6px 10px;font-weight:650;white-space:nowrap;background:#f1f4f7;color:#63717e}.status-badge[data-state="active"]{background:#e4f5eb;color:#176b42}.status-badge[data-state="error"]{background:#fff0ed;color:#aa3d30}.status-text{font-size:14px;color:#4d6071;margin:0 0 16px;min-height:22px}.actions{display:flex;gap:9px;flex-wrap:wrap}.button{border:0;border-radius:10px;min-height:46px;padding:10px 15px;font:inherit;font-size:14px;font-weight:650;cursor:pointer}.button:disabled{opacity:.42;cursor:not-allowed}.button-primary{background:#1d7066;color:#fff}.button-secondary{background:#edf2f5;color:#29404f}.button-text{background:transparent;color:#1d7066;padding:8px}.hint{font-size:12px;color:#697a87;margin:14px 0 0}.panel-main{padding:20px}.validate-button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;width:100%;min-height:210px;border:0;border-radius:14px;background:#1e7468;color:white;box-shadow:inset 0 -4px 0 #14564d;font:inherit;font-size:31px;letter-spacing:.03em;font-weight:800;cursor:pointer;touch-action:manipulation}.validate-button:active,.validate-button.is-validated{background:#135e53;transform:translateY(1px)}.validate-button small{font-size:12px;font-weight:450;letter-spacing:0;opacity:.85}.validate-icon{font-size:27px;width:48px;height:48px;display:grid;place-items:center;border:2px solid #ffffff9c;border-radius:50%;margin-bottom:4px}.stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.stats>div{display:flex;flex-direction:column;background:#f7f9fa;border-radius:10px;padding:12px 14px}.stat-value{font-size:29px;font-weight:750;font-variant-numeric:tabular-nums}.stat-label{font-size:12px;color:#647583}.last-action{min-height:43px;background:#f0f6f4;border-radius:8px;padding:12px;font-size:13px;color:#315d56}.bottom-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px}.bottom-row label{font-size:12px;color:#61717e}.bottom-row select{font:inherit;font-size:13px;border:1px solid #d9e1e6;border-radius:7px;padding:8px;background:#fff;color:#253b4b}.bottom-row .button{margin-left:auto}.panel-details{padding:17px 20px}.panel-details summary{cursor:pointer;font-size:14px;font-weight:650}.panel-details p{font-size:13px;color:#566875}.panel-details code{font-size:12px}.checkbox-label{display:flex;align-items:flex-start;gap:9px;font-size:13px;line-height:1.5;margin-bottom:13px}.checkbox-label input{margin-top:3px;accent-color:#1d7066}footer{font-size:11px;color:#81909c;line-height:1.5;padding:4px 2px}@media(max-width:440px){.layout{padding:20px 12px 28px}.panel{padding:16px}.validate-button{min-height:190px}.bottom-row .button{margin-left:0}}@media(prefers-reduced-motion:no-preference){.validate-button{transition:background .14s ease,transform .14s ease}}
