/* Démo interactive du logiciel Ez-Fish (page d'accueil) : tout est isolé sous .ezapp */
.ezapp{--bg:#0f1316; --bar:#0b0e10; --card:#171c1f; --card2:#12171a; --edge:#263035; --edge2:#323d43;
  --tx:#f2f4f3; --mu:#9aa6a1; --dim:#7f8b86;               
  --ac:#30e080; --ac2:#1fb866; --acr:48,224,128; --ink:#06140d;
  --ko:#ff6b6b; --wa:#f5b94a; --zone:#2a8ae0; --cy:#28dcff;
  --r-lg:14px; --r-md:11px; --r-sm:8px;
  --t-fast:.15s; --t-med:.25s;;font-family:'DM Sans',system-ui,sans-serif;color:var(--tx);width:min(100%,460px)}
.ezapp *{box-sizing:border-box;margin:0}
.ezapp svg{stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ezapp button,.ezapp input{font-family:inherit;color:inherit}
.ezapp button{cursor:pointer}
.ezapp :focus-visible{outline:2px solid var(--ac);outline-offset:2px;border-radius:6px}
.ezapp .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ezapp *{transition:none!important;animation:none!important}
.ezapp .win{width:400px;background:var(--bg);border:1px solid var(--edge2);border-radius:var(--r-lg);overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.6)}
.ezapp .sbar{height:38px;display:flex;align-items:center;gap:8px;padding:0 14px;background:var(--bar);border-bottom:1px solid #1d2428;font-size:12.5px;color:var(--mu)}
.ezapp .sbar .dot{width:9px;height:9px;border-radius:50%;background:var(--dim)}
.ezapp .sbar.on .dot{background:var(--ac);box-shadow:0 0 8px var(--ac)}
.ezapp .sbar .sp{flex:1}
.ezapp .hd{display:flex;align-items:center;gap:12px;padding:16px 20px 4px}
.ezapp .logo{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(145deg,var(--ac),var(--ac2));color:var(--ink);box-shadow:0 4px 16px rgba(var(--acr),.3)}
.ezapp .logo svg{width:22px;height:22px}
.ezapp .hd small{display:block;font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--ac);font-weight:700}
.ezapp .hd b{font-size:20px;font-weight:800}
.ezapp .badge{margin-left:auto;padding:5px 12px;border-radius:14px;font-size:12px;font-weight:700;background:#1d2428;border:1px solid var(--edge);color:#d3dbd7;display:flex;align-items:center;gap:6px}
.ezapp .badge.on{background:#123a26;border-color:#287a52;color:var(--ac)}
.ezapp .badge svg{width:11px;height:11px}
.ezapp .tabs{display:flex;gap:4px;margin:12px 20px 0;padding:4px;border-radius:12px;background:#12171a;border:1px solid var(--edge)}
.ezapp .tab{flex:1;height:38px;border-radius:9px;border:1px solid transparent;background:none;color:var(--mu);font:700 12.5px 'DM Sans';display:flex;align-items:center;justify-content:center;gap:7px;transition:background var(--t-fast),color var(--t-fast)}
.ezapp .tab:hover{color:#fff}
.ezapp .tab[aria-selected=true]{background:#16402a;border-color:#2b8558;color:#fff}
.ezapp .st{width:9px;height:9px;border-radius:50%;flex:none}
.ezapp .st.on{background:var(--ac)}
.ezapp .st.off{border:2px solid var(--ko)}
.ezapp .pane{display:none;padding:14px 20px 20px;flex-direction:column;gap:12px}
.ezapp .pane.on{display:flex}
.ezapp .card{background:var(--card);border:1px solid var(--edge);border-radius:var(--r-lg);padding:14px 16px}
.ezapp .lab{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--mu);font-weight:700}
.ezapp .row{display:flex;align-items:center;gap:12px}
.ezapp .row .grow{flex:1;min-width:0}
.ezapp .row b{display:block;font-size:13.5px}
.ezapp .row small{display:block;color:var(--mu);font-size:11.5px;margin-top:2px}
.ezapp .sw{position:relative;width:46px;height:26px;border-radius:13px;border:0;background:#2d3438;flex:none;transition:background var(--t-fast)}
.ezapp .sw::after{content:"";position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;background:#b9c1bd;transition:transform var(--t-fast),background var(--t-fast)}
.ezapp .sw[aria-checked=true]{background:var(--ac)}
.ezapp .sw[aria-checked=true]::after{transform:translateX(20px);background:var(--ink)}
.ezapp .btn{height:40px;padding:0 16px;border-radius:var(--r-sm);border:1px solid var(--edge2);background:#20272b;font:700 12.5px 'DM Sans';display:inline-flex;align-items:center;justify-content:center;gap:7px;transition:filter var(--t-fast)}
.ezapp .btn:hover{filter:brightness(1.2)}
.ezapp .btn.sm{height:34px;font-size:12px}
.ezapp .keycap{min-width:42px;height:30px;padding:0 11px;border-radius:7px;border:1px solid rgba(0,0,0,.2);border-bottom-width:3px;background:#bfe9d1;color:var(--ink);font:800 12.5px 'DM Sans';letter-spacing:.03em}
.ezapp .amber{color:var(--wa);font-size:11px;line-height:1.4}
.ezapp .hint{color:var(--dim);font-size:11px}
.ezapp .go{position:relative;width:100%;height:52px;border-radius:12px;border:0;background:linear-gradient(145deg,var(--ac),var(--ac2));color:var(--ink);font:800 16px 'DM Sans';box-shadow:0 6px 20px rgba(var(--acr),.25);transition:filter var(--t-fast)}
.ezapp .go:hover{filter:brightness(1.08)}
.ezapp .go .kc{position:absolute;right:14px;top:50%;transform:translateY(-50%);min-width:34px;height:25px;padding:0 9px;display:grid;place-items:center;border-radius:6px;font:800 11.5px 'DM Sans';background:rgba(255,255,255,.55);border:1px solid rgba(0,0,0,.18);border-bottom-width:3px}
.ezapp .go.stop{background:#2e1c1e;color:var(--ko);border:1px solid #96484a;box-shadow:none}
.ezapp .go.stop .kc{background:rgba(255,107,107,.18);color:var(--ko)}
.ezapp .hero{display:flex;align-items:center;gap:16px;min-height:118px}
.ezapp .dial{position:relative;width:98px;height:98px;flex:none}
.ezapp .dial svg{width:100%;height:100%;transform:rotate(-90deg)}
.ezapp .dial circle{fill:none;stroke-width:9}
.ezapp .dial .r{stroke:#2e3438}
.ezapp .dial .z{stroke:var(--zone);stroke-linecap:round}
.ezapp .dial .m{stroke:var(--ko);stroke-linecap:round}
.ezapp .dial .k{position:absolute;inset:0;display:grid;place-items:center}
.ezapp .dial .k b{width:38px;height:38px;border-radius:9px;background:#2b2e33;display:grid;place-items:center;font-size:20px;font-weight:800}
.ezapp .pill{display:inline-flex;align-items:center;gap:6px;font-size:10.5px;font-weight:700;padding:4px 10px;border-radius:12px;background:#1d2428;border:1px solid var(--edge);color:#d3dbd7;margin:0 5px 4px 0;white-space:nowrap}
.ezapp .pill.g{background:#123a26;border-color:#287a52;color:var(--ac)}
.ezapp .stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.ezapp .sx{padding:12px;border-radius:var(--r-md);background:var(--card);border:1px solid var(--edge);text-align:center}
.ezapp .sx b{display:block;font-size:20px;font-weight:800}
.ezapp .sx small{font-size:9.5px;letter-spacing:.1em;color:var(--mu);font-weight:700;text-transform:uppercase}
.ezapp .log{display:flex;flex-direction:column;gap:7px;max-height:245px;overflow-y:auto;padding-right:4px}
.ezapp .log::-webkit-scrollbar{width:4px}
.ezapp .log::-webkit-scrollbar-thumb{background:#46505a;border-radius:2px}
.ezapp .lg{flex:none;display:flex;align-items:center;gap:10px;min-height:42px;padding:6px 12px;border-radius:10px;background:#14191c;border:1px solid #1f272b;font-size:12px}
.ezapp .lg .t{flex:none;width:26px;height:26px;border-radius:7px;display:grid;place-items:center;background:#2b2e33;font-weight:800;font-size:12.5px}
.ezapp .lg.ok .t{color:var(--ac)}
.ezapp .lg.ko .t{color:var(--ko)}
.ezapp .lg span{flex:1;color:#d3dbd7}
.ezapp .lg small{color:var(--mu)}
.ezapp .empty{text-align:center;color:var(--dim);font-size:12.5px;padding:14px 0}
.ezapp .sl{display:flex;align-items:center;gap:12px}
.ezapp .sl>span{font-size:12px;color:var(--mu);width:68px}
.ezapp .sl em{font-style:normal;font-weight:700;font-size:12.5px;width:52px;text-align:right}
.ezapp input[type=range]{flex:1;accent-color:#30e080;height:24px}
.ezapp .tl{position:relative;height:40px;margin-top:10px;border-radius:9px;background:#12161a;border:1px solid #1f272b}
.ezapp .tl i{position:absolute;top:6px;bottom:6px;width:2px;background:var(--ac)}
.ezapp .tl span{position:absolute;top:50%;transform:translateY(-50%);font-size:10px;font-weight:700;color:#c3cbc7}
.ezapp .prev{display:flex;gap:14px}
.ezapp .prev canvas{width:150px;height:142px;border-radius:9px;background:#0c1013;border:1.5px solid var(--ac);flex:none}
.ezapp .leg{display:grid;gap:5px;margin-top:8px;font-size:10.5px;color:var(--mu)}
.ezapp .leg i{display:inline-block;width:10px;height:6px;border-radius:3px;margin-right:7px;vertical-align:middle}
.ezapp .found{display:flex;align-items:center;gap:7px;font-size:11.5px;font-weight:700;margin-top:6px}
.ezapp .win{max-width:100%}

.ezapp .win{width:100%;max-width:460px}
.ezapp *{box-sizing:border-box}
.ezapp button{font-family:inherit}
.ezapp .sbar .lic{display:flex;align-items:center;gap:6px;font-weight:600;color:var(--ac);font-size:12px}
.ezapp .sbar .lic svg{width:11px;height:11px}
.ezapp .big{font-size:28px;font-weight:800;line-height:1.1}
.ezapp .meter{height:8px;background:#2e3438;border-radius:4px;margin-top:10px;overflow:hidden}
.ezapp .meter i{display:block;height:100%;background:var(--ac);border-radius:4px}
.ezapp .kv{display:grid;grid-template-columns:auto 1fr;gap:10px 14px;font-size:13px;margin-top:14px}
.ezapp .kv dt{color:var(--mu)}.ezapp .kv dd{font-weight:600;text-align:right;margin:0}
.ezapp .tab{font-size:12px}
.ezapp .btn.pr{background:linear-gradient(145deg,var(--ac),var(--ac2));border-color:transparent;color:var(--ink)}
.ezapp .btn.ko{background:#2e1c1e;color:var(--ko);border-color:#96484a;width:100%}
.ezapp .pane[hidden]{display:none}
@media(prefers-reduced-motion:reduce){.ezapp *{transition:none!important;animation:none!important}}

.ezapp .logo{background:none;box-shadow:none;width:46px;height:46px}.ezapp .logo img{display:block;width:46px;height:46px;object-fit:contain}
.ezapp .tab{white-space:nowrap;font-size:11.5px;padding:0 4px;gap:5px}
.ezapp .tab .sr{display:none}
