@font-face{font-family:'Ultra';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/ultra.woff2) format('woff2')}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/montserrat-400.woff2) format('woff2')}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/montserrat-500.woff2) format('woff2')}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/montserrat-600.woff2) format('woff2')}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/montserrat-700.woff2) format('woff2')}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/montserrat-800.woff2) format('woff2')}
:root{
  --coal:#191717; --coal2:#25221F; --coal3:#36312B;
  --wool:#FFF0C1; --wool2:#F2DDA2;
  --page:#F7EEDA; --paper:#FFFBF1; --sunk:#EFE3C6; --line:#E3D3AE; --line2:#CDB98E;
  --ink:#191717; --ink2:#3D3731; --muted:#6B604F; --brass:#7A4F17;
  --gold:#FFF0C1; --gold2:#F2DDA2; --goldsoft:#F1E4C3;
  --go:#1C7C43; --gobg:#E2F1E4; --wait:#C2610C; --waitbg:#FBE8D2; --done:#BE3329; --donebg:#F9E0DB;
  --r1:8px; --r2:12px; --r3:16px; --r4:22px;
  --hd:'Ultra',Georgia,'Times New Roman',serif;
  --bd:'Montserrat',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --safe:env(safe-area-inset-bottom,0px);
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--page);color:var(--ink);font:500 15.5px/1.55 var(--bd);-webkit-font-smoothing:antialiased;font-variant-numeric:lining-nums;overscroll-behavior-y:none}
body.locked{overflow:hidden}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
input,select,textarea{font:inherit;color:inherit}
img{display:block;max-width:100%}
a{color:var(--brass)}
h1,h2,h3,h4,p{margin:0}
:focus-visible{outline:3px solid var(--wait);outline-offset:2px}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
.crest{display:block;height:auto}

/* boutons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:50px;padding:8px 20px;border-radius:var(--r2);font-weight:700;font-size:15px;line-height:1.25;text-align:center;
  background:var(--paper);border:1.5px solid var(--line2);color:var(--ink);transition:background .15s,border-color .15s,transform .1s;text-decoration:none}
.btn:hover{border-color:var(--ink)}
.btn:active{transform:scale(.985)}
.btn[disabled]{opacity:.45;cursor:not-allowed;transform:none}
.btn-gold{background:var(--coal);border-color:var(--coal);color:var(--wool)}
.btn-gold:hover{background:var(--coal3);border-color:var(--coal3)}
.btn-ink{background:var(--coal);border-color:var(--coal);color:var(--wool)}
.btn-go{background:var(--go);border-color:var(--go);color:#fff}
.btn-wait{background:var(--wait);border-color:var(--wait);color:#fff}
.btn-wait:hover{background:#A9530A;border-color:#A9530A}
.btn-done{background:var(--done);border-color:var(--done);color:#fff}
.btn-done:hover{background:#A32A21;border-color:#A32A21}
.btn-ghost{background:transparent;border-color:var(--line2);color:var(--ink2)}
.btn-ghost:hover{border-color:var(--ink);color:var(--ink)}
.btn-danger{background:transparent;border-color:#E2B0A8;color:var(--done)}
.btn-danger:hover{background:var(--donebg);border-color:var(--done)}
.btn-lg{min-height:58px;font-size:16.5px;padding:9px 24px}
.btn-sm{min-height:40px;font-size:13.5px;padding:6px 14px;white-space:nowrap}
.btn-block{width:100%}
.btn .ic{display:inline-grid;place-items:center;flex:0 0 auto}
.btn-send{white-space:normal}
.send-txt{display:flex;flex-direction:column;align-items:flex-start;line-height:1.25;text-align:left;min-width:0}
.send-txt b{font-weight:800}
.send-txt small{font-size:12.5px;font-weight:600;opacity:.75}
/* sur fond charbon, le bouton principal passe en crème */
.bar .btn-gold,.nudge .btn-gold,.inbox .btn-gold,.login .btn-gold{background:var(--wool);border-color:var(--wool);color:var(--coal)}
.bar .btn-gold:hover,.nudge .btn-gold:hover,.inbox .btn-gold:hover{background:var(--wool2);border-color:var(--wool2)}

.input{width:100%;min-height:50px;padding:12px 15px;border-radius:var(--r2);background:#fff;border:1.5px solid var(--line2);color:var(--ink)}
.input:focus{outline:none;border-color:var(--ink)}
.input::placeholder{color:#9A8E78}
textarea.input{min-height:86px;resize:vertical;line-height:1.45}
select.input{appearance:none;padding-right:42px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23191717' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center}
.field{display:block;margin:0 0 16px}
.field>span{display:block;font-size:13.5px;font-weight:700;color:var(--ink2);margin-bottom:7px}
.row{display:flex;gap:10px;align-items:center}
.grow{flex:1;min-width:0}
.lead{color:var(--ink2);line-height:1.6;font-size:15px}
.muted{color:var(--muted)}
.kicker{display:block;font-size:13px;font-weight:700;color:var(--brass)}
.price{font-family:var(--bd);font-weight:700;font-size:16px;color:var(--ink);white-space:nowrap;font-variant-numeric:lining-nums tabular-nums}

.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{display:inline-flex;align-items:center;gap:7px;min-height:46px;padding:0 17px;border-radius:999px;border:1.5px solid var(--line2);background:var(--paper);color:var(--ink);font-size:14.5px;font-weight:600;transition:background .12s,border-color .12s}
.chip:hover{border-color:var(--ink)}
.chip[aria-pressed="true"]{background:var(--coal);border-color:var(--coal);color:var(--wool)}
.chip small{font-size:12.5px;color:inherit;opacity:.75}
.chip-sm{min-height:38px;padding:0 13px;font-size:13.5px}

.tag{display:inline-flex;align-items:center;padding:3px 8px;border-radius:6px;font-size:11.5px;font-weight:700;white-space:nowrap}
.tag-limousine{background:#F4DEDB;color:#7E2620}
.tag-maison,.tag-vege{background:#E1EDD7;color:#3A5E22}
.tag-local{background:#F4E2CF;color:#8A4716}
.tag-virgin{background:#E3E9EF;color:#354A5F}
.tag-out{background:var(--sunk);color:var(--muted)}

.qty{display:inline-flex;align-items:center;border:1.5px solid var(--line2);border-radius:999px;background:var(--paper)}
.qty button{width:46px;height:46px;font-size:22px;font-weight:700;color:var(--ink);display:grid;place-items:center;border-radius:999px}
.qty button:hover{background:var(--sunk)}
.qty button[disabled]{color:#C3B79F}
.qty span{min-width:30px;text-align:center;font-weight:800;font-size:16px}
.qty-sm button{width:38px;height:38px;font-size:19px}
.qty-sm span{min-width:24px;font-size:15px}

#toasts{position:fixed;left:50%;transform:translateX(-50%);top:calc(12px + env(safe-area-inset-top,0px));z-index:9000;display:flex;flex-direction:column;gap:8px;align-items:center;width:min(92vw,460px);pointer-events:none}
.toast{background:var(--coal);color:var(--wool);padding:13px 18px;border-radius:var(--r2);font-size:14.5px;font-weight:600;text-align:center;box-shadow:0 10px 30px rgba(25,23,23,.25);animation:tin .22s ease;transition:opacity .2s,transform .2s}
.toast.out{opacity:0;transform:translateY(-8px)}
.toast-ok{background:var(--go);color:#fff}
.toast-err{background:var(--done);color:#fff}
@keyframes tin{from{opacity:0;transform:translateY(-10px)}}

.ov{position:fixed;inset:0;z-index:8000;background:rgba(25,23,23,.55);display:flex;align-items:flex-end;justify-content:center;animation:fade .16s ease;transition:opacity .16s}
.ov.out{opacity:0}
@media(min-width:760px){.ov{align-items:center;padding:24px}}
@keyframes fade{from{opacity:0}}
.sheet{width:100%;max-width:560px;max-height:93vh;display:flex;flex-direction:column;background:var(--paper);border-radius:var(--r4) var(--r4) 0 0;box-shadow:0 -10px 40px rgba(25,23,23,.2);animation:up .24s cubic-bezier(.2,.8,.25,1)}
@media(min-width:760px){.sheet{border-radius:var(--r4);max-height:88vh}}
.sheet-s{max-width:440px}.sheet-m{max-width:600px}.sheet-l{max-width:820px}.sheet-xl{max-width:1100px}
@keyframes up{from{transform:translateY(28px);opacity:.4}}
.sheet-hd{display:flex;align-items:flex-start;gap:14px;padding:22px 22px 14px}
.sheet-ttl{flex:1;min-width:0}
.sheet-ttl h3{font-family:var(--hd);font-size:25px;font-weight:400;line-height:1.2;margin-top:3px}
.sheet-bd{flex:1;overflow-y:auto;padding:4px 22px 22px;-webkit-overflow-scrolling:touch}
.sheet-ft{display:flex;gap:10px;align-items:center;padding:14px 22px calc(16px + var(--safe));border-top:1px solid var(--line);background:var(--paper);border-radius:0 0 var(--r4) var(--r4)}
.sheet-ft:empty{display:none}
.x{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--sunk);color:var(--ink);flex:0 0 auto}
.x:hover{background:var(--line)}

.note{border-radius:var(--r2);padding:14px 16px;font-size:14.5px;line-height:1.55;margin:0 0 16px;background:var(--sunk);color:var(--ink2)}
.note b{color:var(--ink)}
.note-gold{background:var(--goldsoft)}
.note-warn{background:var(--waitbg);color:#6E3A08}
.note-err{background:var(--donebg);color:#7A1F18}
.note-ok{background:var(--gobg);color:#174D2C}

.boot{min-height:100vh;display:grid;place-items:center;background:var(--coal)}
.boot-mark{width:min(46vw,220px);animation:breathe 1.8s ease-in-out infinite}
@keyframes breathe{50%{opacity:.45}}
@keyframes pulse{50%{opacity:.35}}
.screen-msg{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:40px 22px;text-align:center}
.screen-msg h1{font-family:var(--hd);font-size:28px;font-weight:400}
.screen-msg .lead{max-width:460px}
.msg-crest{width:170px;opacity:.9}

/* écusson de table, d'après le blason */
.shield{position:relative;width:78px;height:91px;flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-top:2px;color:var(--coal)}
.shield-bg{position:absolute;inset:0}
.shield-bg svg{width:100%;height:100%;display:block}
.shield .sh-out{fill:var(--wool)}
.shield .sh-in{fill:none;stroke:var(--coal);stroke-width:2.6}
.shield small{position:relative;font-size:9.5px;font-weight:800;letter-spacing:.04em;margin-top:-6px}
.shield b{position:relative;font-family:var(--hd);font-weight:400;font-size:31px;line-height:1;margin-top:1px}
.shield.mid b{font-size:24px}
.shield.long b{font-size:13.5px;margin-top:4px}

/* client */
.cl{min-height:100vh;display:flex;flex-direction:column;padding-bottom:calc(110px + var(--safe))}
.cl-hero{background:var(--coal);color:var(--wool);padding:16px 16px 18px;border-bottom:4px double rgba(255,240,193,.55)}
.cl-hero-in{max-width:1200px;margin:0 auto;display:flex;align-items:center;gap:14px}
.cl-crest{width:122px;flex:0 0 auto}
.cl-brand{flex:1;min-width:0}
.cl-brand h1{font-family:var(--hd);font-weight:400;font-size:25px;line-height:1.1;color:var(--wool)}
.cl-brand p{font-size:13px;font-weight:600;color:rgba(255,240,193,.72);margin-top:5px}
.demo-back{position:fixed;right:12px;bottom:calc(92px + var(--safe));z-index:650;background:var(--wool);color:var(--coal);font-weight:800;font-size:13px;padding:9px 14px;border-radius:999px;text-decoration:none;box-shadow:0 4px 14px rgba(25,23,23,.3)}

.cl-nav{position:sticky;top:0;z-index:300;background:rgba(247,238,218,.97);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.cl-nav-in{max-width:1200px;margin:0 auto;padding:12px 16px 0}
.cl-tools{display:flex;gap:8px;align-items:center}
.search{position:relative;flex:1;min-width:0;display:block}
.search .input{padding-left:44px;min-height:46px;border-radius:999px;background:var(--paper)}
.search span{position:absolute;left:16px;top:50%;transform:translateY(-50%);color:var(--muted);pointer-events:none;display:grid}
.filt{display:flex;gap:6px}
.filt .chip{min-height:46px;font-size:13.5px;padding:0 13px}
.railchips{display:flex;gap:8px;overflow-x:auto;padding:12px 0 0;scrollbar-width:none}
.railchips::-webkit-scrollbar{display:none}
.railchips .chip{flex:0 0 auto;min-height:42px}
.tabs{display:flex;gap:2px;overflow-x:auto;scrollbar-width:none;margin-top:4px}
.tabs::-webkit-scrollbar{display:none}
.tab{flex:0 0 auto;padding:13px 12px 12px;font-size:14.5px;font-weight:600;color:var(--muted);border-bottom:3px solid transparent;white-space:nowrap}
.tab:hover{color:var(--ink)}
.tab[aria-current="true"]{color:var(--ink);border-bottom-color:var(--coal);font-weight:800}
@media(min-width:1000px){.railchips{display:none}}

.cl-main{max-width:1200px;margin:0 auto;width:100%;padding:24px 16px 0;display:grid;gap:34px;grid-template-columns:1fr;align-items:start}
@media(min-width:1000px){.cl-main{grid-template-columns:210px 1fr}}
.rail{display:none}
@media(min-width:1000px){
  .rail{display:block;position:sticky;top:140px}
  .rail h4{font-family:var(--hd);font-weight:400;font-size:20px;margin:0 0 10px 12px}
  .rail button{display:flex;align-items:center;gap:11px;width:100%;padding:12px;border-radius:var(--r2);color:var(--ink2);font-size:15.5px;font-weight:600;text-align:left;margin-bottom:2px}
  .rail button:hover{background:var(--sunk);color:var(--ink)}
  .rail button[aria-current="true"]{background:var(--coal);color:var(--wool)}
  .rail .sep{height:1px;background:var(--line);margin:12px}
}
.rail-ico{width:22px;text-align:center;display:inline-grid;place-items:center}
.badge{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 7px;border-radius:999px;background:var(--coal);color:var(--wool);font-size:11.5px;font-weight:800;margin-left:auto}
[aria-current="true"] .badge,[aria-pressed="true"] .badge{background:var(--wool);color:var(--coal)}

.sec{margin-bottom:44px;scroll-margin-top:150px}
.sec-hd{display:flex;align-items:baseline;gap:12px}
.sec-hd h2{font-family:var(--hd);font-weight:400;font-size:31px;line-height:1.15}
.sec-hd .rule{display:none}
.count{font-size:13px;font-weight:700;color:var(--muted)}
.sec-sub{font-size:14px;font-weight:700;color:var(--brass);margin-top:4px}
.sec-note{font-size:14px;color:var(--muted);margin-top:2px}
.sec-foot{font-size:13.5px;color:var(--muted);line-height:1.6;margin-top:14px;max-width:70ch}
.cards{display:grid;gap:12px;margin-top:18px;grid-template-columns:1fr}
@media(min-width:720px){.cards{grid-template-columns:1fr 1fr;gap:14px}}

.card{display:flex;width:100%;padding:0;text-align:left;background:var(--paper);border:1px solid var(--line);border-radius:var(--r3);overflow:hidden;min-height:132px;transition:border-color .14s}
.card:hover{border-color:var(--ink)}
.card.off{opacity:.55}
.card-img{width:112px;flex:0 0 112px;position:relative;background:var(--goldsoft);display:grid;place-items:center}
.card-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ph{display:block;width:76%;height:76%;background:url(../img/blc-ink-s.webp) center/contain no-repeat;opacity:.16}
@media(min-width:720px){.card-img{width:132px;flex-basis:132px}}
.card-bd{flex:1;min-width:0;padding:14px 14px 12px 16px;display:flex;flex-direction:column;gap:6px}
.card-nm{font-size:16.5px;font-weight:800;line-height:1.25;color:var(--ink)}
.card-tags{display:flex;flex-wrap:wrap;gap:5px}
.card-desc{font-size:13.5px;color:var(--muted);line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.card-ft{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:4px}
.card-prices{display:flex;gap:14px;flex-wrap:wrap;align-items:baseline}
.card-prices small{font-size:12.5px;color:var(--muted);margin-right:4px;font-weight:600}
.card-add{width:40px;height:40px;border-radius:50%;background:var(--coal);color:var(--wool);display:grid;place-items:center;flex:0 0 auto}
.empty{text-align:center;padding:48px 20px;color:var(--muted)}
.empty h3{font-family:var(--hd);font-weight:400;font-size:23px;color:var(--ink);margin-bottom:8px}

.item-hero{margin:0 -22px 18px;height:220px;background:var(--goldsoft);display:grid;place-items:center}
.item-hero img{width:100%;height:100%;object-fit:cover}
.optgrp{margin-bottom:22px}
.optgrp-hd{display:flex;align-items:baseline;gap:10px;margin-bottom:10px}
.optgrp-hd h4{font-size:15.5px;font-weight:800}
.optgrp-hd em{font-style:normal;font-size:12.5px;font-weight:700;color:var(--brass)}
.optgrp-hd em.opt{color:var(--muted)}
.when{display:grid;gap:8px}
.when button{display:flex;align-items:center;gap:12px;text-align:left;padding:13px 15px;border-radius:var(--r2);border:1.5px solid var(--line2);background:var(--paper)}
.when button[aria-pressed="true"]{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.when .dot{width:22px;height:22px;border-radius:50%;border:2px solid var(--line2);flex:0 0 auto;display:grid;place-items:center}
.when button[aria-pressed="true"] .dot{border-color:var(--ink)}
.when button[aria-pressed="true"] .dot::after{content:'';width:11px;height:11px;border-radius:50%;background:var(--ink)}
.when b{display:block;font-size:15.5px;font-weight:700}
.when small{display:block;font-size:13.5px;color:var(--muted)}
.info-line{display:flex;gap:10px;align-items:flex-start;font-size:14.5px;color:var(--ink2);background:var(--sunk);border-radius:var(--r2);padding:13px 15px;margin-bottom:18px;line-height:1.5}
.info-line .ic{color:var(--brass);margin-top:2px}

.bar{position:fixed;left:0;right:0;bottom:0;z-index:600;background:var(--coal);color:var(--wool);padding:12px 16px calc(12px + var(--safe));border-top:4px double rgba(255,240,193,.45)}
.bar-in{max-width:1200px;margin:0 auto;display:flex;gap:12px;align-items:center}
.bar-info{flex:1;min-width:0}
.bar-info b{display:block;font-size:15.5px;font-weight:800;line-height:1.25}
.bar-info span{display:block;font-size:13px;color:rgba(255,240,193,.7);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bar-ico{width:46px;height:46px;border-radius:50%;background:var(--coal3);color:var(--wool);display:grid;place-items:center;position:relative;flex:0 0 auto}
.bar-ico i{position:absolute;top:-3px;right:-3px;font-style:normal;min-width:21px;height:21px;border-radius:999px;background:var(--wool);color:var(--coal);font-size:11.5px;font-weight:800;display:grid;place-items:center;padding:0 5px}
.bar .btn-ghost{border-color:rgba(255,240,193,.4);color:var(--wool)}
.bar .btn-ghost:hover{border-color:var(--wool)}
.offline{position:sticky;top:0;z-index:700;background:var(--wait);color:#fff;font-size:14px;font-weight:700;text-align:center;padding:10px 16px;display:flex;align-items:center;justify-content:center;gap:9px}
.cl-foot{max-width:1200px;margin:36px auto 0;padding:26px 16px 12px;border-top:1px solid var(--line);display:grid;gap:22px;grid-template-columns:1fr;color:var(--muted);font-size:14px}
@media(min-width:720px){.cl-foot{grid-template-columns:1fr 1fr}}
.cl-foot h4{font-family:var(--hd);font-weight:400;font-size:19px;color:var(--ink);margin-bottom:6px}
.cl-foot dl{display:grid;grid-template-columns:1fr auto;gap:4px 14px;margin:0}
.cl-foot dt{color:var(--ink2)}.cl-foot dd{margin:0;text-align:right}

.guests{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.guest{display:inline-flex;align-items:center;gap:7px;padding:7px 12px;border-radius:999px;background:var(--sunk);font-size:13.5px;font-weight:700;color:var(--ink2)}
.guest.ok{background:var(--gobg);color:var(--go)}
.guest.me{box-shadow:inset 0 0 0 1.5px var(--ink)}
.guest i{width:8px;height:8px;border-radius:50%;background:#B5A88E}
.guest.ok i{background:var(--go)}
.bgroup{margin-bottom:18px}
.bgroup-hd{display:flex;align-items:center;gap:10px;margin-bottom:2px}
.bgroup-hd h4{font-family:var(--hd);font-weight:400;font-size:20px}
.bgroup-hd .rule{flex:1;height:1px;background:var(--line)}
.bline{display:flex;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}
.bline:last-child{border-bottom:0}
.bline-bd{flex:1;min-width:0}
.bline-nm{font-size:15.5px;font-weight:700}
.bline-op{font-size:13.5px;color:var(--brass);font-weight:700;margin-top:2px}
.bline-nt{font-size:13.5px;color:var(--muted);font-style:italic;margin-top:2px}
.bline-who{font-size:12.5px;font-weight:700;color:var(--muted);margin-top:4px}
.bline-who.me{color:var(--ink)}
.bline-rt{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex:0 0 auto}
.bline .svc{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}
.timing{border:1.5px solid var(--line2);border-radius:var(--r2);padding:14px;margin:6px 0 16px;display:flex;flex-direction:column;gap:12px;background:#fff}
.timing-hd b{display:block;font-size:15.5px;font-weight:800}
.timing-hd span{display:block;font-size:13.5px;color:var(--muted);margin-top:2px}
.seg2{display:flex;background:var(--sunk);border-radius:999px;padding:4px;gap:4px}
.seg2 button{flex:1;min-height:42px;border-radius:999px;font-weight:700;font-size:14.5px;color:var(--ink2)}
.seg2 button[aria-pressed="true"]{background:var(--coal);color:var(--wool)}
.choice{display:flex;flex-direction:column;gap:10px}
.choice-btn{display:block;width:100%;text-align:left;padding:15px 17px;border-radius:var(--r2);border:1.5px solid var(--line2);background:var(--paper);transition:border-color .12s}
.choice-btn:hover{border-color:var(--ink)}
.choice-btn:first-child{background:var(--coal);border-color:var(--coal);color:var(--wool)}
.choice-btn:first-child small{color:rgba(255,240,193,.75)}
.choice-btn b{display:block;font-size:16.5px;font-weight:800}
.choice-btn small{display:block;font-size:13.5px;color:var(--ink2);margin-top:3px;line-height:1.4}
.bump{animation:bump .5s ease}
@keyframes bump{40%{transform:scale(1.18)}}
.tot{display:flex;justify-content:space-between;align-items:baseline;border-top:2px solid var(--ink);padding-top:14px;margin-top:6px}
.tot span{font-size:15.5px;font-weight:700}
.tot b{font-size:23px;font-weight:800;font-variant-numeric:lining-nums tabular-nums}
.ready-box{display:flex;gap:14px;align-items:center;padding:15px 16px;border-radius:var(--r2);background:var(--sunk);margin:18px 0 6px}
.ready-box b{font-size:15.5px}
.ready-box.on{background:var(--gobg)}
.switch{width:54px;height:32px;border-radius:999px;background:#CBBD9E;position:relative;flex:0 0 auto;transition:background .18s}
.switch::after{content:'';position:absolute;top:3px;left:3px;width:26px;height:26px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:left .18s}
.switch[aria-pressed="true"]{background:var(--go)}
.switch[aria-pressed="true"]::after{left:25px}

.trk{display:flex;flex-direction:column;gap:14px}
.trk-hd{display:flex;align-items:baseline;gap:12px;margin-bottom:2px}
.trk-hd h2{font-family:var(--hd);font-weight:400;font-size:28px}
.trk-hd .price{font-size:19px}
.course{background:var(--paper);border:1px solid var(--line);border-radius:var(--r3);overflow:hidden}
.course-hd{display:flex;align-items:center;gap:12px;padding:16px}
.course-ic{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;background:var(--sunk)}
.course-ttl{flex:1;min-width:0}
.course-ttl h3{font-family:var(--hd);font-weight:400;font-size:21px;line-height:1.2}
.course-ttl p{font-size:13.5px;color:var(--muted);margin-top:2px;font-weight:600}
.pill{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;font-size:12.5px;font-weight:800;white-space:nowrap}
.pill i{width:8px;height:8px;border-radius:50%;background:currentColor}
.pill-attente{background:var(--waitbg);color:var(--wait)}
.pill-envoyee,.pill-en_preparation{background:var(--gobg);color:var(--go)}
.pill-envoyee i,.pill-en_preparation i{animation:pulse 1.4s infinite}
.pill-prete{background:var(--coal);color:var(--wool)}
.pill-servie{background:var(--sunk);color:var(--muted)}
.course.s-attente{border-color:#EBC296}
.course.s-prete{border-color:var(--coal);box-shadow:0 0 0 3px var(--goldsoft)}
.course.s-servie .course-ttl h3{color:var(--muted)}
.course-lines{list-style:none;margin:0;padding:0 16px 4px;border-top:1px solid var(--line)}
.course-lines li{display:flex;gap:10px;justify-content:space-between;align-items:flex-start;padding:10px 0;border-bottom:1px solid var(--line);font-size:14.5px}
.course-lines li:last-child{border-bottom:0}
.course-lines .who{font-size:12.5px;color:var(--muted)}
.course-lines .op{font-size:13.5px;color:var(--brass);font-weight:700}
.ls{font-size:12.5px;font-weight:800;white-space:nowrap}
.ls-attente{color:var(--wait)}.ls-envoyee,.ls-en_preparation{color:var(--go)}.ls-prete{color:var(--ink)}.ls-servie{color:var(--muted)}
.course-act{padding:12px 16px 16px;display:flex;gap:9px;flex-wrap:wrap}
.course-act .btn{flex:1 1 220px}
.nudge{background:var(--coal);color:var(--wool);border-radius:var(--r3);padding:20px;display:flex;flex-direction:column;gap:12px}
.nudge h3{font-family:var(--hd);font-weight:400;font-size:24px}
.nudge p{color:rgba(255,240,193,.78);font-size:14.5px}
.nudge .btn-wait{background:var(--wait);border-color:var(--wait)}

/* équipe */
.st{min-height:100vh;display:flex;flex-direction:column}
.top{position:sticky;top:0;z-index:500;display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:8px 14px;background:var(--coal);color:var(--wool);border-bottom:4px double rgba(255,240,193,.4)}
.top-brand{display:block;flex:0 0 auto}
.top-brand .crest{width:64px}
.top-nav{display:flex;gap:4px;flex:1;overflow-x:auto;scrollbar-width:none}
.top-nav::-webkit-scrollbar{display:none}
.top-nav a{padding:10px 15px;border-radius:var(--r2);font-size:14.5px;font-weight:700;color:rgba(255,240,193,.78);text-decoration:none;white-space:nowrap}
.top-nav a:hover{color:var(--wool);background:var(--coal3)}
.top-nav a[aria-current="page"]{background:var(--wool);color:var(--coal)}
.top-nav a.top-client{border:1.5px solid rgba(255,240,193,.45)}
.top-r{display:flex;gap:8px;align-items:center}
.top .btn-ghost{border-color:rgba(255,240,193,.35);color:var(--wool)}
.top .btn-ghost:hover{border-color:var(--wool)}
.clock{font-variant-numeric:tabular-nums;font-size:16px;font-weight:800;padding:0 4px}
.iconbtn{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--paper);border:1.5px solid var(--line2);color:var(--ink2);flex:0 0 auto}
.iconbtn:hover{border-color:var(--ink)}
.top .iconbtn{background:transparent;border-color:rgba(255,240,193,.35);color:var(--wool)}
.top .iconbtn.on{color:#8FE0A9;border-color:rgba(143,224,169,.5)}
.iconbtn.warn,.top .iconbtn.warn{color:#fff;background:var(--wait);border-color:var(--wait);animation:pulse 2s infinite}
.demo-flag{font-size:12px;font-weight:800;color:var(--coal);background:var(--wool);padding:5px 10px;border-radius:999px}
.sync{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:#8FE0A9}
.sync i{width:9px;height:9px;border-radius:50%;background:#4CC27A}
.sync.off{color:#FF9C8F}
.sync.off i{background:var(--done);animation:pulse 1s infinite}
@media(max-width:760px){
  .sync,.clock-wrap,.demo-flag{display:none}
  .top{gap:8px 10px}
  .top-brand .crest{width:52px}
  .top-r{margin-left:auto}
  .top-nav{order:3;flex-basis:100%}
  .side{top:120px;height:calc(100vh - 120px)}
  .kcol-hd{top:120px}
}

/* messages salle / cuisine */
.inbox{display:flex;flex-direction:column;gap:8px;padding:12px 14px 0}
.inbox-item{display:flex;align-items:center;gap:14px;background:var(--coal);color:var(--wool);border-radius:var(--r3);padding:10px 12px 10px 10px;border-left:8px solid var(--wait);animation:ring2 1.2s ease-in-out 3}
@keyframes ring2{50%{box-shadow:0 0 0 6px rgba(194,97,12,.3)}}
.inbox-tbl{background:var(--wool);color:var(--coal);border-radius:var(--r2);min-width:58px;padding:5px 8px;text-align:center;flex:0 0 auto}
.inbox-tbl small{display:block;font-size:10.5px;font-weight:800}
.inbox-tbl b{display:block;font-family:var(--hd);font-weight:400;font-size:26px;line-height:1}
.inbox-item .grow small{display:block;font-size:12.5px;font-weight:700;color:rgba(255,240,193,.7)}
.inbox-item .grow b{display:block;font-size:19px;font-weight:800;line-height:1.25}
.presets{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}
.preset{text-align:left;padding:14px 16px;border-radius:var(--r2);border:1.5px solid var(--line2);background:#fff;font-weight:700;font-size:15.5px}
.preset:hover{border-color:var(--ink)}
.preset:active{background:var(--coal);color:var(--wool)}
.msg-form{display:flex;gap:8px}
.msg-form .btn{min-width:54px;padding:0}
.msg{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:var(--r2);margin-top:8px;background:var(--sunk)}
.msg-bd{flex:1;min-width:0}
.msg-bd small{display:block;font-size:12px;font-weight:700;color:var(--muted)}
.msg-bd b{display:block;font-size:15.5px;font-weight:700;line-height:1.3}
.msg-out{background:#fff;border:1px dashed var(--line2)}
.msg-new{background:var(--waitbg);box-shadow:inset 4px 0 0 var(--wait)}
.msg-st{font-size:12.5px;font-weight:800;color:var(--muted);white-space:nowrap}
.msg-st.ok{color:var(--go)}
.kmsg{border:1.5px solid var(--line2);border-radius:var(--r2);padding:12px 14px;margin-bottom:18px;background:#fff}
.kmsg-hd{display:flex;align-items:center;gap:10px}
.kmsg-hd b{font-family:var(--hd);font-weight:400;font-size:19px}
.tk-msgs{padding:4px 12px 0}
.tk-msgs .msg{background:var(--waitbg)}
.tk-msgs .msg-bd b{font-size:18px;font-weight:800}

.alerts{display:flex;gap:9px;flex-wrap:wrap;padding:12px 14px 0}
.alert{display:inline-flex;align-items:center;gap:10px;min-height:50px;padding:0 18px;border-radius:var(--r2);font-weight:700;font-size:15px}
.alert-call{background:var(--done);color:#fff;animation:ring 1s ease-in-out infinite}
.alert-rel{background:var(--wait);color:#fff}
.alert b{font-family:var(--hd);font-weight:400;font-size:19px}
@keyframes ring{0%,100%{box-shadow:0 0 0 0 rgba(190,51,41,.45)}50%{box-shadow:0 0 0 7px rgba(190,51,41,0)}}

.salle{flex:1;display:grid;grid-template-columns:1fr;align-items:start}
@media(min-width:1100px){.salle{grid-template-columns:minmax(0,1fr) 440px}}
.salle-main{padding:16px 14px 44px;min-width:0}
.seg{display:flex;gap:6px;padding:12px 14px 0}
.seg button{flex:1;min-height:48px;border-radius:var(--r2);border:1.5px solid var(--line2);background:var(--paper);font-weight:700;font-size:14px;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 6px}
.seg button[aria-pressed="true"]{background:var(--coal);border-color:var(--coal);color:var(--wool)}
.seg .n{min-width:22px;height:22px;border-radius:999px;display:grid;place-items:center;font-size:12px;font-weight:800;padding:0 6px}
.seg .n.r{background:var(--done);color:#fff}
.seg .n.g{background:var(--go);color:#fff}
.seg .n.w{background:var(--wait);color:#fff}
@media(min-width:1100px){.seg{display:none}}
.zone{display:flex;align-items:baseline;gap:12px;margin:24px 0 12px}
.zone h3{font-family:var(--hd);font-weight:400;font-size:21px}
.zone .rule{flex:1;height:1px;background:var(--line2)}
.zone small{font-size:13px;color:var(--muted);font-weight:700}
.floor{display:grid;gap:10px;grid-template-columns:repeat(auto-fill,minmax(112px,1fr))}
.tb{position:relative;aspect-ratio:1/.9;border-radius:var(--r3);border:2px solid var(--line);background:var(--paper);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:10px 8px;transition:transform .12s}
.tb:hover{transform:translateY(-2px)}
.tb b{font-family:var(--hd);font-weight:400;font-size:32px;line-height:1}
.tb b.lg{font-size:18px}
.tb small{font-size:12px;font-weight:800;text-align:center;line-height:1.2}
.tb .amt{font-size:12.5px;font-weight:700;color:var(--ink2);font-variant-numeric:tabular-nums}
.tb .cnt{position:absolute;top:8px;left:10px;font-size:11.5px;font-weight:800;color:var(--muted)}
.tb .fl{position:absolute;top:7px;right:8px;display:flex;gap:4px}
.tb .fl span{min-width:22px;height:22px;border-radius:999px;display:grid;place-items:center;font-size:11px;font-weight:800;padding:0 6px}
.tb-libre{background:transparent;border-style:dashed;border-color:var(--line2)}
.tb-libre b,.tb-libre small{color:#A2957B}
.tb-occupee{border-color:var(--coal);background:var(--paper)}
.tb-panier{border-color:var(--coal);border-style:dashed;background:var(--paper)}
.tb-direct{border-color:var(--go);background:var(--gobg)}
.tb-direct small{color:var(--go)}
.tb-suivre{border-color:var(--wait);background:var(--waitbg)}
.tb-suivre small{color:var(--wait)}
.tb-pret{border-color:var(--done);background:var(--done);color:#fff;animation:glow 1.6s ease-in-out infinite}
.tb-pret small,.tb-pret .amt,.tb-pret .cnt{color:#fff}
.tb-appel{border-color:var(--done);background:var(--donebg);animation:ring 1s ease-in-out infinite}
.tb-appel small{color:var(--done)}
@keyframes glow{50%{box-shadow:0 0 0 6px rgba(190,51,41,.18)}}
.fl .f-w{background:var(--wait);color:#fff}
.fl .f-r{background:var(--done);color:#fff}
.fl .f-b{background:var(--coal);color:var(--wool)}
.fl .f-m{background:var(--wait);color:#fff;padding:0 4px!important;animation:pulse 1.2s infinite}
.fl .f-m svg{width:13px;height:13px}

.side{border-left:1px solid var(--line);background:var(--sunk);position:sticky;top:73px;display:none;flex-direction:column;height:calc(100vh - 73px)}
@media(min-width:1100px){.side{display:flex}}
.side.mob{display:flex;position:static;border-left:0;height:auto;background:transparent}
.side-tabs{display:flex;gap:6px;padding:14px 14px 0}
.side-tabs button{flex:1;min-height:48px;border-radius:var(--r2);border:1.5px solid var(--line2);background:var(--paper);font-weight:800;font-size:14px;display:flex;align-items:center;justify-content:center;gap:8px}
.side-tabs button[aria-pressed="true"]{background:var(--coal);border-color:var(--coal);color:var(--wool)}
.side-list{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:12px}
.serve{border-radius:var(--r3);background:var(--paper);overflow:hidden;border:2px solid var(--done)}
.serve-hd{display:flex;align-items:baseline;gap:10px;padding:12px 16px;background:var(--done);color:#fff}
.serve-hd b{font-family:var(--hd);font-weight:400;font-size:23px}
.serve-hd span{font-size:13.5px;font-weight:700}
.serve ul{list-style:none;margin:0;padding:4px 16px}
.serve li{display:flex;gap:10px;align-items:baseline;padding:9px 0;border-bottom:1px solid var(--line);font-size:15.5px;font-weight:600}
.serve li:last-child{border-bottom:0}
.serve li .q{font-weight:800;min-width:26px}
.serve li .st{margin-left:auto;font-size:12.5px;font-weight:800;color:var(--muted)}
.serve-ft{padding:10px 16px 14px}
.claim{border-radius:var(--r3);background:var(--paper);overflow:hidden;border:2px solid #EBC296}
.claim-ready{border-color:var(--wait);box-shadow:0 0 0 4px var(--waitbg)}
.claim-hd{display:flex;gap:14px;align-items:center;padding:12px 16px;background:var(--waitbg)}
.claim-ready .claim-hd{background:var(--wait);color:#fff}
.claim-hd small{display:block;font-size:11.5px;font-weight:800}
.claim-hd b{display:block;font-family:var(--hd);font-weight:400;font-size:34px;line-height:.95}
.claim-hd b.lg{font-size:19px;padding-top:4px}
.claim-ctx{flex:1;min-width:0}
.claim-ctx strong{display:block;font-size:15.5px;font-weight:800}
.claim-ctx span{display:block;font-size:13.5px;font-weight:600;opacity:.9}
.claim ul{list-style:none;margin:0;padding:4px 16px}
.claim li{display:flex;gap:10px;align-items:baseline;padding:8px 0;border-bottom:1px solid var(--line);font-size:15.5px;font-weight:600}
.claim li:last-child{border-bottom:0}
.claim li .q{font-weight:800;min-width:26px}
.claim li .op{color:var(--brass);font-weight:700;font-size:13.5px}
.claim-after{padding:0 16px;font-size:13.5px;color:var(--muted);font-weight:600}

/* cuisine */
.kds{min-height:100vh;display:flex;flex-direction:column;background:#EDE2C6}
.kds-cols{flex:1;display:grid;gap:14px;padding:14px 14px 44px;grid-template-columns:1fr;align-content:start}
@media(min-width:900px){.kds-cols{grid-template-columns:1.2fr 1fr 1fr}}
.kcol{display:flex;flex-direction:column;gap:12px;min-width:0}
.kcol-hd{display:flex;align-items:center;gap:10px;padding:12px 18px;border-radius:var(--r2);position:sticky;top:73px;z-index:5;color:#fff;font-family:var(--hd);font-weight:400;font-size:21px}
.kcol-hd .n{margin-left:auto;min-width:34px;height:34px;border-radius:999px;display:grid;place-items:center;font-family:var(--bd);font-weight:800;font-size:16px;background:rgba(255,255,255,.25)}
.kcol-direct .kcol-hd{background:var(--go)}
.kcol-suivre .kcol-hd{background:var(--wait)}
.kcol-termine .kcol-hd{background:var(--done)}
.kcol-empty{text-align:center;color:var(--muted);padding:26px 0;font-size:14.5px;font-weight:600}

.tk{border-radius:var(--r3);background:var(--paper);overflow:hidden;border:3px solid var(--line2);animation:tkin .3s ease}
@keyframes tkin{from{opacity:0;transform:translateY(-6px)}}
.tk-direct{border-color:var(--go)}
.tk-suivre{border-color:var(--wait)}
.tk-termine{border-color:var(--done)}
.tk-flash{animation:flash 1.1s ease 4}
@keyframes flash{50%{box-shadow:0 0 0 9px rgba(28,124,67,.3)}}
.tk-hd{display:flex;align-items:center;gap:12px;padding:12px 16px;color:#fff}
.tk-direct .tk-hd{background:var(--go)}
.tk-suivre .tk-hd{background:var(--wait)}
.tk-termine .tk-hd{background:var(--done)}
.tk-tbl small{display:block;font-size:12px;font-weight:800;opacity:.9}
.tk-tbl b{display:block;font-family:var(--hd);font-weight:400;font-size:40px;line-height:.95}
.tk-tbl b.lg{font-size:22px;padding-top:4px}
.tk-meta{flex:1;min-width:0;text-align:right}
.tk-time{font-variant-numeric:tabular-nums;font-size:25px;font-weight:800;line-height:1.1}
.tk-meta small{display:block;font-size:13px;font-weight:700;opacity:.92}
.t-ok{color:#fff}
.t-warn{color:#fff;background:rgba(0,0,0,.2);border-radius:8px;padding:0 6px;display:inline-block}
.t-late{color:#fff;background:#7D1710;border-radius:8px;padding:0 6px;display:inline-block;animation:pulse 1s infinite}
.flag{display:inline-block;padding:5px 11px;border-radius:999px;font-size:12px;font-weight:800}
.flag-rel{background:#FFD84D;color:#2B2100;animation:pulse .9s infinite}
.flag-fired{background:#fff;color:var(--go)}
.tk-bd{padding:6px 16px 10px}
.tk-course{display:flex;align-items:center;gap:10px;padding:11px 0 4px;font-size:14px;font-weight:800;color:var(--ink2)}
.tk-course .rule{flex:1;height:1px;background:var(--line)}
.kl{display:flex;align-items:flex-start;gap:12px;width:100%;text-align:left;padding:9px 8px;margin:0 -8px;border-radius:var(--r1)}
.kl:hover{background:var(--sunk)}
.kl-q{min-width:38px;height:38px;border-radius:10px;display:grid;place-items:center;font-weight:800;font-size:20px;flex:0 0 auto;color:#fff}
.kl-bd{flex:1;min-width:0}
.kl-nm{display:block;font-size:19px;font-weight:800;line-height:1.25;color:var(--ink)}
.kl-op{display:block;font-size:16.5px;font-weight:700;color:var(--brass);margin-top:2px}
.kl-nt{display:block;font-size:15.5px;font-weight:800;color:var(--done);margin-top:2px}
.kl-who{display:block;font-size:13.5px;font-weight:700;color:var(--wait);margin-top:2px}
.kl.l-direct .kl-q{background:var(--go)}
.kl.l-suivre .kl-q{background:var(--wait)}
.kl.l-termine .kl-q{background:var(--done)}
.kl.l-termine .kl-nm{text-decoration:line-through;text-decoration-thickness:2px;color:var(--muted)}
.tk-note{margin:10px 0 4px;padding:11px 13px;border-radius:var(--r1);background:var(--donebg);font-size:15.5px;color:#7A1F18;font-weight:800}
.tk-ft{display:flex;gap:9px;padding:10px 16px 16px;align-items:center}
.tk-ft .btn{flex:1}

/* admin, accueil, connexion */
.adm{padding:18px 14px 60px;max-width:1200px;margin:0 auto;width:100%}
.adm-tabs{display:flex;gap:2px;overflow-x:auto;border-bottom:1px solid var(--line2);margin-bottom:24px;scrollbar-width:none}
.adm-tabs::-webkit-scrollbar{display:none}
.irow{display:flex;align-items:center;gap:12px;padding:10px 12px;background:var(--paper);border:1px solid var(--line);border-radius:var(--r2);width:100%}
.irow-img{width:56px;height:56px;border-radius:10px;overflow:hidden;background:var(--goldsoft);display:grid;place-items:center;flex:0 0 auto}
.irow-img img{width:100%;height:100%;object-fit:cover}
.irow-bd{flex:1;min-width:0}
.irow-bd b{display:block;font-size:15.5px;font-weight:700}
.irow-bd span{display:block;font-size:13.5px;color:var(--muted)}
.list{display:flex;flex-direction:column;gap:8px}
.grid2{display:grid;gap:12px;grid-template-columns:1fr}
@media(min-width:760px){.grid2{grid-template-columns:1fr 1fr}}
.qr-grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}
.qr-tile{background:var(--paper);border:1px solid var(--line);border-radius:var(--r3);padding:12px;display:flex;flex-direction:column;gap:10px}
.qr-tile img{width:100%;border-radius:10px;background:var(--coal)}
.hub{min-height:calc(100vh - 73px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:34px;padding:34px 16px}
.hub-crest{width:min(60vw,260px)}
.hub-grid{display:grid;gap:14px;width:min(100%,760px);grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
.hub-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-decoration:none;color:var(--wool);background:var(--coal);border-radius:var(--r3);padding:30px 18px;min-height:170px;border:4px double rgba(255,240,193,.35);transition:transform .12s}
.hub-card:hover{transform:translateY(-3px)}
.hub-card h3{font-family:var(--hd);font-weight:400;font-size:23px;text-align:center}
.hub-ico{width:44px;height:44px;display:block}
.hub-ico svg{width:100%;height:100%}
.hub-card.hub-client{background:var(--wool);color:var(--coal);border-color:var(--coal)}
.login{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;padding:30px 18px;background:var(--coal)}
.login::before{content:'';width:min(64vw,250px);aspect-ratio:772/596;background:url(../img/blc-creme-s.webp) center/contain no-repeat}
.login-box{width:min(100%,400px);background:var(--paper);border-radius:var(--r4);padding:28px 24px}
.login-box h1{font-family:var(--hd);font-weight:400;font-size:25px;text-align:center;margin-bottom:22px}
.login-box .btn-gold{background:var(--coal);border-color:var(--coal);color:var(--wool)}

#print{display:none}
.preset-sub{display:block;font-size:13px;font-weight:600;color:var(--muted);margin-top:2px}
@media print{
  @page{size:A4 portrait;margin:0}
  html,body{background:#fff!important;margin:0}
  body>*:not(#print){display:none!important}
  #print{display:block!important}
  .print-page{display:grid;width:210mm;height:297mm;justify-content:center;align-content:center;break-after:page;overflow:hidden}
  .print-page:last-child{break-after:auto}
  .print-page img{object-fit:contain;display:block}
}

@media(max-width:400px){
  .course-ic{display:none}
  .course-hd{padding:14px}
  .trk-hd h2,.sec-hd h2{font-size:26px}
  .nudge h3{font-size:21px}
  .cl-crest{width:96px}
  .cl-brand h1{font-size:21px}
  .shield{width:68px;height:79px}
  .shield b{font-size:27px}
  .sheet-ttl h3{font-size:22px}
  .sheet-hd{padding:18px 18px 12px}
  .sheet-bd{padding:4px 18px 20px}
  .sheet-ft{padding:12px 18px calc(14px + var(--safe))}
}
@media(max-width:350px){.cl-crest{width:70px}.cl-brand p{display:none}}

/* Admin › Hiboutik */
.hb .hb-card{background:var(--paper);border:1px solid var(--line)}
.hb .optgrp-hd{align-items:center;flex-wrap:wrap}
.hb .optgrp-hd h4{margin:0;flex:1 1 auto}
.hb-grid{display:grid;gap:0 16px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.hb-acc{display:flex;align-items:center;gap:8px}
.hb-acc .input{flex:1 1 auto;min-width:0}
.hb-state{margin:0;font-weight:700;font-size:14px}
.hb-good{color:var(--go)}
.hb-bad{color:var(--done)}
.hb-two{align-items:start;gap:0 16px}
.hb-link{display:flex;align-items:center;gap:12px}
.hb-url{display:flex;align-items:center;gap:10px}
.hb-url code{flex:1 1 auto;min-width:0;overflow-wrap:anywhere;font-size:13px;padding:10px 12px;border-radius:var(--r1,8px);background:var(--sunk);color:var(--ink)}
.hb-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.hb-stats .price{font-size:26px}
.hb-err{border-color:var(--done);background:var(--donebg)}
.hb-tables{display:grid;gap:8px;grid-template-columns:repeat(auto-fill,minmax(205px,1fr))}
.hb-table{display:flex;align-items:center;gap:8px;padding:6px 8px 6px 6px;border:1px solid var(--line);border-radius:var(--r2);background:var(--page)}
.hb-table .input{flex:1 1 auto;min-width:0;min-height:42px;padding-top:8px;padding-bottom:8px;font-size:14px}
.hb-qr{flex:0 0 auto;min-width:44px;height:34px;display:grid;place-items:center;padding:0 6px;border-radius:8px;background:var(--coal);color:var(--wool);font-family:var(--hd);font-size:15px;max-width:92px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hb-cat{margin-top:14px}
.hb-cat .list{display:grid;gap:6px}
.hb-row .irow-bd{min-width:0}
.hb-to{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:2px;font-size:13px;color:var(--ink2)}
.hb-none{border-style:dashed;border-color:var(--wait);background:var(--waitbg)}
.hb-none .hb-to{color:var(--wait);font-weight:700}
.hb-pick{display:grid;gap:6px;max-height:52vh;overflow:auto}
.hb-opt{text-align:left;cursor:pointer}
.hb-opt:hover{border-color:var(--ink)}
.hb-opt.on{border-color:var(--coal);box-shadow:inset 0 0 0 1.5px var(--coal)}
.course.hb-late{border-color:var(--done)}
@media(max-width:620px){.hb-stats .price{font-size:21px}.hb-row{flex-wrap:wrap}.hb-row .irow-bd{flex:1 1 100%}}
