/* ============ Login Screen ============ */
.login-screen{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(90deg, #93C5FD, #3B82F6);
  padding:24px;
}
.login-container{
  width:100%;
  max-width:380px;
  animation:loginFadeIn 0.6s ease;
}
@keyframes loginFadeIn{
  from{opacity:0;transform:translateY(20px)}
  to{opacity:1;transform:translateY(0)}
}
.login-logo{
  text-align:center;
  margin-bottom:36px;
}
.login-logo-icon{
  font-size:56px;
  margin-bottom:8px;
  filter:drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}
.login-brand{
  font-size:36px;
  font-weight:800;
  color:#fff;
  letter-spacing:4px;
  margin:0;
  text-shadow:0 2px 8px rgba(0,0,0,0.3);
}
.login-tagline{
  font-size:14px;
  color:#1E293B;
  margin-top:4px;
  letter-spacing:1px;
}
.login-form{
  background:#FFFFFF;
  border-radius:20px;
  padding:32px 24px;
  border:1px solid rgba(15,23,42,0.08);
  box-shadow:0 8px 32px rgba(15,23,42,0.18);
}
.login-field{
  margin-bottom:20px;
}
.login-field label{
  display:block;
  font-size:13px;
  font-weight:600;
  color:#0F172A;
  margin-bottom:6px;
  letter-spacing:0.5px;
}
.login-field input{
  width:100%;
  padding:14px 16px;
  border:1px solid #CBD5E1;
  border-radius:12px;
  background:#F1F5F9;
  color:#0F172A;
  font-size:15px;
  font-family:inherit;
  outline:none;
  transition:border-color 0.2s, box-shadow 0.2s;
}
.login-field input::placeholder{
  color:#94A3B8;
}
.login-field input:focus{
  border-color:#3B82F6;
  box-shadow:0 0 0 3px rgba(59,130,246,0.15);
}
.login-password-wrap{
  position:relative;
}
.login-password-wrap input{
  padding-right:48px;
}
.login-eye{
  position:absolute;
  right:12px;
  top:50%;
  transform:translateY(-50%);
  background:none;
  border:none;
  font-size:18px;
  cursor:pointer;
  opacity:0.5;
  padding:4px;
}
.login-error{
  background:rgba(254,226,226,0.9);
  border:1px solid rgba(239,68,68,0.4);
  color:#b91c1c;
  padding:10px 14px;
  border-radius:10px;
  font-size:13px;
  margin-bottom:16px;
  text-align:center;
}
.login-btn{
  width:100%;
  padding:15px;
  background:linear-gradient(135deg, #e8553e 0%, #c0392b 100%);
  color:#fff;
  border:none;
  border-radius:12px;
  font-size:16px;
  font-weight:700;
  cursor:pointer;
  letter-spacing:0.5px;
  transition:transform 0.15s, box-shadow 0.2s;
  box-shadow:0 4px 16px rgba(192,57,43,0.35);
}
.login-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 6px 20px rgba(192,57,43,0.45);
}
.login-btn:active{
  transform:translateY(0);
}
.login-btn:disabled{
  opacity:0.6;
  cursor:not-allowed;
  transform:none;
}

/* ============ Interface (light pages, dark home) ============ */
:root{
  --bg:#f0f2f7;
  --card:#ffffff;
  --card2:#f4f5fa;
  --text:#111827;
  --text-muted:#6b7280;
  --border:#e5e7eb;
  --green:#10b981;
  --blue:#6366f1;
  --blue-active:#818cf8;
  --accent:#5d1e2d;
  --warn:#f59e0b;
  --shadow:0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:0 8px 30px rgba(0,0,0,.12);
  --shadow-soft:0 2px 8px rgba(0,0,0,.06);
  --muted:#6b7280;
  /* ===== Accueil — thème CLAIR (piloté 100% par ces variables) ===== */
  --home-bg:#eef1f8;            /* fond accueil : gris-bleuté très doux */
  --home-card:#fbe3c9;         /* tuiles/cartes : orange clair (pêche pâle) */
  --home-card2:#fcefe0;        /* surfaces secondaires (avatar), pêche plus clair */
  --home-card-border:#f0cfa8;  /* bordure fine chaude : délimite chaque tuile (icônes orange/jaune nettes) */
  --home-text:#1e293b;         /* texte principal (slate foncé) */
  --home-text-muted:#64748b;   /* texte secondaire */
  --home-border:#e2e8f0;       /* bordures fines */
  --home-accent:#6d28d9;       /* violet : titre GUS + onglet actif */
  --home-shadow:0 4px 16px rgba(15,23,42,.08); /* ombre douce sur clair */
  /* Barre d'onglets du bas — nettement distincte du fond accueil */
  --home-nav-bg:#e4dcfb;       /* violet pâle un cran plus dense (≠ fond gris-bleuté) ... */
  --home-nav-border:#b7a6f5;   /* ... + bordure haute violet marquée + ombre */
  --home-nav-inactive:#7c7c99; /* onglets inactifs (discrets, lisibles sur le fond teinté) */
  /* Bannières KPI — pastel violet, texte foncé (fini le bordeaux) */
  --home-kpi-bg:#ede9fe;
  --home-kpi-value:#6d28d9;
  --home-kpi-label:#6b21a8;
}

*{box-sizing:border-box; margin:0; padding:0}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
}

.app{min-height:100dvh; padding-bottom:80px; background:var(--bg)}

/* ============ Home section — dark background ============ */
#homeSection{
  background:var(--home-bg);
  min-height:calc(100dvh - 70px);
}

/* ============ En-tête moderne ============ */
.modern-header{
  padding:16px 16px 12px;
  max-width:760px;
  margin:0 auto;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--home-bg);
}
/* Bouton Paramètres de l'accueil : rectangulaire et libellé visible (zone tactile 44px). */
.settings-btn{
  position:absolute;
  top:12px;
  left:16px;
  min-height:44px;
  padding:0 12px;
  border-radius:12px;
  background:var(--home-card2);
  color:var(--home-text);
  font-size:13px;
  font-weight:700;
  display:inline-flex;
  align-items:center;
  gap:6px;
  border:1px solid var(--home-border);
  cursor:pointer;
  font-family:inherit;
  line-height:1;
}
.settings-btn span[aria-hidden]{font-size:17px}
.brand-title{
  font-size:26px;
  font-weight:900;
  color:var(--home-text);
  text-align:center;
  margin:0;
  letter-spacing:2px;
}
.brand-title span{
  color:var(--home-accent);
}
.brand-subtitle{
  display:none;
}

/* ============ Cartes d'actions (iOS app icons style) ============ */
.action-cards-section{
  padding:8px 16px 0;
  max-width:760px;
  margin:0 auto;
  background:var(--home-bg);
}
.action-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}
.action-card{
  background:var(--home-card);
  border:1px solid var(--home-card-border);
  border-radius:22px;
  padding:20px 8px 14px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  cursor:pointer;
  transition:transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow:var(--home-shadow);
  position:relative;
  overflow:hidden;
}
.action-card::before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,rgba(255,255,255,0.06) 0%,transparent 60%);
  border-radius:22px;
  pointer-events:none;
}
.action-card:active{
  transform:scale(0.93);
  box-shadow:0 2px 8px rgba(15,23,42,0.12);
}
.action-icon{
  width:56px;
  height:56px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  box-shadow:0 2px 6px rgba(0,0,0,0.18);
}
.action-label{
  font-size:12px;
  font-weight:600;
  color:var(--home-text);
  text-align:center;
  line-height:1.3;
}

/* ============ KPIs (pastel violet, texte foncé) ============ */
.kpi-cards-section{
  padding:0 16px 16px;
  max-width:760px;
  margin:0 auto;
}
.kpi-cards-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:12px;
}
.kpi-card{
  background:var(--home-kpi-bg);
  border-radius:16px;
  padding:16px 12px;
  color:var(--home-kpi-label);
  box-shadow:var(--home-shadow);
}
.kpi-card-value{
  font-size:28px;
  font-weight:800;
  margin-bottom:4px;
  color:var(--home-kpi-value);
}
.kpi-card-label{
  font-size:12px;
  opacity:0.9;
}

/* ============ Prochaine réservation ============ */
.next-event-section{
  padding:0 16px 16px;
  max-width:760px;
  margin:0 auto;
}
.next-event-card{
  background:var(--home-card);
  border:1px solid var(--home-border);
  border-radius:20px;
  padding:20px;
  text-align:center;
  box-shadow:var(--home-shadow);
  position:relative;
  color:var(--home-text);
}
.next-event-title{
  font-size:14px;
  font-weight:800;
  letter-spacing:0.5px;
  margin-bottom:12px;
  color:var(--home-text);
}
.next-event-date{
  font-size:14px;
  color:var(--home-text-muted);
  margin-bottom:8px;
}
.next-event-name{
  font-size:20px;
  font-weight:700;
  color:var(--green);
  margin-bottom:8px;
}
.next-event-time{
  font-size:16px;
  font-weight:600;
  color:var(--home-text);
  margin-bottom:4px;
}
.next-event-guests{
  font-size:14px;
  color:var(--home-text-muted);
  margin-bottom:12px;
}
.next-event-badge{
  display:inline-block;
  background:#ef4444;
  color:#fff;
  font-size:12px;
  font-weight:700;
  padding:6px 16px;
  border-radius:20px;
  text-transform:uppercase;
}

/* ============ Dernières activités ============ */
.recent-section{
  padding:0 16px 16px;
  max-width:760px;
  margin:0 auto;
}
.recent-title{
  font-size:18px;
  font-weight:800;
  color:var(--home-text);
  margin-bottom:12px;
}
.activity-item{
  background:var(--home-card);
  border:1px solid var(--home-border);
  border-radius:12px;
  padding:14px;
  margin-bottom:8px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  box-shadow:0 2px 8px rgba(0,0,0,.25);
}
.activity-info{
  flex:1;
}
.activity-title{
  font-weight:600;
  margin-bottom:4px;
  font-size:14px;
  color:var(--home-text);
}
.activity-meta{
  font-size:12px;
  color:var(--home-text-muted);
}
.activity-badge{
  background:#1f2937;
  color:#fff;
  font-size:11px;
  font-weight:700;
  padding:6px 12px;
  border-radius:4px;
  text-transform:uppercase;
}

/* ============ Navigation du bas ============ */
.tabs{
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  z-index:50;
  background:var(--home-nav-bg);
  border-top:2px solid var(--home-nav-border);
  box-shadow:0 -4px 20px rgba(15,23,42,.10);
  display:flex;
  padding-bottom:env(safe-area-inset-bottom, 0);
}
.tab{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:10px 4px 8px;
  gap:4px;
  color:var(--home-nav-inactive);
  background:transparent;
  border:0;
  cursor:pointer;
  font-size:22px;
  transition:all 0.2s ease;
}
.tab span{
  font-size:10px;
  font-weight:600;
  letter-spacing:0.2px;
  color:var(--home-nav-inactive);
}
.tab.active{
  color:var(--home-accent);
}
.tab.active span{
  color:var(--home-accent);
}
.tab-center-btn{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:6px 4px 8px;
  gap:4px;
  cursor:pointer;
  background:transparent;
  border:0;
}
.tab-center-btn .tab-plus{
  width:44px;
  height:44px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--blue) 0%,#a855f7 100%);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  color:#fff;
  box-shadow:0 4px 16px rgba(99,102,241,0.5);
  transition:transform 0.15s ease;
}
.tab-center-btn:active .tab-plus{
  transform:scale(0.9);
}
.tab-center-btn span{
  font-size:10px;
  font-weight:600;
  color:var(--text-muted);
}

/* ============ Pages internes ============ */
.container{max-width:760px; margin:0 auto; padding:16px}
.space{margin-top:8px}

/* [NAV N1] Barre universelle ← Retour / 🏠 Accueil, injectée en tête de #page.
   Collante en haut, sous la barre d'onglets du bas (z-index 50). Les marges
   négatives la font affleurer les bords du .container (padding 16px). */
.gus-navbar{
  position:sticky; top:0; z-index:40;
  display:flex; align-items:center; gap:8px;
  margin:-16px -16px 12px; padding:10px 16px;
  background:var(--bg);
  border-bottom:1px solid var(--border);
  padding-top:calc(10px + env(safe-area-inset-top, 0px));
}
.gus-navbar .btn{min-height:36px; font-weight:600}
.gus-navbar .btn[disabled]{opacity:.4; cursor:default}
.gus-navbar .gus-nav-home{margin-left:auto; background:#dc2626; border-color:#dc2626; color:#fff}
.page-title{
  color:var(--text);
  font-size:20px;
  font-weight:800;
  margin:8px 0
}
.section-title{
  color:var(--text-muted);
  font-size:16px;
  margin:8px 0
}
.hidden{display:none}

.row{display:flex; flex-direction:column; gap:10px}
.item{
  background:var(--card); border:1px solid var(--border); border-radius:14px;
  box-shadow:var(--shadow); padding:12px; display:flex; align-items:center; justify-content:space-between;
}
.item .meta{font-size:12px; color:var(--text-muted)}
.btn{
  border:1px solid var(--border); background:var(--card2); color:var(--text);
  border-radius:10px; padding:6px 10px; cursor:pointer;
}
.btn.primary{background:var(--accent); border-color:var(--accent); color:#fff}
.btn.warn{background:var(--warn); border-color:var(--warn); color:#111}
.btn.slim{padding:4px 8px}
.btn-add{background:#10b981; border-color:#10b981; color:#fff; font-weight:600; box-shadow:0 2px 8px rgba(16,185,129,0.3)}
.btn-add:active{background:#059669}

.qty{width:42px; text-align:center; font-weight:700}

.skeleton{
  height:72px; border-radius:14px; background:linear-gradient(90deg,var(--card),var(--card2),var(--card));
  background-size:200% 100%; animation:shine 1.2s linear infinite;
  border:1px solid var(--border);
}
@keyframes shine{from{background-position:200% 0} to{background-position:-200% 0}}

.toasts{
  position:fixed; left:50%; bottom:90px; transform:translateX(-50%);
  display:flex; flex-direction:column; gap:8px; z-index:60;
}
.toast{background:rgba(0,0,0,.85); color:#fff; padding:8px 12px; border-radius:10px; box-shadow:var(--shadow); font-size:14px}

/* badges de statut */
.dot{display:inline-block; width:8px; height:8px; border-radius:999px; background:var(--ok); margin-right:6px}
.dot.busy{background:var(--warn)}
.low{outline:2px solid var(--warn); outline-offset:-2px}

/* Styles pour les nouvelles fonctionnalités Recettes/Menus */
.screen.hidden { display: none; }
.screen-header { display:flex; justify-content:space-between; align-items:center; gap:.75rem; margin-bottom:1rem; }
.actions .btn { margin-left:.5rem; }
.collapsible.collapsed { display:none; }
.with-mic { position:relative; }
.with-mic .mic { position:absolute; right:.5rem; bottom:.5rem; border:none; background:transparent; font-size:1.25rem; cursor:pointer; }
.photo-zone { display:flex; align-items:flex-start; gap:1rem; margin:.5rem 0 1rem; }
.photo-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(84px,1fr)); gap:.5rem; width:100%; }
.photo-grid img { width:100%; aspect-ratio:1/1; object-fit:cover; border-radius:8px; }
.list .item { display:flex; align-items:center; justify-content:space-between; gap:.5rem; padding:.75rem 1rem; border-radius:12px; background:var(--card); border:1px solid var(--border); margin-bottom:.5rem; }
.chips { display:flex; flex-wrap:wrap; gap:.35rem; }
.chip { padding:.25rem .5rem; border-radius:999px; background:#eef; font-size:.8rem; }
.menu-dishes .dish { border:1px dashed #cfd6ff; border-radius:10px; padding:.75rem; margin:.5rem 0; }
.allergens { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:.25rem .75rem; margin-top:.5rem; }
.allergens label { display:flex; align-items:center; gap:.5rem; }
.btn.ghost { background:transparent; }
.form-actions { display:flex; gap:.5rem; justify-content:flex-end; margin-top:.75rem; }

/* ============ Inputs globaux ============ */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]),
select, textarea {
  background: var(--card2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
}
input::placeholder, textarea::placeholder {
  color: var(--text-muted);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--blue-active);
  box-shadow: 0 0 0 2px rgba(129,140,248,0.2);
}
select option {
  background: var(--card);
  color: var(--text);
}

/* ============ Mode sombre complet (optionnel toggle) ============ */
body.dark-mode {
  --bg: #0e0e1c;
  --card: #1e1e35;
  --card2: #252540;
  --text: #f0f0ff;
  --text-muted: #8888aa;
  --border: #2a2a4a;
  --home-bg: #080812;
  --home-card: #16162e;
  --home-card2: #252540;
  --home-card-border: #2a2a4a;
  --home-text: #f0f0ff;
  --home-text-muted: #9090b8;
  --home-border: #2a2a4a;
  --home-accent: #a78bfa;
  --home-shadow: 0 4px 16px rgba(0,0,0,.4);
  --home-nav-bg: #161628;
  --home-nav-border: #2a2a44;
  --home-nav-inactive: #6666aa;
  --home-kpi-bg: #2a1a3f;
  --home-kpi-value: #c4b5fd;
  --home-kpi-label: #c4b5fd;
}

/* ============ Backbar IA Post Builder ============ */
.bb-grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
@media (max-width: 900px){
  .bb-grid2{ grid-template-columns: 1fr; }
}

.bb-card{
  background: var(--card);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
}

.bb-subcard{
  border:1px solid var(--border);
  background: var(--card2);
  border-radius: 12px;
  padding: 14px;
}

.bb-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:10px 0;
}

.bb-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid var(--border);
  background: var(--card);
  cursor:pointer;
  user-select:none;
  font-size: 13px;
  color: var(--text);
  transition: all 0.15s;
}
.bb-btn:hover{ opacity: 0.85; }
.bb-btn-primary{ background: #5d1e2d; color: #fff; border-color: #5d1e2d; }
.bb-btn-ghost{ background: transparent; }
.bb-btn-danger{ background: #fee2e2; border-color: #fca5a5; color: #dc2626; }
body.dark-mode .bb-btn{ 
  background: rgba(255,255,255,0.06); 
  border-color: rgba(255,255,255,0.12);
}
body.dark-mode .bb-btn-primary{ background: rgba(255,255,255,0.14); }
body.dark-mode .bb-btn-danger{ background: rgba(255,0,0,0.14); border-color: rgba(255,0,0,0.25); }

.bb-label{
  display:block;
  margin:10px 0 6px;
  font-size:0.85rem;
  color: var(--text-muted);
}

.bb-input{
  width:100%;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid var(--border);
  background: var(--card2);
  color: var(--text);
  outline:none;
  font-size: 13px;
}

.bb-row{ display:flex; gap:10px; }
.bb-col{ flex:1; min-width:140px; }

.bb-preview-wrap{
  margin-top:10px;
}
.bb-preview-img{
  width:100%;
  max-height:280px;
  object-fit:cover;
  border-radius:12px;
  border:1px solid var(--border);
}
.bb-muted{ opacity:0.7; font-size:0.85rem; margin-top:6px; color: var(--text-muted); }

.bb-post-preview{
  border:1px solid var(--border);
  border-radius:14px;
  overflow:hidden;
  background: #f9fafb;
  min-height: 100px;
}
body.dark-mode .bb-post-preview{
  background: rgba(0,0,0,0.18);
  border-color: rgba(255,255,255,0.10);
}
.bb-post-preview.bb-empty{
  padding:14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
}
.bb-post-preview img{
  width:100%;
  display:block;
  max-height:300px;
  object-fit:cover;
}
.bb-post-caption{
  padding:12px 14px;
  white-space:pre-wrap;
  line-height:1.4;
  font-size: 14px;
}

/* ============ Wheel Animation - Style Skrewball ============ */
.wheel-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.88);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
  animation:fadeIn 0.3s ease;
}
@keyframes fadeIn{
  from{opacity:0}
  to{opacity:1}
}
.wheel-container{
  background:linear-gradient(135deg, #2a1a0e 0%, #3d2415 50%, #2a1a0e 100%);
  border-radius:28px;
  padding:28px 24px;
  text-align:center;
  max-width:380px;
  width:94%;
  box-shadow:0 20px 60px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.08);
  border:3px solid #c8943e;
}
.wheel-title{
  font-size:20px;
  font-weight:800;
  color:#f0d68a;
  margin-bottom:20px;
  text-transform:uppercase;
  letter-spacing:3px;
  text-shadow:0 2px 6px rgba(0,0,0,0.6);
  background:linear-gradient(180deg, #f5e6b8 0%, #c8943e 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}
.wheel-wrapper{
  position:relative;
  width:300px;
  height:300px;
  margin:0 auto 20px;
}
.wheel-canvas-wrap{
  width:100%;
  height:100%;
  position:relative;
}
.wheel-canvas-wrap canvas{
  width:100%;
  height:100%;
  border-radius:50%;
  transition:transform 5s cubic-bezier(0.15, 0.60, 0.07, 1.00);
}
.wheel-canvas-wrap canvas.spinning{
  transform:rotate(var(--spin-deg, 2160deg));
}
.wheel-outer-ring{
  position:absolute;
  inset:-8px;
  border-radius:50%;
  border:8px solid #c8943e;
  box-shadow:0 0 0 3px #8b6420, 0 0 20px rgba(200,148,62,0.35), inset 0 0 10px rgba(200,148,62,0.2);
  pointer-events:none;
}
.wheel-dots{
  position:absolute;
  inset:-12px;
  border-radius:50%;
  pointer-events:none;
}
.wheel-dot{
  position:absolute;
  width:8px;
  height:8px;
  background:radial-gradient(circle, #ffe88a 30%, #c8943e 100%);
  border-radius:50%;
  box-shadow:0 0 6px rgba(255,232,138,0.6);
}
.wheel-pointer{
  position:absolute;
  top:-14px;
  left:50%;
  transform:translateX(-50%);
  z-index:10;
  filter:drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}
.wheel-pointer svg{
  width:36px;
  height:42px;
}
.wheel-center-btn{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:72px;
  height:72px;
  border-radius:50%;
  background:linear-gradient(180deg, #e8553e 0%, #c0392b 60%, #962d22 100%);
  border:4px solid #f5c87a;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:5;
  box-shadow:0 4px 16px rgba(0,0,0,0.45), inset 0 2px 0 rgba(255,255,255,0.3), 0 0 0 3px #8b6420;
  cursor:pointer;
  transition:transform 0.15s;
}
.wheel-center-btn:active{
  transform:translate(-50%,-50%) scale(0.94);
}
.wheel-center-btn span{
  font-size:14px;
  font-weight:900;
  color:#fff;
  text-transform:uppercase;
  letter-spacing:1px;
  text-shadow:0 2px 4px rgba(0,0,0,0.4);
}
.wheel-result{
  font-size:20px;
  font-weight:700;
  color:#f0d68a;
  min-height:32px;
  text-shadow:0 2px 4px rgba(0,0,0,0.4);
  margin-top:4px;
}
.wheel-result.lose{
  color:#999;
}
.wheel-close{
  margin-top:16px;
  padding:14px 40px;
  background:linear-gradient(180deg, #c8943e 0%, #a07630 100%);
  color:#fff;
  border:none;
  border-radius:12px;
  font-size:15px;
  font-weight:800;
  cursor:pointer;
  text-transform:uppercase;
  letter-spacing:1px;
  box-shadow:0 4px 12px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
  transition:transform 0.2s;
}
.wheel-close:active{
  transform:scale(0.97);
}

/* AI Chat typing animation */
.ai-typing{
  display:inline-block;
  font-size:18px;
  letter-spacing:3px;
  animation:aiPulse 1.2s infinite;
  color:#6366f1;
}
@keyframes aiPulse{
  0%,100%{opacity:.3}
  50%{opacity:1}
}
#aiChatInput:focus{
  border-color:#6366f1 !important;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ============ Fiche de prestations — grille mois ============
   Écran conçu pour un ORDINATEUR : sur desktop la grille sort du conteneur
   760px et occupe toute la largeur, le tableau se répartit sur la place
   disponible (table-layout:fixed) → les 31 jours tiennent TOUJOURS, avec des
   cellules aussi grandes que l'écran le permet. Sur mobile : rien ne change,
   cellules fixes + défilement horizontal avec colonnes figées.
   Sélecteur `input.presta-cell` (et non `.presta-cell`) : il faut battre la
   règle globale des champs de saisie (padding 8/12, bordure, radius) qui
   sinon rogne la valeur au point de n'afficher que le 1er caractère. */
/* La règle globale des champs (input:not(...)×5) est très spécifique : on la bat
   explicitement, sinon padding 8/12 + bordure rognent la valeur (« 8,00 » → « 8 »). */
input.presta-cell{
  box-sizing:border-box;
  width:34px !important; height:26px !important;
  padding:0 !important; border:none !important; border-radius:0 !important;
  text-align:center; font-size:11px !important; font-family:inherit;
  outline:none;
}
input.presta-cell:focus{box-shadow:inset 0 0 0 2px #6366f1}
input.presta-cell-hp{height:30px !important; font-size:12px !important; font-weight:700; color:#1e293b}
@media (min-width:1000px){
  .presta-wide{
    width:calc(100vw - 32px);
    margin-left:calc(-50vw + 50% + 16px);
    max-width:none;
  }
  .presta-wide table{width:100%;table-layout:fixed}
  .presta-wide .presta-code-col{width:170px}
  .presta-wide .presta-total-col{width:74px}
  .presta-wide .presta-th{min-width:0}
  .presta-wide input.presta-cell{width:100% !important; height:28px !important; font-size:12px !important}
  .presta-wide input.presta-cell-hp{height:34px !important; font-size:13px !important}
  .presta-wide td[onclick]{font-size:12px;height:26px}
}
/* Grands écrans : on profite de la place pour grossir encore les cellules. */
@media (min-width:1440px){
  .presta-wide .presta-code-col{width:200px}
  .presta-wide .presta-total-col{width:82px}
  .presta-wide input.presta-cell{height:30px !important; font-size:13px !important}
  .presta-wide input.presta-cell-hp{height:36px !important; font-size:15px !important}
  .presta-wide td[onclick]{font-size:13px;height:28px}
}

/* ============================================================================
   [D1] COQUILLE DESKTOP (>= 1100px)
   DOUBLE VERROU anti-pollution mobile : chaque règle est (1) préfixée par
   body.gus-desktop — classe posée uniquement par _applyShell() au-delà du seuil —
   ET (2) enveloppée dans @media (min-width:1100px). Même une classe mal posée
   resterait donc sans effet sur un téléphone.
   ========================================================================== */
@media (min-width: 1100px) {
  body.gus-desktop {
    --gd-brand:#5d1e2d; --gd-brand-dark:#47141f; --gd-brand-light:#7a2f41;
    --gd-brand-wash:#f7eef0; --gd-page:#f9f9f7; --gd-surface:#ffffff;
    --gd-ink:#0b0b0b; --gd-ink-2:#52514e; --gd-muted:#898781;
    --gd-hairline:rgba(11,11,11,.10); --gd-grid:#e1e0d9;
    --gd-good:#0ca30c; --gd-good-ink:#006300; --gd-warning:#fab219;
    --gd-serious:#ec835a; --gd-critical:#d03b3b;
    background:var(--gd-page);
  }
  /* La coquille mobile est neutralisée, jamais supprimée : re-basculer sous
     1100px la restaure telle quelle. */
  body.gus-desktop #homeSection,
  body.gus-desktop #pageSection,
  body.gus-desktop nav.tabs { display:none !important; }
  body.gus-desktop .app { display:flex; min-height:100vh; padding-bottom:0; }
  body.gus-desktop #desktopShell { display:flex !important; flex:1; min-width:0; }

  /* ---- Menu latéral ---- */
  body.gus-desktop .gd-sidebar{
    width:240px; flex:0 0 240px; background:var(--gd-brand); color:#fff;
    position:sticky; top:0; height:100vh; display:flex; flex-direction:column;
    /* Au-dessus de tout contenu : ceinture et bretelles contre un enfant
       positionné qui tenterait de peindre par-dessus le menu. */
    z-index:20;
  }
  body.gus-desktop .gd-logo{ padding:18px 20px; border-bottom:1px solid rgba(255,255,255,.14); }
  body.gus-desktop .gd-logo-title{ font-size:24px; font-weight:800; letter-spacing:.5px; }
  body.gus-desktop .gd-logo-tag{ font-size:12px; opacity:.75; margin-top:2px; }
  body.gus-desktop .gd-nav{ flex:1; overflow-y:auto; padding:10px 0; }
  body.gus-desktop .gd-item{
    display:flex; align-items:center; gap:10px; width:100%; text-align:left;
    padding:9px 20px; color:rgba(255,255,255,.88); font-size:13.5px;
    background:transparent; border:none; border-left:3px solid transparent;
    cursor:pointer; font-family:inherit;
  }
  body.gus-desktop .gd-item:hover{ background:rgba(255,255,255,.08); }
  body.gus-desktop .gd-item.active{
    background:rgba(255,255,255,.14); border-left-color:#fff; color:#fff; font-weight:600;
  }
  body.gus-desktop .gd-ico{ width:18px; flex:0 0 18px; text-align:center; }
  body.gus-desktop .gd-badge{
    margin-left:auto; background:#fff; color:var(--gd-brand); font-size:11px;
    font-weight:700; border-radius:99px; padding:1px 7px; line-height:1.5;
  }
  body.gus-desktop .gd-sidebar-footer{
    border-top:1px solid rgba(255,255,255,.14); padding:14px 20px;
  }
  body.gus-desktop .gd-estab{ font-size:13.5px; font-weight:700; }
  body.gus-desktop .gd-user{ font-size:12.5px; opacity:.8; margin-top:2px; }
  body.gus-desktop .gd-logout{
    margin-top:8px; background:none; border:none; padding:0; cursor:pointer;
    color:#fff; opacity:.85; text-decoration:underline; font-size:12.5px; font-family:inherit;
  }

  /* ---- Zone principale ---- */
  body.gus-desktop .gd-main{ flex:1; min-width:0; display:flex; flex-direction:column; }
  body.gus-desktop .gd-topbar{
    display:flex; align-items:center; gap:16px; padding:14px 28px;
    background:var(--gd-surface); border-bottom:1px solid var(--gd-hairline);
    position:sticky; top:0; z-index:5;
  }
  body.gus-desktop .gd-search{ flex:1; max-width:520px; position:relative; }
  body.gus-desktop .gd-search input{
    width:100%; padding:9px 12px 9px 36px; border:1px solid var(--gd-grid);
    border-radius:8px; background:var(--gd-page); font-size:14px; box-sizing:border-box;
  }
  body.gus-desktop .gd-search input:focus{ outline:2px solid var(--gd-brand); outline-offset:0; }
  body.gus-desktop .gd-search-ico{
    position:absolute; left:12px; top:50%; transform:translateY(-50%);
    pointer-events:none; opacity:.6; font-size:14px;
  }
  body.gus-desktop .gd-date{ margin-left:auto; color:var(--gd-ink-2); font-size:13px; text-transform:capitalize; }
  body.gus-desktop .gd-avatar{
    width:32px; height:32px; flex:0 0 32px; border-radius:50%; background:var(--gd-brand);
    color:#fff; font-weight:700; font-size:12.5px; display:flex; align-items:center; justify-content:center;
  }
  body.gus-desktop .gd-content{ padding:22px 28px 40px; max-width:1120px; min-width:0; }
  /* [FIX débordement] Conteneur de TOUT écran délégué (`raw`).
     position:relative  -> bloc conteneur des enfants position:absolute
     overflow-x:auto    -> scrollport des colonnes position:sticky;left:0
     min-width:0        -> en contexte flex, l'enfant large SCROLLE au lieu de pousser
     Sans cela, une grille large prenait le viewport comme référence et sa colonne
     figée se superposait au menu latéral. */
  body.gus-desktop .gd-raw{
    position:relative; overflow-x:auto; min-width:0; max-width:100%;
  }
  body.gus-desktop .gd-content .page-title{ font-size:21px; font-weight:700; color:var(--gd-ink); }
  body.gus-desktop .gd-page-sub{ color:var(--gd-ink-2); font-size:13px; margin-top:2px; }

  /* Repli minimal si le tableau de bord lève (D2). */
  body.gus-desktop .gd-placeholder{
    background:var(--gd-surface); border:1px solid var(--gd-hairline); border-radius:10px;
    padding:28px; color:var(--gd-ink-2); font-size:14px;
  }

  /* ---- [D2] Alertes compactes ---- */
  body.gus-desktop .gd-alert{
    display:flex; align-items:center; gap:10px; padding:10px 14px; border-radius:8px;
    border:1px solid var(--gd-hairline); background:var(--gd-surface);
    border-left-width:4px; margin-bottom:8px;
  }
  body.gus-desktop .gd-alert.critical{ border-left-color:var(--gd-critical); }
  body.gus-desktop .gd-alert.warning{ border-left-color:var(--gd-warning); }
  body.gus-desktop .gd-a-tag{ font-weight:700; }
  body.gus-desktop .gd-alert.critical .gd-a-tag{ color:var(--gd-critical); }
  body.gus-desktop .gd-alert.warning .gd-a-tag{ color:#8a5b00; }
  body.gus-desktop .gd-a-text{ font-size:13.5px; color:var(--gd-ink); }
  body.gus-desktop .gd-a-action{
    margin-left:auto; color:var(--gd-brand); font-weight:600; font-size:13px;
    background:none; border:none; cursor:pointer; font-family:inherit;
  }

  /* ---- [D2] Tuiles chiffrées ---- */
  body.gus-desktop .gd-tiles{
    display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:12px; margin:14px 0 20px;
  }
  body.gus-desktop .gd-tile{
    background:var(--gd-surface); border:1px solid var(--gd-hairline); border-radius:10px;
    padding:14px 16px; text-align:left; cursor:pointer; font-family:inherit;
    display:block; width:100%;
  }
  body.gus-desktop .gd-tile:hover{ box-shadow:0 2px 10px rgba(11,11,11,.08); }
  body.gus-desktop .gd-t-label{ font-size:12.5px; color:var(--gd-ink-2); }
  body.gus-desktop .gd-t-value{ font-size:26px; font-weight:700; color:var(--gd-ink); margin-top:2px; }
  body.gus-desktop .gd-t-value small{ font-size:14px; font-weight:600; color:var(--gd-ink-2); }
  body.gus-desktop .gd-t-note{ font-size:12px; color:var(--gd-muted); margin-top:2px; }
  body.gus-desktop .gd-t-note.good{ color:var(--gd-good-ink); }
  body.gus-desktop .gd-t-note.warn{ color:#8a5b00; }
  body.gus-desktop .gd-bar{ height:6px; border-radius:4px; background:var(--gd-grid); margin-top:8px; overflow:hidden; }
  body.gus-desktop .gd-bar > span{ display:block; height:100%; background:var(--gd-brand); }
  body.gus-desktop .gd-bar > span.good{ background:var(--gd-good); }
  body.gus-desktop .gd-bar > span.warn{ background:var(--gd-warning); }

  /* ---- [D2] Deux colonnes ---- */
  body.gus-desktop .gd-cols{ display:grid; grid-template-columns:1.6fr 1fr; gap:20px; }
  body.gus-desktop .gd-card{
    background:var(--gd-surface); border:1px solid var(--gd-hairline); border-radius:10px; margin-bottom:16px;
  }
  body.gus-desktop .gd-card-h{
    padding:13px 16px; border-bottom:1px solid var(--gd-hairline);
    font-weight:700; font-size:13.5px; color:var(--gd-ink);
  }
  body.gus-desktop .gd-card-b{ padding:14px 16px; }
  body.gus-desktop .gd-quick{ display:grid; grid-template-columns:1fr 1fr; gap:8px; padding:14px 16px; }
  body.gus-desktop .gd-quick button{
    background:var(--gd-page); border:1px solid var(--gd-grid); border-radius:8px;
    padding:10px 12px; font-size:12.5px; text-align:left; cursor:pointer;
    color:var(--gd-ink); font-family:inherit;
  }
  body.gus-desktop .gd-quick button:hover{ border-color:var(--gd-brand); background:var(--gd-brand-wash); }
  body.gus-desktop .gd-links{ list-style:none; margin:0; padding:6px 0 10px; }
  body.gus-desktop .gd-links button{
    display:block; width:100%; text-align:left; padding:8px 16px; color:var(--gd-brand);
    font-weight:500; font-size:13px; background:none; border:none; cursor:pointer; font-family:inherit;
  }
  body.gus-desktop .gd-links button:hover{ background:var(--gd-brand-wash); }

  /* ---- [V2] Gabarit de MODULE desktop (réutilisable par les 12 modules) ---- */
  body.gus-desktop .mod-head{
    display:flex; align-items:flex-start; gap:16px; flex-wrap:wrap; margin-bottom:14px;
  }
  body.gus-desktop .mod-head h1{ font-size:21px; font-weight:700; color:var(--gd-ink); margin:0; }
  body.gus-desktop .mod-sub{ color:var(--gd-ink-2); font-size:13px; margin-top:2px; }
  body.gus-desktop .mod-actions{ margin-left:auto; display:flex; gap:8px; flex-wrap:wrap; }
  body.gus-desktop .btn-primary{
    background:var(--gd-brand); color:#fff; border:none; border-radius:8px;
    padding:9px 16px; font-size:13px; font-weight:600; cursor:pointer; font-family:inherit;
  }
  body.gus-desktop .btn-primary:hover{ background:var(--gd-brand-dark); }
  body.gus-desktop .btn-ghost{
    background:var(--gd-surface); color:var(--gd-ink); border:1px solid var(--gd-grid);
    border-radius:8px; padding:9px 14px; font-size:13px; font-weight:600; cursor:pointer; font-family:inherit;
  }
  body.gus-desktop .btn-ghost:hover{ border-color:var(--gd-brand); background:var(--gd-brand-wash); }

  body.gus-desktop .subtabs{
    display:flex; gap:4px; border-bottom:1px solid var(--gd-hairline); margin-bottom:16px; flex-wrap:wrap;
  }
  body.gus-desktop .subtabs button{
    background:none; border:none; padding:9px 14px; font-size:13.5px; cursor:pointer;
    color:var(--gd-ink-2); border-bottom:2px solid transparent; margin-bottom:-1px; font-family:inherit;
  }
  body.gus-desktop .subtabs button:hover{ color:var(--gd-ink); }
  body.gus-desktop .subtabs button.active{
    color:var(--gd-brand); font-weight:700; border-bottom-color:var(--gd-brand);
  }

  body.gus-desktop .stats-row{ display:flex; gap:28px; flex-wrap:wrap; margin-bottom:16px; }
  body.gus-desktop .stat-v{ font-size:20px; font-weight:700; color:var(--gd-ink); }
  body.gus-desktop .stat-l{ font-size:12px; color:var(--gd-ink-2); margin-top:1px; }

  body.gus-desktop .data{
    width:100%; border-collapse:collapse; background:var(--gd-surface);
    border:1px solid var(--gd-hairline); border-radius:10px; overflow:hidden; font-size:13px;
  }
  body.gus-desktop .data th{
    text-align:left; padding:10px 14px; background:var(--gd-page); color:var(--gd-muted);
    font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.03em;
    border-bottom:1px solid var(--gd-hairline); white-space:nowrap;
  }
  body.gus-desktop .data td{ padding:11px 14px; border-bottom:1px solid var(--gd-grid); color:var(--gd-ink); }
  body.gus-desktop .data tbody tr:last-child td{ border-bottom:none; }
  body.gus-desktop .data tbody tr.clickable{ cursor:pointer; }
  body.gus-desktop .data tbody tr.clickable:hover{ background:var(--gd-brand-wash); }
  body.gus-desktop .data .num{ text-align:right; }
  body.gus-desktop .data-empty{
    background:var(--gd-surface); border:1px solid var(--gd-hairline); border-radius:10px;
    padding:28px; text-align:center; color:var(--gd-muted); font-size:13.5px;
  }
  body.gus-desktop .data-wrap{ overflow-x:auto; }

  body.gus-desktop .chip{
    display:inline-block; padding:2px 9px; border-radius:999px;
    font-size:11px; font-weight:700; white-space:nowrap;
  }
  body.gus-desktop .chip.good{ background:#e7f6e7; color:var(--gd-good-ink); }
  body.gus-desktop .chip.warn{ background:#fdf3dd; color:#8a5b00; }
  body.gus-desktop .chip.crit{ background:#fbe6e6; color:var(--gd-critical); }
  body.gus-desktop .chip.neutral{ background:var(--gd-page); color:var(--gd-ink-2); border:1px solid var(--gd-grid); }

  body.gus-desktop .row-action{
    background:none; border:none; color:var(--gd-brand); font-weight:600;
    font-size:12.5px; cursor:pointer; padding:0; font-family:inherit; white-space:nowrap;
  }
  body.gus-desktop .row-action:hover{ text-decoration:underline; }
  body.gus-desktop .mod-field{
    display:inline-flex; align-items:center; gap:6px; font-size:12.5px; color:var(--gd-ink-2);
  }
  body.gus-desktop .mod-field input{
    padding:7px 10px; border:1px solid var(--gd-grid); border-radius:8px;
    background:var(--gd-surface); font-size:13px; font-family:inherit;
  }
  /* 2e rangee de sous-onglets (Finances) : plus discrete que la 1re. */
  body.gus-desktop .subtabs.subtabs-2{
    margin-top:-12px; margin-bottom:14px; border-bottom:none; gap:2px;
  }
  body.gus-desktop .subtabs.subtabs-2 button{
    font-size:12.5px; padding:6px 11px; border-radius:8px; border-bottom:none;
    margin-bottom:0; background:var(--gd-page); border:1px solid var(--gd-grid);
  }
  body.gus-desktop .subtabs.subtabs-2 button.active{
    background:var(--gd-brand-wash); border-color:var(--gd-brand); color:var(--gd-brand);
  }
  body.gus-desktop .mod-filters{ margin-bottom:14px; }

  /* [V2 Drive] Fil d'Ariane de l'explorateur. Il vit dans l'emplacement
     « filtres » de gdModule : c'est une barre de navigation, pas un filtre,
     mais c'est la meme place a l'ecran et ca evite un 3e emplacement. */
  body.gus-desktop .gd-crumbs{
    display:flex; align-items:center; flex-wrap:wrap; gap:2px;
  }
  body.gus-desktop .gd-crumb{
    background:none; border:none; font:inherit; font-size:13px; cursor:pointer;
    color:var(--gd-ink-2); padding:4px 7px; border-radius:7px;
  }
  body.gus-desktop .gd-crumb:hover{ background:var(--gd-brand-wash); color:var(--gd-brand); }
  body.gus-desktop .gd-crumb.active{ color:var(--gd-ink); font-weight:600; }
  body.gus-desktop .gd-crumb-sep{ color:var(--gd-muted); font-size:13px; }
  /* Seconde ligne d'une cellule (description d'un document). */
  body.gus-desktop table.data td .cell-sub{
    display:block; margin-top:2px; font-size:12px; color:var(--gd-ink-2);
    max-width:38ch; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  }

  /* [V2 Messages] Pastilles de filtre par groupe : meme role que les chips
     tactiles, mais avec le libelle en clair (un grand ecran a la place). */
  body.gus-desktop .gd-chips{ display:flex; flex-wrap:wrap; gap:6px; }
  body.gus-desktop .gd-chip-btn{
    background:var(--gd-surface); border:1px solid var(--gd-grid); border-radius:999px;
    padding:5px 12px; font:inherit; font-size:12.5px; color:var(--gd-ink-2); cursor:pointer;
  }
  body.gus-desktop .gd-chip-btn:hover{ border-color:var(--gd-brand-light); color:var(--gd-brand); }
  body.gus-desktop .gd-chip-btn.active{
    background:var(--gd-brand); border-color:var(--gd-brand); color:#fff; font-weight:600;
  }
  /* Cellule « conversation » : pastille d'avatar + titre sur une ligne. */
  body.gus-desktop table.data td .gd-msg-cell{ display:inline-flex; align-items:center; gap:9px; }
  body.gus-desktop table.data td .gd-badge{
    display:inline-flex; align-items:center; justify-content:center; min-width:20px;
    height:20px; padding:0 6px; border-radius:10px; background:var(--gd-critical);
    color:#fff; font-size:11.5px; font-weight:700;
  }

  /* [V2 Reseaux sociaux] Vignette de media dans la cellule titre. Le chargeur
     existant (loadCalendarMediaThumbs) y injecte un <img>/<video>. */
  body.gus-desktop table.data td .gd-soc-thumb{
    display:inline-block; width:34px; height:34px; border-radius:7px;
    overflow:hidden; background:var(--gd-grid); flex:0 0 auto;
  }
  body.gus-desktop table.data td .gd-soc-thumb img,
  body.gus-desktop table.data td .gd-soc-thumb video{
    width:100%; height:100%; object-fit:cover; display:block;
  }
  /* Le selecteur des champs en-tete doit suivre le meme gabarit que les inputs. */
  body.gus-desktop .mod-field select{
    padding:7px 10px; border:1px solid var(--gd-grid); border-radius:8px;
    background:var(--gd-surface); font-size:13px; font-family:inherit; color:var(--gd-ink);
  }

  /* [V2 Pointage] Bandeau « mon pointage » au-dessus du tableau : etat courant a
     gauche, actions autorisees a droite. Les actions viennent du serveur. */
  body.gus-desktop .gd-punch{
    display:flex; align-items:center; justify-content:space-between; gap:14px;
    flex-wrap:wrap; padding:12px 14px; border:1px solid var(--gd-grid);
    border-radius:12px; background:var(--gd-surface);
  }
  body.gus-desktop .gd-punch-who{ display:inline-flex; align-items:center; gap:9px; flex-wrap:wrap; font-size:13.5px; }
  body.gus-desktop .gd-punch-last{ color:var(--gd-muted); font-size:12.5px; }
  body.gus-desktop .gd-punch-actions{ display:inline-flex; gap:8px; flex-wrap:wrap; }
  body.gus-desktop .gd-punch-btn{
    border:none; border-radius:10px; padding:9px 15px; color:#fff; font:inherit;
    font-size:13.5px; font-weight:600; cursor:pointer;
  }
  body.gus-desktop .gd-punch-btn:hover{ filter:brightness(1.07); }
  body.gus-desktop .gd-punch-none{ color:var(--gd-muted); font-size:13px; }
}
