/* Kit Sahla — composants communs (client, comptoir, écran « prêtes », gérant).
   Chaque site règle seulement les variables --k-* pour rester dans son univers. */
.k, .k-over, .k-sugg, .k-pret, .k-dash, .k-tip {
  --k-surface: #fff; --k-surface-2: #f2f0ea; --k-ink: #15120f; --k-ink-2: #5b554c; --k-line: rgba(21, 18, 15, .22);
  --k-accent: #d9481c; --k-on-accent: #fff; --k-ok: #1f7a4d; --k-warn: #b7791f; --k-late: #c0392b;
  --k-display: system-ui, sans-serif; --k-text: system-ui, sans-serif; --k-mono: ui-monospace, monospace; --k-radius: 10px;
}
.k *, .k-over *, .k-sugg *, .k-pret *, .k-dash * { box-sizing: border-box; }
.k-btn, .k-sugg button, .k-over button, .k-stars button, .k-mode button, .k-tabs button, .k-lines button, .k-reasons button, .k-alert button, .k-pick, .k-scratch-skip, .k-dash button, .k-pret button, .k-again button, .k-card button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.k :focus-visible, .k-over :focus-visible, .k-sugg :focus-visible, .k-dash :focus-visible { outline: 3px solid var(--k-accent); outline-offset: 2px; }
.k-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .55em 1.05em; border-radius: var(--k-radius); background: var(--k-ink) !important; color: var(--k-surface) !important; font-family: var(--k-display) !important; text-transform: uppercase; letter-spacing: .03em; text-decoration: none; transition: transform .1s, opacity .15s; }
.k-btn:active { transform: scale(.97); }
.k-btn.acc { background: var(--k-accent) !important; color: var(--k-on-accent) !important; }
.k-btn.line { background: transparent !important; color: var(--k-ink) !important; box-shadow: inset 0 0 0 2px var(--k-ink); }
.k-btn[disabled] { opacity: .45; pointer-events: none; }
.k-note { font-family: var(--k-mono); font-size: .8125rem; color: var(--k-ink-2); line-height: 1.35; }

/* ——— carte générique ——— */
.k-card { background: var(--k-surface); color: var(--k-ink); border-radius: var(--k-radius); padding: 14px; font-family: var(--k-text); }
.k-card + .k-card { margin-top: 10px; }
.k-card h3 { font-family: var(--k-display); font-weight: 400; text-transform: uppercase; font-size: 1.2rem; line-height: 1; margin: 0 0 8px; }

/* ——— « Avec ça ? » ——— */
.k-sugg { position: fixed; left: 0; right: 0; bottom: var(--k-sugg-bottom, 110px); z-index: 45; display: flex; justify-content: center; padding: 0 12px; pointer-events: none; transform: translateY(24px); opacity: 0; transition: transform .28s cubic-bezier(.22, .8, .2, 1), opacity .2s; }
.k-sugg.on { transform: none; opacity: 1; }
.k-sugg .in { pointer-events: auto; width: 100%; max-width: 496px; background: var(--k-ink); color: var(--k-surface); border-radius: var(--k-radius); padding: 10px 10px 10px 14px; font-family: var(--k-text); box-shadow: 0 8px 28px rgba(0, 0, 0, .28); }
.k-sugg .hd { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-family: var(--k-display); text-transform: uppercase; letter-spacing: .03em; font-size: 1.05rem; }
.k-sugg .x { width: 40px; height: 40px; font-size: 1.3rem; line-height: 1; opacity: .8; }
.k-sugg .row { display: grid; gap: 6px; margin-top: 4px; }
.k-sugg .it { display: flex; align-items: center; gap: 10px; text-align: start; width: 100%; min-height: 54px; padding: 6px 8px; border-radius: calc(var(--k-radius) * .7); background: rgba(255, 255, 255, .1); }
.k-sugg .it img { width: 42px; height: 42px; object-fit: cover; border-radius: calc(var(--k-radius) * .5); flex: none; }
.k-sugg .it span { flex: 1; line-height: 1.2; }
.k-sugg .it small { display: block; font-family: var(--k-mono); opacity: .8; }
.k-sugg .it b { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--k-accent); color: var(--k-on-accent); font-size: 1.4rem; font-weight: 400; }

/* ——— suivi de commande ——— */
.k-steps { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 0; margin: 10px 0 6px; }
.k-steps li { font-family: var(--k-mono); font-size: .75rem; text-align: center; color: var(--k-ink-2); padding-top: 10px; border-top: 5px solid var(--k-line); line-height: 1.15; }
.k-steps li.done { border-top-color: var(--k-ink); color: var(--k-ink); }
.k-steps li.now { border-top-color: var(--k-accent); color: var(--k-ink); font-weight: 700; }
.k-wait { font-family: var(--k-mono); font-size: .9rem; text-align: center; }
.k-num { font-family: var(--k-display); font-size: 3.4rem; line-height: .9; text-align: center; }
.k-num small { display: block; font-family: var(--k-mono); font-size: .8125rem; letter-spacing: .04em; margin-bottom: 4px; }
.k-ready { background: var(--k-accent); color: var(--k-on-accent); border-radius: var(--k-radius); text-align: center; padding: 18px 12px; font-family: var(--k-display); text-transform: uppercase; font-size: 2rem; line-height: 1; animation: k-pulse 1.1s ease-in-out 5; }
.k-ready small { display: block; font-family: var(--k-mono); font-size: .85rem; text-transform: none; margin-top: 8px; }
@keyframes k-pulse { 50% { transform: scale(1.03); filter: brightness(1.12); } }
@media (prefers-reduced-motion: reduce) { .k-ready { animation: none; } .k-sugg { transition: none; } }

/* ——— tampons, ticket à gratter, bons ——— */
.k-stamps { display: grid; grid-template-columns: repeat(var(--k-goal, 8), 1fr); gap: 6px; margin: 8px 0; }
.k-stamps i { aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--k-line); display: grid; place-items: center; font-style: normal; font-family: var(--k-display); color: var(--k-on-accent); font-size: .9rem; }
.k-stamps i.on { background: var(--k-accent); box-shadow: none; }
.k-stamps i.new { animation: k-stamp .45s cubic-bezier(.6, 0, 1, .4); }
@keyframes k-stamp { from { transform: scale(2.2) rotate(-12deg); opacity: 0; } }
.k-scratch { position: relative; min-height: 128px; border-radius: var(--k-radius); overflow: hidden; background: var(--k-surface-2); display: grid; place-items: center; text-align: center; padding: 14px; user-select: none; -webkit-user-select: none; }
.k-scratch canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.k-scratch .k-scratch-skip { position: absolute; right: 6px; bottom: 6px; z-index: 2; font-family: var(--k-mono); font-size: .75rem; padding: 8px 10px; background: var(--k-surface); border-radius: 99px; min-height: 36px; }
.k-prize b { display: block; font-family: var(--k-display); text-transform: uppercase; font-size: 1.5rem; line-height: 1; font-weight: 400; }
.k-prize code { display: inline-block; margin-top: 8px; font-family: var(--k-mono); font-weight: 700; font-size: 1.1rem; padding: 4px 10px; border: 2px dashed var(--k-ink); }
.k-coupon { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px dashed var(--k-line); font-family: var(--k-mono); font-size: .9rem; }
.k-coupon label { display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.k-coupon input { width: 22px; height: 22px; accent-color: var(--k-accent); }

/* ——— avis ——— */
.k-stars { display: flex; gap: 4px; justify-content: center; }
.k-stars button { width: 48px; height: 48px; font-size: 2rem; line-height: 1; color: var(--k-line); }
.k-stars button[aria-pressed="true"] { color: var(--k-accent); }
.k-review textarea, .k-field input, .k-field select { width: 100%; font: inherit; font-size: 1rem; color: var(--k-ink); background: var(--k-surface); border: 2px solid var(--k-ink); border-radius: calc(var(--k-radius) * .6); padding: 10px 12px; min-height: 48px; }
.k-review textarea { min-height: 72px; margin: 8px 0; resize: vertical; }
.k-field { display: grid; gap: 4px; margin-top: 10px; font-family: var(--k-mono); font-size: .8125rem; }
.k-check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--k-text); font-size: 1rem; cursor: pointer; }
.k-check input { width: 22px; height: 22px; flex: none; accent-color: var(--k-accent); }

/* ——— choix segmenté ——— */
.k-mode { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; box-shadow: inset 0 0 0 2px var(--k-ink); border-radius: calc(var(--k-radius) * .6); overflow: hidden; }
.k-mode button { min-height: 46px; padding: 6px 8px; font-family: var(--k-display); text-transform: uppercase; letter-spacing: .03em; font-size: .95rem; }
.k-mode button[aria-pressed="true"] { background: var(--k-ink); color: var(--k-surface); }

/* ——— bandeau « à cette heure-ci », « comme la dernière fois » ——— */
.k-strip { display: flex; gap: 10px; overflow-x: auto; padding: 4px 16px 12px; scrollbar-width: none; scroll-snap-type: x proximity; }
.k-strip::-webkit-scrollbar { display: none; }
.k-pick { flex: none; width: 168px; scroll-snap-align: start; background: var(--k-surface); color: var(--k-ink); border-radius: var(--k-radius); box-shadow: inset 0 0 0 2px var(--k-ink); padding: 10px; display: grid; gap: 4px; text-align: start; font-family: var(--k-text); position: relative; }
.k-pick img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: calc(var(--k-radius) * .5); }
.k-pick b { font-size: 1rem; line-height: 1.15; padding-inline-end: 0; }
.k-pick span { padding-inline-end: 46px; }
.k-pick span { font-family: var(--k-mono); font-size: .85rem; }
.k-pick em { position: absolute; inset-inline-start: 6px; top: 6px; font-style: normal; font-family: var(--k-display); text-transform: uppercase; font-size: .75rem; letter-spacing: .05em; background: var(--k-accent); color: var(--k-on-accent); padding: 3px 7px 2px; border-radius: 99px; z-index: 1; }
.k-pick .plus { position: absolute; inset-inline-end: 8px; bottom: 8px; width: 40px; height: 40px; border-radius: 50%; background: var(--k-ink); color: var(--k-surface); display: grid; place-items: center; font-size: 1.4rem; }
.k-again { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 16px 10px; padding: 10px 12px; border-radius: var(--k-radius); background: var(--k-surface-2); color: var(--k-ink); font-family: var(--k-text); }
.k-again small { display: block; font-family: var(--k-mono); color: var(--k-ink-2); }
.k-banner { margin: 0 16px 10px; padding: 9px 12px; border-radius: var(--k-radius); background: var(--k-ink); color: var(--k-surface); font-family: var(--k-mono); font-size: .875rem; }

/* ——— fenêtre (motif d'appel, image à partager) ——— */
.k-over { position: fixed; inset: 0; z-index: 80; background: rgba(12, 10, 8, .72); display: none; align-items: flex-end; justify-content: center; }
.k-over.on { display: flex; }
.k-over .box { width: 100%; max-width: 520px; max-height: 94svh; overflow: auto; background: var(--k-surface); color: var(--k-ink); border-radius: calc(var(--k-radius) * 1.4) calc(var(--k-radius) * 1.4) 0 0; padding: 16px 16px calc(18px + env(safe-area-inset-bottom, 0px)); font-family: var(--k-text); animation: k-up .3s cubic-bezier(.22, .8, .2, 1); }
@keyframes k-up { from { transform: translateY(40px); opacity: 0; } }
.k-over h2 { font-family: var(--k-display); font-weight: 400; text-transform: uppercase; font-size: 1.6rem; line-height: 1; margin: 0 0 10px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.k-over h2 button { width: 44px; height: 44px; font-size: 1.5rem; }
.k-reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.k-reasons button { min-height: 72px; border-radius: var(--k-radius); box-shadow: inset 0 0 0 2px var(--k-ink); font-family: var(--k-display); text-transform: uppercase; font-size: 1.05rem; letter-spacing: .03em; padding: 8px; }
.k-reasons button:active { background: var(--k-ink); color: var(--k-surface); }
.k-shot { display: block; width: min(58vw, 250px); aspect-ratio: 9/16; margin: 6px auto 12px; background: var(--k-surface-2); box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.k-shot canvas, .k-shot img { width: 100%; height: 100%; display: block; }
.k-acts { display: grid; gap: 8px; margin-top: 12px; }

/* ——— comptoir / cuisine ——— */
.k-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.k-tabs button { min-height: 44px; padding: 6px 12px; border-radius: 99px; box-shadow: inset 0 0 0 2px currentColor; font-family: var(--k-display); text-transform: uppercase; letter-spacing: .03em; font-size: .95rem; }
.k-tabs button[aria-pressed="true"] { background: var(--k-accent); color: var(--k-on-accent); box-shadow: none; }
.k-chip { display: inline-block; font-family: var(--k-mono); font-weight: 700; font-size: .9rem; padding: 3px 8px 2px; border-radius: 99px; color: #fff; background: var(--k-ok); font-variant-numeric: tabular-nums; }
.k-chip.warn { background: var(--k-warn); } .k-chip.late { background: var(--k-late); }
.k-lines { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 4px; }
.k-lines button { width: 100%; display: flex; align-items: center; gap: 10px; text-align: start; min-height: 48px; padding: 6px 10px; border-radius: calc(var(--k-radius) * .6); background: rgba(0, 0, 0, .06); font-family: var(--k-text); font-size: 1.05rem; }
.k-lines button .q { font-family: var(--k-display); font-size: 1.3rem; min-width: 1.6em; }
.k-lines button .n { flex: 1; line-height: 1.15; }
.k-lines button .st { font-family: var(--k-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; opacity: .7; }
.k-lines button .ck { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 2px currentColor; display: grid; place-items: center; flex: none; font-size: .95rem; }
.k-lines button[aria-pressed="true"] { opacity: .5; text-decoration: line-through; }
.k-lines button[aria-pressed="true"] .ck { background: var(--k-ok); color: #fff; box-shadow: none; text-decoration: none; }
.k-lines li.other button { opacity: .35; }
.k-allday { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-family: var(--k-text); }
.k-allday li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: calc(var(--k-radius) * .6); background: rgba(127, 127, 127, .16); font-size: 1.05rem; }
.k-allday b { font-family: var(--k-display); font-weight: 400; font-size: 1.3rem; line-height: 1; }
.k-alert { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--k-radius); background: var(--k-accent); color: var(--k-on-accent); font-family: var(--k-display); text-transform: uppercase; font-size: 1.1rem; line-height: 1.1; }
.k-alert.rv { background: var(--k-late); color: #fff; }
.k-alert small { display: block; font-family: var(--k-mono); text-transform: none; font-size: .85rem; margin-top: 3px; }
.k-alert button { flex: none; font-family: var(--k-mono); font-size: .85rem; text-transform: none; background: rgba(0, 0, 0, .35); color: #fff; padding: 9px 12px; border-radius: 99px; min-height: 40px; }
.k-rush { background: var(--k-late) !important; color: #fff !important; box-shadow: none !important; }

/* ——— écran « commandes prêtes » ——— */
.k-pret { min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; background: var(--k-surface); color: var(--k-ink); font-family: var(--k-text); }
.k-pret header, .k-pret footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px clamp(16px, 3vw, 40px); }
.k-pret header h1 { font-family: var(--k-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.6rem, 3.4vw, 3rem); line-height: 1; margin: 0; }
.k-pret .cols { display: grid; grid-template-columns: 1fr 1.5fr; gap: 0; min-height: 0; }
.k-pret section { padding: clamp(14px, 2.4vw, 34px); min-width: 0; }
.k-pret section + section { background: var(--k-accent); color: var(--k-on-accent); }
.k-pret h2 { font-family: var(--k-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.3rem, 2.6vw, 2.4rem); line-height: 1; margin: 0 0 clamp(10px, 2vw, 24px); display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.k-pret h2 small { font-family: var(--k-mono); font-size: .45em; text-transform: none; opacity: .85; }
.k-pret ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: clamp(8px, 1.4vw, 18px); align-content: flex-start; }
.k-pret li { font-family: var(--k-display); line-height: .95; text-align: center; padding: .28em .5em .2em; border-radius: var(--k-radius); }
.k-pret .prep li { font-size: clamp(1.8rem, 4.4vw, 4rem); box-shadow: inset 0 0 0 3px var(--k-ink); opacity: .85; }
.k-pret .done li { font-size: clamp(3rem, 8.5vw, 8rem); background: var(--k-surface); color: var(--k-ink); min-width: 2.2em; }
.k-pret li small { display: block; font-family: var(--k-mono); font-size: clamp(.7rem, 1.1vw, 1rem); letter-spacing: .04em; margin-top: .3em; }
.k-pret li.new { animation: k-pop 1s cubic-bezier(.22, .8, .2, 1) 3; }
@keyframes k-pop { 0% { transform: scale(.7); } 40% { transform: scale(1.12); } }
.k-pret .none { font-family: var(--k-mono); opacity: .7; font-size: clamp(.9rem, 1.4vw, 1.2rem); }
.k-pret footer { font-family: var(--k-mono); font-size: clamp(.8rem, 1.2vw, 1.05rem); border-top: 2px solid var(--k-ink); flex-wrap: wrap; }
@media (max-width: 700px) { .k-pret .cols { grid-template-columns: 1fr; } }

/* ——— tableau de bord gérant ——— */
.k-dash { background: var(--k-surface-2); color: var(--k-ink); font-family: var(--k-text); min-height: 100vh; padding-bottom: 60px; }
.k-dash .top { position: sticky; top: 0; z-index: 10; background: var(--k-surface); border-bottom: 2px solid var(--k-ink); padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 10px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.k-dash .top h1 { font-family: var(--k-display); font-weight: 400; text-transform: uppercase; font-size: 1.5rem; line-height: 1; margin: 0; }
.k-dash .wrap { max-width: 1180px; margin: 0 auto; padding: 16px; display: grid; gap: 16px; grid-template-columns: repeat(12, 1fr); }
.k-dash .pan { grid-column: span 12; background: var(--k-surface); border-radius: var(--k-radius); padding: 16px; min-width: 0; }
.k-dash .pan.half { grid-column: span 6; }
@media (max-width: 860px) { .k-dash .pan.half { grid-column: span 12; } }
.k-dash .pan > h2 { font-family: var(--k-display); font-weight: 400; text-transform: uppercase; font-size: 1.25rem; line-height: 1.05; margin: 0 0 4px; display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; justify-content: space-between; }
.k-dash .pan > p.sub { margin: 0 0 12px; color: var(--k-ink-2); font-size: .95rem; line-height: 1.35; max-width: 70ch; }
.k-demo { display: inline-block; font-family: var(--k-mono); font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px 2px; border-radius: 99px; background: var(--k-ink); color: var(--k-surface); vertical-align: middle; }
.k-demo.live { background: var(--k-ok); color: #fff; }
.k-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.k-tile { background: var(--k-surface-2); border-radius: calc(var(--k-radius) * .8); padding: 12px; min-width: 0; }
.k-tile span { display: block; font-size: .875rem; color: var(--k-ink-2); line-height: 1.2; }
.k-tile b { display: block; font-family: var(--k-text); font-weight: 600; font-size: 1.7rem; line-height: 1.15; margin-top: 4px; }
.k-tile small { display: block; font-family: var(--k-mono); font-size: .75rem; color: var(--k-ink-2); margin-top: 2px; }
.k-tile.hero { grid-column: span 2; } .k-tile.hero b { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.05; white-space: nowrap; }
.k-tile.bad b { color: var(--k-late); }
@media (max-width: 420px) { .k-tile.hero { grid-column: span 1; } }
.k-chart { display: block; width: 100%; height: auto; overflow: visible; }
.k-chart .k-tick { font-family: var(--k-mono); font-size: 11px; fill: var(--k-ink-2); }
.k-chart .k-grid { stroke: var(--k-line); stroke-width: 1; }
.k-chart .k-axis { stroke: var(--k-ink-2); stroke-width: 1; }
.k-chart .k-bar { fill: var(--k-ink); opacity: .35; } .k-chart .k-bar.hi, .k-chart .k-bar:hover { fill: var(--k-accent); opacity: 1; }
.k-chart .k-cell { fill: var(--k-accent); } .k-chart .k-cell0 { fill: var(--k-surface-2); }
.k-chart .k-cell:hover, .k-chart .k-cell0:hover { stroke: var(--k-ink); stroke-width: 2; }
.k-chart .k-dot { fill: var(--k-accent); stroke: var(--k-surface); stroke-width: 2; } .k-chart .k-dot:hover { stroke: var(--k-ink); }
.k-chart .k-lab { font-family: var(--k-text); font-size: 12px; fill: var(--k-ink); paint-order: stroke; stroke: var(--k-surface); stroke-width: 3px; }
.k-chart .k-q { font-family: var(--k-mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; fill: var(--k-ink-2); }
.k-chart .k-quad { fill: var(--k-accent); opacity: .07; }
.k-scrollx { overflow-x: auto; } .k-scrollx .k-chart { min-width: 520px; }
.k-legend { display: flex; align-items: center; gap: 4px; margin-top: 8px; font-family: var(--k-mono); font-size: .75rem; color: var(--k-ink-2); }
.k-legend i { width: 22px; height: 12px; border-radius: 3px; background: var(--k-accent); }
.k-table { margin-top: 10px; font-size: .875rem; } .k-table summary { cursor: pointer; font-family: var(--k-mono); min-height: 36px; display: inline-flex; align-items: center; }
.k-scroll { overflow-x: auto; } .k-table table, .k-edit { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.k-table th, .k-table td, .k-edit th, .k-edit td { padding: 6px 8px; border-bottom: 1px solid var(--k-line); text-align: right; white-space: nowrap; }
.k-table th:first-child, .k-edit th:first-child, .k-edit td:first-child { text-align: left; }
.k-bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.k-bars li { display: grid; grid-template-columns: minmax(90px, 38%) 1fr auto; gap: 10px; align-items: center; font-size: .95rem; }
.k-bars .k-bl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.k-bars .k-bt { height: 12px; } .k-bars .k-bt i { display: block; height: 100%; background: var(--k-accent); border-radius: 0 4px 4px 0; }
.k-bars b { font-family: var(--k-mono); font-weight: 700; font-variant-numeric: tabular-nums; }
.k-tip { position: fixed; z-index: 99; pointer-events: none; background: var(--k-ink); color: var(--k-surface); font-family: var(--k-mono); font-size: .8125rem; line-height: 1.3; padding: 7px 10px; border-radius: 6px; max-width: 280px; opacity: 0; transition: opacity .12s; left: 0; top: 0; }
.k-tip.on { opacity: 1; }
.k-quads { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin-top: 12px; }
.k-quads div { background: var(--k-surface-2); border-radius: calc(var(--k-radius) * .8); padding: 10px 12px; font-size: .9rem; line-height: 1.35; }
.k-quads b { display: block; font-family: var(--k-display); font-weight: 400; text-transform: uppercase; font-size: 1.05rem; }
.k-quads em { display: block; font-style: normal; color: var(--k-ink-2); margin: 2px 0 6px; }
.k-edit input[type="number"] { width: 92px; font: inherit; text-align: right; padding: 6px 8px; min-height: 40px; border: 2px solid var(--k-line); border-radius: 6px; background: var(--k-surface); color: var(--k-ink); }
.k-edit input[type="number"]:focus { border-color: var(--k-ink); }
.k-edit input[type="checkbox"], .k-edit input[type="radio"] { width: 22px; height: 22px; accent-color: var(--k-accent); }
.k-edit tr.grp th { font-family: var(--k-display); font-weight: 400; text-transform: uppercase; font-size: 1rem; padding-top: 14px; border-bottom: 2px solid var(--k-ink); }
.k-sum { white-space: pre-wrap; font-family: var(--k-mono); font-size: .9rem; line-height: 1.5; background: var(--k-surface-2); border-radius: calc(var(--k-radius) * .8); padding: 12px; margin: 0 0 10px; }
.k-rv { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.k-rv li { padding: 8px 10px; border-radius: calc(var(--k-radius) * .6); background: var(--k-surface-2); font-size: .95rem; line-height: 1.3; }
.k-rv li.low { box-shadow: inset 4px 0 0 var(--k-late); }
.k-rv small { font-family: var(--k-mono); color: var(--k-ink-2); }
.k [hidden], .k-over [hidden], .k-dash [hidden], .k-pret [hidden], [hidden].btn, [hidden].k-btn { display: none !important; }

/* liaison entre appareils (écrans du personnel) */
.k-net{margin:0 0 10px;padding:10px 14px;border-radius:10px;background:#7A1F12;color:#fff;font:600 .92rem/1.35 var(--k-sans,system-ui,sans-serif)}
.k-net[hidden]{display:none!important}
.k-sent{display:block;text-align:center;font-size:.86rem;opacity:.8;margin:6px 0 0}
.k-sent.warn{opacity:1;font-weight:600;color:var(--k-warn,#B4441A)}
.k-warn-txt{color:var(--k-warn,#B4441A)!important;font-weight:600}
