/* ==========================================================================
   Lumistreet — habillage de l'écran du portail
   « La rue, la nuit » : bleu nuit, jaune-vert haute visibilité, police Overpass
   (dessinée d'après la signalisation routière), ligne discontinue de chaussée.
   Tout est limité à body.lst-theme : sans cette classe, rien ne change.
   Fichier produit par portal/build_portal_theme.py — ne pas modifier sur le serveur.
   ========================================================================== */

@font-face {
  font-family: 'Overpass';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('../fonts/overpass-latin.woff2') format('woff2');
  /* U+00B7 (point médian) exclu : son approche est défectueuse dans Overpass. */
  unicode-range: U+0000-00B6, U+00B8-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212;
}

body.lst-theme {
  --bg:           #07132a;
  --bg-card:      #0e2038;
  --bg-sidebar:   #0a1a2e;
  --bg-input:     #12284a;
  --border:       rgba(170, 200, 255, 0.10);
  --border-hover: rgba(170, 200, 255, 0.22);

  --text:         #e8eef8;
  --text-muted:   #a3b3cc;
  --text-dim:     #7488a6;

  --gold:         #c8f135;
  --gold-light:   #d9f56b;
  --gold-dark:    #a6cf1f;
  --navy:         #14305a;
  --blue:         #4f8ef0;

  --lst-night:    #0a1b30;
  --lst-hivis:    #c8f135;
  --lst-plate:    #1450b4;
  font-family: 'Overpass', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}
body.lst-theme input,
body.lst-theme button,
body.lst-theme select,
body.lst-theme textarea { font-family: inherit; }
body.lst-theme ::selection { background: rgba(200, 241, 53, 0.35); color: #fff; }

/* ── Marque : en-tête ───────────────────────────────────────────────────── */
body.lst-theme .app-header {
  background: #091830;
  border-bottom: 0;
  box-shadow: inset 0 -2px 0 #12294a;
  position: relative;
}
/* ligne discontinue de chaussée sous l'en-tête */
body.lst-theme .app-header::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background-image: repeating-linear-gradient(90deg, var(--lst-hivis) 0 26px, transparent 26px 44px);
  opacity: 0.85;
  pointer-events: none;
}
body.lst-theme .header-brand-mark svg { display: none; }
body.lst-theme .header-brand-mark {
  width: 28px; height: 28px;
  background: center / 28px 28px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none'%3E%3Cpolygon points='41,15 56,15 63,55 27,55' fill='%23C8F135' opacity='0.22'/%3E%3Cline x1='10' y1='57' x2='30' y2='57' stroke='%23fff' stroke-width='5' stroke-linecap='round'/%3E%3Cline x1='20' y1='57' x2='20' y2='23' stroke='%23fff' stroke-width='5' stroke-linecap='round'/%3E%3Cpath d='M20 23 C20 12 27 9 40 9' stroke='%23fff' stroke-width='5' stroke-linecap='round'/%3E%3Crect x='38' y='5' width='20' height='9' rx='4.5' fill='%23C8F135'/%3E%3C/svg%3E");
}
body.lst-theme .header-brand-name,
body.lst-theme .login-logo {
  font-family: 'Overpass', 'Arial Narrow', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}
body.lst-theme .header-brand-name { letter-spacing: 1.6px; font-size: 15px; }
body.lst-theme .header-brand-tag {
  background: var(--lst-plate); color: #fff;
  padding: 3px 7px 2px; border-radius: 4px; letter-spacing: 1px;
}
/* raccourci RH : sans objet pour Lumistreet (le serveur le refuse déjà) */
body.lst-theme #rs-personal-shortcut { display: none !important; }
body.lst-theme .user-avatar { background: var(--lst-hivis); color: #0a1b30; font-weight: 800; }

/* ── Boutons d'action : texte nuit sur jaune-vert ───────────────────────── */
body.lst-theme .btn-primary { color: #0a1b30; font-weight: 700; }
body.lst-theme .btn-primary:hover { box-shadow: 0 6px 20px rgba(200, 241, 53, 0.25); }

/* ── Page de connexion ──────────────────────────────────────────────────── */
body.lst-theme .login-wrapper {
  position: relative; overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 28px 28px,
    radial-gradient(900px 620px at 50% -8%, rgba(200, 241, 53, 0.16), transparent 62%),
    linear-gradient(180deg, #0a1b30 0%, #050e1d 100%);
}
/* la chaussée, en bas de l'écran */
body.lst-theme .login-wrapper::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 56px; height: 3px;
  background-image: repeating-linear-gradient(90deg, var(--lst-hivis) 0 38px, transparent 38px 66px);
  opacity: 0.7;
}
body.lst-theme .login-card {
  position: relative; z-index: 1;
  background: rgba(14, 32, 56, 0.92);
  border: 1px solid rgba(170, 200, 255, 0.16);
  border-top: 3px solid var(--lst-hivis);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
body.lst-theme .login-logo { letter-spacing: 3px; font-size: 30px; }
body.lst-theme .login-sub { color: var(--text-muted); letter-spacing: 1.6px; }
body.lst-theme .login-password-toggle { color: var(--lst-hivis); }
body.lst-theme .login-password-toggle:hover { background: rgba(200, 241, 53, 0.10); }

/* ── Accueil Lumistreet (Modules.dashboard.showLumistreet) ──────────────── */
body.lst-theme #panel-dashboard .panel-header { display: none; }
body.lst-theme #kpi-grid.lst-home { display: block; margin-bottom: 0; }

.lst-hero {
  position: relative; overflow: hidden;
  border-radius: 18px;
  padding: 34px 36px 46px 150px;
  background: linear-gradient(180deg, #0f2747 0%, #0a1b30 100%);
  border: 1px solid rgba(170, 200, 255, 0.12);
  min-height: 190px;
}
/* trame de plan de ville */
.lst-hero::before {
  content: '';
  position: absolute; right: 0; top: 0; width: 48%; height: 100%;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 18px 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);
  mask-image: linear-gradient(90deg, transparent, #000 70%);
  pointer-events: none;
}
/* faisceau de la lanterne */
.lst-hero-beam {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(200, 241, 53, 0.30) 0%, rgba(200, 241, 53, 0.09) 40%, rgba(200, 241, 53, 0) 78%);
  /* part du bout de la lanterne (mât ancré en bas à gauche) et s'ouvre vers la droite */
  clip-path: polygon(118px calc(100% - 148px), 126px calc(100% - 130px), 100% 135%, 100% -45%);
  pointer-events: none;
}
.lst-hero-lamp { position: absolute; left: 28px; bottom: 30px; width: 104px; height: 124px; }
.lst-hero-road {
  position: absolute; left: 0; right: 0; bottom: 0; height: 30px;
  background-color: #12294a;
  background-image: repeating-linear-gradient(90deg, var(--lst-hivis, #c8f135) 0 30px, transparent 30px 52px);
  background-size: 100% 3px; background-position: 0 50%; background-repeat: no-repeat;
}
.lst-hero-body { position: relative; z-index: 1; }
.lst-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--lst-hivis, #c8f135);
}
.lst-hero-title {
  margin: 8px 0 4px; font-size: 34px; line-height: 1.1; font-weight: 800; color: #fff;
  letter-spacing: -0.4px; text-wrap: balance;
}
.lst-hero-date { color: #a3b3cc; font-size: 14px; }
.lst-hero-date::first-letter { text-transform: uppercase; }
.lst-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.lst-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 10px; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 700;
  color: #e8eef8; background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(170, 200, 255, 0.22);
  transition: transform 0.15s, background 0.15s, border-color 0.15s;
}
.lst-cta:hover { background: rgba(255, 255, 255, 0.11); border-color: rgba(170, 200, 255, 0.4); transform: translateY(-1px); }
.lst-cta:focus-visible { outline: 2px solid #c8f135; outline-offset: 2px; }
.lst-cta svg { width: 16px; height: 16px; }
.lst-cta-main { background: #c8f135; border-color: #c8f135; color: #0a1b30; }
.lst-cta-main:hover { background: #d9f56b; border-color: #d9f56b; }

.lst-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px; margin: 16px 0 26px;
}
.lst-stat {
  background: #0e2038; border: 1px solid rgba(170, 200, 255, 0.10);
  border-radius: 14px; padding: 16px 18px;
}
.lst-stat-label { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #7488a6; }
.lst-stat-value { margin-top: 6px; font-size: 28px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.1; }
.lst-stat-value small { font-size: 13px; font-weight: 600; color: #a3b3cc; margin-left: 4px; }
.lst-stat-wide { grid-column: span 2; }
.lst-stat-wide .lst-stat-value { color: #c8f135; }

.lst-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.lst-section-title { font-size: 16px; font-weight: 800; color: #fff; }
.lst-link { background: none; border: 0; padding: 4px 0; cursor: pointer; font: inherit; font-size: 13px; font-weight: 700; color: #c8f135; }
.lst-link:hover { text-decoration: underline; }

.lst-table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid rgba(170, 200, 255, 0.10); background: #0e2038; }
.lst-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.lst-table th {
  text-align: left; padding: 11px 16px; font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: #7488a6; border-bottom: 1px solid rgba(170, 200, 255, 0.10);
}
.lst-table td { padding: 12px 16px; font-size: 13.5px; border-bottom: 1px solid rgba(170, 200, 255, 0.07); color: #e8eef8; }
.lst-table tr:last-child td { border-bottom: 0; }
.lst-table tbody tr { cursor: pointer; transition: background 0.12s; }
.lst-table tbody tr:hover { background: rgba(200, 241, 53, 0.06); }
.lst-table tbody tr:focus-visible { outline: 2px solid #c8f135; outline-offset: -2px; }
.lst-table .lst-num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
/* numéro de devis en plaque de rue */
.lst-plate {
  display: inline-block; padding: 3px 9px 2px; border-radius: 5px;
  background: #1450b4; color: #fff; font-weight: 700; font-size: 12.5px; letter-spacing: 0.4px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); white-space: nowrap;
}
.lst-empty {
  border: 1px dashed rgba(170, 200, 255, 0.22); border-radius: 14px;
  padding: 34px 20px; text-align: center; color: #a3b3cc;
}
.lst-empty strong { display: block; color: #fff; font-size: 16px; margin-bottom: 6px; }
.lst-empty .lst-cta { margin-top: 16px; }
.lst-note { margin-top: 10px; font-size: 12.5px; color: #f0a8a8; }

@media (max-width: 720px) {
  /* l'en-tête dépassait la largeur du téléphone et élargissait toute la page */
  body.lst-theme .header-center,
  body.lst-theme .header-user-meta,
  body.lst-theme #btn-magic { display: none; }
  body.lst-theme .app-header { min-width: 0; }
  body.lst-theme .header-actions { margin-left: auto; }
  .lst-actions .lst-cta { flex: 1 1 auto; justify-content: center; }
  .lst-hero { padding: 24px 20px 46px; min-height: 0; }
  .lst-hero-lamp { display: none; }
  .lst-hero-beam { display: none; }
  .lst-hero-title { font-size: 26px; }
  .lst-stat-wide { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .lst-cta, .lst-table tbody tr { transition: none; }
}


/* ── surcharges calculées : assets/css/style.css ── */
body.lst-theme { --bg: #081322; --bg-card: #0e213a; --bg-sidebar: #0a182c; --bg-input: #102548; --gold: #c8f135; --gold-light: #d9f56b; --gold-dark: #a6cf1f; }
body.lst-theme .login-wrapper { background: linear-gradient(135deg, #081322 0%, #0e213a 100%); }
body.lst-theme .app-header { background: #0a182c; }
body.lst-theme .header-path-input::selection { background: rgba(200, 241, 53, 0.25); }
body.lst-theme .header-icon-btn-magic:hover { background: rgba(200, 241, 53, 0.1); border-color: rgba(200, 241, 53, 0.3); }
body.lst-theme .inbox-drawer { background: #0a182c; }
body.lst-theme .user-avatar { background: rgba(200, 241, 53, 0.14); border: 1px solid rgba(200, 241, 53, 0.28); }
body.lst-theme .app-sidebar { background: #091527; }
body.lst-theme .sidebar-rail-btn:hover { background: rgba(200, 241, 53, 0.1); border-color: rgba(200, 241, 53, 0.28); }
body.lst-theme .nav-item[data-panel="devis"].active { background: rgba(200, 241, 53, 0.12); border-color: rgba(200, 241, 53, 0.32); color: #d9f56b; }
body.lst-theme .nav-item[data-panel="devis"].active .nav-ico { background: rgba(200, 241, 53, 0.15); border-color: rgba(200, 241, 53, 0.3); }
body.lst-theme .nav-item[data-panel="devis-edit"].active { background: rgba(217, 245, 107, 0.12); border-color: rgba(217, 245, 107, 0.32); color: #e2f78c; }
body.lst-theme .nav-item[data-panel="devis-edit"].active .nav-ico { background: rgba(217, 245, 107, 0.15); border-color: rgba(217, 245, 107, 0.3); }
body.lst-theme .app-layout.nav-rail .nav-item.active { box-shadow: inset 0 0 0 1px rgba(200, 241, 53, 0.35); }
body.lst-theme input:focus, body.lst-theme select:focus, body.lst-theme textarea:focus { box-shadow: 0 0 0 3px rgba(200, 241, 53,0.1); }
body.lst-theme .drop-zone { border: 2px dashed rgba(200, 241, 53,0.25); background: rgba(200, 241, 53,0.03); }
body.lst-theme .drop-zone:hover, body.lst-theme .drop-zone.drag-over { background: rgba(200, 241, 53,0.08); box-shadow: 0 0 20px rgba(200, 241, 53,0.1); }
body.lst-theme .ai-status.parsing { background: rgba(200, 241, 53,0.1); }
body.lst-theme .btn-primary { color: #0e1d45; }
body.lst-theme .btn-primary:hover { box-shadow: 0 6px 20px rgba(200, 241, 53,0.3); }
body.lst-theme .badge-gold { background: rgba(200, 241, 53,0.15); }
body.lst-theme .devis-line .line-number { background: rgba(200, 241, 53,0.1); }
body.lst-theme .devis-line-drag-over { box-shadow: 0 0 0 2px rgba(200, 241, 53,0.3); background: rgba(200, 241, 53,0.04) !important; }
body.lst-theme .btn-move:hover { background: rgba(200, 241, 53,0.08); }
body.lst-theme .input-custom-num { background: rgba(200, 241, 53,0.1); border: 1px solid rgba(200, 241, 53,0.25); }
body.lst-theme .input-custom-num:focus { background: rgba(200, 241, 53,0.15); }
body.lst-theme .ft-link-inline { background: rgba(200, 241, 53,0.08); border: 1px solid rgba(200, 241, 53,0.2); }
body.lst-theme .ft-link-inline:hover { background: rgba(200, 241, 53,0.15); }
body.lst-theme .loading-overlay { background: rgba(8, 19, 34,0.8); }
@media (max-width: 768px) {
body.lst-theme .app-sidebar { background: #091527; }
}
body.lst-theme .app-confirm-dialog { background: #0b1a33; }
body.lst-theme .app-confirm-ok { background: #c8f135; }

/* ── surcharges calculées : assets/css/devis-liste.css ── */
body.lst-theme #panel-devis-liste { --dvl-orange: #c8f135; --dvl-orange-light: #d9f56b; --dvl-orange-dim: rgba(200, 241, 53, 0.12); --dvl-orange-glow: rgba(200, 241, 53, 0.25); --dvl-surface: #0b192d; --dvl-surface-2: #0e213c; --dvl-surface-3: #122b4c; --dvl-border-accent: rgba(200, 241, 53, 0.2); }
body.lst-theme .dvl-btn-new { color: #081322; }
body.lst-theme .dvl-scoreboard { background: linear-gradient(135deg, rgba(200, 241, 53, 0.07) 0%, transparent 45%), var(--dvl-surface); }
body.lst-theme .dvl-sb-toggle { background: rgba(200, 241, 53, 0.08); border: 1px solid rgba(200, 241, 53, 0.28); }
body.lst-theme .dvl-sb-toggle:hover { border-color: rgba(200, 241, 53, 0.5); background: rgba(200, 241, 53, 0.14); }
body.lst-theme .dvl-sb-card:hover { border-color: rgba(200, 241, 53, 0.35); }
body.lst-theme .dvl-sb-rank-1 { border-color: rgba(200, 241, 53, 0.45); background: linear-gradient(135deg, rgba(200, 241, 53, 0.14), rgba(0, 0, 0, 0.22)); }
body.lst-theme .dvl-sb-avatar { color: #081322; box-shadow: 0 2px 8px rgba(200, 241, 53, 0.25); }
body.lst-theme .dvl-role-admin { background: rgba(200, 241, 53, 0.15); color: #e2f78c; border: 1px solid rgba(200, 241, 53, 0.35); }
body.lst-theme .dvl-author-avatar { color: #081322; background: linear-gradient(135deg, #c8f135, #d9f56b); }
body.lst-theme .dvl-compare-bar { background: linear-gradient(165deg, rgba(6, 182, 212, 0.1) 0%, #0a1b2d 45%, #091827 100%); }
body.lst-theme .dvl-cmp-crown { color: #d9f56b; }
body.lst-theme .dvl-filters { background: linear-gradient(180deg, rgba(200, 241, 53, 0.06) 0%, transparent 40%), var(--dvl-surface); }
body.lst-theme .dvl-btn-reset:hover { border-color: rgba(200, 241, 53, 0.45); background: rgba(200, 241, 53, 0.08); }
body.lst-theme .dvl-btn-collapse { background: rgba(200, 241, 53, 0.08); border: 1px solid rgba(200, 241, 53, 0.28); }
body.lst-theme .dvl-btn-collapse:hover { border-color: rgba(200, 241, 53, 0.5); background: rgba(200, 241, 53, 0.14); }
body.lst-theme .dvl-filter-card:hover { border-color: rgba(200, 241, 53, 0.28); }
body.lst-theme .dvl-pill:has(input:checked) .dvl-pill-count { background: rgba(200, 241, 53, 0.25); }
body.lst-theme .dvl-date-field { background: linear-gradient(160deg, rgba(200, 241, 53, 0.08) 0%, rgba(0, 0, 0, 0.25) 100%); }
body.lst-theme .dvl-table tbody tr:hover { background: rgba(200, 241, 53, 0.04); }
body.lst-theme .dvl-flt-icon { background: rgba(200, 241, 53, 0.1); border: 1px solid rgba(200, 241, 53, 0.28); }
body.lst-theme .dvl-active-filters.has-filters { background: rgba(200, 241, 53, 0.1); border-color: rgba(200, 241, 53, 0.35); }
body.lst-theme .dvl-btn-collapse:hover { border-color: rgba(200, 241, 53, 0.4); background: rgba(200, 241, 53, 0.08); }
body.lst-theme .dvl-search-box input:focus { border-color: rgba(200, 241, 53, 0.55); box-shadow: 0 0 0 3px rgba(200, 241, 53, 0.1); }
body.lst-theme .dvl-dd-trigger:hover { border-color: rgba(200, 241, 53, 0.35); }
body.lst-theme .dvl-dd-panel { background: #060e1a; }
body.lst-theme .dvl-date-preset.active { background: rgba(200, 241, 53, 0.12); border-color: rgba(200, 241, 53, 0.3); }
body.lst-theme .dvl-date-mini:hover, body.lst-theme .dvl-date-mini:focus-within { border-color: rgba(200, 241, 53, 0.45); }
body.lst-theme .dvl-sort-wrap:focus-within { border-color: rgba(200, 241, 53, 0.55); }
body.lst-theme .dvl-btn-reset:hover { border-color: rgba(200, 241, 53, 0.4); background: rgba(200, 241, 53, 0.08); }
body.lst-theme .dvl-flt-chip { background: rgba(200, 241, 53, 0.1); border: 1px solid rgba(200, 241, 53, 0.28); }
body.lst-theme .dvl-flt-chip button:hover { background: rgba(200, 241, 53, 0.25); }
body.lst-theme #panel-devis-liste .dvl-client-ico { color: var(--dvl-orange, #c8f135); }
body.lst-theme #panel-devis-liste .dvl-amount-chip.dvl-tier-high { background: rgba(166, 207, 31, 0.16) !important; border-color: rgba(217, 245, 107, 0.35) !important; color: #ecfab0 !important; }
body.lst-theme #panel-devis-liste .dvl-amount-chip.dvl-tier-high .dvl-tier-ico { background: rgba(217, 245, 107, 0.18); color: #d9f56b; }
body.lst-theme #panel-devis-liste .dvl-dd-panel, body.lst-theme #panel-bc-liste .dvl-dd-panel { background: #060e1a !important; }
body.lst-theme #panel-devis-liste .dvl-dd-panel, body.lst-theme #panel-bc-liste .dvl-dd-panel { background: #060e1a !important; }
body.lst-theme #panel-devis-liste #dvl-dd-sort-panel button.dvl-sort-option.is-active, body.lst-theme #panel-bc-liste #bc-dd-sort-panel button.dvl-sort-option.is-active, body.lst-theme #panel-bc-liste #bc-dd-sort-panel button.bc-sort-option.is-active { background: rgba(200, 241, 53, 0.12) !important; border-color: rgba(200, 241, 53, 0.3) !important; color: #d9f56b !important; }
body.lst-theme #panel-devis-liste #dvl-dd-sort-panel .dvl-dd-check, body.lst-theme #panel-bc-liste #bc-dd-sort-panel .dvl-dd-check { color: #c8f135 !important; }
body.lst-theme #panel-devis-liste .dvl-dd-panel-period .dvl-date-preset.active, body.lst-theme #panel-bc-liste .dvl-dd-panel-period .dvl-date-preset.active, body.lst-theme #panel-bc-liste .dvl-dd-panel-period .bc-date-preset.active { background: rgba(200, 241, 53, 0.12) !important; border-color: rgba(200, 241, 53, 0.3) !important; color: #d9f56b !important; }

/* ── surcharges calculées : assets/css/devis-edit.css ── */
body.lst-theme .dve-sync-pending { color: #c8f135; }
body.lst-theme .dve-add-product { background: rgba(200, 241, 53,0.05); border: 1px dashed rgba(200, 241, 53,0.3); }
body.lst-theme .dve-add-product input { border: 1px solid rgba(200, 241, 53,0.2); }
body.lst-theme .dve-product-result:hover { background: rgba(200, 241, 53,0.1); }
body.lst-theme .dve-line-code { background: rgba(200, 241, 53,0.1); }
body.lst-theme .dve-actions-bar { border: 1px solid rgba(200, 241, 53,0.15); }
body.lst-theme .btn.dve-dirty { background: linear-gradient(135deg, #c8f135, #a6cf1f); }
body.lst-theme #panel-devis-edit .dve-redirect-box { background: var(--dn-surface, #0b1b30); }

/* ── surcharges calculées : assets/css/devis-nouveau.css ── */
body.lst-theme #panel-devis { --dn-orange: #c8f135; --dn-orange-light: #d9f56b; --dn-orange-dim: rgba(200, 241, 53, 0.12); --dn-orange-glow: rgba(200, 241, 53, 0.22); --dn-surface: #0b192d; --dn-surface-2: #0e213c; --dn-surface-3: #122b4c; --dn-border-accent: rgba(200, 241, 53, 0.2); }
body.lst-theme .dn-section-ico.is-pay { color: #e2f78c; background: rgba(200, 241, 53, 0.1); border-color: rgba(200, 241, 53, 0.22); }
body.lst-theme .dn-section-pay { background: radial-gradient(70% 55% at 100% 0%, rgba(200, 241, 53, 0.07), transparent 55%), var(--dn-surface); }
body.lst-theme .dn-pay-editor { border: 1px solid rgba(200, 241, 53, 0.22); background: #071322; box-shadow: 0 0 0 1px rgba(200, 241, 53, 0.04), 0 8px 22px rgba(0, 0, 0, 0.25); }
body.lst-theme .dn-pay-editor-bar { background: linear-gradient(90deg, rgba(200, 241, 53, 0.12), rgba(12, 31, 51, 0.95) 42%); border-bottom: 1px solid rgba(200, 241, 53, 0.15); }
body.lst-theme .dn-pay-editor-badge { color: #e2f78c; background: rgba(200, 241, 53, 0.16); border: 1px solid rgba(200, 241, 53, 0.35); }
body.lst-theme .dn-pay-bold-btn { border: 1px solid rgba(200, 241, 53, 0.35); background: rgba(200, 241, 53, 0.14); color: #e2f78c; }
body.lst-theme .dn-pay-bold-btn:hover { background: rgba(200, 241, 53, 0.24); border-color: rgba(200, 241, 53, 0.55); }
body.lst-theme .dn-pay-preview-wrap { border-top: 1px solid rgba(200, 241, 53, 0.15); background: #05101e; }
body.lst-theme .dn-pay-preview strong { color: #d9f56b; }
body.lst-theme #panel-devis .dn-pay-editor #devis-conditions-paiement { background: #071322 !important; }
body.lst-theme #panel-devis .dn-pay-editor #devis-conditions-paiement:focus { background: #071322 !important; }
body.lst-theme #panel-devis input:focus, body.lst-theme #panel-devis textarea:focus, body.lst-theme #panel-devis select:focus, body.lst-theme #panel-devis .search-box input:focus { background: #0f2448 !important; }
body.lst-theme .dn-codeblock { background: #071322; }
body.lst-theme .dn-codeblock-bar { background: #0c1f33; }
body.lst-theme .dn-tok-marque { color: #d9f56b; }
body.lst-theme #devis-paste { background: #0a182c !important; }
body.lst-theme #panel-devis .dn-btn-line:hover { background: rgba(200, 241, 53, 0.2); }
body.lst-theme #panel-devis .devis-line .line-number, body.lst-theme #panel-devis .input-custom-num { border: 1px solid rgba(200, 241, 53, 0.28); }
body.lst-theme #panel-devis .btn-cycle-mode.mode-facturee { background: rgba(200, 241, 53, 0.12) !important; border: 1px solid rgba(200, 241, 53, 0.4) !important; color: #d9f56b !important; }
body.lst-theme #panel-devis .btn-cycle-mode.mode-facturee:hover { background: rgba(200, 241, 53, 0.2) !important; }
body.lst-theme #panel-devis .btn-move:hover { border-color: rgba(200, 241, 53, 0.35); }
body.lst-theme #panel-devis .dn-field-prix .dn-field-ico { color: #e2f78c; background: rgba(200, 241, 53, 0.14); border-color: rgba(200, 241, 53, 0.3); }
body.lst-theme #panel-devis .dn-tog-remise.is-on { border-color: rgba(200, 241, 53, 0.4); background: rgba(200, 241, 53, 0.1); box-shadow: 0 0 0 1px rgba(200, 241, 53, 0.08); }
body.lst-theme #panel-devis .dn-tog-remise.is-on .dn-tog-ico { color: #e2f78c; background: rgba(200, 241, 53, 0.16); border-color: rgba(200, 241, 53, 0.3); }
body.lst-theme #panel-devis .dn-tog-remise.is-on .dn-tog-switch { background: #c8f135; border-color: #a6cf1f; }
body.lst-theme #panel-devis .dn-opt-badge { color: #e2f78c; background: rgba(200, 241, 53, 0.16); border: 1px solid rgba(200, 241, 53, 0.3); }
body.lst-theme #panel-devis .ft-link-inline { border: 1px solid rgba(200, 241, 53, 0.25); }
body.lst-theme #panel-devis .ft-link-inline:hover { background: rgba(200, 241, 53, 0.18); }
body.lst-theme #panel-devis .devis-line-drag-over { box-shadow: 0 0 0 2px rgba(200, 241, 53, 0.25); background: rgba(200, 241, 53, 0.05) !important; }
body.lst-theme #panel-devis .dn-prod-hit-thumb { background: #081426; }
body.lst-theme #panel-devis .dn-prod-tag.is-sur-commande { color: #d9f56b; background: rgba(200, 241, 53, 0.14); border-color: rgba(200, 241, 53, 0.35); }
body.lst-theme #panel-devis .dn-prod-selected-photo { background: #06101e; }
body.lst-theme .dn-totals-card { background: radial-gradient(90% 70% at 100% -10%, rgba(52, 211, 153, 0.12), transparent 55%), radial-gradient(70% 50% at 0% 100%, rgba(99, 102, 241, 0.07), transparent 50%), linear-gradient(165deg, #0c1c33 0%, #0f2342 100%); }
body.lst-theme #panel-devis .dn-remise-chip { color: #e2f78c; background: rgba(200, 241, 53, 0.16); border: 1px solid rgba(200, 241, 53, 0.35); }
body.lst-theme #panel-devis .dn-field-total input.has-remise { color: #e2f78c !important; }
body.lst-theme .dn-page-loading { background: rgba(4, 11, 24, 0.55); }
body.lst-theme .dn-page-loading-card { background: #0b1c36; }

/* ── surcharges calculées : assets/css/bc-commandes.css ── */
body.lst-theme #panel-bc-liste, body.lst-theme #panel-bc-ops { --dvl-orange: #c8f135; --dvl-orange-light: #d9f56b; --dvl-orange-dim: rgba(200, 241, 53, 0.12); --dvl-orange-glow: rgba(200, 241, 53, 0.25); --dvl-surface: #0b192d; --dvl-surface-2: #0e213c; --dvl-surface-3: #122b4c; --dvl-border-accent: rgba(200, 241, 53, 0.2); --bc-amber: #d9f56b; }
body.lst-theme #panel-bc-liste .dvl-kpi-prod .dvl-kpi-icon { color: #e2f78c; background: rgba(217, 245, 107, 0.12); border-color: rgba(217, 245, 107, 0.28); }
body.lst-theme #panel-bc-liste .dvl-kpi-prod .dvl-kpi-badge { color: #e2f78c; background: rgba(217, 245, 107, 0.12); border-color: rgba(217, 245, 107, 0.3); }
body.lst-theme #panel-bc-liste .dvl-kpi-prod .dvl-kpi-val { color: #e2f78c; }
body.lst-theme #panel-bc-liste .bc-kpi.is-active.dvl-kpi-prod { border-color: rgba(217, 245, 107, 0.55); box-shadow: inset 0 0 0 1px rgba(217, 245, 107, 0.35), 0 0 0 1px rgba(217, 245, 107, 0.15); }
body.lst-theme #panel-bc-liste .bc-st-prod { background: rgba(217, 245, 107, 0.1); border-color: rgba(217, 245, 107, 0.2); color: #e2f78c; }
body.lst-theme #panel-bc-liste .bc-st-prod::before { background: #d9f56b; }
body.lst-theme .bc-btn-new { box-shadow: 0 4px 14px rgba(200, 241, 53, 0.35); }
body.lst-theme .bc-btn-primary { background: linear-gradient(135deg, #c8f135, #a6cf1f); box-shadow: 0 4px 14px rgba(200, 241, 53, 0.35); }
body.lst-theme .bc-kpi-prod:hover { border-color: rgba(217, 245, 107, 0.4); }
body.lst-theme .bc-kpi-prod.is-active { border-color: rgba(217, 245, 107, 0.55); box-shadow: inset 0 0 0 1px rgba(217, 245, 107, 0.35), 0 0 0 1px rgba(217, 245, 107, 0.15); }
body.lst-theme .bc-kpi-prod .bc-kpi-icon { color: #d9f56b; background: rgba(217, 245, 107, 0.1); border-color: rgba(217, 245, 107, 0.22); }
body.lst-theme .bc-kpi-prod .bc-kpi-badge { color: #d9f56b; border-color: rgba(217, 245, 107, 0.28); }
body.lst-theme .bc-kpi-prod .bc-kpi-val { color: #d9f56b; }
body.lst-theme .bc-dot-prod { background: #d9f56b; }
body.lst-theme #panel-bc-liste #bc-dd-statut-btn.tone-prod, body.lst-theme #panel-bc-liste #bc-dd-statut.is-open #bc-dd-statut-btn.tone-prod { color: #d9f56b; border-color: rgba(217, 245, 107, 0.45); background: rgba(217, 245, 107, 0.14); }
body.lst-theme #panel-bc-liste .dvl-dd-option[data-statut="prod"]:has(input:checked) { background: rgba(217, 245, 107, 0.14); border-color: rgba(217, 245, 107, 0.45); color: #e2f78c; }
body.lst-theme #panel-bc-liste .dvl-dd-option[data-statut="prod"]:has(input:checked) .dvl-pill-count { background: rgba(217, 245, 107, 0.22); }
body.lst-theme #panel-bc-liste .dvl-dd-dot.bc-dot-prod, body.lst-theme #panel-bc-liste .dvl-pill-dot.bc-dot-prod { background: #d9f56b; }
body.lst-theme #panel-bc-liste .bc-sort-option.is-active { background: rgba(200, 241, 53, 0.1); border-color: rgba(200, 241, 53, 0.28); }
body.lst-theme .bc-table tbody tr.is-selected { background: rgba(200, 241, 53, 0.08); }
body.lst-theme .bc-status-prod { background: rgba(217, 245, 107, 0.12); border-color: rgba(217, 245, 107, 0.2); color: #d9f56b; }
body.lst-theme .bc-status-prod::before { background: #d9f56b; }
body.lst-theme .bc-badge-prod { background: rgba(217, 245, 107, 0.12); border-color: rgba(217, 245, 107, 0.2); color: #d9f56b; }
body.lst-theme .bc-btn-icon.bc-btn-recv:hover { border-color: rgba(200, 241, 53, 0.4); }
body.lst-theme .bc-tab.is-active { background: linear-gradient(135deg, rgba(200, 241, 53,0.2), rgba(166, 207, 31,0.12)); }
body.lst-theme #panel-bc-ops .drop-zone { border: 1.5px dashed rgba(200, 241, 53,0.35) !important; background: rgba(200, 241, 53,0.05) !important; }
body.lst-theme #panel-bc-ops .drop-zone:hover { background: rgba(200, 241, 53,0.09) !important; }
body.lst-theme #panel-bc-ops .btn-primary { background: linear-gradient(135deg, #c8f135, #a6cf1f) !important; box-shadow: 0 4px 14px rgba(200, 241, 53,0.3); }
body.lst-theme .nbc-meta-ico, body.lst-theme .nbc-ai-badge { background: rgba(200, 241, 53,0.12); color: #d9f56b; }
body.lst-theme .nbc-drop-ico { background: rgba(200, 241, 53,0.1); color: #d9f56b; }
body.lst-theme .nbc-ai-loading { background: rgba(6, 16, 27, 0.88); }
body.lst-theme .nbc-ai-orbit { border: 2px solid rgba(200, 241, 53,0.2); border-top-color: #c8f135; }
body.lst-theme .nbc-ai-loading-copy strong { color: #ecfab0; }
body.lst-theme .nbc-count { background: rgba(200, 241, 53,0.15); color: #d9f56b; }
body.lst-theme .nbc-btn-add { border: 1px dashed rgba(200, 241, 53,0.4); background: rgba(200, 241, 53,0.06); color: #d9f56b; }
body.lst-theme .nbc-btn-add:hover { background: rgba(200, 241, 53,0.12); }
body.lst-theme .nbc-card-photo { background: #060f18; }
body.lst-theme .nbc-card-code { color: #ecfab0; }
body.lst-theme .nbc-hit:hover { border-color: rgba(200, 241, 53,0.45); background: rgba(200, 241, 53,0.06); }
body.lst-theme .nbc-hit-body strong { color: #ecfab0; }
body.lst-theme .nbc-tog.is-on { border-color: rgba(200, 241, 53,0.45); background: rgba(200, 241, 53,0.08); }
body.lst-theme .nbc-tog.is-on .nbc-tog-switch { background: rgba(200, 241, 53,0.85); }
body.lst-theme .nbc-obs-editor { background: #071322; }
body.lst-theme .nbc-obs-badge { color: #d9f56b; background: rgba(200, 241, 53,0.12); }
body.lst-theme .nbc-obs-editor textarea { background: #071322 !important; }

/* ── surcharges calculées : assets/css/rh-employes.css ── */
body.lst-theme .rs, body.lst-theme .rs-dialog-wrap { --rs-soft:rgba(166, 207, 31,.10); }
body.lst-theme [data-theme="dark"] .rs, body.lst-theme [data-theme="dark"] .rs-dialog-wrap, body.lst-theme.dark .rs, body.lst-theme.dark .rs-dialog-wrap { --rs-bg:#091728; --rs-surface:#0e233e; --rs-accent:#d9f56b; }
body.lst-theme .rs-chart i { background:linear-gradient(0deg,#b45309,#c8f135); }
body.lst-theme .rs-dialog-wrap { background:rgba(4, 14, 30,.65); }
body.lst-theme .rs-statement-cards>button:hover, body.lst-theme .rs-statement-cards>button.active { border-color:var(--gold-light,#a6cf1f); }
body.lst-theme .rs-statement-icon { color:var(--gold-light,#a6cf1f); }
body.lst-theme .rs-dialog .rs-seniority-tiers strong { color:#a6cf1f; }
body.lst-theme .rs .rs-readiness-dot { background:#a6cf1f; }
body.lst-theme .rs-leave-summary { border-left:3px solid #a6cf1f; }
body.lst-theme .rs-rule-guidance { border-left:3px solid #a6cf1f; }
body.lst-theme .rs-ref-number { background:rgba(166, 207, 31,.12); color:var(--gold-light,#a6cf1f); }
body.lst-theme .rh-context, body.lst-theme .rs-dialog-wrap { --rs-scroll-thumb:color-mix(in srgb,var(--gold-light,#a6cf1f) 42%,transparent); --rs-scroll-hover:var(--gold-light,#a6cf1f); }
body.lst-theme [data-theme="dark"] .rh-context, body.lst-theme [data-theme="dark"] .rs-dialog-wrap, body.lst-theme.dark .rh-context, body.lst-theme.dark .rs-dialog-wrap { --rs-scroll-thumb:rgba(217, 245, 107,.38); --rs-scroll-hover:#d9f56b; }
body.lst-theme .rs-housing-state { border-left:3px solid var(--gold-light,#a6cf1f); }
body.lst-theme .rs-housing-saved { border-left:2px solid var(--rs-accent,#a6cf1f); }

/* ── surcharges calculées : styles en ligne de index.html ── */
body.lst-theme .client-result:hover { background: rgba(200, 241, 53,0.1); }
body.lst-theme .login-password-toggle { color: var(--accent, #a6cf1f); }
body.lst-theme .login-password-toggle:hover { background: rgba(166, 207, 31, 0.10); }
