/* Web flasher page, on top of ../assets/site.css. Class names are the ones app.js renders. */

.fl-head{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:16px 56px;align-items:end;padding:88px 0 56px}
.fl-head p{font-size:19px;line-height:1.45;margin:0 0 10px;max-width:36ch}
.fl-head .ver{font-size:15px;color:var(--muted);margin:0}
.fl>section,.fl>details,.fl>.alert{max-width:820px}

.alert{margin:0 0 20px;padding:2px 0 2px 14px;border-left:3px solid var(--bad);color:var(--bad);font-size:16px}
.alert a{color:inherit}

/* steps: a rule, a numbered trig key that lights up once the step is done */
.step{padding:22px 0 44px;border-top:1px solid var(--ink)}
.step>header{display:flex;align-items:center;gap:14px;margin:0 0 20px}
.step h2{font-size:24px}
.num{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:6px;background:var(--ctl);color:var(--ctl-ink);
  font-weight:700;font-size:15px;box-shadow:0 2px 0 var(--ctl-edge)}
.step.done .num{background:var(--red);color:#2b1710}
.hint{margin:.8em 0 0;font-size:15px;color:var(--muted)}
.hint:empty{display:none}
.panel-text{margin:0;max-width:64ch}
.note{margin:16px 0 0;font-size:15px;color:var(--muted);max-width:64ch}
code{font-size:.82em}

/* mode tabs */
.seg{display:flex;flex-wrap:wrap;gap:6px 22px;margin:0 0 20px}
.seg button{font:inherit;font-size:16px;background:none;border:0;padding:0;color:var(--muted);cursor:pointer}
.seg button:hover{color:var(--ink)}
.seg button[aria-selected="true"],.seg button[aria-checked="true"]{color:var(--ink);font-weight:700;text-decoration:underline;text-decoration-color:var(--red);text-decoration-thickness:2px;text-underline-offset:.25em}

/* key-shaped checkboxes: charcoal, red when on */
.mod-row>input,.variants input,.check input{appearance:none;-webkit-appearance:none;flex:none;margin:0;width:22px;height:22px;border-radius:5px;
  background:var(--ctl);box-shadow:0 2px 0 var(--ctl-edge);cursor:pointer}
.mod-row>input:checked,.variants input:checked,.check input:checked{background:var(--red)}
.variants input[type=radio]{border-radius:50%}

/* mods, step 1: sections named after what a mod changes on the machine, one short row per mod, details on demand.
 * Plain CSS (no nesting, color-mix or :has): the smoke test parses it with jsdom. Class names avoid site.css's .name and
 * the progress bar's .meta. */
#features{border-top:0}
.vh{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* how to read the list, before ticking anything */
.mods-lede{margin:0 0 14px;font-size:15px;line-height:1.55;color:var(--muted);max-width:70ch}
.mods-lede .tag{font-size:inherit}
.tag{font-size:14px;font-weight:600;letter-spacing:0;color:var(--warn)}
.tag.ok{color:var(--ok)}
/* "Experimental" outlined in amber so the exceptions stand out; "Tested" stays plain green */
.tag.exp{display:inline-block;padding:0 6px;border:1px solid var(--warn);border-radius:4px;line-height:1.35}

/* search, shown from SEARCH_FROM mods (app.js) */
.find{position:relative;margin:0 0 10px}
.find input{width:100%;height:44px;padding:0 44px 0 40px;border:1px solid var(--line-2);border-radius:var(--r);background:var(--paper);color:var(--ink);font:16px var(--f);
  appearance:none;-webkit-appearance:none}
.find input::placeholder{color:var(--muted)}
.find .mag{position:absolute;left:13px;top:13px;color:var(--muted);pointer-events:none}
.find .clr{position:absolute;right:0;top:0;width:44px;height:44px;padding:0;border:0;background:none;color:var(--muted);font:20px/1 var(--f);cursor:pointer}
.find .clr:hover{color:var(--ink)}
.found{margin:0 0 12px;font-size:14.5px;color:var(--muted)}
.found b{color:var(--ink);font-weight:600}

/* section chips: they jump to a section; a page LED lights when the section holds a ticked mod */
.cats{display:flex;flex-wrap:wrap;gap:4px;margin:0 0 4px;padding:0;list-style:none}
.cats a{position:relative;display:inline-flex;align-items:center;gap:5px;min-height:32px;padding:0 7px;border:1px solid var(--line-2);border-radius:var(--r);
  font-size:13.5px;line-height:1.2;text-decoration:none;color:var(--ink-2);white-space:nowrap}
.cats a:hover{border-color:var(--ink);color:var(--ink)}
.cats .n{margin-left:-1px;color:var(--muted);font-variant-numeric:tabular-nums}
.cats .zero a{opacity:.45}
.led{flex:none;width:7px;height:7px;border-radius:50%;background:var(--line-2)}
.led.on{background:var(--red);box-shadow:0 0 0 2px rgba(236,90,54,.28)}

/* a section: an ink rule like the steps, a header button that folds it */
.grp{margin-top:28px;scroll-margin-top:16px}
.grp>h3{margin:0;font-size:inherit;letter-spacing:0}
.grp-h{display:flex;align-items:center;gap:12px;width:100%;min-height:50px;padding:12px 0 11px;border:0;border-top:1px solid var(--ink);background:none;
  font:inherit;color:var(--ink);text-align:left;cursor:pointer}
.grp-h .ic{flex:none;width:22px;height:22px;color:var(--ink-2)}
.grp-h .gt{font-size:19px;font-weight:700;letter-spacing:-.015em}
.grp-h .gs{font-size:15px;color:var(--muted);font-weight:400}
.grp-h .gn{margin-left:auto;font-size:14.5px;color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}
.grp-h .gn b{color:var(--ink);font-weight:700}
.grp-h .chev{flex:none;color:var(--muted);transition:transform .15s}
.grp-h[aria-expanded="false"] .chev{transform:rotate(-90deg)}
.grp-h:hover .gt{text-decoration:underline;text-decoration-color:var(--red);text-decoration-thickness:2px;text-underline-offset:.2em}
.grp-body{border-top:1px solid var(--line)}
/* folded section: one line recalls what is ticked inside */
.grp-sel{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 14px;margin:0;padding:0 0 4px 34px;font-size:14.5px;color:var(--ink-2)}
.grp-sel span{display:inline-flex;align-items:baseline;gap:7px}
.grp-sel span::before{content:"";width:8px;height:8px;border-radius:2px;background:var(--red);transform:translateY(-1px)}
.grp-sel .inc::before{background:none;box-shadow:inset 0 0 0 1.5px var(--red)}

/* a mod = one row: key, name, one sentence; status and author on the right; Details opens the drawer */
.mod{position:relative;border-bottom:1px solid var(--line)}
.mod-row{display:grid;grid-template-columns:22px minmax(0,max-content) minmax(0,1fr) max-content;
  grid-template-areas:"key ttl by tag" "key short short short";column-gap:14px;row-gap:1px;align-items:baseline;padding:12px 104px 13px 0;cursor:pointer}
.mod-row>input{grid-area:key;align-self:start;margin-top:2px}
.ttl{grid-area:ttl;display:flex;flex-wrap:wrap;align-items:baseline;gap:0 10px;font-weight:700;font-size:17px;line-height:1.35;letter-spacing:-.01em}
.ttl .incl{font-weight:400;font-size:14.5px;color:var(--muted);letter-spacing:0}
.by{grid-area:by;display:flex;flex-wrap:wrap;gap:0 12px;font-size:14px;line-height:1.35;color:var(--muted)}
.by a{color:var(--ink-2)}
.by .need{color:var(--ink-2)}
.st{grid-area:tag;justify-self:end}
.st .tag{font-size:13.5px}
.short{grid-area:short;font-size:15.5px;line-height:1.45;color:var(--ink-2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.more{position:absolute;top:8px;right:0;display:inline-flex;align-items:center;gap:7px;height:32px;padding:0 9px 0 11px;border:0;border-radius:var(--r);
  background:none;color:var(--muted);font:14.5px var(--f);cursor:pointer}
.more:hover{background:var(--casing);color:var(--ink)}
.more svg{flex:none;transition:transform .15s}
.more[aria-expanded="true"]{color:var(--ink)}
.more[aria-expanded="true"] svg{transform:rotate(180deg)}
.ext{padding-left:36px}
.ext:empty{display:none}
.mod.incl .mod-row{cursor:default}
.mod.incl .mod-row>input{opacity:.5;cursor:default}
.mod.incl .nm{color:var(--ink-2)}
.ext .variants{margin:0 0 12px}

/* a pack: what it brings, on one line, and the mods of this list it already holds */
.parts{margin:-5px 0 6px;padding:0;list-style:none;font-size:14.5px;line-height:1.5;color:var(--ink-2);max-width:72ch}
.parts li{display:inline}
.parts li+li::before{content:" · ";color:var(--muted)}
.also{margin:0 0 12px;font-size:14.5px;line-height:1.5;color:var(--muted);max-width:72ch}
.also b{font-weight:600;color:var(--ink-2)}

/* engines: trig-key pads, red once lit; under each key, the machine's name and what it does */
.pads{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:12px 10px;margin:2px 0 12px;max-width:620px}
.pad{position:relative;display:block;cursor:pointer}
.pad input{position:absolute;opacity:0;width:1px;height:1px}
.pad b{display:grid;place-items:center;height:38px;border-radius:5px;background:var(--ctl);color:var(--ctl-ink);box-shadow:0 2px 0 var(--ctl-edge);
  font-size:14px;font-weight:700;letter-spacing:.03em}
.pad input:checked+b{background:var(--red);color:#2b1710}
.pad input:focus-visible+b{outline:2px solid var(--ink);outline-offset:3px}
.pad small{display:block;font-size:12.5px;line-height:1.3;color:var(--muted)}
.pad .pl{margin-top:7px;font-size:11px;font-weight:700;letter-spacing:.06em;color:var(--ink-2)}
.combo{margin:0 0 10px;font-size:14.5px;line-height:1.5;color:var(--ink-2);max-width:70ch}
.combo .tag{margin-right:8px}
.combo.quiet{color:var(--muted)}
.lnk{font:inherit;font-weight:600;color:var(--ink);background:none;border:0;padding:0;cursor:pointer;text-decoration:underline;
  text-decoration-color:var(--red);text-decoration-thickness:1.5px;text-underline-offset:.2em}
.lnk.soft{font-weight:400;color:var(--muted);text-decoration-color:var(--line-2)}
.lnk.soft:hover{color:var(--ink);text-decoration-color:var(--red)}

/* to read: a clash before ticking (red), just unticked (ink, with Undo), good to know once ticked (amber) */
.say{margin:0 0 12px;padding:1px 0 1px 12px;border-left:3px solid var(--warn);font-size:14.5px;line-height:1.5;color:var(--ink-2);max-width:70ch}
.say b{color:var(--warn)}
.say.clash{border-color:var(--bad)}
.say.clash b{color:var(--bad)}
.say.swap{border-color:var(--ink)}
.say.swap b{color:var(--ink)}

/* the Details drawer: the full description and the facts, always in the page (hidden while closed) */
.det{margin:2px 0 14px;padding:14px 16px 13px;border-radius:var(--r);background:var(--casing);font-size:15px;line-height:1.5;color:var(--ink-2)}
.det>p{margin:0 0 10px;max-width:70ch}
.facts{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:5px 18px;margin:0;font-size:14.5px;line-height:1.45}
.facts dt{color:var(--muted)}
.facts dd{margin:0;color:var(--ink-2);max-width:62ch}
.facts dd b{font-weight:600;color:var(--ink)}
.facts a{color:var(--ink)}
.facts .feat-guide{font-weight:600;text-decoration-color:var(--red)}

/* "Your selection": stuck to the bottom of the screen while the list scrolls, resting at the end of step 1 */
.sel{margin-top:26px;padding:11px 0 13px;border-top:1px solid var(--ink);background:var(--paper)}
.js-sticky .sel{position:sticky;bottom:0;z-index:5}
.sel.stuck{box-shadow:0 -14px 18px -16px rgba(0,0,0,.4)}
.sel-h{display:flex;align-items:center;gap:6px 16px}
.sel-sum{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 14px;min-width:0}
.sel-t{font-size:17px;font-weight:700}
.sel-c{font-size:15px;color:var(--ink-2)}
.sel-c .fx{color:var(--warn)}
.sel-x{margin-left:auto;display:flex;align-items:center;gap:18px;flex:none}
.sel-more{display:none}
.btn.sel-next{padding:9px 15px;font-size:15px}
.chips{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:10px 0 0;padding:0;list-style:none}
.chip{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 2px 0 10px;border-radius:5px;background:var(--casing);font-size:14.5px;color:var(--ink)}
.chip .ci{color:var(--muted)}
.chip .cx{width:7px;height:7px;border-radius:50%;background:var(--warn)}
.chip .x{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:4px;background:none;color:var(--muted);cursor:pointer;font:18px/1 var(--f)}
.chip .x:hover{background:var(--line);color:var(--ink)}
.sel.stuck .chips{max-height:66px;overflow:hidden}
.sel-msg{margin:10px 0 0;padding-left:12px;border-left:3px solid var(--ink);font-size:14.5px;color:var(--ink-2)}
.sel-need{margin-left:4px;font-size:14px;color:var(--muted)}
.sel-none{margin:4px 0 0;font-size:15px;color:var(--muted)}
.sel-foot{display:none}
@media (max-height:500px){.js-sticky .sel{position:static}}

.variants{display:grid;gap:0;margin:12px 0 0;border-top:1px solid var(--line)}
.variants label{display:flex;align-items:flex-start;gap:12px;padding:9px 0;border-bottom:1px solid var(--line);cursor:pointer;font-size:16px;color:var(--ink-2)}
.variants input{width:18px;height:18px;margin-top:2px}
.variants b{font-weight:700;color:var(--ink)}
.variants small{display:block;color:var(--muted);font-size:14.5px}
.variants .combo{margin:8px 0 0;font-size:14.5px;color:var(--muted);max-width:64ch}
.samples-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;margin:0 0 6px;font-weight:700;font-size:18px}
.warn-list{margin:14px 0 18px;padding-left:1.2em;max-width:64ch}
.warn-list li{margin:.35em 0;color:var(--ink-2)}

/* drop zones */
#drop2-wrap,#drop3-wrap{margin-top:22px}
.drop{display:flex;align-items:center;gap:16px;padding:18px 20px;border:1.5px dashed var(--line-2);border-radius:var(--r);cursor:pointer}
.drop-ic{flex:none;color:var(--ink-2)}
.drop-t strong{display:block;font-size:17px;word-break:break-all}
.drop-t span{font-size:15px;color:var(--muted)}
.drop:hover,.drop:focus-visible,.drop.over{border-color:var(--ink);background:var(--casing);outline:none}
.drop.loaded{border-style:solid;border-color:var(--ok)}
.drop.loaded .drop-ic{color:var(--ok)}

/* status lines: the text says it, a plain sign before it */
.status{margin-top:14px;font-size:16px}
.status:empty{display:none}
.status .row{display:flex;gap:10px;align-items:baseline;margin:.3em 0;color:var(--ink-2)}
.status .row::before{content:"–";flex:none;width:1em;font-weight:700;color:var(--muted)}
.status .is-ok::before{content:"✓";color:var(--ok)}
.status .is-warn{color:var(--warn)}
.status .is-warn::before{content:"!";color:var(--warn)}
.status .is-bad{color:var(--bad)}
.status .is-bad::before{content:"×";color:var(--bad)}
.status .is-busy::before{content:"…";color:var(--ink)}
.dot{display:none}
.status a{color:inherit;font-weight:600}
.hash{font:.82em var(--f-code);color:var(--muted);white-space:nowrap}

/* connection */
.howto{margin:0 0 20px;padding-left:1.3em;max-width:64ch}
.howto li{margin:.4em 0;color:var(--ink-2)}
.howto b{font-weight:700;color:var(--ink)}
.portrow{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
select{flex:1 1 260px;min-width:0;padding:12px 36px 12px 12px;border:1px solid var(--line-2);border-radius:var(--r);background:var(--paper);color:var(--ink);
  font:16px/1.2 var(--f);appearance:none;-webkit-appearance:none;cursor:pointer;
  background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);
  background-size:5px 5px,5px 5px;background-position:calc(100% - 19px) 52%,calc(100% - 14px) 52%;background-repeat:no-repeat}

/* buttons */
button.btn{border:0}
.btn.secondary{background:none;color:var(--ink);box-shadow:inset 0 0 0 1px var(--line-2)}
.btn.secondary:hover{background:var(--casing);color:var(--ink)}
.btn.big{width:100%;justify-content:center;padding:18px;font-size:18px}
.btn:disabled,.btn:disabled:hover{background:var(--casing);color:var(--muted);box-shadow:none;cursor:not-allowed;transform:none}

/* flash step */
.summary{margin:0 0 16px;padding:2px 0 2px 14px;border-left:3px solid var(--ink);font-size:16px}
.summary b{font-weight:700}
.check{display:flex;align-items:flex-start;gap:12px;margin:0 0 18px;cursor:pointer;color:var(--ink-2);max-width:64ch}
#panel-samples .check{margin:0}
.actions{display:flex;gap:10px}
.actions .big{flex:1}
.missing{margin:12px 0 0;text-align:center;font-size:15px;color:var(--muted)}
.missing:empty{display:none}
.alt{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:18px 0 0;font-size:15px;color:var(--muted)}
.alt .btn{padding:10px 16px;font-size:15px}
.method-note{margin:0 0 16px;color:var(--ink-2)}
.method-note:empty{display:none}
.seg button:disabled{cursor:not-allowed;opacity:.5}
.progress{margin-top:24px}
.bar{display:grid;grid-template-columns:repeat(16,minmax(0,1fr));gap:6px}
#bar{display:none}
.bar i{aspect-ratio:1;max-height:40px;border-radius:5px;background:var(--ctl);box-shadow:0 2px 0 var(--ctl-edge)}
.bar i.on{background:var(--red)}
.bar i.cur{animation:cur .5s steps(1) infinite}
@keyframes cur{50%{background:var(--red)}}
.meta{display:flex;justify-content:space-between;margin-top:10px;font-size:15px;color:var(--muted);font-variant-numeric:tabular-nums}
.callout{margin-top:16px;padding:2px 0 2px 14px;border-left:3px solid var(--red);font-size:16px;color:var(--ink-2)}
.callout.warn{border-color:var(--warn)}
.result{margin-top:18px;padding:2px 0 2px 14px;border-left:3px solid var(--ink)}
.result:empty{display:none}
.result.ok{border-color:var(--ok)}
.result.warn{border-color:var(--warn)}
.result.bad{border-color:var(--bad)}
.result p{margin:.35em 0;max-width:64ch}

details>summary{cursor:pointer;font-weight:700}
details.trouble{margin-top:24px}
.trouble dl{margin:12px 0 0;max-width:64ch}
.trouble dt{margin-top:12px;font-weight:700}
.trouble dd{margin:3px 0 0;color:var(--ink-2)}
.adv{padding:18px 0 0;border-top:1px solid var(--line)}
.adv .field{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin:14px 0 0}
.adv .hint{margin:0}
.adv input[type=number]{width:5.5em;padding:8px 10px;border:1px solid var(--line-2);border-radius:var(--r);background:var(--paper);color:var(--ink);font:16px var(--f)}
#download{font-weight:600}
#log{height:170px;overflow:auto;margin-top:16px;padding:10px 12px;background:var(--casing);border-radius:var(--r);
  font:12.5px/1.6 var(--f-code);color:var(--ink-2);white-space:pre-wrap}
#log .is-ok{color:var(--ok)} #log .is-bad{color:var(--bad)} #log .is-warn{color:var(--warn)}

.credits{margin-top:56px;padding-top:22px;border-top:1px solid var(--ink);max-width:820px}
.credits h2{font-size:24px;margin:0 0 10px}
.credits p{color:var(--muted);margin:0 0 10px}
.credits ul{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.credits li{padding:9px 0;border-bottom:1px solid var(--line);color:var(--ink-2)}

[hidden]{display:none !important}

@media (max-width:900px){
  .fl-head{grid-template-columns:1fr;padding:56px 0 40px}
}
@media (max-width:620px){
  .bar{gap:4px}
  /* mods: chips scroll sideways in their own strip, rows stack, 44 px targets, the selection bar folds to 2 lines */
  .cats{flex-wrap:nowrap;overflow-x:auto;margin:0 calc(-1*var(--gut)) 4px;padding:0 var(--gut) 2px;scrollbar-width:none}
  .cats::-webkit-scrollbar{display:none}
  .cats a{min-height:44px;padding:0 14px 0 12px;font-size:15px}
  .grp-h{min-height:56px}
  .grp-h .gs{display:none}
  .mod-row{grid-template-columns:22px max-content minmax(0,1fr);grid-template-areas:"key ttl ttl" ". short short" ". tag by";row-gap:3px;padding:12px 0 13px}
  .ttl{padding-right:40px;font-size:16.5px}
  .short{font-size:15px}
  .st{justify-self:start}
  .by{font-size:13.5px}
  .more{top:2px;right:-10px;width:44px;height:44px;padding:0;justify-content:center}
  .more .lbl{display:none}
  .pads{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 8px}
  .pad b{height:44px}
  .facts{grid-template-columns:minmax(0,1fr);gap:0}
  .facts dt{margin-top:8px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
  .facts dt:first-child{margin-top:0}
  .det{padding:12px 14px}
  .sel{margin-left:calc(-1*var(--gut));margin-right:calc(-1*var(--gut));padding:10px var(--gut) 12px}
  .sel-h{gap:10px}
  .sel-sum{flex-direction:column;gap:0}
  .sel-t{font-size:16px}
  .sel-c{font-size:14px}
  .sel.stuck:not(.open) .sel-t{display:none}
  .sel.stuck:not(.open) .sel-c{display:flex;flex-direction:column;font-size:15px}
  .sel.stuck:not(.open) .sel-n{font-weight:700;color:var(--ink)}
  .sel.stuck:not(.open) .dotsep{display:none}
  .sel.stuck.open .sel-body{max-height:56vh;overflow:auto}
  .sel-need{width:100%;margin:4px 0 0}
  .sel-x{gap:6px}
  .sel-x .clear{display:none}
  .sel.stuck .sel-more{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;padding:0 6px;font-size:15px}
  .btn.sel-next{height:44px;padding:0 13px}
  .sel.stuck:not(.open) .sel-body{display:none}
  .sel.stuck .chips{max-height:none;overflow:visible}
  .sel-foot{display:block;margin:12px 0 0}
  .chip{min-height:44px;padding-left:12px}
  .chip .x{width:44px;height:44px}
}
.seg.sub{margin:0 0 18px;gap:6px 18px}
.seg.sub button{font-size:15px}
/* Mods tab: which machine receives the firmware (always the Model:Cycles OS, notes/57) */
.mach-q{margin:0 0 8px;font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.mach-pane{margin:0 0 22px;padding:0 0 18px;border-bottom:1px solid var(--line)}
.mach-credit{margin:0 0 14px}


/* Présentation Supermodel : même moteur de choix, interface plus compacte. */
.design-preview{padding:8px 20px;text-align:center;background:#242424;color:#fff;font:700 11px/1.4 system-ui;letter-spacing:.12em}
.edition-mini{font-size:12px;padding:2px 5px;border:1px solid currentColor;margin-left:8px}
.edition-eyebrow{font-size:11px;font-weight:700;letter-spacing:.16em;color:var(--red);margin:18px 0 12px}
.supermodel h1{font-size:clamp(30px,4vw,48px);letter-spacing:-.035em;line-height:1.04;margin-bottom:18px}
.supermodel h1 span{font-size:.72em;font-weight:500}
.supermodel .mods-lede{font-size:14px;line-height:1.45;max-width:64ch}
.supermodel .grp{margin-top:18px}
.supermodel .grp-h{min-height:39px;padding:8px 0}
.supermodel .grp-h .gt{font-size:15px;letter-spacing:.02em}
.supermodel .grp-h .ic{width:17px;height:17px}
.supermodel .grp-h .gs{font-size:12px}
.supermodel .mod-row{grid-template-columns:18px minmax(0,1fr) max-content;grid-template-areas:"key ttl tag" "key short short";gap:2px 10px;padding:9px 85px 9px 0;min-height:48px}
.supermodel .mod-row>input{width:18px;height:18px;border-radius:3px;margin-top:1px}
.supermodel .ttl{font-size:14px;line-height:1.3}
.supermodel .short{font-size:12px;line-height:1.4;-webkit-line-clamp:1;color:var(--muted)}
.supermodel .mod-row .by{display:none}
.supermodel .st .tag{font-size:10px;padding:2px 5px}
.supermodel .more{top:8px;height:28px;font-size:11px;padding:0 4px;gap:4px}
.supermodel .ext{padding-left:28px}
.supermodel .parts,.supermodel .also,.supermodel .combo.quiet{display:none}
.supermodel .mod:has(.more[aria-expanded="true"]) .parts,.supermodel .mod:has(.more[aria-expanded="true"]) .also{display:block}
.supermodel .say{font-size:12px;line-height:1.4}
.supermodel .mod.on{background:linear-gradient(90deg,rgba(185,38,33,.035),transparent)}
.supermodel .mod.on .nm{color:var(--red)}
.supermodel .det{font-size:13px;line-height:1.5}
@media(max-width:620px){.supermodel .grp-h .gs{display:none}.supermodel .mod-row{padding-right:67px}.supermodel .short{-webkit-line-clamp:2}.supermodel .ttl{font-size:13px}}

.supermodel .pads{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.supermodel .pad{display:grid;grid-template-columns:18px 1fr auto;align-items:center;gap:6px;padding:10px 0;min-height:0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}.supermodel .pad input{position:static;appearance:auto;opacity:1;width:16px;height:16px}.supermodel .pad small:not(.pl){display:none}.supermodel .pad b{font-size:13px}.supermodel .pad .pl{font-size:11px}@media(max-width:620px){.supermodel .pads{grid-template-columns:1fr}}

/* Disposition conforme à la maquette : grille 3/1, étapes et liste sobre. */
body.supermodel{--paper:#f5f4f0;--casing:#eeece6;--line:#d6d2ca;--line-2:#c8c5bd;--red:#b32625;--ink:#252525;--muted:#6c6861;background:var(--paper)}
.supermodel .wrap{max-width:1280px;padding-left:64px;padding-right:64px}
.supermodel .top{min-height:110px;border-bottom:1px solid var(--line-2);gap:20px}.supermodel .brand{text-transform:uppercase;font-size:20px}.supermodel .site-nav{margin-left:auto}.supermodel .site-nav a:first-child,.supermodel .site-nav a:nth-child(n+4){display:none}
.supermodel .fl-head{display:block;padding:32px 0 34px}.supermodel .fl-head .edition-eyebrow{font-size:14px;letter-spacing:.1em;margin:0 0 19px;color:var(--red)}
.supermodel h1{font-size:48px;line-height:1.15;letter-spacing:-.03em;margin:0 0 20px}.supermodel h1 span{font-size:39px;font-weight:400}.supermodel .fl-head p.super-tagline{max-width:none;font-size:19px;color:var(--muted)}.supermodel .ver{display:none}
.build-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin:0 0 36px}.build-steps a{display:flex;gap:22px;align-items:center;padding:17px 18px;border:1px solid var(--line);border-radius:6px;background:var(--casing);font-size:18px;font-weight:600;text-decoration:none;color:var(--muted)}.build-steps .active{background:#252525;color:white;border-color:#252525}
.supermodel #step-choose{padding:0;border:0}.supermodel #step-choose>header{display:none}.supermodel #step-choose>.step-body>.seg,.supermodel .mach-q,.supermodel .seg.sub,.supermodel .mods-lede{font-size:13px}.supermodel #step-choose>.step-body>.seg{margin:0 0 10px}.supermodel .mach-q{display:inline-block;margin:0 12px 8px 0}.supermodel .seg.sub{display:inline-flex;margin-bottom:16px}.supermodel .seg.sub button{font-size:13px}
.super-search{display:flex;position:relative;width:calc(100% - 310px);height:60px;background:#fff;border:1px solid var(--line);border-radius:6px;margin:0 0 18px;padding:10px 12px;gap:12px}.supermodel .find{flex:1;min-width:0;margin:0}.supermodel .find input{height:38px;border:0;background:transparent;padding-left:28px;font-size:17px}.supermodel .find .mag{left:0;top:10px}.super-search select{max-width:182px;border:0;border-radius:5px;background:var(--casing);padding:8px;font:14px var(--f);color:var(--ink)}
.super-toolbar{display:flex;align-items:center;gap:25px;width:calc(100% - 310px);height:50px;padding:0 18px;border:1px solid var(--line);border-radius:6px;background:var(--casing);margin-bottom:26px}.super-toolbar strong{margin-right:auto;font-size:15px}.super-toolbar button{border:0;padding:0;background:none;font:14px var(--f);cursor:pointer;color:var(--ink)}.super-toolbar #select-all{color:var(--red);font-weight:700}.supermodel #select-all-note{font-size:12px;margin:0 0 8px;max-width:72ch}
.super-columns{display:grid;grid-template-columns:minmax(0,1fr) 276px;gap:34px;align-items:start}.super-sidebar{background:#fff;border:1px solid var(--line);border-radius:6px;padding:20px;position:sticky;top:24px;margin-top:-158px}.super-machine>span{font-size:14px;font-weight:700}.super-machine h3{font-size:23px;margin:22px 0 20px}.supermodel .sel,.supermodel .js-sticky .sel{position:static!important;border:0;margin:0;padding:0;background:transparent}.supermodel .sel-h,.supermodel .sel-sum{display:block}.supermodel .sel-t,.supermodel .sel-x .clear,.supermodel .sel-more,.supermodel .sel-foot{display:none}.supermodel .sel-c{display:block;color:var(--red);font-size:19px}.supermodel .sel-body,.supermodel .sel.stuck:not(.open) .sel-body{display:block!important;max-height:none;overflow:visible}.supermodel .chips{display:block;margin:24px 0}.supermodel .chip{display:flex;background:none;padding:4px 0;font-size:14px;min-height:29px;border-radius:0}.supermodel .chip:before{content:'+';margin-right:4px}.supermodel .chip .x{margin-left:auto;width:20px;height:20px}.supermodel .chip .ci{font-size:11px}.supermodel .sel-next{position:static;display:block;background:#252525;color:white;border:0;border-radius:5px;text-align:center;margin-top:20px;padding:10px;font-size:15px}.supermodel .sel-x{display:flex;flex-direction:column}.supermodel .sel-h{display:flex;flex-direction:column}.supermodel .sel-x{order:2}.supermodel .sel-next{position:absolute;bottom:20px;left:20px;right:20px}.supermodel .sel{padding-bottom:62px}.supermodel .sel-none{font-size:14px}
.supermodel .grp{margin:0 0 26px}.supermodel .grp-h{border-top:0;border-bottom:1px solid #aaa69d;padding:0 0 14px;min-height:34px;gap:8px}.supermodel .grp-h .gt{text-transform:uppercase;font-size:16px;letter-spacing:.02em}.supermodel .grp-h .ic,.supermodel .grp-h .gs{display:none}.supermodel .grp-h[aria-expanded=false]{padding:12px 18px;background:var(--casing);border:1px solid var(--line);border-radius:6px}.supermodel .grp-h .gn{font-size:13px}.supermodel .grp-body{border-top:0}.supermodel .mod{border-bottom:1px solid var(--line)}.supermodel .mod-row{padding:10px 85px 10px 16px;grid-template-columns:20px minmax(0,1fr) 66px;gap:3px 13px;min-height:60px}.supermodel .ttl{font-size:18px}.supermodel .short{font-size:13px}.supermodel .mod-row>input{appearance:auto;-webkit-appearance:auto;background:white;box-shadow:none;accent-color:var(--red);width:20px;height:20px}.supermodel .more{top:13px;right:12px}.supermodel .mod.on{background:#f0e9e3}.supermodel .tag{font-size:10px!important}.supermodel .ext{padding-left:49px}.supermodel .say{font-size:12px}
.supermodel .super-save-note{font-size:12px;margin:0 0 18px;padding:10px 14px}.supermodel #cats{display:none}.supermodel .found{width:calc(100% - 310px)}
@media(max-width:1000px){.supermodel .wrap{padding-left:28px;padding-right:28px}.build-steps{gap:10px}.build-steps a{font-size:15px;gap:12px}.super-columns{grid-template-columns:minmax(0,1fr) 240px;gap:22px}.super-search,.super-toolbar,.supermodel .found{width:calc(100% - 262px)}.supermodel .ttl{font-size:15px}.super-toolbar{gap:14px}}
@media(max-width:760px){.supermodel .wrap{padding-left:20px;padding-right:20px}.supermodel h1{font-size:34px}.supermodel h1 span{font-size:28px}.build-steps{grid-template-columns:repeat(2,1fr)}.super-columns{grid-template-columns:1fr}.super-sidebar{position:static;margin:0}.super-search,.super-toolbar,.supermodel .found{width:100%}.supermodel .top{flex-wrap:wrap;min-height:80px}.supermodel .fl-head{padding-top:25px}.super-search select{max-width:135px}.supermodel .mod-row{padding-left:8px}.supermodel .sel-next{position:static}.supermodel .sel{padding-bottom:0}}

.supermodel .sel-next{display:none}.super-next{display:block;text-align:center;background:#252525;color:#fff;border-radius:5px;padding:10px;font-size:15px;text-decoration:none;margin-top:20px}.supermodel .sel{padding-bottom:0}.super-advanced{font-size:13px;border-top:1px solid var(--line);margin:20px 0;padding:14px 0}.super-advanced summary{cursor:pointer;color:var(--muted);margin-bottom:14px}.super-advanced>.seg{margin-top:12px}.supermodel .super-save-note{margin-top:18px}.supermodel .mod.on:before{display:none}body.supermodel[data-theme="dark"]{--paper:#f5f4f0;--ink:#252525}
