/* ─────────────────────────────────────────
   Pro Solutat — CSS unique
   Mobile first · max 430px · OURA style
───────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=DM+Serif+Display&display=swap');

:root {
  --gold:          #C9A217;
  --gold-light:    #DDB92A;
  --gold-dark:     #A88510;
  --gold-muted:    rgba(201,162,23,0.10);
  --gold-glow:     rgba(201,162,23,0.22);
  --bg:            #F5F3EE;
  --bg-card:       #FFFFFF;
  --bg-input:      #EDEAE4;
  --bg-hover:      #E8E4DC;
  --border:        #E0DBD3;
  --border-soft:   #EBE7E0;
  --border-focus:  rgba(201,162,23,0.5);
  --text:          #1A1714;
  --text-soft:     #6B6358;
  --text-muted:    #9E9488;
  --text-disabled: #C8C2BA;
  --success:       #2E7D50;
  --success-muted: rgba(46,125,80,0.08);
  --warning:       #B8700C;
  --warning-muted: rgba(184,112,12,0.08);
  --danger:        #B53A2A;
  --danger-muted:  rgba(181,58,42,0.08);
  --info:          #1F6EA8;
  --info-muted:    rgba(31,110,168,0.08);
  --sans:          'Inter', system-ui, sans-serif;
  --serif:         'DM Serif Display', Georgia, serif;
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   16px;
  --r-xl:   20px;
  --r-full: 9999px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.12);
  --shadow-glow: 0 4px 20px rgba(201,162,23,0.28);
  --ease:        230ms cubic-bezier(0.4,0,0.2,1);
  --ease-slow:   380ms cubic-bezier(0.4,0,0.2,1);
  --header-h:    56px;
  --bottomnav-h: 60px;
}

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

html {
  font-size: 16px;
  background: #1A1714;
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
  box-shadow: 0 0 60px rgba(0,0,0,0.4);
}

/* Empêcher zoom sur inputs */
input, select, textarea { font-size: 16px !important; }

a { color: var(--gold-dark); text-decoration: none; }
button { cursor: pointer; font-family: var(--sans); -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: var(--r-full); }

/* ═══════════════════════════════════════
   STRUCTURE
═══════════════════════════════════════ */
#app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: var(--header-h);
  padding-bottom: var(--bottomnav-h);
}

/* ── HEADER fixe */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: var(--header-h);
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(145deg, #1E1A0E, #2A2410);
  border: 1px solid rgba(201,162,23,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-logo-mark span {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--gold);
  line-height: 1;
}

.header-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header-logo-name {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--text);
}

.header-logo-name em { color: var(--gold); font-style: normal; }

.header-logo-sub {
  font-size: 0.5625rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-avatar-btn {
  position: relative;
  background: none;
  border: none;
  padding: 2px;
  cursor: pointer;
}

.header-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-muted);
  border: 1.5px solid rgba(201,162,23,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-transform: uppercase;
}

.header-avatar-dot {
  position: absolute;
  top: 2px; right: 2px;
  width: 8px; height: 8px;
  background: var(--danger);
  border-radius: 50%;
  border: 1.5px solid var(--bg-card);
}

.header-menu-btn {
  width: 32px; height: 32px;
  border-radius: var(--r-md);
  background: transparent;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  cursor: pointer;
}

.header-menu-btn svg { width: 15px; height: 15px; }

/* ── CONTENU */
.content {
  flex: 1;
  padding: 20px 16px;
}

/* ── BOTTOM NAV fixe */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: var(--bottomnav-h);
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.bottom-nav-inner {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: 1;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--sans);
  font-size: 0.5625rem;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}

.bottom-nav-item svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.5;
}

.bottom-nav-item.active { color: var(--gold-dark); }

.bottom-nav-item.active::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 2px;
  background: var(--gold);
  border-radius: 0 0 4px 4px;
}

.bottom-nav-action {
  color: var(--gold-dark) !important;
  font-weight: 600 !important;
}
.bottom-nav-action svg { stroke: var(--gold-dark); }
.bottom-nav-dot {
  position: absolute;
  top: 4px; right: calc(50% - 16px);
  width: 6px; height: 6px;
  background: var(--danger);
  border-radius: 50%;
  border: 1.5px solid var(--bg-card);
}
/* ═══════════════════════════════════════
   MENU BURGER (panel droit)
═══════════════════════════════════════ */
.menu-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.55);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease);
}

.menu-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.menu-panel {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 75%;
  max-width: 280px;
  background: #141414;
  z-index: 301;
  transform: translateX(100%);
  transition: transform 350ms cubic-bezier(0.32,0.72,0,1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.menu-backdrop.open .menu-panel {
  transform: translateX(0);
}

.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px 14px;
  border-bottom: 1px solid #242424;
  flex-shrink: 0;
}

.menu-logo-name {
  font-family: var(--serif);
  font-size: 1rem;
  color: #EDEAE4;
}
.menu-logo-name em { color: var(--gold); font-style: normal; }

.menu-close {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #1E1E1E;
  border: none;
  color: #6B6762;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
}
.menu-close svg { width: 11px; height: 11px; }

.menu-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid #242424;
  flex-shrink: 0;
}

.menu-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gold-muted);
  border: 1.5px solid rgba(201,162,23,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-transform: uppercase;
  flex-shrink: 0;
}

.menu-user-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #EDEAE4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.menu-user-role { font-size: 0.6875rem; color: #6B6762; }

.menu-nav {
  flex: 1;
  padding: 8px;
  overflow-y: auto;
}

.menu-nav-label {
  display: block;
  font-size: 0.5625rem;
  font-weight: 600;
  color: #3A3835;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 10px 8px 4px;
}

.menu-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: var(--r-md);
  color: #9E9993;
  font-size: 0.875rem;
  font-weight: 500;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.menu-nav-item svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  opacity: 0.5;
}

.menu-nav-item.active {
  background: rgba(201,162,23,0.08);
  color: var(--gold);
}
.menu-nav-item.active svg { opacity: 1; }

.menu-footer {
  padding: 10px;
  border-top: 1px solid #242424;
  flex-shrink: 0;
}

.menu-footer-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: var(--r-md);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.menu-footer-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.menu-footer-btn.gold { color: var(--gold); }
.menu-footer-btn.red  { color: #9E9993; }

/* ═══════════════════════════════════════
   KPI CARDS
═══════════════════════════════════════ */
.kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

.kpi-card.accent-gold   { border-top: 2px solid var(--gold); }
.kpi-card.accent-green  { border-top: 2px solid var(--success); }
.kpi-card.accent-red    { border-top: 2px solid var(--danger); }
.kpi-card.accent-orange { border-top: 2px solid var(--warning); }
.kpi-card.accent-gray   { border-top: 2px solid var(--border); }

.kpi-label {
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.kpi-value {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--text);
}

.kpi-value.c-gold   { color: var(--gold-dark); }
.kpi-value.c-green  { color: var(--success); }
.kpi-value.c-red    { color: var(--danger); }
.kpi-value.c-orange { color: var(--warning); }

.kpi-sub {
  font-size: 0.625rem;
  color: var(--text-muted);
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ═══════════════════════════════════════
   CARDS
═══════════════════════════════════════ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.card-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

/* ═══════════════════════════════════════
   BOUTONS
═══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  border-radius: var(--r-md);
  padding: 10px 16px;
  transition: background var(--ease), transform var(--ease);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 13px; height: 13px; }
.btn-primary  { background: var(--gold); color: #000; }
.btn-primary:active { background: var(--gold-light); }
.btn-ghost    { background: transparent; color: var(--text-soft); border: 1px solid var(--border); }
.btn-ghost:active { background: var(--bg-hover); }
.btn-danger   { background: var(--danger-muted); color: var(--danger); border: 1px solid rgba(181,58,42,0.2); }
.btn-danger:active { background: var(--danger); color: #fff; }
.btn-sm       { font-size: 0.75rem; padding: 6px 12px; border-radius: var(--r-sm); }
.btn-full     { width: 100%; }
.btn:disabled { opacity: 0.4; pointer-events: none; }

/* ═══════════════════════════════════════
   FORMULAIRES
═══════════════════════════════════════ */
.field { margin-bottom: 14px; }

.field-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.field-hint { font-size: 0.6875rem; color: var(--text-muted); margin-top: 4px; }

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
textarea,
select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text);
  font-family: var(--sans);
  padding: 11px 14px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}

input::placeholder, textarea::placeholder { color: var(--text-muted); }

input:focus, textarea:focus, select:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--gold-muted);
}

textarea { resize: vertical; min-height: 80px; line-height: 1.6; }

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%239E9488' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ═══════════════════════════════════════
   LISTE ITEMS
═══════════════════════════════════════ */
.list-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
  gap: 12px;
}
.list-item:last-child { border-bottom: none; }
.list-item-main { flex: 1; min-width: 0; }
.list-item-title { font-size: 0.9375rem; font-weight: 500; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-item-sub   { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }
.list-item-right { text-align: right; flex-shrink: 0; }
.list-item-value { font-family: var(--serif); font-size: 1.125rem; color: var(--gold-dark); }

/* ═══════════════════════════════════════
   DRAWER
═══════════════════════════════════════ */
.drawer-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.45);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease);
}
.drawer-backdrop.open { opacity: 1; pointer-events: all; }

.drawer {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: 20px 20px 0 0;
  max-height: 92vh;
  overflow-y: auto;
  z-index: 201;
  transform: translateY(100%);
  transition: transform 350ms cubic-bezier(0.32,0.72,0,1);
  -webkit-overflow-scrolling: touch;
  padding-bottom: env(safe-area-inset-bottom, 16px);
}

.drawer-backdrop.open .drawer {
  transform: translateY(0);
}

.drawer-handle {
  width: 36px; height: 4px;
  background: var(--border);
  border-radius: var(--r-full);
  margin: 12px auto 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  background: var(--bg-card);
  z-index: 1;
}

.drawer-title { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; color: var(--text); }

.drawer-close {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-input);
  border: none;
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.drawer-close svg { width: 11px; height: 11px; }

.drawer-body { padding: 16px; }

.drawer-footer {
  display: flex;
  gap: 10px;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--border-soft);
  position: sticky;
  bottom: 0;
  background: var(--bg-card);
}

/* ═══════════════════════════════════════
   BADGES
═══════════════════════════════════════ */
.badge {
  display: inline-flex; align-items: center;
  font-size: 0.625rem; font-weight: 600;
  padding: 2px 7px; border-radius: var(--r-full);
}
.badge-success { background: var(--success-muted); color: var(--success); }
.badge-warning { background: var(--warning-muted); color: var(--warning); }
.badge-danger  { background: var(--danger-muted);  color: var(--danger);  }
.badge-gold    { background: var(--gold-muted);     color: var(--gold-dark); }

.nav-badge {
  background: var(--danger);
  color: #fff;
  font-size: 0.5625rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: var(--r-full);
  min-width: 16px;
  text-align: center;
  margin-left: auto;
}

/* ═══════════════════════════════════════
   ALERTES
═══════════════════════════════════════ */
.alert-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }

.alert-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px; border-radius: var(--r-md);
  font-size: 0.8125rem;
}
.alert-item.danger  { background: var(--danger-muted);  border: 1px solid rgba(181,58,42,0.15); }
.alert-item.warning { background: var(--warning-muted); border: 1px solid rgba(184,112,12,0.15); }
.alert-item.info    { background: var(--info-muted);    border: 1px solid rgba(31,110,168,0.15); }
.alert-item svg { flex-shrink: 0; width: 14px; height: 14px; margin-top: 1px; }
.alert-item p   { color: var(--text-soft); line-height: 1.5; }
.alert-item strong { color: var(--text); font-weight: 600; }

/* ═══════════════════════════════════════
   PROGRESS
═══════════════════════════════════════ */
.progress { width: 100%; height: 5px; background: var(--bg-input); border-radius: var(--r-full); overflow: hidden; }
.progress-bar { height: 100%; border-radius: var(--r-full); background: var(--gold); transition: width var(--ease-slow); }
.progress-bar.green { background: var(--success); }

/* ═══════════════════════════════════════
   TOAST
═══════════════════════════════════════ */
.toast-wrap {
  position: fixed;
  top: calc(var(--header-h) + 8px);
  left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 16px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: var(--r-lg);
  font-size: 0.875rem; font-weight: 500;
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
  pointer-events: all;
  animation: toast-in 0.25s var(--ease);
}
@keyframes toast-in { from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)} }
.toast.success { border: 1px solid rgba(46,125,80,0.3); }
.toast.error   { border: 1px solid rgba(181,58,42,0.3); }
.toast.warning { border: 1px solid rgba(184,112,12,0.3); }
.toast-icon { flex-shrink: 0; }
.toast-msg  { flex: 1; color: var(--text); }

/* ═══════════════════════════════════════
   ÉTAT VIDE
═══════════════════════════════════════ */
.empty-state {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 48px 24px; text-align: center; gap: 10px;
}
.empty-state svg { width: 40px; height: 40px; color: var(--text-disabled); }
.empty-state h3  { font-size: 1rem; font-weight: 600; color: var(--text-soft); }
.empty-state p   { font-size: 0.875rem; color: var(--text-muted); max-width: 220px; }

/* ═══════════════════════════════════════
   UPLOAD
═══════════════════════════════════════ */
.upload-zone {
  border: 1.5px dashed var(--border);
  border-radius: var(--r-lg);
  padding: 24px 16px;
  text-align: center;
  position: relative;
  cursor: pointer;
}
.upload-zone input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.upload-zone p { font-size: 0.875rem; color: var(--text-muted); }
.upload-zone span { color: var(--gold-dark); font-weight: 500; }

/* ═══════════════════════════════════════
   LOADER
═══════════════════════════════════════ */
.loader {
  width: 24px; height: 24px;
  border: 2px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ═══════════════════════════════════════
   PAGE
═══════════════════════════════════════ */
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.page-title    { font-family: var(--serif); font-size: 1.625rem; font-weight: 400; color: var(--text); line-height: 1.2; }
.page-subtitle { font-size: 0.8125rem; color: var(--text-muted); margin-top: 4px; }

/* ═══════════════════════════════════════
   PWA BANNER
═══════════════════════════════════════ */
#pwa-banner {
  position: fixed;
  bottom: calc(var(--bottomnav-h) + 12px);
  left: 0; right: 0;
  max-width: calc(430px - 24px);
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 16px;
  z-index: 400;
  box-shadow: var(--shadow-lg);
}

/* ═══════════════════════════════════════
   UTILITAIRES
═══════════════════════════════════════ */
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.mt-2  { margin-top: 8px; }
.mt-4  { margin-top: 16px; }
.mb-4  { margin-bottom: 16px; }
.text-gold    { color: var(--gold-dark); }
.text-muted   { color: var(--text-muted); }
.text-soft    { color: var(--text-soft); }
.text-danger  { color: var(--danger); }
.text-success { color: var(--success); }
.text-sm      { font-size: 0.875rem; }
.text-xs      { font-size: 0.75rem; }
.font-semi    { font-weight: 600; }