*{box-sizing:border-box}body{margin:0;background:#f5f6fa;color:#17182a;font:16px system-ui,-apple-system,sans-serif}main{max-width:620px;margin:24px auto;padding:24px;background:white;border-radius:20px;box-shadow:0 6px 30px #14152a12}header{display:flex;justify-content:space-between;gap:10px;color:#4039b5}header span,.note{color:#73768b;font-size:13px}h1{font-size:26px;margin:28px 0 16px}label{display:block;margin:14px 0}input{width:100%;padding:14px;border:1px solid #cbd0dc;border-radius:10px;margin-top:7px;font-size:16px}button{border:0;border-radius:12px;padding:14px 20px;background:#4542c8;color:white;font-size:16px;font-weight:700;cursor:pointer;margin:10px 0;width:100%}.secondary{background:#e9eaf6;color:#282a4b}a{color:#4542c8}.loyalty{background:linear-gradient(130deg,#b92e70,#752b91);color:white;border-radius:18px;padding:24px;margin:20px 0}.count{font-size:34px;font-weight:800}.dots{display:flex;gap:5px;flex-wrap:wrap;margin:20px 0}.dots span{width:20px;height:20px;border-radius:50%;background:#ffffff60}.dots span.on{background:white}#qrcode{background:white;padding:14px;width:max-content;border-radius:10px;max-width:100%}#qrcode img,#qrcode canvas{max-width:100%}.error{padding:12px;background:#ffe7e7;color:#8b1212;border-radius:8px}.success{padding:12px;background:#e4faea;color:#176b37;border-radius:8px}video{width:100%;max-height:350px;background:#141521;border-radius:14px} @media(max-width:650px){main{margin:0;border-radius:0;min-height:100vh;padding:20px}}
/* v0.3 merchant usability */
.cta-link{display:flex;justify-content:space-between;align-items:center;background:#4542c8;color:#fff;text-decoration:none;padding:19px;border-radius:14px;font-weight:750;font-size:19px}
button:disabled{opacity:.55;cursor:wait}.history{margin-top:28px}.history h2{font-size:19px}.history ul{list-style:none;padding:0;margin:0}.history li{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #e8e8ef}.history time{color:#73768b;font-size:13px;text-align:right}
#stop-camera[hidden],#start-camera[hidden]{display:none}#camera:not([src]){min-height:0}
@media(max-width:650px){h1{font-size:24px}.loyalty{padding:20px}button{min-height:54px}}
/* v0.4 */
.history li span{margin-right:12px}.history time{white-space:nowrap}select{width:100%;padding:14px;border:1px solid #cbd0dc;border-radius:10px;background:white;font-size:16px}.merchant-panel{padding:14px;background:#f5f6fa;border-radius:12px;margin:18px 0}.muted{color:#73768b;font-size:14px}

/* v0.5 : separation des parcours et annuaire restaurant */
.entry-links{display:grid;gap:14px;margin:24px 0}.secondary-link{display:block;text-align:center;padding:16px;border-radius:12px;background:#e9eaf6;color:#282a4b;text-decoration:none;font-weight:700}.client-list{list-style:none;padding:0;margin:12px 0}.client-list li{border-bottom:1px solid #e8e8ef}.client-list a{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;text-decoration:none;color:#17182a}.client-list a span{font-size:13px;color:#73768b;text-align:right}.directory{margin:26px 0}.directory h2{font-size:21px}input[type=search]{appearance:none}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #8c87f0;outline-offset:2px}
/* v0.8 — dashboard statistiques */
.stats-section{margin:26px 0}.stats-section h2{font-size:22px;margin-bottom:8px}.stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 24px}.stat-tile{background:#f5f6fa;border:1px solid #ececf5;border-radius:14px;padding:18px 15px;min-width:0}.stat-tile span{display:block;color:#62667b;font-size:13px;min-height:34px}.stat-tile strong{display:block;font-size:29px;line-height:1.2;margin-top:10px;font-variant-numeric:tabular-nums}.activity-list{padding:0;list-style:none;margin:12px 0}.activity-list li{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #e8e8ef;padding:12px 0}.activity-list li span{min-width:0}.activity-list li small{display:block;color:#73768b;margin-top:4px}.activity-list time{color:#73768b;font-size:12px;white-space:nowrap;text-align:right}@media(max-width:380px){.stat-tile{padding:12px}.stat-tile strong{font-size:24px}.activity-list time{white-space:normal}}

/* v0.8.1 — dashboard lisible et mobile */
.stats-section{margin:28px 0 34px}.stats-section h3{margin:24px 0 12px;font-size:18px}.stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 26px}.stat-tile{display:flex;flex-direction:column;justify-content:space-between;background:#f4f5fb;border:1px solid #e5e7f2;border-radius:14px;padding:18px;min-height:115px}.stat-tile span{font-size:13px;line-height:1.4;color:#64677e;min-height:0}.stat-tile strong{font-size:32px;line-height:1.15;margin-top:12px;color:#222443;font-variant-numeric:tabular-nums}.activity-list{list-style:none;margin:12px 0;padding:0}.activity-list li{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 0;border-bottom:1px solid #e8eaf1}.activity-list li span{display:block;min-width:0;overflow-wrap:anywhere}.activity-list li strong{font-size:14px}.activity-list li small{display:block;margin-top:5px;color:#62677c;font-size:13px}.activity-list time{flex-shrink:0;color:#74778d;font-size:12px;text-align:right;white-space:nowrap}textarea{display:block;width:100%;margin-top:7px;padding:14px;border:1px solid #cbd0dc;border-radius:10px;font:inherit;resize:vertical;min-height:90px}@media(max-width:420px){.stat-tile{padding:14px;min-height:104px}.stat-tile strong{font-size:28px}.activity-list li{align-items:flex-start}.activity-list time{white-space:normal;max-width:115px}}

/* v0.9 branding */
.brand-settings{margin:28px 0;padding-top:6px;border-top:1px solid #e8eaf1}.brand-settings h2{font-size:22px}.brand-settings input[type=color]{height:58px;padding:5px;max-width:150px;cursor:pointer}.brand-settings input[type=file]{padding:12px}.brand-preview img,.join-logo{display:block;max-width:150px;max-height:100px;object-fit:contain;margin:12px 0}.branded-loyalty{background:var(--brand-color,#982b85)}.card-logo{max-width:125px;max-height:85px;object-fit:contain;display:block;margin-bottom:16px}.card-brand{font-weight:750;font-size:19px;margin:0 0 12px}.branded-loyalty h2{margin-top:6px}

/* V0.33 — tableau de bord commerçant : présentation uniquement, sans modifier les règles métier */
body:has(.lf-dashboard-heading){background:#f5f9f9}
main:has(.lf-dashboard-heading){max-width:1050px;padding:clamp(20px,4vw,38px);box-shadow:0 8px 34px #123b3a0c}
.lf-dashboard-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin:14px 0 20px}
.lf-dashboard-heading h1{margin:7px 0 5px;font-size:clamp(25px,3.5vw,34px);letter-spacing:-.04em}
.lf-dashboard-heading .note{margin:0}.lf-eyebrow{font-size:11px;font-weight:800;letter-spacing:.11em;color:#098e87}
.lf-scan-shortcut{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:13px 18px;border-radius:12px;background:#0c9c91;color:#fff;text-decoration:none;font-weight:750}
.lf-scan-shortcut:hover,.lf-actions a:hover{background:#087e77;color:#fff}
.lf-establishment{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#eaf9f6;border:1px solid #d5efea;margin:15px 0}
.lf-establishment-label{display:block;color:#537a75;font-size:12px;margin-bottom:4px}.lf-establishment strong{display:block;color:#153e3a;font-size:17px}.lf-establishment p{margin:0}.lf-establishment a{font-size:13px;color:#087d76;font-weight:700}
main:has(.lf-dashboard-heading) .merchant-nav{background:#edf6f5;gap:6px}
main:has(.lf-dashboard-heading) .merchant-nav a[aria-current="page"]{color:#087d76}
main:has(.lf-dashboard-heading) .stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
main:has(.lf-dashboard-heading) .stat-tile{background:#fff;border:1px solid #dcecea;box-shadow:0 2px 8px #123b3a08}
main:has(.lf-dashboard-heading) .stat-tile strong{color:#103f3a}
.lf-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:24px 0 30px}
.lf-actions a{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:16px 14px;border-radius:12px;background:#eaf9f6;color:#087d76;text-decoration:none;font-weight:700;font-size:14px}
.lf-actions a span{font-size:18px}
@media(max-width:700px){main:has(.lf-dashboard-heading) .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lf-actions{grid-template-columns:1fr}.lf-dashboard-heading{align-items:stretch}.lf-scan-shortcut{width:100%}}
@media(max-width:400px){main:has(.lf-dashboard-heading) .merchant-nav{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V0.34 — espace commerçant responsive. Isolé du parcours client et du scanner. */
body:has(.lf-workspace){background:#f4f8f8;color:#16332f}
main:has(.lf-workspace){max-width:1420px;width:calc(100% - 48px);margin:24px auto;padding:0;background:transparent;box-shadow:none;border-radius:0}
main:has(.lf-workspace)>header{display:none}
.lf-workspace{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:calc(100vh - 48px);background:#fff;border:1px solid #e1eeeb;border-radius:22px;overflow:hidden;box-shadow:0 12px 45px #174a4210}
.lf-sidebar{background:#f8fbfa;border-right:1px solid #e5efed;padding:28px 16px;display:flex;flex-direction:column;gap:12px}
.lf-sidebar-brand{display:flex;align-items:center;gap:12px;padding:4px 12px 28px;color:#123f39;text-decoration:none;font-size:19px;font-weight:750;line-height:1.15}
.lf-sidebar-brand small{display:block;font-size:11px;font-weight:600;color:#75918c;margin-top:5px}
.lf-brand-mark{display:grid;place-items:center;background:#0b9d91;color:white;border-radius:13px;width:40px;height:40px;font-size:25px;flex-shrink:0}
.lf-sidebar-caption{font-size:10px;letter-spacing:.14em;color:#92aaa5;font-weight:800;margin:12px 14px 2px}
.lf-side-links{display:grid;gap:5px}.lf-side-links a{display:flex;align-items:center;gap:13px;padding:14px 13px;color:#526c67;text-decoration:none;border-radius:11px;font-weight:650;font-size:14px}
.lf-side-links a span{font-size:20px;min-width:23px;text-align:center}.lf-side-links a:hover{background:#eaf6f3;color:#0a7f75}.lf-side-links a[aria-current="page"]{background:#e0f6f0;color:#087f74;font-weight:800}
.lf-sidebar-foot{margin-top:auto;font-size:11px;color:#78938e;padding:20px 10px 0;border-top:1px solid #e5efed}.lf-sidebar-dot{display:inline-block;background:#13aa8b;width:8px;height:8px;border-radius:50%;margin-right:5px}
.lf-workspace-main{min-width:0;padding:clamp(24px,3vw,48px)}.lf-mobile-brand{display:none}
main:has(.lf-workspace) .lf-dashboard-heading{margin:0 0 28px;align-items:center}
main:has(.lf-workspace) .lf-dashboard-heading h1{font-size:clamp(28px,3vw,38px);margin:8px 0 10px;color:#183a35}
main:has(.lf-workspace) .lf-dashboard-heading .note{font-size:14px;color:#708b85}
main:has(.lf-workspace) .lf-establishment{padding:19px 22px;margin:0 0 28px;border-radius:15px;background:#f0faf7}
main:has(.lf-workspace) .merchant-nav{display:none}
main:has(.lf-workspace) .stats-section{margin:0}.lf-workspace .stats-section h2{font-size:22px;margin:0 0 5px;color:#183a35}
main:has(.lf-workspace) .stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:22px 0 36px}
main:has(.lf-workspace) .stat-tile{padding:22px;min-height:138px;background:#fff;border:1px solid #e1eeeb;border-radius:16px;box-shadow:0 4px 14px #173f3909}
main:has(.lf-workspace) .stat-tile strong{font-size:clamp(28px,2.5vw,37px);color:#0e8277}
.lf-workspace .lf-section-label{font-size:19px;color:#183a35;margin:0 0 15px}
main:has(.lf-workspace) .lf-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 36px}
main:has(.lf-workspace) .lf-actions a{background:#f5faf9;border:1px solid #e1eeeb;color:#184a43;justify-content:flex-start;padding:19px 14px;gap:12px;min-width:0}
main:has(.lf-workspace) .lf-actions a:hover{background:#e7f6f2;color:#087f74}
.lf-actions a>span:nth-child(2){flex:1;min-width:0}.lf-actions a small{display:block;color:#7c938e;font-size:11px;font-weight:500;margin-top:6px}
.lf-action-icon{display:grid;place-items:center;background:#dff5ef;color:#098a7d;border-radius:11px;width:38px;height:38px;flex-shrink:0;font-size:21px!important}
.lf-activity-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px}.lf-activity-heading h3{margin:0;font-size:20px;color:#183a35}.lf-activity-heading>span{font-size:12px;color:#819791}
.lf-workspace .activity-list{border:1px solid #e1eeeb;border-radius:15px;overflow:hidden;padding:0 20px}.lf-workspace .activity-list li{padding:17px 0}.lf-workspace .activity-list li:last-child{border-bottom:0}
.lf-workspace .lf-logout{margin-top:34px;border-top:1px solid #e6efed;padding-top:12px}.lf-workspace .lf-logout button{width:auto;background:transparent;color:#637d77;font-size:13px;padding:10px 0}
@media(max-width:1100px){main:has(.lf-workspace) .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}main:has(.lf-workspace) .lf-actions{grid-template-columns:1fr}}
@media(max-width:760px){main:has(.lf-workspace){width:100%;margin:0} .lf-workspace{display:block;border:0;border-radius:0;min-height:100vh}.lf-sidebar{padding:0;background:white;border:0}.lf-sidebar-brand,.lf-sidebar-caption,.lf-sidebar-foot{display:none}.lf-side-links{position:sticky;top:0;z-index:5;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:9px 12px;background:white;border-bottom:1px solid #e6efed}.lf-side-links a{display:flex;flex-direction:column;gap:5px;padding:10px 2px;font-size:11px;text-align:center}.lf-side-links a span{font-size:19px}.lf-workspace-main{padding:22px 18px 36px}.lf-mobile-brand{display:flex;justify-content:space-between;align-items:center;color:#087f74;font-weight:800;font-size:15px;margin-bottom:23px}.lf-mobile-brand span{color:#7e9891;font-weight:500;font-size:11px}main:has(.lf-workspace) .lf-dashboard-heading{align-items:stretch;margin-bottom:22px}main:has(.lf-workspace) .lf-dashboard-heading h1{font-size:28px}.lf-scan-shortcut{width:100%}main:has(.lf-workspace) .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}main:has(.lf-workspace) .stat-tile{padding:16px;min-height:110px}.lf-workspace .activity-list{padding:0 14px}}
@media(max-width:360px){.lf-side-links a{font-size:10px}main:has(.lf-workspace) .stats-grid{grid-template-columns:1fr}}

/* V0.35 - Scanner et interface caisse (phase visuelle, session commerçant existante) */
body.lf-cash-page{background:#eff8f6}body.lf-cash-page>main{max-width:780px;margin:20px auto;border:1px solid #d9eae5;border-radius:24px;box-shadow:0 15px 45px #124e4210;padding:28px}body.lf-cash-page>main>header{display:none}
.lf-scan-top{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px}.lf-scan-top h1{color:#173e38;margin:5px 0}.lf-scan-eyebrow{font-size:11px;font-weight:800;letter-spacing:.13em;color:#079a8c}.lf-mode-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;color:#087f73;background:#e0f5ef;border:1px solid #c4e8df;padding:12px 16px;border-radius:12px;font-size:13px;font-weight:750}.lf-mode-link:hover{background:#d2f0e7}
.lf-scan-hint{display:flex;align-items:flex-start;gap:12px;background:#edf9f5;border:1px solid #d5efe7;border-radius:14px;padding:14px 16px;margin:0 0 18px;color:#29574f;font-size:14px;line-height:1.5}.lf-scan-hint strong{color:#087f73}.merchant-tabs button[aria-selected="true"]{background:#099d91;color:#fff}.merchant-tabs button[aria-selected="false"]{background:#eaf3f0;color:#3d625b}#merchant-panel-scan #start-camera{background:#099d91}#merchant-panel-scan video{border-radius:17px;background:#101c1a;width:100%;max-height:60vh;object-fit:cover}body.lf-cash-page .action-submit{background:#099d91}
@media(max-width:650px){body.lf-cash-page>main{margin:0;min-height:100dvh;border:0;border-radius:0;padding:18px 15px 30px}.lf-scan-top{align-items:flex-start;flex-direction:column}.lf-mode-link{width:100%}.merchant-tabs{margin:15px 0}.merchant-tabs button{font-size:14px!important}#merchant-panel-scan video{max-height:48vh}}

/* V0.35.2 — cohérence du résultat de scan et retour rapide en caisse */
.lf-scan-result-header{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 18px}
.lf-scan-result-header .secondary-link{margin:0;color:#007f77;font-weight:700}
.lf-scanned-card{background:linear-gradient(135deg,#087f77,#0a9d91)!important;color:#fff!important;border-radius:18px!important}
.lf-scanned-card h1,.lf-scanned-card .count,.lf-scanned-card p,.lf-scanned-card strong{color:#fff!important}
.lf-next-tip{background:#e6f7f1;color:#146344;border:1px solid #c3e9d8;padding:14px;border-radius:12px;font-weight:600}
.lf-next-customer{background:#099c91!important;color:white!important;text-decoration:none!important;border-radius:12px!important;text-align:center;display:block;padding:16px!important;font-weight:700}

/* V0.77 — guide de démarrage du dashboard commerçant */
.lf-start-guide{margin:22px 0 30px;padding:23px;border:1px solid #dcece8;border-radius:18px;background:linear-gradient(135deg,#f3fbf9,#fff)}
.lf-start-head{display:flex;align-items:start;justify-content:space-between;gap:18px}.lf-start-eyebrow{font-size:11px;letter-spacing:.14em;color:#008e83;font-weight:800}.lf-start-head h2{font-size:23px;margin:7px 0 6px;color:#173c36}.lf-start-head p{margin:0;color:#607c76;font-size:14px}.lf-start-count{white-space:nowrap;background:#e0f6ef;border-radius:20px;color:#087c6e;padding:8px 13px;font-size:13px}.lf-start-track{height:8px;border-radius:20px;background:#e0eae7;overflow:hidden;margin:19px 0}.lf-start-track span{display:block;height:100%;border-radius:20px;background:#079b8f;transition:width .2s}.lf-start-items{display:grid;gap:9px}.lf-start-item{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:11px;background:white;border:1px solid #e2eeeb;border-radius:12px;padding:13px}.lf-start-check{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#f1f3f4;color:#81928e;font-size:18px}.lf-start-item.is-done .lf-start-check{background:#d7f4e5;color:#0b8054}.lf-start-item strong{display:block;color:#1c3d37;font-size:14px}.lf-start-item small{display:block;color:#6b817c;font-size:12px;margin-top:3px}.lf-start-item a{font-size:12px;color:#07877c;font-weight:750;text-decoration:none;text-align:right}.lf-start-item a:hover{text-decoration:underline}.lf-start-complete{margin:16px 0 0;color:#0a7854;font-weight:700;font-size:13px}@media(max-width:650px){.lf-start-guide{padding:15px}.lf-start-head{flex-direction:column;gap:10px}.lf-start-item{grid-template-columns:29px minmax(0,1fr)}.lf-start-item a{grid-column:2;text-align:left}}

/* V0.78 — analyses de l'activité, réservées à la vue commerçant */
.lf-insights{margin:28px 0 30px}.lf-insights-heading{margin-bottom:17px}.lf-insights-heading h2{margin:6px 0;color:#173c36;font-size:23px}.lf-insights-heading p{color:#70837f;margin:0;font-size:13px}.lf-insights-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:15px}.lf-insights-panel{border:1px solid #dfebe8;border-radius:16px;background:#fff;padding:21px;min-width:0}.lf-insights-panel-head{display:flex;justify-content:space-between;align-items:start;gap:10px}.lf-insights-panel-head h3{font-size:16px;color:#173c36;margin:0}.lf-insights-panel-head>span{font-size:11px;color:#7b8d89;white-space:nowrap}.lf-insights-compare{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px;margin-top:19px}.lf-insights-compare strong{font-size:29px;color:#078b7e}.lf-insights-compare strong small{font-size:12px;font-weight:500;color:#687e79}.lf-insights-delta{font-size:12px;color:#657d76}.lf-insights-chart{display:flex;align-items:end;gap:3px;height:125px;border-bottom:1px solid #d9e7e3;padding-top:14px;margin-top:14px}.lf-insights-day{flex:1;min-width:0;height:100%;display:flex;align-items:end}.lf-insights-bar{display:block;width:100%;background:#079c8e;border-radius:3px 3px 0 0;min-height:0}.lf-insights-bar.is-negative{background:#e6a053}.lf-insights-axis{display:flex;justify-content:space-between;color:#7a8e89;font-size:11px;margin-top:8px}.lf-insights-footnote{color:#81918d;font-size:11px;line-height:1.5;margin:12px 0 0}.lf-insights-empty{padding:38px 5px;text-align:center;color:#738681;font-size:13px}.lf-insights-rewards{list-style:none;padding:0;margin:22px 0 0;display:grid;gap:17px}.lf-insights-rewards li>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:12px}.lf-insights-rewards strong{color:#203f39;overflow-wrap:anywhere}.lf-insights-rewards li span{color:#738681;white-space:nowrap}.lf-insights-reward-track{height:7px;border-radius:9px;background:#edf3f1;margin-top:9px;overflow:hidden}.lf-insights-reward-track span{display:block;height:100%;background:#0a9b8e;border-radius:9px}@media(max-width:850px){.lf-insights-grid{grid-template-columns:1fr}}@media(max-width:480px){.lf-insights-panel{padding:15px}.lf-insights-panel-head{flex-wrap:wrap}}

/* V0.79 — échelle explicite, axe zéro et état vide des analyses */
.lf-insights-chart-v2{margin-top:20px}.lf-insights-plot{position:relative;height:165px;padding-left:29px}.lf-insights-columns{position:absolute;inset:0 0 0 29px;display:flex;gap:3px;z-index:2}.lf-insights-column{position:relative;flex:1;min-width:0;outline-offset:2px;cursor:help}.lf-insights-column:focus-visible{outline:2px solid #0b9c8e;border-radius:3px}.lf-insights-column-bar{position:absolute;left:0;right:0;background:#0a9e91;border-radius:3px 3px 0 0;min-height:0}.lf-insights-column-bar.is-negative{background:#e9a34d;border-radius:0 0 3px 3px}.lf-insights-gridline{position:absolute;left:29px;right:0;height:1px;border-top:1px dashed #e4eeeb;z-index:1}.lf-insights-gridline-top{top:0}.lf-insights-gridline-zero{border-top:1px solid #aabeb8}.lf-insights-y-label{position:absolute;left:0;color:#83928f;font-size:10px;line-height:1;transform:translateY(-50%)}.lf-insights-y-top{top:0;transform:none}.lf-insights-y-bottom{bottom:0;transform:none}.lf-insights-axis{margin-left:29px}.lf-insights-empty-chart{display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;min-height:165px;background:linear-gradient(180deg,#fbfdfc,#f5faf8);border:1px dashed #dceae5;border-radius:12px;margin-top:18px;padding:18px}.lf-insights-empty-chart>span{font-size:25px;color:#b0c9c2}.lf-insights-empty-chart strong{font-size:13px;color:#315d53}.lf-insights-empty-chart small{font-size:11px;color:#82938e}@media(max-width:480px){.lf-insights-plot{height:145px}.lf-insights-columns{gap:2px}.lf-insights-panel-head>span{white-space:normal}}

/* V0.80 — analyses filtrables et lecture des résultats */
.lf-insights-heading{display:flex;justify-content:space-between;align-items:end;gap:15px;flex-wrap:wrap}.lf-insights-filter{display:flex;align-items:center;gap:9px;margin:0}.lf-insights-filter label{font-size:12px;font-weight:700;color:#536f68}.lf-insights-filter select{width:auto;min-width:110px;margin:0;padding:9px 30px 9px 12px;border-radius:10px;border:1px solid #cfe5df;background:white;color:#19433a;font-size:13px}.lf-insights-filter button{padding:9px 12px}.lf-reward-coverage{margin:14px 0 0;font-size:12px;color:#607d76}.lf-reward-coverage-note{line-height:1.55;border-top:1px solid #e7efec;padding-top:12px}.lf-event-type{font-weight:650}.lf-event-stamp{color:#0a806a!important}.lf-event-undo_stamp{color:#a66920!important}.lf-event-redeem{color:#6652a0!important}@media(max-width:480px){.lf-insights-heading{align-items:stretch}.lf-insights-filter{justify-content:flex-start}.lf-insights-rewards li>div:first-child{flex-wrap:wrap}.lf-insights-rewards li span{white-space:normal}}
