/* NZG Manager - thème « vivant » : couleurs franches, dégradés, cartes animées.
   Chargé après app.css ; chaque espace fixe sa couleur avec --accent et --accent-2. */
:root {
  --accent: #4F46E5;
  --accent-2: #06B6D4;
  --ground: #F3F5FB;
  --surface: #FFFFFF;
  --ink: #0F172A;
  --muted: #64748B;
  --line: #E2E8F0;
  --line-soft: #EEF2F7;
  --brand: var(--accent);
  --brand-hover: var(--accent);
  --gold: #F59E0B;
  --good: #047857; --good-bg: #D1FAE5;
  --warn: #9A3412; --warn-bg: #FFEDD5;
  --bad: #BE123C; --bad-bg: #FFE4E6;
  --info: #1D4ED8; --info-bg: #DBEAFE;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 10px 30px -12px rgba(15, 23, 42, .16);
  --shadow-lg: 0 18px 40px -16px rgba(15, 23, 42, .35);
  --grad: linear-gradient(135deg, var(--accent), var(--accent-2));
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
body, .hub-card {
  --grad: linear-gradient(135deg, var(--accent), var(--accent-2));
  --brand: var(--accent);
  --brand-hover: var(--accent);
}
body {
  background-color: var(--ground);
  background-image:
    radial-gradient(900px 500px at 100% -10%, color-mix(in srgb, var(--accent-2) 16%, transparent), transparent 70%),
    radial-gradient(800px 480px at 20% -20%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%);
  background-attachment: fixed;
  font-size: 14.5px;
}
a { color: var(--accent); }
a:hover { color: var(--ink); }

/* ---------- Menu latéral ---------- */
.side {
  background: linear-gradient(180deg, #0B1026 0%, #151A3D 55%, #1C1446 100%);
  border-top: 0 !important;
  position: relative;
  color: #CBD5E1;
}
.side::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad);
}
.brand img { border-radius: 12px; box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--accent) 70%, transparent); }
.brand-sub { color: #94A3B8; }
.nav-title { color: #7C86A8; font-weight: 700; }
.nav { color: #CBD5E1; border-radius: 12px; transition: background .15s ease, transform .15s ease, color .15s ease; }
.nav:hover { background: rgba(255, 255, 255, .07); color: #fff; transform: translateX(2px); }
.nav.on {
  background: var(--grad); color: #fff; font-weight: 700;
  box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--accent) 80%, transparent);
}
.side-foot { border-top-color: rgba(255, 255, 255, .1); color: #CBD5E1; }
.side-foot a, .side-foot .link-btn { color: #FBBF24 !important; }
.menu-toggle { border-color: rgba(255, 255, 255, .25) !important; }

/* ---------- Barre du haut ---------- */
.topbar {
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 20px; padding: 14px 18px; box-shadow: var(--shadow);
  position: sticky; top: 10px; z-index: 30;
}
.page-title { font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
.page-title::after {
  content: ""; display: block; width: 46px; height: 4px; border-radius: 4px; margin-top: 6px; background: var(--grad);
}
.page-sub { color: var(--muted); }
.top-search input { border-radius: 999px !important; background: #F1F5F9 !important; border-color: transparent !important; padding-left: 16px !important; }
.top-search input:focus { background: #fff !important; }
.entity-switch select { border-radius: 999px; border-color: var(--line); }

/* ---------- Cartes ---------- */
.card {
  border: 1px solid rgba(226, 232, 240, .7);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: monte .45s ease both;
}
.card-title { font-size: 15.5px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.card-title::before { content: ""; width: 8px; height: 18px; border-radius: 4px; background: var(--grad); flex: none; }
.kv, .list-item { border-top-color: var(--line-soft); }

/* ---------- Indicateurs (KPI) en dégradé ---------- */
.kpis { gap: 16px; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.kpis > .card, .kpis > .kpi {
  --k1: #3B82F6; --k2: #1D4ED8;
  position: relative; overflow: hidden; color: #fff; border: 0;
  background: linear-gradient(135deg, var(--k1), var(--k2));
  box-shadow: 0 16px 32px -18px var(--k2);
  border-radius: 20px; padding: 18px 20px; min-height: 124px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.kpis > .card:hover, .kpis > .kpi:hover { transform: translateY(-3px); box-shadow: 0 22px 38px -18px var(--k2); }
.kpis > :nth-child(6n+2) { --k1: #10B981; --k2: #047857; }
.kpis > :nth-child(6n+3) { --k1: #F97316; --k2: #C2410C; }
.kpis > :nth-child(6n+4) { --k1: #F43F5E; --k2: #BE123C; }
.kpis > :nth-child(6n+5) { --k1: #8B5CF6; --k2: #6D28D9; }
.kpis > :nth-child(6n+6) { --k1: #06B6D4; --k2: #0E7490; }
.kpis > .card::after, .kpis > .kpi::after {
  content: ""; position: absolute; right: -28px; top: -28px; width: 110px; height: 110px; border-radius: 50%;
  background: rgba(255, 255, 255, .14); box-shadow: -40px 70px 0 -10px rgba(255, 255, 255, .08);
}
.kpis .kpi-label { color: rgba(255, 255, 255, .88); font-weight: 600; text-transform: uppercase; font-size: 11.5px; letter-spacing: .06em; }
.kpis .kpi-value { color: #fff; font-size: 25px; white-space: nowrap; font-weight: 800; letter-spacing: -.01em; }
.kpis .kpi-sub { color: rgba(255, 255, 255, .85); }
.kpis .kpi-sub a, .kpis a { color: #fff; font-weight: 700; }
.kpis > :nth-child(1) { animation-delay: .00s; }
.kpis > :nth-child(2) { animation-delay: .05s; }
.kpis > :nth-child(3) { animation-delay: .10s; }
.kpis > :nth-child(4) { animation-delay: .15s; }
.kpis > :nth-child(5) { animation-delay: .20s; }
.kpis > :nth-child(6) { animation-delay: .25s; }
.kpi-value { font-weight: 800; }

/* ---------- Boutons ---------- */
.btn {
  background: var(--grad); border-radius: 12px; border: 0; font-weight: 700;
  box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--accent) 90%, transparent);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover { background: var(--grad); filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 12px 22px -10px color-mix(in srgb, var(--accent) 90%, transparent); }
.btn:active { transform: translateY(0); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: none; font-weight: 600; }
.btn-ghost:hover { background: #fff; color: var(--accent); border-color: var(--accent); box-shadow: 0 8px 18px -12px color-mix(in srgb, var(--accent) 60%, transparent); }
.btn-danger { background: #fff; color: var(--bad); border: 1px solid #FECDD3; box-shadow: none; }
.btn-danger:hover { background: var(--bad-bg); color: var(--bad); }
.link-btn { color: var(--accent); }

/* ---------- Étiquettes ---------- */
.tag { border-radius: 999px; padding: 3px 10px; font-weight: 700; font-size: 11.5px; }
.tag-good { background: #D1FAE5; color: #047857; }
.tag-warn { background: #FFEDD5; color: #C2410C; }
.tag-bad { background: #FFE4E6; color: #BE123C; }
.tag-info { background: #DBEAFE; color: #1D4ED8; }
.tag-neutral { background: #F1F5F9; color: #475569; }

/* ---------- Alertes ---------- */
.alert { border-radius: 14px; border-left: 5px solid currentColor; box-shadow: var(--shadow); animation: monte .35s ease both; }
.alert-success { background: #ECFDF5; color: #047857; }
.alert-error { background: #FFF1F2; color: #BE123C; }
.alert-warning { background: #FFF7ED; color: #C2410C; }
.alert-info { background: #EFF6FF; color: #1D4ED8; }

/* ---------- Onglets ---------- */
.tab { border-radius: 999px; border-color: var(--line); font-weight: 600; transition: all .15s ease; }
.tab:hover { border-color: var(--accent); color: var(--accent); }
.tab.on { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 8px 18px -10px var(--accent); }

/* ---------- Tableaux ---------- */
.table th { background: #F8FAFC; color: #64748B; text-transform: uppercase; font-size: 11px; letter-spacing: .05em; border-bottom: 0; padding: 10px 12px; }
.table th:first-child { border-radius: 10px 0 0 10px; }
.table th:last-child { border-radius: 0 10px 10px 0; }
.table td { padding: 11px 12px; }
.table tbody tr { transition: background .12s ease; }
.table tbody tr:hover td { background: color-mix(in srgb, var(--accent) 5%, #fff); }
.table tfoot td { background: color-mix(in srgb, var(--accent) 7%, #fff); }
.table a.row-link { color: var(--ink); }
.table a.row-link:hover { color: var(--accent); }

/* ---------- Formulaires ---------- */
.input, .field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field input[type=date],
.field input[type=time], .field input[type=datetime-local], .field input[type=password], .field input[type=search], .field input[type=file], .field select, .field textarea {
  border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus, .field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}
.btn:focus-visible, .nav:focus-visible, .tab:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, #fff); outline-offset: 2px; }
.check input { accent-color: var(--accent); }

/* ---------- Caisse ---------- */
.product { border-radius: 16px; border: 1px solid var(--line); border-top: 4px solid var(--pc, var(--accent)); transition: transform .15s ease, box-shadow .15s ease; }
.product:nth-child(5n+2) { --pc: #10B981; }
.product:nth-child(5n+3) { --pc: #F97316; }
.product:nth-child(5n+4) { --pc: #F43F5E; }
.product:nth-child(5n+5) { --pc: #8B5CF6; }
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line); border-top-color: var(--pc, var(--accent)); background: #fff; }
.qty button { border-radius: 10px; border-color: var(--line); }
.total-line { font-size: 22px; font-weight: 800; color: var(--accent); }
.net-on { background: #D1FAE5; color: #047857; }
.net-on .dot { animation: pulse 1.8s ease infinite; }

/* ---------- Agenda du spa : rendez-vous en blocs colorés ---------- */
.agenda-slot { border-radius: 12px; border-color: var(--line); }
a.agenda-slot:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, #fff); }
.appt { border-radius: 12px; color: #fff; box-shadow: 0 8px 18px -12px rgba(15, 23, 42, .6); transition: transform .15s ease; position: relative; overflow: hidden; }
.appt:hover { transform: translateY(-2px); color: #fff; }
.appt::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: rgba(255, 255, 255, .55); }
.st-reserve { background: linear-gradient(135deg, #3B82F6, #1D4ED8); color: #fff; }
.st-confirme { background: linear-gradient(135deg, #10B981, #047857); color: #fff; }
.st-arrive, .st-en_cours { background: linear-gradient(135deg, #F97316, #C2410C); color: #fff; }
.st-termine { background: linear-gradient(135deg, #8B5CF6, #6D28D9); color: #fff; }
.st-annule, .st-absent { background: #FFE4E6; color: #BE123C; box-shadow: none; }

/* ---------- Planning de la semaine (cours) ---------- */
.week-day { border-radius: 18px; border: 1px solid rgba(226, 232, 240, .8); box-shadow: var(--shadow); }
.week-day h3 { text-align: center; padding: 8px; border-radius: 12px; background: #F1F5F9; }
.week-day.today { border-color: transparent; box-shadow: 0 0 0 2px var(--accent), var(--shadow); }
.week-day.today h3 { background: var(--grad); color: #fff; }
.session {
  --s1: #6366F1; --s2: #4338CA;
  background: linear-gradient(135deg, var(--s1), var(--s2)); color: #fff; border-radius: 12px;
  box-shadow: 0 10px 20px -14px var(--s2); transition: transform .15s ease;
}
.session:nth-of-type(4n+2) { --s1: #10B981; --s2: #047857; }
.session:nth-of-type(4n+3) { --s1: #F97316; --s2: #C2410C; }
.session:nth-of-type(4n+4) { --s1: #EC4899; --s2: #BE185D; }
.session:hover { color: #fff; filter: none; transform: translateY(-2px); }
.session.full { --s1: #F43F5E; --s2: #BE123C; background: linear-gradient(135deg, var(--s1), var(--s2)); color: #fff; }
.week-day > * { flex-shrink: 0; }
.gauge { display: block; }
.week-day.today h3 .muted { color: rgba(255, 255, 255, .85); }
.session .gauge { background: rgba(255, 255, 255, .3); }
.session .gauge > span { background: #fff; }

/* ---------- Fiches ---------- */
.avatar { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -12px var(--accent); border: 4px solid #fff; }
.gift { background: linear-gradient(135deg, #DB2777, #7C3AED 60%, #4F46E5); box-shadow: var(--shadow-lg); border-radius: 20px; }
.scan-ok { background: linear-gradient(135deg, #10B981, #047857); color: #fff; border: 0; box-shadow: 0 18px 40px -18px #047857; }
.scan-bad { background: linear-gradient(135deg, #F43F5E, #BE123C); color: #fff; border: 0; box-shadow: 0 18px 40px -18px #BE123C; }
.scan-result { border-radius: 20px; animation: monte .3s ease both; }
.member-card { background: linear-gradient(135deg, #4F46E5, #7C3AED 55%, #DB2777); }

/* ---------- Page d'accueil (choix de l'espace) ---------- */
.hub-body {
  min-height: 100vh;
  background:
    radial-gradient(700px 420px at 10% 0%, rgba(99, 102, 241, .22), transparent 70%),
    radial-gradient(640px 420px at 95% 10%, rgba(236, 72, 153, .18), transparent 70%),
    radial-gradient(700px 500px at 60% 100%, rgba(16, 185, 129, .16), transparent 70%),
    #F3F5FB;
}
.hub-top { background: linear-gradient(90deg, #0B1026, #1C1446); box-shadow: 0 10px 30px -18px #0B1026; }
.hub-top .btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .2); }
.hub-top .btn-ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.hub-hello h1 { font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.hub-hello h1 span, .grad-text { background: linear-gradient(90deg, #4F46E5, #DB2777, #F97316); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hub-search input { border-radius: 999px !important; min-height: 52px !important; padding-left: 20px !important; box-shadow: var(--shadow); border-color: transparent !important; }
.hub-search .btn { border-radius: 999px; min-height: 52px; padding: 0 26px; }
.hub-grid { gap: 20px; }
.hub-card {
  --accent-2: var(--accent);
  border: 0; border-radius: 24px; color: #fff; overflow: hidden;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  box-shadow: 0 24px 44px -22px var(--accent);
  min-height: 300px; padding: 24px;
  animation: monte .5s ease both;
}
.hub-card:nth-child(2) { animation-delay: .07s; }
.hub-card:nth-child(3) { animation-delay: .14s; }
.hub-card:nth-child(4) { animation-delay: .21s; }
.hub-card:nth-child(5) { animation-delay: .28s; }
.hub-card::before, .hub-card::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .12); pointer-events: none; }
.hub-card::before { width: 220px; height: 220px; right: -70px; top: -80px; }
.hub-card::after { width: 140px; height: 140px; right: 40px; bottom: -70px; background: rgba(255, 255, 255, .08); }
a.hub-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 34px 54px -24px var(--accent); color: #fff; }
.hub-icon { background: rgba(255, 255, 255, .2); color: #fff; width: 60px; height: 60px; border-radius: 18px; backdrop-filter: blur(4px); }
.hub-title { font-size: 21px; font-weight: 900; }
.hub-sub, .hub-desc { color: rgba(255, 255, 255, .9); }
.hub-stats { border-top: 0; display: grid; grid-template-columns: 1fr; gap: 6px; }
.hub-stats > span { background: rgba(255, 255, 255, .16); border-radius: 12px; padding: 7px 10px; }
.hub-stats .muted { color: rgba(255, 255, 255, .88); }
.hub-go { color: #fff; display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; background: rgba(255, 255, 255, .22); border-radius: 999px; padding: 8px 16px; margin-top: auto; transition: background .15s ease; }
a.hub-card:hover .hub-go { background: #fff; color: var(--accent); }
.hub-soon { --accent: #94A3B8; --accent-2: #64748B; opacity: 1; filter: saturate(.6); }

/* ---------- Connexion ---------- */
.auth { background: #F3F5FB; }
.auth-aside {
  position: relative; overflow: hidden;
  background: linear-gradient(145deg, #312E81 0%, #6D28D9 45%, #DB2777 100%);
}
.auth-aside::before, .auth-aside::after { content: ""; position: absolute; border-radius: 50%; filter: blur(2px); animation: flotte 12s ease-in-out infinite; }
.auth-aside::before { width: 380px; height: 380px; right: -120px; top: -100px; background: rgba(6, 182, 212, .35); }
.auth-aside::after { width: 300px; height: 300px; left: -90px; bottom: -110px; background: rgba(249, 115, 22, .35); animation-delay: -6s; }
.auth-aside > * { position: relative; z-index: 1; }
.auth-aside p { color: rgba(255, 255, 255, .88); }
.auth-entities span { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .12); }
.auth-card { background: #fff; border-radius: 24px; padding: 30px; box-shadow: var(--shadow-lg); animation: monte .5s ease both; }
.pw-toggle { color: var(--accent); }

/* ---------- Documents imprimés : sobres ---------- */
.a4 { animation: none; box-shadow: var(--shadow); }
.a4-title { color: var(--accent); }

/* ---------- Animations ---------- */
@keyframes monte { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); } 50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); } }
@keyframes flotte { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-24px, 18px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Petits écrans ---------- */
@media (max-width: 820px) {
  .topbar { position: static; border-radius: 16px; }
  .hub-hello h1 { font-size: 26px; }
  .side::before { height: 3px; }
}

/* ---------- Impression : pas d'effets ---------- */
@media print {
  body { background: #fff !important; }
  .card, .kpis > .card, .kpis > .kpi { box-shadow: none !important; animation: none !important; }
  .kpis > .card, .kpis > .kpi { background: #fff !important; color: #000 !important; border: 1px solid #ccc !important; }
  .kpis .kpi-label, .kpis .kpi-value, .kpis .kpi-sub { color: #000 !important; }
  .topbar { display: none !important; }
  .a4 { box-shadow: none; }
  .a4-title { color: #000; }
}

/* Couleur imposée d'un indicateur quand elle a un sens (retard, dette, réussite) */
.kpis > .kpi-info.card, .kpis > .kpi-info { --k1: #3B82F6; --k2: #1D4ED8; }
.kpis > .kpi-good.card, .kpis > .kpi-good { --k1: #10B981; --k2: #047857; }
.kpis > .kpi-warn.card, .kpis > .kpi-warn { --k1: #F97316; --k2: #C2410C; }
.kpis > .kpi-bad.card, .kpis > .kpi-bad { --k1: #F43F5E; --k2: #BE123C; }
.kpis > .kpi-violet.card, .kpis > .kpi-violet { --k1: #8B5CF6; --k2: #6D28D9; }

/* ---------- Rôles et droits ---------- */
.droits-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.droits-groupe { border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; margin: 0; background: #FBFCFE; }
.droits-groupe legend { font-weight: 800; padding: 0 6px; display: flex; gap: 10px; align-items: center; }
.droit { display: flex; gap: 10px; align-items: flex-start; padding: 8px 6px; border-radius: 10px; cursor: pointer; }
.droit:hover { background: color-mix(in srgb, var(--accent) 6%, #fff); }
.droit input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }

.nav-badge { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: #F43F5E; color: #fff; font-size: 11.5px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }

/* ---------- Tâches (tableau en colonnes) ---------- */
.board { display: grid; grid-template-columns: repeat(3, minmax(260px, 1fr)); gap: 16px; align-items: start; }
.board-col { background: rgba(255, 255, 255, .6); border: 1px solid var(--line); border-radius: 18px; padding: 12px; display: flex; flex-direction: column; gap: 10px; min-height: 200px; }
.board-col h2 { margin: 0 0 4px; font-size: 14px; display: flex; justify-content: space-between; align-items: center; }
.task { background: #fff; border-radius: 14px; padding: 12px; box-shadow: var(--shadow); border-left: 5px solid var(--pc, #3B82F6); display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); transition: transform .15s ease; }
.task:hover { transform: translateY(-2px); color: var(--ink); }
.task.p-urgente { --pc: #F43F5E; } .task.p-haute { --pc: #F97316; } .task.p-basse { --pc: #94A3B8; }
.task.fait { opacity: .7; }
.task .meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; color: var(--muted); }

/* ---------- Pointage ---------- */
.pointage { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.pt-card { background: #fff; border-radius: 18px; padding: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; border-top: 5px solid #CBD5E1; }
.pt-card.present { border-top-color: #10B981; } .pt-card.retard { border-top-color: #F97316; } .pt-card.parti { border-top-color: #6366F1; } .pt-card.conge { border-top-color: #8B5CF6; opacity: .85; }
.pt-head { display: flex; gap: 10px; align-items: center; }
.pt-head .avatar { width: 46px; height: 46px; font-size: 16px; border-width: 2px; }
@media (max-width: 960px) { .board { grid-template-columns: 1fr; } }

/* ---------- Caisse : rubriques et scanner ---------- */
.pos-search input { font-size: 16px; min-height: 48px; border-width: 2px !important; border-color: color-mix(in srgb, var(--accent) 40%, var(--line)) !important; }
.pos-rubs .tab { font-size: 14px; padding: 9px 18px; }
.pos-sous .tab { font-size: 12.5px; min-height: 32px; padding: 5px 12px; }
.product.k-formule { --pc: #6366F1; } .product.k-forfait { --pc: #DB2777; } .product.k-prestation { --pc: #10B981; }
.product .p-meta strong { color: var(--ink); }
#pos-reader video { border-radius: 14px; }
.product .p-meta strong { white-space: nowrap; }
