:root{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:#10213b;background:#eef3f9}*{box-sizing:border-box}body{margin:0}.top{background:linear-gradient(135deg,#063b73,#0876c9);color:white;padding:18px 20px}.top-inner{max-width:1100px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{font-size:24px;font-weight:900;letter-spacing:.5px}.brand small{font-size:12px;font-weight:600;display:block;opacity:.8}.container{max-width:1100px;margin:28px auto;padding:0 16px}.card{background:white;border-radius:20px;box-shadow:0 8px 28px #17375b1a;border:1px solid #dae4ef;overflow:hidden}.pad{padding:24px}.hero{display:grid;grid-template-columns:1.05fr .95fr}.hero-img{width:100%;height:auto;max-height:650px;object-fit:contain;align-self:start;background:#dde7f3}.hero-copy{padding:36px}.hero-copy h1{font-size:38px;margin:0 0 12px}.muted{color:#64748b}.meta{display:grid;gap:9px;margin:20px 0}.pill{display:inline-flex;border-radius:999px;background:#e6f2ff;color:#075aa5;padding:7px 12px;font-weight:800}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}label{font-weight:750;font-size:14px;display:block;margin-bottom:6px}input,textarea,select{width:100%;border:1px solid #cbd8e6;border-radius:12px;padding:12px;font:inherit;background:white}textarea{min-height:100px;resize:vertical}button,.btn{border:0;border-radius:12px;padding:12px 17px;font-weight:800;cursor:pointer;background:#0876c9;color:#fff;text-decoration:none;display:inline-block}button.secondary,.btn.secondary{background:#e7eef7;color:#17375b}button.danger{background:#b42318}.actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.notice{padding:14px 16px;border-radius:12px;margin:14px 0;background:#eef6ff;border:1px solid #cde3fb}.notice.ok{background:#ecfdf3;border-color:#abefc6}.notice.bad{background:#fef3f2;border-color:#fecdca}.hidden{display:none!important}.qr{width:290px;max-width:82vw;background:white;padding:10px;border-radius:14px}.invite{text-align:center}.invite .event-image{width:100%;height:auto;max-height:650px;object-fit:contain;border-radius:16px;background:#f4f7fb}.places-big{font-size:26px;font-weight:900;margin:20px 0}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.admin-section{background:white;border:1px solid #dae4ef;border-radius:16px;padding:18px}.admin-section h2{margin-top:0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.stat{background:white;border-radius:16px;padding:18px;border:1px solid #dae4ef}.stat strong{font-size:28px;display:block}.table-wrap{overflow:auto;background:white;border-radius:16px;border:1px solid #dae4ef}table{width:100%;border-collapse:collapse;min-width:980px}th,td{padding:10px 12px;border-bottom:1px solid #e5ebf2;text-align:left;font-size:13px}th{background:#f6f8fb;position:sticky;top:0}.status{font-weight:800}.scan-panel{max-width:650px;margin:auto}.scan-result{font-size:18px}.scan-name{font-size:30px;font-weight:900}.scanner{overflow:hidden;border-radius:16px;background:#111}.footer{padding:30px 16px;text-align:center;color:#718096;font-size:13px}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.tab{background:#dfeaf6;color:#17375b}.tab.active{background:#0876c9;color:white}@media(max-width:780px){.hero{grid-template-columns:1fr}.hero-img{height:auto;max-height:500px;object-fit:contain}.hero-copy{padding:22px}.hero-copy h1{font-size:30px}.form-grid,.admin-grid,.stats{grid-template-columns:1fr}.top-inner{align-items:flex-start;flex-direction:column}}
/* BERRY EVENT v1.6 */
.login-card{max-width:480px;margin:auto}.event-switch{margin-bottom:16px}.event-select{max-width:420px}.stats-six{grid-template-columns:repeat(3,1fr)}.stats-help{margin-top:8px}.live-stat{outline:2px solid #b7e4c7}.small{font-size:12px}.checkbox{margin-top:14px}.checkbox input{width:auto}.admin-event-image{width:100%;height:auto;max-height:500px;object-fit:contain;border-radius:12px;background:#f4f7fb;margin-bottom:12px}.full-span{grid-column:1/-1}.email-box{grid-column:1/-1}.grow{flex:1;min-width:220px}.toolbar{margin-top:14px}.search-input{max-width:360px}.compact{padding:8px 10px;font-size:12px}.presence-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px}.presence-number{font-size:20px}.manual-qr{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:12px}.manual-qr img{width:150px;height:150px;background:#fff;padding:6px;border-radius:10px}.scan-live{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}.scan-live span{background:#fff;border:1px solid #dae4ef;border-radius:14px;padding:12px;text-align:center}.scan-live strong{font-size:22px;display:block}.scan-mode{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}.scan-mode button.active{background:#0876c9;color:#fff}.entry-controls{margin-top:18px;padding-top:16px;border-top:1px solid #e5ebf2}.entry-line{display:grid;grid-template-columns:120px 1fr;gap:10px}.entry-line input{font-size:24px;font-weight:900;text-align:center}.quick-qty{margin-top:10px}.scan-next{margin-top:16px}.search-result{display:flex;width:100%;justify-content:space-between;gap:12px;align-items:center;text-align:left;margin:8px 0;background:#e7eef7;color:#17375b}.search-result span{font-size:12px;font-weight:600}.scan-panel .card{margin-bottom:14px}@media(max-width:780px){.stats-six{grid-template-columns:1fr 1fr}.presence-head{align-items:flex-start;flex-direction:column}.entry-line{grid-template-columns:1fr}.scan-mode{grid-template-columns:1fr}.scan-live{grid-template-columns:1fr 1fr}.email-box{grid-column:auto}.full-span{grid-column:auto}}
/* BERRY EVENT v1.7 - participants individuels */
.members-section{margin-top:18px;padding:16px;border:1px solid #dbe6f2;border-radius:14px;background:#f8fbff}.member-card{padding:14px;margin:10px 0;background:#fff;border:1px solid #dbe6f2;border-radius:12px}.member-title{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:8px}.member-entered{font-size:12px;font-weight:800;color:#067647;background:#ecfdf3;padding:4px 8px;border-radius:999px}.member-warning{font-size:12px;font-weight:800;color:#b54708;background:#fffaeb;padding:4px 8px;border-radius:999px}.members-details{margin-top:7px}.members-details summary{cursor:pointer;color:#075aa5;font-weight:700}.member-line{font-size:12px;padding:4px 0}.member-line.is-entered{color:#067647;font-weight:700}.edit-box{margin:16px 0;border:2px solid #9ac9ef}.participant-choices{display:grid;gap:9px;margin:12px 0}.participant-choice{display:flex;gap:12px;align-items:flex-start;border:1px solid #d8e3ee;border-radius:12px;padding:12px;background:#fff;cursor:pointer}.participant-choice input{width:22px;height:22px;margin-top:2px}.participant-choice span{display:grid;gap:3px}.participant-choice small{color:#64748b}.participant-choice.already-entered{background:#f0fdf4;border-color:#bbebcb;cursor:default}.invite-members{max-width:480px;margin:0 auto 18px;text-align:left;background:#f6f9fc;border-radius:12px;padding:12px 16px}.invite-member{padding:5px 0;border-bottom:1px solid #e4eaf1}.invite-member:last-child{border-bottom:0}.invite-member.is-entered{color:#067647;font-weight:700}@media(max-width:780px){.member-card .form-grid{grid-template-columns:1fr}.participant-choice{padding:14px}.participant-choice strong{font-size:17px}}

.override-line{display:block;margin:14px 0;padding:12px 14px;border:1px solid #f1c36d;background:#fff8e8;border-radius:10px;font-weight:600}.override-line input{margin-right:8px}

/* BERRY EVENT v1.11 - profils administrateurs */
.admin-identity{display:inline-flex;align-items:center;border-radius:999px;background:#ffffff22;color:#fff;padding:8px 12px;font-size:12px;font-weight:800}.profile-current{padding:14px;border:1px solid #dbe6f2;background:#f8fbff;border-radius:12px;margin-bottom:18px}.profile-name{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:5px}.owner-badge,.admin-badge{display:inline-flex;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:900;letter-spacing:.3px}.owner-badge{background:#fff1d6;color:#8a5200;border:1px solid #f3c66e}.admin-badge{background:#e8f2ff;color:#075aa5;border:1px solid #b9d9f6}.profiles-list-box{margin-top:18px}.profiles-table{min-width:820px}.profile-on{color:#067647}.profile-off{color:#b42318}@media(max-width:780px){.admin-identity{max-width:100%;white-space:normal}}

.permission-check{display:flex;gap:10px;align-items:flex-start;margin:14px 0;padding:12px 14px;border:1px solid #b9d9f6;background:#f3f8ff;border-radius:12px}.permission-check input{width:20px;height:20px;flex:0 0 auto;margin-top:2px}.permission-check span{display:grid;gap:3px}.permission-check small{font-weight:500;color:#64748b;line-height:1.35}.permission-badge{display:inline-flex;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:900;background:#ecfdf3;color:#067647;border:1px solid #abefc6}.permission-none{color:#64748b;font-size:12px}
