:root{--bg:#F4F1EA;--txt:#141414;--mut:#6B6760;--tx2:#3D3A35;--line:#ECE6D8;--soft:#EFEAE0;--brd:#D9D1BF;--ok:#257A4B;--okbg:#EAF4EC;--warn:#B8621B;--wbg:#FBEDE3;--wbd:#E8C3A8;--gold:#946A1C;--gbg:#FBF3E2;--gbd:#E3CC97;--bm:#24345C;--cir:#2F6B4F}
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);color:var(--txt);font-family:Inter,system-ui,sans-serif;font-size:15px;line-height:1.4;-webkit-text-size-adjust:100%}
a{color:var(--gold);text-decoration:none}
.app{max-width:560px;margin:0 auto;padding:0 0 40px;min-height:100vh}
.app.wide{max-width:1180px}
.top{display:flex;justify-content:space-between;align-items:center;padding:16px 20px 6px;min-height:56px}
.brand{font-family:'Inter Tight',Inter,sans-serif;font-weight:700;color:var(--txt);font-size:16px}
.back{color:var(--mut);font-size:14px;padding:8px 0}
.topnav{display:flex;gap:14px;align-items:center}.topnav a{color:var(--txt);font-size:20px;padding:6px}
.wrap{padding:6px 20px;display:flex;flex-direction:column;gap:12px}
h1,.h1{font-family:'Inter Tight',Inter,sans-serif;font-weight:700;letter-spacing:-.02em;font-size:32px;line-height:1.05;margin:4px 0 0}
h2{font-family:'Inter Tight',Inter,sans-serif;font-size:20px;margin:6px 0 0;letter-spacing:-.01em}
.sub{margin:0;color:var(--mut);font-size:13px}
.lbl,.label{font-size:11px;font-weight:700;letter-spacing:1.5px;color:var(--mut);text-transform:uppercase}
.card{background:#fff;box-shadow:0 0 0 1px var(--line);border-radius:16px;padding:14px}
.card.hl{box-shadow:0 0 0 2px var(--gold)}
.row{display:flex;align-items:center;gap:10px}
.between{display:flex;justify-content:space-between;align-items:center;gap:10px}
.grow{flex:1;min-width:0}
.mut{color:var(--mut)}.small{font-size:12px}.tiny{font-size:11px}.ok{color:var(--ok)}.warn{color:var(--warn)}.b{font-weight:700}
.dot{display:inline-block;border-radius:50%;margin-right:7px;vertical-align:middle;flex:none}
.badge{display:inline-flex;align-self:flex-start;padding:5px 10px;border-radius:8px;font-size:11px;font-weight:700;letter-spacing:1.5px;background:#141414;color:#fff}
.badge.out{background:transparent;color:var(--txt);box-shadow:inset 0 0 0 1.5px var(--txt)}
.badge.soft{background:var(--soft);color:var(--txt);box-shadow:inset 0 0 0 1.5px var(--txt)}
.badge.bm{background:var(--bm)}.badge.cir{background:var(--cir)}
.btn,button.btn{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:46px;padding:0 16px;border-radius:12px;background:#141414;color:#fff;font-weight:700;font-size:14px;cursor:pointer;text-align:center}
.btn.ghost{background:transparent;color:var(--tx2);box-shadow:inset 0 0 0 1px var(--brd);font-weight:600}
.btn.sec{background:#fff;color:var(--txt);box-shadow:0 0 0 1px var(--brd);font-weight:600}
.btn.gold{background:var(--gold)}.btn.full{width:100%}.btn.sm{min-height:36px;padding:0 12px;font-size:13px}
.btn.danger{background:#fff;color:var(--warn);box-shadow:inset 0 0 0 1px var(--wbd)}
.btns{display:flex;gap:6px;flex-wrap:wrap}.btns>*{flex:1}
form.inline{display:inline}
.flash{margin:6px 20px;padding:10px 14px;border-radius:12px;background:var(--okbg);color:var(--ok);font-size:13px;font-weight:600}
.alert{padding:10px 14px;border-radius:12px;background:var(--wbg);border:1px solid var(--wbd);color:var(--warn);font-size:13px;font-weight:600}
.notice{padding:10px 14px;border-radius:12px;background:var(--gbg);border:1px solid var(--gbd);color:var(--gold);font-size:13px;font-weight:600}
.sti{flex:none;display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:700;border-radius:11px;height:22px}
.sti.ok{width:22px;background:var(--ok);color:#fff;font-size:12px}
.sti.skip{padding:0 7px;border:1px dashed #B5AC98;color:var(--mut);font-weight:500}
.sti.run{padding:0 7px;background:#141414;color:#fff}
.sti.todo{width:22px;box-shadow:inset 0 0 0 1.5px var(--brd)}
.av{width:36px;height:36px;border-radius:50%;background:var(--soft);display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;flex:none}
.list a.item,.item{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line);color:var(--txt)}
.list .item:last-child{border-bottom:0}
input,select,textarea{font:inherit;color:inherit;border:0;background:#fff;box-shadow:inset 0 0 0 1px var(--brd);border-radius:10px;padding:10px 12px;width:100%}
textarea{min-height:96px;resize:vertical}
label.f{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--mut);font-weight:600}
.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.stepper{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0}
.stepper .lbl{font-size:10px;letter-spacing:.5px;text-transform:none;font-weight:600}
.stepper .row{gap:4px}
.stepper input{width:64px;text-align:center;font-family:'Inter Tight',Inter,sans-serif;font-weight:700;font-size:20px;padding:6px 2px;background:transparent;box-shadow:none}
.stp{all:unset;width:34px;height:40px;border-radius:10px;background:var(--soft);text-align:center;line-height:40px;font-size:18px;cursor:pointer}
.stepper .hint{font-size:10px;color:var(--mut);text-align:center}
.chips{display:flex;gap:6px;flex-wrap:wrap}
.chip{all:unset;box-sizing:border-box;padding:7px 12px;border-radius:18px;font-size:13px;font-weight:600;background:#fff;box-shadow:0 0 0 1px var(--brd);cursor:pointer;display:inline-flex;align-items:center}
.chip.on{background:#141414;color:#fff;box-shadow:none}
.tabs{display:flex;gap:2px;padding:4px;border-radius:12px;background:var(--soft);margin:4px 20px}
.tabs a{flex:1;text-align:center;padding:10px 4px;border-radius:10px;font-size:12px;font-weight:700;color:var(--mut)}
.tabs a.on{background:#141414;color:#fff}
.switch{display:flex;gap:4px;overflow-x:auto;padding:6px 14px;border-bottom:1px solid var(--line);background:#fff}
.switch a{display:flex;flex-direction:column;align-items:center;gap:3px;padding:4px 2px;border-radius:12px;border:2px solid transparent;min-width:56px;color:var(--txt)}
.switch a.on{border-color:var(--gold)}
.switch .av{background:#fff}
.exo{display:flex;flex-direction:column;gap:10px}
.exo.open{box-shadow:0 0 0 2px var(--gold)}
.exo.cir{box-shadow:0 0 0 2px var(--cir)}
.exo.bmk{box-shadow:0 0 0 1.5px var(--bm);background:#F7F8FB}
.hero{background:#141414;color:#fff;border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:6px}
.hero .mut{color:#CFC6B2}
.hero.bm{background:var(--bm)}.hero.bm .mut{color:#C9D2E6}
.rec{border-radius:14px;border:1px solid var(--gbd);background:var(--gbg);padding:12px;display:flex;flex-direction:column;gap:3px}
.rec .v{font-family:'Inter Tight',Inter,sans-serif;font-weight:700;font-size:22px}
.kpi{background:#fff;box-shadow:0 0 0 1px var(--line);border-radius:14px;padding:10px;display:flex;flex-direction:column;gap:2px}
.kpi .v{font-family:'Inter Tight',Inter,sans-serif;font-weight:700;font-size:20px}
.tbl{width:100%;border-collapse:collapse;font-size:12px}
.tbl th{font-size:9px;letter-spacing:1px;color:var(--mut);text-align:left;padding:6px 6px 6px 0;border-bottom:1px solid var(--line);white-space:nowrap}
.tbl td{padding:8px 6px 8px 0;border-bottom:1px solid var(--line);vertical-align:top}
.scroll{overflow-x:auto}
.cell{border-radius:8px;padding:4px;text-align:center;font-size:10px;line-height:1.2;min-width:46px}
.cell.fait{background:var(--okbg)}.cell.corrige{background:var(--wbg)}.cell.test{background:#141414;color:#fff}.cell.skip{background:var(--soft);color:var(--mut)}
.bar{height:8px;border-radius:4px;background:var(--soft);overflow:hidden}.bar>i{display:block;height:100%;background:var(--bm)}.bar>i.full{background:var(--ok)}
.chart{width:100%;height:auto;display:block}
.hide{display:none!important}
details summary{cursor:pointer;list-style:none}details summary::-webkit-details-marker{display:none}
.sheet{border-radius:16px;background:#fff;box-shadow:0 0 0 1px var(--line);padding:6px 14px}
.cols{display:grid;gap:14px}
@media (min-width:900px){.app.wide .cols{grid-template-columns:repeat(2,minmax(0,1fr))}.app.wide .cols3{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media print{.top,.tabs,.noprint{display:none!important}body{background:#fff}.card{box-shadow:0 0 0 1px #ddd}}
.btns form{display:flex}.btns form .btn{flex:1}
.grid3{gap:4px}.grid3 .stepper input{width:44px;font-size:18px}.grid3 .stp{width:28px}
/* ---- v2 : repères de navigation ---- */
.band{background:#141414;color:#fff;padding:14px 20px 12px;display:flex;flex-direction:column;gap:6px}
.mode-pd .band{background:#1F4E79}
.band .modelbl{font-size:11px;font-weight:700;letter-spacing:2px;opacity:.75}
.band .menu{color:#fff;font-size:20px}
.crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:14px}
.crumbs a{color:#fff;opacity:.75}.crumbs b{font-weight:700}.crumbs span{opacity:.45}
.steps{list-style:none;margin:0;padding:12px 20px;display:flex;gap:6px;background:#fff;border-bottom:1px solid var(--line)}
.steps li{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:11px;color:var(--mut);font-weight:600;text-align:center}
.steps li span{width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--soft);font-size:12px;font-weight:700}
.steps li.on{color:var(--txt)}.steps li.on span{background:#141414;color:#fff}
.mode-pd .steps li.on span{background:#1F4E79}
.steps li.done span{background:var(--ok);color:#fff}
.bottombar{position:fixed;left:0;right:0;max-width:560px;margin:0 auto;bottom:0;padding:12px 20px calc(12px + env(safe-area-inset-bottom));background:linear-gradient(rgba(244,241,234,0),var(--bg) 30%);display:flex;flex-direction:column;gap:8px;z-index:5}
.bottombar .btn{min-height:54px;font-size:16px}
.mode-pd .btn:not(.sec):not(.ghost):not(.danger){background:#1F4E79}
.seg{display:flex;gap:4px;padding:12px 20px 0}
.seg a{flex:1;height:6px;border-radius:3px;background:var(--line)}
.seg a.ok{background:var(--ok)}.seg a.skip{background:#B5AC98}.seg a.on{background:var(--gold)}
.big{font-family:'Inter Tight',Inter,sans-serif;font-weight:700;letter-spacing:-.02em;font-size:28px;line-height:1.1;margin:0}
.plan{background:#fff;border-radius:18px;box-shadow:0 0 0 1px var(--line);padding:18px;display:flex;flex-direction:column;gap:4px}
.plan .what{font-family:'Inter Tight',Inter,sans-serif;font-weight:700;font-size:30px;letter-spacing:-.02em}
.ghostrow{display:flex;gap:8px}.ghostrow>*{flex:1}
.ghostrow form{display:flex}.ghostrow form .btn{flex:1}
.rowlink{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line);color:var(--txt)}
.rowlink:last-child{border-bottom:0}
.det{font-size:13px;color:var(--mut)}.det summary{color:var(--gold);font-weight:600}
.bottombar form{display:flex}.bottombar form .btn{flex:1}

body:has(.bottombar) .app{padding-bottom:150px}
.grid1{display:grid;grid-template-columns:1fr;gap:8px}

/* ======== v3 : refonte navigation (onglets, tableau du cours) ======== */
:root{--bg:#F4F2EE;--txt:#16181A;--mut:#5F6368;--tx2:#3C4043;--line:#ECEAE5;--soft:#EFECE6;--brd:#E4E1DB;--gold:#1E5A44;--acc:#1E5A44;--warn:#9A5B00;--wbg:#FFF4E0;--wbd:#F2C98A;--gbg:#FFF4E0;--gbd:#F2C98A;--ok:#1E5A44;--okbg:#E6F4EC}
.mode-pd{--acc:#1F4E79;--gold:#1F4E79}
h1,.h1,h2,.big,.plan .what,.rec .v,.kpi .v,.stepper input{font-family:Inter,system-ui,sans-serif}
h1{font-size:26px;font-weight:800;margin:0}
h1.tabtitle{font-size:32px}
.app{padding-bottom:40px}
.hdr{padding:16px 16px 8px;display:flex;flex-direction:column;gap:4px}
.hdr .back{display:inline-flex;align-items:center;gap:4px;color:var(--acc);font-weight:600;font-size:15px;min-height:36px;align-self:flex-start}
.hdr .pre{font-size:14px;color:var(--mut);font-weight:500;margin-top:12px}
.hdr .sub{font-size:14px;color:var(--mut)}
.wrap{padding:6px 16px;gap:14px}
.flash{margin:6px 16px}
.sec-lbl{font-size:12px;font-weight:700;letter-spacing:.08em;color:var(--mut);text-transform:uppercase}
.sec-lbl.warn{color:var(--warn)}
.stack{display:flex;flex-direction:column;gap:8px}
.group{background:#fff;border-radius:16px;display:flex;flex-direction:column;overflow:hidden}
.group>.li,.group>form>.li{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line);color:var(--txt);min-height:52px;box-sizing:border-box}
.group>.li:last-child{border-bottom:0}
.li .tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.li .t{font-size:16px;font-weight:600}.li .s{font-size:13px;color:var(--mut)}
.li .act{font-size:14px;font-weight:700;color:var(--acc);white-space:nowrap}
.li .act.red{color:#B4232A}
.li .time{font-size:17px;font-weight:700;width:52px;flex:none}
.chev{color:#9AA0A6;flex:none}
.av{width:36px;height:36px;font-size:13px}
.av.dark{background:#16181A;color:#fff}
.btn,button.btn{background:var(--acc);border-radius:14px;min-height:48px;font-size:15px}
.btn.dark{background:#16181A}
.btn.sec{box-shadow:inset 0 0 0 1.5px var(--brd);background:#fff}
.btn.ghost{box-shadow:inset 0 0 0 1.5px var(--brd)}
.bottombar{background:linear-gradient(rgba(244,242,238,0),var(--bg) 25%)}
.bottombar .btn{min-height:56px;font-size:17px;border-radius:16px}
.bottombar.above-tabs{bottom:calc(64px + env(safe-area-inset-bottom))}
body.has-tabs .app{padding-bottom:100px}
body.has-tabs:has(.bottombar) .app{padding-bottom:190px}
.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:6;max-width:560px;margin:0 auto;background:#fff;border-top:1px solid var(--brd);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:6px 0 calc(6px + env(safe-area-inset-bottom))}
.tabbar a{display:flex;flex-direction:column;align-items:center;gap:3px;color:var(--mut);font-size:11px;font-weight:500;padding:4px 0}
.tabbar a.on{color:#16181A;font-weight:700}
.tb-ic{position:relative;width:24px;height:24px}
.tb-badge{position:absolute;top:-5px;right:-11px;min-width:18px;height:18px;border-radius:9px;background:#E07B00;color:#fff;font-size:11px;font-weight:800;font-style:normal;display:flex;align-items:center;justify-content:center;padding:0 4px;box-sizing:border-box}
.now{background:#16181A;color:#fff;border-radius:20px;padding:20px;display:flex;flex-direction:column;gap:14px}
.now .h{font-size:28px;font-weight:800}
.now .pill{font-size:13px;font-weight:600;background:#2B2E31;padding:5px 10px;border-radius:999px}
.now .who{font-size:18px;font-weight:600}.now .where{font-size:14px;color:#C9CCCF}
.now .cta{background:#fff;color:#16181A;border-radius:14px;height:52px;display:flex;align-items:center;justify-content:center;font-size:17px;font-weight:700}
.now.pd{background:#1F4E79}.now.pd .pill{background:#2C6396}.now.pd .where{color:#D6E2EF}
.bars{display:flex;gap:6px}.bars i{flex:1;height:6px;border-radius:3px;background:#3A3E42}.bars i.ok{background:#4CC38A}
.daynav{display:flex;align-items:center;justify-content:space-between;gap:8px}
.daynav a{width:40px;height:40px;border-radius:20px;background:#fff;display:flex;align-items:center;justify-content:center;color:var(--txt);font-size:18px;box-shadow:inset 0 0 0 1.5px var(--brd)}
.stu{background:#fff;border-radius:18px;padding:16px;display:flex;flex-direction:column;gap:12px}
.stu .top2{display:flex;align-items:center;gap:10px}
.stu .nm{font-size:17px;font-weight:700;color:var(--txt)}
.stu .exl{font-size:12px;font-weight:700;letter-spacing:.06em;color:var(--mut)}
.stu .exn{font-size:20px;font-weight:700;display:flex;align-items:center}
.stu .exp{font-size:17px;color:var(--tx2)}
.stu .acts{display:flex;gap:8px}.stu .acts form{flex:1;display:flex}
.stu .acts .btn{flex:1;min-height:52px;font-size:17px}
.stu .acts .btn.other{flex:0 0 104px;background:#fff;color:var(--txt);box-shadow:inset 0 0 0 1.5px #D5D2CC;font-weight:600;font-size:15px}
.dots{display:flex;gap:4px}.dots i{width:18px;height:6px;border-radius:3px;background:#E4E1DB}.dots i.ok{background:var(--acc)}.dots i.cur{background:#16181A}.dots i.skip{background:#B9B5AE}
.okline{background:var(--okbg);color:#14532D;border-radius:12px;padding:12px 14px;font-size:15px;font-weight:600}
.warnline{background:var(--wbg);color:var(--warn);border-radius:12px;padding:12px 14px;font-size:14px;font-weight:600}
.dashed{border:1.5px dashed #C9C5BD;border-radius:18px;padding:16px;display:flex;align-items:center;gap:10px;color:var(--txt)}
.segc{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:6px;background:var(--brd);padding:4px;border-radius:14px}
.segc a,.segc label{min-height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;color:var(--mut);text-align:center;padding:0 6px;cursor:pointer}
.segc a.on,.segc label:has(input:checked){background:#fff;color:var(--txt)}
.segc input{position:absolute;opacity:0;width:1px;height:1px}
.search{display:flex;align-items:center;gap:10px;background:#fff;border-radius:14px;min-height:48px;padding:0 14px;box-shadow:inset 0 0 0 1.5px var(--brd)}
.search input{box-shadow:none;padding:12px 0;font-size:16px;background:transparent}
.chips .chip{min-height:36px}
.chip.on{background:#16181A}
.tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.tile{background:#fff;border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:4px;min-width:0}
.tile .n{font-size:13px;color:var(--mut);font-weight:600}.tile .v{font-size:24px;font-weight:800}.tile .d{font-size:12px;font-weight:700;color:var(--acc)}
.prog10{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:3px}.prog10 i{height:6px;border-radius:3px;background:#E4E1DB}.prog10 i.ok{background:var(--acc)}.prog10 i.cur{background:#16181A}
.id{display:flex;align-items:center;gap:12px}
.id .av{width:52px;height:52px;font-size:20px;background:#16181A;color:#fff}
.rc{display:flex;align-items:center;gap:12px;padding:14px;border-radius:14px;background:#fff;box-shadow:inset 0 0 0 1.5px var(--brd);cursor:pointer}
.rc input{width:20px;height:20px;box-shadow:none;accent-color:var(--acc);flex:none;padding:0;margin:0}
.rc:has(input:checked){box-shadow:inset 0 0 0 2px var(--acc)}
.rc .t{font-size:16px;font-weight:700}.rc .s{font-size:13px;color:var(--mut)}
.board{background:#1F4E79;color:#fff;border-radius:18px;padding:16px;display:flex;flex-direction:column;gap:10px}
.board .row2{display:flex;justify-content:space-between;font-size:18px;font-weight:700;gap:10px}
.board .lbl2{font-size:12px;font-weight:700;letter-spacing:.08em;color:#BFD3E8}
.board a{color:#fff;background:#2C6396;border-radius:999px;padding:6px 12px;font-size:13px;font-weight:600}
.pdg{background:#fff;border-radius:18px;display:flex;flex-direction:column}
.pdg .r{display:grid;grid-template-columns:1fr repeat(var(--n),84px);gap:8px;align-items:center;padding:8px 16px;border-top:1px solid var(--line)}
.pdg .r.h{border-top:0;font-size:12px;font-weight:700;letter-spacing:.06em;color:var(--mut);padding-top:12px}
.pdg .r.h div:not(:first-child){text-align:center}
.pdg input.kg{height:44px;text-align:center;font-weight:700;font-size:17px;padding:0;border-radius:12px;box-shadow:inset 0 0 0 1.5px var(--brd)}
.pdg input.kg.rec{box-shadow:inset 0 0 0 2px #E07B00;background:#FFF4E0}
.pdg .nm{font-size:16px;font-weight:600;display:flex;flex-direction:column}
.pdg .nm small{font-size:12px;color:var(--mut);font-weight:500}
.pdg .absent .kg{opacity:.35}
.plan{border-radius:18px;box-shadow:none}
.seg{padding:12px 16px 0}
.seg a.on{background:#16181A}
.sheet{box-shadow:none}
.card{box-shadow:none}
.mini{font-size:13px;color:var(--mut);text-align:center}
.link-btn{background:none;border:0;color:var(--acc);font:inherit;font-size:15px;font-weight:700;cursor:pointer;min-height:44px}
.daynav-a{width:40px;height:40px;border-radius:20px;background:#fff;display:inline-flex;align-items:center;justify-content:center;color:var(--txt);font-size:20px;box-shadow:inset 0 0 0 1.5px var(--brd)}
/* v4 */
.notecoach{font-size:13px;font-weight:600;color:#9A5B00;background:#FFF4E0;border-radius:10px;padding:8px 10px}
.obj{display:flex;flex-direction:column;gap:6px}
.gauge{height:10px;border-radius:5px;background:#ECEAE5;overflow:hidden}.gauge i{display:block;height:100%;background:#E07B00;border-radius:5px}.gauge i.full{background:var(--acc)}
details.li summary{list-style:none;cursor:pointer}
.kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.kpi2{background:#fff;border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:2px}.kpi2 .v{font-size:28px;font-weight:800}.kpi2 .n{font-size:13px;color:var(--mut);font-weight:600}.kpi2 .d{font-size:12px;color:var(--mut)}
.rank{display:flex;align-items:center;gap:10px}.rank .pos{width:26px;font-weight:800;color:var(--mut)}
.essai-hero{background:#16181A}body.essai{background:#F4F2EE}
.card .li{display:flex;align-items:flex-start;gap:10px}
/* v5 */
.stepnav{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 16px 0}
.stepnav .sn{display:inline-flex;align-items:center;gap:4px;min-height:40px;padding:0 12px;border-radius:12px;background:#fff;box-shadow:inset 0 0 0 1.5px var(--brd);font-size:14px;font-weight:700;color:var(--txt);max-width:42%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stepnav .sn:active{background:var(--soft)}
.stepnav .sn-mid{font-size:12px;font-weight:700;color:var(--mut);text-transform:uppercase;letter-spacing:.04em}
.navrow{display:flex;gap:8px;align-items:stretch}
.navrow .btn{margin:0}
.navrow [data-wz=prev]{flex:0 0 64px;display:flex;align-items:center;justify-content:center;padding:0}
.rc .tx{display:flex;flex-direction:column;gap:2px}
.wz-seg a{pointer-events:none}
.navrow .grow{flex:1 1 auto;width:auto}
/* v6 */
.lastime{display:flex;flex-direction:column;gap:2px;padding:10px 14px;border-radius:14px;background:var(--soft);font-size:14px}
.lastime .lbl{font-size:11px}
.undo{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(92px + env(safe-area-inset-bottom));width:min(520px,calc(100% - 32px));display:flex;align-items:center;gap:12px;background:#16181A;color:#fff;border-radius:14px;padding:10px 10px 10px 16px;font-size:14px;font-weight:600;z-index:30;box-shadow:0 8px 24px rgba(0,0,0,.25);animation:undoin .2s ease-out}
body.has-tabs .undo{bottom:calc(150px + env(safe-area-inset-bottom))}
body:not(:has(.bottombar)) .undo{bottom:calc(24px + env(safe-area-inset-bottom))}
body.has-tabs:not(:has(.bottombar)) .undo{bottom:calc(84px + env(safe-area-inset-bottom))}
.undo form{display:flex}.undo-btn{background:#fff;color:#16181A;border:0;border-radius:10px;padding:9px 14px;font:inherit;font-weight:800;cursor:pointer}
.undo.out{opacity:0;transition:opacity .4s}
@keyframes undoin{from{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%,0)}}
.mbars{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;align-items:end}
.mb{display:flex;flex-direction:column;align-items:center;gap:4px}.mb .v{font-size:13px;font-weight:800}.mb .l{font-size:12px;font-weight:700}
.mb .col{height:120px;width:100%;max-width:38px;display:flex;flex-direction:column;justify-content:flex-end;border-radius:8px;overflow:hidden;background:var(--soft)}
.mb .col i{display:block;width:100%}.mb .col i.sp,.lg.sp{background:#16181A}.mb .col i.pd,.lg.pd{background:#1F4E79}
.lg{display:inline-block;width:10px;height:10px;border-radius:3px;vertical-align:-1px}
/* Hors connexion */
.offpill{position:fixed;top:calc(8px + env(safe-area-inset-top));right:12px;z-index:40;background:#B45F06;color:#fff;font-size:12px;font-weight:800;border-radius:999px;padding:6px 10px;box-shadow:0 4px 12px rgba(0,0,0,.2)}
.offpill.ok{background:#1F5E3B}
.offline-note{background:#FFF3E0;color:#7A4100;border-radius:12px;padding:10px 12px;font-size:13px;font-weight:600}
/* Mode tablette */
.side{display:none}
@media (min-width:900px){
  body.split .app{max-width:1180px;display:grid;grid-template-columns:300px minmax(0,1fr);column-gap:28px;align-items:start}
  body.split .app>*{grid-column:2}
  body.split .side{display:flex;flex-direction:column;gap:4px;grid-column:1;grid-row:1/span 30;position:sticky;top:16px;margin-top:16px;padding:12px;background:#fff;border-radius:18px;box-shadow:inset 0 0 0 1.5px var(--brd);max-height:calc(100vh - 32px);overflow:auto}
  .side-h{font-size:12px;font-weight:800;color:var(--mut);text-transform:uppercase;letter-spacing:.05em;padding:4px 8px 8px}
  .side-i{display:flex;align-items:center;gap:10px;padding:8px;border-radius:12px;font-size:15px;font-weight:600;color:var(--txt)}
  .side-i.on{background:var(--soft)}
  body.split .bottombar{left:auto;right:max(16px,calc((100vw - 1180px)/2));width:calc(min(100vw,1180px) - 328px - 16px);max-width:none;margin:0}
  body.split .undo{left:auto;right:max(16px,calc((100vw - 1180px)/2));transform:none;width:min(520px,calc(min(100vw,1180px) - 360px));animation:none}
  body.tbboard .app{max-width:1100px}
  body.tbboard .wrap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
  body.tbboard .wrap>.group{grid-column:1/-1}
}
/* Impression / PDF du bilan */
@media print{
  @page{size:A4;margin:12mm}
  html,body{background:#fff!important}
  *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .app{max-width:none!important;padding:0!important}
  .bottombar,.tabbar,.undo,.offpill,.noprint,.stepnav,.side{display:none!important}
  .bilan-doc .card,.bilan-doc .hero,.bilan-doc .rec,.bilan-doc .kpi,.bilan-doc table{break-inside:avoid}
  .bilan-doc{padding-top:0!important}
}
/* v7 · badges */
.bdg-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));row-gap:18px;column-gap:6px}
.bdg{display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center}
.bdg-ic{display:flex;flex-direction:column;align-items:center}
.bdg-tag{margin-top:-10px;position:relative;padding:3px 8px;border-radius:999px;font-size:10px;font-weight:800;letter-spacing:.04em;color:#fff;box-shadow:0 0 0 2px #fff}
.bdg-tag.off{background:#fff;color:var(--mut)}
.bdg-n{font-size:12px;font-weight:700;line-height:1.2}
.bdg-s{font-size:11px;font-weight:600;line-height:1.25;color:var(--mut)}
.bdg.on .bdg-s{color:var(--ok)}
.bdg-pips{display:flex;gap:3px}.bdg-pips i{width:9px;height:9px;border-radius:5px;background:#E4E1DB}
.bdg-bar{width:70px;height:5px;border-radius:3px;background:#E4E1DB;overflow:hidden}.bdg-bar i{display:block;height:100%}
.bdg-near{background:#16181A;color:#fff;border-radius:20px;padding:16px;display:flex;flex-direction:column;gap:12px}
.bdg-row{display:flex;flex-wrap:wrap;gap:6px}
@media print{.bdg-near{background:#16181A!important}}
/* v7.1 · sous-onglets élève */
.subtabs{display:flex;gap:6px;flex-wrap:wrap;margin:10px 20px 0}
.subtabs a{padding:7px 12px;border-radius:999px;font-size:12px;font-weight:700;color:var(--mut);background:var(--soft)}
.subtabs a.on{background:#fff;color:#141414;box-shadow:0 0 0 1.5px #141414}
@media print{.subtabs{display:none!important}}
/* v7.2 · bouton commande */
.cmd-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:999px;background:#141414;color:#fff;font-size:13px;font-weight:700;white-space:nowrap}
.cmd-btn:active{opacity:.8}
@media print{.cmd-btn{display:none!important}}
/* v8 · tableau du cours : exos qui défilent */
.stu{overflow:hidden}
.car{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;gap:16px;margin:0 -16px;padding:0 16px;scroll-padding:0 16px;overscroll-behavior-x:contain}
.car::-webkit-scrollbar{display:none}
.car .slide{flex:0 0 100%;scroll-snap-align:start;scroll-snap-stop:always;display:flex;flex-direction:column;gap:10px;min-width:0}
.car .exl{display:flex;justify-content:space-between;align-items:center}
.swipehint{font-size:16px;color:#B9B5AE;letter-spacing:0}
.car form.inl{display:flex;flex-direction:column;gap:8px}
.car form.inl.hide{display:none}
.car textarea{min-height:110px}
.car .bigin{font-size:22px;font-weight:700;padding:14px;text-align:center}
.car .ghostrow{display:flex;gap:8px;flex-wrap:wrap}.car .ghostrow>*{flex:1}.car .ghostrow form{display:flex}.car .ghostrow .btn{flex:1;min-height:44px;font-size:14px}
.donebox{display:flex;justify-content:space-between;align-items:center;gap:10px;background:var(--okbg);color:#14532D;border-radius:12px;padding:12px 14px;font-weight:600}
.donebox.skip{background:var(--soft);color:var(--tx2)}
.dots i{cursor:pointer}.dots i.res{width:8px}.dots i.cur{background:#16181A}
.stu.busy{opacity:.6;pointer-events:none}
/* v9 : cartes du tableau plus compactes */
.stu{padding:12px 14px;gap:8px;border-radius:16px}
.stu .top2 .av{width:34px;height:34px;font-size:13px}
.stu .nm{font-size:16px}
.stu .exn{font-size:18px}
.stu .exp{font-size:15px}
.stu .acts .btn{min-height:46px;font-size:16px}
.stu .acts .btn.other{flex-basis:96px}
.stu .warnline,.stu .notecoach{padding:7px 10px;font-size:13px}
.car{margin:0 -14px;padding:0 14px;scroll-padding:0 14px;gap:14px}
.car .slide{gap:8px}
.car .ghostrow{gap:6px}
.car .ghostrow .btn{min-height:34px;font-size:13px;padding:4px 8px;background:transparent;box-shadow:none;color:var(--tx2);text-decoration:underline;text-underline-offset:3px}
.donebox{padding:9px 12px}
.car textarea{min-height:80px}
.car .bigin{font-size:20px;padding:10px}
.car{align-items:flex-start;overflow-y:hidden;transition:height .2s ease}
/* v10 : fil de navigation */
.crumbs{display:flex;align-items:center;gap:6px;overflow-x:auto;white-space:nowrap;scrollbar-width:none;font-size:12.5px;color:var(--mut);margin:0 -16px;padding:2px 16px 0}
.crumbs::-webkit-scrollbar{display:none}
.crumbs a{color:var(--mut);font-weight:500}
.crumbs .cur{color:var(--txt);font-weight:600}
.crumbs .sep{color:#C9C5BE}
.stu .meta{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:13px;color:var(--mut);margin-top:2px}
.stu .meta b{color:var(--txt);font-weight:700}
.car .exl{text-transform:none;letter-spacing:0;font-size:12px}
.stu .exline{align-items:baseline;gap:0}
.stu .exline .dot{align-self:center;margin-right:8px}
.stu .exline .exp{font-size:16px;font-weight:500;margin-left:6px}

/* v11 : loupe partout, état des cartes, confirmation, zones tactiles */
.hdr{position:relative}
.hsearch{all:unset;position:absolute;top:10px;right:12px;width:40px;height:40px;border-radius:20px;display:flex;align-items:center;justify-content:center;color:var(--txt);background:#fff;box-shadow:inset 0 0 0 1.5px var(--brd);cursor:pointer;z-index:2}
.hsearch:active{background:var(--soft)}
.hdr .crumbs{margin-right:36px}
.hdr:has(.hsearch) > .between > *:last-child:not(h1){margin-right:0}
.hdr:has(.hsearch) > .back:first-of-type,.hdr:has(.hsearch) > .pre{margin-right:48px}
.srch{position:fixed;inset:0;z-index:50;background:rgba(22,24,26,.35);padding:calc(10px + env(safe-area-inset-top)) 12px 12px;display:flex;flex-direction:column;gap:8px}
.srch-bar{display:flex;align-items:center;gap:10px;background:#fff;border-radius:14px;min-height:52px;padding:0 6px 0 14px;box-shadow:0 8px 24px rgba(0,0,0,.18);max-width:560px;width:100%;margin:0 auto}
.srch-bar input{flex:1;border:0;box-shadow:none;font-size:17px;padding:12px 0;background:transparent;outline:none}
.srch-list{max-width:560px;width:100%;margin:0 auto;max-height:70vh;overflow:auto}
.srch-list:empty{display:none}
.srch-hint{padding:14px 16px;font-size:14px;color:var(--mut);background:#fff}
body.srch-open{overflow:hidden}
.stu{border-left:5px solid transparent}
.stu.st-todo{border-left-color:#D5D2CC}
.stu.st-run{border-left-color:#E0A100}
.stu.st-done{border-left-color:var(--acc);background:#FAFCFA}
.stu.st-warn{border-left-color:#E07B00}
.toast{position:fixed;left:50%;bottom:calc(84px + env(safe-area-inset-bottom));transform:translate(-50%,16px);opacity:0;pointer-events:none;z-index:45;background:#16181A;color:#fff;font-size:14px;font-weight:700;padding:10px 16px;border-radius:999px;box-shadow:0 8px 24px rgba(0,0,0,.25);transition:opacity .2s,transform .2s;white-space:nowrap;max-width:calc(100% - 32px);overflow:hidden;text-overflow:ellipsis}
.toast.in{opacity:1;transform:translate(-50%,0)}
body:not(.has-tabs) .toast{bottom:calc(24px + env(safe-area-inset-bottom))}
.stp{width:44px;height:44px;line-height:44px}
.grid3 .stp{width:36px}
.chips .chip{min-height:40px}
.dots{padding:10px 0;margin:-10px 0}
.dots i{position:relative}.dots i::after{content:'';position:absolute;inset:-10px -2px}
.stunav{padding:4px 16px 8px}

/* ======== v12 : charte de l'outil de commande (crème, encre, or) ======== */
:root{--bg:#F5F3EE;--txt:#121214;--mut:#55555D;--tx2:#333335;--line:#ECE8DF;--soft:#EEECE5;--brd:#E2DDD2;--gold:#A9843C;--acc:#121214;--gl:#D4B06A;--gm:#BE9A53;--gd:#7C5F22;--gbg:#F3EBDA;--gbd:#E5D7B8;--ok:#7C5F22;--okbg:#F3EBDA;--sh:0 1px 2px rgba(18,18,20,.04),0 10px 30px rgba(18,18,20,.06)}
.mode-pd{--acc:#121214;--gold:#A9843C}
.mode-pd .btn:not(.sec):not(.ghost):not(.danger){background:#121214}
html,body{background:var(--bg);color:var(--txt)}
body::before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(90% 45% at 0% 0%,#F2E6CB 0%,rgba(242,230,203,0) 70%),radial-gradient(80% 40% at 100% 100%,#F3E8D2 0%,rgba(243,232,210,0) 70%),var(--bg)}
body{background:transparent}
h1,.h1,.big,.plan .what{font-family:Inter,system-ui,sans-serif;font-weight:800;letter-spacing:-.035em;line-height:1.05}
h1{font-size:30px}h1.tabtitle{font-size:38px}
h2{font-weight:800;letter-spacing:-.025em}
.hdr{padding:14px 16px 10px;gap:6px}
.hdr .back{gap:12px;color:var(--txt);font-weight:700;font-size:17px;letter-spacing:-.01em;min-height:44px}
.hdr .back svg{width:44px;height:44px;padding:12px;border-radius:50%;background:#fff;box-shadow:var(--sh);box-sizing:border-box;flex:none}
.hdr .pre{color:var(--mut);font-size:15px}
.hdr .sub,.sub{color:var(--mut)}
.hsearch,.daynav-a,.daynav a{background:#fff;box-shadow:var(--sh);width:44px;height:44px;border-radius:50%;color:var(--txt)}
.hsearch{top:14px}
.crumbs{font-size:12.5px}.crumbs .sep{color:#C7BFAE}
/* Titres de section : gras, encre, soulignés or comme « Lequel choisir ? » */
.sec-lbl{font-size:17px;font-weight:800;letter-spacing:-.015em;text-transform:none;color:var(--txt)}
.sec-lbl.warn{color:#B4580A}
/* Cartes blanches, grands arrondis, ombre douce */
.group,.card,.tile,.kpi2,.kpi,.pdg,.plan,.sheet,.stu,.rc,.search,.srch-bar{background:#fff;border-radius:26px;box-shadow:var(--sh)}
.card{padding:18px}
.group>.li,.group>form>.li{padding:15px 18px;border-bottom-color:var(--line)}
.li .t{letter-spacing:-.01em}.li .act{color:var(--gold)}
.chev{color:#B8B2A6}
.tile .d{color:var(--gd)}.tile .v,.kpi2 .v{letter-spacing:-.03em}
.search{min-height:52px;padding:0 18px}
/* Boutons : pilule noire, secondaires beige */
.btn,button.btn{border-radius:999px;min-height:52px;padding:0 22px;font-size:16px;font-weight:700;letter-spacing:-.01em;background:#121214;color:#fff}
.btn.dark{background:#121214}
.btn.sec,.btn.other,.stu .acts .btn.other{background:var(--soft);color:var(--txt);box-shadow:none;font-weight:700}
.btn.ghost{background:transparent;box-shadow:inset 0 0 0 1.5px var(--brd);color:var(--txt)}
.btn.gold{background:var(--gl);color:#121214}
.btn.sm{min-height:38px;font-size:14px}
.btn:active{transform:scale(.98)}
.stu .acts .btn{min-height:50px}
.link-btn{color:var(--txt);text-decoration:underline;text-decoration-color:var(--gold);text-decoration-thickness:2px;text-underline-offset:5px}
/* Pastilles */
.chip{border-radius:999px;background:#fff;box-shadow:var(--sh);font-weight:700;padding:8px 16px}
.chip.on{background:#121214;color:#fff}
.chips .chip{min-height:42px}
.subtabs a.on{box-shadow:0 0 0 1.5px #121214}
/* Champs */
input,select,textarea{border-radius:16px;box-shadow:inset 0 0 0 1.5px #DDD6C8}
.search input,.srch-bar input,.stepper input{box-shadow:none}
.stp{border-radius:50%;background:var(--soft);font-weight:700}
/* Barres d'avancement : fait = encre, en cours = or, à venir = gris */
.prog10 i,.dots i,.seg a{background:#D7D4CD}
.prog10 i.ok,.dots i.ok,.seg a.ok{background:#121214}
.prog10 i.cur,.dots i.cur,.seg a.on{background:var(--gm)}
.dots i.skip,.seg a.skip{background:#A9A49A}
.prog10 i,.dots i{height:5px}
.steps li.done span{background:#121214}.steps li.on span{background:var(--gm);color:#121214}
/* Coches et confirmations : rond beige, coche or */
.sti.ok{background:var(--gbd);color:var(--gd)}
.okline,.donebox,.flash{background:var(--gbg);color:#5E4718}
.notice{background:var(--gbg);border-color:var(--gbd);color:var(--gd)}
.gauge i{background:var(--gm)}.gauge i.full{background:#121214}
/* Cours « Maintenant » : la carte noire de l'outil de commande */
.now{background:#19191C;border-radius:30px;padding:22px}
.now .h{letter-spacing:-.03em;font-size:32px}
.now .pill{background:#2E2E32}
.now .cta{border-radius:999px;height:54px}
.now.pd{background:#19191C}.now.pd .pill{background:#24345C}.now.pd .where{color:#C9CDD8}
.bars i{background:#3A3A3E}.bars i.ok{background:var(--gl)}
/* Tableau du cours : état des cartes aux couleurs des barres */
.stu{border-left:0;position:relative;overflow:hidden}
.stu::before{content:'';position:absolute;left:0;top:18px;bottom:18px;width:4px;border-radius:0 4px 4px 0;background:transparent}
.stu.st-todo::before{background:#D7D4CD}.stu.st-run::before{background:var(--gm)}.stu.st-done::before{background:#121214}.stu.st-warn::before{background:#E07B00}
.stu.st-done{background:#fff}
.dashed{border-radius:26px;border-color:#D6CDBA}
.stu .acts .btn.other{flex-basis:100px}
/* Menu du bas : capsule noire flottante */
.tabbar{left:max(12px,calc(50% - 268px));right:max(12px,calc(50% - 268px));bottom:calc(10px + env(safe-area-inset-bottom));max-width:none;margin:0;background:#19191C;border:0;border-radius:32px;padding:9px 6px;box-shadow:0 12px 30px rgba(18,18,20,.25)}
.tabbar a{color:#8E8E93;font-weight:600}
.tabbar a.on{color:#fff;font-weight:700}
.tabbar a.on .tb-ic::after{content:'';position:absolute;left:50%;bottom:-6px;width:4px;height:4px;margin-left:-2px;border-radius:50%;background:var(--gl)}
.tb-badge{background:var(--gl);color:#121214}
.bottombar{background:linear-gradient(rgba(245,243,238,0),var(--bg) 30%)}
.bottombar .btn{border-radius:999px;min-height:56px}
.bottombar.above-tabs{bottom:calc(84px + env(safe-area-inset-bottom))}
body.has-tabs .app{padding-bottom:110px}
body.has-tabs:has(.bottombar) .app{padding-bottom:200px}
body.has-tabs:not(:has(.bottombar)) .undo{bottom:calc(96px + env(safe-area-inset-bottom))}
body.has-tabs .undo{bottom:calc(160px + env(safe-area-inset-bottom))}
.undo,.toast{background:#19191C;border-radius:999px}
.toast{bottom:calc(96px + env(safe-area-inset-bottom))}
.undo-btn{border-radius:999px}
/* Navigation élève / exo */
.stepnav .sn{border-radius:999px;background:#fff;box-shadow:var(--sh)}
.navrow [data-wz=prev]{border-radius:50%;flex-basis:56px}
.segc{background:var(--soft);border-radius:999px}.segc a,.segc label{border-radius:999px}
.segc a.on,.segc label:has(input:checked){box-shadow:var(--sh)}
.tabs{border-radius:999px}.tabs a{border-radius:999px}.tabs a.on{background:#121214}
.rc:has(input:checked){box-shadow:inset 0 0 0 2px #121214,var(--sh)}
.cmd-btn{background:#121214}
.offpill.ok{background:#5E4718}
.av.dark,.id .av{background:#121214}
@media print{body::before{display:none}}
.bar>i{background:#121214}.bar>i.full{background:var(--gm)}

/* v13 : historique d'un exo sur le tableau */
.hist-t{all:unset;align-self:center;flex:none;width:32px;height:32px;margin-left:6px;border-radius:50%;background:var(--soft);display:inline-flex;align-items:center;justify-content:center;color:var(--txt);cursor:pointer;transition:transform .2s}
.hist-t.on{transform:rotate(180deg);background:#121214;color:#fff}
.hist{background:#FAF8F3;border-radius:18px;padding:12px 14px;display:flex;flex-direction:column;gap:6px;font-size:14px}
.hist-h{font-size:12px;font-weight:700;color:var(--mut);margin-top:2px}
.hist-l{display:flex;flex-direction:column;gap:4px}
.hist-r{display:grid;grid-template-columns:28px 54px 1fr;gap:6px;align-items:baseline;padding:3px 0}
.hist-n{font-size:12px;font-weight:800;color:var(--mut)}
.hist-d{font-size:13px;color:var(--mut);font-weight:600}
.hist-v{font-weight:600}.hist-r.skip .hist-v{color:var(--mut);font-weight:500}
.hist-v b{font-weight:800}.hist-k{color:#5E4718;font-weight:500;font-size:13px}
.hist-delta{font-size:13px;font-weight:700;color:var(--gd);margin-top:2px}
.hist-empty{color:var(--mut)}
.hist-all{font-size:13px;font-weight:700;color:var(--txt);text-decoration:underline;text-decoration-color:var(--gold);text-decoration-thickness:2px;text-underline-offset:4px;align-self:flex-start}
.hist-tag{display:inline-block;margin-left:6px;padding:2px 8px;border-radius:999px;background:var(--gbg);color:#5E4718;font-size:11.5px;font-weight:700;white-space:nowrap;vertical-align:1px}
.hist-tag.eq{background:transparent;box-shadow:inset 0 0 0 1px var(--gbd)}
