:root{--nova-blue:#258cff;--nova-gold:#f2c34f}
.nova-brand-icon{display:inline-block;width:28px;height:28px;object-fit:cover;border-radius:8px;vertical-align:middle;box-shadow:0 0 0 1px rgba(105,154,255,.28),0 0 14px rgba(37,140,255,.18);flex:0 0 auto}
.nova-brand-icon.sm{width:20px;height:20px;border-radius:6px}.nova-brand-icon.xs{width:16px;height:16px;border-radius:5px}.nova-brand-icon.lg{width:38px;height:38px;border-radius:10px}
.nova-inline{display:inline-flex;align-items:center;gap:7px}.nova-titleline{display:flex;align-items:center;gap:10px}.nova-titleline .nova-brand-icon{margin:0}
.nova-nav-icon{width:22px;height:22px;border-radius:6px;object-fit:cover;vertical-align:-6px;margin-right:7px;box-shadow:0 0 10px rgba(37,140,255,.18)}
.nova-module-badge{display:inline-flex;align-items:center;gap:7px}.nova-module-badge img{width:22px;height:22px;border-radius:6px;object-fit:cover}
.nova-chat-avatar{width:28px;height:28px;border-radius:8px;object-fit:cover;box-shadow:0 0 12px rgba(37,140,255,.2);flex:0 0 auto;margin-top:2px}
.nova-msg-row{display:flex;align-items:flex-start;gap:8px;max-width:82%;margin:10px 0}.nova-msg-row.user{margin-left:auto;justify-content:flex-end}.nova-msg-row .nova-msg{max-width:none;margin:0;flex:1}.nova-msg-row.user .nova-chat-avatar{display:none}
@media(max-width:620px){.nova-brand-icon.lg{width:32px;height:32px}.nova-nav-icon{width:20px;height:20px}.nova-msg-row{max-width:94%}}
header .brand img.nova-brand-icon,.nova-brand img.nova-brand-icon{width:28px!important;height:28px!important;object-fit:cover!important;object-position:center!important;border-radius:8px!important}header .brand img.nova-brand-icon.sm,.nova-brand img.nova-brand-icon.sm{width:20px!important;height:20px!important;border-radius:6px!important}header .brand img.nova-brand-icon.lg,.nova-brand img.nova-brand-icon.lg{width:38px!important;height:38px!important;border-radius:10px!important}
header .brand span.nova-inline{display:inline-flex;align-items:center;gap:8px}

/* V1.2.2 — identité officielle NOVA by ADSI */
.nova-brand-logo{display:block;width:auto;height:42px;max-width:220px;object-fit:contain}
.nova-brand-logo.header{height:34px;max-width:170px}
.nova-hero-brand{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:6px}
.nova-hero-brand .nova-brand-logo{height:42px}
.nova-hero-brand h1{margin:0}
.nova-brand-icon,.nova-nav-icon,.nova-chat-avatar,.nova-module-badge img{object-fit:contain!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.nova-chat-avatar{padding:2px}
@media(max-width:620px){.nova-brand-logo{height:34px;max-width:180px}.nova-brand-logo.header{height:28px;max-width:145px}.nova-hero-brand{gap:10px}}

/* V1.2.3 — hiérarchie de marque : NOVA en interface, ADSI en signature institutionnelle */
header .brand .nova-header-primary{height:38px!important;width:auto!important;max-width:210px!important;object-fit:contain!important;object-position:left center!important;filter:none!important;opacity:1!important}
header .brand .nova-header-primary + span,header .brand .nova-header-primary + b{margin-left:2px}
.legal-footer-branded{height:auto!important;min-height:64px!important;padding:10px 22px!important;justify-content:space-between!important;gap:18px!important;flex-wrap:wrap!important}
.legal-company-brand{display:flex;align-items:center;gap:12px;min-width:0}.legal-company-brand img{width:150px!important;height:38px!important;object-fit:contain!important;object-position:left center!important;filter:none!important;opacity:.92!important}.legal-company-brand span{font-size:11px;color:var(--muted)}
.legal-footer-branded nav{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:wrap}.legal-footer-branded nav a{color:var(--muted);text-decoration:none;font-size:11px}.legal-footer-branded nav a:hover{color:#fff}
@media(max-width:700px){header .brand .nova-header-primary{height:30px!important;max-width:160px!important}.legal-footer-branded{justify-content:flex-start!important}.legal-company-brand{width:100%}.legal-footer-branded nav{justify-content:flex-start}.legal-company-brand img{width:125px!important;height:32px!important}.legal-company-brand span{display:none}}

/* V1.2.3a — correctif cache/logo header NOVA by ADSI24 */
header .brand img.nova-header-primary,
header .brand img.nova-brand-logo.header.nova-header-primary {
  display:block!important;
  width:auto!important;
  height:38px!important;
  max-width:210px!important;
  object-fit:contain!important;
  object-position:left center!important;
  filter:none!important;
  opacity:1!important;
  background:transparent!important;
}
@media(max-width:700px){
  header .brand img.nova-header-primary,
  header .brand img.nova-brand-logo.header.nova-header-primary{
    height:30px!important;
    max-width:160px!important;
  }
}

/* V1.2.5b — logo NOVA by ADSI24 fourni et validé */
header .brand img.nova-header-primary,
header .brand img.nova-brand-logo.header.nova-header-primary {
  display:block!important;
  width:auto!important;
  height:40px!important;
  max-width:230px!important;
  object-fit:contain!important;
  object-position:left center!important;
  filter:none!important;
  opacity:1!important;
  background:transparent!important;
}
@media(max-width:700px){
  header .brand img.nova-header-primary,
  header .brand img.nova-brand-logo.header.nova-header-primary{
    height:32px!important;
    max-width:180px!important;
  }
}
