/* ╔══════════════════════════════════════════════════╗
   ║  PIMM IMPACT — Système de thème dynamique       ║
   ║  Variables CSS injectées par le serveur via JS   ║
   ╚══════════════════════════════════════════════════╝ */

:root {
  --primary: #1963A1;
  --primary-hover: #154e80;
  --secondary: #4CBFBA;
  --accent: #EF7B42;
  --accent-hover: #d65f2a;
  --text: #1e293b;
  --muted: #64748b;
  --bg: #ffffff;
  --card: #f8fafc;
  --border: #e2e8f0;
  --danger: #dc2626;
  --ok: #16a34a;
  --warn: #d97706;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  background-image: url('/logo-watermark.png');
  background-position: center 40%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 60% auto;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== HERO ===== */
.pim-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0d3b5c 100%);
  color: #fff;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-bottom: 3px solid var(--accent);
}
.pim-hero-logo {
  max-height: 72px;
  width: auto;
  display: block;
  image-rendering: auto;
}
.pim-hero-logo-wrap {
  background: #fff;
  border-radius: 8px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.pim-hero-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .02em;
}
.pim-hero-sub {
  font-size: 13px;
  opacity: .8;
  font-weight: 400;
}
.pim-hero-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.pim-hero-right .btn-outline {
  border: 1.5px solid rgba(255,255,255,.4);
  color: #fff;
  background: transparent;
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: border-color .15s, background .15s;
}
.pim-hero-right .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* ===== NAVIGATION ===== */
.pim-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  padding: 10px 32px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}
.pim-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: color .15s, border-color .15s, background .15s;
}
.pim-nav a:hover { color: var(--secondary); border-color: var(--secondary); }
.pim-nav a.active {
  color: var(--text);
  background: rgba(76,191,186,.15);
  border-color: var(--secondary);
}

/* ===== CONTAINER ===== */
.pim-container {
  max-width: 1200px;
  margin: 28px auto;
  padding: 0 24px;
  flex: 1;
}
.pim-container--wide { max-width: 1400px; }
.pim-container--narrow { max-width: 480px; }

/* ===== CARDS ===== */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
/* Cartes de login/inscription — espacement vertical */
.card + .card { margin-top: 0; }

/* ===== SECTION LOGIN ===== */
#authSection .card {
  padding: 28px 24px 20px;
}
#authSection .card h2 {
  margin-bottom: 16px;
}
#authSection .card label {
  margin-top: 12px;
}
#authSection .card input {
  margin-bottom: 4px;
}
#authSection .card button,
#loginCard button,
#registerCard button,
#twofaCard button,
.card button[type="submit"],
.card > button:last-child {
  margin-top: 14px;
}
#authSection .card + .card {
  margin-top: 16px;
}
/* S'assurer que tous les boutons dans les cartes de formulaire ont un espace */
.card label + input + button {
  margin-top: 14px;
}
.card label + button {
  margin-top: 14px;
}
.card h2 {
  margin-top: 0;
  font-size: 15px;
  color: var(--text);
  font-weight: 700;
  border-bottom: 2px solid var(--secondary);
  padding-bottom: 8px;
  margin-bottom: 14px;
}
.card h3 {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 12px;
}

/* ===== FORMS ===== */
label {
  display: block;
  margin: 10px 0 4px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
input, select, textarea, button {
  font-size: 14px;
  font-family: inherit;
}
input, select, textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(76,191,186,.15);
}
button {
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  transition: background .15s, transform .1s;
}
button:hover { background: var(--primary-hover); }
button:active { transform: scale(.98); }
button.secondary {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
}
button.secondary:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  background: rgba(76,191,186,.06);
}
button.filled-cyan {
  background: var(--secondary);
  border: none;
  color: #fff;
}
button.filled-cyan:hover { background: #3aa8a3; color: #fff; }
button.outline-btn {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
}
button.outline-btn:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}
button.danger { background: var(--danger); }
button.danger:hover { background: #b91c1c; }
button.dark-btn {
  background: #1e293b;
  color: #fff;
}
button.dark-btn:hover { background: #0f172a; }
button.warn-btn { background: var(--warn); color: #fff; }
button.warn-btn:hover { background: #b65a04; }
button.accent {
  background: var(--accent);
  color: var(--text);
}
button.accent:hover { background: var(--accent-hover); color: var(--text); }
button.btn-compact { padding: 6px 14px; font-size: 13px; }
/* Espacement entre boutons inline */
td > button + button { margin-left: 4px; }
td > button { margin: 2px 1px; }

/* ===== UTILITIES ===== */
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.row--toolbar { align-items: center; gap: 10px; margin-top: 12px; }
.row--toolbar > * { flex: 0 0 auto; min-width: 0; }
.row--toolbar button { margin-top: 0; }
.sep { flex: 1 1 auto; }
.hidden { display: none !important; }
.muted { color: var(--muted); font-size: 13px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; }

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--text);
}
.badge.ok { background: var(--ok); color: #fff; }
.badge.warn { background: var(--warn); color: #fff; }
.badge.danger { background: var(--danger); color: #fff; }
.badge.muted { background: rgba(148,163,184,.15); color: var(--muted); }

.msg { padding: 10px 14px; border-radius: 8px; margin: 12px 0; font-size: 14px; }
.msg.ok { background: rgba(22,163,74,.08); color: var(--ok); }
.msg.err { background: rgba(220,38,38,.08); color: var(--danger); }

table { width: 100%; border-collapse: collapse; margin-top: 12px; }
th, td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--border); font-size: 14px; }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; }

/* ===== FOOTER ===== */
.pim-footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 28px 32px;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}
.pim-footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.pim-footer-links a { color: var(--muted); text-decoration: none; transition: color .12s; }
.pim-footer-links a:hover { color: var(--secondary); }
.pim-footer-copy { font-weight: 500; }

/* ===== CHIPS ===== */
.chip-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 13px;
  color: var(--text);
}
.chip--removable { display: inline-flex; align-items: center; gap: 4px; }
.chip--off { opacity: .5; text-decoration: line-through; }
.chip-toggle { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.chip-toggle input[type="checkbox"] { width: auto; cursor: pointer; }
.chip-x, .chip-edit {
  background: transparent; border: 0; padding: 0 3px;
  font-size: 13px; cursor: pointer; margin: 0;
}
.chip-x { color: var(--danger); }
.chip-x:hover { color: #b91c1c; }
.chip-edit { color: var(--muted); }
.chip-edit:hover { color: var(--primary); }

/* ===== TABS ===== */
.pim-tabs {
  display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 22px;
  padding: 6px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); position: sticky; top: 54px; z-index: 20;
}
.pim-tab {
  background: transparent; color: var(--muted);
  border: 1px solid transparent; border-radius: 8px;
  padding: 9px 16px; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background .15s, color .15s;
}
.pim-tab:hover { color: var(--text); background: rgba(148,163,184,.1); }
.pim-tab.active { color: var(--text); background: rgba(76,191,186,.2); border-color: var(--secondary); }

.tab-panel { display: none; animation: fadeInPanel .18s ease; }
.tab-panel.active { display: block; }
@keyframes fadeInPanel { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ===== HIÉRARCHIE ===== */
.pim-hierarchy {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  padding: 14px 18px; margin-bottom: 20px;
  background: rgba(76,191,186,.08); border: 1px solid var(--border);
  border-left: 4px solid var(--secondary); border-radius: var(--radius);
}

/* ===== AUTOCOMPLETE ===== */
.autocomplete-wrap { position: relative; }
.autocomplete-drop {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 100;
  background: #fff; border: 1px solid var(--border); border-top: none;
  border-radius: 0 0 8px 8px; max-height: 260px; overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.autocomplete-item {
  padding: 10px 14px; cursor: pointer; font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.autocomplete-item:hover { background: rgba(25,99,161,.08); color: var(--primary); }

/* ===== MODALES ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15,23,42,.6); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
}
.modal-box {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); width: min(500px, 96vw);
  max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg);
}
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px 10px; border-bottom: 1px solid var(--border);
  font-weight: 600; font-size: 15px;
}
.modal-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.modal-actions { display: flex; gap: 10px; margin-top: 6px; justify-content: flex-end; }

.popover {
  position: fixed; z-index: 50; width: 300px;
  background: #fff; border: 2px solid var(--secondary);
  border-radius: var(--radius); padding: 0;
  box-shadow: 0 10px 40px rgba(0,0,0,.18);
  overflow: hidden;
}
.popover-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  background: var(--secondary);
  color: #fff;
  font-weight: 600; font-size: 13px;
  gap: 10px;
}
.popover-head span {
  flex: 1; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.popover-x {
  flex: 0 0 auto;
  background: transparent; border: 1.5px solid rgba(255,255,255,.5);
  color: #fff; font-size: 14px; font-weight: 700;
  width: 28px; height: 28px; border-radius: 6px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  padding: 0; line-height: 1;
  transition: background .12s, border-color .12s;
}
.popover-x:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
}
#popBody {
  padding: 14px 16px;
  color: var(--text);
}
#popBody p {
  margin: 0 0 12px;
  font-size: 14px;
}
.pop-confirm {
  display: flex; gap: 8px; margin-top: 10px;
}
.pop-confirm button { flex: 1; }
.pop-confirm .secondary.block {
  background: transparent; border: 1.5px solid var(--border); color: var(--text);
  border-radius: 8px; padding: 10px 14px; font-weight: 600; cursor: pointer;
}
.pop-confirm .secondary.block:hover {
  border-color: var(--secondary); color: var(--secondary);
}
button.block {
  width: 100%; display: block; margin: 4px 0;
}
.del-besoin {
  margin-top: 12px !important;
  background: var(--danger) !important;
}
.pop-msg {
  display: flex; gap: 6px; margin-bottom: 8px;
}
.pop-msg input { flex: 1; }
.pop-msg button { flex: 0 0 auto; }

/* ===== KPI ===== */
.kpi-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px; margin-top: 16px;
}
.kpi {
  background: #fff; border: 1px solid var(--border);
  border-left: 4px solid var(--secondary);
  border-radius: 10px; padding: 14px 16px;
}
.kpi--pourvu { border-left-color: var(--ok); }
.kpi--ouvert { border-left-color: var(--danger); }
.kpi--total { border-left-color: var(--primary); }
.kpi-val { font-size: 26px; font-weight: 800; line-height: 1.1; color: var(--text); }
.kpi-lbl { color: var(--text); font-size: 13px; margin-top: 4px; font-weight: 500; }

/* ===== STATS ===== */
.stats-charts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 20px;
  margin-top: 18px;
}
.stats-charts .card {
  padding: 16px;
  margin-bottom: 0;
}
.stats-charts .card h3 {
  color: var(--text);
  font-size: 13px;
  border-bottom-width: 1px;
  padding-bottom: 6px;
  margin-bottom: 10px;
}
.chart-box {
  min-height: 200px;
}
.stats-filters input,
.stats-filters select { width: auto; }
.stats-presets { display: inline-flex; gap: 4px; }
.chart-box { position: relative; min-height: 220px; }
.chart-card--wide .chart-box { min-height: 280px; }
.med-detail { margin-top: 12px; }
.med-detail table { margin-top: 6px; }
.med-detail h4 { font-size: 14px; color: var(--secondary); margin: 12px 0 4px; }
.med-tables { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 820px) { .med-tables { grid-template-columns: 1fr; } }
.num { text-align: right !important; font-variant-numeric: tabular-nums; }
@media (max-width: 820px) { .stats-charts { grid-template-columns: 1fr; } }

/* ===== GRID TABLE ===== */
.grid-wrap { overflow-x: auto; margin-top: 12px; }
.grid-table { min-width: 720px; border-collapse: separate; border-spacing: 0; }
.grid-table th, .grid-table td { border: 1px solid var(--border); vertical-align: top; text-align: center; }
.grid-table th { background: #f8fafc; position: sticky; top: 0; }

/* ===== STICKY COLUMNS ===== */
.grid-table th.centre-col { min-width: 130px; position: sticky; left: 0; z-index: 5; padding: 2px 4px; background: #f8fafc; }
.grid-table th.ligne-col { min-width: 100px; position: sticky; left: 130px; z-index: 4; padding: 2px 4px; background: #f8fafc; }
.grid-table td.centre-lib { text-align: left; font-weight: 700; background: #f8fafc; position: sticky; left: 0; z-index: 2; vertical-align: top; padding: 2px 6px; min-width: 130px; border-right: none; }
.grid-table td.ligne-lib { text-align: left; font-weight: 600; background: #f8fafc; position: sticky; left: 130px; z-index: 2; padding: 2px 5px; min-width: 100px; }
/* ===== MATRICE — sticky lignes ===== */
.matrix-table th:first-child,
.matrix-table td:first-child { position: sticky; left: 0; z-index: 3; background: #fff; }
.matrix-table th:first-child { background: #f8fafc; z-index: 6; min-width: 140px; }
.matrix-table th:last-child,
.matrix-table td:last-child { border-right: none; }
.matrix-table td { background: #fff; }
.matrix-table td.is-ref-centre { background: rgba(245,158,11,.06); }
/* Empêche le recouvrement horizontal */
.matrix-table { border-collapse: separate; border-spacing: 0; overflow-x: auto; min-width: 600px; }
.matrix-table td.ligne-lib,
.matrix-table th.ligne-lib { min-width: 130px; position: sticky; left: 0; z-index: 4; background: #f8fafc; }

/* ===== TRANCHES ===== */
.tranche-stack { display: flex; flex-direction: column; gap: 2px; }
.tranche-slot { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 26px; border-radius: 4px; cursor: pointer; padding: 1px 3px; font-size: 9px; line-height: 1.2; overflow: hidden; white-space: nowrap; }
.tranche-slot .ts-h { font-size: 8px; opacity: .85; }
.tranche-slot .med-name { font-size: 8px; line-height: 1.1; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.day-cell-stack .tranche-stack { gap: 3px; padding: 2px 1px; }
.tranche-slot.ts-vide { background: rgba(148,163,184,.08); border: 1px dashed rgba(148,163,184,.3); color: var(--muted); }
.tranche-slot.ts-vide:hover { background: rgba(25,99,161,.1); border-color: var(--primary); }
.tranche-slot.ts-ouvert { background: rgba(220,38,38,.2); color: #b91c1c; }
.tranche-slot.ts-pourvu { background: rgba(22,163,74,.18); color: var(--ok); }
.tranche-slot.ts-na { background: repeating-linear-gradient(45deg, rgba(148,163,184,.04), rgba(148,163,184,.04) 4px, rgba(148,163,184,.08) 4px, rgba(148,163,184,.08) 8px); cursor: default; }

/* ===== LEGEND ===== */
.legend { display: flex; gap: 18px; margin: 12px 0 4px; flex-wrap: wrap; }
.legend-item { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.swatch { width: 14px; height: 14px; border-radius: 4px; display: inline-block; border: 1px solid var(--border); }
.sw-ouvert { background: rgba(220,38,38,.25); border-color: var(--danger); }
.sw-pourvu { background: rgba(22,163,74,.2); border-color: var(--ok); }
.sw-vide { background: #f1f5f9; }

/* ===== SOURCE FILTERS ===== */
.source-filters { display: inline-flex; gap: 4px; margin-left: 12px; align-items: center; }
.source-filters .legend-item { cursor: pointer; user-select: none; opacity: .45; transition: opacity .12s; }
.source-filters .legend-item.active { opacity: 1; }
.source-filters .legend-item .swatch { width: 18px; height: 18px; font-size: 9px; font-weight: 800; display: flex; align-items: center; justify-content: center; color: #fff; border-radius: 3px; }

/* ===== SOURCE BADGES ===== */
.source-badge { display: none; position: absolute; top: 1px; right: 2px; font-size: 7px; font-weight: 800; line-height: 1; padding: 1px 3px; border-radius: 3px; pointer-events: none; }
.source-badge.source-p { background: var(--primary); color: #fff; }
.source-badge.source-c { background: var(--ok); color: #fff; }
.source-badge.source-a { background: var(--warn); color: #fff; }
.source-badge.visible { display: inline-block; }

/* ===== CENTRE PILLS ===== */
.centre-filters { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 6px; }
.centre-pill { padding: 2px 8px; font-size: 10px; font-weight: 600; border-radius: 999px; border: 1px solid var(--border); cursor: pointer; background: #fff; }
.centre-pill.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.centre-reset { padding: 2px 6px; font-size: 10px; font-weight: 700; border-radius: 999px; border: 1px solid var(--danger); cursor: pointer; background: transparent; color: var(--danger); }
.th-centre-filter { padding: 4px 6px !important; vertical-align: top; overflow: visible !important; }
.centre-ac-input { padding: 4px 6px !important; font-size: 11px !important; width: 100%; }

/* ===== ROULMENT GRID ===== */
.roul-grid th.ligne-lib { min-width: 160px; position: sticky; left: 0; z-index: 5; background: #f8fafc; }
.roul-grid td.ligne-lib { position: sticky; left: 0; z-index: 4; background: #f8fafc; }

/* ===== ZOOM ===== */
.zoom-ctl { display: inline-flex; align-items: center; gap: 4px; }
.zoom-btn { padding: 4px 10px; font-size: 16px; min-width: 32px; }
.zoom-label { min-width: 48px; text-align: center; font-size: 13px; color: var(--muted); }

/* ===== JF BADGE ===== */
.jf-badge { display: inline-block; font-size: 9px; font-weight: 700; background: #ca8a04; color: #fff; border-radius: 3px; padding: 0 3px; line-height: 14px; }
.grid-table th.jour-ferie { background: rgba(234,179,8,.12); }

/* ===== CALENDRIER DISPONIBILITÉS (médecin) ===== */
.cal-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.cal-table {
  width: 100%;
  min-width: 0;
  border-collapse: separate;
  border-spacing: 4px;
}
.cal-table th {
  text-align: center;
  padding: 6px 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
  border-bottom: none;
  background: transparent;
}
.cal-day {
  text-align: center;
  padding: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  width: 36px;
  height: 36px;
  vertical-align: middle;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  transition: background .15s, border-color .15s, transform .1s;
}
.cal-day:hover {
  background: var(--card);
  border-color: var(--secondary);
  transform: scale(1.08);
}
.cal-day:active { transform: scale(.96); }
.cal-dispo {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.cal-dispo:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}
.cal-pourvu {
  background: var(--ok);
  border-color: var(--ok);
  color: #fff;
  cursor: default;
}
.cal-pourvu:hover {
  background: var(--ok);
  transform: none;
  border-color: var(--ok);
}
.cal-today {
  box-shadow: 0 0 0 2px var(--accent);
}
.sw-dispo {
  background: var(--accent);
  border-color: var(--accent);
}
.sw-affecte {
  background: var(--ok);
  border-color: var(--ok);
}

/* ===== INLINE LABEL ===== */
.inline-label { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: var(--muted); font-size: 13px; }
.select-inline { width: auto; min-width: 180px; }

/* ===== LOGIN CARD ===== */
.login-hero { text-align: center; margin-bottom: 24px; }
.login-hero img { height: 64px; margin-bottom: 12px; }
.login-hero h2 { font-size: 22px; font-weight: 700; color: var(--text); }
.login-hero p { color: var(--muted); font-size: 14px; margin-top: 4px; }