/* Stile del sito ADENCORE esistente, mantenuto per la nuova interfaccia. */
:root {
  --navy-950: #071b2c;
  --navy-900: #102a43;
  --navy-800: #173f5f;
  --navy-700: #24567c;
  --navy-100: #dceaf4;
  --navy-50: #eef5f9;
  --orange-700: #b85f04;
  --orange-600: #d97706;
  --orange-500: #e88911;
  --orange-100: #ffead1;
  --orange-50: #fff7ed;
  --green-700: #16704a;
  --green-100: #d9f2e6;
  --red-700: #b42318;
  --red-100: #fee4e2;
  --purple-700: #6941c6;
  --purple-100: #eee7ff;
  --blue-700: #175cd3;
  --blue-100: #dbeafe;
  --amber-700: #a15c07;
  --amber-100: #fff0c7;
  --ink: #16202a;
  --muted: #667085;
  --line: #e2e7ec;
  --line-dark: #d4dbe2;
  --surface: #ffffff;
  --canvas: #f4f6f8;
  --shadow: 0 1px 2px rgba(16,42,67,.05), 0 8px 24px rgba(16,42,67,.06);
  --shadow-lg: 0 24px 64px rgba(7,27,44,.18);
  --radius: 14px;
}

.login-layout { min-height:100vh; display:grid; grid-template-columns:minmax(380px, .92fr) minmax(480px,1.08fr); background:white; }
.login-story { min-height:100vh; padding:34px clamp(34px,6vw,88px); display:flex; flex-direction:column; color:#dbe7ef; background:radial-gradient(circle at 14% 12%,rgba(55,117,157,.35),transparent 35%),linear-gradient(145deg,var(--navy-950),#123a55 58%,#092238); }
.login-brand { display:flex; align-items:center; gap:12px; color:white; font-size:19px; font-weight:900; letter-spacing:.12em; }
.login-brand small { display:block; color:#83a5ba; font-size:8px; letter-spacing:.25em; }
.story-copy { margin:auto 0; max-width:560px; }
.story-copy h1 { margin:18px 0; color:white; font-size:clamp(36px,5vw,63px); line-height:1.04; font-family:Georgia,serif; font-weight:500; letter-spacing:-.04em; }
.story-copy h1 em { color:#f5a13d; font-style:normal; }
.story-copy > p { max-width:500px; color:#b9ccda; font-size:16px; }
.story-copy ul { margin:30px 0 0; padding:0; display:grid; gap:16px; list-style:none; }
.story-copy li { display:flex; align-items:center; gap:11px; color:#d9e5ed; font-size:12px; }
.story-copy li svg { width:20px; color:#f3a344; }
.story-foot { color:#7899ae; font-size:9px; }
.login-panel { min-height:100vh; padding:35px; display:flex; flex-direction:column; align-items:center; justify-content:center; background:radial-gradient(circle at 80% 5%,#f7f1e9,transparent 32%),white; }
.login-box { width:min(430px,100%); }
.login-box h2 { font-size:29px; }
.login-box .field { margin-top:18px; }


:root {
  --sfondo: var(--canvas); --carta: var(--surface); --carta2: #f8fafb; --carta3: #edf0f2;
  --inchiostro: var(--ink); --testo2: #344451; --tenue: var(--muted); --tenue2: #536473;
  --bordo: var(--line); --bordo-leggero: #eef0f3;
  --accento: var(--orange-600); --accento-scuro: var(--orange-700); --accento-chiaro: var(--orange-50);
  --accento-testo: var(--orange-700); --accento-tenue: var(--orange-100);
  --barra: var(--navy-950); --barra-bordo: rgba(255,255,255,.09); --barra-testo: #aec3d2;
  --ok: var(--green-700); --ok-chiaro: var(--green-100); --errore: var(--red-700); --errore-chiaro: var(--red-100);
  --info: var(--blue-700); --info-chiaro: var(--blue-100); --attenzione: var(--amber-700);
  --attenzione-chiaro: var(--orange-50); --attenzione-bordo: #f3d9a8;
  --ombra: var(--shadow); --ombra-alta: var(--shadow-lg); --raggio: var(--radius); --raggio-p: 9px;
  color-scheme: light;
}
body { background: var(--canvas); color: var(--ink); }
h1 { color: var(--navy-950); font-size: clamp(25px, 2.2vw, 34px); letter-spacing: -.035em; line-height: 1.16; }
h2, h3 { color: var(--navy-950); }
:focus-visible { outline: 3px solid rgba(217,119,6,.3); }
.guscio { grid-template-columns: 244px minmax(0,1fr); }
.barra { padding: 20px 14px 15px; background: linear-gradient(180deg,var(--navy-950),#0d2940 62%,#0b2235); }
.marchio { color: white; }
.marchio .logo { background: var(--orange-600); color: white; border-radius: 10px 3px 10px 3px; }
.marchio b { color: white; }
.marchio small { color: #81a1b9; }
.gruppo > div { color: #8faabd; font-size: 10px; letter-spacing: .13em; }
.voce { height: 40px; margin: 2px 0; font-size: 12.5px; }
.voce .ic { color: #8ba6b9; }
.voce:hover { color: white; background: rgba(255,255,255,.06); }
.voce.attiva { color: white; background: rgba(217,119,6,.17); box-shadow: inset 3px 0 var(--orange-500); }
.voce.attiva .ic { color: #f6a13c; }
.piede-barra .chi b { color: white; }
.piede-barra .chi span { color: #8faabd; }
.piede-barra .btn-icona { color: #aec3d2; }
.piede-barra .btn-icona:hover { color: white; background: rgba(255,255,255,.08); }
.avatar { background: var(--navy-800); color: white; }
.cerca-barra { background: rgba(255,255,255,.06); color: #aec3d2; border-color: rgba(255,255,255,.12); }
.cerca-barra:hover { color: white; border-color: rgba(255,255,255,.3); }
.cerca-barra kbd { background: rgba(255,255,255,.06); color: #aec3d2; border-color: rgba(255,255,255,.2); }
.testata { height: 64px; background: rgba(255,255,255,.94); border-color: var(--line); backdrop-filter: blur(14px); }
.contenuto { max-width: 1480px; margin: 0 auto; padding: 24px 28px 96px; }
.scheda { border-color: var(--line); box-shadow: var(--shadow); border-radius: 14px; padding: 20px; }
.btn { border-color: var(--line-dark); border-radius: 9px; color: var(--navy-800); background: white; }
.btn.primario { color: white; background: var(--orange-600); border-color: var(--orange-600); }
.btn.primario:hover { color: white; background: var(--orange-700); border-color: var(--orange-700); }
input[type=text],input[type=password],input[type=email],input[type=number],input[type=date],input[type=datetime-local],input[type=search],select,textarea { background: white; color: var(--ink); border-color: var(--line-dark); border-radius: 8px; }
.eyebrow { display: block; margin-bottom: 7px; color: var(--orange-700); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.accesso { padding: 0; place-items: initial; }
.accesso .scatola { width: min(430px,100%); max-width: 430px; }
.accesso .titolo { text-align: left; margin-bottom: 24px; }
.accesso .titolo h1 { font-size: 29px; margin-bottom: 10px; }
.accesso .titolo p { margin-bottom: 14px; }
.accesso .scatola .scheda { border: 0; border-radius: 0; background: transparent; box-shadow: none; padding: 0; }
.accesso .scheda > h2 { display: none; }
.accesso .campo { margin-bottom: 18px; }
.accesso .campo label { font-size: 12px; }
.accesso input { min-height: 42px; }
.accesso form > .btn.primario { width: 100%; min-height: 42px; }
.accesso .marchio-studio { margin: 0; width: min(340px,100%); height: 48px; }
.story-copy .eyebrow { color: #f5a13d; }
.story-copy h1 { color: white; }
.story-copy li svg { width: 20px; color: #f3a344; }
@media (max-width: 1050px) { .login-layout { grid-template-columns: .85fr 1.15fr; } .login-story { padding: 30px; } .story-copy h1 { font-size: 42px; } }
@media (max-width: 900px) { .guscio { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .login-layout { display: block; } .login-story { display: none; } .login-panel { padding: 24px; } .accesso .scatola::before { content: ''; display: block; height: 44px; width: min(340px,100%); margin-bottom: 24px; background: url('brand/adencore.jpeg') center / cover no-repeat; border-radius: 6px; } }
@media (max-width: 480px) { .login-panel { justify-content: flex-start; padding-top: 9vh; } .accesso .titolo h1 { font-size: 25px; } }

.marchio-ordito { background: #fff; overflow: hidden; border-radius: 6px; width: 204px; height: 48px; }
.marchio-ordito img { display: block; height: 100%; width: 100%; object-fit: cover; object-position: center; }
.barra .marchio { padding: 0; }
.barra .nome-studio { padding: 0 8px 6px; font-size: 11px; color: #8faabd; }
.accesso .marchio-ordito { width: 220px; height: 52px; margin: 0 0 18px; }
.accesso .azioni-modulo .btn.primario { width: 100%; min-height: 42px; }

/* Anteprima: gerarchia dei marchi e navigazione rivista, 17 novembre 2026. */
.guscio { grid-template-columns: 272px minmax(0,1fr); }
.barra { padding: 30px 20px 20px; gap: 0; background: radial-gradient(ellipse at 0 0, #173b51 0, transparent 55%), linear-gradient(165deg,#091f30,#081925 80%); border-right: 1px solid #183040; }
.barra .marchio { padding: 0 9px; margin-bottom: 33px; }
.barra .marchio-ordito { position: relative; width: 176px; height: 46px; overflow: hidden; border-radius: 0; background: transparent; }
.barra .marchio-ordito img { position: absolute; width: 140%; height: 140%; max-width: none; left: -20%; top: -20%; object-fit: cover; filter: grayscale(1) invert(1) contrast(8); mix-blend-mode: screen; }
.barra > .marchio-studio { order: 2; height: 31px; width: 202px; flex: none; margin: auto 10px 19px; padding-top: 5px; overflow: hidden; border-radius: 0; background: transparent; opacity: .76; }
.barra > .marchio-studio img { filter: grayscale(1) invert(1) contrast(8); mix-blend-mode: screen; }
.barra .nome-studio { display: none; }
.barra .cerca-barra { margin-bottom: 24px; height: 39px; border-radius: 8px; background: #ffffff04; border-color: #ffffff12; font-size: 12px; }
.barra .gruppo { padding: 0; margin-bottom: 22px; }
.barra .gruppo > div { color: #7190a2; font-size: 9px; font-weight: 600; letter-spacing: .16em; padding: 0 11px 10px; }
.barra .voce { height: 42px; margin: 3px 0; padding: 0 12px; gap: 12px; border-radius: 8px; color: #a9becb; font-size: 12px; font-weight: 450; border: 1px solid transparent; }
.barra .voce .ic { color: #7897aa; }
.barra .voce .icona { width: 18px; height: 18px; stroke-width: 1.55; }
.barra .voce:hover { color: #f1f5f8; background: #ffffff06; }
.barra .voce.attiva { color: #fff3df; background: linear-gradient(90deg,#d58a1924,#d58a190b); border-color: #d58a1929; box-shadow: inset 2px 0 #e9a544; font-weight: 550; }
.barra .voce.attiva .ic { color: #efae56; }
.barra .piede-barra { order: 3; margin-top: 0; padding: 17px 7px 0; border-top: 1px solid #ffffff0d; gap: 10px; }
.barra .avatar { width: 33px; height: 33px; background: #ffffff0a; border: 1px solid #ffffff16; color: #e0e9ee; font-size: 10px; border-radius: 10px; }
.barra .piede-barra .chi b { font-size: 11px; font-weight: 500; }
.barra .piede-barra .chi span { font-size: 10px; margin-top: 3px; color: #7190a2; }
@media (max-width:900px) { .guscio { grid-template-columns: 1fr; } .barra > .marchio-studio { order: 0; margin: 5px 10px; } }
