:root{--fond:#14110f;--surface:#1f1b18;--surface-2:#2a2521;--bord:#3a332d;--texte:#f4ede6;--discret:#a89c90;--rouge:#ef4434;--vert:#3ecf8e;--ambre:#f5a524;--bleu:#5aa9ff;--rayon:14px;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body{background:var(--fond);color:var(--texte);margin:0}body{-webkit-tap-highlight-color:transparent;font:16px/1.45 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}h1{margin:.2em 0 .6em;font-size:1.5rem}h2{align-items:center;gap:8px;margin:0 0 .6em;font-size:1.1rem;display:flex}h3{margin:1em 0 .4em;font-size:1rem}p{margin:.4em 0}a{color:var(--bleu)}.app{min-height:100dvh;padding-bottom:calc(72px + env(safe-area-inset-bottom))}.page{max-width:560px;padding:calc(16px + env(safe-area-inset-top)) 16px 24px;margin:0 auto}.centre{text-align:center;justify-content:center;align-items:center;min-height:80dvh;display:flex}.centre .carte{text-align:left;width:100%;max-width:420px}.entete{justify-content:space-between;align-items:baseline;display:flex}.discret{color:var(--discret);font-size:.9em}.erreur{color:var(--rouge)}.succes{color:var(--vert)}.logo{font-size:2.5rem}.gros{font-size:2.6rem;font-weight:700;line-height:1}.moyen{font-size:1.4rem;font-weight:600}.droite{text-align:right}.carte{background:var(--surface);border:1px solid var(--bord);border-radius:var(--rayon);margin-bottom:14px;padding:16px}.bandeau{background:var(--surface-2);border-left:4px solid var(--ambre);border-radius:10px;margin-bottom:14px;padding:12px 14px}.btn{background:var(--rouge);color:#fff;width:100%;min-height:48px;font:inherit;cursor:pointer;border:0;border-radius:12px;justify-content:center;align-items:center;margin-top:10px;padding:0 18px;font-weight:600;text-decoration:none;display:inline-flex}.btn:disabled{opacity:.5}.btn.secondaire{background:var(--surface-2);color:var(--texte);border:1px solid var(--bord)}.btn.danger{color:var(--rouge);border:1px solid var(--rouge);background:0 0}.btn.lien{color:var(--discret);background:0 0;width:auto;min-height:0;margin:0;padding:4px;font-weight:400}.boutons{gap:10px;display:flex}.boutons .btn{flex:1}.form label,label{margin:10px 0;display:block}input:not([type=checkbox]):not([type=range]){background:var(--fond);width:100%;color:var(--texte);border:1px solid var(--bord);font:inherit;border-radius:10px;margin-top:4px;padding:12px;display:block}input:focus{outline:2px solid var(--rouge);outline-offset:1px}input[type=range]{width:100%;accent-color:var(--rouge);height:32px}.case{align-items:flex-start;gap:10px;display:flex}.case input{width:20px;height:20px;accent-color:var(--rouge);flex-shrink:0;margin-top:2px}.ligne{align-items:flex-end;gap:10px;display:flex}.ligne>label{flex:1;min-width:0}.liste-vehicules{border:1px solid var(--bord);border-radius:10px;max-height:280px;margin:6px 0;padding:0;list-style:none;overflow-y:auto}.liste-vehicules button{text-align:left;border:0;border-bottom:1px solid var(--bord);width:100%;color:var(--texte);font:inherit;background:0 0;padding:10px 12px}.vehicule-choisi{background:var(--surface-2);border-radius:10px;justify-content:space-between;align-items:center;gap:10px;padding:12px;display:flex}.place-haut{justify-content:space-between;align-items:center;display:flex}.place-haut h2{margin:0}.place.a-moi{border-color:var(--rouge)}.place{flex-direction:column;gap:6px;display:flex}.statut{border-radius:99px;padding:4px 10px;font-size:.8rem;font-weight:700}.s-libre{color:var(--vert);background:#3ecf8e26}.s-charge{color:var(--ambre);background:#f5a52426}.s-pleine{color:var(--bleu);background:#5aa9ff26}.s-oubli{color:var(--rouge);background:#ef443426}.jauge{background:var(--surface-2);border-radius:99px;height:10px;margin:6px 0;position:relative;overflow:hidden}.jauge-rempli{background:linear-gradient(90deg, var(--ambre), var(--vert));border-radius:99px;height:100%;transition:width .6s}.jauge-objectif{background:var(--texte);opacity:.6;width:2px;position:absolute;top:0;bottom:0}.ma-charge{border-color:var(--ambre)}.ma-charge.pleine{border-color:var(--bleu)}.ma-charge-haut{justify-content:space-between;align-items:flex-end;display:flex}.pastille{background:var(--rouge);color:#fff;border-radius:99px;padding:1px 8px;font-size:.75rem}.file{margin:0;padding-left:22px}.file li{padding:4px 0}.file li.moi{color:var(--ambre);font-weight:600}.compte{border-bottom:1px solid var(--bord);justify-content:space-between;align-items:center;gap:10px;padding:10px 0;display:flex}.compte .boutons,.compte>.btn{flex-shrink:0;width:auto}.compte .btn{width:auto;margin:0}.place-admin .btn{width:auto;margin-bottom:10px}.fond-modale{z-index:10;background:#0009;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.modale{background:var(--surface);width:100%;max-width:560px;max-height:90dvh;padding:18px 16px calc(18px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0;overflow-y:auto}.modale-haut{justify-content:space-between;align-items:center;display:flex}.choix{gap:8px;margin:6px 0 12px;display:flex}.choix button{border:1px solid var(--bord);background:var(--surface-2);min-height:44px;color:var(--texte);font:inherit;border-radius:10px;flex:1;font-weight:600}.choix button.actif{background:var(--rouge);border-color:var(--rouge);color:#fff}.estimation{background:var(--surface-2);text-align:center;border-radius:12px;padding:12px}.nav{background:var(--surface);border-top:1px solid var(--bord);padding-bottom:env(safe-area-inset-bottom);display:flex;position:fixed;bottom:0;left:0;right:0}.nav button{height:60px;color:var(--discret);font:inherit;background:0 0;border:0;flex:1;font-weight:600}.nav button.actif{color:var(--rouge)}.palette{flex-wrap:wrap;gap:10px;margin:8px 0 12px;display:flex}.palette button{border:2px solid var(--bord);cursor:pointer;border-radius:50%;width:36px;height:36px}.palette button.actif{outline:3px solid var(--rouge);outline-offset:2px}.parking-plein{top:0;left:0;right:0;bottom:calc(60px + env(safe-area-inset-bottom));z-index:1;background:#0f1117;position:fixed;overflow:hidden}.scene-plein{touch-action:pan-y;-webkit-user-select:none;user-select:none;position:absolute;inset:0}.scene-plein.chargement{color:var(--discret);justify-content:center;align-items:center;display:flex}.scene-canvas{display:block;position:absolute;inset:0}.calque-3d,.calque-2d{pointer-events:none;inset:0;position:absolute!important}.calque-3d>div,.calque-2d>div,.ancre{pointer-events:none}.ancre>*{pointer-events:auto}.hud-titre,.hud-bas,.bulle-toit,.pare-brise,.etiquette-libre,.btn-verre,.hud-erreur,.parking-plein .bandeau{-webkit-backdrop-filter:blur(14px)saturate(140%);background:#1012189e;border:1px solid #ffffff1f}.hud-haut{z-index:3;pointer-events:none;padding:calc(10px + env(safe-area-inset-top)) 12px 0;flex-direction:column;gap:8px;display:flex;position:absolute;top:0;left:0;right:0}.hud-haut>*{pointer-events:auto}.hud-titre{border-radius:16px;justify-content:space-between;align-items:center;padding:10px 12px;display:flex}.hud-nom{letter-spacing:.01em;font-size:1.05rem;font-weight:700}.hud-sous{color:var(--discret);font-size:.8rem}.points{gap:6px;display:flex}.points button{width:34px;height:34px;color:var(--texte);font:inherit;background:0 0;border:1px solid #fff3;border-radius:50%;font-weight:700}.points button.actif{background:var(--rouge);border-color:var(--rouge)}.parking-plein .bandeau{border-left:3px solid var(--ambre);border-radius:14px;margin:0;padding:10px 12px;font-size:.9rem}.parking-plein .bandeau .btn{min-height:40px;margin-top:6px}.hud-erreur{color:#ffb4ab;border-color:#ef443480;border-radius:12px;padding:8px 12px;font-size:.9rem}.hud-bas{z-index:3;border-radius:18px;padding:4px 12px 10px;position:absolute;bottom:12px;left:12px;right:12px}.poignee{width:100%;color:var(--texte);font:inherit;background:0 0;border:0;align-items:center;gap:8px;padding:8px 0;font-weight:600;display:flex}.chevron{color:var(--discret);margin-left:auto}.contenu-file{max-height:30vh;overflow-y:auto}.ligne-file{justify-content:space-between;align-items:center;gap:10px;font-size:.9rem;display:flex}.btn-3d{font:inherit;color:#fff;cursor:pointer;white-space:nowrap;background:linear-gradient(#ff5a47,#d9321f);border:0;border-radius:999px;padding:12px 20px;font-weight:700;box-shadow:0 8px 24px #ef443473,inset 0 1px #ffffff40}.btn-3d.petit{padding:8px 14px;font-size:.9rem}.btn-3d.large{width:100%;margin-top:4px}.btn-verre{color:var(--texte);font:inherit;cursor:pointer;border-radius:999px;padding:8px 14px;font-size:.9rem;font-weight:600}.btn-verre.danger{color:#ffb4ab;border-color:#ef443480}.sol-place{flex-direction:column;align-items:center;gap:8px;transition:opacity .3s;display:flex}.etiquette-libre{color:#7ff0bd;border-radius:999px;padding:4px 10px;font-size:.8rem;font-weight:600}.estompe{opacity:.35}.estompe button{pointer-events:none}.pare-brise{white-space:nowrap;border-radius:10px;flex-direction:column;align-items:center;padding:5px 11px;font-size:12px;line-height:1.3;display:flex}.pare-brise.moi{border-color:#ef4434b3}.pare-brise a{color:#9fd0ff;padding:2px 0;font-weight:700;text-decoration:none}.bulle-toit{border-radius:14px;min-width:190px;padding:9px 12px;transition:opacity .3s}.bulle-ligne{align-items:baseline;gap:8px;display:flex}.bulle-pct{font-size:1.35rem;font-weight:800}.bulle-etat{color:var(--discret);font-size:.82rem}.mini-jauge{background:#ffffff1f;border-radius:99px;height:5px;margin:6px 0 2px;overflow:hidden}.mini-jauge>div{background:linear-gradient(90deg, var(--ambre), var(--vert));border-radius:99px;height:100%}.bulle-toit.pleine .mini-jauge>div{background:var(--bleu)}.bulle-toit.oubli{border-color:#ef443499}.bulle-toit.oubli .mini-jauge>div{background:var(--rouge)}.bulle-actions{justify-content:flex-end;gap:8px;margin-top:8px;display:flex}.ancre-borne{pointer-events:auto}.ecran-borne{box-sizing:border-box;color:#e8fff4;background:radial-gradient(120% 80% at 50% 0,#133826 0%,#07140d 70%);border-radius:10px;flex-direction:column;width:360px;height:480px;padding:18px 20px;font-family:system-ui,-apple-system,Segoe UI,sans-serif;display:flex}.eb-haut{color:#8fd8b5;justify-content:space-between;font-size:13px;font-weight:600;display:flex}.eb-titre{margin:6px 0 10px;font-size:22px;font-weight:800}.eb-label{text-transform:uppercase;letter-spacing:.08em;color:#8fd8b5;margin-top:6px;font-size:12px}.eb-grand{margin:2px 0;font-size:64px;font-weight:800;line-height:1}.eb-grand small{color:#8fd8b5;margin-left:4px;font-size:26px}.eb-range{accent-color:#3ecf8e;width:100%;height:34px}.eb-choix{gap:8px;margin:6px 0;display:flex}.eb-choix button{color:#e8fff4;height:40px;font:inherit;background:#3ecf8e14;border:1px solid #8fd8b559;border-radius:10px;flex:1;font-size:15px;font-weight:700}.eb-choix button.actif{color:#062114;background:#3ecf8e;border-color:#3ecf8e}.eb-estim{text-align:center;color:#bfeed8;margin-top:auto;font-size:14px}.eb-duree{color:#fff;font-size:30px;font-weight:800}.eb-err{color:#ffb4ab}.eb-actions{gap:10px;margin-top:12px;display:flex}.eb-actions button{height:46px;font:inherit;border:0;border-radius:12px;font-size:15px;font-weight:800}.eb-annuler{color:#e8fff4;background:#ffffff14;flex:1}.eb-ok{color:#062114;background:#3ecf8e;flex:2}.eb-ok:disabled{opacity:.4}.parking-plein .bandeau{align-items:center;gap:10px;padding:8px 10px;display:flex}.parking-plein .bandeau p{flex:1;margin:0;font-size:.82rem}.parking-plein .bandeau .btn{white-space:nowrap;width:auto;min-height:34px;margin:0;padding:0 12px;font-size:.85rem}.ecran-borne input.eb-range{accent-color:#3ecf8e}.parking-plein.mode-borne .hud-haut{opacity:0;pointer-events:none;transition:opacity .3s}.parking-plein.mode-borne .hud-haut>*{pointer-events:none}
