@font-face{font-family:"Inter";src:url(/fonts/inter-latin-wght-normal.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:"Plus Jakarta Sans";src:url(/fonts/plus-jakarta-sans-latin-wght-normal.woff2) format("woff2");font-weight:200 800;font-style:normal;font-display:swap}
:root{--bg:#f5f7fa;--card:#fff;--line:#e3e8ef;--txt:#0c1b33;--mut:#687385;--acc:#0b57d0;--acc2:#083b8f;--soft:#e8f0fe;--warn:#9a6400;--bad:#c5221f;--ok:#0a7d4f}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--txt);font:16px/1.5 "Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;font-feature-settings:"cv11","ss01"}
.wrap{max-width:560px;margin:0 auto;padding:0 16px 70px}
.wide{max-width:860px}
header{display:flex;justify-content:space-between;align-items:center;padding:16px 0 14px}
h1{font-size:21px;margin:0;font-weight:800;letter-spacing:-.4px;color:var(--acc2);display:flex;align-items:center;gap:8px}
h1:before{content:"";width:26px;height:26px;border-radius:8px;background:var(--acc);box-shadow:inset -7px -7px 0 var(--acc2)}
h1 span{color:inherit;margin-left:-8px}
h2{font-size:17px;margin:0 0 10px;font-weight:700;letter-spacing:-.2px}
p{margin:8px 0}
.card{background:var(--card);border-radius:18px;padding:20px;margin-bottom:14px;box-shadow:0 1px 2px rgba(12,27,51,.06),0 4px 14px rgba(12,27,51,.05)}
.hero{background:linear-gradient(135deg,var(--acc2),var(--acc));color:#fff;border-radius:20px;padding:22px;margin-bottom:14px;box-shadow:0 8px 22px rgba(11,87,208,.25)}
.hero small{display:block;opacity:.85;font-size:14px}.hero b{display:block;font-size:34px;font-weight:800;letter-spacing:-1px;margin:2px 0 6px}
label{display:block;font-size:13px;font-weight:600;color:var(--mut);margin:14px 0 6px}
input,select{width:100%;padding:14px;border-radius:12px;border:1.5px solid var(--line);background:#fff;color:var(--txt);font-size:16px;font-family:inherit}
input:focus,select:focus{outline:0;border-color:var(--acc);box-shadow:0 0 0 3px var(--soft)}
button{white-space:nowrap;flex-shrink:0;padding:13px 22px;border-radius:999px;border:0;background:var(--acc);color:#fff;font-weight:700;font-size:15px;cursor:pointer;font-family:inherit}
button:active{background:var(--acc2)}button:disabled{opacity:.5}
button.full{width:100%;margin-top:16px;padding:15px}
button.ghost{background:#fff;color:var(--acc);border:1.5px solid var(--acc);font-weight:700}
button.sm{padding:8px 14px;font-size:13px}
button.bad{background:#fff;color:var(--bad);border:1.5px solid #f0c4c2}button.warn{background:#fff3d6;color:var(--warn)}
.row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.tabs{display:flex;gap:4px;margin-bottom:16px;overflow-x:auto;background:#e9edf3;border-radius:999px;padding:4px}
.tabs button{background:transparent;color:var(--mut);font-weight:600;padding:10px 16px;flex:1}
.tabs button.on{background:#fff;color:var(--acc2);box-shadow:0 1px 3px rgba(12,27,51,.12)}
.mut{color:var(--mut);font-size:13.5px}
.msg{padding:12px 14px;border-radius:12px;margin-top:12px;font-size:14px;display:none}
.msg.err{display:block;background:#fdecea;color:var(--bad)}.msg.ok{display:block;background:#e6f4ed;color:var(--ok)}
.badge{display:inline-block;padding:3px 10px;border-radius:99px;font-size:12px;font-weight:700}
.b-pending{background:#fff3d6;color:var(--warn)}.b-received{background:var(--soft);color:var(--acc2)}.b-paid,.b-approved,.b-ok{background:#e6f4ed;color:var(--ok)}.b-rejected,.b-blocked,.b-echec{background:#fdecea;color:var(--bad)}
.item{border-top:1px solid var(--line);padding:14px 0}.item:first-of-type{border-top:0;padding-top:4px}.item:last-child{padding-bottom:0}
.big{font-size:24px;font-weight:800;letter-spacing:-.5px;margin-top:6px}
.secret{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:15px;background:var(--bg);border-radius:12px;padding:10px 10px 10px 14px;margin-top:8px;display:flex;justify-content:space-between;align-items:center;gap:8px;word-break:break-all}
.code{font-size:34px;letter-spacing:8px;font-weight:800;color:var(--acc2);text-align:center;padding:12px;background:var(--soft);border-radius:14px;margin-top:8px}.code:empty{display:none}
.hide{display:none!important}
.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:16px}
.stat{background:var(--card);border-radius:16px;padding:14px 16px;box-shadow:0 1px 2px rgba(12,27,51,.06)}.stat b{display:block;font-size:22px;font-weight:800}
.stat:first-child{grid-column:1/-1;background:linear-gradient(135deg,var(--acc2),var(--acc));color:#fff;padding:22px;border-radius:20px;box-shadow:0 8px 22px rgba(11,87,208,.25)}.stat:first-child b{font-size:34px;letter-spacing:-1px}.stat:first-child .mut{color:#fff;opacity:.85;font-size:14px}
hr{border:0;border-top:1px solid var(--line);margin:18px 0}
img.shot{max-width:100%;border-radius:12px;margin-top:12px;border:1px solid var(--line)}
table{width:100%;border-collapse:collapse;font-size:13px}td,th{text-align:left;padding:8px 4px;border-top:1px solid var(--line);vertical-align:top}tr:first-child td{border-top:0}
@media(min-width:700px){.grid{grid-template-columns:repeat(4,1fr)}}
textarea{width:100%;height:190px;margin-top:8px;padding:12px;border-radius:12px;border:1.5px solid var(--line);background:var(--bg);color:var(--txt);font:12px/1.4 ui-monospace,Menlo,monospace}
.drop{display:flex;flex-direction:column;align-items:center;gap:6px;margin:0;padding:24px 14px;border:2px dashed #b4c3da;border-radius:16px;background:var(--bg);cursor:pointer;text-align:center;color:var(--txt);font-size:15px;font-weight:400}
.drop svg{width:44px;height:44px;color:var(--acc)}.drop b{font-weight:700;color:var(--acc2)}.drop .mut{word-break:break-all}
.drop.ok{border-style:solid;border-color:var(--ok);background:#e6f4ed}.drop.ok b{color:var(--ok)}
.drop img{max-height:170px;max-width:100%;border-radius:10px;box-shadow:0 2px 8px rgba(12,27,51,.15)}
input.file{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.avatar{width:40px;height:40px;border-radius:50%;background:var(--soft) center/cover no-repeat;color:var(--acc2);font-weight:800;font-size:15px;padding:0;display:inline-flex;align-items:center;justify-content:center;border:2px solid #fff;box-shadow:0 1px 4px rgba(12,27,51,.22);flex-shrink:0}
.avatar.big{width:96px;height:96px;font-size:32px;border-width:3px}
.prof{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px}
.link{color:var(--acc);font-weight:700;font-size:14px;cursor:pointer;margin:6px 0 8px}
.kv{width:100%;margin-top:14px}.kv div{display:flex;justify-content:space-between;align-items:center;padding:11px 0;border-top:1px solid var(--line);font-size:14.5px}
.pick{cursor:pointer;position:relative;margin:0}.pick:after{content:"";position:absolute;right:-2px;bottom:-2px;width:30px;height:30px;border-radius:50%;border:2px solid #fff;background:var(--acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-2.5h6L17 8h3v11H4z'/%3E%3Ccircle cx='12' cy='13' r='3.2'/%3E%3C/svg%3E") center/17px no-repeat}
#rAv:not(.has){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230b57d0' opacity='.55'%3E%3Ccircle cx='12' cy='9' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7z'/%3E%3C/svg%3E");background-size:62%}
.ask{margin-top:14px;padding:16px;border-radius:14px;background:#e6f4ed;border:1.5px solid #b7dfca}.ask b{color:var(--ok)}.ask p{margin:4px 0 12px}
.bnav{position:fixed;left:0;right:0;bottom:0;z-index:20;display:flex;justify-content:center;gap:6px;padding:6px 12px calc(6px + env(safe-area-inset-bottom));background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-top:1px solid var(--line)}
.bnav button{flex:1;max-width:220px;display:flex;flex-direction:column;align-items:center;gap:2px;background:transparent;color:var(--mut);font-size:12px;font-weight:600;padding:6px 8px;border-radius:12px}
.bnav button svg{width:24px;height:24px}.bnav button.on{color:var(--acc);background:var(--soft)}
#app{padding-bottom:64px}
table th{text-align:left;font-weight:600;padding:6px 4px}
.inst{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.inst img{border-radius:12px}.inst div:nth-child(2){flex:1;min-width:120px}.inst p{margin:0}

/* ---------- Design v2 ---------- */
h1,h2,.big,.hero b,.stat b,button,.badge,.code,.tx-amt b,.welcome h2,.modal h3,.kv b{font-family:"Plus Jakarta Sans","Inter",sans-serif}
.big,.hero b,.stat b,.tx-amt b,.kv b,td{font-variant-numeric:tabular-nums}
h2{font-size:17.5px;font-weight:700;letter-spacing:-.3px}
button{font-weight:700;letter-spacing:-.1px;transition:transform .08s ease,background .15s ease,box-shadow .15s ease}
button:active{transform:scale(.97)}
button:not(.ghost):not(.bad):not(.avatar):not(.warn){box-shadow:0 2px 8px rgba(11,87,208,.22)}
.tabs button,.bnav button{box-shadow:none!important}
.card{border:1px solid rgba(12,27,51,.04);animation:rise .28s ease both}
@keyframes rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.card,.toast,.modal>div{animation:none!important}}
.hero{position:relative;overflow:hidden}.hero:after{content:"";position:absolute;right:-50px;top:-60px;width:190px;height:190px;border-radius:50%;background:rgba(255,255,255,.09);box-shadow:-70px 110px 0 10px rgba(255,255,255,.06)}
.hero small:first-child{text-transform:uppercase;letter-spacing:.8px;font-size:12px;font-weight:600}
.stat:first-child{position:relative;overflow:hidden}
h2.ico{display:flex;align-items:center;gap:10px}
h2.ico:before{content:"";width:34px;height:34px;border-radius:11px;background:var(--soft) center/19px no-repeat;flex-shrink:0}
h2.i-link:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b57d0' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 14a4 4 0 0 0 5.7 0l3-3a4 4 0 0 0-5.7-5.7l-1 1'/%3E%3Cpath d='M14 10a4 4 0 0 0-5.7 0l-3 3a4 4 0 0 0 5.7 5.7l1-1'/%3E%3C/svg%3E")}
h2.i-send:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b57d0' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5'/%3E%3Cpath d='M6 11l6-6 6 6'/%3E%3C/svg%3E")}
h2.i-list:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b57d0' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6h11M9 12h11M9 18h11'/%3E%3Cpath d='M4 6h.01M4 12h.01M4 18h.01'/%3E%3C/svg%3E")}
h2.i-user:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b57d0' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8.5' r='3.8'/%3E%3Cpath d='M4.500 20c.6-3.8 3.7-6 7.500-6s6.900 2.200 7.500 6'/%3E%3C/svg%3E")}
h2.i-wallet:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b57d0' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='18' height='13' rx='3'/%3E%3Cpath d='M3 10.500h18'/%3E%3Cpath d='M16.500 15h.01'/%3E%3C/svg%3E")}
h2.i-lock:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b57d0' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='9' rx='2.500'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E")}
h2.i-gear:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b57d0' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 3v3M12 18v3M3 12h3M18 12h3M5.600 5.600l2.100 2.100M16.300 16.300l2.100 2.100M5.600 18.400l2.100-2.100M16.300 7.700l2.100-2.100'/%3E%3C/svg%3E")}
h2.i-bell:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b57d0' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 16V11a6 6 0 0 1 12 0v5l1.500 2H4.500z'/%3E%3Cpath d='M10 20a2 2 0 0 0 4 0'/%3E%3C/svg%3E")}
h2.i-chart:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b57d0' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-7M21 20H3'/%3E%3C/svg%3E")}
h2.i-mail:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b57d0' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Cpath d='M4 8l8 5 8-5'/%3E%3C/svg%3E")}

/* Écran de connexion */
body.guest{background:linear-gradient(165deg,#062e73 0%,#0b57d0 58%,#3d8bff 100%) fixed;min-height:100vh}
body.guest header{display:none}
.welcome{display:none;text-align:center;color:#fff;padding:44px 0 24px}
body.guest .welcome{display:block}
.welcome img{width:76px;height:76px;border-radius:22px;box-shadow:0 10px 30px rgba(0,0,0,.28)}
.welcome h2{font-size:27px;font-weight:800;letter-spacing:-.6px;margin:16px 0 4px;color:#fff}
.welcome p{margin:0;opacity:.86;font-size:15px}
body.guest .tabs{background:rgba(255,255,255,.16)}body.guest .tabs button{color:#fff}body.guest .tabs button.on{color:var(--acc2)}
body.guest .card{box-shadow:0 12px 34px rgba(3,20,60,.28)}
/* Liste des retraits façon relevé */
.tx{display:flex;align-items:center;gap:12px}
.tx-ic{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#fff}
.tx-ic svg{width:21px;height:21px}
.s-pending{background:#f0a31c}.s-received{background:var(--acc)}.s-paid{background:#12a06a}.s-rejected{background:#d6453f}
.tx-mid{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.tx-mid b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tx-mid .badge{align-self:flex-start;margin-top:3px}
.tx-amt{text-align:right;display:flex;flex-direction:column;gap:1px}.tx-amt b{font-size:16px;font-weight:800}
.tx-note{margin-top:8px;padding-left:54px}
/* Bouton en cours */
button.busy{position:relative;color:transparent!important;pointer-events:none}
button.busy:after{content:"";position:absolute;left:50%;top:50%;width:18px;height:18px;margin:-9px 0 0 -9px;border-radius:50%;border:2.5px solid rgba(255,255,255,.45);border-top-color:#fff;animation:spin .7s linear infinite}
button.ghost.busy:after,button.bad.busy:after{border-color:rgba(11,87,208,.25);border-top-color:var(--acc)}
@keyframes spin{to{transform:rotate(360deg)}}
/* Messages qui glissent */
.toast{position:fixed;left:50%;bottom:84px;transform:translateX(-50%);z-index:60;max-width:calc(100% - 32px);padding:13px 18px;border-radius:14px;background:#0c1b33;color:#fff;font-size:14.5px;font-weight:500;box-shadow:0 10px 30px rgba(12,27,51,.35);animation:toast .3s ease both}
.toast.err{background:#b3261e}
@keyframes toast{from{opacity:0;transform:translate(-50%,14px)}to{opacity:1;transform:translate(-50%,0)}}
/* Fenêtres de l'espace de gestion */
.modal{position:fixed;inset:0;z-index:70;background:rgba(8,20,45,.55);display:flex;align-items:flex-end;justify-content:center;padding:16px;backdrop-filter:blur(3px)}
.modal>div{background:#fff;border-radius:22px;padding:22px;width:100%;max-width:440px;animation:rise .22s ease both;box-shadow:0 20px 60px rgba(0,0,0,.3)}
.modal h3{margin:0 0 6px;font-size:18px;letter-spacing:-.3px}.modal p{margin:0 0 12px;color:var(--mut);font-size:14.5px}
.modal .row{margin-top:16px;justify-content:flex-end}.modal .row button{flex:1}
@media(min-width:600px){.modal{align-items:center}}
.row button.pay{flex-basis:100%;padding:13px;font-size:15px}
input,select{transition:border-color .15s ease,box-shadow .15s ease}

/* ---------- v3 : notifications, accès PayPal, navigation ---------- */
.hright{display:flex;align-items:center;gap:10px}
.bell{position:relative;width:40px;height:40px;padding:0;border-radius:50%;background:#fff;color:var(--acc2);box-shadow:0 1px 4px rgba(12,27,51,.18)!important;display:inline-flex;align-items:center;justify-content:center}
.bell svg{width:21px;height:21px}
.bell i,.bnav button i{position:absolute;top:-3px;right:-3px;min-width:19px;height:19px;padding:0 5px;border-radius:99px;background:#e0342c;color:#fff;font:700 11px/19px "Inter",sans-serif;font-style:normal;text-align:center;border:2px solid #fff;box-sizing:content-box}
.notif{font-size:14.5px}.notif.new{font-weight:600}.notif.new:before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--acc);margin-right:8px}.notif .mut{display:block;margin-top:2px;font-weight:400}
.ask.info{background:#eef4ff;border-color:#c9dbfb;margin:0 0 4px}.ask.info b{color:var(--acc2)}
.steps{background:var(--bg);border-radius:12px;padding:12px 14px;font-size:14px;margin-bottom:12px}.steps ol{margin:6px 0 0;padding-left:20px}.steps li{margin:4px 0}
.ackform{margin-top:10px}.ackform textarea{font:15px/1.4 "Inter",sans-serif;height:74px;background:#fff;margin:0}
input[type=search]{-webkit-appearance:none;appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23687385' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.500'/%3E%3Cpath d='M16 16l4.500 4.500'/%3E%3C/svg%3E") 14px center/18px no-repeat;padding-left:42px}
.bnav button{position:relative}
.bnav.six{gap:2px;padding-left:6px;padding-right:6px}.bnav.six button{max-width:none;font-size:10.5px;padding:6px 2px;letter-spacing:-.2px}.bnav.six button svg{width:22px;height:22px}
.bnav button i{top:1px;right:auto;left:calc(50% + 5px);min-width:17px;height:17px;line-height:17px;font-size:10.5px;padding:0 4px}
#app{padding-bottom:76px}
.wide #stats{margin-top:2px}

/* ---------- v4 : accueil allégé ---------- */
body:not(.guest) #inst{display:none!important}
.tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px}
.tile{display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-align:left;white-space:normal;background:#fff;color:var(--txt);border-radius:18px;padding:16px;border:1px solid rgba(12,27,51,.05);box-shadow:0 1px 2px rgba(12,27,51,.06),0 4px 14px rgba(12,27,51,.05)!important;font-weight:400}
.tile b{font-size:15.5px;font-weight:700;letter-spacing:-.2px;line-height:1.25}
.tile-s{font:400 12.5px/1.35 "Inter",sans-serif;color:var(--mut)}
.tile-ic{width:42px;height:42px;border-radius:13px;background:var(--soft);color:var(--acc);display:flex;align-items:center;justify-content:center;margin-bottom:8px}
.tile-ic svg{width:22px;height:22px}
.tile.main{background:linear-gradient(135deg,var(--acc2),var(--acc));color:#fff;box-shadow:0 8px 20px rgba(11,87,208,.28)!important}
.tile.main .tile-s{color:rgba(255,255,255,.85)}.tile.main .tile-ic{background:rgba(255,255,255,.18);color:#fff}
.back{display:inline-flex;align-items:center;gap:4px;background:transparent;color:var(--acc2);box-shadow:none!important;padding:6px 10px 6px 2px;margin:0 0 8px;font-size:15px}
.back svg{width:20px;height:20px}
.fold{margin-top:16px;border-top:1px solid var(--line);padding-top:12px}
.fold summary{cursor:pointer;font:600 14.5px "Inter",sans-serif;color:var(--acc2);list-style:none}
.fold summary:after{content:" ›";font-weight:700}.fold[open] summary:after{content:" ⌄"}
.fold summary::-webkit-details-marker{display:none}

/* ---------- v5 : espace de gestion allégé ---------- */
#stats{display:block}#stats .stat{padding:18px 20px}#stats .stat b{font-size:30px}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 2px}
.chip{background:#fff;color:var(--txt);font:600 13px "Inter",sans-serif;padding:8px 12px;border-radius:99px;border:1px solid var(--line);box-shadow:none!important}
.chip.warn{background:#fdecea;color:var(--bad);border-color:#f3c9c6}.chip.act{background:var(--soft);color:var(--acc2);border-color:#c9dbfb}
details.fold-card{padding:0;animation:none}
details.fold-card>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;padding:14px 16px}
details.fold-card>summary::-webkit-details-marker{display:none}
details.fold-card>summary:after{content:"";width:9px;height:9px;border-right:2px solid var(--mut);border-bottom:2px solid var(--mut);transform:rotate(-45deg);flex-shrink:0;transition:transform .15s ease;margin-left:2px}
details.fold-card[open]>summary:after{transform:rotate(45deg)}
details.fold-card[open]>summary{border-bottom:1px solid var(--line);margin-bottom:12px}
details.fold-card>:not(summary){margin-left:16px;margin-right:16px}
details.fold-card>:last-child{margin-bottom:16px}
details.fold-card>summary h2{margin:0;flex:1;font-size:16px}
.sum-l{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.sum-l b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sum-l .mut{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12.5px}
.sum-r{display:flex;flex-direction:column;align-items:flex-end;gap:3px;flex-shrink:0}.sum-r b{font:800 15px "Plus Jakarta Sans",sans-serif;font-variant-numeric:tabular-nums}
.wide .card{margin-bottom:10px}

/* ---------- v6 : mot de passe oublié ---------- */
.linkbtn{display:block;margin:14px auto 0;background:transparent;color:var(--acc);box-shadow:none!important;padding:6px 10px;font-size:14.5px}
.btnlink{display:block;text-align:center;margin-top:14px;padding:14px;border-radius:999px;background:#1fa855;color:#fff;font:700 15px "Plus Jakarta Sans",sans-serif;text-decoration:none}
.modal .code{margin:6px 0 4px}
