@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Palette lagon / sable / corail — identité Utuafare */
  --lagoon: #146b63;
  --lagoon-dark: #0e4d47;
  --lagoon-light: #dcece9;
  --coral: #e8804f;
  --coral-dark: #c1592c;
  --amber: #d9a441;
  --sand: #faf6ee;
  --card: #ffffff;
  --border: #e6e1d3;
  --ink: #2b2b26;
  --muted: #8c897d;
  --radius: 12px;

  /* alias rétro-compatibles */
  --primary: var(--lagoon);
  --primary-dark: var(--lagoon-dark);
  --bg: var(--sand);
  --text: var(--ink);
  --danger: var(--coral-dark);
}
* { box-sizing: border-box; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
}
nav {
  background: var(--lagoon-dark);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
nav a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  opacity: 0.82;
}
nav a:hover, nav a.active { opacity: 1; }
nav .brand {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 19px;
  opacity: 1;
  margin-right: 12px;
  letter-spacing: 0.01em;
}
main { max-width: 1100px; margin: 0 auto; padding: 24px 20px 60px; }
h1 { font-family: "Fraunces", Georgia, serif; font-size: 26px; font-weight: 600; margin-bottom: 18px; color: var(--lagoon-dark); }
h2 { font-size: 16px; margin: 24px 0 10px; font-weight: 600; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 16px;
}
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--border); font-size: 14px; }
th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.03em; }
tr:hover td { background: #faf8f2; }
.btn {
  display: inline-block;
  background: var(--lagoon);
  color: #fff;
  border: none;
  padding: 9px 16px;
  border-radius: 7px;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { background: var(--lagoon-dark); }
.btn.secondary { background: transparent; color: var(--lagoon); border: 1px solid var(--lagoon); }
.btn.danger { background: var(--danger); }
.btn.small { padding: 5px 10px; font-size: 12px; }
.actions { display: flex; gap: 8px; margin-bottom: 16px; align-items: center; flex-wrap: wrap; }
form.stack { display: flex; flex-direction: column; gap: 14px; max-width: 480px; }
label { font-size: 13px; color: var(--muted); display: block; margin-bottom: 4px; }
input, select, textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
}
.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.badge.en_attente { background: #f8ecd6; color: #92620f; }
.badge.confirmee { background: var(--lagoon-light); color: var(--lagoon-dark); }
.badge.terminee { background: #e6e6e0; color: #5a5a55; }
.badge.annulee { background: #f7e2da; color: var(--coral-dark); }
.badge.no_show { background: #ECE6F7; color: #5B4B8A; }
.total-line { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.total-line.final { font-weight: 700; font-size: 17px; border-top: 2px solid var(--text); margin-top: 8px; padding-top: 10px; }
.empty { color: var(--muted); font-style: italic; padding: 20px 0; }
.opt-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--border); }
.opt-row label { flex: 1; margin: 0; color: var(--text); font-size: 14px; }
.opt-row input { width: 70px; }

/* ---------- Sélection de chambre en cartes tactiles ---------- */
.dispo-hint { font-size: 12px; font-weight: 400; color: var(--muted); }
.chambre-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}
.chambre-card {
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  background: var(--card);
  min-height: 64px;
  justify-content: center;
  transition: border-color 0.12s, background 0.12s;
}
.chambre-card strong { font-size: 14.5px; color: var(--ink); }
.chambre-card span { font-size: 12.5px; color: var(--muted); }
.chambre-card:hover { border-color: var(--lagoon); }
.chambre-card.selected { border-color: var(--lagoon); background: var(--lagoon-light); }
.chambre-card.selected strong { color: var(--lagoon-dark); }
.chambre-card.indispo { cursor: not-allowed; opacity: 0.55; background: #f4f2ea; }
.chambre-card.indispo span { color: var(--coral-dark); }

/* ---------- Confort tactile général (tablette) ---------- */
.btn { min-height: 44px; padding: 10px 18px; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; }
.btn.small { min-height: 36px; padding: 6px 14px; font-size: 13px; }
input, select, textarea { min-height: 44px; padding: 10px 12px; font-size: 15px; }
textarea { min-height: unset; }
nav a { padding: 6px 2px; }
label { font-size: 13.5px; }

/* ---------- Calendrier des réservations ---------- */
.cal-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; flex-wrap: wrap; gap: 10px; }
.cal-month-label, .cal-range-label { font-family: "Fraunces", Georgia, serif; font-size: 20px; font-weight: 600; color: var(--lagoon-dark); text-transform: capitalize; text-align: center; flex: 1; }
.cal-tabs { display: inline-flex; background: var(--lagoon-light); border-radius: 8px; padding: 3px; margin-bottom: 16px; gap: 2px; }
.cal-tabs .cal-tab {
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--lagoon-dark);
}
.cal-tabs .cal-tab.active { background: var(--lagoon); color: #fff; }
.cal-tabs .cal-tab:not(.active):hover { background: rgba(20, 107, 99, 0.12); }
.cal-cell.head { position: relative; }
.mois-tag {
  position: absolute;
  top: 2px;
  left: 3px;
  font-size: 8.5px;
  text-transform: uppercase;
  color: var(--coral-dark);
  font-weight: 700;
}
.cal-nav { display: flex; gap: 8px; align-items: center; }
.cal-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.cal-legend i.confirmee { background: var(--lagoon); }
.cal-legend i.en_attente { background: var(--amber); }
.cal-legend i.terminee { background: #b9b6a8; }
.cal-legend i.annulee { background: repeating-linear-gradient(45deg, #ddd, #ddd 3px, #f0f0ec 3px, #f0f0ec 6px); }
.cal-legend i.externe { background: repeating-linear-gradient(45deg, #cbd5da, #cbd5da 3px, #e4ebee 3px, #e4ebee 6px); }

.cal-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}
.cal-grid {
  display: grid;
  grid-template-columns: 150px repeat(var(--days), minmax(30px, 1fr));
  min-width: calc(150px + var(--days) * 30px);
  overflow: hidden;
}
.cal-cell {
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 6px 3px;
  font-size: 11px;
  text-align: center;
  color: var(--muted);
  line-height: 1.3;
}
.cal-cell.head { background: #fbf9f3; font-weight: 600; position: sticky; top: 0; }
.cal-cell.head .dow { display: block; font-size: 9.5px; text-transform: uppercase; opacity: 0.75; }
.cal-cell.weekend { background: #f7f1e2; }
.cal-cell.today { background: var(--coral); color: #fff; font-weight: 700; }
.cal-cell.label {
  text-align: left;
  padding-left: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  background: #fbf9f3;
  position: sticky;
  left: 0;
}
.cal-cell.label.head { z-index: 2; }
.cal-bg {
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.cal-bg.weekend { background: #fbf7ec; }
.cal-bg.today { background: #fdeee5; }
.cal-bar {
  align-self: center;
  margin: 5px 2px;
  border-radius: 7px;
  padding: 0 8px;
  height: 28px;
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.cal-bar.confirmee { background: var(--lagoon); }
.cal-bar.en_attente { background: var(--amber); color: #4a3510; }
.cal-bar.terminee { background: #b9b6a8; color: #40402f; }
.cal-bar.annulee {
  background: repeating-linear-gradient(45deg, #e4e1d6, #e4e1d6 5px, #f0eee4 5px, #f0eee4 10px);
  color: #8c897d;
  text-decoration: line-through;
}
.cal-bar.externe {
  background: repeating-linear-gradient(45deg, #93a5ae, #93a5ae 5px, #aebcc3 5px, #aebcc3 10px);
  color: #fff;
  font-size: 11px;
  cursor: default;
}
.cal-bar:hover { filter: brightness(0.94); }
.cal-bar[data-deplacable="1"] { cursor: grab; touch-action: none; -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
.cal-bar-dragging { cursor: grabbing; opacity: 0.9; box-shadow: 0 8px 20px rgba(0,0,0,0.25); transform: scale(1.03); transition: none !important; }
.cal-bg.cal-chambre-survolee { background: var(--lagoon-light) !important; }
.cal-drag-hint { margin-top: 10px; font-size: 12.5px; color: var(--muted); }

@media print {
  nav, .actions, .no-print { display: none !important; }
  body { background: #fff; }
}

/* ---------- Comptabilité ---------- */
.compta-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.compta-tile {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.compta-tile span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.compta-tile strong { font-size: 19px; color: var(--ink); font-family: "Fraunces", Georgia, serif; }
.compta-tile.encaisse strong { color: var(--lagoon-dark); }
.compta-tile.solde strong { color: var(--coral-dark); }

.line-remove {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 15px;
  margin-left: 8px;
  padding: 0 4px;
  line-height: 1;
}
.line-remove:hover { color: var(--coral-dark); }

/* ---------- Sélecteur d'icône (fiche option) ---------- */
.icone-palette { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.icone-choix {
  width: 46px; height: 46px;
  font-size: 22px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.icone-choix:hover { border-color: var(--lagoon); }
.icone-choix.selected { border-color: var(--lagoon); background: var(--lagoon-light); }

.type-choix-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 4px; }
.type-choix {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 16px 14px;
  cursor: pointer;
  background: var(--card);
}
.type-choix:hover { border-color: var(--lagoon); }
.type-choix.selected { border-color: var(--lagoon); background: var(--lagoon-light); }
.type-choix-emoji { font-size: 30px; }
.type-choix strong { font-size: 14.5px; color: var(--ink); }
.type-choix small { color: var(--muted); font-size: 12px; line-height: 1.4; }
.nav-pos { color: var(--coral) !important; font-weight: 700; }
.nav-pos:hover { color: #fff !important; }

.pos-clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 8px;
}
.pos-client-carte {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  text-decoration: none;
  color: inherit;
  position: relative;
  min-height: 76px;
}
.pos-client-carte:hover { border-color: var(--coral); }
.pos-client-avatar {
  width: 44px; height: 44px;
  min-width: 44px;
  border-radius: 999px;
  background: var(--lagoon-light);
  color: var(--lagoon-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 15px;
}
.pos-client-info { display: flex; flex-direction: column; gap: 2px; }
.pos-client-info strong { font-size: 15px; }
.pos-client-info small { color: var(--muted); font-size: 12.5px; }
.pos-client-badge {
  position: absolute;
  top: 10px; right: 12px;
  font-size: 11px;
  color: var(--muted);
  background: var(--sand);
  border-radius: 6px;
  padding: 2px 7px;
}
.pos-client-badge.avenir { color: var(--coral-dark); background: #fdeee3; }

/* ---------- Écran de commande façon caisse (POS) ---------- */
.pos-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.pos-header-titre { display: flex; flex-direction: column; }
.pos-header-titre strong { font-family: "Fraunces", Georgia, serif; font-size: 20px; color: var(--lagoon-dark); }
.pos-header-titre span { font-size: 13px; color: var(--muted); }

.pos-grille {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 14px;
  margin-bottom: 100px; /* laisse la place au panier fixe en bas sur mobile */
}
.pos-tuile {
  position: relative;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 16px 10px;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.08s, border-color 0.12s;
}
.pos-tuile:hover { border-color: var(--lagoon); }
.pos-tuile:active, .pos-tuile.pos-pulse { transform: scale(0.94); border-color: var(--coral); }
.pos-emoji { font-size: 34px; line-height: 1; }
.pos-nom { font-size: 13.5px; font-weight: 600; color: var(--ink); text-align: center; }
.pos-prix { font-size: 12px; color: var(--muted); }
.pos-badge {
  position: absolute;
  top: -8px; right: -8px;
  min-width: 26px; height: 26px;
  background: var(--coral);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}
.pos-badge.actif { display: flex; }

.pos-panier {
  position: sticky;
  bottom: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
  padding: 16px 18px;
  margin-top: 20px;
}
.pos-panier-vide { color: var(--muted); font-style: italic; text-align: center; padding: 10px 0; }
.pos-ligne {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.pos-ligne-nom { flex: 1; font-size: 14.5px; font-weight: 600; }
.pos-ligne-qte { display: flex; align-items: center; gap: 10px; }
.pos-stepper {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--sand);
  font-size: 18px;
  font-weight: 700;
  color: var(--lagoon-dark);
  cursor: pointer;
}
.pos-stepper:hover { background: var(--lagoon-light); }
.pos-ligne-qte span { min-width: 20px; text-align: center; font-weight: 600; }
.pos-ligne-total { width: 90px; text-align: right; font-weight: 600; }
.pos-panier-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  font-size: 17px;
  font-weight: 700;
}
.pos-valider {
  width: 100%;
  font-size: 17px;
  min-height: 54px;
  background: var(--coral);
}
.pos-valider:hover { background: var(--coral-dark); }

@media (min-width: 700px) {
  .pos-grille { margin-bottom: 20px; }
  .pos-panier { position: static; box-shadow: none; max-width: 480px; }
}

/* ================================================================
   Utuafare — nouvelle couche UI / expérience utilisateur
   ================================================================ */
:root {
  --lagoon: #176b63;
  --lagoon-dark: #0b4b46;
  --lagoon-light: #e2f0ed;
  --coral: #e68151;
  --coral-dark: #bf5a31;
  --sand: #f7f3ea;
  --card: #fffdf9;
  --border: #e8e1d4;
  --ink: #26332f;
  --muted: #7d837c;
  --shadow-sm: 0 2px 10px rgba(32, 55, 48, .06);
  --shadow-md: 0 10px 30px rgba(32, 55, 48, .09);
  --radius: 16px;
}

html { scroll-behavior: smooth; }
body { min-height: 100vh; background: radial-gradient(circle at 15% 0%, rgba(225, 240, 236, .7), transparent 28%), var(--sand); }
body::before { content: ""; display:block; height:3px; background: linear-gradient(90deg, var(--coral), #e9b15d, var(--lagoon)); }

.topbar {
  position: sticky; top: 0; z-index: 20;
  padding: 0 24px;
  background: rgba(11, 75, 70, .97);
  box-shadow: 0 4px 18px rgba(12, 52, 48, .12);
  backdrop-filter: blur(10px);
}
.nav-inner { max-width: 1180px; min-height: 70px; margin: 0 auto; display:flex; align-items:center; gap:18px; }
.brand { display:flex !important; align-items:center; gap:9px; color:#fff !important; text-decoration:none; font-family:"Fraunces",Georgia,serif; font-size:21px !important; font-weight:700 !important; letter-spacing:.01em; white-space:nowrap; }
.brand-mark { font-family:inherit; font-size:22px; }
.nav-menu { flex:1; display:flex; justify-content:space-between; align-items:center; gap:18px; }
.nav-main, .nav-secondary { display:flex; align-items:center; gap:4px; }
.topbar .nav-menu a { padding:10px 12px; border-radius:9px; color:#fff; text-decoration:none; font-size:14px; opacity:.76; transition:background .15s, opacity .15s; }
.topbar .nav-menu a:hover, .topbar .nav-menu a.active { opacity:1; background:rgba(255,255,255,.11); }
.topbar .nav-menu a.nav-settings { font-size:17px; }
.nav-user { color:rgba(255,255,255,0.75); font-size:12.5px; padding:6px 2px; }
.nav-logout { background:transparent; border:0; color:rgba(255,255,255,0.75); font-size:12.5px; text-decoration:underline; cursor:pointer; padding:6px 2px; font-family:inherit; }
.nav-logout:hover { color:#fff; }
.nav-toggle { display:none; margin-left:auto; border:1px solid rgba(255,255,255,.22); background:transparent; color:#fff; min-height:42px; min-width:42px; border-radius:10px; font-size:20px; cursor:pointer; }

main { max-width:1180px; padding:32px 24px 70px; }
h1 { font-size:32px; letter-spacing:-.025em; margin:0 0 8px; }
h2 { font-size:19px; margin:0; }
.site-footer { max-width:1180px; margin:0 auto; padding:0 24px 32px; color:var(--muted); font-size:12px; }
.site-footer a { color:var(--muted); }
.site-footer a:hover { color:var(--lagoon-dark); }
.legal-page { max-width:760px; }
.legal-page h2 { margin-top:28px; }
.legal-page p, .legal-page li { color:var(--ink); font-size:14px; line-height:1.65; }
.legal-page .placeholder { background:#fdeee3; color:var(--coral-dark); padding:1px 6px; border-radius:5px; font-weight:600; }
.legal-disclaimer { background:var(--sand); border:1px solid var(--border); border-radius:10px; padding:14px 18px; font-size:13px; color:var(--muted); margin-bottom:24px; }
.eyebrow { margin:0 0 5px; text-transform:uppercase; letter-spacing:.09em; font-size:11px; font-weight:700; color:var(--coral-dark); }
.hero-dashboard { display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin:8px 0 26px; }
.hero-dashboard h1 { color:var(--lagoon-dark); }
.hero-dashboard h1 span { font-family:initial; font-size:25px; }
.hero-subtitle { margin:0; color:var(--muted); font-size:15px; }
.hero-actions { display:flex; gap:10px; flex-wrap:wrap; }
.hero-action { min-height:50px; border-radius:12px; padding:0 20px; box-shadow:0 7px 16px rgba(23,107,99,.18); }
.hero-action span { font-size:20px; margin-right:6px; }
.hero-action.secondary { box-shadow:none; background:var(--card); }

.stat-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-bottom:22px; }
.stat-card { min-height:132px; position:relative; display:grid; grid-template-columns:auto 1fr; gap:12px; align-items:start; padding:20px; border:1px solid var(--border); border-radius:var(--radius); background:var(--card); color:var(--ink); text-decoration:none; box-shadow:var(--shadow-sm); overflow:hidden; transition:transform .15s, box-shadow .15s, border-color .15s; }
.stat-card::after { content:""; position:absolute; width:100px; height:100px; border-radius:50%; right:-40px; top:-45px; background:rgba(23,107,99,.06); }
.stat-card:hover { transform:translateY(-2px); box-shadow:var(--shadow-md); border-color:#d9d0c0; }
.stat-icon { width:44px; height:44px; display:grid; place-items:center; border-radius:13px; background:var(--lagoon-light); color:var(--lagoon-dark); font-size:22px; font-weight:700; }
.stat-arrivals .stat-icon { background:#fff0e8; color:var(--coral-dark); }
.stat-departures .stat-icon { background:#f8efdc; color:#9a6d17; }
.stat-copy small { display:block; color:var(--muted); font-size:12px; margin-bottom:5px; }
.stat-copy strong { font-family:"Fraunces",Georgia,serif; font-size:30px; line-height:1; color:var(--lagoon-dark); }
.stat-copy strong em { font-family:"Inter",sans-serif; font-size:15px; font-style:normal; color:var(--muted); font-weight:500; }
.stat-link { grid-column:1/-1; align-self:end; color:var(--lagoon); font-size:12px; font-weight:600; }

.dashboard-columns { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(360px,.75fr); gap:18px; margin-bottom:22px; }
.dashboard-panel, .quick-actions { border:1px solid var(--border); border-radius:var(--radius); background:rgba(255,253,249,.92); box-shadow:var(--shadow-sm); }
.dashboard-panel { padding:20px; }
.panel-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; margin-bottom:16px; }
.panel-heading h2 { color:var(--lagoon-dark); }
.panel-date { color:var(--muted); font-size:12px; text-transform:capitalize; }
.text-link { color:var(--lagoon); text-decoration:none; font-size:12px; font-weight:700; }
.text-link:hover { text-decoration:underline; }
.today-events { display:flex; flex-direction:column; gap:8px; }
.today-event { display:grid; grid-template-columns:40px minmax(0,1fr) auto 16px; align-items:center; gap:11px; padding:11px 12px; border:1px solid var(--border); border-radius:12px; background:#fff; color:var(--ink); text-decoration:none; transition:background .12s, transform .12s; }
.today-event:hover { background:#fbfaf5; transform:translateX(2px); }
.event-icon { width:36px; height:36px; display:grid; place-items:center; border-radius:11px; font-size:18px; font-weight:700; }
.event-arrival .event-icon { background:#fff0e8; color:var(--coral-dark); }
.event-departure .event-icon { background:#f8efdc; color:#9a6d17; }
.event-stay .event-icon { background:var(--lagoon-light); color:var(--lagoon-dark); }
.event-main { min-width:0; display:flex; flex-direction:column; gap:2px; }
.event-main strong { font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.event-main span { font-size:12px; color:var(--muted); }
.event-time { font-size:11px; color:var(--muted); white-space:nowrap; }
.event-arrow { color:#a6aaa4; font-size:20px; }
.empty-state { min-height:190px; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; gap:6px; color:var(--muted); }
.empty-state strong { color:var(--ink); font-size:14px; }
.empty-icon { font-size:34px; margin-bottom:5px; }
.upcoming-list { display:flex; flex-direction:column; }
.upcoming-row { display:grid; grid-template-columns:48px minmax(0,1fr) auto 14px; gap:10px; align-items:center; padding:11px 0; border-bottom:1px solid var(--border); color:var(--ink); text-decoration:none; }
.upcoming-row:last-child { border-bottom:0; }
.upcoming-row:hover strong { color:var(--lagoon); }
.upcoming-row > span:nth-child(2) { min-width:0; display:flex; flex-direction:column; gap:2px; }
.upcoming-row strong { font-size:13px; }
.upcoming-row small { font-size:11px; color:var(--muted); }
.date-pill { width:44px; height:44px; display:grid; place-items:center; border-radius:11px; background:var(--sand); color:var(--lagoon-dark); font-family:"Fraunces",Georgia,serif; }

.quick-actions { padding:20px; }
.quick-actions > div:first-child { margin-bottom:14px; }
.quick-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
.quick-action { min-height:112px; display:flex; flex-direction:column; justify-content:center; gap:4px; padding:15px; border:1px solid var(--border); border-radius:13px; background:#fff; text-decoration:none; color:var(--ink); transition:transform .12s, border-color .12s, background .12s; }
.quick-action:hover { transform:translateY(-2px); border-color:#c9dcd8; background:#fcfffe; }
.quick-action > span { font-size:22px; margin-bottom:4px; }
.quick-action strong { font-size:13px; }
.quick-action small { color:var(--muted); font-size:11px; }

/* Better default cards/forms/tables throughout the application */
.card { box-shadow:var(--shadow-sm); border-radius:var(--radius); }
input, select, textarea { border-radius:10px; background:#fffdfb; }
input:focus, select:focus, textarea:focus { outline:3px solid rgba(23,107,99,.12); border-color:var(--lagoon); }
.btn { border-radius:10px; font-weight:600; transition:transform .1s, box-shadow .1s, background .1s; }
.btn:hover { transform:translateY(-1px); }
table tr:last-child td { border-bottom:0; }
.badge { padding:5px 10px; }

@media (max-width: 900px) {
  .nav-inner { flex-wrap:wrap; padding:10px 0; }
  .nav-toggle { display:block; }
  .nav-menu { display:none; width:100%; flex-direction:column; align-items:stretch; gap:4px; padding:0 0 10px; }
  .nav-menu.open { display:flex; }
  .nav-main, .nav-secondary { flex-direction:column; align-items:stretch; gap:2px; }
  .topbar .nav-menu a { padding:11px 12px; }
  .dashboard-columns { grid-template-columns:1fr; }
  .quick-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 700px) {
  .topbar { padding:0 14px; }
  main { padding:24px 14px 55px; }
  .site-footer { padding:0 14px 24px; }
  .hero-dashboard { align-items:stretch; flex-direction:column; gap:16px; }
  .hero-actions { flex-direction:column; }
  .hero-action { width:100%; }
  .stat-grid { grid-template-columns:1fr; }
  .stat-card { min-height:105px; }
  .dashboard-panel, .quick-actions { padding:15px; }
  .panel-heading { align-items:flex-start; flex-direction:column; }
  .event-time { display:none; }
  .today-event { grid-template-columns:38px minmax(0,1fr) 16px; }
  .upcoming-row { grid-template-columns:46px minmax(0,1fr) 14px; }
  .upcoming-row .badge { display:none; }
  .quick-grid { grid-template-columns:1fr; }
  h1 { font-size:28px; }
}


/* ---------- Création de réservation : parcours simplifié ---------- */
.booking-head { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; margin-bottom:20px; }
.booking-head h1 { margin:2px 0 6px; }
.booking-subtitle { margin:0; color:var(--muted); max-width:650px; font-size:14px; }
.eyebrow { margin:0 0 3px; text-transform:uppercase; letter-spacing:.08em; font-size:11px; font-weight:700; color:var(--coral-dark); }
.booking-layout { display:grid; grid-template-columns:minmax(0,1fr) 310px; gap:18px; align-items:start; }
.booking-main { display:flex; flex-direction:column; gap:16px; min-width:0; }
.booking-step { margin:0; padding:20px; }
.step-heading { display:flex; align-items:center; gap:12px; margin-bottom:18px; }
.step-heading h2 { margin:0; font-size:18px; }
.step-number { width:34px; height:34px; border-radius:50%; background:var(--lagoon-light); color:var(--lagoon-dark); display:grid; place-items:center; font-weight:800; flex:0 0 34px; }
.client-search-row { display:flex; gap:10px; align-items:center; margin-bottom:12px; }
.booking-search { flex:1; }
.client-choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; max-height:300px; overflow:auto; }
.client-choice { appearance:none; border:1px solid var(--border); background:#fff; border-radius:10px; padding:11px; display:flex; align-items:center; gap:10px; text-align:left; cursor:pointer; font:inherit; min-width:0; }
.client-choice:hover { border-color:var(--lagoon); background:#fbfdfc; }
.client-choice.selected { border:2px solid var(--lagoon); background:var(--lagoon-light); padding:10px; }
.client-avatar, .summary-avatar { width:38px; height:38px; border-radius:50%; display:grid; place-items:center; background:var(--sand); color:var(--lagoon-dark); font-weight:800; flex:0 0 38px; }
.client-choice-main { min-width:0; flex:1; display:flex; flex-direction:column; gap:2px; }
.client-choice-main strong { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.client-choice-main small { color:var(--muted); font-size:11px; }
.client-choice-check { opacity:0; color:var(--lagoon); font-weight:800; }
.client-choice.selected .client-choice-check { opacity:1; }
.selection-hint { margin:10px 0 0; color:var(--muted); font-size:12px; }
.booking-fields.two-cols { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.guest-count { margin-top:14px; padding:13px 14px; border-radius:10px; background:var(--sand); display:flex; justify-content:space-between; align-items:center; gap:16px; }
.guest-count strong, .guest-count small { display:block; }
.guest-count small { color:var(--muted); font-size:12px; margin-top:2px; }
.number-stepper { display:flex; align-items:center; gap:4px; }
.number-stepper button { width:40px; height:40px; border:1px solid var(--border); background:#fff; border-radius:8px; font-size:22px; cursor:pointer; color:var(--lagoon-dark); }
.number-stepper input { width:52px; text-align:center; min-height:40px; }
.booking-room-cards { grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); }
.booking-room { position:relative; text-align:left; border:2px solid var(--border); padding:15px; min-height:118px; align-items:flex-start; }
.booking-room .room-icon { font-size:26px; }
.booking-room strong { font-size:16px; }
.booking-room .room-check { position:absolute; right:10px; top:10px; width:25px; height:25px; border-radius:50%; display:grid; place-items:center; background:var(--lagoon); color:#fff; opacity:0; }
.booking-room.selected .room-check { opacity:1; }
.booking-room.selected { background:var(--lagoon-light); border-color:var(--lagoon); }
.booking-room.indispo { pointer-events:none; }
.booking-more { margin:0; }
.booking-more summary { cursor:pointer; list-style:none; font-weight:700; color:var(--lagoon-dark); }
.booking-more summary::-webkit-details-marker { display:none; }
.booking-more summary span { display:block; color:var(--muted); font-weight:400; font-size:12px; margin-top:3px; }
.booking-more-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:18px; }
.booking-more-grid .full { grid-column:1/-1; }
.check-row { display:flex; align-items:center; gap:8px; margin:25px 0 0; color:var(--ink); }
.check-row input { width:auto; min-height:unset; }
.var-pill {
  display:inline-block;
  background:var(--lagoon-light);
  color:var(--lagoon-dark);
  font-family:monospace;
  font-size:11.5px;
  padding:3px 8px;
  border-radius:6px;
  cursor:default;
}
.booking-summary { position:sticky; top:18px; margin:0; padding:20px; box-shadow:0 8px 28px rgba(43,43,38,.08); }
.booking-summary h2 { margin:0 0 18px; font-family:"Fraunces",Georgia,serif; font-size:21px; }
.summary-person, .summary-room { display:flex; align-items:center; gap:10px; padding:12px 0; border-bottom:1px solid var(--border); }
.summary-person > div, .summary-room > div { display:flex; flex-direction:column; gap:2px; min-width:0; }
.summary-person small, .summary-room small { color:var(--muted); font-size:12px; }
.summary-room > span:first-child { font-size:22px; }
.summary-total { display:flex; justify-content:space-between; align-items:end; padding:18px 0 10px; gap:10px; }
.summary-total span { color:var(--muted); font-size:12px; }
.summary-total strong { font-size:20px; color:var(--lagoon-dark); }
.summary-note { margin:8px 0 18px; padding:11px; background:var(--sand); border-radius:8px; color:var(--muted); font-size:11.5px; line-height:1.5; }
.booking-submit { width:100%; min-height:52px; font-size:16px; background:var(--coral); }
.booking-submit:hover { background:var(--coral-dark); }
.booking-empty-client { text-align:center; padding:45px 20px; max-width:650px; margin:0 auto; }
.empty-icon { font-size:42px; margin-bottom:8px; }

/* ---------- Consommations : vocabulaire plus métier ---------- */
.pos-header-titre strong { font-size:21px; }
.pos-grille { grid-template-columns:repeat(auto-fill,minmax(145px,1fr)); }
.pos-tuile { min-height:140px; border-radius:14px; }
.pos-panier-vide { padding:18px 10px; }

@media (max-width: 800px) {
  .booking-layout { grid-template-columns:1fr; }
  .booking-summary { position:static; order:-1; }
}
@media (max-width: 560px) {
  .booking-head { flex-direction:column; }
  .client-search-row, .booking-fields.two-cols, .booking-more-grid { grid-template-columns:1fr; flex-direction:column; }
  .client-search-row .btn { width:100%; }
  .client-choices { grid-template-columns:1fr; max-height:260px; }
  .booking-more-grid .full { grid-column:auto; }
  .guest-count { align-items:flex-start; flex-direction:column; }
}

/* ---------- Fiche séjour : interface réception ---------- */
.stay-hero { background:linear-gradient(135deg,#fff 0%,#f5faf8 100%); border:1px solid var(--border); border-radius:18px; padding:22px 24px 0; margin-bottom:18px; box-shadow:0 8px 30px rgba(43,43,38,.06); }
.stay-hero-top { display:flex; justify-content:space-between; align-items:center; gap:14px; margin-bottom:18px; }
.back-link { color:var(--lagoon); text-decoration:none; font-size:13px; font-weight:600; }
.stay-actions { display:flex; gap:8px; align-items:center; }
.stay-actions form { margin:0; }
.stay-identity { display:flex; align-items:center; gap:15px; }
.stay-avatar { width:58px; height:58px; border-radius:18px; display:grid; place-items:center; background:var(--lagoon-light); color:var(--lagoon-dark); font-weight:800; font-size:20px; }
.stay-title h1 { margin:0 0 4px; font-size:30px; }
.stay-title p:last-child { margin:0 0 20px; color:var(--muted); display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.stay-meta { display:grid; grid-template-columns:repeat(4,1fr); margin:20px -24px 0; border-top:1px solid var(--border); }
.stay-meta div { padding:13px 20px 15px; border-right:1px solid var(--border); }
.stay-meta div:last-child { border-right:0; }
.stay-meta span, .info-grid span { display:block; font-size:10px; color:var(--muted); font-weight:700; letter-spacing:.08em; text-transform:uppercase; margin-bottom:4px; }
.stay-meta strong { font-size:14px; color:var(--lagoon-dark); }
.stay-grid { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(320px,.75fr); gap:18px; align-items:start; }
.stay-main { display:flex; flex-direction:column; gap:18px; min-width:0; }
.stay-side { display:flex; flex-direction:column; gap:18px; min-width:0; }
.stay-card { background:var(--card); border:1px solid var(--border); border-radius:15px; padding:20px; box-shadow:0 4px 18px rgba(43,43,38,.035); }
.stay-card h2 { margin:0; font-family:"Fraunces",Georgia,serif; font-size:21px; color:var(--lagoon-dark); }
.stay-card-head { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:10px; }
.section-hint { margin:0 0 13px; color:var(--muted); font-size:12px; line-height:1.5; }
.consumption-card { border-top:3px solid var(--coral); }
.consumption-btn { background:var(--coral); border-color:var(--coral); color:#fff; min-height:40px; }
.consumption-btn:hover { background:var(--coral-dark); }
.stay-lines { border-top:1px solid var(--border); }
.stay-line { display:grid; grid-template-columns:38px minmax(0,1fr) auto auto; gap:10px; align-items:center; padding:11px 0; border-bottom:1px solid var(--border); }
.stay-line-icon { width:34px; height:34px; display:grid; place-items:center; background:var(--sand); border-radius:9px; font-size:18px; }
.stay-line-main { display:flex; flex-direction:column; gap:2px; min-width:0; }
.stay-line-main strong { font-size:13.5px; }
.stay-line-main small { color:var(--muted); font-size:11px; }
.stay-line-price { font-size:13px; white-space:nowrap; }
.stay-line-actions { display:flex; align-items:center; gap:2px; }
.line-remove { border:0; background:transparent; color:var(--muted); font-size:22px; cursor:pointer; width:28px; height:32px; border-radius:7px; }
.line-remove:hover { background:#f7e2da; color:var(--coral-dark); }
.line-gift, .line-gift-undo { border:0; background:transparent; font-size:15px; cursor:pointer; width:28px; height:32px; border-radius:7px; }
.line-gift:hover { background:var(--lagoon-light); }
.line-gift-undo { color:var(--muted); font-size:14px; }
.line-gift-undo:hover { background:var(--sand); color:var(--ink); }
.stay-empty { display:flex; align-items:center; gap:13px; padding:18px 4px; color:var(--muted); }
.stay-empty > span { font-size:30px; }
.stay-empty div { display:flex; flex-direction:column; gap:3px; }
.stay-empty strong { color:var(--ink); font-size:13px; }
.stay-empty small { font-size:11px; }
.consumption-total { display:flex; justify-content:space-between; padding:13px 0 0; font-size:12px; color:var(--muted); }
.consumption-total strong { color:var(--ink); font-size:14px; }

.recap-jour { display:flex; flex-direction:column; gap:6px; padding:10px 2px 2px; }
.recap-jour-ligne { display:flex; align-items:center; gap:10px; font-size:13px; }
.recap-jour-date { min-width:60px; color:var(--lagoon-dark); font-weight:700; font-size:12px; text-transform:capitalize; }
.recap-jour-ligne span:not(.recap-jour-date) { flex:1; color:var(--ink); }
.recap-jour-ligne strong { color:var(--muted); font-weight:600; }
.info-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:0; border-top:1px solid var(--border); }
.info-grid div { padding:12px 8px 4px 0; min-width:0; }
.info-grid strong { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13px; }
.stay-notes { margin-top:12px; border-top:1px solid var(--border); padding-top:12px; }
.stay-notes summary { cursor:pointer; color:var(--lagoon); font-size:12px; font-weight:600; }
.stay-notes p { margin:10px 0 0; color:var(--muted); font-size:12px; line-height:1.5; white-space:pre-wrap; }
.stay-total-card { padding-bottom:16px; }
.stay-grand-total { display:flex; justify-content:space-between; align-items:end; border-top:2px solid var(--ink); margin-top:9px; padding:13px 0 8px; }
.stay-grand-total span { font-weight:600; }
.stay-grand-total strong { font-size:22px; color:var(--lagoon-dark); }
.balance-row { display:flex; justify-content:space-between; padding:5px 0; font-size:12px; color:var(--muted); }
.balance-row strong { color:var(--ink); }
.balance-row.due { color:var(--coral-dark); font-weight:600; }
.balance-row.due strong { color:var(--coral-dark); }
.payment-status { padding:5px 9px; border-radius:20px; font-size:11px; font-weight:700; white-space:nowrap; }
.payment-status.paid { background:var(--lagoon-light); color:var(--lagoon-dark); }
.payment-status.due { background:#f8ecd6; color:#92620f; }
.payment-grid { display:grid; gap:10px; }
.payment-box { background:var(--sand); border-radius:10px; padding:12px; }
.payment-box > div:first-child { display:flex; flex-direction:column; gap:3px; margin-bottom:9px; }
.payment-box small { color:var(--muted); font-size:10.5px; }
.payment-action { display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
.payment-action input[type=number] { width:115px; }
.check-inline { display:flex; align-items:center; gap:5px; margin:0; color:var(--ink); font-size:11px; }
.check-inline input { width:auto; }
.payment-main { background:var(--coral); }
.status-card form { display:flex; gap:8px; }
.status-card select { flex:1; }
.alert-card { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:15px 17px; border:1px solid var(--coral); background:#fff8f4; border-radius:12px; }
.alert-card.alert-coral { border-color:var(--coral-dark); background:#fff3ec; }
.alert-card > div { display:flex; flex-direction:column; gap:4px; }
.alert-card small { color:var(--muted); font-size:11px; }
.danger-details { border:1px solid var(--border); border-radius:12px; padding:13px 15px; background:#fff; }
.danger-details summary { cursor:pointer; color:var(--coral-dark); font-size:12px; font-weight:600; }
.danger-details form { display:flex; gap:8px; margin-top:12px; }
.danger-details form input { flex:1; }
@media (max-width: 800px) {
  .stay-grid { grid-template-columns:1fr; }
  .stay-side { order:-1; }
}
@media (max-width: 600px) {
  .stay-hero { padding:17px 16px 0; }
  .stay-hero-top { align-items:flex-start; }
  .stay-actions .btn.danger { display:none; }
  .stay-title h1 { font-size:25px; }
  .stay-meta { grid-template-columns:1fr 1fr; margin-left:-16px; margin-right:-16px; }
  .stay-meta div:nth-child(2) { border-right:0; }
  .stay-meta div:nth-child(-n+2) { border-bottom:1px solid var(--border); }
  .stay-card { padding:16px; }
  .stay-card-head { align-items:flex-start; }
  .stay-line { grid-template-columns:34px minmax(0,1fr) auto 24px; gap:7px; }
  .stay-line-price { font-size:12px; }
  .payment-action input[type=number] { width:100px; }
  .danger-details form { flex-direction:column; }
  .status-card form { flex-direction:column; }
}

/* Accessibilité / PMR */
.accessibility-card {
  background: linear-gradient(135deg, rgba(14,77,71,.06), rgba(188,198,63,.10));
  border: 1px solid rgba(14,77,71,.14);
  border-radius: 14px;
  padding: 13px 15px;
}
.accessibility-card small { display:block; margin-top:6px; color:var(--muted); line-height:1.45; }
.form-section-label { font-family: Fraunces, Georgia, serif; font-size: 1.05rem; font-weight:700; margin-top:8px; color:var(--ink); }
.form-grid-two { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.mini-badge { display:inline-flex; align-items:center; margin-left:6px; padding:3px 7px; border-radius:999px; background:rgba(14,77,71,.09); color:var(--lagoon,#0e4d47); font-size:11px; font-weight:700; }
.mini-badge.tourist { background:rgba(214,116,76,.12); color:var(--coral-dark,#a64f32); }
.room-access { display:inline-flex; width:max-content; padding:3px 7px; border-radius:999px; background:rgba(14,77,71,.08); color:var(--lagoon,#0e4d47); font-size:11px; font-weight:700; }
.booking-accessibility-note { margin-top:10px; padding:10px 12px; border-radius:10px; background:var(--sand,#f5efe4); color:var(--muted); font-size:13px; }
@media (max-width:700px) { .form-grid-two { grid-template-columns:1fr; } }

/* V6 — capacités et ajouts rapides */
.capacity-grid > div { min-width: 0; }
.field-capacity { display:flex; flex-direction:column; gap:4px; }
.capacity-grid small, .quick-option-card small { display:block; margin-top:6px; color:var(--muted); line-height:1.4; }
.capacity-help { display:flex; gap:12px; align-items:flex-start; padding:12px 14px; border:1px solid var(--border); border-radius:14px; background:var(--sand); color:var(--muted); font-size:13px; }
.capacity-help strong { color:var(--ink); white-space:nowrap; }
.room-capacity { color:var(--muted); font-size:12px; }
.room-warning { color:var(--coral-dark); font-size:12px; font-weight:700; }
.booking-quick-options { margin-top:18px; padding-top:16px; border-top:1px solid var(--border); }
.quick-options-note { margin:0; color:var(--muted); font-size:13px; }
.quick-options-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:10px; margin-top:12px; }
.quick-option-tile { display:flex; align-items:center; gap:10px; padding:12px; border:1px solid var(--border); border-radius:14px; background:var(--card); cursor:pointer; transition:.15s ease; }
.quick-option-tile:hover { transform:translateY(-1px); border-color:var(--lagoon); }
.quick-option-tile input { width:18px; height:18px; margin:0; }
.quick-option-icon { font-size:24px; }
.quick-option-tile strong, .quick-option-tile small { display:block; }
.quick-option-tile small { margin-top:3px; color:var(--muted); font-size:12px; }

/* ---------- Popup d'alerte (conflit de réservation, etc.) ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 77, 71, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 999;
}
.modal-box {
  background: var(--card);
  border-radius: 16px;
  padding: 28px 26px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.modal-icon { font-size: 36px; margin-bottom: 6px; }
.modal-box h2 { font-family: "Fraunces", Georgia, serif; font-size: 19px; color: var(--coral-dark); margin-bottom: 10px; }
.modal-box p { font-size: 14px; color: var(--ink); line-height: 1.55; margin-bottom: 20px; }
.modal-box .btn { width: 100%; }

/* ---------- Bandeau de surveillance de connexion ---------- */
.connexion-bandeau {
  position: sticky;
  top: 0;
  z-index: 500;
  text-align: center;
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 600;
}
.connexion-bandeau.connexion-perdue { background: var(--coral); color: #fff; }
.connexion-bandeau.connexion-perdue a { color: #fff; text-decoration: underline; }
.connexion-bandeau.connexion-ok { background: var(--lagoon); color: #fff; }

/* ================================================================
   UTUAFARE PREMIUM — UI SYSTEM v1.0
   Direction: boutique hospitality × premium SaaS
   ================================================================ */
:root {
  --primary: #0D3B3E;
  --primary-dark: #082C2F;
  --primary-soft: #E7F0EF;
  --gold: #DAAF37;
  --gold-soft: #F8EFD8;
  --bg: #F7F3E8;
  --surface: #FFFFFF;
  --surface-soft: #FBF9F4;
  --border: #E6E2DA;
  --text: #193638;
  --muted: #6F7B78;
  --success: #2F8F68;
  --success-soft: #E1F0E9;
  --warning: #C9902E;
  --warning-soft: #F8EED5;
  --danger: #C95B4B;
  --danger-soft: #F7E4E0;
  --shadow-sm: 0 2px 10px rgba(13,59,62,.055);
  --shadow-md: 0 10px 30px rgba(13,59,62,.085);
  --radius: 10px;
  --radius-card: 12px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
}
body::before {
  height: 2px;
  background: var(--gold);
}

/* Navigation */
.topbar {
  background: var(--primary);
  box-shadow: 0 4px 18px rgba(8,44,47,.14);
  backdrop-filter: none;
}
.nav-inner { min-height: 72px; max-width: 1240px; }
.brand {
  gap: 10px;
  font-family: "Fraunces", Georgia, serif !important;
  font-size: 20px !important;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(218,175,55,.7);
  border-radius: 8px;
  color: var(--gold);
  font-size: 16px;
  line-height: 1;
}
.topbar .nav-menu a {
  border-radius: 8px;
  font-size: 13.5px;
  letter-spacing: .005em;
}
.topbar .nav-menu a:hover,
.topbar .nav-menu a.active {
  background: rgba(255,255,255,.09);
}
.topbar .nav-menu a.active {
  box-shadow: inset 0 -2px 0 var(--gold);
}
.nav-pos { color: #fff !important; font-weight: 600; }
.nav-pos:hover { color: #fff !important; }
.nav-user { color: rgba(255,255,255,.68); }
.nav-logout { color: rgba(255,255,255,.68); }

/* Page chrome */
main { max-width: 1240px; padding: 34px 28px 72px; }
h1 {
  color: var(--text);
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  letter-spacing: -.02em;
}
h2 { color: var(--text); }
.eyebrow { color: var(--primary); letter-spacing: .12em; }
.site-footer { max-width: 1240px; padding-left: 28px; padding-right: 28px; }
.site-footer a:hover { color: var(--primary); }

/* Cards / surfaces */
.card,
.dashboard-panel,
.quick-actions,
.stay-card,
.stay-hero,
.booking-step,
.booking-summary,
.pos-panier,
.compta-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}
.card:hover { box-shadow: var(--shadow-sm); }

/* Buttons */
.btn {
  min-height: 44px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .005em;
  transition: background .15s, border-color .15s, transform .08s, box-shadow .15s;
}
.btn:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(13,59,62,.14);
}
.btn:active { transform: translateY(1px); }
.btn.secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: none;
}
.btn.secondary:hover { background: var(--primary-soft); }
.btn.danger { background: var(--danger); border-color: var(--danger); }
.btn.small { min-height: 36px; padding: 7px 13px; font-size: 12.5px; }

/* Forms */
label { color: var(--muted); font-weight: 500; }
input, select, textarea {
  border-color: #DAD8D0;
  background: #fff;
  color: var(--text);
  border-radius: 8px;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,59,62,.09);
}

/* Status badges */
.badge { border-radius: 6px; padding: 4px 9px; font-size: 11.5px; letter-spacing: .01em; }
.badge.confirmee { background: var(--success-soft); color: #236B4D; }
.badge.en_attente { background: var(--warning-soft); color: #8C651D; }
.badge.terminee { background: #ECEDE9; color: #626A67; }
.badge.annulee { background: var(--danger-soft); color: #A6493D; }
.badge.no_show { background: #ECE6F7; color: #5B4B8A; }

/* Dashboard */
.hero-dashboard {
  padding: 4px 0 8px;
}
.hero-dashboard h1 { font-size: 32px; }
.hero-subtitle { color: var(--muted); }
.stat-grid { gap: 14px; }
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.stat-card:hover {
  transform: translateY(-1px);
  border-color: #D4DCD9;
  box-shadow: var(--shadow-md);
}
.stat-icon {
  border-radius: 9px;
}
.stat-occupancy .stat-icon { background: var(--primary-soft); color: var(--primary); }
.stat-arrivals .stat-icon { background: var(--success-soft); color: var(--success); }
.stat-departures .stat-icon { background: var(--gold-soft); color: var(--warning); }
.stat-copy strong { color: var(--text); font-family: "Fraunces", Georgia, serif; }
.stat-link { color: var(--primary); }
.panel-heading h2 { font-family: "Fraunces", Georgia, serif; font-size: 21px; }
.text-link { color: var(--primary); }
.today-event:hover, .upcoming-row:hover { background: var(--surface-soft); }
.event-icon { background: var(--primary-soft); color: var(--primary); }
.event-arrival .event-icon { background: var(--success-soft); color: var(--success); }
.event-departure .event-icon { background: var(--gold-soft); color: var(--warning); }
.empty-state .empty-icon { color: var(--gold); }

/* Calendar */
.cal-tabs { background: var(--primary-soft); border-radius: 8px; }
.cal-tabs .cal-tab { color: var(--primary); }
.cal-tabs .cal-tab.active { background: var(--primary); color: #fff; }
.cal-tabs .cal-tab:not(.active):hover { background: rgba(13,59,62,.08); }
.cal-month-label, .cal-range-label { color: var(--primary); }
.cal-wrap { border-color: var(--border); box-shadow: var(--shadow-sm); }
.cal-cell.head { background: var(--surface-soft); }
.cal-cell.weekend { background: #FAF7EF; }
.cal-cell.today { background: var(--gold); color: var(--text); }
.cal-cell.label { background: var(--surface-soft); color: var(--text); }
.cal-bg.weekend { background: #FCFAF5; }
.cal-bg.today { background: #FBF4DD; }
.cal-bg.cal-chambre-survolee { background: var(--primary-soft) !important; }
.cal-bar { border-radius: 7px; box-shadow: none; font-weight: 600; }
.cal-bar.confirmee { background: var(--primary); }
.cal-bar.en_attente { background: var(--gold); color: var(--text); }
.cal-bar.terminee { background: #A7AFAC; color: #fff; }
.cal-bar.annulee { color: #8B8580; }
.cal-legend i.confirmee { background: var(--primary); }
.cal-legend i.en_attente { background: var(--gold); }

/* Selection cards */
.chambre-card,
.type-choix,
.booking-room,
.client-choice,
.pos-client-carte,
.pos-tuile {
  border-color: var(--border);
  border-radius: 10px;
  box-shadow: none;
  transition: border-color .15s, background .15s, box-shadow .15s, transform .08s;
}
.chambre-card:hover,
.type-choix:hover,
.booking-room:hover,
.client-choice:hover,
.pos-client-carte:hover,
.pos-tuile:hover {
  border-color: #B8C9C6;
  box-shadow: var(--shadow-sm);
}
.chambre-card.selected,
.type-choix.selected,
.booking-room.selected,
.client-choice.selected {
  border-color: var(--primary);
  background: var(--primary-soft);
}
.chambre-card.selected strong,
.booking-room.selected strong { color: var(--primary); }

/* Booking */
.booking-step { padding: 20px; }
.step-number { background: var(--primary-soft); color: var(--primary); }
.booking-summary { box-shadow: var(--shadow-md); }
.booking-summary h2, .stay-card h2 { color: var(--primary); }
.summary-total strong { color: var(--primary); }
.booking-submit { background: var(--primary); }
.booking-submit:hover { background: var(--primary-dark); }

/* Stay / reservation detail */
.stay-hero { background: linear-gradient(135deg,#fff 0%,#F8FBFA 100%); box-shadow: var(--shadow-sm); }
.stay-avatar { background: var(--primary-soft); color: var(--primary); }
.stay-title h1 { color: var(--text); }
.stay-meta strong { color: var(--primary); }

/* POS / consumptions */
.pos-tuile { background: var(--surface); }
.pos-emoji { filter: grayscale(.15); }
.pos-badge { background: var(--gold); color: var(--text); }
.pos-stepper { color: var(--primary); }
.pos-stepper:hover { background: var(--primary-soft); }
.pos-valider { background: var(--primary); }
.pos-valider:hover { background: var(--primary-dark); }
.pos-client-avatar { background: var(--primary-soft); color: var(--primary); }
.pos-client-badge.avenir { color: var(--warning); background: var(--warning-soft); }

/* Accounting */
.compta-tile.encaisse strong { color: var(--primary); }
.compta-tile.solde strong { color: var(--danger); }

/* Tables */
th { color: var(--muted); }
tr:hover td { background: var(--surface-soft); }

/* Focus accessibility */
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(218,175,55,.55);
  outline-offset: 2px;
}

@media (max-width: 850px) {
  .topbar { padding: 0 16px; }
  .nav-inner { min-height: 64px; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-menu { display: none; flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 0 14px; }
  .nav-menu.open { display: flex; }
  .nav-main, .nav-secondary { flex-direction: column; align-items: stretch; gap: 2px; }
  .topbar .nav-menu a { display: block; padding: 12px 13px; }
  .nav-user, .nav-logout { display: block; padding: 10px 13px; }
  main { padding: 26px 18px 60px; }
}

@media (max-width: 560px) {
  .brand { font-size: 18px !important; }
  .brand-mark { width: 30px; height: 30px; }
  main { padding-left: 14px; padding-right: 14px; }
  h1, .hero-dashboard h1 { font-size: 28px; }
}

/* ============================================================
   UTUAFARE PREMIUM — Dashboard & Calendar refinement
   ============================================================ */
:root {
  --primary: #0D3B3E;
  --primary-dark: #082C2F;
  --primary-soft: #E5EFEC;
  --gold: #DAAF37;
  --gold-soft: #F7EED5;
  --surface: #FFFFFF;
  --surface-soft: #F7F3E8;
  --border: #E6E2DA;
  --text: #193638;
  --muted: #6F7B78;
  --success: #2F8F68;
  --success-soft: #E1F0E9;
  --warning-soft: #F8EED5;
  --danger-soft: #F7E4E0;
  --radius-card: 14px;
  --shadow-sm: 0 1px 2px rgba(13,59,62,.04), 0 6px 18px rgba(13,59,62,.045);
  --shadow-md: 0 8px 28px rgba(13,59,62,.09);
}

.dashboard-hero-premium {
  display:flex; justify-content:space-between; align-items:flex-end; gap:32px;
  margin:4px 0 28px; padding:8px 0 4px;
}
.dashboard-hero-copy { max-width:700px; }
.dashboard-hero-copy h1 { margin:4px 0 10px; font-size:38px; line-height:1.05; letter-spacing:-.035em; }
.dashboard-hero-copy h1 em { color:var(--primary); font-style:normal; }
.dashboard-hero-copy .eyebrow { color:var(--gold); }
.dashboard-hero-copy .hero-subtitle { max-width:600px; margin:0; font-size:14px; line-height:1.6; color:var(--muted); }
.dashboard-hero-actions { display:flex; gap:9px; flex-wrap:wrap; justify-content:flex-end; }

.premium-stat-grid { display:grid; grid-template-columns:1.25fr repeat(3,1fr); gap:12px; margin-bottom:20px; }
.premium-stat-card {
  position:relative; min-height:152px; padding:18px 19px 16px; display:flex; flex-direction:column;
  justify-content:flex-start; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-card);
  color:var(--text); text-decoration:none; box-shadow:var(--shadow-sm); overflow:hidden;
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.premium-stat-card:hover { transform:translateY(-2px); box-shadow:var(--shadow-md); border-color:#CBD8D4; }
.premium-stat-card.featured { background:var(--primary); color:#fff; border-color:var(--primary); }
.premium-stat-card.featured:after { content:""; position:absolute; width:130px; height:130px; border-radius:50%; right:-54px; top:-54px; border:1px solid rgba(218,175,55,.22); }
.stat-kicker { text-transform:uppercase; letter-spacing:.1em; font-size:10.5px; font-weight:700; color:var(--muted); }
.featured .stat-kicker { color:rgba(255,255,255,.66); }
.stat-value { margin-top:12px; font:600 34px/1 "Fraunces", Georgia, serif; letter-spacing:-.025em; }
.stat-value small { font:600 18px/1 Inter, sans-serif; margin-left:2px; }
.stat-meta { margin-top:auto; padding-top:9px; font-size:11.5px; color:var(--muted); }
.featured .stat-meta { color:rgba(255,255,255,.72); }
.stat-progress { display:block; height:4px; margin-top:14px; background:rgba(255,255,255,.14); border-radius:999px; overflow:hidden; }
.stat-progress i { display:block; height:100%; background:var(--gold); border-radius:inherit; }
.stat-symbol { width:30px; height:30px; display:grid; place-items:center; margin-bottom:14px; border-radius:9px; font-size:17px; font-weight:600; }
.stat-symbol.arrival { background:var(--success-soft); color:var(--success); }
.stat-symbol.departure { background:var(--gold-soft); color:#8C651D; }
.stat-symbol.upcoming { background:var(--primary-soft); color:var(--primary); }

.premium-columns { gap:14px; }
.premium-panel { padding:20px 21px; }
.premium-panel .panel-heading { margin-bottom:13px; }
.premium-panel .panel-heading h2 { margin-top:3px; }
.premium-panel .panel-date { font-size:11px; color:var(--muted); text-transform:capitalize; }
.today-event { border-radius:10px; padding:11px 10px; }
.today-event:hover, .upcoming-row:hover { background:#F8F9F6; }
.event-icon { width:34px; height:34px; border-radius:9px; }
.upcoming-row { padding:10px 0; }
.date-pill { background:var(--surface-soft); border:1px solid var(--border); }

.premium-quick-actions { padding:19px 20px 20px; }
.quick-heading { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom:13px; }
.quick-heading h2 { margin-top:3px; }
.quick-heading > span { font-size:11.5px; color:var(--muted); }
.quick-action { min-height:104px; border-radius:11px; padding:14px; }
.quick-action > span { width:30px; height:30px; display:grid; place-items:center; border-radius:8px; background:var(--primary-soft); color:var(--primary); font-size:18px; }
.quick-action:hover { border-color:#CBD8D4; background:#fff; transform:translateY(-2px); box-shadow:var(--shadow-sm); }

/* Calendar: clearer hierarchy, calmer chrome, stronger booking bars */
.cal-toolbar { padding:4px 0 13px; border-bottom:1px solid var(--border); margin-bottom:12px; }
.cal-range-label { font-size:21px; color:var(--primary); }
.cal-tabs { background:var(--primary-soft); padding:3px; border-radius:9px; }
.cal-tabs .cal-tab { padding:7px 16px; }
.cal-tabs .cal-tab.active { background:var(--primary); box-shadow:0 2px 5px rgba(13,59,62,.14); }
.cal-legend { padding:9px 0 2px; margin-bottom:9px; gap:14px; }
.cal-legend i { width:9px; height:9px; border-radius:3px; }
.cal-wrap { border-radius:14px; box-shadow:var(--shadow-sm); }
.cal-grid { grid-template-columns:170px repeat(var(--days), minmax(34px, 1fr)); min-width:calc(170px + var(--days) * 34px); }
.cal-cell { padding:7px 3px; font-size:11px; }
.cal-cell.head { background:#FAF9F5; color:var(--text); }
.cal-cell.head .dow { color:var(--muted); }
.cal-cell.label { background:#FAF9F5; font-weight:650; color:var(--text); padding-left:14px; }
.cal-cell.today { background:var(--gold); color:var(--text); }
.cal-bg.today { background:#FBF4DD; }
.cal-bg.weekend { background:#FCFAF5; }
.cal-bar { height:28px; margin:5px 3px; padding:0 9px; border-radius:8px; font-size:11.5px; letter-spacing:.005em; box-shadow:0 2px 4px rgba(13,59,62,.08); }
.cal-bar.confirmee { background:var(--primary); }
.cal-bar.en_attente { background:var(--gold); color:var(--text); }
.cal-bar.terminee { background:#A7AFAC; color:#fff; }
.cal-bar.annulee { background:repeating-linear-gradient(45deg,#E8E6DF,#E8E6DF 5px,#F2F0EA 5px,#F2F0EA 10px); color:#7B817D; }
.cal-bar.externe { background:repeating-linear-gradient(45deg,#80949A,#80949A 5px,#9DAEB3 5px,#9DAEB3 10px); }
.cal-bar:hover { filter:none; transform:translateY(-1px); box-shadow:0 4px 9px rgba(13,59,62,.14); }
.cal-drag-hint { padding:0 2px; }

@media (max-width: 980px) {
  .premium-stat-grid { grid-template-columns:repeat(2,1fr); }
  .dashboard-hero-premium { align-items:flex-start; flex-direction:column; }
  .dashboard-hero-actions { justify-content:flex-start; }
}
@media (max-width: 700px) {
  .dashboard-hero-copy h1 { font-size:31px; }
  .premium-stat-grid { grid-template-columns:1fr; }
  .premium-stat-card { min-height:132px; }
  .quick-heading { align-items:flex-start; flex-direction:column; gap:5px; }
  .cal-toolbar { align-items:stretch; }
  .cal-nav { width:100%; justify-content:space-between; }
  .cal-range-label { order:-1; width:100%; }
  .cal-toolbar > .btn { width:100%; }
  .cal-grid { grid-template-columns:145px repeat(var(--days), minmax(42px,1fr)); min-width:calc(145px + var(--days) * 42px); }
}

/* ============================================================
   UTUAFARE PREMIUM V2.1 — Reservation detail refinement
   ============================================================ */
.brand-logo { display:flex; align-items:center; width:168px; height:48px; }
.brand-logo img { display:block; width:168px; height:48px; object-fit:contain; object-position:left center; }

.stay-hero {
  background: linear-gradient(135deg, #fff 0%, #F7F3E8 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 22px 0;
  box-shadow: var(--shadow-sm);
}
.stay-hero-top { margin-bottom:16px; }
.back-link { color:var(--primary); font-weight:650; }
.back-link:hover { color:var(--gold); }
.stay-identity { gap:14px; }
.stay-avatar {
  width:60px; height:60px; border-radius:15px;
  background:var(--primary); color:#fff; position:relative; overflow:hidden;
  box-shadow:0 5px 14px rgba(13,59,62,.14);
}
.stay-avatar::after { content:""; position:absolute; inset:auto -12px -20px auto; width:54px; height:54px; border-radius:50%; border:1px solid rgba(218,175,55,.35); }
.stay-title h1 { font-size:31px; letter-spacing:-.025em; }
.stay-title p:last-child { font-size:13px; }
.stay-meta { margin-top:18px; }
.stay-meta div { padding:13px 18px 14px; }
.stay-meta strong { color:var(--primary); font-size:14px; }

.stay-grid { grid-template-columns:minmax(0,1.55fr) minmax(300px,.72fr); gap:16px; }
.stay-main, .stay-side { gap:16px; }
.stay-card { border-radius:14px; padding:19px 20px; box-shadow:var(--shadow-sm); }
.stay-card h2 { color:var(--primary); }
.stay-card-head { margin-bottom:12px; }
.stay-card-head .eyebrow { margin-bottom:2px; }
.section-hint { max-width:760px; }

.consumption-btn { background:var(--primary); border-color:var(--primary); }
.consumption-btn:hover { background:var(--primary-dark); border-color:var(--primary-dark); }
.stay-line { padding:12px 0; }
.stay-line-icon { background:var(--surface-soft); color:var(--primary); }
.stay-line-price { color:var(--text); font-weight:700; }

.stay-total-card { position:sticky; top:18px; }
.stay-total-card > .eyebrow { color:var(--gold); }
.stay-grand-total { border-top:1px solid var(--border); }
.stay-grand-total strong { color:var(--primary); font:600 25px/1 "Fraunces",Georgia,serif; }
.balance-row.due, .balance-row.due strong { color:#A6493D; }
.payment-status { border-radius:7px; padding:6px 9px; }
.payment-status.paid { background:var(--success-soft); color:#236B4D; }
.payment-status.due { background:var(--gold-soft); color:#8C651D; }
.payment-box { background:var(--surface-soft); border:1px solid var(--border); }
.payment-main { background:var(--primary); border-color:var(--primary); }
.payment-main:hover { background:var(--primary-dark); border-color:var(--primary-dark); }

.status-card select { min-height:40px; }
.alert-card { border-color:#E8C3BB; background:#FFF8F6; }
.danger-details { background:#FCFBF8; }

/* Contact / stay information becomes denser and more legible */
.info-grid { gap:0 16px; }
.info-grid div { padding:12px 0 8px; }
.info-grid strong { color:var(--text); }
.stay-notes summary { color:var(--primary); }

@media (max-width: 800px) {
  .stay-total-card { position:static; }
}
@media (max-width: 600px) {
  .brand-logo, .brand-logo img { width:145px; height:42px; }
  .stay-hero { border-radius:14px; padding-left:16px; padding-right:16px; }
  .stay-title h1 { font-size:25px; }
}

/* ============================================================
   UTUAFARE PREMIUM V4 — Chambres
   ============================================================ */
.page-heading-premium { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:24px; }
.page-heading-premium h1 { margin:2px 0 5px; font-size:32px; letter-spacing:-.025em; }
.page-intro { margin:0; color:var(--muted); font-size:13.5px; max-width:650px; line-height:1.5; }
.eyebrow { margin:0 0 5px; color:var(--gold); text-transform:uppercase; letter-spacing:.11em; font-size:10.5px; font-weight:700; }

.room-overview-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-bottom:28px; }
.room-overview-card { background:var(--card); border:1px solid var(--border); border-radius:13px; padding:16px 17px; box-shadow:var(--shadow-sm); min-height:112px; display:flex; flex-direction:column; justify-content:space-between; }
.room-overview-card .overview-label { color:var(--muted); font-size:11px; text-transform:uppercase; letter-spacing:.07em; font-weight:700; }
.room-overview-card strong { color:var(--primary); font:600 28px/1 "Fraunces",Georgia,serif; margin-top:7px; }
.room-overview-card small { color:var(--muted); font-size:11.5px; line-height:1.35; }
.room-overview-card.overview-accent { background:linear-gradient(145deg,#fff 0%,#FBF5E5 100%); border-color:#E9DDAF; }

.rooms-section-head { display:flex; align-items:end; justify-content:space-between; margin-bottom:12px; }
.rooms-section-head h2 { margin:0; font-family:"Fraunces",Georgia,serif; color:var(--primary); font-size:20px; }
.rooms-section-head p { margin:3px 0 0; color:var(--muted); font-size:12px; }
.rooms-grid-premium { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.room-card-premium { background:#fff; border:1px solid var(--border); border-radius:15px; padding:18px; box-shadow:var(--shadow-sm); transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease; }
.room-card-premium:hover { transform:translateY(-2px); box-shadow:var(--shadow-md); border-color:#C9D6D2; }
.room-card-premium.is-inactive { opacity:.72; }
.room-card-top { display:flex; align-items:center; gap:12px; }
.room-card-icon { flex:0 0 45px; width:45px; height:45px; display:grid; place-items:center; border-radius:12px; background:var(--primary-soft); color:var(--primary); }
.room-card-icon svg { width:24px; height:24px; }
.room-card-heading { min-width:0; flex:1; }
.room-card-name-row { display:flex; align-items:center; gap:9px; flex-wrap:wrap; }
.room-card-name-row h2 { margin:0; font:600 20px/1.15 "Fraunces",Georgia,serif; color:var(--text); }
.room-card-heading p { margin:5px 0 0; color:var(--muted); font-size:12px; }
.room-card-menu { display:flex; align-items:center; gap:6px; }
.room-card-menu form { margin:0; }
.room-status { display:inline-flex; align-items:center; gap:5px; padding:4px 7px; border-radius:999px; font-size:10.5px; font-weight:700; }
.room-status i { width:6px; height:6px; border-radius:50%; display:block; }
.room-status.active { background:#E5F1EB; color:#236B4D; }
.room-status.active i { background:#2F8F68; }
.room-status.inactive { background:#EEEDE8; color:#77736B; }
.room-status.inactive i { background:#A5A19A; }
.room-feature { display:inline-flex; align-items:center; padding:4px 8px; border-radius:999px; background:#EEF5F3; color:var(--primary); font-size:10.5px; font-weight:700; }
.icon-action { width:30px; height:30px; border-radius:7px; border:1px solid var(--border); background:#fff; color:var(--muted); cursor:pointer; font-size:18px; line-height:1; display:grid; place-items:center; font-family:inherit; }
.icon-action:hover { border-color:#D6B0A8; background:#FFF8F6; color:var(--danger); }
.room-capacity-panel { display:grid; grid-template-columns:1fr auto 1.2fr; align-items:center; gap:14px; margin:17px 0 13px; padding:14px 15px; border-radius:11px; background:#FAF9F5; border:1px solid #EEEAE0; }
.room-capacity-panel span { display:block; color:var(--muted); font-size:10.5px; text-transform:uppercase; letter-spacing:.055em; font-weight:700; }
.room-capacity-panel strong { display:block; margin-top:4px; color:var(--primary); font:600 23px/1 "Fraunces",Georgia,serif; }
.room-capacity-panel strong small { font:500 11px Inter,sans-serif; }
.capacity-primary strong { color:var(--lagoon-dark); }
.capacity-secondary strong { color:var(--text); }
.capacity-secondary em { display:block; margin-top:4px; color:var(--muted); font-size:10.5px; font-style:normal; }
.capacity-divider { width:1px; height:43px; background:var(--border); }
.room-card-meta { display:grid; grid-template-columns:1fr 1fr; gap:12px; padding-bottom:13px; border-bottom:1px solid var(--border); }
.room-card-meta div { display:flex; flex-direction:column; gap:4px; }
.room-card-meta span { color:var(--muted); font-size:10.5px; text-transform:uppercase; letter-spacing:.06em; }
.room-card-meta strong { color:var(--text); font-size:14px; }
.room-card-footer { display:flex; align-items:center; justify-content:space-between; gap:10px; padding-top:12px; color:var(--muted); font-size:11.5px; }
.room-card-footer a { color:var(--primary); text-decoration:none; font-weight:700; }
.room-card-footer a span { transition:transform .15s; display:inline-block; }
.room-card-footer a:hover span { transform:translateX(3px); }
.rooms-empty { grid-column:1/-1; background:#fff; border:1px dashed #CFCAC0; border-radius:15px; padding:45px 25px; text-align:center; }
.rooms-empty-icon { width:54px; height:54px; margin:0 auto 12px; border-radius:15px; display:grid; place-items:center; background:var(--primary-soft); color:var(--primary); }
.rooms-empty-icon svg { width:28px; height:28px; }
.rooms-empty strong { display:block; color:var(--primary); font:600 20px "Fraunces",Georgia,serif; }
.rooms-empty p { max-width:430px; margin:7px auto 17px; color:var(--muted); font-size:13px; line-height:1.5; }

.rooms-heading { margin-bottom:22px; }
.room-edit-heading { margin-bottom:20px; }
.room-form-layout { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(260px,.55fr); gap:15px; align-items:start; }
.room-form-card,.room-preview-card { background:#fff; border:1px solid var(--border); border-radius:15px; padding:20px; box-shadow:var(--shadow-sm); }
.room-form-section-head { display:flex; align-items:flex-start; justify-content:space-between; gap:15px; padding-bottom:17px; border-bottom:1px solid var(--border); margin-bottom:18px; }
.room-form-section-head h2 { margin:0; color:var(--primary); font:600 20px "Fraunces",Georgia,serif; }
.room-form-section-head p:not(.eyebrow) { margin:4px 0 0; color:var(--muted); font-size:12px; line-height:1.45; }
.section-icon { flex:0 0 38px; width:38px; height:38px; border-radius:10px; display:grid; place-items:center; background:var(--primary-soft); color:var(--primary); font-weight:700; }
.room-form { max-width:none !important; gap:17px !important; }
.room-form input,.room-form select { min-height:43px; }
.number-input-wrap { position:relative; }
.number-input-wrap input { padding-right:55px; }
.number-input-wrap > span { position:absolute; right:12px; top:50%; transform:translateY(-50%); color:var(--muted); font-size:11px; font-weight:700; pointer-events:none; }
.number-input-wrap.currency > span { color:var(--primary); }
.capacity-help-premium { display:flex; gap:11px; padding:13px 14px; border-radius:11px; background:#FAF7ED; border:1px solid #E9DDBA; }
.capacity-help-icon { flex:0 0 22px; width:22px; height:22px; display:grid; place-items:center; border-radius:50%; background:var(--gold); color:#fff; font-size:12px; font-weight:800; }
.capacity-help-premium strong { color:var(--text); font-size:12.5px; }
.capacity-help-premium p { margin:4px 0 0; color:var(--muted); font-size:11.5px; line-height:1.45; }
.form-section-divider { height:1px; background:var(--border); margin:1px 0; }
.room-toggle-row { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:13px 14px; border:1px solid var(--border); border-radius:11px; }
.room-toggle-row strong { display:block; font-size:13px; color:var(--text); }
.room-toggle-row small { display:block; margin-top:3px; color:var(--muted); font-size:11.5px; line-height:1.4; }
.premium-switch { margin:0; flex:0 0 auto; width:45px; height:25px; position:relative; cursor:pointer; }
.premium-switch input { position:absolute; opacity:0; width:0 !important; height:0; }
.premium-switch span { position:absolute; inset:0; border-radius:999px; background:#D9D7D0; transition:.18s; }
.premium-switch span:before { content:""; position:absolute; width:19px; height:19px; left:3px; top:3px; border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.15); transition:.18s; }
.premium-switch input:checked + span { background:var(--primary); }
.premium-switch input:checked + span:before { transform:translateX(20px); }
.room-form-actions { display:flex; justify-content:flex-end; gap:8px; padding-top:3px; }
.room-preview-card { position:sticky; top:18px; overflow:hidden; background:linear-gradient(150deg,#fff 0%,#F7F3E8 100%); }
.room-preview-card h2 { margin:3px 0 15px; color:var(--primary); font:600 24px "Fraunces",Georgia,serif; }
.room-preview-icon { width:70px; height:70px; border-radius:18px; margin-bottom:18px; display:grid; place-items:center; background:var(--primary); color:#fff; box-shadow:0 8px 20px rgba(13,59,62,.14); }
.room-preview-icon svg { width:37px; height:37px; }
.preview-capacity { display:grid; grid-template-columns:1fr 1fr; border-top:1px solid var(--border); border-bottom:1px solid var(--border); margin:0 -20px; padding:15px 20px; gap:10px; }
.preview-capacity div + div { border-left:1px solid var(--border); padding-left:15px; }
.preview-capacity span,.preview-price span { display:block; color:var(--muted); font-size:10px; text-transform:uppercase; letter-spacing:.07em; font-weight:700; }
.preview-capacity strong { display:block; margin-top:5px; color:var(--primary); font:600 28px "Fraunces",Georgia,serif; }
.preview-capacity small { color:var(--muted); font-size:10.5px; }
.preview-price { padding:17px 0 14px; }
.preview-price strong { display:block; margin-top:4px; color:var(--text); font:600 20px "Fraunces",Georgia,serif; }
.preview-price small { color:var(--muted); font-size:10.5px; }
.preview-features { display:flex; flex-wrap:wrap; gap:6px; }

.ical-card { margin-top:15px; }
.ical-export-box { display:grid; grid-template-columns:minmax(0,.65fr) minmax(0,1.35fr); gap:12px; align-items:center; padding:13px 14px; background:#FAF9F5; border:1px solid var(--border); border-radius:11px; margin-bottom:12px; }
.ical-export-box strong,.ical-export-box small { display:block; }
.ical-export-box strong { margin:2px 0 3px; font-size:13px; }
.ical-export-box small { color:var(--muted); font-size:11px; }
.ical-export-box input { background:#fff; font-size:11px; }
.ical-source-list { display:flex; flex-direction:column; gap:7px; margin-bottom:12px; }
.ical-source-row { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:11px 12px; border:1px solid var(--border); border-radius:10px; }
.ical-source-row strong,.ical-source-row small { display:block; }
.ical-source-row strong { font-size:12.5px; }
.ical-source-row small { color:var(--muted); font-size:10.5px; margin-top:3px; }
.ical-source-actions { display:flex; align-items:center; gap:6px; flex:0 0 auto; }
.ical-source-actions form { margin:0; }
.ical-error { color:var(--danger) !important; }
.ical-add-form { display:grid; grid-template-columns:.55fr 1.35fr auto; gap:9px; align-items:end; }
.ical-add-form label { margin-bottom:4px; }

@media (max-width:900px) {
  .room-overview-grid { grid-template-columns:repeat(2,1fr); }
  .rooms-grid-premium { grid-template-columns:1fr; }
  .room-form-layout { grid-template-columns:1fr; }
  .room-preview-card { position:static; }
}
@media (max-width:650px) {
  .page-heading-premium { align-items:stretch; flex-direction:column; }
  .page-heading-premium .btn { width:100%; text-align:center; }
  .room-overview-grid { grid-template-columns:1fr 1fr; }
  .room-card-top { align-items:flex-start; }
  .room-card-menu .btn { display:none; }
  .room-capacity-panel { grid-template-columns:1fr; gap:9px; }
  .capacity-divider { width:100%; height:1px; }
  .room-card-footer { align-items:flex-start; flex-direction:column; }
  .ical-export-box,.ical-add-form { grid-template-columns:1fr; }
  .ical-source-row { align-items:flex-start; flex-direction:column; }
  .ical-source-actions { width:100%; }
  .ical-source-actions .btn { flex:1; }
  .room-form-actions { flex-direction:column-reverse; }
  .room-form-actions .btn { width:100%; text-align:center; }
}

/* =========================================================
   Utuafare Premium — Clients V5
   ========================================================= */
:root {
  --primary: #0D3B3E;
  --primary-dark: #082C2F;
  --primary-soft: #E5EFED;
  --gold: #DAAF37;
  --gold-soft: #F8F0D9;
  --bg: #F7F3E8;
  --text: #193638;
  --muted: #6F7B78;
  --border: #E6E2DA;
  --success: #2F8F68;
  --warning: #C9902E;
  --danger: #C95B4B;
  --shadow-sm: 0 4px 18px rgba(13,59,62,.06);
}

.clients-heading { margin-bottom: 18px; }
.page-subtitle { margin: -8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; max-width: 690px; }
.eyebrow { margin: 0 0 5px; color: var(--gold); font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }
.client-overview-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-bottom:16px; }
.client-overview-card { background:#fff; border:1px solid var(--border); border-radius:13px; padding:15px 16px; box-shadow:var(--shadow-sm); }
.client-overview-card span,.client-overview-card small { display:block; color:var(--muted); font-size:11px; }
.client-overview-card span { text-transform:uppercase; letter-spacing:.07em; font-weight:700; }
.client-overview-card strong { display:block; margin:5px 0 1px; color:var(--primary); font:600 28px/1 "Fraunces",Georgia,serif; }
.client-overview-card small { font-size:10.5px; }

.clients-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:4px 0 14px; }
.clients-search-wrap { position:relative; flex:1; max-width:600px; }
.clients-search-wrap > span { position:absolute; left:14px; top:50%; transform:translateY(-50%); color:var(--muted); font-size:20px; line-height:1; pointer-events:none; }
.clients-search-wrap input { padding-left:39px; background:#fff; border-radius:10px; box-shadow:var(--shadow-sm); }
.clients-search-wrap input:focus { outline:none; border-color:var(--primary); box-shadow:0 0 0 3px rgba(13,59,62,.08); }
.clients-filter-note { color:var(--muted); font-size:12px; white-space:nowrap; }
.clients-grid-premium { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px; }
.client-card-premium { background:#fff; border:1px solid var(--border); border-radius:15px; padding:16px; box-shadow:var(--shadow-sm); transition:transform .15s, box-shadow .15s, border-color .15s; min-width:0; }
.client-card-premium:hover { transform:translateY(-2px); border-color:#D5D0C5; box-shadow:0 10px 28px rgba(13,59,62,.09); }
.client-card-premium[hidden] { display:none; }
.client-card-top { display:flex; align-items:center; gap:11px; padding-bottom:14px; border-bottom:1px solid var(--border); }
.client-avatar-premium,.client-avatar-xl { flex:0 0 46px; width:46px; height:46px; border-radius:14px; display:grid; place-items:center; background:var(--primary); color:#fff; font:600 15px "Fraunces",Georgia,serif; }
.client-card-identity { min-width:0; flex:1; }
.client-card-name { color:var(--text); font-weight:700; font-size:15px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.client-card-badges { display:flex; flex-wrap:wrap; gap:5px; margin-top:5px; }
.client-status { display:inline-flex; align-items:center; min-height:20px; padding:2px 7px; border-radius:999px; font-size:9.5px; font-weight:800; letter-spacing:.02em; }
.client-status.tourist { background:#F8F0D9; color:#8C651D; }
.client-status.resident { background:var(--primary-soft); color:var(--primary); }
.client-status.pmr { background:#F7E4E0; color:#A6493D; }
.client-more { width:31px; height:31px; flex:0 0 31px; display:grid; place-items:center; border-radius:9px; background:#F7F5EF; color:var(--primary); text-decoration:none; font-size:17px; transition:.15s; }
.client-more:hover { background:var(--primary); color:#fff; }
.client-card-contact { display:grid; grid-template-columns:1fr 1fr; gap:12px; padding:14px 0 12px; }
.client-card-contact div { min-width:0; }
.client-card-contact span { display:block; color:var(--muted); text-transform:uppercase; letter-spacing:.06em; font-size:9.5px; font-weight:700; margin-bottom:4px; }
.client-card-contact strong { display:block; color:var(--text); font-size:11.5px; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.client-card-meta { display:flex; justify-content:space-between; gap:10px; padding:10px 0; border-top:1px solid var(--border); color:var(--muted); font-size:10.5px; }
.client-card-meta span:first-child { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.client-card-footer { display:flex; justify-content:space-between; align-items:center; gap:8px; padding-top:10px; }
.client-card-footer a { color:var(--primary); font-size:11.5px; font-weight:800; text-decoration:none; }
.client-card-footer a span { display:inline-block; transition:.15s; }
.client-card-footer a:hover span { transform:translateX(3px); }
.client-card-footer form { margin:0; }
.client-delete { border:0; background:none; color:#A49F95; font:500 10.5px Inter,sans-serif; cursor:pointer; padding:4px; }
.client-delete:hover { color:var(--danger); }
.clients-empty { grid-column:1/-1; background:#fff; border:1px dashed #CFCAC0; border-radius:15px; padding:48px 25px; text-align:center; }
.clients-empty-icon { width:55px; height:55px; margin:0 auto 12px; border-radius:16px; display:grid; place-items:center; background:var(--primary-soft); color:var(--primary); font-size:25px; }
.clients-empty strong { display:block; color:var(--primary); font:600 21px "Fraunces",Georgia,serif; }
.clients-empty p { max-width:440px; margin:7px auto 18px; color:var(--muted); font-size:12.5px; line-height:1.5; }

.client-form-heading { margin-bottom:18px; }
.back-link { display:inline-block; color:var(--muted); font-size:12px; text-decoration:none; margin-bottom:14px; }
.back-link:hover { color:var(--primary); }
.client-profile-heading { display:flex; align-items:center; gap:13px; }
.client-avatar-xl { width:58px; height:58px; flex-basis:58px; border-radius:17px; font-size:19px; box-shadow:0 8px 18px rgba(13,59,62,.12); }
.client-profile-heading h1 { margin:0 0 3px; }
.client-profile-heading p:last-child { margin:0; color:var(--muted); font-size:12px; }
.client-form-layout { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(270px,.55fr); gap:15px; align-items:start; }
.client-form-card,.client-side-card { background:#fff; border:1px solid var(--border); border-radius:15px; padding:20px; box-shadow:var(--shadow-sm); }
.client-form-card { max-width:none !important; }
.client-form-section { display:flex; align-items:flex-start; gap:11px; margin-bottom:17px; }
.client-form-section .section-icon { flex:0 0 36px; width:36px; height:36px; border-radius:10px; display:grid; place-items:center; background:var(--primary-soft); color:var(--primary); font-size:10px; font-weight:800; letter-spacing:.04em; }
.client-form-section h2 { margin:0; color:var(--primary); font:600 20px "Fraunces",Georgia,serif; }
.client-form-section p { margin:3px 0 0; color:var(--muted); font-size:11.5px; line-height:1.45; }
.client-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:15px; }
.client-form-grid label em { color:var(--gold); font-style:normal; font-size:10px; margin-left:4px; }
.client-form-grid input,.client-form-grid select,.client-form-card textarea { background:#fff; }
.client-form-grid input:focus,.client-form-grid select:focus,.client-form-card textarea:focus { outline:none; border-color:var(--primary); box-shadow:0 0 0 3px rgba(13,59,62,.07); }
.client-form-divider { height:1px; background:var(--border); margin:21px 0; }
.client-accessibility-box { display:flex; align-items:center; justify-content:space-between; gap:15px; min-height:44px; padding:11px 13px; border:1px solid var(--border); border-radius:10px; }
.client-accessibility-box strong { display:block; color:var(--text); font-size:12.5px; }
.client-accessibility-box small { display:block; margin-top:3px; color:var(--muted); font-size:10.5px; line-height:1.4; }
.client-form-card .premium-switch { margin-left:auto; flex:0 0 45px; width:45px; height:25px; position:relative; }
.client-form-card .premium-switch input { position:absolute; opacity:0; width:0 !important; height:0; min-height:0; }
.client-form-card .premium-switch span { position:absolute; inset:0; border-radius:999px; background:#D9D7D0; transition:.18s; }
.client-form-card .premium-switch span:before { content:""; position:absolute; width:19px; height:19px; left:3px; top:3px; border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.15); transition:.18s; }
.client-form-card .premium-switch input:checked + span { background:var(--primary); }
.client-form-card .premium-switch input:checked + span:before { transform:translateX(20px); }
.client-form-actions { display:flex; justify-content:flex-end; gap:8px; padding-top:21px; }
.client-side-column { display:flex; flex-direction:column; gap:15px; position:sticky; top:18px; }
.client-side-card h2 { margin:2px 0 14px; color:var(--primary); font:600 21px "Fraunces",Georgia,serif; }
.client-history-list { display:flex; flex-direction:column; }
.client-history-row { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:11px 0; border-top:1px solid var(--border); }
.client-history-row strong,.client-history-row small { display:block; }
.client-history-row strong { color:var(--text); font-size:12px; }
.client-history-row small { color:var(--muted); font-size:10.5px; margin-top:3px; }
.client-history-empty { color:var(--muted); background:#FAF9F5; border:1px dashed var(--border); border-radius:10px; padding:18px 13px; font-size:11.5px; text-align:center; }
.client-data-card { border-top:3px solid var(--lagoon); }
.client-data-line { display:flex; justify-content:space-between; gap:12px; padding:10px 0; border-top:1px solid var(--border); }
.client-data-line span { color:var(--muted); font-size:10.5px; }
.client-data-line strong { color:var(--text); font-size:11.5px; text-align:right; }
.client-tip-card { background:linear-gradient(150deg,#fff 0%,#F7F3E8 100%); }
.client-tip-icon { width:40px; height:40px; display:grid; place-items:center; margin-bottom:14px; border-radius:12px; background:var(--primary); color:#fff; }
.client-tip-card h2 { margin-bottom:8px; }
.client-tip-card > p:last-child { margin:0; color:var(--muted); font-size:11.5px; line-height:1.55; }

@media (max-width: 980px) {
  .clients-grid-premium { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .client-form-layout { grid-template-columns:1fr; }
  .client-side-column { position:static; display:grid; grid-template-columns:1fr 1fr; }
}
@media (max-width: 680px) {
  .client-overview-grid { grid-template-columns:1fr 1fr; }
  .clients-grid-premium { grid-template-columns:1fr; }
  .clients-toolbar { align-items:stretch; flex-direction:column; }
  .clients-search-wrap { max-width:none; }
  .client-form-grid { grid-template-columns:1fr; }
  .client-side-column { grid-template-columns:1fr; }
  .client-form-actions { flex-direction:column-reverse; }
  .client-form-actions .btn { width:100%; }
}

/* ================================================================
   Utuafare Premium V6 — Commandes & consommations
   ================================================================ */
.pos-clients-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}
.pos-client-carte{min-height:88px;padding:16px 18px;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:var(--shadow-sm)}
.pos-client-carte:hover{border-color:var(--primary);box-shadow:var(--shadow-md);transform:translateY(-1px)}
.pos-client-avatar{width:48px;height:48px;min-width:48px;font-size:14px;background:var(--primary-soft);color:var(--primary);border:1px solid #D8E5E2}
.pos-client-info strong{font-size:15px;color:var(--text)}
.pos-client-info small{font-size:12px}
.pos-client-badge{top:12px;right:12px;border-radius:999px;padding:4px 8px;font-weight:600;background:var(--surface-alt);border:1px solid var(--border)}
.pos-client-badge.avenir{color:var(--warning);background:var(--warning-soft);border-color:#E9D9B2}
.pos-header{padding:16px 18px;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:var(--shadow-sm);margin-bottom:20px}
.pos-header-titre strong{font-family:"Fraunces",Georgia,serif;font-size:22px;color:var(--text)}
.pos-header-titre span{margin-top:2px}
.pos-grille{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px;margin-bottom:24px}
.pos-tuile{min-height:148px;padding:18px 12px;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:var(--shadow-sm);transition:transform .12s ease,border-color .15s,box-shadow .15s}
.pos-tuile:hover{border-color:var(--primary);box-shadow:var(--shadow-md);transform:translateY(-2px)}
.pos-tuile:active,.pos-tuile.pos-pulse{transform:scale(.97);border-color:var(--gold)}
.pos-emoji{font-size:32px;line-height:1;filter:grayscale(.1)}
.pos-nom{font-size:14px;color:var(--text);line-height:1.25}
.pos-prix{font-size:12px;color:var(--muted)}
.pos-badge{top:10px;right:10px;min-width:28px;height:28px;background:var(--gold);color:var(--text);box-shadow:0 2px 6px rgba(0,0,0,.12)}
.pos-panier{position:sticky;bottom:16px;background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:0 12px 32px rgba(13,59,62,.12);padding:18px 20px;margin-top:24px}
.pos-panier-vide{padding:18px;color:var(--muted);font-style:normal}
.pos-ligne{padding:12px 0}
.pos-ligne-nom{font-size:14px;color:var(--text)}
.pos-stepper{width:36px;height:36px;border-radius:9px;background:var(--surface-alt);color:var(--primary);border:1px solid var(--border)}
.pos-stepper:hover{background:var(--primary-soft);border-color:var(--primary)}
.pos-ligne-total{color:var(--text);font-variant-numeric:tabular-nums}
.pos-panier-total{padding:16px 0 12px;font-size:18px;border-top:1px solid var(--border);margin-top:4px}
.pos-panier-total strong{font-family:"Fraunces",Georgia,serif;font-size:24px;color:var(--primary)}
.pos-valider{min-height:50px;border-radius:10px;background:var(--primary);font-size:15px;font-weight:700;box-shadow:0 4px 12px rgba(13,59,62,.14)}
.pos-valider:hover{background:var(--primary-dark);transform:translateY(-1px)}

/* Catalogue consommations */
.option-catalogue-card{display:flex;align-items:center;gap:14px;padding:15px 16px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}

/* ================================================================
   UTUAFARE PREMIUM — V7 GLOBAL FINISH
   Final polish for secondary screens: options, reservations,
   accounting, settings, legal and shared components.
   ================================================================ */
:root {
  --lagoon: #0D3B3E;
  --lagoon-dark: #082C2F;
  --lagoon-light: #E4EFEC;
  --coral: #C95B4B;
  --coral-dark: #A6493D;
  --amber: #DAAF37;
  --gold: #DAAF37;
  --sand: #F7F3E8;
  --card: #FFFFFF;
  --border: #E6E2DA;
  --ink: #193638;
  --muted: #6F7B78;
  --radius: 12px;
  --primary: #0D3B3E;
  --primary-dark: #082C2F;
  --bg: #F7F3E8;
  --text: #193638;
  --danger: #C95B4B;
  --success: #2F8F68;
  --shadow-sm: 0 2px 12px rgba(13,59,62,.055);
  --shadow-md: 0 10px 30px rgba(13,59,62,.09);
}

body { background: var(--bg); color: var(--ink); }
main { max-width: 1180px; padding-top: 30px; }
h1 { color: var(--primary); letter-spacing: -.025em; }
h2 { color: var(--primary); }

/* Shared premium page heading */
main > h1:first-child { margin-top: 4px; }
.page-heading-premium {
  display:flex; align-items:flex-end; justify-content:space-between; gap:20px;
  margin-bottom:24px; padding-bottom:4px;
}
.page-heading-premium .eyebrow,
.page-kicker { color: var(--gold); font-weight:700; letter-spacing:.12em; font-size:11px; }

/* Navigation / brand */
nav { background:var(--primary); box-shadow:0 1px 0 rgba(255,255,255,.06); }
nav .brand-logo { display:flex; align-items:center; margin-right:12px; }
nav .brand-logo img { display:block; width:154px; height:auto; max-height:58px; object-fit:contain; }
nav a { transition:opacity .16s ease, background .16s ease, transform .16s ease; }
nav a.active { position:relative; }
nav a.active::after { content:""; position:absolute; left:8px; right:8px; bottom:-8px; height:2px; border-radius:2px; background:var(--gold); }

/* Cards / controls */
.card { border-color:rgba(230,226,218,.95); box-shadow:var(--shadow-sm); }
.card:hover { box-shadow:var(--shadow-sm); }
.btn { border-radius:8px; background:var(--primary); box-shadow:none; font-weight:600; }
.btn:hover { background:var(--primary-dark); transform:translateY(-1px); }
.btn.secondary { border-color:rgba(13,59,62,.28); color:var(--primary); background:#fff; }
.btn.secondary:hover { background:var(--lagoon-light); border-color:var(--primary); }
.btn.danger { background:var(--danger); }
.btn.danger:hover { background:var(--coral-dark); }
input,select,textarea { border-color:#D8D6CF; border-radius:8px; color:var(--ink); background:#fff; }
input:focus,select:focus,textarea:focus { outline:none; border-color:var(--primary); box-shadow:0 0 0 3px rgba(13,59,62,.09); }

/* Tables — consistent premium treatment */
table { border-collapse:separate; border-spacing:0; overflow:hidden; }
th { background:#FAF8F3; color:#7A817E; padding:12px 12px; }
td { padding:12px; vertical-align:middle; }
tbody tr:hover td, table tr:hover td { background:#FCFBF8; }
td a:not(.btn) { color:var(--primary); font-weight:600; text-decoration:none; }
td a:not(.btn):hover { text-decoration:underline; text-underline-offset:3px; }

/* Options / consumables */
.type-choix-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.type-choix {
  position:relative; display:grid; grid-template-columns:auto 34px 1fr; align-items:start; gap:10px;
  padding:16px; border:1px solid var(--border); border-radius:12px; background:#fff; cursor:pointer;
  transition:.16s ease;
}
.type-choix:hover { border-color:rgba(13,59,62,.4); transform:translateY(-1px); box-shadow:var(--shadow-sm); }
.type-choix.selected { border-color:var(--primary); background:var(--lagoon-light); box-shadow:inset 0 0 0 1px var(--primary); }
.type-choix input { min-height:18px; width:18px; margin-top:3px; }
.type-choix-emoji { font-size:22px; line-height:1.2; filter:saturate(.75); }
.type-choix strong { color:var(--primary); }
.type-choix small { grid-column:2 / -1; color:var(--muted); line-height:1.45; }
.icone-palette { display:flex; flex-wrap:wrap; gap:8px; padding:8px; background:#FAF8F3; border:1px solid var(--border); border-radius:10px; }
.icone-choix { width:42px; height:42px; border:1px solid var(--border); border-radius:9px; background:#fff; cursor:pointer; font-size:20px; }
.icone-choix.selected { border-color:var(--primary); box-shadow:0 0 0 2px rgba(13,59,62,.1); background:var(--lagoon-light); }

/* Reservations list */
.actions { margin-bottom:18px; }
.reservation-list-shell, .options-list-shell, .compta-list-shell { overflow:auto; }
.badge { padding:5px 10px; border-radius:999px; font-size:11.5px; letter-spacing:.01em; }
.badge.en_attente { background:#F8EED5; color:#8C651D; }
.badge.confirmee { background:#E1F0E9; color:#236B4D; }
.badge.terminee { background:#ECEDE9; color:#626A67; }
.badge.annulee { background:#F7E4E0; color:#A6493D; }
.badge.no_show { background:#ECE6F7; color:#5B4B8A; }

/* Accounting */
.compta-summary { grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; margin:0 0 24px; }
.compta-tile { background:#fff; border:1px solid var(--border); border-radius:12px; padding:16px; box-shadow:var(--shadow-sm); min-height:94px; }
.compta-tile span { font-size:11px; text-transform:uppercase; letter-spacing:.06em; }
.compta-tile strong { font-size:21px; color:var(--primary); }
.compta-tile.encaisse { border-top:3px solid var(--success); }
.compta-tile.encaisse strong { color:var(--success); }
.compta-tile.solde { border-top:3px solid var(--gold); }
.compta-tile.solde strong { color:var(--primary); }
.cal-toolbar { background:#fff; border:1px solid var(--border); border-radius:12px; padding:10px; box-shadow:var(--shadow-sm); }
.cal-range-label { color:var(--primary); }

/* Settings */
.settings-section, .reglages-section { margin-bottom:24px; }
main > h2 { margin-top:30px; margin-bottom:12px; }
main > h2 + .card { margin-bottom:20px; }
code { background:#F1EEE6; border:1px solid var(--border); border-radius:5px; padding:2px 5px; color:var(--primary); }
.check-row { color:var(--ink); }

/* Legal pages */
.legal-page { max-width:820px; }
.legal-page h1 { font-size:34px; }
.legal-page h2 { font-size:20px; margin-top:34px; padding-top:8px; border-top:1px solid var(--border); }
.legal-page p, .legal-page li { color:var(--ink); font-size:14px; line-height:1.72; }
.legal-page strong { color:var(--primary); }
.legal-disclaimer { background:#F8EED5; border:1px solid #E7D8AE; color:#705B28; border-radius:12px; }
.legal-page .placeholder { background:#F7E4E0; color:var(--coral-dark); }

/* Empty states */
.empty, .stay-empty { color:var(--muted); }
.empty-state { border:1px dashed var(--border); border-radius:12px; background:rgba(255,255,255,.5); }

/* Footer */
.site-footer { color:var(--muted); border-top:1px solid var(--border); background:rgba(255,255,255,.38); }
.site-footer a { color:var(--primary); }

/* Mobile / tablet */
@media (max-width:900px) {
  .compta-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .type-choix-grid { grid-template-columns:1fr; }
  nav { gap:12px 16px; padding:12px 16px; }
  nav .brand-logo img { width:132px; }
}
@media (max-width:640px) {
  main { padding:20px 14px 44px; }
  .page-heading-premium { align-items:flex-start; flex-direction:column; }
  .compta-summary { grid-template-columns:1fr 1fr; }
  table { min-width:760px; }
  .cal-toolbar { align-items:stretch; }
  .cal-range-label { order:-1; width:100%; }
  nav { overflow-x:auto; flex-wrap:nowrap; white-space:nowrap; }
  nav a.active::after { bottom:-4px; }
}

/* Stock & marge (gestion des consommations) */
.stock-badge { display:inline-flex; align-items:center; padding:4px 10px; border-radius:20px; font-size:11.5px; font-weight:700; text-decoration:none; white-space:nowrap; }
.stock-badge.ok { background:var(--success-soft); color:var(--success); }
.stock-badge.bas { background:var(--warning-soft); color:var(--warning); }
.stock-badge.rupture { background:#f7e2da; color:var(--coral-dark); }
.marge-value { font-size:13px; }
.marge-value.positive { color:var(--success); }
.marge-value.negative { color:var(--coral-dark); }
.marge-value small { color:var(--muted); font-weight:400; }
.mouvement-badge { display:inline-block; padding:3px 9px; border-radius:20px; font-size:11px; font-weight:700; }
.mouvement-badge.vente { background:var(--lagoon-light); color:var(--lagoon-dark); }
.mouvement-badge.reassort { background:var(--success-soft); color:var(--success); }
.mouvement-badge.casse { background:#f7e2da; color:var(--coral-dark); }
.mouvement-badge.ajustement { background:var(--warning-soft); color:var(--warning); }

/* Modules non inclus dans la licence */
.check-row-verrouille { opacity:0.65; }
.badge-verrouille { display:inline-block; margin-left:8px; padding:2px 8px; border-radius:20px; background:var(--warning-soft); color:var(--warning); font-size:11px; font-weight:700; }

/* Écran de vue d'ensemble du stock */
.stock-overview-grid { grid-template-columns:repeat(auto-fill, minmax(160px, 1fr)); }
.stock-overview-card { text-decoration:none; transition:.15s ease; }
.stock-overview-card:hover { transform:translateY(-2px); box-shadow:0 6px 18px rgba(13,59,62,.09); }
.stock-overview-card.bas { border-color:var(--warning); }
.stock-overview-card.rupture { border-color:var(--coral); }
.stock-overview-card.rupture strong { color:var(--coral-dark); }
.stock-overview-card.bas strong { color:var(--warning); }

/* ---------- Menu latéral (préférence alternative au menu du haut) ---------- */
.sidebar {
  position:fixed; top:0; left:0; bottom:0; width:230px; z-index:40;
  background:var(--primary, #0D3B3E); color:#fff;
  display:flex; flex-direction:column; padding:18px 14px;
  overflow-y:auto;
}
.sidebar-brand { margin-bottom:22px; }
.sidebar-brand img { width:150px; height:auto; }
.sidebar-toggle { display:none; }
.sidebar-menu { display:flex; flex-direction:column; flex:1; gap:4px; }
.sidebar-main, .sidebar-secondary { display:flex; flex-direction:column; gap:2px; }
.sidebar-secondary { margin-top:18px; padding-top:14px; border-top:1px solid rgba(255,255,255,.14); }
.sidebar .nav-menu a { display:block; padding:10px 12px; border-radius:9px; color:#fff; text-decoration:none; font-size:14px; opacity:.76; transition:background .15s, opacity .15s; }
.sidebar .nav-menu a:hover, .sidebar .nav-menu a.active { opacity:1; background:rgba(255,255,255,.11); }
.sidebar-footer { margin-top:auto; padding-top:14px; border-top:1px solid rgba(255,255,255,.14); display:flex; flex-direction:column; gap:8px; }
.sidebar .nav-bascule { display:inline-flex; align-items:center; gap:6px; font-size:13px; opacity:.8; }
.sidebar .nav-user { color:#fff; opacity:.85; font-size:13px; }
.sidebar .nav-logout { background:transparent; border:1px solid rgba(255,255,255,.3); color:#fff; border-radius:8px; padding:6px 10px; font-size:12.5px; cursor:pointer; }

/* Bouton de bascule, visible aussi dans le menu du haut */
.nav-bascule { text-decoration:none; padding:6px 8px; border-radius:8px; opacity:.8; }
.nav-bascule:hover { opacity:1; }

body.avec-sidebar { padding-left:230px; }
main.main-avec-sidebar { max-width:1100px; margin:0; padding:32px 32px 70px; }
body.avec-sidebar .site-footer { margin-left:230px; }

@media (max-width: 900px) {
  /* Sous 900px, le menu latéral se replie et se comporte comme le menu du haut (barre + hamburger) —
     pas de tiroir séparé à maintenir, la logique de repli existante est réutilisée telle quelle. */
  .sidebar { position:static; width:auto; flex-direction:row; align-items:center; flex-wrap:wrap; padding:10px 14px; }
  .sidebar-brand { margin-bottom:0; margin-right:auto; }
  .sidebar-brand img { width:130px; }
  .sidebar-toggle { display:block; margin-left:auto; border:1px solid rgba(255,255,255,.22); background:transparent; color:#fff; min-height:42px; min-width:42px; border-radius:10px; font-size:20px; cursor:pointer; }
  .sidebar-menu { display:none; width:100%; flex-direction:column; gap:2px; }
  .sidebar-menu.open { display:flex; }
  .sidebar-secondary { border-top:1px solid rgba(255,255,255,.14); }
  .sidebar-footer { margin-top:0; border-top:1px solid rgba(255,255,255,.14); flex-direction:row; align-items:center; justify-content:space-between; }
  body.avec-sidebar { padding-left:0; }
  main.main-avec-sidebar { max-width:100%; padding:24px 14px 55px; }
  body.avec-sidebar .site-footer { margin-left:0; }
}

/* Choix du tarif lors d'un changement de chambre par glisser-déposer */
.modal-actions { display:flex; flex-direction:column; gap:10px; }

.tarif-derogatoire-note { display:inline-block; margin-left:6px; padding:2px 8px; border-radius:20px; background:var(--warning-soft); color:var(--warning); font-size:11px; font-weight:700; }

/* ===== V20 — paiements multiples ===== */
.payment-summary-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:4px 0 18px}.payment-summary-strip>div{padding:14px 16px;border:1px solid var(--border,#e6e2da);border-radius:10px;background:var(--ivory,#f7f3e8)}.payment-summary-strip span{display:block;font-size:12px;color:var(--muted,#6f7b78);margin-bottom:4px}.payment-summary-strip strong{font-size:18px;color:var(--ink,#193638)}
.payment-add-box{padding:18px;border:1px solid var(--border,#e6e2da);border-radius:12px;background:#fff;margin-bottom:18px}.payment-add-head{margin-bottom:14px}.payment-add-head strong,.payment-history-head strong{display:block}.payment-add-head small,.payment-history-head small{color:var(--muted,#6f7b78)}.payment-add-grid{display:grid;grid-template-columns:1.1fr 1fr 1fr 1fr;gap:12px;align-items:end}.payment-add-grid label{display:block;font-size:12px;font-weight:600;margin-bottom:6px}.payment-add-grid input,.payment-add-grid select{width:100%}.payment-note{grid-column:1/4}.payment-submit{grid-column:4}.payment-submit .btn{width:100%}
.payment-history{border-top:1px solid var(--border,#e6e2da);padding-top:16px}.payment-history-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.payment-history-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid var(--border,#e6e2da)}.payment-history-row:last-child{border-bottom:0}.payment-history-main{min-width:0}.payment-history-main strong,.payment-history-main small{display:block}.payment-history-main small{margin-top:3px;color:var(--muted,#6f7b78)}.payment-history-row.is-cancelled{opacity:.62}.payment-history-row.is-cancelled .payment-history-main strong{text-decoration:line-through}.payment-cancel-form{flex:0 0 auto}.text-danger{color:var(--danger,#c95b4b)!important}.payment-paid-note{padding:13px 15px;border-radius:10px;background:#e1f0e9;color:#236b4d;margin-bottom:18px}
@media(max-width:900px){.payment-add-grid{grid-template-columns:1fr 1fr}.payment-note,.payment-submit{grid-column:auto}.payment-summary-strip{grid-template-columns:1fr 1fr}.payment-history-row{align-items:flex-start}}
@media(max-width:600px){.payment-add-grid,.payment-summary-strip{grid-template-columns:1fr}.payment-history-row{flex-direction:column}.payment-cancel-form{width:100%}.payment-cancel-form .btn{width:100%}}

/* Programme du jour (dashboard) */
.programme-jour-grid { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:20px; }
.programme-jour-colonne h3 { margin:0 0 10px; font-family:"Fraunces",Georgia,serif; font-size:15px; color:var(--lagoon-dark); }
.programme-jour-ligne { display:flex; justify-content:space-between; align-items:center; padding:8px 0 2px; border-bottom:1px solid var(--border); font-size:13.5px; }
.programme-jour-ligne:last-child { border-bottom:none; }
.programme-jour-ligne strong { font-family:"Fraunces",Georgia,serif; font-size:17px; color:var(--primary,var(--lagoon-dark)); }
.programme-jour-ligne.menage span { color:var(--coral-dark,#a6493d); }
.programme-jour-detail { display:block; padding:0 0 8px; color:var(--muted); font-size:12px; border-bottom:1px solid var(--border); }
.programme-jour-detail:last-child { border-bottom:none; }
@media (max-width:640px) {
  .programme-jour-grid { grid-template-columns:1fr; }
}

/* ============================================================
   UTUAFARE — Dashboard compact laptop (14\" minimum)
   ============================================================ */
.dashboard-day-head {
  display:flex; align-items:flex-end; justify-content:space-between; gap:24px;
  margin:0 0 16px; padding:2px 0 14px; border-bottom:1px solid var(--border);
}
.dashboard-day-head h1 { margin:2px 0 3px; font-size:30px; line-height:1.08; color:var(--primary); letter-spacing:-.025em; }
.dashboard-day-head p:not(.eyebrow) { margin:0; font-size:13px; color:var(--muted); }
.dashboard-day-actions { display:flex; gap:8px; flex:0 0 auto; }
.dashboard-day-actions .btn { min-height:40px; padding:8px 14px; font-size:13px; }

.dashboard-kpi-strip {
  display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:10px; margin-bottom:14px;
}
.dashboard-kpi {
  min-height:78px; display:grid; grid-template-columns:1fr auto; grid-template-rows:auto auto;
  gap:1px 14px; align-items:center; padding:12px 15px; text-decoration:none; color:var(--text);
  background:var(--surface); border:1px solid var(--border); border-radius:11px; box-shadow:var(--shadow-sm);
}
.dashboard-kpi:hover { border-color:#CBD8D4; box-shadow:var(--shadow-md); }
.dashboard-kpi > span { align-self:end; font-size:10px; font-weight:750; text-transform:uppercase; letter-spacing:.09em; color:var(--muted); }
.dashboard-kpi > strong { grid-row:1 / 3; grid-column:2; font:600 27px/1 "Fraunces",Georgia,serif; color:var(--primary); }
.dashboard-kpi > strong small { font:600 13px/1 Inter,sans-serif; color:var(--muted); }
.dashboard-kpi > em { align-self:start; font-style:normal; font-size:11px; color:var(--muted); }
.dashboard-kpi.occupancy { background:linear-gradient(135deg,var(--primary),#164D50); border-color:var(--primary); color:#fff; }
.dashboard-kpi.occupancy > span,.dashboard-kpi.occupancy > em,.dashboard-kpi.occupancy > strong small { color:rgba(255,255,255,.70); }
.dashboard-kpi.occupancy > strong { color:#fff; }

.dashboard-day-grid { display:grid; grid-template-columns:minmax(0,1.75fr) minmax(310px,.9fr); gap:14px; align-items:start; }
.dashboard-flow-card,.dashboard-program-card {
  background:var(--surface); border:1px solid var(--border); border-radius:13px; box-shadow:var(--shadow-sm); padding:17px 18px;
}
.dashboard-card-head { display:flex; align-items:flex-end; justify-content:space-between; gap:14px; margin-bottom:12px; }
.dashboard-card-head h2 { margin:2px 0 0; font-size:19px; color:var(--text); }
.dashboard-card-head .text-link { font-size:11px; white-space:nowrap; }
.dashboard-card-head.compact { margin-bottom:8px; }
.dashboard-flow-columns { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.dashboard-flow-column { min-width:0; }
.dashboard-flow-column + .dashboard-flow-column { padding-left:14px; border-left:1px solid var(--border); }
.flow-column-title { display:flex; align-items:center; gap:7px; margin-bottom:8px; color:var(--text); }
.flow-column-title strong { font-size:12.5px; }
.flow-column-title small { margin-left:auto; display:grid; place-items:center; min-width:23px; height:23px; padding:0 6px; border-radius:999px; background:var(--surface-soft); color:var(--muted); font-size:10.5px; font-weight:700; }
.flow-dot { width:8px; height:8px; border-radius:50%; }
.flow-dot.arrival { background:var(--success); }
.flow-dot.departure { background:var(--gold); }
.day-flow-list { display:flex; flex-direction:column; gap:6px; }
.day-flow-item { display:grid; grid-template-columns:30px minmax(0,1fr) 12px; align-items:center; gap:9px; min-height:49px; padding:7px 8px; border:1px solid transparent; border-radius:9px; text-decoration:none; color:var(--text); transition:.12s ease; }
.day-flow-item:hover { background:var(--surface-soft); border-color:var(--border); }
.day-flow-icon { width:29px; height:29px; display:grid; place-items:center; border-radius:8px; font-weight:700; }
.day-flow-item.arrival .day-flow-icon { background:var(--success-soft); color:var(--success); }
.day-flow-item.departure .day-flow-icon { background:var(--gold-soft); color:#8C651D; }
.day-flow-main { min-width:0; }
.day-flow-main strong,.day-flow-main small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.day-flow-main strong { font-size:12.5px; }
.day-flow-main small { margin-top:2px; font-size:10.5px; color:var(--muted); }
.dashboard-empty-compact { min-height:74px; display:flex; align-items:center; gap:10px; padding:10px; color:var(--muted); background:var(--surface-soft); border-radius:9px; }
.dashboard-empty-compact > span { width:28px; height:28px; display:grid; place-items:center; border-radius:50%; background:#fff; border:1px solid var(--border); }
.dashboard-empty-compact strong,.dashboard-empty-compact small { display:block; }
.dashboard-empty-compact strong { color:var(--text); font-size:12px; }
.dashboard-empty-compact small { margin-top:2px; font-size:10.5px; }

.dashboard-program-card { min-width:0; }
.room-program-list { display:flex; flex-direction:column; }
.room-program-row { display:grid; grid-template-columns:minmax(105px,.7fr) minmax(0,1.3fr); gap:10px; align-items:start; padding:9px 0; border-top:1px solid var(--border); }
.room-program-row:first-child { border-top:0; }
.room-program-name { display:flex; align-items:center; gap:6px; min-width:0; color:var(--text); }
.room-program-name > span { color:var(--gold); font-size:13px; }
.room-program-name strong { font-size:11.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.room-program-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:5px; }
.program-chip { display:inline-flex; align-items:center; min-height:25px; padding:4px 7px; border-radius:999px; background:var(--primary-soft); color:var(--primary); font-size:10.5px; font-weight:650; line-height:1.2; }
.program-chip.housekeeping { background:#F7E4E0; color:#A6493D; }
.programme-empty { min-height:92px; }
.tomorrow-program { margin-top:9px; padding-top:9px; border-top:1px solid var(--border); }
.tomorrow-program summary { cursor:pointer; list-style:none; display:flex; align-items:center; justify-content:space-between; gap:10px; padding:7px 2px; color:var(--primary); font-size:11.5px; font-weight:700; }
.tomorrow-program summary::-webkit-details-marker { display:none; }
.tomorrow-program summary:after { content:"⌄"; color:var(--muted); margin-left:auto; }
.tomorrow-program summary span { min-width:22px; height:22px; display:grid; place-items:center; border-radius:999px; background:var(--gold-soft); color:#8C651D; font-size:10px; }
.tomorrow-program[open] summary:after { transform:rotate(180deg); }
.room-program-list.tomorrow { margin-top:4px; }

/* 14\" laptops: compact the chrome, never add more information. */
@media (max-width: 1366px) {
  main.main-avec-sidebar { padding:24px 24px 56px; }
  .dashboard-day-head h1 { font-size:27px; }
  .dashboard-flow-card,.dashboard-program-card { padding:15px; }
  .dashboard-day-grid { grid-template-columns:minmax(0,1.65fr) minmax(295px,.85fr); gap:12px; }
  .dashboard-flow-columns { gap:10px; }
  .dashboard-flow-column + .dashboard-flow-column { padding-left:10px; }
}
@media (max-width: 1120px) {
  .dashboard-day-grid { grid-template-columns:1fr; }
  .dashboard-program-card { order:2; }
  .room-program-row { grid-template-columns:150px minmax(0,1fr); }
}
@media (max-width: 760px) {
  .dashboard-day-head { align-items:flex-start; flex-direction:column; gap:10px; }
  .dashboard-day-actions { width:100%; }
  .dashboard-day-actions .btn { flex:1; }
  .dashboard-kpi-strip { grid-template-columns:1fr 1fr; }
  .dashboard-kpi.occupancy { grid-column:1 / -1; }
  .dashboard-flow-columns { grid-template-columns:1fr; }
  .dashboard-flow-column + .dashboard-flow-column { padding:12px 0 0; border-left:0; border-top:1px solid var(--border); }
  .room-program-row { grid-template-columns:1fr; gap:6px; }
  .room-program-actions { justify-content:flex-start; }
}


/* ============================================================
   UTUAFARE — V22.1 Lisibilité & proportions laptop
   14" = minimum confortable, 15–16" = cible principale.
   ============================================================ */

/* Le dashboard profite davantage de la largeur d'écran sans étirer
   les autres écrans de gestion. */
main.main-dashboard {
  width: calc(100% - 56px);
  max-width: 1540px;
  padding-left: 0;
  padding-right: 0;
}

/* Lisibilité générale : petite hausse, volontairement modérée. */
body { font-size:16px; line-height:1.48; }
nav a { font-size:15px; }
.btn { font-size:15.5px; }
.btn.small { font-size:13.5px; }
label { font-size:14px; }
input, select, textarea { font-size:15.5px; }
th, td { font-size:14.5px; }
th { font-size:12.5px; }
.badge { font-size:12px; }

/* Dashboard : agrandir ce qui doit se lire à distance, sans augmenter
   la quantité d'informations. */
.dashboard-day-head { margin-bottom:18px; padding-bottom:16px; }
.dashboard-day-head h1 { font-size:34px; }
.dashboard-day-head p:not(.eyebrow) { font-size:15px; }
.dashboard-day-actions .btn { min-height:44px; padding:9px 17px; font-size:15px; }

.dashboard-kpi-strip { gap:14px; margin-bottom:18px; }
.dashboard-kpi { min-height:92px; padding:15px 18px; border-radius:13px; }
.dashboard-kpi > span { font-size:11.5px; }
.dashboard-kpi > strong { font-size:32px; }
.dashboard-kpi > strong small { font-size:15px; }
.dashboard-kpi > em { font-size:13px; }

.dashboard-day-grid {
  grid-template-columns:minmax(0,1.62fr) minmax(380px,1fr);
  gap:18px;
}
.dashboard-flow-card,.dashboard-program-card { padding:20px 22px; border-radius:14px; }
.dashboard-card-head { margin-bottom:15px; }
.dashboard-card-head h2 { font-size:23px; }
.dashboard-card-head .text-link { font-size:13px; }
.flow-column-title { margin-bottom:10px; }
.flow-column-title strong { font-size:15px; }
.flow-column-title small { min-width:27px; height:27px; font-size:12px; }
.day-flow-list { gap:8px; }
.day-flow-item {
  grid-template-columns:36px minmax(0,1fr) 15px;
  min-height:62px;
  gap:11px;
  padding:10px 11px;
  border-radius:11px;
}
.day-flow-icon { width:35px; height:35px; border-radius:9px; }
.day-flow-main strong { font-size:15.5px; }
.day-flow-main small { margin-top:3px; font-size:13px; }

.room-program-row {
  grid-template-columns:minmax(135px,.75fr) minmax(0,1.25fr);
  gap:12px;
  padding:12px 0;
}
.room-program-name > span { font-size:15px; }
.room-program-name strong { font-size:14.5px; }
.room-program-actions { gap:7px; }
.program-chip { min-height:30px; padding:6px 10px; font-size:12.5px; }
.tomorrow-program { margin-top:12px; padding-top:11px; }
.tomorrow-program summary { padding:9px 2px; font-size:13.5px; }
.tomorrow-program summary span { min-width:25px; height:25px; font-size:11.5px; }

.dashboard-empty-compact { min-height:86px; padding:12px; }
.dashboard-empty-compact strong { font-size:14px; }
.dashboard-empty-compact small { font-size:12.5px; }

/* 14 pouces / 1366 px : conserver les tailles de lecture et réduire
   surtout les marges et les espacements. */
@media (max-width:1366px) {
  main.main-dashboard { width:calc(100% - 32px); }
  main.main-dashboard.main-avec-sidebar { width:auto; padding-left:20px; padding-right:20px; }
  .dashboard-day-head h1 { font-size:31px; }
  .dashboard-kpi { min-height:86px; padding:13px 15px; }
  .dashboard-kpi > strong { font-size:29px; }
  .dashboard-day-grid { grid-template-columns:minmax(0,1.58fr) minmax(330px,.95fr); gap:14px; }
  .dashboard-flow-card,.dashboard-program-card { padding:17px; }
  .dashboard-card-head h2 { font-size:21px; }
  .day-flow-main strong { font-size:14.5px; }
  .day-flow-main small { font-size:12.5px; }
  .room-program-name strong { font-size:13.5px; }
  .program-chip { font-size:12px; }
}

@media (max-width:1120px) {
  main.main-dashboard { width:calc(100% - 28px); }
  .dashboard-day-grid { grid-template-columns:1fr; }
  .room-program-row { grid-template-columns:170px minmax(0,1fr); }
}

@media (max-width:760px) {
  main.main-dashboard { width:auto; padding-left:14px; padding-right:14px; }
  .dashboard-day-head h1 { font-size:29px; }
  .dashboard-card-head h2 { font-size:20px; }
  .room-program-row { grid-template-columns:1fr; }
}

/* V22.3 — état de règlement visible directement sur les départs du dashboard */
.day-flow-item.departure.needs-payment {
  background: linear-gradient(90deg, rgba(218,175,55,.075), transparent 70%);
}
.departure-payment {
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  margin-top:6px;
  padding:4px 8px;
  border-radius:999px;
  font-size:12px;
  line-height:1.2;
  font-weight:700;
  white-space:nowrap;
}
.departure-payment.paid {
  background:var(--success-soft);
  color:#236B4D;
}
.departure-payment.due {
  background:var(--gold-soft);
  color:#8C651D;
}
.departure-payment.unpaid {
  background:#F7E4E0;
  color:#A6493D;
}
.day-flow-item.departure:has(.departure-payment) {
  min-height:72px;
}
@media (max-width:1366px) {
  .departure-payment { font-size:11.5px; }
}

/* ============================================================
   UTUAFARE V22.4 — Réservation lisible laptop 14"+
   Même philosophie que le dashboard : peu de densité inutile,
   deux colonnes confortables sur laptop, une seule sous 1080px.
   ============================================================ */
main.main-reservation-ui {
  width: calc(100% - 48px);
  max-width: 1500px;
  padding-top: 30px;
}

/* ---------- Création / modification ---------- */
.main-reservation-ui .booking-head {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.main-reservation-ui .booking-head h1 { font-size: 36px; line-height: 1.08; }
.main-reservation-ui .booking-subtitle { font-size: 15px; line-height: 1.55; }
.main-reservation-ui .booking-layout {
  grid-template-columns: minmax(0, 1.65fr) minmax(330px, .72fr);
  gap: 22px;
}
.main-reservation-ui .booking-main { gap: 18px; }
.main-reservation-ui .booking-step { padding: 24px 26px; border-radius: 15px; }
.main-reservation-ui .step-heading { margin-bottom: 19px; gap: 14px; }
.main-reservation-ui .step-heading h2 { font-size: 22px; }
.main-reservation-ui .step-number {
  width: 40px; height: 40px; flex-basis: 40px; font-size: 16px;
  background: #E8F2EF; color: var(--primary);
}
.main-reservation-ui .eyebrow { font-size: 12px; }
.main-reservation-ui label { font-size: 14px; }
.main-reservation-ui input,
.main-reservation-ui select,
.main-reservation-ui textarea { font-size: 16px; min-height: 46px; }
.main-reservation-ui textarea { min-height: 90px; }

.main-reservation-ui .client-search-row { gap: 12px; margin-bottom: 14px; }
.main-reservation-ui .client-choices { gap: 10px; max-height: 250px; }
.main-reservation-ui .client-choice { padding: 14px 15px; min-height: 76px; border-radius: 12px; }
.main-reservation-ui .client-choice.selected { padding: 13px 14px; }
.main-reservation-ui .client-avatar { width: 42px; height: 42px; flex-basis: 42px; font-size: 17px; }
.main-reservation-ui .client-choice-main strong { font-size: 16px; }
.main-reservation-ui .client-choice-main small { font-size: 13px; line-height: 1.35; }
.main-reservation-ui .selection-hint,
.main-reservation-ui .guest-count small,
.main-reservation-ui .booking-more summary span { font-size: 13px; }
.main-reservation-ui .booking-accessibility-note { font-size: 13.5px; line-height: 1.45; }

.main-reservation-ui .booking-fields.two-cols { gap: 16px; }
.main-reservation-ui .guest-count { margin-top: 16px; padding: 15px 16px; }
.main-reservation-ui .guest-count strong { font-size: 15px; }
.main-reservation-ui .number-stepper button { width: 44px; height: 44px; }
.main-reservation-ui .number-stepper input { min-height: 44px; width: 58px; }
.main-reservation-ui .booking-room-cards { grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 12px; }
.main-reservation-ui .booking-room { min-height: 128px; padding: 17px; }
.main-reservation-ui .booking-room strong { font-size: 17px; }
.main-reservation-ui .booking-room span:not(.room-check):not(.room-icon),
.main-reservation-ui .booking-room small { font-size: 13px; }

.main-reservation-ui .booking-options-step .section-hint { font-size: 14px; margin-bottom: 14px; }
.main-reservation-ui .booking-options-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
}
.main-reservation-ui .quick-option-tile { min-height: 72px; padding: 13px 14px; border-radius: 11px; }
.main-reservation-ui .quick-option-tile strong { font-size: 15px; }
.main-reservation-ui .quick-option-tile small { font-size: 12.5px; }

.main-reservation-ui .booking-more { padding: 18px 22px; }
.main-reservation-ui .booking-more > summary { font-size: 15px; }
.main-reservation-ui .booking-more-grid { gap: 14px 16px; }

.main-reservation-ui .booking-summary {
  top: 18px;
  padding: 22px;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
}
.main-reservation-ui .booking-summary h2 { font-size: 24px; margin-bottom: 16px; }
.main-reservation-ui .summary-person,
.main-reservation-ui .summary-room { padding: 14px 0; gap: 12px; }
.main-reservation-ui .summary-person strong,
.main-reservation-ui .summary-room strong { font-size: 16px; }
.main-reservation-ui .summary-person small,
.main-reservation-ui .summary-room small { font-size: 13px; }
.main-reservation-ui .summary-total { padding: 20px 0 12px; }
.main-reservation-ui .summary-total span { font-size: 13px; }
.main-reservation-ui .summary-total strong { font-size: 25px; }
.main-reservation-ui .summary-note { font-size: 13px; padding: 13px; margin: 10px 0 16px; }
.main-reservation-ui .booking-submit { min-height: 50px; font-size: 15.5px; background: var(--primary); }
.main-reservation-ui .booking-submit:hover { background: var(--primary-dark); }

/* ---------- Fiche séjour ---------- */
.main-reservation-ui .stay-hero { padding: 22px 26px 0; margin-bottom: 20px; }
.main-reservation-ui .stay-title h1 { font-size: 34px; }
.main-reservation-ui .stay-title p:last-child { font-size: 15px; }
.main-reservation-ui .stay-meta { margin-left: -26px; margin-right: -26px; }
.main-reservation-ui .stay-meta span,
.main-reservation-ui .info-grid span { font-size: 11px; }
.main-reservation-ui .stay-meta strong { font-size: 15px; }
.main-reservation-ui .stay-grid {
  grid-template-columns: minmax(0,1.58fr) minmax(380px,.78fr);
  gap: 22px;
}
.main-reservation-ui .stay-main,
.main-reservation-ui .stay-side { gap: 18px; }
.main-reservation-ui .stay-card { padding: 22px 23px; border-radius: 15px; }
.main-reservation-ui .stay-card h2 { font-size: 23px; }
.main-reservation-ui .section-hint { font-size: 14px; line-height: 1.5; }
.main-reservation-ui .stay-line-main strong { font-size: 15.5px; }
.main-reservation-ui .stay-line-main small { font-size: 13px; }
.main-reservation-ui .stay-line-price { font-size: 15px; }
.main-reservation-ui .info-grid strong { font-size: 15px; }

/* Actions rares dans un menu discret */
.stay-action-menu { position: relative; }
.stay-action-menu > summary { list-style: none; cursor: pointer; min-width: 46px; text-align:center; }
.stay-action-menu > summary::-webkit-details-marker { display:none; }
.stay-action-menu-panel {
  position:absolute; z-index:30; right:0; top:calc(100% + 8px); min-width:190px;
  padding:7px; background:#fff; border:1px solid var(--border); border-radius:10px;
  box-shadow:0 12px 30px rgba(20,48,49,.14);
}
.stay-action-menu-panel a,
.stay-action-menu-panel button {
  display:block; width:100%; border:0; background:transparent; padding:9px 10px;
  text-align:left; color:var(--text); text-decoration:none; font:inherit; font-size:13.5px;
  border-radius:7px; cursor:pointer;
}
.stay-action-menu-panel a:hover,
.stay-action-menu-panel button:hover { background:var(--background); }
.stay-action-menu-panel .danger-link { color:var(--danger); }
.stay-action-menu-panel form { margin:0; }

/* Résumé financier : la synthèse reste ici, sans répétition dans le formulaire de paiement */
.main-reservation-ui .stay-total-card .total-line { font-size: 14px; }
.main-reservation-ui .stay-grand-total strong { font-size: 27px; }
.main-reservation-ui .balance-row { font-size: 14px; }
.main-reservation-ui .balance-row strong { font-size: 15px; }
.main-reservation-ui .payment-status { font-size: 12.5px; }

/* Paiements : 2 colonnes stables, jamais 4 champs comprimés */
.main-reservation-ui .payment-add-box { padding: 17px; margin-bottom: 16px; }
.main-reservation-ui .payment-add-head strong { font-size: 16px; }
.main-reservation-ui .payment-add-head small { display:block; margin-top:3px; font-size:13px; line-height:1.4; }
.main-reservation-ui .payment-add-grid { grid-template-columns:1fr 1fr; gap:13px; align-items:end; }
.main-reservation-ui .payment-add-grid label { font-size:13px; margin-bottom:6px; }
.main-reservation-ui .payment-note { grid-column:1 / -1; }
.main-reservation-ui .payment-submit { grid-column:1 / -1; display:flex; justify-content:flex-end; }
.main-reservation-ui .payment-submit .btn { width:auto; min-width:210px; }
.main-reservation-ui .payment-history-head strong { font-size:16px; }
.main-reservation-ui .payment-history-head small,
.main-reservation-ui .payment-history-main small { font-size:12.5px; }
.main-reservation-ui .payment-history-main strong { font-size:14.5px; }

/* Outils avancés repliés : présents sans encombrer le dossier de séjour */
.stay-tool-details { padding:0 !important; overflow:visible; }
.stay-tool-details > summary {
  list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:18px 22px; border-radius:15px;
}
.stay-tool-details > summary::-webkit-details-marker { display:none; }
.stay-tool-details > summary::after { content:'⌄'; color:var(--muted); font-size:17px; margin-left:4px; }
.stay-tool-details[open] > summary::after { transform:rotate(180deg); }
.stay-tool-details > summary > span:first-child { display:flex; flex-direction:column; gap:3px; min-width:0; }
.stay-tool-details > summary strong { font:600 18px/1.2 "Fraunces",Georgia,serif; color:var(--primary); }
.tool-summary-value { margin-left:auto; color:var(--muted); font-size:13px; white-space:nowrap; }
.stay-tool-body { border-top:1px solid var(--border); padding:18px 22px 21px; }

@media (max-width:1366px) {
  main.main-reservation-ui { width:calc(100% - 32px); padding-left:0; padding-right:0; }
  .main-reservation-ui .booking-layout { grid-template-columns:minmax(0,1.55fr) minmax(315px,.72fr); gap:16px; }
  .main-reservation-ui .booking-step { padding:21px 22px; }
  .main-reservation-ui .stay-grid { grid-template-columns:minmax(0,1.5fr) minmax(350px,.8fr); gap:16px; }
  .main-reservation-ui .stay-card { padding:20px; }
  .main-reservation-ui .stay-title h1 { font-size:31px; }
}

@media (max-width:1080px) {
  main.main-reservation-ui { width:calc(100% - 28px); }
  .main-reservation-ui .booking-layout,
  .main-reservation-ui .stay-grid { grid-template-columns:1fr; }
  .main-reservation-ui .booking-summary { position:static; order:-1; }
  .main-reservation-ui .stay-side { order:-1; }
  .main-reservation-ui .stay-total-card { margin-bottom:0; }
}

@media (max-width:700px) {
  main.main-reservation-ui { width:auto; padding-left:14px; padding-right:14px; }
  .main-reservation-ui .booking-head h1 { font-size:30px; }
  .main-reservation-ui .booking-step { padding:18px 16px; }
  .main-reservation-ui .booking-options-grid { grid-template-columns:1fr; }
  .main-reservation-ui .client-choices { grid-template-columns:1fr; }
  .main-reservation-ui .stay-hero { padding-left:16px; padding-right:16px; }
  .main-reservation-ui .stay-meta { margin-left:-16px; margin-right:-16px; grid-template-columns:1fr 1fr; }
  .main-reservation-ui .stay-meta div:nth-child(2) { border-right:0; }
  .main-reservation-ui .stay-actions { flex-wrap:wrap; }
  .main-reservation-ui .payment-add-grid { grid-template-columns:1fr; }
  .main-reservation-ui .payment-note,
  .main-reservation-ui .payment-submit { grid-column:1; }
  .main-reservation-ui .payment-submit .btn { width:100%; min-width:0; }
  .tool-summary-value { display:none; }
}

/* V22.5 — legal pages */
.legal-page { max-width: 980px; margin: 0 auto; }
.legal-heading { margin-bottom: 28px; }
.legal-heading h1 { margin-bottom: 8px; }
.legal-heading .page-intro { max-width: 760px; }
.legal-version { margin-top: 12px; color: var(--muted); font-size: 13px; }
.legal-page h2 { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--border); }
.legal-page p, .legal-page li { font-size: 15px; line-height: 1.75; }
.legal-page li + li { margin-top: 6px; }
.legal-page a { color: var(--primary); font-weight: 650; }
.legal-callout { padding: 18px 20px; border: 1px solid #E7D8AE; border-radius: 12px; background: #FBF5E6; color: var(--ink); line-height: 1.65; margin: 20px 0 8px; }
.legal-identity { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin: 18px 0; }
.legal-identity > div { background: var(--surface); padding: 15px 17px; display: flex; flex-direction: column; gap: 5px; }
.legal-identity span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.legal-identity strong { font-size: 15px; }
@media (max-width: 760px) { .legal-identity { grid-template-columns: 1fr; } }


/* ========================================================================
   V26 — DASHBOARD REBUILD / MOCKUP STRICT
   ======================================================================== */
:root{--v26-deep:#07514e;--v26-deep2:#063f3d;--v26-cream:#f7f1e6;--v26-paper:#fffdf9;--v26-gold:#d19a2b;--v26-green:#20966d;--v26-coral:#df5d50;--v26-ink:#0b3434;--v26-muted:#6f7d79;--v26-line:#eadfce;--v26-shadow:0 12px 30px rgba(55,47,37,.08)}
body{background:linear-gradient(180deg,#fbf7ef,#f6f0e4);color:var(--v26-ink);font-size:16px}
body.avec-sidebar{padding-left:245px!important;padding-top:72px!important}.site-footer{margin-left:0!important}
.utu-v26-sidebar{position:fixed;inset:0 auto 0 0;width:245px;z-index:60;box-sizing:border-box;padding:24px 15px 16px;display:flex;flex-direction:column;background:linear-gradient(180deg,#075451,#06423f 67%,#053b39);color:#fff;overflow:hidden;box-shadow:8px 0 24px rgba(4,54,52,.08)}
.utu-v26-brand{display:block;text-align:center;padding:0 6px 18px;border-bottom:1px solid rgba(255,255,255,.13)}.utu-v26-brand img{display:block;width:175px;max-width:100%;height:auto;margin:auto}.utu-v26-toggle{display:none}.utu-v26-menu{display:flex;flex:1;min-height:0;flex-direction:column;padding-top:14px}.utu-v26-primary,.utu-v26-secondary{display:flex;flex-direction:column;gap:3px}.utu-v26-secondary{margin-top:12px;padding-top:12px;border-top:1px solid rgba(255,255,255,.10)}.utu-v26-primary a,.utu-v26-secondary a{display:flex!important;align-items:center!important;gap:11px!important;width:100%!important;box-sizing:border-box!important;padding:10px 12px!important;margin:0!important;border-radius:9px!important;color:#fff!important;text-decoration:none!important;font-size:14px!important;font-weight:600!important;opacity:.88}.utu-v26-primary a:hover,.utu-v26-secondary a:hover{background:rgba(255,255,255,.08);opacity:1}.utu-v26-primary a.active,.utu-v26-secondary a.active{background:rgba(255,255,255,.15);box-shadow:inset 3px 0 var(--v26-gold);opacity:1}.utu-side-icon{width:22px;height:22px;display:grid;place-items:center;color:#f4d998;font-size:18px;line-height:1}.utu-v26-sidebar-visual{margin:auto -15px 12px;min-height:170px;padding:88px 24px 20px;box-sizing:border-box;background:linear-gradient(180deg,rgba(6,66,63,0),rgba(6,66,63,.32) 40%,rgba(6,66,63,.93)),url('/assets/utuafare-v26-sidebar.jpg') center/cover no-repeat;font-family:"Fraunces",Georgia,serif;font-style:italic}.utu-v26-sidebar-visual span{display:block;font-size:27px}.utu-v26-sidebar-visual small{font-family:Inter,sans-serif;font-style:normal;font-size:12px;line-height:1.4;color:#e9eee8}.utu-v26-sidebar-footer{display:flex;flex-direction:column;gap:8px;padding-top:10px;border-top:1px solid rgba(255,255,255,.10)}.utu-v26-sidebar-footer .nav-bascule,.utu-v26-sidebar-footer .nav-user{color:#f8f1e5;font-size:12px}.utu-v26-sidebar-footer .nav-logout{color:#fff;width:100%;text-align:left}
.utu-v26-appbar{position:fixed;top:0;left:245px;right:0;height:72px;z-index:55;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 32px;box-sizing:border-box;background:rgba(255,253,249,.94);border-bottom:1px solid rgba(231,221,206,.8);backdrop-filter:blur(12px)}.utu-v26-search{width:min(550px,50vw);height:42px;display:flex;align-items:center;gap:9px;padding:0 12px;border:1px solid #ddd8ce;border-radius:13px;background:#fff;box-shadow:0 3px 10px rgba(40,40,30,.03)}.utu-v26-search input{flex:1;border:0;outline:0;background:transparent;font:inherit;color:var(--v26-ink)}.utu-v26-search kbd{padding:2px 6px;border:1px solid #ddd8ce;border-radius:6px;background:#faf8f4;color:#78817e;font-size:11px}.utu-v26-profile{display:flex;align-items:center;gap:10px}.utu-v26-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--v26-deep);color:#fff;font-weight:700}.utu-v26-profile>span:last-child{display:flex;flex-direction:column}.utu-v26-profile strong{font-size:14px}.utu-v26-profile small{font-size:12px;color:var(--v26-muted)}
.main-dashboard{max-width:none!important;width:auto!important;margin:0!important;padding:18px 28px 54px!important}.v26-welcome{position:relative;min-height:180px;display:flex;align-items:center;overflow:hidden;border-radius:17px;background:url('/assets/utuafare-v26-hero.jpg') center/cover no-repeat;box-shadow:var(--v26-shadow);border:1px solid rgba(232,222,205,.8)}.v26-welcome:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(251,247,239,.97) 0%,rgba(251,247,239,.87) 32%,rgba(251,247,239,.18) 64%,rgba(5,54,52,.08) 100%)}.v26-welcome-overlay{position:relative;z-index:1;padding:24px 30px;width:min(680px,60%)}.v26-welcome .eyebrow{margin:0 0 6px;color:var(--v26-gold);font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.v26-welcome h1{margin:0;font-size:40px;line-height:1.05;color:var(--v26-ink)}.v26-welcome-overlay>p:not(.eyebrow){margin:7px 0;color:#5e706c;font-size:16px}.v26-welcome em{display:block;margin-top:10px;color:#bd7e18;font-family:"Fraunces",Georgia,serif;font-size:16px}.v26-welcome-date{position:absolute;z-index:2;right:24px;bottom:20px;display:flex;flex-direction:column;align-items:flex-end;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.5)}.v26-welcome-date small{font-size:12px}.v26-welcome-date strong{font-family:"Fraunces",Georgia,serif;font-size:34px}
.v26-kpis{display:grid;grid-template-columns:1.05fr 1fr 1fr 1fr;gap:14px;margin:16px 0}.v26-kpi{min-height:112px;box-sizing:border-box;display:flex;align-items:center;gap:16px;padding:18px 20px;border:1px solid var(--v26-line);border-radius:15px;background:rgba(255,253,249,.96);box-shadow:var(--v26-shadow);text-decoration:none;color:var(--v26-ink)}.v26-kpi.occupancy{background:linear-gradient(135deg,#075551,#064440);color:#fff;border-color:transparent}.v26-kpi-icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#eef0df;color:var(--v26-green);font-size:25px;flex:0 0 auto}.v26-kpi-icon.departure{background:#fbf0d7;color:#ca8c18}.v26-kpi-icon.clients{background:#e6f0f0;color:#147487}.v26-kpi.occupancy .v26-kpi-icon{background:#08726d;color:#fff}.v26-kpi>div{display:grid;grid-template-columns:auto auto;grid-template-areas:'label value' 'desc value';align-items:center;column-gap:20px;flex:1}.v26-kpi small{grid-area:label;font-size:11px;font-weight:800;letter-spacing:.11em;text-transform:uppercase;color:#60716e}.v26-kpi.occupancy small,.v26-kpi.occupancy em{color:rgba(255,255,255,.8)}.v26-kpi strong{grid-area:value;font-size:34px;justify-self:end;line-height:1}.v26-kpi strong b{font-size:15px;font-family:Inter,sans-serif}.v26-kpi em{grid-area:desc;font-style:normal;color:#73817e;font-size:13px}
.v26-main-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(320px,.72fr);gap:18px}.v26-panel{background:rgba(255,253,249,.97);border:1px solid var(--v26-line);border-radius:16px;box-shadow:var(--v26-shadow);padding:20px 22px;box-sizing:border-box}.v26-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:13px}.v26-panel-head .eyebrow{margin:0;color:var(--v26-gold);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.12em}.v26-panel-head h2{margin:3px 0 0;font-size:27px}.v26-panel-head>a{color:#0a7771;font-weight:700;text-decoration:none;font-size:13px}.v26-flow-cols{display:grid;grid-template-columns:1fr 1fr;gap:0}.v26-flow-cols>div{padding-right:16px}.v26-flow-cols>div+div{padding-left:16px;padding-right:0;border-left:1px solid var(--v26-line)}.v26-flow-cols h3{display:flex;align-items:center;gap:8px;margin:0 0 10px;font-family:Inter,sans-serif;font-size:15px}.v26-flow-cols h3 i{width:9px;height:9px;border-radius:50%}.v26-flow-cols h3 i.green{background:#27a177}.v26-flow-cols h3 i.gold{background:#d49a22}.v26-flow-cols h3 span{margin-left:auto;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#f6edde;color:#6f6a5d;font-size:12px}.v26-flow-item,.v26-empty-flow{min-height:75px;display:grid;grid-template-columns:66px 1fr auto;gap:10px;align-items:center;padding:10px;border-radius:12px;background:#fbf5eb;border:1px solid #efe5d7;text-decoration:none;color:var(--v26-ink);box-sizing:border-box}.v26-flow-item+ .v26-flow-item{margin-top:8px}.v26-flow-item img,.v26-empty-flow img{width:58px;height:58px;object-fit:cover;border-radius:9px}.v26-flow-item>div,.v26-empty-flow>div{display:flex;flex-direction:column;min-width:0}.v26-flow-item strong,.v26-empty-flow strong{font-size:14px}.v26-flow-item small,.v26-empty-flow small{color:var(--v26-muted);font-size:12px}.v26-pay{margin-top:4px;width:max-content;max-width:100%;font-size:11px;padding:4px 8px;border-radius:999px}.v26-pay.paid{background:#e4f4eb;color:#247b58}.v26-pay.due{background:#fbefda;color:#a66a10}.v26-program{position:relative;overflow:hidden}.v26-program:after{content:"";position:absolute;right:-40px;top:-20px;width:160px;height:160px;opacity:.10;background:radial-gradient(ellipse at 50% 50%,transparent 0 42%,var(--v26-gold) 43% 44%,transparent 45%)}.v26-program-room{position:relative;z-index:1;display:flex;align-items:center;gap:11px;padding:11px 0;border-bottom:1px solid var(--v26-line)}.v26-program-room img{width:48px;height:48px;border-radius:10px;object-fit:cover}.v26-program-content{display:flex;flex-direction:column;gap:3px}.v26-program-content strong{font-size:14px}.v26-program-content span{font-size:12px;color:#657571}.v26-program-empty{display:flex;align-items:center;gap:12px;padding:18px;border-radius:12px;background:#f8f2e7}.v26-program-empty>span{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#fff;border:1px solid #ddd8cd}.v26-program-empty>div{display:flex;flex-direction:column}.v26-program-empty small{color:var(--v26-muted)}.v26-program-quote{position:relative;z-index:1;margin:18px 0 0;color:#8a7759;font-family:"Fraunces",Georgia,serif;font-style:italic;font-size:16px;line-height:1.45}
.v26-rooms{margin-top:18px}.v26-room-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.v26-room-card{display:grid;grid-template-columns:112px 1fr auto;gap:12px;align-items:center;min-width:0;padding:0 12px 0 0;border:1px solid var(--v26-line);border-radius:12px;overflow:hidden;text-decoration:none;color:var(--v26-ink);background:#fff}.v26-room-card img{width:112px;height:88px;object-fit:cover}.v26-room-card>div{display:flex;flex-direction:column;min-width:0}.v26-room-card strong{font-size:13px}.v26-room-card small{color:var(--v26-muted);font-size:12px;margin-top:5px}.v26-room-card>span{padding:5px 9px;border-radius:999px;font-size:11px;font-weight:700}.v26-room-card .free{background:#e3f4e9;color:#25845d}.v26-room-card .busy{background:#f9e8e3;color:#b34e42}
@media(max-width:1366px) and (min-width:901px){body.avec-sidebar{padding-left:218px!important}.utu-v26-sidebar{width:218px}.utu-v26-appbar{left:218px}.utu-v26-brand img{width:155px}.utu-v26-primary a,.utu-v26-secondary a{padding:9px 10px!important;font-size:13px!important}.utu-v26-sidebar-visual{min-height:140px;padding-top:68px}.main-dashboard{padding-left:20px!important;padding-right:20px!important}.v26-welcome h1{font-size:34px}.v26-kpis{gap:10px}.v26-kpi{padding:15px 14px;gap:10px}.v26-kpi-icon{width:42px;height:42px}.v26-room-card{grid-template-columns:88px 1fr}.v26-room-card img{width:88px;height:78px}.v26-room-card>span{display:none}}
@media(max-width:1120px){.v26-kpis{grid-template-columns:1fr 1fr}.v26-main-grid{grid-template-columns:1fr}.v26-room-grid{grid-template-columns:1fr 1fr}.v26-welcome-overlay{width:72%}}
@media(max-width:900px){body.avec-sidebar{padding-left:0!important;padding-top:68px!important}.utu-v26-sidebar{position:fixed;inset:0 0 auto 0;width:100%;height:68px;padding:8px 14px;flex-direction:row;align-items:center;overflow:visible}.utu-v26-brand{padding:0;border:0}.utu-v26-brand img{width:125px}.utu-v26-toggle{display:block;margin-left:auto}.utu-v26-menu{display:none;position:absolute;top:68px;left:0;right:0;padding:12px 14px;background:#06423f;max-height:calc(100vh - 68px);overflow:auto}.utu-v26-menu.open{display:flex}.utu-v26-sidebar-visual{display:none}.utu-v26-appbar{display:none}.main-dashboard{padding:16px!important}.v26-welcome{min-height:150px}.v26-welcome-overlay{width:100%;padding:20px}.v26-welcome-date{display:none}.v26-kpis{grid-template-columns:1fr}.v26-flow-cols{grid-template-columns:1fr}.v26-flow-cols>div{padding:0}.v26-flow-cols>div+div{padding:16px 0 0;margin-top:16px;border-left:0;border-top:1px solid var(--v26-line)}.v26-room-grid{grid-template-columns:1fr}}

/* ===== V27 — Personnalisation visuelle ===== */
.v27-room-cover{position:relative;height:165px;margin:-1px -1px 18px;overflow:hidden;background:#e9e0d1}
.v27-room-cover img{width:100%;height:100%;object-fit:cover;display:block}
.v27-room-cover:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(5,54,52,.42))}
.v27-room-cover span{position:absolute;z-index:1;right:12px;bottom:10px;padding:5px 9px;border-radius:999px;background:rgba(255,255,255,.9);font-size:11px;font-weight:750;color:#164b48}
.v27-photo-editor{display:grid;grid-template-columns:210px 1fr;gap:20px;align-items:center;padding:14px;border:1px solid var(--line,#e7ded0);border-radius:16px;background:#faf6ee;margin-bottom:20px}
.v27-photo-editor img{width:210px;height:140px;object-fit:cover;border-radius:12px;box-shadow:0 8px 18px rgba(20,50,46,.12)}
.v27-photo-editor input[type=file],.v27-identity-editor input[type=file]{margin-top:8px}
.v27-delete-photo{display:block;margin-top:10px;font-size:13px;font-weight:650;color:#8b4b42}
.v27-room-preview-photo{display:block;width:100%;height:170px;object-fit:cover;border-radius:14px;margin:12px 0 18px}
.v27-identity-editor{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:18px;border-radius:16px;background:#faf6ee;border:1px solid var(--line,#e7ded0)}
.v27-identity-hero{display:block;width:100%;max-width:360px;height:120px;object-fit:cover;border-radius:12px;margin:8px 0}
@media(max-width:900px){.v27-photo-editor,.v27-identity-editor{grid-template-columns:1fr}.v27-photo-editor img{width:100%;height:180px}}

/* ===== V27.3 — états temporels des réservations ===== */
.reservation-period-tabs{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 16px}
.reservation-period-tabs a{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border:1px solid #e4daca;border-radius:999px;background:#fffdf9;color:#53635f;text-decoration:none;font-size:13px;font-weight:750;transition:.18s ease}
.reservation-period-tabs a:hover{border-color:#b9c9c2;transform:translateY(-1px)}
.reservation-period-tabs a span{min-width:24px;padding:2px 7px;border-radius:999px;background:#f2ede4;text-align:center;font-size:11px}
.reservation-period-tabs a.active{background:#0b5753;border-color:#0b5753;color:#fff}
.reservation-period-tabs a.active span{background:rgba(255,255,255,.16)}
.reservation-period-tabs a.active.future{background:#b67d19;border-color:#b67d19}
.reservation-period-tabs a.active.current{background:#14815e;border-color:#14815e}
.reservation-period-tabs a.active.past{background:#6f7976;border-color:#6f7976}

.reservation-list-card{padding:0;overflow:hidden}
.reservation-table-wrap{overflow-x:auto}
.reservation-table-v27{width:100%;border-collapse:collapse}
.reservation-table-v27 th{padding:13px 14px;background:#faf6ee;color:#73807c;font-size:11px;text-transform:uppercase;letter-spacing:.055em;text-align:left;white-space:nowrap}
.reservation-table-v27 td{padding:14px;border-top:1px solid #eee5d8;vertical-align:middle}
.reservation-table-v27 tr:not(:first-child):hover td{background:#fffaf3}
.reservation-row-current td:first-child{box-shadow:inset 3px 0 0 #20966d}
.reservation-row-future td:first-child{box-shadow:inset 3px 0 0 #d19a2b}
.reservation-row-past{opacity:.78}

.reservation-period-badge{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;padding:6px 10px;border-radius:999px;font-size:11px;font-weight:800}
.reservation-period-badge i{width:7px;height:7px;border-radius:50%;background:currentColor}
.reservation-period-badge.future{background:#fff3d8;color:#9a6810}
.reservation-period-badge.current{background:#e4f5ed;color:#147553}
.reservation-period-badge.past{background:#ecefed;color:#68736f}

@media(max-width:900px){
  .reservation-period-tabs{display:grid;grid-template-columns:1fr 1fr}
  .reservation-period-tabs a{justify-content:space-between}
  .reservation-table-v27 th:nth-child(6),.reservation-table-v27 td:nth-child(6){display:none}
}

/* ===== V27.4 — code couleur des réservations ===== */
.reservation-table-v27 tr.reservation-row-future td{background:#fffaf0}
.reservation-table-v27 tr.reservation-row-current td{background:#eef8f3}
.reservation-table-v27 tr.reservation-row-past td{background:#f5f4f0;color:#707a76}
.reservation-table-v27 tr.reservation-row-future td:first-child{box-shadow:inset 4px 0 0 #d19a2b}
.reservation-table-v27 tr.reservation-row-current td:first-child{box-shadow:inset 4px 0 0 #20966d}
.reservation-table-v27 tr.reservation-row-past td:first-child{box-shadow:inset 4px 0 0 #9aa29f}
.reservation-table-v27 tr.reservation-row-future:hover td{background:#fff5df}
.reservation-table-v27 tr.reservation-row-current:hover td{background:#e5f5ed}
.reservation-table-v27 tr.reservation-row-past:hover td{background:#efeee9}
.reservation-table-v27 tr.reservation-row-past td strong{color:#64706c}
.reservation-table-v27 tr.reservation-row-alert td{background:#fff0ed;color:#744b45}
.reservation-table-v27 tr.reservation-row-alert td:first-child{box-shadow:inset 4px 0 0 #df5d50}
.reservation-table-v27 tr.reservation-row-alert:hover td{background:#fde7e2}


/* ===== V27.5 — Programme du jour visuel ===== */
.v26-program{overflow:hidden}
.v275-program-list{display:grid;gap:12px;margin-top:4px}
.v275-program-card{display:grid;grid-template-columns:118px minmax(0,1fr);min-height:118px;border:1px solid #eadfce;border-radius:16px;background:#fffdf9;overflow:hidden;box-shadow:0 7px 20px rgba(18,61,57,.045)}
.v275-program-photo{position:relative;min-height:118px;background:#eee7dc}
.v275-program-photo img{display:block;width:100%;height:100%;min-height:118px;object-fit:cover}
.v275-program-count{position:absolute;left:8px;bottom:8px;padding:4px 8px;border-radius:999px;background:rgba(5,54,52,.86);backdrop-filter:blur(4px);color:#fff;font-size:10px;font-weight:800}
.v275-program-body{min-width:0;padding:12px 13px}
.v275-program-title{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding-bottom:9px;border-bottom:1px solid #efe5d7}
.v275-program-title>div{min-width:0}
.v275-program-title small{display:block;margin-bottom:1px;color:#9a8c78;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.v275-program-title strong{display:block;overflow:hidden;color:#073f3d;font-family:Georgia,'Times New Roman',serif;font-size:17px;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}
.v275-program-type{flex:0 0 auto;padding:4px 7px;border-radius:999px;font-size:9px;font-weight:800}
.v275-program-type.cleaning{background:#e4f5ed;color:#147553}
.v275-program-type.prep{background:#fff1d5;color:#9a6810}
.v275-program-actions{display:grid;gap:3px;padding-top:6px}
.v275-program-action{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:7px;padding:4px 0}
.v275-action-icon{display:grid;width:23px;height:23px;place-items:center;border-radius:7px;background:#f2eadc;color:#b67d19;font-size:11px;font-weight:900}
.v275-program-action div{min-width:0}
.v275-program-action strong{display:block;overflow:hidden;color:#183e3c;font-size:11px;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}
.v275-program-action small{display:block;margin-top:1px;overflow:hidden;color:#87918d;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
.v275-program-action b{color:#0b5753;font-size:10px;white-space:nowrap}
.v26-program-empty{min-height:150px}

@media(max-width:1366px){
  .v275-program-card{grid-template-columns:92px minmax(0,1fr)}
}
@media(max-width:1120px){
  .v275-program-card{grid-template-columns:110px minmax(0,1fr)}
}
@media(max-width:600px){
  .v275-program-card{grid-template-columns:86px minmax(0,1fr)}
  .v275-program-type{display:none}
}


/* ===== V27.6 — Programme aujourd'hui / demain ===== */
.v276-program .v26-panel-head{align-items:flex-start;gap:12px}
.v276-program-tabs{display:flex;gap:5px;padding:3px;border:1px solid #eadfce;border-radius:999px;background:#f7f1e6}
.v276-program-radio{position:absolute;opacity:0;pointer-events:none}
.v276-program-tabs label{appearance:none;border:0;border-radius:999px;background:transparent;color:#75817d;cursor:pointer;padding:6px 9px;font:inherit;font-size:10px;font-weight:800;white-space:nowrap;transition:.18s ease;user-select:none}
.v276-program-tabs label span{display:inline-grid;min-width:18px;height:18px;margin-left:3px;place-items:center;border-radius:999px;background:rgba(7,81,78,.08);font-size:9px}
.v276-program-pane{display:none}
#programme-today:checked ~ .v26-panel-head .v276-tab-today,
#programme-tomorrow:checked ~ .v26-panel-head .v276-tab-tomorrow{background:#07514e;color:#fff;box-shadow:0 3px 9px rgba(7,81,78,.16)}
#programme-today:checked ~ .v26-panel-head .v276-tab-today span,
#programme-tomorrow:checked ~ .v26-panel-head .v276-tab-tomorrow span{background:rgba(255,255,255,.16)}
#programme-today:checked ~ .v276-pane-today{display:block}
#programme-tomorrow:checked ~ .v276-pane-tomorrow{display:block}
@media(max-width:1366px){
  .v276-program .v26-panel-head{display:block}
  .v276-program-tabs{width:max-content;margin-top:9px}
}
@media(max-width:600px){
  .v276-program-tabs{width:100%}
  .v276-program-tabs label{flex:1;text-align:center}
}


/* ===== V27.6.2 — Toggle Programme côté serveur ===== */
.v276-program-tabs a{
  display:inline-flex;
  align-items:center;
  text-decoration:none;
  border:0;
  border-radius:999px;
  background:transparent;
  color:#75817d;
  cursor:pointer;
  padding:6px 9px;
  font-size:10px;
  font-weight:800;
  white-space:nowrap;
  transition:.18s ease;
}
.v276-program-tabs a span{
  display:inline-grid;
  min-width:18px;
  height:18px;
  margin-left:3px;
  place-items:center;
  border-radius:999px;
  background:rgba(7,81,78,.08);
  font-size:9px;
}
.v276-program-tabs a.active{
  background:#07514e;
  color:#fff;
  box-shadow:0 3px 9px rgba(7,81,78,.16);
}
.v276-program-tabs a.active span{
  background:rgba(255,255,255,.16);
}
.v276-program-pane.active{display:block}
@media(max-width:600px){
  .v276-program-tabs a{flex:1;justify-content:center}
}


/* ===== V27.6.3 — Correctif zone cliquable Programme ===== */
.v26-program{position:relative}
.v26-program::before,
.v26-program::after,
.v26-panel::before,
.v26-panel::after{
  pointer-events:none !important;
}
.v276-program .v26-panel-head{
  position:relative;
  z-index:20;
}
.v276-program-tabs{
  position:relative;
  z-index:30;
  pointer-events:auto !important;
}
.v276-program-tabs a{
  position:relative;
  z-index:31;
  pointer-events:auto !important;
}
.v276-program-pane{
  position:relative;
  z-index:5;
}
