/* EURONICS_LABS_001N_R7_R2_EMPLOYEE_HUB_SHELL
   Unica shell visiva per Home, moduli operativi e pagine ADMIN.
   UI-only: nessuna logica applicativa. */

:root{
  --el-shell-blue-950:#031d3f;
  --el-shell-blue-900:#052a58;
  --el-shell-blue-800:#07457f;
  --el-shell-blue-700:#0b5aa5;
  --el-shell-yellow:#ffd500;
  --el-shell-bg:#eaf1f8;
  --el-shell-card:#fff;
  --el-shell-text:#082f63;
  --el-shell-muted:#61758f;
  --el-shell-line:#cedceb;
  --el-shell-shadow:0 12px 30px rgba(8,47,99,.10);
  --el-shell-radius:18px;
  --el-shell-font:Manrope,"Segoe UI",Arial,sans-serif;
}

html,body{margin:0}
body.el-unified-shell{
  margin:0 !important;
  padding:0 !important;
  background:var(--el-shell-bg) !important;
  color:var(--el-shell-text);
  font-family:var(--el-shell-font);
}

/* ==========================================================
   HEADER UNICO — STESSO SU TUTTE LE PAGINE
   ========================================================== */
#euronicsLabsUnifiedHeader001NR6{
  position:relative;
  z-index:50000;
  width:100%;
  min-height:132px;
  display:grid;
  grid-template-columns:minmax(0,1fr) 310px minmax(0,1fr);
  align-items:center;
  column-gap:18px;
  padding:6px 18px;
  box-sizing:border-box;
  overflow:hidden;
  background:linear-gradient(115deg,var(--el-shell-blue-950) 0%,#06386f 52%,#0b559d 100%);
  box-shadow:0 8px 24px rgba(3,29,63,.20);
  color:#fff;
}

#euronicsLabsUnifiedHeader001NR6 .el-shell-spacer{
  grid-column:1;
  min-width:0;
}

#euronicsLabsUnifiedHeader001NR6 .el-shell-brand{
  grid-column:2;
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  color:#fff;
  text-decoration:none;
}

#euronicsLabsUnifiedHeader001NR6 .el-shell-logo{
  display:block;
  width:300px;
  max-width:100%;
  height:auto;
  max-height:94px;
  object-fit:contain;
}

#euronicsLabsUnifiedHeader001NR6 .el-shell-subtitle{
  margin-top:1px;
  font-size:14px;
  line-height:1.2;
  font-weight:750;
  color:#f7fbff;
  text-align:center;
  white-space:nowrap;
}

#euronicsLabsUnifiedHeader001NR6 .el-shell-session{
  grid-column:3;
  justify-self:end;
  max-width:100%;
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:6px;
  padding:7px 8px 7px 11px;
  box-sizing:border-box;
  border:1px solid rgba(174,207,241,.28);
  border-radius:15px;
  background:rgba(1,24,54,.58);
  box-shadow:0 8px 22px rgba(0,0,0,.12);
}

#euronicsLabsUnifiedHeader001NR6 .el-shell-user{
  flex:0 0 auto;
  padding:8px 3px;
  font-size:11.5px;
  font-weight:900;
  color:#fff;
  white-space:nowrap;
}

#euronicsLabsUnifiedHeader001NR6 .el-shell-nav-link,
#euronicsLabsUnifiedHeader001NR6 .el-shell-logout{
  flex:0 0 auto;
  appearance:none;
  border:0;
  border-radius:10px;
  padding:8px 9px;
  font:800 11.5px/1 var(--el-shell-font);
  text-decoration:none;
  white-space:nowrap;
  cursor:pointer;
}

#euronicsLabsUnifiedHeader001NR6 .el-shell-nav-link{
  background:#17385f;
  color:#fff;
  border:1px solid rgba(255,255,255,.04);
}

#euronicsLabsUnifiedHeader001NR6 .el-shell-nav-link:hover{
  background:#245080;
}

#euronicsLabsUnifiedHeader001NR6 .el-shell-nav-link[aria-current="page"]{
  background:#2b659d;
  box-shadow:inset 0 -3px 0 var(--el-shell-yellow);
}

#euronicsLabsUnifiedHeader001NR6 .el-shell-logout{
  background:var(--el-shell-yellow);
  color:#071d3a;
  padding:11px 13px;
}

#euronicsLabsUnifiedHeader001NR6 .el-shell-logout:hover{
  filter:brightness(.96);
}

/* La home non deve più mostrare il vecchio menu sessione. */
body.el-module-home [aria-label="Sessione utente"]:not(.el-shell-session){
  display:none !important;
}

/* Il vecchio header della home viene marcato dal JS, non rimosso. */
body.el-module-home .el-shell-legacy-home-header{
  display:none !important;
}

/* ==========================================================
   CARTELLI OFFERTA — il vecchio header diventa title card
   ========================================================== */
body.el-module-cartelli .workspace-shell{
  padding-top:22px !important;
}

body.el-module-cartelli .workspace-header.screen-only{
  position:relative !important;
  top:auto !important;
  max-width:none !important;
  min-height:0 !important;
  margin:0 0 20px !important;
  padding:20px 22px !important;
  border:1px solid var(--el-shell-line) !important;
  border-radius:var(--el-shell-radius) !important;
  background:var(--el-shell-card) !important;
  background-image:none !important;
  box-shadow:var(--el-shell-shadow) !important;
  color:var(--el-shell-text) !important;
}

body.el-module-cartelli .workspace-header.screen-only::before,
body.el-module-cartelli .workspace-header.screen-only::after{
  display:none !important;
}

body.el-module-cartelli .workspace-brand{
  gap:0 !important;
}

body.el-module-cartelli .workspace-brand > img{
  display:none !important;
}

body.el-module-cartelli .workspace-brand .brand-eyebrow{
  margin:0 0 4px !important;
  color:#0a62b2 !important;
  font-size:11px !important;
  font-weight:900 !important;
  letter-spacing:.13em !important;
  text-transform:uppercase !important;
}

body.el-module-cartelli .workspace-brand h1{
  margin:0 !important;
  color:var(--el-shell-text) !important;
  font-size:28px !important;
  line-height:1.12 !important;
}

body.el-module-cartelli .workspace-brand p:not(.brand-eyebrow){
  margin:6px 0 0 !important;
  color:var(--el-shell-muted) !important;
  font-size:14px !important;
  line-height:1.4 !important;
}

/* ==========================================================
   COPIA SCONTRINO — title card
   ========================================================== */
body.el-module-receipt .app-header{
  position:relative !important;
  top:auto !important;
  z-index:20 !important;
  max-width:1530px;
  margin:22px auto 0 !important;
  padding:18px 20px !important;
  border:1px solid var(--el-shell-line) !important;
  border-radius:var(--el-shell-radius) !important;
  background:var(--el-shell-card) !important;
  box-shadow:var(--el-shell-shadow) !important;
}

body.el-module-receipt .app-header .brand{
  display:flex !important;
  align-items:center !important;
}

body.el-module-receipt .app-header .brand > img{
  display:none !important;
}

body.el-module-receipt .app-header .brand h1{
  margin:0 !important;
  color:var(--el-shell-text) !important;
  font-size:28px !important;
  line-height:1.12 !important;
}

body.el-module-receipt .app-header .brand h1::before{
  content:"STRUMENTI TECNICI";
  display:block;
  margin-bottom:5px;
  color:#0a62b2;
  font-size:11px;
  font-weight:900;
  letter-spacing:.13em;
}

body.el-module-receipt .shell{
  padding-top:22px !important;
}

/* ==========================================================
   CONFIGURAZIONE PC — title card
   ========================================================== */
body.el-module-pcsetup .topbar{
  position:relative !important;
  max-width:1236px !important;
  min-height:0 !important;
  margin:22px auto 0 !important;
  padding:18px 20px !important;
  border:1px solid var(--el-shell-line) !important;
  border-radius:var(--el-shell-radius) !important;
  background:var(--el-shell-card) !important;
  background-image:none !important;
  box-shadow:var(--el-shell-shadow) !important;
  color:var(--el-shell-text) !important;
}

body.el-module-pcsetup .topbar .pcsetup-official-logo{
  display:none !important;
}

body.el-module-pcsetup .topbar .pcsetup-heading{
  gap:0 !important;
}

body.el-module-pcsetup .topbar .eyebrow{
  color:#0a62b2 !important;
  font-size:11px !important;
  font-weight:900 !important;
  letter-spacing:.13em !important;
}

body.el-module-pcsetup .topbar h1{
  color:var(--el-shell-text) !important;
  font-size:28px !important;
  line-height:1.12 !important;
}

body.el-module-pcsetup .topbar .subtitle{
  color:var(--el-shell-muted) !important;
  font-size:14px !important;
}

body.el-module-pcsetup .topbar .back{
  color:#0a4f94 !important;
  background:#eef6ff !important;
  border:1px solid #b9d3ec !important;
}

body.el-module-pcsetup .shell{
  margin-top:18px !important;
}

/* ==========================================================
   ADMIN — vecchi header preservati ma ridotti a title card.
   La loro nav viene nascosta perché il menu globale è sopra.
   ========================================================== */
body.el-module-admin .header,
body.el-module-admin .el-admin-users-header{
  position:relative !important;
  top:auto !important;
  z-index:20 !important;
  max-width:1320px !important;
  min-height:0 !important;
  margin:22px auto 0 !important;
  padding:18px 20px !important;
  box-sizing:border-box !important;
  border:1px solid var(--el-shell-line) !important;
  border-radius:var(--el-shell-radius) !important;
  background:var(--el-shell-card) !important;
  box-shadow:var(--el-shell-shadow) !important;
  color:var(--el-shell-text) !important;
}

body.el-module-admin .header .brand,
body.el-module-admin .el-admin-users-header .brand{
  display:flex !important;
  align-items:center !important;
  gap:0 !important;
}

body.el-module-admin .header .brand img,
body.el-module-admin .el-admin-users-header .brand img{
  display:none !important;
}

body.el-module-admin .header .brand h1,
body.el-module-admin .el-admin-users-header .brand h1{
  margin:0 !important;
  color:var(--el-shell-text) !important;
  font-size:28px !important;
  line-height:1.12 !important;
}

body.el-module-admin .header .brand h1::before,
body.el-module-admin .el-admin-users-header .brand h1::before{
  content:"AMMINISTRAZIONE";
  display:block;
  margin-bottom:5px;
  color:#0a62b2;
  font-size:11px;
  font-weight:900;
  letter-spacing:.13em;
}

body.el-module-admin .header .nav,
body.el-module-admin .el-admin-users-header .nav{
  display:none !important;
}

body.el-module-admin .shell,
body.el-module-admin .admin-users-shell{
  margin-top:0 !important;
}

/* Normalizzazione controlli visivi, senza cambiare ID/handler. */
body.el-unified-shell .ghost-button,
body.el-unified-shell .secondary-button,
body.el-unified-shell .app-header .actions a,
body.el-unified-shell .app-header .actions button{
  border-radius:11px !important;
}

@media print{
  #euronicsLabsUnifiedHeader001NR6{
    display:none !important;
  }
  body.el-module-cartelli .workspace-shell{
    padding:0 !important;
  }
}

/* Quando la metà destra non basta, il menu passa sotto al logo.
   Non può uscire orizzontalmente. */
@media(max-width:1680px){
  #euronicsLabsUnifiedHeader001NR6{
    grid-template-columns:1fr;
    min-height:auto;
    row-gap:7px;
    padding:9px 14px 12px;
    overflow:visible;
  }

  #euronicsLabsUnifiedHeader001NR6 .el-shell-spacer{
    display:none;
  }

  #euronicsLabsUnifiedHeader001NR6 .el-shell-brand{
    grid-column:1;
  }

  #euronicsLabsUnifiedHeader001NR6 .el-shell-logo{
    width:270px;
    max-width:70vw;
    max-height:86px;
  }

  #euronicsLabsUnifiedHeader001NR6 .el-shell-session{
    grid-column:1;
    justify-self:center;
    justify-content:center;
    max-width:calc(100vw - 28px);
  }
}

@media(max-width:760px){
  #euronicsLabsUnifiedHeader001NR6 .el-shell-logo{
    width:220px;
  }

  #euronicsLabsUnifiedHeader001NR6 .el-shell-subtitle{
    white-space:normal;
  }

  #euronicsLabsUnifiedHeader001NR6 .el-shell-session{
    width:100%;
  }

  #euronicsLabsUnifiedHeader001NR6 .el-shell-nav-link{
    flex:1 1 auto;
    text-align:center;
  }

  body.el-module-cartelli .workspace-header.screen-only,
  body.el-module-receipt .app-header,
  body.el-module-pcsetup .topbar,
  body.el-module-admin .header,
  body.el-module-admin .el-admin-users-header{
    margin-left:12px !important;
    margin-right:12px !important;
  }
}


/* =====================================================================
   EURONICS LABS 001N-R6-R3
   FINAL VISUAL CONSISTENCY + PRE-PAINT LEGACY SUPPRESSION
   ===================================================================== */

/* HOME:
   il vecchio header è un body-child .page-header.
   Lo nascondiamo già dal primo paint, senza aspettare JavaScript. */
body > .page-header{
  display:none !important;
}

/* ADMIN:
   le vecchie navbar amministrative non devono apparire nemmeno per un frame. */
.nav[aria-label="Navigazione amministrazione"]{
  display:none !important;
}

/* I loghi legacy dei title header vengono soppressi dal CSS,
   quindi non possono lampeggiare prima dell'avvio della shell JS. */
.workspace-header.screen-only .workspace-brand > img,
body.euronics-receipt-page .app-header .brand > img,
.pcsetup-official-logo,
.el-admin-users-header .brand > img{
  display:none !important;
}

/* Le quattro famiglie di title-card adottano la stessa geometria:
   - stessa larghezza massima
   - titolo a sinistra
   - azioni a destra
   - stesso padding / bordo / radius / ombra */
.workspace-header.screen-only,
body.euronics-receipt-page .app-header,
body:has(.pcsetup-official-logo) .topbar,
body:has(.nav[aria-label="Navigazione amministrazione"]) .header,
.el-admin-users-header{
  position:relative !important;
  top:auto !important;
  z-index:20 !important;
  width:calc(100% - 44px) !important;
  max-width:1530px !important;
  min-height:0 !important;
  margin:22px auto 18px !important;
  padding:18px 20px !important;
  box-sizing:border-box !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  align-items:center !important;
  gap:18px !important;
  border:1px solid var(--el-shell-line) !important;
  border-radius:var(--el-shell-radius) !important;
  background:var(--el-shell-card) !important;
  background-image:none !important;
  box-shadow:var(--el-shell-shadow) !important;
  color:var(--el-shell-text) !important;
  text-align:left !important;
}

/* Tutti i blocchi titolo sono realmente allineati a sinistra. */
.workspace-header.screen-only .workspace-brand,
body.euronics-receipt-page .app-header .brand,
body:has(.pcsetup-official-logo) .topbar .pcsetup-heading,
body:has(.nav[aria-label="Navigazione amministrazione"]) .header .brand,
.el-admin-users-header .brand{
  grid-column:1 !important;
  justify-self:start !important;
  align-self:center !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:center !important;
  gap:0 !important;
  min-width:0 !important;
  text-align:left !important;
}

/* Azioni sempre a destra. */
.workspace-header.screen-only .workspace-actions,
body.euronics-receipt-page .app-header .header-actions,
body:has(.pcsetup-official-logo) .topbar > .back{
  grid-column:2 !important;
  justify-self:end !important;
  align-self:center !important;
}

/* Titoli: stessa scala e allineamento. */
.workspace-header.screen-only .workspace-brand h1,
body.euronics-receipt-page .app-header .brand h1,
body:has(.pcsetup-official-logo) .topbar h1,
body:has(.nav[aria-label="Navigazione amministrazione"]) .header .brand h1,
.el-admin-users-header .brand h1{
  margin:0 !important;
  color:var(--el-shell-text) !important;
  font-size:28px !important;
  line-height:1.12 !important;
  font-weight:850 !important;
  text-align:left !important;
}

/* Sottotitoli sempre a sinistra. */
.workspace-header.screen-only .workspace-brand p:not(.brand-eyebrow),
body:has(.pcsetup-official-logo) .topbar .subtitle{
  margin:6px 0 0 !important;
  color:var(--el-shell-muted) !important;
  font-size:14px !important;
  line-height:1.4 !important;
  text-align:left !important;
}

/* Etichetta comune dei moduli operativi. */
.workspace-header.screen-only .workspace-brand .brand-eyebrow{
  display:none !important;
}
.workspace-header.screen-only .workspace-brand h1::before{
  content:"STRUMENTI TECNICI";
  display:block;
  margin-bottom:5px;
  color:#0a62b2;
  font-size:11px;
  line-height:1;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
}

/* PC Setup: stessa etichetta e stessa posizione. */
body:has(.pcsetup-official-logo) .topbar .eyebrow{
  margin:0 0 5px !important;
  color:#0a62b2 !important;
  font-size:11px !important;
  line-height:1 !important;
  font-weight:900 !important;
  letter-spacing:.13em !important;
  text-transform:uppercase !important;
}

/* Receipt: pseudo-label già presente, uniformata. */
body.euronics-receipt-page .app-header .brand h1::before{
  margin-bottom:5px !important;
  color:#0a62b2 !important;
  font-size:11px !important;
  line-height:1 !important;
  font-weight:900 !important;
  letter-spacing:.13em !important;
  text-transform:uppercase !important;
}

/* ADMIN: title-card coerente, navbar legacy sempre soppressa. */
body:has(.nav[aria-label="Navigazione amministrazione"]) .header .nav,
.el-admin-users-header .nav{
  display:none !important;
}
body:has(.nav[aria-label="Navigazione amministrazione"]) .header .brand h1::before,
.el-admin-users-header .brand h1::before{
  content:"AMMINISTRAZIONE";
  display:block;
  margin-bottom:5px;
  color:#0a62b2;
  font-size:11px;
  line-height:1;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
}

/* Il vecchio menu sessione della home, qualora venga creato dinamicamente
   fuori dal vecchio header, non deve comparire. */
body > [aria-label="Sessione utente"]:not(.el-shell-session){
  display:none !important;
}

/* Header globale: nav vuota durante il fetch sessione mantiene la geometria
   senza mostrare elementi legacy. */
#euronicsLabsUnifiedHeader001NR6 .el-shell-session.el-shell-session-loading{
  min-width:44px;
  min-height:43px;
  visibility:hidden;
}

/* A schermi stretti le title-card mantengono lo stesso comportamento. */
@media(max-width:760px){
  .workspace-header.screen-only,
  body.euronics-receipt-page .app-header,
  body:has(.pcsetup-official-logo) .topbar,
  body:has(.nav[aria-label="Navigazione amministrazione"]) .header,
  .el-admin-users-header{
    width:calc(100% - 24px) !important;
    grid-template-columns:1fr !important;
  }

  .workspace-header.screen-only .workspace-actions,
  body.euronics-receipt-page .app-header .header-actions,
  body:has(.pcsetup-official-logo) .topbar > .back{
    grid-column:1 !important;
    justify-self:start !important;
  }
}


/* =====================================================================
   EURONICS LABS 001N-R7 - EMPLOYEE HUB
   Il menu ADMIN usa una seconda riga per evitare overflow a qualsiasi
   larghezza desktop. CATANIA2 / STORE mantengono il layout compatto.
   ===================================================================== */
body.el-shell-role-admin #euronicsLabsUnifiedHeader001NR6{
  grid-template-columns:1fr !important;
  row-gap:7px !important;
  min-height:auto !important;
  padding:9px 14px 12px !important;
  overflow:visible !important;
}

body.el-shell-role-admin #euronicsLabsUnifiedHeader001NR6 .el-shell-spacer{
  display:none !important;
}

body.el-shell-role-admin #euronicsLabsUnifiedHeader001NR6 .el-shell-brand{
  grid-column:1 !important;
}

body.el-shell-role-admin #euronicsLabsUnifiedHeader001NR6 .el-shell-session{
  grid-column:1 !important;
  justify-self:center !important;
  justify-content:center !important;
  max-width:calc(100vw - 28px) !important;
}


/* =====================================================================
   EURONICS LABS 001N-R7-R1
   MENU UNICO DEFINITIVO: LOGO CENTRATO + MENU CENTRATO SOTTO
   ===================================================================== */

/* Lo stesso layout viene usato per CATANIA2, ADMIN e tutti gli altri utenti.
   È il layout apprezzato nella pagina Cartelli tecnici. */
#euronicsLabsUnifiedHeader001NR6{
  grid-template-columns:1fr !important;
  row-gap:8px !important;
  min-height:auto !important;
  padding:10px 14px 12px !important;
  overflow:visible !important;
}

#euronicsLabsUnifiedHeader001NR6 .el-shell-spacer{
  display:none !important;
}

#euronicsLabsUnifiedHeader001NR6 .el-shell-brand{
  grid-column:1 !important;
  justify-self:center !important;
}

#euronicsLabsUnifiedHeader001NR6 .el-shell-logo{
  width:270px !important;
  max-width:70vw !important;
  max-height:86px !important;
}

#euronicsLabsUnifiedHeader001NR6 .el-shell-session{
  grid-column:1 !important;
  justify-self:center !important;
  justify-content:center !important;
  width:auto !important;
  max-width:calc(100vw - 28px) !important;
  margin:0 auto !important;
  flex-wrap:wrap !important;
}

/* Il vecchio header della precedente home tecnica viene eliminato
   visivamente anche quando la pagina ora vive in /cartelli-tecnici.html. */
body.el-module-technical .el-shell-legacy-home-header{
  display:none !important;
}

/* Il vecchio menu sessione della pagina tecnica non deve mai convivere
   con quello globale. */
body.el-module-technical [aria-label="Sessione utente"]:not(.el-shell-session){
  display:none !important;
}

/* Responsive: menu sempre centrato e mai fuori viewport. */
@media(max-width:900px){
  #euronicsLabsUnifiedHeader001NR6 .el-shell-session{
    width:100% !important;
  }
}

@media(max-width:620px){
  #euronicsLabsUnifiedHeader001NR6 .el-shell-nav-link{
    flex:1 1 calc(50% - 8px) !important;
    text-align:center !important;
  }

  #euronicsLabsUnifiedHeader001NR6 .el-shell-user,
  #euronicsLabsUnifiedHeader001NR6 .el-shell-logout{
    flex:0 0 auto !important;
  }
}


/* =====================================================================
   EURONICS LABS 001N-R7-R2
   FIX HEADER TECNICO LEGACY + COLOR LOCK MENU
   ===================================================================== */

/* Vecchio header della pagina Cartelli tecnici: mai visualizzato. */
body.el-module-technical > .page-header,
body.el-module-technical > header.page-header,
body.el-module-technical header:not(#euronicsLabsUnifiedHeader001NR6):has(img[src*="euronics-labs-official"]),
body.el-module-technical .page-header:has(img[src*="euronics-labs-official"]),
body.el-module-technical .app-header:has(img[src*="euronics-labs-official"]),
body.el-module-technical .topbar:has(img[src*="euronics-labs-official"]){
  display:none !important;
}

/* Colori espliciti e non sovrascrivibili dai CSS locali dei moduli. */
body #euronicsLabsUnifiedHeader001NR6{
  background:linear-gradient(115deg,#031d3f 0%,#06386f 52%,#0b559d 100%) !important;
  color:#fff !important;
}

body #euronicsLabsUnifiedHeader001NR6 .el-shell-subtitle{
  color:#fff !important;
  opacity:1 !important;
}

body #euronicsLabsUnifiedHeader001NR6 .el-shell-session{
  background:#031f43 !important;
  border:1px solid #315579 !important;
  box-shadow:0 8px 22px rgba(0,0,0,.14) !important;
}

body #euronicsLabsUnifiedHeader001NR6 .el-shell-user{
  color:#fff !important;
  background:transparent !important;
}

body #euronicsLabsUnifiedHeader001NR6 .el-shell-nav-link,
body #euronicsLabsUnifiedHeader001NR6 .el-shell-nav-link:link,
body #euronicsLabsUnifiedHeader001NR6 .el-shell-nav-link:visited{
  color:#fff !important;
  background:#17385f !important;
  border:1px solid rgba(255,255,255,.05) !important;
  box-shadow:none !important;
}

body #euronicsLabsUnifiedHeader001NR6 .el-shell-nav-link:hover{
  color:#fff !important;
  background:#245080 !important;
}

body #euronicsLabsUnifiedHeader001NR6 .el-shell-nav-link[aria-current="page"]{
  color:#fff !important;
  background:#2b659d !important;
  border-color:#2b659d !important;
  box-shadow:inset 0 -3px 0 #ffd500 !important;
}

body #euronicsLabsUnifiedHeader001NR6 .el-shell-logout{
  color:#071d3a !important;
  background:#ffd500 !important;
  border:1px solid #ffd500 !important;
}

/* Shared application UI. Screen styles stay outside document and label printing. */
.labs-v2-badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 8px;
  background: #ffd500;
  color: #07244a;
  font: 850 15px/1.3 Manrope, "Segoe UI", sans-serif;
}

@media screen {
  body.labs-v2.el-unified-shell {
    --el-shell-bg: #f2f6fb;
    --el-shell-line: #d8e3ef;
    --el-shell-shadow: 0 6px 20px rgb(11 43 78 / 8%);
    min-height: 100vh;
  }

  body.labs-v2 #euronicsLabsUnifiedHeader001NR6 {
    display: block !important;
    min-height: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #244d77;
    background: #082a50 !important;
    font-family: var(--el-shell-font);
  }

  .labs-v2-bar, .labs-v2-nav, .labs-v2-footer {
    box-sizing: border-box;
    width: min(100%, 1440px);
    margin-inline: auto;
    padding-inline: clamp(16px, 3vw, 40px);
  }

  .labs-v2-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 76px;
    padding-block: 8px;
  }

  .labs-v2-brand, .labs-v2-account {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .labs-v2-brand { text-decoration: none; }
  .labs-v2-logo { width: clamp(118px, 18vw, 208px); height: auto; }
  .labs-v2-account { margin-inline-start: auto; }
  .labs-v2-user {
    max-width: 18ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #dce9f7;
    font-size: 14px;
    font-weight: 750;
  }

  .labs-v2-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-top: 1px solid #345578;
    padding-block: 8px 10px;
  }

  .labs-v2-link, .labs-v2-toggle, .labs-v2-logout {
    display: inline-flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 9px;
    font: 750 14px/1.25 var(--el-shell-font);
    text-decoration: none;
    cursor: pointer;
  }

  .labs-v2-link, .labs-v2-toggle {
    background: transparent;
    color: #f0f6ff;
  }

  .labs-v2-link:hover, .labs-v2-toggle:hover {
    color: #fff;
    background: #224c77;
  }

  .labs-v2-link[aria-current="page"] {
    color: #fff;
    background: #245683;
    box-shadow: inset 0 -3px #ffd500;
  }

  .labs-v2-toggle { display: none; border-color: #7290ae; }
  .labs-v2-logout { background: #e7f0fa; color: #082a50; }
  .labs-v2-logout:hover { background: #fff; }
  .labs-v2-header :focus-visible { outline: 3px solid #ffd500; outline-offset: 2px; }

  .labs-v2-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin-block: 32px 0;
    padding-block: 20px;
    border-top: 1px solid #d8e3ef;
    color: #38536f;
    font: 650 14px/1.5 var(--el-shell-font);
  }

  .labs-v2-footer-brand { color: #082a50; font-weight: 850; }
  .labs-v2-copyright { margin-inline-start: auto; }

  body.labs-v2 :is(.hub-footer, #appFooter, .labs-shell, .el-flyer-brand, .el-flyer-back, .el-flyer-kicker),
  body.labs-v2.el-module-home > header:not(.labs-v2-header) { display: none !important; }

  body.labs-v2 .el-flyer-header {
    max-width: 1360px;
    margin: 20px auto;
    padding: 20px clamp(16px, 3vw, 40px);
    box-sizing: border-box;
    background: #fff;
    color: #082a50;
    box-shadow: var(--el-shell-shadow);
    border: 1px solid var(--el-shell-line);
    border-radius: var(--el-shell-radius);
  }

  body.labs-v2 .el-flyer-header :is(h1, p) { color: inherit; }
  body.labs-v2 .labs-footer > span { display: none; }
  body.labs-v2 :is(.page-heading, .hub-card, .labs-panel) {
    border-color: var(--el-shell-line);
    border-radius: var(--el-shell-radius);
    box-shadow: var(--el-shell-shadow);
  }
  body.labs-v2 .page-heading h1 { color: #082a50; }
  body.labs-v2 .page-kicker { display: none; }

  @media (max-width: 760px) {
    .labs-v2-bar { min-height: 66px; gap: 8px; }
    .labs-v2-brand { gap: 5px; }
    .labs-v2-user { display: none; }
    .labs-v2-toggle { display: inline-flex; }
    .labs-v2-nav { display: none; }
    .labs-v2-nav.is-open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .labs-v2-link { justify-content: flex-start; white-space: normal; }
    .labs-v2-copyright { flex-basis: 100%; margin-inline-start: 0; }
  }
}

@media print {
  .labs-v2-header, .labs-v2-footer { display: none !important; }
}

.labs-v2-login-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.labs-v2-login-brand img { width: calc(100% - 48px); }

@media screen {
  body.labs-v2 :is(main.layout > .panel, .workspace-grid > .panel, .shell .editor-panel,
    .shell .preview-panel, .shell > .panel, .upload-card, .tech-panel, .el-flyer-viewer) {
    border-color: var(--el-shell-line);
    border-radius: var(--el-shell-radius);
    box-shadow: var(--el-shell-shadow);
  }

  body.labs-v2 .tabs button {
    min-height: 44px;
    font-size: 15px;
  }

  body.labs-v2 .el-flyer-header {
    width: min(calc(100% - 32px), 1360px);
    display: block;
  }
}

@media screen and (min-width: 761px) {
  .labs-v2-link { padding-inline: 10px; }
}
