/* tp-styles.css — Design system TakeoffPro v2 */

/* ===== Variables ===== */
:root {
  --c-primary:    #F97316;
  --c-primary-dk: #EA6C0A;
  --c-navy:       #1E293B;
  --c-navy-lt:    #334155;
  --c-sidebar-bg: #0F172A;
  --c-bg:         #F8FAFC;
  --c-bg-card:    #FFFFFF;
  --c-bg-hover:   #F1F5F9;
  --c-border:     #E2E8F0;
  --c-text:       #0F172A;
  --c-text-muted: #64748B;
  --c-success:    #22C55E;
  --c-warning:    #EAB308;
  --c-danger:     #EF4444;
  --c-badge-brouillon:         #94A3B8;
  --c-badge-en_cours:          #F97316;
  --c-badge-soumission_envoyee:#3B82F6;
  --c-badge-accepte:           #22C55E;
  --c-badge-termine:           #64748B;

  --radius:   8px;
  --radius-lg:12px;
  --shadow:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); background: var(--c-bg); color: var(--c-text); font-size: 14px; line-height: 1.5; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }

/* ===== Navigation globale ===== */
.tp-nav {
  background: var(--c-navy);
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 32px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0,0,0,.2);
}
.tp-nav__logo {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -.3px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tp-nav__logo span { color: var(--c-primary); }
.tp-nav__links { display: flex; gap: 4px; flex: 1; }
.tp-nav__link {
  color: #94A3B8;
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 500;
  transition: color .15s, background .15s;
}
.tp-nav__link:hover { color: #FFFFFF; background: rgba(255,255,255,.08); }
.tp-nav__link.active { color: #FFFFFF; background: rgba(255,255,255,.12); }
.tp-nav__right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.tp-nav__company { color: #94A3B8; font-size: 12px; text-align: right; }
.tp-nav__avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}

/* ===== Boutons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  border: none;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 500;
  transition: background .15s, opacity .15s;
}
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-dk); }
.btn-secondary { background: var(--c-border); color: var(--c-text); }
.btn-secondary:hover { background: #CBD5E1; }
.btn-danger { background: var(--c-danger); color: #fff; }
.btn-sm { padding: 5px 10px; font-size: 12px; }
.btn-icon { padding: 6px; border-radius: var(--radius); background: transparent; border: none; color: var(--c-text-muted); }
.btn-icon:hover { background: var(--c-border); color: var(--c-text); }

/* ===== Cards projet ===== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.project-card {
  background: var(--c-bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  cursor: pointer;
}
.project-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.project-card__cover {
  width: 100%; height: 140px;
  object-fit: cover;
  background: var(--c-navy);
  display: flex; align-items: center; justify-content: center;
  color: #475569; font-size: 40px;
}
.project-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.project-card__body { padding: 14px 16px; }
.project-card__numero { font-size: 11px; color: var(--c-text-muted); font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.project-card__nom { font-size: 15px; font-weight: 600; margin: 2px 0 6px; line-height: 1.3; }
.project-card__adresse { font-size: 12px; color: var(--c-text-muted); margin-bottom: 10px; }
.project-card__footer { display: flex; align-items: center; justify-content: space-between; }
.project-card__date { font-size: 11px; color: var(--c-text-muted); }

/* ===== Badges statut ===== */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
}
.badge--brouillon         { background: #F1F5F9; color: var(--c-badge-brouillon); }
.badge--en_cours          { background: #FFF7ED; color: var(--c-badge-en_cours); }
.badge--soumission_envoyee{ background: #EFF6FF; color: var(--c-badge-soumission_envoyee); }
.badge--accepte           { background: #F0FDF4; color: var(--c-badge-accepte); }
.badge--termine           { background: #F8FAFC; color: var(--c-badge-termine); }
.badge--en_vente          { background: #FFFBEB; color: #B45309; }
.badge--liste_punch       { background: #FAF5FF; color: #7E22CE; }

/* ===== Modal ===== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(15,23,42,.5);
  backdrop-filter: blur(2px);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.modal-overlay.hidden { display: none; }
.modal {
  background: var(--c-bg-card);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  width: 100%; max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
}
.modal__header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--c-border);
  display: flex; align-items: center; justify-content: space-between;
}
.modal__title { font-size: 17px; font-weight: 700; }
.modal__body { padding: 20px 24px; }
.modal__footer {
  padding: 16px 24px;
  border-top: 1px solid var(--c-border);
  display: flex; justify-content: flex-end; gap: 8px;
}

/* ===== Formulaires ===== */
.form-group { margin-bottom: 14px; }
.form-label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 5px; color: var(--c-navy-lt); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  font-size: 13.5px;
  font-family: inherit;
  background: var(--c-bg-card);
  color: var(--c-text);
  transition: border-color .15s;
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(249,115,22,.12);
}
.form-textarea { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ===== Stats cards ===== */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-bottom: 28px; }
.stat-card {
  background: var(--c-bg-card);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow);
}
.stat-card__label { font-size: 11.5px; color: var(--c-text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }
.stat-card__value { font-size: 26px; font-weight: 700; margin-top: 4px; color: var(--c-navy); }
.stat-card__sub { font-size: 11.5px; color: var(--c-text-muted); margin-top: 2px; }

/* ===== Section headers ===== */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.section-title { font-size: 17px; font-weight: 700; color: var(--c-navy); }

/* ===== Toast notifications ===== */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 300; display: flex; flex-direction: column; gap: 8px; }
.toast {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  animation: slideIn .2s ease;
  display: flex; align-items: center; gap: 8px;
}
.toast--success { background: #DCFCE7; color: #166534; border: 1px solid #BBF7D0; }
.toast--error   { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }
.toast--info    { background: #EFF6FF; color: #1E40AF; border: 1px solid #BFDBFE; }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ===== Stockage banner ===== */
.storage-banner {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: var(--radius);
  padding: 10px 16px;
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  color: #92400E;
}
.storage-banner button { margin-left: auto; }

/* ===== Empty state ===== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--c-text-muted);
}
.empty-state__icon { font-size: 48px; margin-bottom: 12px; }
.empty-state__title { font-size: 18px; font-weight: 700; color: var(--c-navy); margin-bottom: 6px; }
.empty-state__text { font-size: 14px; margin-bottom: 20px; }

/* ===== Dropdown menu ===== */
.dropdown { position: relative; }
.dropdown__menu {
  position: absolute; right: 0; top: calc(100% + 4px);
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 160px;
  z-index: 50;
  overflow: hidden;
}
.dropdown__menu.hidden { display: none; }
.dropdown__item {
  padding: 9px 14px;
  font-size: 13.5px;
  cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  color: var(--c-text);
}
.dropdown__item:hover { background: var(--c-bg); }
.dropdown__item--danger { color: var(--c-danger); }
.dropdown__sep { height: 1px; background: var(--c-border); }

/* ===== Utilitaires ===== */
.page-content { max-width: 1200px; margin: 0 auto; padding: 28px 24px; }
.text-muted { color: var(--c-text-muted); }
.text-sm { font-size: 12px; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 8px; }
.ml-auto { margin-left: auto; }
.mt-1 { margin-top: 4px; }
.hidden { display: none !important; }

/* ===================================================
   CATALOGUE — Phase 2
   =================================================== */

/* ----- Layout 3 colonnes ----- */
.cat-layout {
  display: grid;
  grid-template-columns: 240px 1fr 380px;
  height: calc(100vh - 56px);   /* 56px = hauteur nav */
  overflow: hidden;
}

.cat-col-left {
  background: var(--c-bg-card);
  border-right: 1px solid var(--c-border);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.cat-col-center {
  background: var(--c-bg);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.cat-col-right {
  background: var(--c-bg-card);
  border-left: 1px solid var(--c-border);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* ----- Entête colonnes ----- */
.cat-col-header {
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: inherit;
  z-index: 10;
}
.cat-col-header h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-navy);
  margin: 0;
}

/* ----- Navigation catégories (colonne gauche) ----- */
.cat-nav-source {
  padding: 10px 12px 6px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: .6px;
}

.cat-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  cursor: pointer;
  border-radius: 0;
  font-size: 13px;
  color: var(--c-text);
  transition: background .12s;
  border-left: 3px solid transparent;
}
.cat-nav-item:hover { background: var(--c-bg); }
.cat-nav-item.active {
  background: #FFF7ED;
  border-left-color: var(--c-primary);
  color: var(--c-primary);
  font-weight: 600;
}
.cat-nav-item__icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  overflow: hidden;
}
.cat-nav-item__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-nav-item__label { flex: 1; }
.cat-nav-item__count {
  font-size: 11px;
  color: var(--c-text-muted);
  background: var(--c-bg);
  padding: 1px 6px;
  border-radius: 10px;
}

/* Sous-catégories dans la nav gauche */
.cat-nav-sub {
  padding: 6px 14px 6px 52px;
  font-size: 12.5px;
  color: var(--c-text-muted);
  cursor: pointer;
  transition: color .12s, background .12s;
  border-left: 3px solid transparent;
}
.cat-nav-sub:hover { background: var(--c-bg); color: var(--c-text); }
.cat-nav-sub.active {
  color: var(--c-primary);
  font-weight: 600;
  background: #FFF7ED;
  border-left-color: var(--c-primary);
}

/* ----- Barre outils centre ----- */
.cat-toolbar {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--c-border);
  align-items: center;
  flex-wrap: wrap;
  background: var(--c-bg-card);
  position: sticky;
  top: 0;
  z-index: 9;
}
.cat-search {
  flex: 1;
  min-width: 160px;
  padding: 7px 12px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  font-size: 13px;
  font-family: var(--font);
  background: var(--c-bg);
  color: var(--c-text);
  outline: none;
  transition: border-color .15s;
}
.cat-search:focus { border-color: var(--c-primary); }

/* ----- Sous-catégories chips (colonne centre) ----- */
.cat-subcat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-bg-card);
}
.cat-chip {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  background: var(--c-bg);
  border: 1.5px solid var(--c-border);
  color: var(--c-text-muted);
  cursor: pointer;
  transition: all .12s;
}
.cat-chip:hover { border-color: var(--c-primary); color: var(--c-primary); }
.cat-chip.active {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

/* ----- Liste articles (colonne centre) ----- */
.cat-article-list {
  flex: 1;
  padding: 8px 0;
}

.cat-article-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid var(--c-border);
  transition: background .1s;
}
.cat-article-row:hover { background: var(--c-bg); }
.cat-article-row.active { background: #FFF7ED; }

.cat-article-thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  overflow: hidden;
}
.cat-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-article-info { flex: 1; min-width: 0; }
.cat-article-nom {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cat-article-sku { font-size: 11px; color: var(--c-text-muted); margin-top: 1px; }

.cat-article-prix {
  text-align: right;
  flex-shrink: 0;
}
.cat-article-prix__val {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-navy);
}
.cat-article-prix__unit { font-size: 11px; color: var(--c-text-muted); }

/* ----- Badges source ----- */
.source-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 100px;
  font-size: 10.5px;
  font-weight: 600;
}
.source-badge--user        { background: #FFF7ED; color: #C2410C; }
.source-badge--takeoffpro  { background: #EFF6FF; color: #1D4ED8; }
.source-badge--rona        { background: #F0FDF4; color: #15803D; }
.source-badge--homedepot   { background: #FFF7ED; color: #C2410C; }

/* ----- Panneau droit : détail article ----- */
.cat-detail {
  flex: 1;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.cat-detail__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--c-text-muted);
  font-size: 13px;
  gap: 8px;
  text-align: center;
  padding: 24px;
}
.cat-detail__empty-icon { font-size: 40px; }

.cat-detail__photo {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  cursor: pointer;
  transition: opacity .15s;
  overflow: hidden;
  flex-shrink: 0;
}
.cat-detail__photo:hover { opacity: .85; }
.cat-detail__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cat-detail__body { padding: 16px; flex: 1; }
.cat-detail__nom { font-size: 16px; font-weight: 700; color: var(--c-navy); margin-bottom: 4px; }
.cat-detail__sku { font-size: 12px; color: var(--c-text-muted); margin-bottom: 10px; }
.cat-detail__prix-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
}
.cat-detail__prix { font-size: 22px; font-weight: 700; color: var(--c-primary); }
.cat-detail__unite { font-size: 13px; color: var(--c-text-muted); }
.cat-detail__modified {
  font-size: 11px;
  color: var(--c-text-muted);
  background: var(--c-bg);
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 10px;
}
.cat-detail__actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
}

/* ----- Panneau droit : éditeur assemblage ----- */
.cat-asm-editor {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.cat-asm-editor__header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.cat-asm-editor__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-navy);
  flex: 1;
}
.cat-asm-editor__body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px;
}
.cat-asm-editor__footer {
  padding: 12px 16px;
  border-top: 1px solid var(--c-border);
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

/* Lignes composants assemblage */
.comp-list { display: flex; flex-direction: column; gap: 0; }

.comp-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--c-border);
}
.comp-row:last-child { border-bottom: none; }

.comp-thumb {
  width: 36px;
  height: 36px;
  border-radius: 5px;
  background: var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  overflow: hidden;
}
.comp-thumb img { width: 100%; height: 100%; object-fit: cover; }

.comp-info { flex: 1; min-width: 0; }
.comp-nom { font-size: 12.5px; font-weight: 600; color: var(--c-text); }
.comp-sku { font-size: 11px; color: var(--c-text-muted); }

.comp-formule {
  width: 100%;
  padding: 5px 8px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  font-size: 12px;
  font-family: 'Consolas', 'Courier New', monospace;
  background: var(--c-bg);
  color: var(--c-text);
  margin-top: 4px;
  outline: none;
}
.comp-formule:focus { border-color: var(--c-primary); }
.comp-formule-hint {
  font-size: 10.5px;
  color: var(--c-text-muted);
  margin-top: 2px;
}

.comp-prix-calc {
  text-align: right;
  font-size: 12px;
  color: var(--c-text-muted);
  flex-shrink: 0;
  min-width: 70px;
}
.comp-prix-calc b { display: block; font-size: 13px; color: var(--c-navy); }

.comp-del-btn {
  background: none;
  border: none;
  color: var(--c-text-muted);
  cursor: pointer;
  font-size: 16px;
  padding: 2px 4px;
  line-height: 1;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
}
.comp-del-btn:hover { color: var(--c-danger); background: #FEE2E2; }

/* Coût total assemblage */
.asm-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 0;
  margin-top: 6px;
  border-top: 2px solid var(--c-border);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-navy);
}
.asm-total-val { font-size: 16px; color: var(--c-primary); }

/* ----- Tabs source dans la colonne gauche ----- */
.cat-source-tabs {
  display: flex;
  border-bottom: 1px solid var(--c-border);
  padding: 0 8px;
  gap: 2px;
}
.cat-source-tab {
  padding: 9px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--c-text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color .12s;
  white-space: nowrap;
}
.cat-source-tab:hover { color: var(--c-text); }
.cat-source-tab.active {
  color: var(--c-primary);
  border-bottom-color: var(--c-primary);
  font-weight: 700;
}

/* ----- Section "Ajouter composant" ----- */
.add-comp-btn {
  width: 100%;
  padding: 9px;
  background: var(--c-bg);
  border: 1.5px dashed var(--c-border);
  border-radius: var(--radius);
  color: var(--c-text-muted);
  font-size: 13px;
  cursor: pointer;
  transition: border-color .15s, color .15s;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.add-comp-btn:hover { border-color: var(--c-primary); color: var(--c-primary); }

/* ----- Import CSV zone ----- */
.import-zone {
  border: 2px dashed var(--c-border);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  color: var(--c-text-muted);
  font-size: 13px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.import-zone:hover, .import-zone.drag-over {
  border-color: var(--c-primary);
  background: #FFF7ED;
  color: var(--c-primary);
}
.import-zone__icon { font-size: 36px; margin-bottom: 8px; }

/* ----- Popup article (modal) ----- */
.article-popup .modal { max-width: 440px; }
.article-popup__photo {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: var(--c-bg);
  border-radius: var(--radius);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  overflow: hidden;
}
.article-popup__photo img { width: 100%; height: 100%; object-fit: contain; }

/* ----- Responsive ----- */
@media (max-width: 1100px) {
  .cat-layout { grid-template-columns: 200px 1fr 320px; }
}
@media (max-width: 800px) {
  .cat-layout { grid-template-columns: 1fr; }
  .cat-col-left { height: auto; max-height: 200px; }
  .cat-col-right { display: none; }
}

/* ═══════════════════════════════════════════════════════
   PHASE 5 — Intégrations & Paramètres onglets
   ═══════════════════════════════════════════════════════ */

/* Modal wide pour les paramètres avec onglets */
.modal--wide { max-width: 680px; }

/* ── Onglets paramètres ── */
.settings-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--c-border, #e5e7eb);
  padding: 0 1.5rem;
  background: var(--c-surface, #fff);
}

.settings-tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-text-muted, #6b7280);
  cursor: pointer;
  transition: color .15s, border-color .15s;
}

.settings-tab-btn:hover {
  color: var(--c-navy, #1e3a5f);
}

.settings-tab-btn--active {
  color: var(--c-navy, #1e3a5f);
  border-bottom-color: var(--c-navy, #1e3a5f);
}

/* ── Sections dans l'onglet Intégrations ── */
.settings-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--c-border, #e5e7eb);
}

.settings-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.settings-section-title {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-navy, #1e3a5f);
  margin: 0 0 1rem;
}

.settings-hint {
  font-size: 0.88rem;
  color: var(--c-text-muted, #6b7280);
  margin: 0 0 1rem;
}

/* ── Badges QuickBooks ── */
.badge-qb {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #2CA01C;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  vertical-align: middle;
  margin-left: 6px;
}

.badge-qb::before {
  content: '🔗';
  font-size: 0.7em;
}

/* ── Icône d'intégration ── */
.integration-icon {
  margin-right: 8px;
  vertical-align: middle;
  display: inline-flex;
  align-items: center;
}

/* ── Barre de statut QB ── */
.qb-status-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--c-bg, #f5f5f5);
  border-radius: 8px;
  margin-bottom: 1rem;
  font-weight: 500;
  font-size: 0.9rem;
}

/* ── Aide dépliable ── */
.help-details {
  margin-top: 1rem;
  padding: 12px;
  background: var(--c-bg, #f7f7f7);
  border-radius: 8px;
  font-size: 0.9rem;
}

.help-details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--c-primary, #2563eb);
}

.help-steps {
  margin: 10px 0 0;
  padding-left: 1.25rem;
  line-height: 1.9;
}

.help-steps code {
  background: var(--c-border, #e5e7eb);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85em;
  word-break: break-all;
}

/* ── Toggle options ── */
.toggle-option {
  margin-bottom: 0.6rem;
}

.toggle-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.9rem;
}

/* ── Info sync ── */
.sync-info {
  display: flex;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--c-text-muted, #666);
  margin: 12px 0;
}

/* ── Rangée de boutons ── */
.btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

/* ── Journal de sync ── */
.sync-log { margin-top: 1.25rem; }

.sync-log h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-text-muted, #888);
  margin-bottom: 8px;
}

.sync-log-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 200px;
  overflow-y: auto;
}

.sync-log-entry {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--c-border, #eee);
  font-size: 0.85rem;
}

.sync-log-entry:last-child { border-bottom: none; }
.sync-log-icon             { flex-shrink: 0; }
.sync-log-msg              { flex: 1; }

.sync-log-time {
  flex-shrink: 0;
  color: var(--c-text-muted, #999);
  font-size: 0.8rem;
}

.sync-log-error .sync-log-msg { color: var(--c-danger, #dc2626); }

.sync-log-empty {
  color: var(--c-text-muted, #aaa);
  font-style: italic;
  padding: 8px 0;
  font-size: 0.9rem;
}

/* ── Bouton danger outline ── */
.btn-danger-outline {
  background: transparent;
  border: 1.5px solid var(--c-danger, #dc2626);
  color: var(--c-danger, #dc2626);
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, color .15s;
}

.btn-danger-outline:hover {
  background: var(--c-danger, #dc2626);
  color: #fff;
}

/* ============================
   CATALOGUE v2 — préfixe cat2
   ============================ */

.cat2-layout { display: flex; height: calc(100vh - 52px); overflow: hidden; }

/* Sidebar sources */
.cat2-sidebar {
  width: 210px; min-width: 210px; background: var(--c-navy);
  color: #fff; padding: 16px 0; overflow-y: auto;
}
.cat2-sidebar h3 { font-size: 11px; text-transform: uppercase;
  letter-spacing: .08em; color: #94a3b8; padding: 0 16px 8px; margin: 0; }
.cat2-source-btn {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 10px 16px; background: none; border: none;
  color: #cbd5e1; cursor: pointer; text-align: left; font-size: 13px;
  transition: background .15s;
}
.cat2-source-btn:hover { background: rgba(255,255,255,.07); }
.cat2-source-btn.active { background: rgba(249,115,22,.15); color: #fff; }
.cat2-source-btn .cat2-count {
  margin-left: auto; background: rgba(255,255,255,.12);
  font-size: 11px; padding: 2px 7px; border-radius: 10px;
}
.cat2-source-btn.active .cat2-count { background: var(--c-primary); color: #fff; }

/* Zone principale */
.cat2-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; }

/* Onglets type */
.cat2-type-tabs {
  display: flex; gap: 2px; padding: 12px 20px 0;
  border-bottom: 1px solid var(--c-border); background: var(--c-bg);
}
.cat2-type-tab {
  padding: 8px 16px; font-size: 13px; font-weight: 500;
  border: none; border-radius: 6px 6px 0 0; cursor: pointer;
  background: none; color: var(--c-text-muted); display: flex; align-items: center; gap: 6px;
  border-bottom: 2px solid transparent; transition: all .15s;
}
.cat2-type-tab:hover { color: var(--c-text); background: var(--c-bg-card); }
.cat2-type-tab.active { color: var(--c-primary); border-bottom-color: var(--c-primary);
  background: var(--c-bg-card); }

/* Barre outils */
.cat2-toolbar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 10px 20px; background: var(--c-bg); min-height: 52px;
}
.cat2-toolbar input[type=search] {
  flex: 1; padding: 7px 12px 7px 32px; border: 1px solid var(--c-border);
  border-radius: 6px; font-size: 13px; background: var(--c-bg-card);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398l3.85 3.85a1 1 0 0 0 1.415-1.415l-3.868-3.833zm-5.442 1.406a5.5 5.5 0 1 1 0-11 5.5 5.5 0 0 1 0 11z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 10px center;
}
.cat2-breadcrumb {
  font-size: 13px; color: var(--c-text-muted); flex: 1;
}
.cat2-breadcrumb a { color: var(--c-primary); cursor: pointer; text-decoration: none; }
.cat2-breadcrumb a:hover { text-decoration: underline; }

/* Grille dossiers */
.cat2-content { flex: 1; overflow-y: auto; padding: 20px; }
.cat2-folder-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px;
}
.cat2-folder-card {
  background: var(--c-bg-card); border: 1px solid var(--c-border); border-radius: 12px;
  cursor: pointer; overflow: hidden; transition: box-shadow .15s, transform .1s; min-width: 0;
}
.cat2-folder-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.13); transform: translateY(-2px); }
.cat2-folder-img {
  height: 130px; background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.cat2-folder-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; background: #f8fafc; }
.cat2-folder-info { padding: 12px 14px; }
.cat2-folder-name { font-size: 13px; font-weight: 600; margin-bottom: 3px; line-height: 1.3; }
.cat2-folder-count { font-size: 11px; color: var(--c-text-muted); }

/* Vue liste dossiers */
.cat2-folder-list-wrap { display: flex; flex-direction: column; gap: 2px; }
.cat2-folder-list-row {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  background: var(--c-bg-card); border: 1px solid var(--c-border); border-radius: 8px;
  cursor: pointer; transition: background .1s;
}
.cat2-folder-list-row:hover { background: var(--c-bg-hover, #f1f5f9); }
.cat2-folder-list-icon { font-size: 22px; flex-shrink: 0; }
.cat2-folder-list-name { flex: 1; font-size: 14px; font-weight: 500; }

/* Bascule de vue */
.cat2-view-toggle { display: flex; gap: 2px; }
.cat2-view-btn {
  width: 30px; height: 30px; border: 1px solid var(--c-border);
  background: var(--c-bg-card); cursor: pointer; border-radius: 6px;
  font-size: 15px; display: flex; align-items: center; justify-content: center;
  color: var(--c-text-muted); transition: background .1s, color .1s;
}
.cat2-view-btn:hover { background: var(--c-bg-hover, #f1f5f9); color: var(--c-text); }
.cat2-view-btn.cat2-view-active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* Table détails articles */
.cat2-details-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cat2-details-table thead th {
  text-align: left; padding: 8px 12px; border-bottom: 2px solid var(--c-border);
  font-weight: 600; color: var(--c-text-muted); white-space: nowrap;
}
.cat2-details-row { cursor: pointer; }
.cat2-details-row:hover td { background: var(--c-bg-hover, #f8fafc); }
.cat2-details-row td { padding: 9px 12px; border-bottom: 1px solid var(--c-border); vertical-align: middle; }

/* Liste articles */
.cat2-article-list { display: flex; flex-direction: column; gap: 2px; }
.cat2-article-row {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  background: var(--c-bg-card); border: 1px solid var(--c-border);
  border-radius: 8px; cursor: pointer; transition: border-color .15s;
}
.cat2-article-row:hover { border-color: var(--c-primary); }
.cat2-article-thumb {
  width: 44px; height: 44px; border-radius: 6px; object-fit: cover;
  background: #e2e8f0; flex-shrink: 0; display: flex; align-items: center;
  justify-content: center; font-size: 18px; overflow: hidden;
}
.cat2-article-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat2-article-name { flex: 1; font-size: 13px; font-weight: 500; }
.cat2-article-sku  { font-size: 11px; color: var(--c-text-muted); }
.cat2-article-price { font-size: 13px; font-weight: 700; color: var(--c-primary); white-space: nowrap; }
.cat2-article-unit  { font-size: 11px; color: var(--c-text-muted); }
.cat2-source-badge {
  font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 10px;
  text-transform: uppercase;
}
.cat2-badge-user       { background: #fff3e0; color: #e65100; }
.cat2-badge-takeoffpro { background: #e3f2fd; color: #1565c0; }
.cat2-badge-rona       { background: #e8f5e9; color: #2e7d32; }
.cat2-badge-homedepot  { background: #fbe9e7; color: #bf360c; }

/* Filtres */
.cat2-filter-panel {
  background: var(--c-bg-card); border: 1px solid var(--c-border);
  border-radius: 10px; padding: 14px 16px 16px; position: fixed;
  z-index: 200; min-width: 260px; max-width: 320px; max-height: 70vh;
  overflow-y: auto; box-shadow: 0 8px 30px rgba(0,0,0,.16);
}
.f-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--c-border);
}
.f-header strong { font-size: 13px; }
.cat2-filter-section { margin-bottom: 12px; }
.f-section-title { font-size: 11px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 5px; }
.f-check-group { display: flex; flex-direction: column; gap: 3px; max-height: 130px; overflow-y: auto; }
.f-check-label {
  display: flex; align-items: center; gap: 7px; font-size: 12px;
  padding: 2px 4px; border-radius: 4px; cursor: pointer;
}
.f-check-label:hover { background: var(--c-bg-hover); }
.f-check-label input[type=checkbox] { accent-color: var(--c-primary); flex-shrink: 0; }
.cat2-filter-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--c-primary); color: #fff; border-radius: 10px;
  font-size: 10px; font-weight: 700; padding: 1px 6px; margin-left: 4px;
}

/* Modal article */
.cat2-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  display: flex; align-items: center; justify-content: center; z-index: 1000;
}
.cat2-modal {
  background: var(--c-bg-card); border-radius: 14px; width: 540px; max-width: 95vw;
  max-height: 90vh; display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.cat2-modal-header {
  display: flex; align-items: center; gap: 12px; padding: 18px 20px 0;
}
.cat2-modal-header h2 { flex: 1; margin: 0; font-size: 18px; }
.cat2-modal-tabs {
  display: flex; gap: 0; padding: 12px 20px 0; border-bottom: 1px solid var(--c-border);
}
.cat2-modal-tab {
  padding: 8px 16px; font-size: 13px; font-weight: 500; cursor: pointer;
  border: none; background: none; color: var(--c-text-muted);
  border-bottom: 2px solid transparent; transition: all .15s;
}
.cat2-modal-tab.active { color: var(--c-primary); border-bottom-color: var(--c-primary); }
.cat2-modal-body { flex: 1; overflow-y: auto; padding: 20px; }
.cat2-modal-footer {
  display: flex; gap: 8px; justify-content: flex-end;
  padding: 14px 20px; border-top: 1px solid var(--c-border);
}

/* Formules multiples */
.cat2-formules-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.cat2-formule-row {
  display: flex; align-items: center; gap: 8px;
  background: var(--c-bg); border: 1px solid var(--c-border); border-radius: 8px; padding: 8px 10px;
}
.cat2-formule-row input[type=text] { flex: 1; min-width: 0; font-size: 12px; }
.cat2-formule-row input[type=number] { width: 80px; font-size: 12px; }
.cat2-formule-row select { width: 90px; font-size: 12px; }
.cat2-formule-expr {
  width: 100%; margin-top: 4px; font-size: 11px; color: var(--c-text-muted);
  font-family: monospace; background: var(--c-bg); border: 1px solid var(--c-border);
  border-radius: 4px; padding: 4px 8px;
}
.cat2-formule-default { font-size: 10px; color: var(--c-primary); font-weight: 600; }

/* État vide */
.cat2-empty {
  text-align: center; padding: 60px 20px; color: var(--c-text-muted);
}
.cat2-empty-icon { font-size: 48px; margin-bottom: 12px; }

/* ── Icon strip sous-catégories rapides ── */
.cat2-icon-strip {
  display: flex; gap: 7px; padding: 0 0 14px; flex-wrap: wrap;
}
.cat2-icon-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 11px; border-radius: 20px;
  border: 1.5px solid var(--c-border);
  background: var(--c-bg-card); font-size: 12px; font-weight: 500;
  cursor: pointer; color: #475569; transition: all .15s; white-space: nowrap;
}
.cat2-icon-chip:hover { background: #fff7ed; border-color: var(--c-primary); color: var(--c-primary); }
.cat2-icon-chip.active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.cat2-icon-chip span { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Sidebar tree (Windows Explorer) ── */
#hd-sidebar-tree { padding: 4px 0 8px; }
.tree-header {
  font-size: 10px; text-transform: uppercase; letter-spacing: .08em;
  color: #64748b; padding: 6px 16px 4px; font-weight: 600;
}
.tree-node { display: flex; align-items: flex-start; }
.tree-node-l1 { padding-left: 6px; }
.tree-node-l2 { padding-left: 16px; }
.tree-node-l3 { padding-left: 26px; }
.tree-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; min-width: 16px; padding-top: 3px;
  font-size: 9px; cursor: pointer; color: #64748b;
  flex-shrink: 0; user-select: none;
}
.tree-toggle:hover { color: var(--c-primary); }
.tree-spacer { display: inline-block; width: 16px; min-width: 16px; flex-shrink: 0; }
.tree-label {
  flex: 1; font-size: 11.5px; color: #94a3b8; padding: 2px 8px 2px 2px;
  cursor: pointer; border-radius: 4px; line-height: 1.4; word-break: break-word;
  transition: background .1s, color .1s;
}
.tree-label:hover { color: #e2e8f0; background: rgba(255,255,255,.07); }
.tree-label.tree-active { color: var(--c-primary) !important; font-weight: 600; background: rgba(249,115,22,.12); }
.tree-children { width: 100%; }

/* Source badge HD Canada (classe générée dynamiquement avec tirets) */
.cat2-badge-Home-Depot-CA { background: #fbe9e7; color: #bf360c; }

/* ── Vue grille articles ─────────────────────────────────────────────────── */
.cat2-article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 12px;
  padding: 6px 0 12px;
}
.cat2-article-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: box-shadow .15s, transform .12s;
}
.cat2-article-card:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,.1);
  transform: translateY(-2px);
}
.cat2-card-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 34px;
}
.cat2-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat2-card-no-photo { color: #94a3b8; }
.cat2-card-body {
  padding: 8px 9px 9px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.cat2-card-body .cat2-article-name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: #1e293b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cat2-card-body .cat2-article-price { font-size: 12px; color: var(--c-primary); font-weight: 700; }
.cat2-card-body .cat2-article-sku   { font-size: 10px; color: #94a3b8; }

/* ===== Phase 5A — Auth ===== */
.login-body {
  background: linear-gradient(135deg, var(--c-navy) 0%, #0F172A 100%);
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.login-card {
  background: var(--c-bg-card);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0,0,0,.3);
  padding: 36px 32px;
  width: 100%; max-width: 380px;
}
.login-logo {
  text-align: center;
  font-size: 22px; font-weight: 700;
  color: var(--c-navy); margin-bottom: 24px;
}
.login-logo span { color: var(--c-primary); }
.login-title { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.login-subtitle { font-size: 13px; color: var(--c-text-muted); margin-bottom: 24px; }
.login-form { display: flex; flex-direction: column; gap: 10px; }
.login-form .form-label { font-size: 12px; color: var(--c-text-muted); margin-top: 8px; }
.login-form .form-input {
  padding: 10px 12px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  font-size: 14px;
}
.login-form .form-input:focus { outline: 2px solid var(--c-primary); border-color: var(--c-primary); }
.login-error {
  background: #FEF2F2; color: var(--c-danger);
  padding: 8px 12px; border-radius: var(--radius);
  font-size: 13px; border-left: 3px solid var(--c-danger);
}
.login-submit { margin-top: 14px; padding: 11px; font-size: 14px; }
.login-submit:disabled { opacity: .6; cursor: not-allowed; }
.login-footer {
  text-align: center; margin-top: 18px;
  font-size: 12px; color: var(--c-text-muted);
}

/* Dropdown avatar dans nav */
.tp-nav__avatar { position: relative; }
.tp-nav__menu {
  position: absolute;
  top: calc(100% + 6px); right: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  min-width: 200px;
  padding: 6px 0;
  z-index: 200;
}
.tp-nav__menu.hidden { display: none; }
.tp-nav__menu-header {
  padding: 8px 14px;
  border-bottom: 1px solid var(--c-border);
  font-size: 12px;
}
.tp-nav__menu-header strong { display: block; color: var(--c-text); font-size: 13px; }
.tp-nav__menu-header span   { color: var(--c-text-muted); }
.tp-nav__menu-item {
  display: block; padding: 8px 14px;
  font-size: 13px; color: var(--c-text);
  background: transparent; border: none; width: 100%; text-align: left;
}
.tp-nav__menu-item:hover { background: var(--c-bg); }
.tp-nav__menu-item--danger { color: var(--c-danger); }

.hidden { display: none !important; }
