/* =====================================================================
   NexQ-AI Sales Suite — stile della cornice dei mockup (non fa parte dell'app)
   Colori dal logo NexQuentia: bordeaux #8B1E3F · blu #0764A9 · navy #00315C
   ===================================================================== */
:root {
  --nq-brand: #8B1E3F; --nq-brand-700: #761632; --nq-brand-50: #FBF1F4; --nq-brand-200: #EDBDCB;
  --nq-ocean: #0764A9; --nq-ocean-900: #00315C; --nq-ocean-950: #021F3B; --nq-ocean-50: #EEF6FC;
  --nq-ink: #0F172A; --nq-muted: #64748B; --nq-line: #E2E8F0;
}
html, body { margin: 0; }
.mk-body { font-family: Inter, system-ui, sans-serif; color: var(--nq-ink);
  background: radial-gradient(1200px 600px at 50% 0%, #E6EEF6 0%, #EEF1F5 55%, #F1EEF0 100%); min-height: 100vh; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; }
@keyframes wave { 0%, 100% { height: 6px; } 50% { height: 28px; } }
.wave { height: 6px; animation: wave .9s ease-in-out infinite; }

/* Barra mockup */
.mk-bar { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; gap: 14px;
  padding: 8px 20px; min-height: 44px; background: var(--nq-ocean-950); color: #fff; font-size: 13px;
  border-bottom: 3px solid var(--nq-brand); }
.mk-bar a { color: #D7EAF8; text-decoration: none; }
.mk-bar a:hover { color: #fff; }
.mk-bar__brand { display: flex; align-items: center; gap: 8px; font-family: Montserrat, sans-serif; font-weight: 800; color: #fff !important; }
.mk-bar__brand img { width: 24px; height: 24px; background: #fff; border-radius: 6px; padding: 1px; }
.mk-bar__code { background: var(--nq-brand); border-radius: 999px; padding: 2px 10px; font-weight: 700; font-size: 12px; }
.mk-bar__title { font-weight: 600; }
.mk-bar__spacer { flex: 1; }
.mk-bar__disc { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: #CBD5E1;
  border: 1px dashed rgba(255,255,255,.3); border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.mk-bar__disc svg { color: #DE90A7; }
.mk-bar__nav { display: flex; gap: 6px; }
.mk-bar__nav a { display: inline-flex; align-items: center; gap: 4px; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; padding: 3px 10px; white-space: nowrap; }

/* Stage: elenco viste · telefono · note */
.mk-stage { display: grid; grid-template-columns: 250px 440px minmax(320px, 440px); gap: 36px; justify-content: center;
  align-items: start; padding: 28px 24px 40px; }
.mk-views { position: sticky; top: 72px; background: #fff; border-radius: 16px; padding: 12px; box-shadow: 0 4px 16px rgba(2,31,59,.07);
  max-height: calc(100vh - 100px); overflow-y: auto; }
.mk-views__group + .mk-views__group { margin-top: 10px; }
.mk-views__head { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--nq-muted); padding: 4px 8px; }
.mk-views__item { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 9px; font-size: 12.5px; font-weight: 600;
  color: #334155; text-decoration: none; }
.mk-views__item:hover { background: #F1F5F9; }
.mk-views__item.is-on { background: var(--nq-ocean-50); color: var(--nq-ocean-900); box-shadow: inset 3px 0 0 var(--nq-brand); }
.mk-views__code { font-size: 10.5px; font-weight: 800; color: var(--nq-brand); min-width: 26px; }
.mk-phone { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.mk-phone__caption { font-size: 12px; font-weight: 600; color: var(--nq-muted); }
.mk-notes { position: sticky; top: 72px; background: #fff; border-radius: 16px; padding: 20px 22px; font-size: 14px; line-height: 1.55;
  box-shadow: 0 4px 16px rgba(2,31,59,.07); border-top: 4px solid var(--nq-brand); }
.mk-notes__eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--nq-brand); }
.mk-notes h2 { font-family: Montserrat, sans-serif; font-size: 20px; font-weight: 800; margin: 4px 0 8px; color: var(--nq-ocean-900); line-height: 1.2; }
.mk-notes__lead { color: #334155; margin: 0; }
.mk-notes h3 { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--nq-muted); margin: 16px 0 6px; font-weight: 800; }
.mk-notes p { margin: 0; color: #334155; }
.mk-notes ul { margin: 0; padding-left: 18px; color: #334155; list-style: disc; }
.mk-notes li { margin-bottom: 4px; }
.mk-notes__try li::marker { content: '▸  '; color: var(--nq-brand); }
.mk-notes__disc { margin-top: 18px; padding-top: 12px; border-top: 1px dashed var(--nq-line); font-size: 12px; color: var(--nq-muted); display: flex; gap: 8px; }
.mk-notes__disc svg { flex-shrink: 0; color: var(--nq-brand); margin-top: 2px; }

@media (max-width: 1180px) {
  .mk-stage { grid-template-columns: 440px minmax(300px, 440px); }
  .mk-views { display: none; }
}
@media (max-width: 900px) {
  .mk-stage { grid-template-columns: 1fr; justify-items: center; padding: 16px; }
  .mk-notes { position: static; max-width: 440px; }
  .mk-bar__disc, .mk-bar__title { display: none; }
}
/* modalità screenshot: solo il telefono */
.shot .mk-bar, .shot .mk-views, .shot .mk-notes, .shot .mk-phone__caption { display: none !important; }
.shot .mk-stage { display: block; padding: 0; }
.shot.mk-body { background: transparent; }
