/* ── Home, sezione «Chi gestisce i social lavora su Bynor» (18/11/2026) ─────────────────────────────────────
   L'app Bynor ricostruita dagli screen veri (tela fissa 1280×780 che hv-mockup.js scala) dentro un pannello col
   cielo dipinto. Si compone la bacheca, poi il cursore clicca le voci della barra laterale e l'app passa da una
   funzione all'altra: contesto del brand, piano, video AI, montaggio, podcast, calendario, Meta Ads. Le tab sopra
   seguono il giro; un clic porta a quella pagina e il giro si ferma lì. Da telefono si vede la bacheca senza
   barra laterale e sotto la finestra la frase della pagina. Nato come prova della hero (worktree home-posizionamento).
   I testi stanno nel markup di ogni lingua: questo file e lo script sono uguali per tutte e 5. */
.hv-panel { position: relative; margin: 0 28px; border-radius: 16px; overflow: hidden; isolation: isolate; background: #BFD3EA;
  padding: clamp(40px, 5.2vw, 72px) 9.5% 30px; }
.hv-sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hv-sky__paint { position: absolute; inset: 0; background: #BFD3EA url("/corgi-demo/sky-constable.jpg") 30% 38% / cover no-repeat; filter: saturate(.86) brightness(1.02); }
.hv-sky__sun { position: absolute; top: -30%; left: -10%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 240, 190, .7), rgba(255, 240, 190, 0) 72%); }
.hv-sky__tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(79, 70, 229, .10), rgba(79, 70, 229, 0) 45%); }
.hv-stage { position: relative; height: 760px; }
.hv-canvas { position: absolute; left: 0; top: 0; width: 1280px; height: 800px; transform-origin: 0 0; border-radius: 12px; overflow: hidden; background: #F5F7FA;
  box-shadow: 0 44px 90px -34px rgba(25, 30, 70, .55), 0 0 0 1px rgba(255, 255, 255, .55);
  font: 400 13.5px/1.35 'Geist', system-ui, sans-serif; letter-spacing: -0.005em; color: #0f172a; text-align: left; -webkit-font-smoothing: antialiased; }
.hv-canvas *, .hv-canvas *::before, .hv-canvas *::after { box-sizing: border-box; }
.hv-canvas p { margin: 0; }
.hv-canvas b, .hv-canvas em, .hv-canvas i, .hv-canvas span { font-style: normal; }
.hvx .hv-canvas em { font-family: inherit !important; font-style: normal !important; }
.hv-canvas .ph { font-size: 17px; line-height: 1; }
/* barra laterale */
.hv-side { position: absolute; left: 0; top: 0; bottom: 0; width: 236px; padding: 18px 12px 14px; background: #fff; border-right: 1px solid #EBEEF3; display: flex; flex-direction: column; }
.hv-logo { display: flex; align-items: center; gap: 8px; padding: 2px 8px 18px; }
.hv-logo svg { width: 88px; height: auto; color: #0f0d1f; }
.hv-logo span { padding: 2px 6px; border-radius: 5px; background: #F1F5F9; font-size: 9.5px; font-weight: 600; color: #64748b; letter-spacing: .02em; }
.hv-nav { display: flex; flex-direction: column; gap: 1px; }
.hv-nav a { display: flex; align-items: center; gap: 10px; height: 33px; padding: 0 10px; border-radius: 8px; color: #334155; font-size: 13.5px; text-decoration: none; }
.hv-nav a .ph { color: #64748b; }
.hv-nav a.on { background: #EEF0FF; color: #4338CA; font-weight: 500; }
.hv-nav a.on .ph { color: #4F46E5; }
.hv-nav a em { margin-left: auto; padding: 2px 7px; border-radius: 999px; background: #EEF0FF; color: #4F46E5; font-size: 10.5px; font-weight: 600; }
.hv-nav a em.n { background: #4F46E5; color: #fff; min-width: 20px; text-align: center; }
.hv-canvas .hv-lab { margin: 18px 10px 6px; font-size: 11.5px; color: #94a3b8; }
.hv-brands a { display: flex; align-items: center; gap: 10px; height: 31px; padding: 0 10px; border-radius: 8px; color: #334155; font-size: 13px; text-decoration: none; }
.hv-brands a.on { background: #F5F7FA; }
.hv-brands i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; color: #fff; font-size: 10.5px; font-weight: 600; }
.hv-me { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; border: 1px solid #EBEEF3; }
.hv-me i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #b5603f; color: #fff; font-size: 12px; font-weight: 600; }
.hv-me b { display: block; font-size: 12.5px; font-weight: 600; }
.hv-me small { display: block; font-size: 11px; color: #64748b; }
/* bacheca */
.hv-main { position: absolute; left: 236px; right: 0; top: 0; bottom: 0; padding: 24px 28px; }
.hv-head { display: flex; align-items: flex-start; gap: 10px; }
.hv-head h4 { margin: 0; font-size: 24px; line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; color: #0f172a; }
.hv-head small { display: block; margin-top: 3px; font-size: 12.5px; color: #64748b; }
.hv-head .sp { flex: 1; }
.hv-chip { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 9px; background: #fff; border: 1px solid #E5E9F0; font-size: 13px; color: #0f172a; white-space: nowrap; }
.hv-chip .ph { font-size: 15px; color: #64748b; }
.hv-chip i.av { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #b5603f; color: #fff; font-size: 10px; font-weight: 600; }
.hv-chip.pri { background: #4F46E5; border-color: #4F46E5; color: #fff; font-weight: 500; }
.hv-chip.pri .ph { color: #fff; }
.hv-tip { position: absolute; left: 28px; right: 28px; top: 84px; height: 48px; display: flex; align-items: center; gap: 11px; padding: 0 16px; border-radius: 11px; background: #fff; border: 1px solid #E8EBF2; font-size: 13.5px; color: #334155; white-space: nowrap; }
.hv-tip > i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: #4F46E5; color: #fff; }
.hv-tip > i .ph { font-size: 14px; }
.hv-tip b { font-weight: 600; color: #0f172a; }
.hv-tip a { margin-left: auto; color: #4F46E5; font-weight: 500; text-decoration: none; }
.hv-card { position: absolute; border-radius: 13px; background: #fff; border: 1px solid #E8EBF2; }
.hv-ch { padding: 18px 20px 0; display: flex; align-items: flex-start; gap: 8px; }
.hv-ch .t { flex: 1; min-width: 0; }
.hv-ch h5 { margin: 0; font-size: 15px; font-weight: 600; color: #0f172a; letter-spacing: -0.01em; }
.hv-ch p { margin-top: 3px; font-size: 12.5px; color: #64748b; }
.hv-sel { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 7px; border: 1px solid #E5E9F0; font-size: 12px; color: #334155; white-space: nowrap; }
.hv-sel .ph { font-size: 12px; color: #94a3b8; }
.hv-big { display: flex; align-items: baseline; gap: 10px; }
.hv-big b { font-size: 40px; line-height: 1; font-weight: 500; letter-spacing: -0.035em; color: #0f172a; }
.hv-big em { font-size: 13px; font-weight: 600; color: #15803d; }
.hv-foot { position: absolute; left: 20px; right: 20px; bottom: 14px; display: flex; align-items: center; gap: 16px; font-size: 12px; color: #64748b; }
.hv-foot span { display: flex; align-items: center; gap: 6px; }
.hv-foot .hv-sw { width: 9px; height: 9px; border-radius: 3px; }
.hv-foot .ph { margin-left: auto; font-size: 15px; color: #94a3b8; }
.hv-foot .ph + .ph { margin-left: 0; }
/* A · persone raggiunte: barre a tratteggio come i grafici di Harvey, linea dei profili simili */
.hv-a { left: 28px; top: 150px; width: 504px; height: 300px; }
.hv-hatch { position: absolute; left: 20px; right: 20px; top: 104px; height: 124px; display: flex; align-items: flex-end; gap: 2px; }
.hv-hatch i { flex: 1; background: #3F3D7A; border-radius: 1px; transform-origin: 50% 100%; }
.hv-line { position: absolute; left: 20px; top: 104px; width: calc(100% - 40px); height: 124px; overflow: visible; }
.hv-mon { position: absolute; left: 20px; right: 20px; top: 236px; display: flex; justify-content: space-between; font-size: 11px; color: #94a3b8; }
/* B · rendimento per formato */
.hv-b { left: 548px; top: 150px; right: 28px; height: 300px; }
.hv-grid { position: absolute; left: 54px; right: 20px; top: 80px; height: 150px; }
.hv-grid > s { position: absolute; left: 0; right: 0; height: 1px; background: #EEF1F5; text-decoration: none; }
.hv-grid > s em { position: absolute; left: -36px; top: -7px; font-size: 10.5px; color: #94a3b8; }
.hv-cols { position: absolute; left: 54px; right: 20px; top: 80px; height: 150px; display: flex; justify-content: space-around; align-items: flex-end; }
.hv-col { display: flex; align-items: flex-end; gap: 5px; height: 100%; }
.hv-col i { width: 15px; border-radius: 3px 3px 1px 1px; transform-origin: 50% 100%; }
.hv-col i.me { background: #3F3D7A; }
.hv-col i.pe { background: repeating-linear-gradient(135deg, #C9CCDA 0 2px, #E6E8F0 2px 4px); }
.hv-col i.hot { background: #4F46E5; }
.hv-lbl { position: absolute; left: 54px; right: 20px; top: 238px; display: flex; justify-content: space-around; font-size: 11px; color: #64748b; }
.hv-lbl span { width: 60px; text-align: center; }
/* C · in uscita */
.hv-c { left: 28px; top: 466px; width: 504px; height: 310px; }
.hv-rows { position: absolute; left: 12px; right: 12px; top: 62px; }
.hv-row { display: flex; align-items: center; gap: 11px; height: 46px; padding: 0 8px; border-top: 1px solid #F1F3F7; }
.hv-row > i.th { width: 32px; height: 32px; border-radius: 7px; background-size: cover; background-position: center; flex: none; }
.hv-row .tx { flex: 1; min-width: 0; }
.hv-row .tx b { display: block; font-size: 13px; font-weight: 500; color: #0f172a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-row .tx small { display: block; font-size: 11.5px; color: #64748b; }
.hv-chs { display: flex; gap: 4px; }
.hv-chs i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; color: #fff; }
.hv-chs i svg { width: 62%; height: 62%; }
.hv-chs .ig { background: linear-gradient(45deg, #f9a03c, #e8336e 55%, #b62fb3); }
.hv-chs .tt { background: #111114; }
.hv-chs .fb { background: #1877f2; }
.hv-chs .yt { background: #f03; }
.hv-st { position: relative; width: 104px; height: 24px; flex: none; }
.hv-st span { position: absolute; right: 0; top: 0; height: 24px; display: flex; align-items: center; gap: 5px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.hv-st span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.hv-st .ok { background: #ECFDF3; color: #15803d; }
.hv-st .pl { background: #EEF0FF; color: #4338CA; }
.hv-st .ap { background: #FFF7E6; color: #B45309; }
.hv-st .gn { background: #F1F5F9; color: #475569; }
/* D · Meta Ads */
.hv-d { left: 548px; top: 466px; width: 272px; height: 310px; }
.hv-meta { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #0866FF; color: #fff; flex: none; }
.hv-meta svg { width: 16px; height: 16px; }
.hv-act { margin-left: auto; display: flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: #ECFDF3; color: #15803d; font-size: 11.5px; font-weight: 500; }
.hv-act::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #16a34a; }
.hv-camp { display: flex; gap: 12px; margin: 16px 20px 0; }
.hv-camp > i { width: 54px; height: 72px; border-radius: 8px; background-size: cover; background-position: center top; flex: none; }
.hv-camp b { display: block; font-size: 13px; font-weight: 500; line-height: 1.3; }
.hv-camp small { display: block; margin-top: 4px; font-size: 11.5px; color: #64748b; }
.hv-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 20px 0; }
.hv-kpis div { padding: 10px 12px; border-radius: 9px; background: #F7F8FB; }
.hv-kpis small { display: block; font-size: 11px; color: #64748b; }
.hv-kpis b { display: block; margin-top: 2px; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.hv-canvas .hv-bud { margin: 14px 20px 0; font-size: 11.5px; color: #64748b; display: flex; justify-content: space-between; }
.hv-bud b { color: #0f172a; font-weight: 600; }
.hv-trk { margin: 7px 20px 0; height: 5px; border-radius: 3px; background: #E8EBF2; overflow: hidden; }
.hv-trk i { display: block; height: 100%; width: 100%; background: #4F46E5; transform-origin: 0 50%; transform: scaleX(.62); }
/* E · video AI */
.hv-e { left: 836px; top: 466px; right: 28px; height: 310px; overflow: hidden; }
.hv-e .hv-ch p { white-space: nowrap; }
.hv-vid { position: absolute; left: 12px; right: 12px; top: 58px; bottom: 12px; border-radius: 9px; overflow: hidden; background: #E9E4F5 url("/home-media/zag/zagara.jpg") center 30% / cover; }
.hv-vid video { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.hv-vid span { position: absolute; left: 10px; bottom: 10px; display: flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(15, 12, 40, .7); color: #fff; font-size: 11.5px; font-weight: 500; }
@media (max-width: 899px) {
  .hv-panel { margin: 0 12px; padding: 26px 0 0 16px; border-radius: 12px; }
  .hv-canvas { border-radius: 10px 0 0 0; }
  .hv-sky__paint { background-image: url("/corgi-demo/sky-constable-m.jpg"); }
}
.hv-panel { margin: 0; border-radius: 0; padding: clamp(40px, 4.6vw, 70px) clamp(24px, 5.6vw, 88px) 0; }
.hv-typed { position: relative; flex: 1; min-width: 0; height: 20px; font-size: 13.5px; color: #0f172a; white-space: nowrap; overflow: hidden; }
.hv-typed .ph-t { position: absolute; left: 0; top: 0; color: #94a3b8; }
.hv-send { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #C9C5FB; color: #fff; }
.hv-send .ph { font-size: 16px; }
@media (max-width: 899px) {
  .hv-panel { margin: 0 12px; padding: 26px 0 0 0; border-radius: 12px; }
  .hv-canvas { border-radius: 0; }
}
.hv-panel { margin: 0 clamp(16px, 1.8vw, 28px); border-radius: 18px; padding: clamp(40px, 4.4vw, 66px) clamp(24px, 5vw, 80px) 0; }
.hv-canvas { width: 1280px; height: 900px; }
.hv-main { left: 64px; padding: 0; }
.hv-bar { position: absolute; left: 34px; right: 26px; top: 20px; display: flex; align-items: center; gap: 10px; }
.hv-bar h4 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: #0f172a; }
.hv-bar .sp { flex: 1; }
.hv-fire { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 10px; background: #FFF4E2; border: 1px solid #F5D9A6; color: #9A5B10; font-size: 15px; font-weight: 600; }
.hv-fire .ph { color: #F08A1C; font-size: 18px; }
.hv-bell { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #fff; border: 1px solid #E5E9F0; color: #64748b; }
.hv-bell b { position: absolute; right: 8px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: #EF4444; }
.hv-brand { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 6px; border-radius: 10px; background: #fff; border: 1px solid #E5E9F0; font-size: 14px; font-weight: 500; color: #0f172a; }
.hv-brand .av { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #b5603f; color: #fff; font-size: 12px; font-weight: 600; }
.hv-brand .ph { font-size: 13px; color: #94a3b8; }
.hv-tip { left: 74px; right: 74px; top: 452px; }
.hv-tip > i { background: #16a34a; }
/* le schede, sotto: in fila la prima riga, la seconda tagliata dal bordo del pannello */
.hv-a { left: 74px; top: 520px; width: 460px; height: 300px; }
.hv-c { left: 550px; top: 520px; width: 400px; height: 300px; }
.hv-e { left: 966px; top: 520px; right: 74px; width: auto; height: 300px; }
.hv-b { left: 74px; top: 836px; right: auto; width: 460px; height: 300px; }
.hv-d { left: 550px; top: 836px; width: 400px; height: 300px; }
@media (max-width: 899px) {
  .hv-panel { margin: 0 12px; padding: 26px 0 0; border-radius: 14px; }
  .hv-canvas { border-radius: 0; }
}
/* giro 13: compatto e intero. Barra laterale con le voci, chat in alto in una riga, schede di prima sotto */
.hv-panel { padding: clamp(26px, 3.6vh, 60px) clamp(24px, 9vw, 150px) clamp(26px, 3.6vh, 60px); }
.hv-canvas { width: 1280px; height: 840px; border-radius: 14px; }
.hv-main { left: 236px; padding: 0; }
.hv-head2 { position: absolute; left: 28px; right: 28px; top: 22px; display: flex; align-items: center; gap: 10px; }
.hv-head2 h4 { margin: 0; font-size: 24px; line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; color: #0f172a; }
.hv-head2 small { display: block; margin-top: 3px; font-size: 13px; color: #64748b; }
.hv-head2 small b { font-weight: 600; color: #0f172a; }
.hv-head2 .sp { flex: 1; }
.hv-q2 { position: absolute; left: 28px; right: 28px; top: 84px; height: 56px; display: flex; align-items: center; gap: 10px; padding: 0 7px; border-radius: 14px; background: #fff;
  border: 1px solid #E3E7EF; box-shadow: 0 10px 28px -20px rgba(30, 27, 75, .35); }
.hv-q2 .pl { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid #E3E7EF; color: #475569; }
.hv-q2 .pl .ph { font-size: 19px; }
.hv-q2 .hv-typed { height: 21px; font-size: 15.5px; }
.hv-q2 > .ph { color: #64748b; font-size: 18px; }
.hv-q2 .hv-send { width: 42px; height: 42px; border-radius: 10px; }
.hv-q2 .hv-send .ph { font-size: 18px; }
.hv-k { display: flex; gap: 6px; }
.hv-k span { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border-radius: 999px; background: #F5F7FA; border: 1px solid #E8EBF2; font-size: 13px; color: #334155; white-space: nowrap; }
.hv-k .ph { font-size: 14px; color: #64748b; }
.hv-k em { display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 5px; background: #0f172a; color: #fff; font-size: 11px; font-weight: 600; }
.hv-tip { left: 28px; right: 28px; top: 154px; height: 44px; }
.hv-a { left: 28px; top: 212px; width: 504px; height: 300px; }
.hv-b { left: 548px; top: 212px; right: 28px; width: auto; height: 300px; }
.hv-c { left: 28px; top: 528px; width: 504px; height: 296px; }
.hv-d { left: 548px; top: 528px; width: 272px; height: 296px; }
.hv-e { left: 836px; top: 528px; right: 28px; width: auto; height: 296px; }
.hv-c .hv-rows { top: 58px; }
.hv-c .hv-row { height: 45px; }
@media (max-width: 899px) {
  .hv-panel { padding: 24px 14px 24px; }
}
/* giro 14, ispirazione Harvey: finestra grande, barra laterale scura, bacheca ariosa */
.hv-panel { padding: clamp(40px, 4.4vw, 68px) 8.5% clamp(34px, 3.4vw, 52px); }
.hv-canvas { width: 1280px; height: 780px; border-radius: 14px; background: #F8F8FA; box-shadow: 0 50px 100px -40px rgba(20, 25, 60, .55), 0 0 0 1px rgba(255, 255, 255, .35); }
.hv-side { width: 250px; padding: 22px 14px 16px; background: #fff; border-right: 1px solid #ECEEF3; }   /* bianca, come nell'app */
.hv-logo { padding: 2px 10px 20px; }
.hv-logo svg { width: 92px; color: #0f0d1f; }
.hv-logo span { background: #F1F5F9; color: #64748b; }
.hv-nav { gap: 1px; }
.hv-nav a { height: 34px; color: #334155; font-size: 14px; }
.hv-nav a .ph { color: #64748b; }
.hv-nav a.on { background: #EEF0FF; color: #4338CA; font-weight: 500; }
.hv-nav a.on .ph { color: #4F46E5; }
.hv-nav a em { background: #EEF0FF; color: #4F46E5; }
.hv-nav a em.n { background: #4F46E5; color: #fff; }
.hv-canvas .hv-lab { margin: 18px 10px 6px; color: #94a3b8; }
.hv-brands a { color: #334155; }
.hv-brands a.on { background: #F5F7FA; }
.hv-me { border-color: #EBEEF3; }
.hv-me b { color: #0f172a; }
.hv-me small { color: #64748b; }
.hv-main { left: 250px; }
.hv-head2 { left: 40px; right: 36px; top: 30px; }
.hv-head2 h4 { font-size: 30px; letter-spacing: -0.03em; }
.hv-head2 small { margin-top: 5px; font-size: 13.5px; }
.hv-new2 { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 10px; background: #4F46E5; color: #fff; font-size: 14px; font-weight: 500; }
.hv-new2 .ph { font-size: 15px; }
.hv-q2 { left: 40px; right: 36px; top: 108px; height: 58px; }
.hv-tip { left: 40px; right: 36px; top: 180px; height: 44px; }
.hv-a { left: 40px; top: 242px; width: 470px; height: 300px; }
.hv-b { left: 526px; top: 242px; right: 36px; width: auto; height: 300px; }
.hv-c { left: 40px; top: 558px; width: 470px; height: 300px; }
.hv-d { left: 526px; top: 558px; width: 266px; height: 300px; }
.hv-e { left: 808px; top: 558px; right: 36px; width: auto; height: 300px; }
.hv-d .hv-kpis b { font-size: 16px; }
.hv-card { border-color: #ECEDF2; border-radius: 14px; }
@media (max-width: 899px) {
  .hv-panel { padding: 24px 14px 24px; }
}
.hv-pg { position: absolute; inset: 0; }
.hv-pg:not(.hv-pg--home) { visibility: hidden; }
.hv-pb { position: absolute; left: 40px; right: 36px; top: 112px; bottom: 30px; }
.hv-btn2 { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 13px; border-radius: 10px; background: #fff; border: 1px solid #E5E9F0; font-size: 14px; font-weight: 500; color: #0f172a; white-space: nowrap; }
.hv-btn2 .ph { font-size: 16px; color: #64748b; }
.hv-canvas .hv-lab2 { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: #94a3b8; }
.hv-canvas .why { display: flex; gap: 9px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: #F3F2FF; color: #4338CA; font-size: 13px; line-height: 1.4; }
.hv-canvas .why .ph { flex: none; margin-top: 1px; font-size: 15px; }
.hv-pl { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.hv-pl::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.hv-pl.ap { background: #FFF7E6; color: #B45309; }
.hv-cur { position: absolute; left: 0; top: 0; z-index: 40; width: 28px; height: 28px; pointer-events: none; opacity: 0; visibility: hidden; filter: drop-shadow(0 6px 10px rgba(15, 15, 40, .28)); }

/* contesto del brand, fedele alla pagina dell'app */
.hv-ctx { padding-top: 14px; text-align: center; }
.hv-ctx__id { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 600; color: #0f172a; }
.hv-ctx__id .av { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #b5603f; color: #fff; font-size: 15px; font-weight: 600; }
.hv-ctx__k { display: block; margin-top: 8px; font-size: 13.5px; color: #64748b; }
.hv-canvas .hv-ctx__e { margin-top: 34px; font-size: 13px; font-weight: 600; letter-spacing: .2em; color: #4F46E5; }
.hv-canvas .hv-ctx__s { max-width: 800px; margin: 14px auto 0; font-size: 46px; line-height: 1.08; font-weight: 700; letter-spacing: -0.035em; color: #0f172a; text-wrap: balance; }
.hv-ctx__s .w { display: inline-block; }
.hv-canvas .hv-ctx__n { margin-top: 18px; font-size: 15px; color: #475569; }
.hv-ctx__nums { display: flex; justify-content: center; gap: 84px; margin-top: 38px; }
.hv-ctx__nums b { display: block; font-size: 46px; line-height: 1; font-weight: 600; letter-spacing: -0.035em; color: #0f172a; font-variant-numeric: tabular-nums; }
.hv-ctx__nums span { display: block; margin-top: 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; color: #94a3b8; }

/* piano editoriale: ogni card dice perché c'è */
.hv-plan { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; }
.hv-plan article { display: flex; flex-direction: column; min-height: 0; padding: 18px 20px 16px; border-radius: 14px; background: #fff; border: 1px solid #ECEDF2; }
.hv-plan header { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #64748b; }
.hv-plan header b { font-weight: 600; color: #4F46E5; }
.hv-plan header em { margin-left: auto; display: flex; align-items: center; gap: 5px; }
.hv-plan h5 { margin: 12px 0 0; font-size: 19px; line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; color: #0f172a; }
.hv-canvas .hv-plan p { margin-top: 7px; font-size: 14px; line-height: 1.5; color: #475569; }
.hv-plan .why { margin-top: 12px; }
.hv-plan footer { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; }

/* video AI */
.hv-gen { display: grid; grid-template-columns: 1fr 392px; gap: 22px; align-items: start; }
.hv-gen__l { height: 490px; display: flex; flex-direction: column; padding: 24px 26px; border-radius: 14px; background: #fff; border: 1px solid #ECEDF2; }
.hv-gen__ph { display: flex; gap: 10px; margin-bottom: 24px; }
.hv-gen__ph > i { width: 100px; height: 100px; border-radius: 12px; background-size: cover; background-position: center 30%; }
.hv-gen__ph .add { display: grid; place-items: center; width: 100px; height: 100px; border-radius: 12px; border: 1.5px dashed #D5D9E3; color: #94a3b8; }
.hv-gen__pr { min-height: 104px; padding: 14px 16px; border-radius: 12px; border: 1px solid #E3E7EF; background: #FAFBFD; font-size: 17px; line-height: 1.5; color: #0f172a; }
.hv-gen__opt { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hv-gen__opt span { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border-radius: 999px; background: #F5F7FA; border: 1px solid #E8EBF2; font-size: 13px; color: #334155; }
.hv-gen__go { margin-top: auto; align-self: flex-start; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 12px; background: #4F46E5; color: #fff; font-size: 15.5px; font-weight: 500; }
.hv-gen__v { position: relative; height: 490px; border-radius: 16px; overflow: hidden; background: #E9E4F5 url("/home-media/zag/zagara.jpg") center 30% / cover; }
.hv-gen__v video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hv-gen__0, .hv-gen__w { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; opacity: 0; visibility: hidden; }
.hv-gen__0 { border: 1.5px dashed #D3D0EA; border-radius: 16px; background: #F3F2FA; color: #8B87B8; font-size: 14px; }
.hv-gen__0 .ph { font-size: 34px; }
.hv-gen__w { background: rgba(243, 242, 255, .8); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: #312E81; }
.hv-gen__w b { font-size: 16px; font-weight: 600; }
.hv-gen__w .bar { width: 200px; height: 6px; border-radius: 3px; background: #DCDAF5; overflow: hidden; }
.hv-gen__w .bar i { display: block; height: 100%; background: #4F46E5; transform-origin: 0 50%; }
.hv-gen__w small { font-size: 13px; color: #6366F1; font-variant-numeric: tabular-nums; }
.hv-gen__ok { position: absolute; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: rgba(15, 12, 40, .72); color: #fff; font-size: 12.5px; font-weight: 500; }

/* montaggio */
.hv-mo { display: grid; grid-template-columns: 290px 1fr; gap: 22px; align-items: start; }
.hv-mo__v { position: relative; height: 516px; border-radius: 16px; background: #1f2937 none center / cover; }
.hv-mo__d { position: absolute; left: 12px; top: 12px; display: flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(15, 12, 40, .7); color: #fff; font-size: 12.5px; font-weight: 500; }
.hv-mo__r { display: flex; flex-direction: column; gap: 16px; }
.hv-mo__n { display: flex; align-items: center; gap: 26px; padding: 22px 26px; border-radius: 14px; background: #fff; border: 1px solid #ECEDF2; }
.hv-mo__n small { display: block; font-size: 13px; color: #64748b; }
.hv-mo__n b { display: block; margin-top: 4px; font-size: 46px; line-height: 1; font-weight: 600; letter-spacing: -0.035em; color: #0f172a; font-variant-numeric: tabular-nums; }
.hv-mo__n > .ph { font-size: 26px; color: #94a3b8; }
.hv-mo__n .hv-mo__t { color: #4F46E5; }
.hv-mo__tl { padding: 18px 20px; border-radius: 14px; background: #fff; border: 1px solid #ECEDF2; }
.hv-mo__tl .strip { display: flex; height: 96px; overflow: hidden; border-radius: 8px; }
.hv-mo__tl .strip i { position: relative; flex: none; width: 48px; height: 100%; margin-right: 2px; background-size: cover; background-position: center; }
.hv-mo__tl .strip s { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(239, 68, 68, .6) 0 6px, rgba(239, 68, 68, .28) 6px 12px); opacity: 0; }
.hv-mo__tl .rul { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11.5px; color: #94a3b8; }
.hv-canvas .hv-mo__l { display: grid; gap: 12px; margin: 0; padding: 18px 22px; list-style: none; border-radius: 14px; background: #fff; border: 1px solid #ECEDF2; }
.hv-mo__l li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #0f172a; }
.hv-mo__l li .ph { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: #ECFDF3; color: #15803d; font-size: 14px; }

/* podcast */
.hv-po { display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: start; }
.hv-po__ep { padding: 14px; border-radius: 14px; background: #fff; border: 1px solid #ECEDF2; }
.hv-po__ep .img { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; background: #111 none center / cover; }
.hv-po__ep .d, .hv-po__clips .cl span { position: absolute; display: flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: rgba(15, 12, 40, .72); color: #fff; font-size: 12px; font-weight: 500; }
.hv-po__ep .d { right: 10px; bottom: 10px; }
.hv-po__ep .meta { padding: 14px 4px 8px; }
.hv-po__ep .meta b { display: block; font-size: 16px; font-weight: 600; color: #0f172a; }
.hv-po__ep .meta small { display: block; margin-top: 3px; font-size: 13px; color: #64748b; }
.hv-po__ep .wave { position: relative; display: flex; align-items: center; gap: 2px; height: 56px; padding: 0 4px; }
.hv-po__ep .wave i { flex: 1; border-radius: 2px; background: #CBD5E1; }
.hv-po__ep .wave s { position: absolute; top: 0; bottom: 0; border: 1.5px solid #4F46E5; border-radius: 6px; background: rgba(79, 70, 229, .16); transform-origin: 0 50%; }
.hv-po__clips { display: grid; grid-template-columns: repeat(3, 128px); gap: 12px; }
.hv-po__clips .cl { position: relative; height: 228px; border-radius: 12px; background-size: cover; background-position: center; box-shadow: 0 14px 30px -18px rgba(20, 20, 60, .5); }
.hv-po__clips .cl span { left: 8px; bottom: 8px; }
.hv-canvas .hv-po__ok { grid-column: 1 / -1; display: flex; align-items: center; gap: 7px; margin-top: 4px; font-size: 14px; font-weight: 500; color: #15803d; }
.hv-po__ok .ph { font-size: 17px; }

/* calendario, vista settimana */
.hv-cal { display: flex; flex-direction: column; overflow: hidden; border-radius: 14px; background: #fff; border: 1px solid #ECEDF2; }
.hv-cal__h, .hv-cal__g { display: grid; grid-template-columns: 58px repeat(7, 1fr); }
.hv-cal__h { border-bottom: 1px solid #EEF0F4; }
.hv-cal__h b { display: flex; flex-direction: column; align-items: center; padding: 12px 0 10px; font-size: 20px; font-weight: 600; color: #0f172a; }
.hv-cal__h small { margin-top: 2px; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; color: #94a3b8; }
.hv-cal__g { position: relative; flex: 1; }
.hv-cal__g .hrs { position: relative; }
.hv-cal__g .hrs span { position: absolute; left: 0; right: 9px; text-align: right; font-size: 11.5px; color: #94a3b8; transform: translateY(-50%); }
.hv-cal__g .col { position: relative; border-left: 1px solid #EEF0F4; }
.hv-cal__g .lns { position: absolute; left: 58px; right: 0; top: 0; bottom: 0; pointer-events: none; }
.hv-cal__g .lns i { position: absolute; left: 0; right: 0; border-top: 1px dashed #EEF0F4; }
.hv-cal .ev { position: absolute; z-index: 1; left: 6px; right: 6px; padding: 7px; border-radius: 10px; border: 1.5px solid #86EFAC; background: #F0FDF4; }
.hv-cal .ev img { display: block; width: 100%; height: 60px; object-fit: cover; border-radius: 6px; }
.hv-cal .ev .tx { margin-top: 6px; }
.hv-cal .ev .tx b { display: block; font-size: 12.5px; font-weight: 700; color: #0f172a; }
.hv-cal .ev .tx span { display: -webkit-box; margin-top: 2px; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 11.5px; line-height: 1.3; color: #334155; }
.hv-cal .ev .hv-chs { margin-top: 6px; }
.hv-cal .ev .s { position: relative; display: block; height: 20px; margin-top: 6px; }
.hv-cal .ev .s span { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 4px; height: 20px; padding: 0 7px; border-radius: 999px; font-size: 10.5px; font-weight: 500; white-space: nowrap; }
.hv-cal .ev .s .ok { background: #DCFCE7; color: #15803d; }
.hv-cal .ev .s .ap { background: #FEF3C7; color: #B45309; }
.hv-cal .ev--ap { border-color: #FCD34D; background: #FFFBEB; }
.hv-cal .ev--ap .s .ok { opacity: 0; }
.hv-cal .ev__go { display: flex; align-items: center; justify-content: center; height: 26px; margin-top: 6px; overflow: hidden; border-radius: 7px; background: #4F46E5; color: #fff; font-size: 12px; font-weight: 500; }
.hv-cal__toast { position: absolute; left: 0; right: 0; width: max-content; margin: 0 auto; bottom: 18px; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; background: #0f172a; color: #fff; font-size: 13.5px; font-weight: 500; white-space: nowrap; opacity: 0; box-shadow: 0 16px 30px -14px rgba(15, 23, 42, .5); }
.hv-cal__toast .ph { color: #4ADE80; }

/* Meta Ads */
.hv-ads { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.hv-ads__p, .hv-ads__s { padding: 22px 24px; border-radius: 14px; background: #fff; border: 1px solid #ECEDF2; }
.hv-ads__p .pp { display: flex; gap: 16px; }
.hv-ads__p .pp > i { flex: none; width: 150px; height: 188px; border-radius: 12px; background-size: cover; background-position: center top; }
.hv-ads__p .pp b { display: block; font-size: 18px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; color: #0f172a; }
.hv-ads__p .pp small { display: block; margin-top: 6px; font-size: 13px; color: #64748b; }
.hv-ads__p .hv-stat { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hv-ads__p .hv-stat span { padding: 6px 10px; border-radius: 9px; background: #F7F8FB; font-size: 13px; color: #334155; }
.hv-ads__p .hv-stat b { display: inline; font-size: 15px; }
.hv-ads__p .why { margin-top: 18px; }
.hv-ads__s .h { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 17px; font-weight: 600; color: #0f172a; }
.hv-ads__s .row { padding: 13px 0; border-bottom: 1px solid #F1F3F7; }
.hv-ads__s .row small { display: block; margin-bottom: 4px; font-size: 12.5px; color: #64748b; }
.hv-ads__s .row > span { font-size: 14.5px; color: #0f172a; }
.hv-ads__s .hv-sld { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.hv-ads__s .trk { position: relative; flex: 1; height: 6px; border-radius: 3px; background: #E8EAF2; }
.hv-ads__s .fill { position: absolute; left: 0; top: 0; bottom: 0; width: 25%; border-radius: 3px; background: #4F46E5; }
.hv-ads__s .knob { position: absolute; top: 50%; left: 25%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: #fff; border: 2px solid #4F46E5; box-shadow: 0 2px 6px rgba(30, 27, 75, .25); }
.hv-ads__s .val { min-width: 48px; font-size: 18px; font-weight: 600; color: #0f172a; font-variant-numeric: tabular-nums; }
.hv-ads__s .hv-go { position: relative; display: block; height: 46px; margin-top: 18px; overflow: hidden; border-radius: 12px; }
.hv-ads__s .hv-go > span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15.5px; font-weight: 500; }
.hv-ads__s .hv-go .a { background: #4F46E5; color: #fff; }
.hv-ads__s .hv-go .b { background: #ECFDF3; color: #15803d; opacity: 0; }
.hv-ads__s .kp { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; opacity: 0; }
.hv-ads__s .kp div { padding: 11px 13px; border-radius: 10px; background: #F7F8FB; }
.hv-ads__s .kp small { display: block; font-size: 12px; color: #64748b; }
.hv-ads__s .kp b { display: block; margin-top: 2px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: #0f172a; font-variant-numeric: tabular-nums; }

/* rifiniture dopo le prime foto */
.hv-plan article { display: grid; grid-template-columns: 118px 1fr; gap: 16px; padding: 16px; }
.hv-plan .im { align-self: start; aspect-ratio: 4 / 5; border-radius: 10px; background-size: cover; background-position: center; }
.hv-plan .bd { display: flex; flex-direction: column; min-width: 0; }
.hv-gen__ph > i.lo { background-size: 190%; background-position: 50% 92%; }
.hv-mo__tl .strip i { flex: 1 1 0; width: auto; }
.hv-po__clips { grid-template-columns: repeat(3, 142px); }
.hv-po__clips .cl { height: 252px; }
.hv-ads { grid-template-rows: auto 1fr; }
.hv-ads__p { grid-row: 1; }
.hv-ads__s { grid-column: 2; grid-row: 1 / span 2; }
.hv-ads__c { grid-column: 1; padding: 18px 24px 16px; border-radius: 14px; background: #fff; border: 1px solid #ECEDF2; }
.hv-ads__c .h { display: flex; align-items: center; gap: 12px; }
.hv-ads__c .h b { font-size: 15px; font-weight: 600; color: #0f172a; }
.hv-ads__c .h span { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 12px; color: #64748b; }
.hv-ads__c .hv-sw { width: 9px; height: 9px; border-radius: 3px; background: #C9CCDA; }
.hv-ads__c .sw2 { margin-left: 8px; background: #4F46E5; }
.hv-ads__c .cols { display: flex; align-items: flex-end; gap: 12px; height: 118px; margin-top: 14px; }
.hv-ads__c .cols div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.hv-ads__c .cols i { width: 100%; border-radius: 6px 6px 3px 3px; background: #C9CCDA; transform-origin: 50% 100%; }
.hv-ads__c .cols i.hot { background: #3F3D7A; }
.hv-ads__c .cols i.nw { background: #4F46E5; }
.hv-ads__c .cols span { font-size: 11.5px; color: #94a3b8; }


/* da telefono, sotto il cielo, la frase della pagina accesa: testo grigio semplice, come una didascalia
   (la pillola bianca dentro il cielo pesava più dell'app e sembrava un bottone) */
.hv-cap { display: none; }
@media (max-width: 899px) {
  .hv-cap { display: block; padding: 16px 12px 0; }
  .hvx .hv-cap__t { margin: 0; color: #45434B; font-size: 15px; font-weight: 500; letter-spacing: -0.005em; line-height: 1.4; text-align: center; min-height: 2.8em; }
}

/* ── la sezione ─────────────────────────────────────────────────────────────────────────────────────────── */
.hvx { position: relative; max-width: 1440px; margin: 40px auto 0; padding: 0 24px 60px; box-sizing: border-box; }
.hvx .hv-panel { margin: 0; padding: clamp(40px, 4.4vw, 64px) clamp(24px, 5.5%, 84px) clamp(34px, 3.4vw, 52px); border-radius: 24px; }
@media (max-width: 899px) {
  .hvx { margin-top: 26px; padding: 0 10px 28px; }
  .hvx .hv-panel { padding: 20px 12px 18px; border-radius: 18px; }
}
/* le tab: stesso disegno di prima, la barra sotto quella accesa si riempie mentre la pagina è in vista */
.vx .hv-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 40px auto 0; }
.vx .hv-tabs button { position: relative; overflow: hidden; height: 40px; padding: 0 16px; border: 0; border-radius: 11px; background: #F3F2EF; display: inline-flex; align-items: center;
  font: inherit; font-size: 14.5px; color: #2A2932; cursor: pointer; transition: background .2s, color .2s; }
.vx .hv-tabs button:hover { background: #E9E6FF; }
.vx .hv-tabs button.on { background: #DCD6FF; color: #3A2FC4; font-weight: 500; }
.vx .hv-tabs button:focus-visible { outline: 2px solid #4F46E5; outline-offset: 2px; }
.vx .hv-tabs .bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: #4F46E5; transform: scaleX(0); transform-origin: 0 50%; opacity: 0; pointer-events: none; }
.vx .hv-tabs button.on .bar { opacity: 1; }
.vx .hv-tabs.is-held .bar { display: none; }
@media (max-width: 1199px) {
  .vx .hv-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin: 30px -14px 0; padding: 0 14px; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 28px), transparent); }
  .vx .hv-tabs::-webkit-scrollbar { display: none; }
  .vx .hv-tabs button { flex: none; font-size: 13.5px; }
}

/* le icone dei social dentro il mockup: la regola .vx .ig della home (16px) non deve vincere */
.vx .hv-canvas .hv-chs i { width: 18px; height: 18px; display: grid; }
.vx .hv-canvas .hv-chs i svg { width: 62%; height: 62%; }
/* come nella prova: date delle card del piano e valori dell'asse in grassetto */
.hvx .hv-grid s em, .hvx .hv-plan header em { font-weight: 700; }
/* nelle lingue con frasi lunghe i bottoni in alto restano su una riga: va a capo la frase */
.hvx .hv-head2 > div:first-child { min-width: 0; }
.hvx .hv-head2 .hv-brand, .hvx .hv-head2 .hv-new2, .hvx .hv-head2 .hv-btn2, .hvx .hv-head2 .hv-fire { flex: none; white-space: nowrap; }

/* ── giro 2 (18/11): fuori dalla barra laterale, l'aspetto dell'app vera ──────────────────────────────────
   Come la vecchia sezione del sito (copiata dall'app): fondo #F0F5FA, titolo 25px con megafono, campanella e
   pillola del brand a destra, sotto una riga di chip bianchi e bottoni indaco, card bianche con bordo #E2E8F0,
   la pillola «Chiedi /» in basso. Brand d'esempio Zagara (bibita ai limoni), podcast finto Fuori Onda. */
.hv-canvas { background: #F0F5FA; }
.hv-canvas .ap-top { position: absolute; left: 30px; right: 28px; top: 22px; display: flex; align-items: center; gap: 14px; }
.hv-canvas .ap-top h4 { margin: 0; font-size: 25px; line-height: 1.15; font-weight: 700; letter-spacing: -0.025em; color: #0F172A; }
.hv-canvas .ap-top--home { align-items: flex-start; }
.hv-canvas .ap-top--home small { display: block; margin-top: 4px; font-size: 13.5px; color: #64748B; }
.hv-canvas .ap-top--home small b { font-weight: 600; color: #0F172A; }
.hv-canvas .ap-top > div:first-child { min-width: 0; }
.hv-canvas .ap-top__r { margin-left: auto; flex: none; display: flex; align-items: center; gap: 16px; color: #94A3B8; }
.hv-canvas .ap-top__r > .ph { font-size: 19px; }
.hv-canvas .ap-top__r .hv-fire { height: 36px; font-size: 14px; }
.hv-canvas .ap-brand { display: inline-flex; align-items: center; gap: 9px; height: 36px; padding: 0 11px 0 6px; border: 1px solid #E2E8F0; border-radius: 12px; background: #fff; color: #0F172A; font-size: 14px; font-weight: 600; white-space: nowrap; }
.hv-canvas .ap-brand b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #FEF3C7; color: #A16207; font-size: 10px; font-weight: 800; letter-spacing: -0.02em; }
.hv-canvas .ap-brand--fo b { background: #EDE9FE; color: #6D28D9; }
.hv-canvas .ap-brand .ph { font-size: 13px; color: #94A3B8; }
.hv-canvas .ap-bar { position: absolute; left: 30px; right: 28px; top: 76px; display: flex; align-items: center; gap: 9px; }
.hv-canvas .ap-sp { flex: 1; }
.hv-canvas .ap-chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 13px; background: #fff; border: 1px solid #E2E8F0; border-radius: 10px; font-size: 14px; font-weight: 500; color: #0F172A; white-space: nowrap; }
.hv-canvas .ap-chip .ph { font-size: 15px; color: #64748B; }
.hv-canvas .ap-chip b { font-weight: 600; }
.hv-canvas .ap-btn { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 10px; background: #4F46E5; color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; }
.hv-canvas .ap-btn .ph { font-size: 15px; }
.hv-canvas .ap-btn--soft { background: #E0E7FF; color: #4F46E5; border: 1px solid #C7D2FE; }
.hv-canvas .ap-seg { display: inline-flex; align-items: center; gap: 2px; height: 34px; padding: 3px; background: #fff; border: 1px solid #E2E8F0; border-radius: 10px; }
.hv-canvas .ap-seg > i { display: grid; place-items: center; width: 30px; height: 26px; border-radius: 7px; color: #94A3B8; font-size: 15px; }
.hv-canvas .ap-seg > i.on { background: #6366F1; color: #fff; }
.hv-canvas .ap-seg--t em { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 7px; font-size: 13.5px; font-weight: 500; color: #64748B; }
.hv-canvas .ap-seg--t em.on { background: #6366F1; color: #fff; }
.hv-canvas .ap-pill { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border: 1px solid #E2E8F0; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 500; color: #334155; }
.hv-canvas .ap-ask { position: absolute; left: 50%; bottom: 18px; z-index: 6; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px 0 15px; border-radius: 999px; background: #fff;
  box-shadow: 0 0 0 1px #DCD9FF, 0 10px 24px -10px rgba(79, 70, 229, .45); font-size: 14.5px; font-weight: 600; color: #4338CA; }
.hv-canvas .ap-ask .ph { font-size: 16px; }
.hv-canvas .ap-ask kbd { padding: 2px 7px; border-radius: 6px; background: #F1F5F9; color: #64748B; font: 500 12px/1.3 'Geist', sans-serif; }
.hv-canvas .ap-st { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #334155; }
.hv-canvas .ap-st::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #94A3B8; }
.hv-canvas .ap-st--ok { color: #047857; } .hv-canvas .ap-st--ok::before { background: #10B981; }
.hv-canvas .ap-st--wait { color: #B45309; } .hv-canvas .ap-st--wait::before { background: #F59E0B; }
/* le pagine partono sotto la riga dei chip */
.hv-canvas .hv-pb { top: 126px; bottom: 26px; left: 30px; right: 28px; }
.hv-card, .hv-canvas .hv-gen__l, .hv-canvas .hv-mo__n, .hv-canvas .hv-mo__tl, .hv-canvas .hv-mo__l, .hv-canvas .hv-po__ep, .hv-canvas .hv-cal, .hv-canvas .hv-ads__p, .hv-canvas .hv-ads__s, .hv-canvas .hv-ads__c { border-color: #E2E8F0; }
/* bacheca */
.hv-canvas .hv-q2 { left: 30px; right: 28px; top: 100px; }
.hv-canvas .hv-tip { left: 30px; right: 28px; top: 172px; }
.hv-canvas .hv-a { left: 30px; top: 234px; width: 474px; }
.hv-canvas .hv-b { left: 520px; top: 234px; right: 28px; }
.hv-canvas .hv-c { left: 30px; top: 550px; width: 474px; }
.hv-canvas .hv-d { left: 520px; top: 550px; width: 268px; }
.hv-canvas .hv-e { left: 804px; top: 550px; right: 28px; }
/* contesto del brand */
.hv-canvas .hv-ctx { padding-top: 6px; }
.hv-canvas .hv-ctx__id .av { background: #FEF3C7; color: #A16207; font-size: 13px; font-weight: 800; }
.hv-canvas .hv-ctx__e { margin-top: 26px; }
.hv-canvas .hv-ctx__s { max-width: 760px; font-size: 38px; line-height: 1.12; }
.hv-canvas .hv-ctx__nums { margin-top: 30px; }
.hv-canvas .hv-ctx__nums b { font-size: 40px; }
.hv-canvas .hv-ctx__who { display: flex; gap: 18px; max-width: 760px; margin: 34px auto 0; padding-top: 24px; border-top: 1px solid #E2E8F0; text-align: left; }
.hv-canvas .hv-ctx__who > span { font-size: 13px; font-weight: 700; color: #6366F1; padding-top: 6px; }
.hv-canvas .hv-ctx__who h5 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: #0F172A; }
.hv-canvas .hv-ctx__who p { margin-top: 8px; font-size: 14px; color: #94A3B8; }
.hv-canvas .hv-ctx__who p b { color: #64748B; }
/* piano editoriale, card come nell'app */
.hv-canvas .ap-sub { display: flex; align-items: center; gap: 12px; height: 34px; }
.hv-canvas .ap-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: #334155; }
.hv-canvas .ap-sub > b { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; letter-spacing: -0.015em; color: #0F172A; }
.hv-canvas .ap-sub > b .ph-fill { color: #4F46E5; }
.hv-canvas .hv-plan.hv-plan--app { position: absolute; left: 0; right: 0; top: 50px; bottom: auto; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: none; gap: 14px; }
.hv-canvas .hv-plan--app article { display: flex; flex-direction: column; min-height: 0; padding: 14px 15px 13px; border-radius: 14px; background: #fff; border: 1px solid #E2E8F0; border-top: 3px solid #CBD5E1; }
.hv-canvas .hv-plan--app header { display: flex; align-items: center; gap: 6px; padding-bottom: 11px; border-bottom: 1px solid #EEF2F7; font-size: 14px; font-weight: 600; color: #0F172A; }
.hv-canvas .hv-plan--app header b { color: #6366F1; font-weight: 700; }
.hv-canvas .hv-plan--app header em { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border-radius: 6px; background: #EEF2FF; color: #4F46E5; font-size: 11.5px; font-weight: 600; }
.hv-canvas .hv-plan--app .im { display: block; height: 150px; margin-top: 12px; border-radius: 10px; background-size: cover; background-position: center; aspect-ratio: auto; }
.hv-canvas .hv-plan--app h5 { margin: 12px 0 0; font-size: 15px; line-height: 1.35; font-weight: 700; letter-spacing: -0.01em; color: #0F172A; }
.hv-canvas .hv-plan--app p { margin-top: 7px; font-size: 13px; line-height: 1.5; color: #64748B; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.hv-canvas .hv-plan--app footer { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #EEF2F7; }
.hv-canvas .hv-plan--app article { min-height: 470px; }
.hv-canvas .hv-plan--app p + footer { margin-top: auto; }
/* video AI */
.hv-canvas .hv-gen__ph > i { background-position: center; }
/* montaggio: sottotitolo sopra l'anteprima */
.hv-canvas .hv-mo__v { background-size: cover; background-position: center 30%; overflow: hidden; }
.hv-canvas .hv-mo__sub { position: absolute; left: 0; right: 0; bottom: 26%; text-align: center; color: #fff; font-size: 22px; font-weight: 600; line-height: 1.15; text-shadow: 0 2px 10px rgba(0, 0, 0, .55); }
.hv-canvas .hv-mo__sub em { font-family: 'Noto Serif', Georgia, serif !important; font-style: italic !important; font-weight: 700; font-size: 34px; }
/* podcast: il titolo della clip sopra la copertina */
.hv-canvas .hv-po__ep .img { background-size: cover; background-position: center; }
.hv-canvas .hv-po__clips .cl { overflow: hidden; }
.hv-canvas .hv-po__clips .cl::before { content: ""; position: absolute; inset: 0 0 auto; height: 45%; background: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); }
.hv-canvas .hv-po__clips .cl em { position: absolute; left: 10px; right: 10px; top: 12px; color: #fff; font-size: 13px; font-weight: 700; line-height: 1.25; text-align: center; }
/* la finestra si stringe (hv-mockup.js) per stare intera nello schermo: resta centrata nel cielo */
.hvx .hv-stage { margin-left: auto; margin-right: auto; }
.hvx .hv-panel { padding-top: clamp(28px, 3.4vw, 52px); padding-bottom: clamp(26px, 3vw, 44px); }
.hv-canvas .hv-plan--app .im { align-self: stretch; width: auto; }
/* il cielo abbraccia la finestra: margini laterali fissi, larghezza data da hv-mockup.js */
.hvx .hv-panel { margin-left: auto; margin-right: auto; padding-left: clamp(24px, 4vw, 64px); padding-right: clamp(24px, 4vw, 64px); }
@media (max-width: 899px) { .hvx .hv-panel { padding-left: 12px; padding-right: 12px; } }

/* ── giro 3 (18/11): le pagine come nell'app vera (misure lette su app.bynor.ai) ──────────────────────────
   Testata: titolo 20px/600, a destra serie di giorni, campanella, brand (32px, raggio 8, bordo #D5DDE7).
   Bottoni e filtri 32px, raggio 8, 13px/600; segmenti su fondo grigio con l'opzione accesa bianca.
   Card bianche, bordo rgba(15,23,42,.08), raggio 14, ombra leggera. Fondo #F1F4F8. */
.hv-canvas { background: #F1F4F8; }
.hv-canvas .rx-top { position: absolute; left: 34px; right: 30px; top: 18px; height: 34px; display: flex; align-items: center; gap: 8px; }
.hv-canvas .rx-top h4 { margin: 0; font-size: 20px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; color: #0F172A; }
.hv-canvas .rx-sp { flex: 1; }
.hv-canvas .rx-streak { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 10px; border-radius: 8px; background: #FFF7ED; border: 1px solid #FDDCB5; color: #B45309; font-size: 13px; font-weight: 700; }
.hv-canvas .rx-streak .ph-fill { color: #F97316; font-size: 14px; }
.hv-canvas .rx-bell { position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: #fff; border: 1px solid #D5DDE7; color: #475569; }
.hv-canvas .rx-bell .ph { font-size: 16px; }
.hv-canvas .rx-bell::after { content: ""; position: absolute; top: 6px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: #EF4444; box-shadow: 0 0 0 2px #fff; }
.hv-canvas .rx-brand { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 9px 0 4px; border-radius: 8px; background: #fff; border: 1px solid #D5DDE7; font-size: 13px; font-weight: 700; color: #0F172A; white-space: nowrap; }
.hv-canvas .rx-brand b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #E9A800; color: #fff; font-size: 11px; font-weight: 800; }
.hv-canvas .rx-brand--fo b { background: #6D28D9; }
.hv-canvas .rx-brand .ph { font-size: 12px; color: #64748B; }
.hv-canvas .rx-bar { position: absolute; left: 34px; right: 30px; top: 66px; display: flex; align-items: center; gap: 8px; }
.hv-canvas .rx-bar--2 { top: 108px; }
.hv-canvas .rx-btn { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 8px; background: #fff; border: 1px solid #D5DDE7; font-size: 13px; font-weight: 600; color: #0F172A; white-space: nowrap; }
.hv-canvas .rx-btn .ph { font-size: 14px; color: #475569; }
.hv-canvas .rx-btn .ph-caret-down, .hv-canvas .rx-btn .ph-caret-left, .hv-canvas .rx-btn .ph-caret-right { font-size: 12px; color: #64748B; }
.hv-canvas .rx-btn b { font-weight: 700; }
.hv-canvas .rx-btn em { display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 5px; background: #4F46E5; color: #fff; font-size: 11px; font-weight: 700; }
.hv-canvas .rx-btn--pri { background: #4F46E5; border-color: #4F46E5; color: #fff; font-weight: 700; }
.hv-canvas .rx-btn--pri .ph { color: #fff; }
.hv-canvas .rx-btn--soft { background: rgba(79, 70, 229, .10); border-color: #CECBF8; color: #453BCD; }
.hv-canvas .rx-btn--soft .ph { color: #453BCD; }
.hv-canvas .rx-btn--ico { width: 32px; padding: 0; justify-content: center; }
.hv-canvas .rx-btn--sm { height: 30px; padding: 0 11px; font-size: 12.5px; }
.hv-canvas .rx-btn--done { background: #ECFDF3; border-color: #ADE5B7; color: #007A30; }
.hv-canvas .rx-btn--done .ph { color: #00A946; }
.hv-canvas .rx-seg { display: inline-flex; align-items: center; gap: 2px; height: 32px; padding: 3px; border-radius: 8px; background: #E6EAF0; }
.hv-canvas .rx-seg > span { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 9px; border-radius: 6px; font-size: 13px; font-weight: 600; color: #475569; }
.hv-canvas .rx-seg > span.on { background: #fff; color: #0F172A; box-shadow: 0 1px 2px rgba(18, 24, 34, .12); }
.hv-canvas .rx-seg .ph, .hv-canvas .rx-seg .ph-fill { font-size: 14px; }
.hv-canvas .rx-muted { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #637085; }
.hv-canvas .rx-muted .ph { font-size: 13px; }
.hv-canvas .rx-card { background: #fff; border: 1px solid rgba(15, 23, 42, .08); border-radius: 14px; box-shadow: 0 1px 3px rgba(18, 24, 34, .08), 0 1px 2px -1px rgba(18, 24, 34, .08); }
.hv-canvas .rx-cap { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #637085; }
.hv-canvas .rx-pill { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.hv-canvas .rx-pill--amber { background: #FFF4E5; color: #985500; }
.hv-canvas .rx-pill--amber .ph-fill { color: #F97316; }
.hv-canvas .rx-pill--ai { background: rgba(79, 70, 229, .10); color: #453BCD; }
.hv-canvas .rx-ask { position: absolute; left: 50%; bottom: 16px; z-index: 6; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 8px 0 14px; border-radius: 12px; background: #fff;
  border: 1.5px solid #A9A4F6; box-shadow: 0 8px 22px -12px rgba(79, 70, 229, .5); font-size: 14px; font-weight: 600; color: #0F172A; white-space: nowrap; }
.hv-canvas .rx-ask .ph { font-size: 16px; color: #4F46E5; }
.hv-canvas .rx-ask kbd { display: grid; place-items: center; min-width: 24px; height: 24px; border-radius: 6px; border: 1px solid #D5DDE7; background: #F8FAFC; color: #475569; font: 600 12px/1 'Geist', sans-serif; }
.hv-canvas .rx-ask--wide { width: 420px; font-weight: 500; color: #637085; }
.hv-canvas .rx-ask--wide kbd { margin-left: auto; }
.hv-canvas .rx-st { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: #475569; }
.hv-canvas .rx-st::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #94A3B8; }
.hv-canvas .rx-st--ok { color: #007A30; } .hv-canvas .rx-st--ok::before { background: #00A946; }
.hv-canvas .rx-st--wait { color: #985500; } .hv-canvas .rx-st--wait::before { background: #F59E0B; }
.hv-canvas .rx-st--dev { color: #475569; } .hv-canvas .rx-st--dev::before { background: #F97316; }

/* bacheca */
.hv-canvas .rx-home { position: absolute; left: 50%; top: 64px; width: 730px; transform: translateX(-50%); text-align: center; }
.hv-canvas .rx-date { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 7px; background: #E4E8EE; color: #475569; font-size: 12px; font-weight: 600; }
.hv-canvas .rx-home h3 { margin: 12px 0 0; font-size: 40px; line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; color: #0F172A; }
.hv-canvas .rx-home .rx-sub { margin: 10px 0 0; font-size: 15px; color: #475569; }
.hv-canvas .rx-home .rx-sub b { font-weight: 700; color: #0F172A; }
.hv-canvas .rx-alert { display: flex; align-items: center; gap: 10px; width: 600px; height: 42px; margin: 16px auto 0; padding: 0 8px 0 13px; border-radius: 10px; background: #ECFDF3; border: 1px solid #ADE5B7; text-align: left; font-size: 13px; color: #1E293B; white-space: nowrap; }
.hv-canvas .rx-alert .ph-fill { font-size: 17px; color: #00A946; }
.hv-canvas .rx-alert span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.hv-canvas .rx-alert b { font-weight: 700; color: #007A30; }
.hv-canvas .rx-alert a { flex: none; display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 7px; background: #fff; border: 1px solid #D5DDE7; font-size: 12.5px; font-weight: 600; color: #0F172A; text-decoration: none; }
.hv-canvas .rx-chat { position: relative; display: flex; align-items: center; gap: 10px; width: 600px; height: 50px; margin: 12px auto 0; padding: 0 6px; border-radius: 12px; background: #fff; border: 1px solid #D5DDE7; box-shadow: 0 1px 2px rgba(18, 24, 34, .06); text-align: left; }
.hv-canvas .rx-chat .pl { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; border: 1px solid #D5DDE7; color: #475569; }
.hv-canvas .rx-chat .pl .ph { font-size: 17px; }
.hv-canvas .rx-chat .hv-typed { height: 21px; font-size: 15px; }
.hv-canvas .rx-chat > .ph { font-size: 17px; color: #64748B; }
.hv-canvas .rx-chat .hv-send { width: 38px; height: 38px; border-radius: 10px; }
.hv-canvas .rx-short { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.hv-canvas .rx-short span { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 9px; background: #fff; border: 1px solid #D5DDE7; font-size: 13px; font-weight: 500; color: #0F172A; }
.hv-canvas .rx-short .ph { font-size: 14px; color: #475569; }
.hv-canvas .rx-short em { display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 5px; background: #0F172A; color: #fff; font-size: 11px; font-weight: 700; }
.hv-canvas .rx-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; text-align: left; }
.hv-canvas .rx-block { padding: 16px 18px; min-height: 300px; }
.hv-canvas .rx-block__h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.hv-canvas .rx-block__h b { flex: 1; font-size: 16px; font-weight: 700; color: #0F172A; }
.hv-canvas .rx-block__h a { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: #4F46E5; text-decoration: none; }
.hv-canvas .rx-block .hv-rows { position: static; }
.hv-canvas .rx-block .hv-row { height: 52px; padding: 0; gap: 10px; border-top: 1px solid #EEF2F7; }
.hv-canvas .rx-block .hv-row:first-child { border-top: 0; }
.hv-canvas .rx-block .hv-row .tx b { font-size: 13.5px; font-weight: 600; }
.hv-canvas .rx-block .hv-row .tx small { font-size: 12px; color: #637085; }
.hv-canvas .rx-block .hv-st { width: 98px; }
.hv-canvas .rx-mis { margin: 0; padding: 0; list-style: none; }
.hv-canvas .rx-mis li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid #EEF2F7; }
.hv-canvas .rx-mis li:first-child { border-top: 0; }
.hv-canvas .rx-mis li > .ph { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 8px; background: #F1F4F8; color: #475569; font-size: 15px; }
.hv-canvas .rx-mis li > div { flex: 1; min-width: 0; }
.hv-canvas .rx-mis b { display: block; font-size: 13.5px; font-weight: 700; line-height: 1.3; color: #0F172A; }
.hv-canvas .rx-tag { display: inline-flex; margin-top: 3px; padding: 1px 7px; border-radius: 5px; background: #EEF1F6; color: #475569; font-size: 11.5px; font-weight: 600; }
.hv-canvas .rx-tag--amber { background: #FFF4E5; color: #985500; }
.hv-canvas .rx-prize { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid #EEF2F7; font-size: 12.5px; color: #475569; }
.hv-canvas .rx-prize b { font-weight: 700; color: #985500; }
.hv-canvas .rx-trk { margin: 7px 0 0; height: 4px; border-radius: 2px; background: #EEF1F6; }
.hv-canvas .rx-trk i { background: #B45309; }

/* DNA del brand */
.hv-canvas .rx-dna { position: absolute; left: 34px; right: 30px; top: 70px; bottom: 0; display: grid; grid-template-columns: 250px 1fr; gap: 34px; }
.hv-canvas .rx-dna__l { padding-top: 22px; }
.hv-canvas .rx-dna__l h3 { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; color: #0F172A; }
.hv-canvas .rx-dna__l > p:not(.rx-cap) { margin: 8px 0 0; font-size: 14.5px; line-height: 1.45; color: #475569; }
.hv-canvas .rx-dna__bar { height: 5px; margin-top: 22px; border-radius: 3px; background: #E4E8EE; overflow: hidden; }
.hv-canvas .rx-dna__bar i { display: block; height: 100%; width: 100%; background: #16A34A; transform-origin: 0 50%; transform: scaleX(.86); }
.hv-canvas .rx-dna__pc { display: block; margin-top: 8px; font-size: 13px; color: #475569; }
.hv-canvas .rx-dna__pc a { color: #4F46E5; text-decoration: none; }
.hv-canvas .rx-dna__l .rx-cap { margin-top: 22px; }
.hv-canvas .rx-src { margin: 8px 0 0; padding: 0; list-style: none; }
.hv-canvas .rx-src li { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.hv-canvas .rx-src .s { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 6px; color: #fff; }
.hv-canvas .rx-src .s svg { width: 62%; height: 62%; }
.hv-canvas .rx-src .s.ig { background: linear-gradient(45deg, #f9a03c, #e8336e 55%, #b62fb3); }
.hv-canvas .rx-src .s.tt { background: #111114; }
.hv-canvas .rx-src .s.web, .hv-canvas .rx-src .s.pdf, .hv-canvas .rx-src--add .s.in { background: #E4E8EE; color: #64748B; }
.hv-canvas .rx-src .s .ph { font-size: 13px; }
.hv-canvas .rx-src li > div { flex: 1; min-width: 0; }
.hv-canvas .rx-src li > div > b { display: block; font-size: 13.5px; font-weight: 600; color: #0F172A; }
.hv-canvas .rx-src small { display: block; font-size: 12px; color: #637085; }
.hv-canvas .rx-src small b { font-weight: 600; color: #475569; }
.hv-canvas .rx-src .ok { color: #00A946; font-size: 15px; }
.hv-canvas .rx-src a { font-size: 13px; font-weight: 600; color: #4F46E5; }
.hv-canvas .rx-dna__r { display: flex; flex-direction: column; gap: 14px; padding-top: 22px; }
.hv-canvas .rx-dc { padding: 16px 20px; }
.hv-canvas .rx-dc > p:not(.rx-cap):not(.rx-k) { margin: 6px 0 0; font-size: 13.5px; line-height: 1.55; color: #1E293B; }
.hv-canvas .rx-dc > a { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; color: #4F46E5; }
.hv-canvas .rx-dc__id { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.hv-canvas .rx-dc__id .av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #E9A800; color: #fff; font-size: 16px; font-weight: 800; }
.hv-canvas .rx-dc__id h5 { margin: 0; font-size: 17px; font-weight: 700; color: #0F172A; }
.hv-canvas .rx-dc__id small { display: block; font-size: 12px; color: #637085; }
.hv-canvas .rx-k { margin: 12px 0 0; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #637085; }
.hv-canvas .rx-dc__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hv-canvas .rx-dc__cols p:not(.rx-k) { margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: #1E293B; }
.hv-canvas .rx-dc__cols i { font-style: italic !important; color: #475569; }
.hv-canvas .rx-dc__imgs { display: flex; gap: 8px; margin-top: 10px; }
.hv-canvas .rx-dc__imgs i { width: 74px; height: 96px; border-radius: 8px; background-size: cover; background-position: center; }

/* piano editoriale */
.hv-canvas .rx-planh { position: absolute; left: 34px; right: 30px; top: 114px; display: flex; align-items: center; gap: 10px; }
.hv-canvas .rx-planh h3 { margin: 0 2px; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; color: #0F172A; }
.hv-canvas .rx-plan.hv-plan { position: absolute; left: 34px; right: 30px; top: 162px; bottom: auto; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: none; gap: 14px; }
.hv-canvas .rx-plan article { display: flex; flex-direction: column; gap: 0; min-height: 0; padding: 5px 5px 12px; border-radius: 14px; border-top-width: 1px; }
.hv-canvas .rx-plan .m { position: relative; height: 118px; border-radius: 10px; background-color: #F1F4F8; background-size: cover; background-position: center; }
.hv-canvas .rx-plan .f { position: absolute; left: 7px; top: 7px; display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 7px; border-radius: 6px; background: rgba(255, 255, 255, .92); font-size: 11.5px; font-weight: 600; color: #0F172A; }
.hv-canvas .rx-plan .f .ph { font-size: 12px; }
.hv-canvas .rx-plan .meta { display: flex; align-items: center; gap: 6px; margin: 11px 9px 0; font-size: 13px; font-weight: 500; color: #637085; }
.hv-canvas .rx-plan .meta > span { flex: 1; }
.hv-canvas .rx-plan .meta > .ph { font-size: 13px; color: #94A3B8; }
.hv-canvas .rx-plan .meta em { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 6px; border-radius: 6px; border: 1px solid #D5DDE7; font-size: 12px; font-weight: 600; color: #0F172A; }
.hv-canvas .rx-plan .meta em .ph { font-size: 11px; color: #64748B; }
.hv-canvas .rx-plan article h5 { margin: 10px 9px 0; font-size: 14.5px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; color: #0F172A; }
.hv-canvas .rx-plan article p { margin: 5px 9px 0; font-size: 12.5px; line-height: 1.45; color: #475569; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hv-canvas .rx-plan article footer { display: flex; align-items: center; justify-content: space-between; margin: 12px 9px 0; }

/* video AI come chat */
.hv-canvas .rx-conv { position: absolute; left: 50%; top: 118px; width: 680px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 16px; }
.hv-canvas .rx-me { align-self: flex-end; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; max-width: 420px; }
.hv-canvas .rx-me .att { display: flex; gap: 6px; }
.hv-canvas .rx-me .att i { width: 52px; height: 52px; border-radius: 9px; background-size: cover; background-position: center; }
.hv-canvas .rx-me > p { margin: 0; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: #0F172A; color: #fff; font-size: 14px; line-height: 1.45; box-shadow: 0 12px 26px -12px rgba(15, 23, 42, .45); }
.hv-canvas .rx-bot { display: flex; gap: 10px; }
.hv-canvas .rx-bot .mk { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 8px; background: #0F172A; color: #fff; }
.hv-canvas .rx-bot .mk svg { width: 15px; height: 15px; }
.hv-canvas .rx-bot .c > p { margin: 4px 0 10px; font-size: 14px; line-height: 1.5; color: #1E293B; }
.hv-canvas .rx-vcard.hv-gen__v { width: 196px; height: 348px; border-radius: 14px; }
.hv-canvas .rx-acts { display: flex; gap: 6px; margin-top: 10px; }
.hv-canvas .rx-composer { position: absolute; left: 50%; bottom: 20px; width: 680px; transform: translateX(-50%); padding: 12px 10px 10px 16px; border-radius: 14px; background: #fff; border: 1.5px solid #A9A4F6; box-shadow: 0 10px 26px -16px rgba(79, 70, 229, .5); }
.hv-canvas .rx-composer .hv-gen__pr { display: block; min-height: 22px; padding: 0; border: 0; background: none; font-size: 15px; line-height: 1.45; color: #0F172A; }
.hv-canvas .rx-composer__row { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.hv-canvas .rx-composer__row .pl { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; border: 1px solid #D5DDE7; color: #475569; }
.hv-canvas .rx-composer__row .semi { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 8px; border: 1px solid #D5DDE7; font-size: 12.5px; font-weight: 600; color: #475569; }
.hv-canvas .rx-composer__row > .ph { font-size: 17px; color: #64748B; }
.hv-canvas .rx-composer .hv-gen__go { margin: 0; align-self: auto; width: 34px; height: 34px; padding: 0; justify-content: center; border-radius: 9px; background: #4F46E5; font-size: 16px; }

/* montaggio e podcast sotto la riga dei comandi */
.hv-canvas .hv-pg--mon .hv-pb, .hv-canvas .hv-pg--pod .hv-pb { top: 118px; left: 34px; right: 30px; }

/* calendario */
.hv-canvas .rx-cal.hv-cal { position: absolute; left: 34px; right: 30px; top: 152px; bottom: -16px; padding: 6px 6px 0; }
.hv-canvas .rx-cal .hv-cal__h { border-bottom: 0; }
.hv-canvas .rx-cal .hv-cal__h b { flex-direction: row; justify-content: center; gap: 7px; height: 34px; margin: 0 3px 6px; padding: 0; border-radius: 8px; background: #EEF1F6; font-size: 15px; font-weight: 700; color: #0F172A; }
.hv-canvas .rx-cal .hv-cal__h b small { margin: 0; font-size: 11px; letter-spacing: .08em; color: #637085; }
.hv-canvas .rx-cal .hv-cal__h b.today { background: #E8E7FC; color: #4F46E5; }
.hv-canvas .rx-cal .hv-cal__h b.today small { color: #4F46E5; }
.hv-canvas .rx-cal .hv-cal__h b.today span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #4F46E5; color: #fff; font-size: 13px; }
.hv-canvas .rx-cal .hv-cal__g .col { margin: 0 3px; border-left: 0; background: #F7F8FA; }
.hv-canvas .rx-cal .hv-cal__g .col.today { background: #F1F0FD; }
.hv-canvas .rx-cal .hv-cal__g .lns i { border-top: 1px dashed #DDE2E9; }
.hv-canvas .rx-cal .hv-cal__g .hrs span { font-size: 11.5px; font-weight: 600; color: #637085; }
.hv-canvas .rx-now { position: absolute; left: 58px; right: 0; height: 2px; background: #DC2626; z-index: 2; }
.hv-canvas .rx-now::before { content: ""; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: #DC2626; }
.hv-canvas .rx-cal .ev { left: 4px; right: 4px; padding: 7px 7px 7px 8px; border: 0; border-left: 3px solid #16A34A; border-radius: 8px; background: #EAF7EE; display: grid; grid-template-columns: 30px 1fr; column-gap: 7px; }
.hv-canvas .rx-cal .ev img { width: 30px; height: 30px; border-radius: 6px; grid-row: span 2; }
.hv-canvas .rx-cal .ev .tx { margin: 0; min-width: 0; }
.hv-canvas .rx-cal .ev .tx b { display: flex; align-items: center; gap: 4px; font-size: 13px; }
.hv-canvas .rx-cal .ev .tx b .ph { font-size: 12px; color: #16A34A; }
.hv-canvas .rx-cal .ev .tx span { font-size: 11.5px; }
.hv-canvas .rx-cal .ev .hv-chs { grid-column: 1 / -1; margin-top: 6px; }
.hv-canvas .rx-cal .ev .hv-chs i { width: 16px; height: 16px; }
.hv-canvas .rx-cal .ev .ev__go, .hv-canvas .rx-cal .ev .s { grid-column: 1 / -1; }
.hv-canvas .rx-cal .ev:not(.ev--ap) .s { display: none; }
.hv-canvas .rx-cal .ev--ap { background: #FFF7E6; border-left-color: #F59E0B; }
.hv-canvas .rx-cal .ev--ap .tx b .ph { color: #D97B00; }

/* Meta Ads: grafico a sinistra, chat a destra */
.hv-canvas .rx-ads { position: absolute; left: 0; top: 0; bottom: 0; right: 344px; }
.hv-canvas .rx-ads .rx-top, .hv-canvas .rx-ads .rx-bar { right: 22px; }
.hv-canvas .rx-spend { position: absolute; left: 34px; right: 22px; top: 114px; height: 346px; padding: 14px 18px; }
.hv-canvas .rx-spend__h { display: flex; align-items: center; gap: 8px; }
.hv-canvas .rx-spend__n { display: block; margin-top: 14px; font-size: 36px; line-height: 1; font-weight: 700; letter-spacing: -0.03em; color: #0F172A; }
.hv-canvas .rx-spend > .rx-muted { margin-top: 8px; }
.hv-canvas .rx-spend .up { display: inline-flex; align-items: center; gap: 2px; margin-left: 6px; color: #007A30; font-weight: 600; }
.hv-canvas .rx-spend__g { display: block; width: 100%; height: 170px; margin-top: 12px; overflow: visible; }
.hv-canvas .rx-spend__g .cur { stroke: #3B6FE6; stroke-width: 2.4; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.hv-canvas .rx-spend__g .old { stroke: #94A3B8; stroke-width: 1.6; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; }
.hv-canvas .rx-spend__g .fill { fill: rgba(59, 111, 230, .08); stroke: none; }
.hv-canvas .rx-spend__x { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11.5px; color: #637085; }
.hv-canvas .rx-today { position: absolute; left: 34px; right: 22px; top: 476px; height: 120px; padding: 14px 18px; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; }
.hv-canvas .rx-today p { flex-basis: 100%; margin: 0 0 8px; }
.hv-canvas .rx-today b { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: #0F172A; }
.hv-canvas .rx-today span { margin-right: 14px; font-size: 13px; color: #475569; }
.hv-canvas .rx-panel { position: absolute; right: 0; top: 0; bottom: 0; width: 344px; background: #fff; border-left: 1px solid #E5EAEF; }
.hv-canvas .rx-panel__h { display: flex; align-items: center; gap: 6px; height: 52px; padding: 0 16px; font-size: 14px; color: #0F172A; }
.hv-canvas .rx-panel__h b { font-weight: 600; }
.hv-canvas .rx-panel__h .ph { font-size: 13px; color: #64748B; }
.hv-canvas .rx-sugs { position: absolute; left: 18px; right: 18px; top: 110px; }
.hv-canvas .rx-sugs p { margin: 0 0 12px; font-size: 15px; line-height: 1.4; font-weight: 700; color: #0F172A; }
.hv-canvas .rx-sugs ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.hv-canvas .rx-sugs li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid #D5DDE7; font-size: 13px; line-height: 1.35; color: #0F172A; }
.hv-canvas .rx-sugs li .ph { flex: none; font-size: 15px; color: #475569; }
.hv-canvas .rx-sugs li .ph:last-child { margin-left: auto; font-size: 12px; color: #94A3B8; }
.hv-canvas .rx-thread { position: absolute; left: 14px; right: 14px; top: 62px; display: flex; flex-direction: column; gap: 10px; }
.hv-canvas .rx-me2 { align-self: flex-end; max-width: 240px; margin: 0; padding: 9px 12px; border-radius: 14px 14px 4px 14px; background: #0F172A; color: #fff; font-size: 13px; line-height: 1.4; }
.hv-canvas .rx-bot2 { margin: 0; font-size: 13px; line-height: 1.5; color: #1E293B; }
.hv-canvas .rx-prop.hv-ads__s { padding: 12px 14px; border-radius: 12px; border: 1px solid #D5DDE7; background: #fff; }
.hv-canvas .rx-prop .pp { display: flex; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid #F1F3F7; }
.hv-canvas .rx-prop .pp > i { flex: none; width: 46px; height: 58px; border-radius: 7px; background-size: cover; background-position: center top; }
.hv-canvas .rx-prop .pp b { display: block; font-size: 13.5px; font-weight: 700; color: #0F172A; }
.hv-canvas .rx-prop .pp small { display: block; margin-top: 3px; font-size: 12px; color: #637085; }
.hv-canvas .rx-prop .row { padding: 8px 0; }
.hv-canvas .rx-prop .row small { margin-bottom: 2px; font-size: 11.5px; }
.hv-canvas .rx-prop .row > span { font-size: 12.5px; }
.hv-canvas .rx-prop .hv-sld { margin-top: 4px; }
.hv-canvas .rx-prop .val { font-size: 15px; min-width: 40px; }
.hv-canvas .rx-prop .knob { width: 16px; height: 16px; margin: -8px 0 0 -8px; }
.hv-canvas .rx-prop .hv-go { height: 38px; margin-top: 10px; border-radius: 9px; }
.hv-canvas .rx-prop .hv-go > span { font-size: 13.5px; }
.hv-canvas .rx-prop .kp { margin-top: 10px; gap: 8px; }
.hv-canvas .rx-prop .kp div { padding: 8px 10px; }
.hv-canvas .rx-prop .kp b { font-size: 17px; }
.hv-canvas .rx-panel__in { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 7px 0 12px; border-radius: 12px; border: 1px solid #D5DDE7; color: #637085; font-size: 13.5px; }
.hv-canvas .rx-panel__in span { flex: 1; }
.hv-canvas .rx-panel__in .ph { font-size: 16px; }
.hv-canvas .rx-panel__in b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #C9C5FB; color: #fff; }

.hv-canvas .rx-cal .hv-cal__toast { bottom: 84px; }
.hv-canvas .rx-vcard.hv-gen__v { width: 166px; height: 296px; }
.hv-canvas .rx-conv { top: 112px; gap: 14px; }

/* ── giro 4 (18/11): Chat AI, Inbox con automazioni, campagne a cascata, bacheca coi grafici ───────────────── */
/* la bacheca coi grafici usa la testata col saluto; a destra gli stessi bottoni delle altre pagine */
.hv-canvas .ap-top--home .ap-top__r { gap: 8px; }
/* nell'app il messaggio dell'utente è una bolla bianca col bordo */
.hv-canvas .rx-me > p, .hv-canvas .rx-me2 { background: #fff; color: #0F172A; border: 1px solid #D5DDE7; border-radius: 12px; box-shadow: none; }
.hv-canvas .rx-seg > span u { text-decoration: none; margin-left: 2px; padding: 0 6px; border-radius: 999px; background: #E6EAF0; font-size: 11px; color: #475569; }
.hv-canvas .rx-seg > span.on u { background: #EEF1F6; }
.hv-canvas .rx-seg--sm { height: 30px; }
.hv-canvas .rx-seg--sm > span { height: 24px; font-size: 12.5px; }
.hv-canvas .rx-tg { position: relative; display: inline-block; flex: none; width: 30px; height: 17px; border-radius: 999px; background: #CBD5E1; }
.hv-canvas .rx-tg i { position: absolute; left: 2px; top: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .25); }
.hv-canvas .rx-tg.is-on { background: #4F46E5; }
.hv-canvas .rx-tg.is-on i { left: 15px; }

/* Chat AI */
.hv-canvas .rx-cv { position: absolute; left: 50%; top: 112px; width: 600px; transform: translateX(-50%); }
.hv-canvas .rx-cv__day { margin: 0; text-align: center; font-size: 12px; font-weight: 600; color: #637085; }
.hv-canvas .rx-cv__me { width: max-content; max-width: 420px; margin: 12px 0 0 auto; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid #D5DDE7; font-size: 14px; line-height: 1.45; color: #0F172A; }
.hv-canvas .rx-cv__think { display: flex; align-items: center; gap: 5px; margin: 20px 0 0; font-size: 13px; color: #637085; }
.hv-canvas .rx-cv__think .ph { font-size: 13px; }
.hv-canvas .rx-cv__think .ph-sparkle { color: #4F46E5; }
.hv-canvas .rx-cv__ans > p:first-child { margin: 10px 0 0; font-size: 14.5px; line-height: 1.55; color: #0F172A; }
.hv-canvas .rx-cv__ans b { font-weight: 700; }
.hv-canvas .rx-cv__steps { margin: 12px 0 0; padding: 0; list-style: none; counter-reset: st; }
.hv-canvas .rx-cv__steps li { counter-increment: st; display: flex; gap: 10px; padding: 6px 0; font-size: 14px; line-height: 1.5; color: #0F172A; }
.hv-canvas .rx-cv__steps li::before { content: counter(st); display: grid; place-items: center; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; border: 1px solid #D5DDE7; font-size: 11px; font-weight: 700; color: #0F172A; }
.hv-canvas .rx-cv__q { margin: 16px 0 0; text-align: right; font-size: 11.5px; color: #637085; }
.hv-canvas .rx-cv__quick { display: flex; justify-content: flex-end; gap: 6px; margin-top: 6px; }
.hv-canvas .rx-cv__quick span { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 8px; background: #E8E7FC; color: #453BCD; font-size: 12.5px; font-weight: 600; }
.hv-canvas .rx-cv__in { width: 600px; bottom: 40px; }
.hv-canvas .rx-cv__in .rx-cv__t { position: relative; display: block; height: 22px; font-size: 15px; line-height: 22px; color: #0F172A; white-space: nowrap; overflow: hidden; }
.hv-canvas .rx-cv__in .rx-cv__t .ph-t { position: absolute; left: 0; top: 0; color: #94A3B8; }
.hv-canvas .rx-cv__send { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #C9C5FB; color: #fff; font-size: 16px; }
.hv-canvas .rx-cv__disc { position: absolute; left: 0; right: 0; bottom: 16px; margin: 0; text-align: center; font-size: 11.5px; color: #637085; }

/* Inbox */
.hv-canvas .rx-ib { position: absolute; inset: 0; }
.hv-canvas .rx-ib__list { position: absolute; left: 34px; top: 112px; bottom: 16px; width: 246px; padding: 10px; overflow: hidden; }
.hv-canvas .rx-ib__list .srch { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border-radius: 8px; background: #EEF1F6; font-size: 13px; color: #637085; }
.hv-canvas .rx-ib__list .tb { display: flex; gap: 14px; margin: 10px 4px 10px; border-bottom: 1px solid #EEF2F7; font-size: 13px; font-weight: 600; color: #637085; }
.hv-canvas .rx-ib__list .tb span { display: inline-flex; align-items: center; gap: 5px; padding-bottom: 8px; }
.hv-canvas .rx-ib__list .tb .on { color: #4F46E5; box-shadow: inset 0 -2px 0 #4F46E5; }
.hv-canvas .rx-ib__list .tb em { padding: 0 6px; border-radius: 999px; background: #EEF1F6; font-size: 11px; color: #475569; }
.hv-canvas .rx-ib__list .gr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hv-canvas .rx-ib__list .gr > i { position: relative; height: 150px; border-radius: 8px; background-size: cover; background-position: center; }
.hv-canvas .rx-ib__list .gr > i.on { box-shadow: 0 0 0 2px #4F46E5; }
.hv-canvas .rx-ib__list .gr b { position: absolute; left: 6px; top: 6px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; color: #fff; }
.hv-canvas .rx-ib__list .gr b svg { width: 62%; height: 62%; }
.hv-canvas .rx-ib__list .gr b.ig { background: linear-gradient(45deg, #f9a03c, #e8336e 55%, #b62fb3); }
.hv-canvas .rx-ib__list .gr b.fb { background: #1877f2; }
.hv-canvas .rx-ib__list .gr b.tt { background: #111114; }
.hv-canvas .rx-ib__conv { position: absolute; left: 292px; right: 30px; top: 112px; bottom: 16px; padding: 0; overflow: hidden; }
.hv-canvas .rx-ib__conv .hd { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #EEF2F7; }
.hv-canvas .rx-ib__conv .hd > i { flex: none; width: 44px; height: 44px; border-radius: 8px; background-size: cover; background-position: center; }
.hv-canvas .rx-ib__conv .hd b { display: block; font-size: 13.5px; font-weight: 700; color: #0F172A; }
.hv-canvas .rx-ib__conv .hd small { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12px; color: #637085; }
.hv-canvas .rx-ib__conv .hd .hv-chs i { width: 15px; height: 15px; }
.hv-canvas .rx-ib__conv > .rx-seg { margin: 12px 16px 4px; }
.hv-canvas .rx-cm { margin: 0; padding: 0 16px; list-style: none; }
.hv-canvas .rx-cm > li { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px solid #F1F3F7; }
.hv-canvas .rx-cm .av { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; color: #fff; font-size: 12px; font-weight: 700; }
.hv-canvas .rx-cm > li > div { flex: 1; min-width: 0; }
.hv-canvas .rx-cm .who { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; }
.hv-canvas .rx-cm .who b { font-weight: 700; color: #0F172A; }
.hv-canvas .rx-cm .who small { font-size: 11.5px; color: #94A3B8; }
.hv-canvas .rx-sent { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; background: #ECFDF3; color: #007A30; font-size: 11px; font-weight: 600; }
.hv-canvas .rx-sent--q { background: #EFF6FF; color: #006AAF; }
.hv-canvas .rx-cm .txt { margin: 4px 0 0; font-size: 13.5px; line-height: 1.45; color: #1E293B; }
.hv-canvas .rx-cm .rp { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 12.5px; color: #637085; }
.hv-canvas .rx-ar { margin-top: 8px; }
.hv-canvas .rx-ar .tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: #4F46E5; }
.hv-canvas .rx-ar .r { display: flex; align-items: center; gap: 8px; width: max-content; max-width: 100%; margin: 6px 0 0; padding: 8px 11px; border-radius: 10px; background: #F1F4F8; font-size: 13px; color: #0F172A; }
.hv-canvas .rx-ar .zav { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #E9A800; color: #fff; font-size: 10px; font-weight: 800; }
/* Automazioni */
.hv-canvas .rx-au { position: absolute; left: 0; right: 0; top: 56px; bottom: 0; padding: 0 40px; }
.hv-canvas .rx-au__back { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; color: #475569; }
.hv-canvas .rx-au__h { display: flex; align-items: flex-start; gap: 20px; margin-top: 16px; }
.hv-canvas .rx-au__h > div { flex: 1; }
.hv-canvas .rx-au__h h3 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: #0F172A; }
.hv-canvas .rx-au__h p { max-width: 520px; margin: 8px 0 0; font-size: 13.5px; line-height: 1.5; color: #475569; }
.hv-canvas .rx-au__g { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.hv-canvas .rx-au__c { padding: 16px 18px 14px; }
.hv-canvas .rx-au__c .t { display: flex; align-items: center; }
.hv-canvas .rx-au__c .t b { flex: 1; font-size: 15px; font-weight: 700; color: #0F172A; }
.hv-canvas .rx-au__c .t .ph { color: #64748B; }
.hv-canvas .rx-au__c .n { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12.5px; color: #475569; }
.hv-canvas .rx-au__c .n .hv-chs i { width: 16px; height: 16px; }
.hv-canvas .rx-au__c .row { display: grid; grid-template-columns: 22px 120px 1fr; align-items: start; gap: 8px; margin-top: 12px; font-size: 13px; }
.hv-canvas .rx-au__c .row > .ph { font-size: 15px; color: #64748B; margin-top: 1px; }
.hv-canvas .rx-au__c .row > span { color: #475569; }
.hv-canvas .rx-au__c .row p { margin: 0; line-height: 1.45; color: #0F172A; }
.hv-canvas .rx-au__c .row em { display: inline-flex; padding: 1px 7px; border-radius: 6px; background: rgba(79, 70, 229, .10); color: #453BCD; font-size: 12px; font-weight: 600; }
.hv-canvas .rx-au__c .f { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #EEF2F7; font-size: 13px; color: #475569; }
.hv-canvas .rx-au__c .lab { position: relative; display: inline-grid; }
.hv-canvas .rx-au__c .lab > span { grid-area: 1 / 1; }
.hv-canvas .rx-au__c .rx-tg--sw ~ .lab .a { opacity: 0; }

/* Meta Ads: campagne a cascata (la «lavagna» dell'app) */
.hv-canvas .rx-lav { position: absolute; left: 34px; right: 22px; top: 112px; bottom: 0; overflow: hidden; border-radius: 14px 14px 0 0; border: 1px solid rgba(15, 23, 42, .08); border-bottom: 0;
  background: #F6F8FB radial-gradient(#D3D9E2 1px, transparent 1.2px) 0 0 / 14px 14px; }
.hv-canvas .rx-lav__ln { position: absolute; left: 0; top: 0; width: 630px; height: 668px; overflow: visible; }
.hv-canvas .rx-lav__ln path { fill: none; stroke: #B6C0CE; stroke-width: 1.3; }
.hv-canvas .rx-lav__ln path.nw { stroke: #7C74F0; stroke-dasharray: 4 4; }
.hv-canvas .rx-lav__acc { position: absolute; left: 200px; top: 18px; width: 230px; height: 54px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-radius: 10px; background: #4F46E5; color: #fff; box-shadow: 0 8px 18px -10px rgba(79, 70, 229, .6); }
.hv-canvas .rx-lav__acc > .ph { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: rgba(255, 255, 255, .16); font-size: 15px; }
.hv-canvas .rx-lav__acc b { font-size: 13px; font-weight: 700; }
.hv-canvas .rx-lav__acc span { margin-left: 6px; padding: 1px 6px; border-radius: 5px; background: rgba(255, 255, 255, .2); font-size: 10.5px; font-weight: 600; }
.hv-canvas .rx-lav__acc small { display: block; margin-top: 2px; font-size: 11px; opacity: .85; }
.hv-canvas .rx-lav__cp, .hv-canvas .rx-lav__gr, .hv-canvas .rx-lav__ads { position: absolute; width: 190px; }
.hv-canvas .rx-lav__cp, .hv-canvas .rx-lav__gr, .hv-canvas .rx-lav__ads .ad { background: #fff; border: 1px solid rgba(15, 23, 42, .1); border-radius: 10px; box-shadow: 0 1px 3px rgba(18, 24, 34, .08); }
.hv-canvas .rx-lav__cp { top: 110px; height: 102px; padding: 9px 11px; }
.hv-canvas .rx-lav__gr { top: 238px; height: 78px; padding: 9px 11px; }
.hv-canvas .rx-lav__ads { top: 340px; display: flex; flex-direction: column; gap: 8px; }
.hv-canvas .rx-lav .k { display: flex; align-items: center; gap: 5px; margin: 0; font-size: 9.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #637085; }
.hv-canvas .rx-lav .k .ph { font-size: 11px; }
.hv-canvas .rx-lav .k .rx-tg { margin-left: auto; transform: scale(.8); transform-origin: right center; }
.hv-canvas .rx-lav .k em { padding: 1px 5px; border-radius: 4px; background: #4F46E5; color: #fff; font-size: 9px; letter-spacing: .02em; }
.hv-canvas .rx-lav__cp > b, .hv-canvas .rx-lav__gr > b { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 700; color: #0F172A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-canvas .rx-lav__cp > small, .hv-canvas .rx-lav__gr > small { display: block; margin-top: 2px; font-size: 11px; color: #637085; }
.hv-canvas .rx-lav__gr > small b { color: #0F172A; }
.hv-canvas .rx-lav .nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 8px; }
.hv-canvas .rx-lav .nums span { font-size: 9.5px; color: #637085; }
.hv-canvas .rx-lav .nums b { display: block; font-size: 12px; font-weight: 700; color: #0F172A; }
.hv-canvas .rx-lav__new { border: 1.5px solid #7C74F0; box-shadow: 0 10px 22px -12px rgba(79, 70, 229, .55); }
.hv-canvas .rx-lav__ads .ad { display: flex; gap: 8px; padding: 7px; }
.hv-canvas .rx-lav__ads .ad > i { flex: none; width: 40px; height: 50px; border-radius: 6px; background-size: cover; background-position: center; }
.hv-canvas .rx-lav__ads .ad > div { min-width: 0; }
.hv-canvas .rx-lav__ads .ad b { display: block; font-size: 11.5px; font-weight: 700; color: #0F172A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-canvas .rx-lav__ads .ad small { display: flex; align-items: center; gap: 4px; margin-top: 2px; font-size: 10.5px; color: #637085; }
.hv-canvas .rx-lav__ads .ad small.on::before, .hv-canvas .rx-lav__ads .ad small.off::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #00A946; }
.hv-canvas .rx-lav__ads .ad small.off::before { background: #94A3B8; }
.hv-canvas .rx-lav__ads .ad small b { display: inline; font-size: 10.5px; }
.hv-canvas .rx-lav .k em { text-transform: none; letter-spacing: 0; font-size: 9.5px; }
/* lavagna: card abbastanza alte da contenere i numeri con le loro etichette */
.hv-canvas .rx-lav__acc { top: 16px; }
.hv-canvas .rx-lav__cp { top: 104px; height: 120px; padding: 10px 12px; }
.hv-canvas .rx-lav__gr { top: 248px; height: 82px; padding: 10px 12px; }
.hv-canvas .rx-lav__ads { top: 354px; }
.hv-canvas .rx-lav .nums { margin-top: 10px; }
.hv-canvas .rx-lav .nums span { line-height: 1.3; }
.hv-canvas .rx-lav .nums b { margin-bottom: 1px; line-height: 1.2; }
.hv-canvas .rx-lav .nums { grid-template-columns: 1fr 1fr 1.3fr; }
.hv-canvas .rx-lav .nums span { white-space: nowrap; }

/* ── lavagna delle campagne, rifatta sulla vera (18/11): vista da lontano (scala 0,83), linee curve, «+» per un
   nuovo gruppo, linea che scende dietro le inserzioni, «Aggiungi un'inserzione» */
.hv-canvas .lv-in { position: absolute; left: 0; top: 0; width: 760px; height: 806px; transform: scale(.829); transform-origin: 0 0; }
.hv-canvas .lv-in .rx-lav__ln { width: 760px; height: 806px; }
.hv-canvas .lv-in .rx-lav__ln path { stroke: #B9C2CF; stroke-width: 1.4; }
.hv-canvas .lv-in .rx-lav__ln path.nw { stroke: #B9C2CF; stroke-dasharray: none; }
.hv-canvas .lv-in .rx-lav__ln path.add { stroke: #B9C2CF; stroke-dasharray: 4 4; }
.hv-canvas .lv-acc { position: absolute; left: 260px; top: 18px; width: 240px; height: 56px; display: flex; align-items: center; gap: 11px; padding: 0 14px; border-radius: 10px; background: #4F46E5; color: #fff; box-shadow: 0 10px 22px -12px rgba(79, 70, 229, .65); }
.hv-canvas .lv-acc > .ph { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: rgba(255, 255, 255, .16); font-size: 16px; }
.hv-canvas .lv-acc p { display: flex; align-items: center; gap: 8px; margin: 0; }
.hv-canvas .lv-acc b { font-size: 13.5px; font-weight: 700; }
.hv-canvas .lv-acc span { padding: 1px 7px; border-radius: 5px; background: rgba(255, 255, 255, .2); font-size: 11px; font-weight: 600; }
.hv-canvas .lv-acc small { display: block; margin-top: 3px; font-size: 11.5px; opacity: .9; }
.hv-canvas .lv-cp, .hv-canvas .lv-gr, .hv-canvas .lv-ad { background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; box-shadow: 0 1px 3px rgba(18, 24, 34, .07); }
.hv-canvas .lv-cp { position: absolute; top: 118px; width: 220px; height: 124px; padding: 12px 14px; }
.hv-canvas .lv-gr { position: absolute; top: 290px; width: 190px; height: 96px; padding: 11px 13px; }
.hv-canvas .lv-in .k { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #637085; }
.hv-canvas .lv-in .k .ph { font-size: 12px; }
.hv-canvas .lv-in .k .rx-tg { margin-left: auto; transform: none; }
.hv-canvas .lv-in .k em { padding: 1px 6px; border-radius: 5px; background: #4F46E5; color: #fff; font-size: 10px; letter-spacing: 0; text-transform: none; }
.hv-canvas .lv-in .nm { display: block; margin-top: 9px; font-size: 13px; font-weight: 700; color: #0F172A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-canvas .lv-cp > small, .hv-canvas .lv-gr > small { display: block; margin-top: 3px; font-size: 11.5px; color: #637085; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-canvas .lv-gr > small + small { margin-top: 5px; color: #0F172A; }
.hv-canvas .lv-gr > small b { font-weight: 700; }
.hv-canvas .lv-in .nums { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 6px; margin-top: 11px; }
.hv-canvas .lv-in .nums span { font-size: 10.5px; line-height: 1.3; color: #637085; white-space: nowrap; }
.hv-canvas .lv-in .nums b { display: block; font-size: 13px; font-weight: 700; color: #0F172A; }
.hv-canvas .lv-new { border: 1.5px solid #8B84F2; box-shadow: 0 12px 24px -14px rgba(79, 70, 229, .6); }
.hv-canvas .lv-plus { position: absolute; top: 323px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 1px solid #D5DDE7; color: #64748B; font-size: 14px; box-shadow: 0 1px 2px rgba(18, 24, 34, .06); }
.hv-canvas .lv-col { position: absolute; top: 412px; width: 190px; display: flex; flex-direction: column; gap: 10px; }
.hv-canvas .lv-ad { display: flex; gap: 10px; height: 78px; padding: 9px; }
.hv-canvas .lv-ad > i { flex: none; width: 46px; height: 58px; border-radius: 6px; background-size: cover; background-position: center; }
.hv-canvas .lv-ad > div { min-width: 0; }
.hv-canvas .lv-ad b { font-size: 12px; font-weight: 700; color: #0F172A; }
.hv-canvas .lv-ad > div > b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-canvas .lv-ad small { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 11px; color: #0F172A; white-space: nowrap; }
.hv-canvas .lv-ad .lv-st { display: inline-flex; align-items: center; gap: 5px; color: #475569; }
.hv-canvas .lv-ad .lv-st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #94A3B8; }
.hv-canvas .lv-ad .lv-st.on::before { background: #00A946; }
.hv-canvas .lv-ad .lv-fm { color: #94A3B8; }
.hv-canvas .lv-add { display: flex; align-items: center; justify-content: center; gap: 6px; height: 34px; border-radius: 10px; border: 1px dashed #CBD5E1; background: rgba(255, 255, 255, .85); font-size: 12px; font-weight: 600; color: #475569; }
