*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { font-family: 'Inter', sans-serif; }

/* ════════════════════════════
   PAGE LAYOUT
════════════════════════════ */
.page {
  display: flex;
  width: 100%;
  height: 100vh;
}

/* ════════════════════════════
   LEFT PANEL
════════════════════════════ */
.l-panel {
  flex: 1;
  background: linear-gradient(150deg, #eef2ff 0%, #e6ebfe 40%, #dde6fd 100%);
  background-image:
    radial-gradient(rgba(79,70,229,0.05) 1px, transparent 1px),
    linear-gradient(150deg, #eef2ff 0%, #e6ebfe 45%, #dde6fd 100%);
  background-size: 30px 30px, 100% 100%;
  display: flex;
  flex-direction: column;
  padding: 40px 44px 36px;
  position: relative;
  overflow: hidden;
  border-right: 1px solid rgba(99,102,241,0.1);
}

/* ambient glows */
.l-panel::before {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: rgba(129,140,248,0.22);
  top: -160px; left: -120px;
  filter: blur(70px);
  pointer-events: none;
}
.l-panel::after {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(52,211,153,0.14);
  bottom: -100px; right: -80px;
  filter: blur(60px);
  pointer-events: none;
}

/* ── Logo ── */
.l-logo {
  flex-shrink: 0;
  position: relative; z-index: 2;
}
.l-logo img {
  height: 32px;
  filter: none;
}


.slider-track {
  display: flex;
  width: 500%;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-pane {
  width: 20%;
  flex-shrink: 0;
  padding: 0 2px;
}

/* ── Timeline (Account History slide) ── */
.tl-list { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.tl-row { display: flex; align-items: center; gap: 9px; font-size: 0.69rem; }
.tl-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.tl-text { flex: 1; color: #374151; line-height: 1.35; }
.tl-time { color: #9ca3af; font-size: 0.62rem; white-space: nowrap; }

/* ── Contact+opp split (Contact & Opp slide) ── */
.mc-split { display: flex; gap: 7px; margin-top: 8px; }
.mc-contact-box, .mc-opp-box {
  flex: 1; background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 9px; padding: 8px 10px;
}
.mc-av {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg,#60a5fa,#3b82f6);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 10px; font-weight: 700; margin-bottom: 5px;
}
.mc-cname { font-size: 0.68rem; font-weight: 600; color: #111827; }
.mc-crole { font-size: 0.57rem; color: #9ca3af; margin-top: 1px; }
.mc-olabel { font-size: 0.56rem; text-transform: uppercase; color: #9ca3af; margin-bottom: 3px; letter-spacing: 0.04em; }
.mc-oval { font-size: 0.85rem; font-weight: 700; color: #111827; }
.mc-ostage {
  display: inline-block; font-size: 0.57rem; font-weight: 600;
  padding: 2px 7px; border-radius: 99px;
  background: #eff6ff; color: #2563eb; margin-top: 4px;
}

/* ── Export button (Quick Reports slide) ── */
.mc-export {
  display: inline-flex; align-items: center; gap: 5px;
  background: #f0fdf4; color: #059669;
  border: 1px solid #d1fae5;
  border-radius: 7px; font-size: 0.64rem; font-weight: 600;
  padding: 4px 10px; margin-top: 8px; cursor: pointer;
  font-family: 'Inter', sans-serif; letter-spacing: 0.02em;
}

/* ── Mock CRM card ── */
.mock-card {
  background: rgba(10, 18, 60, 0.62);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px;
  padding: 20px 22px 22px;
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}
.mock-card::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-7px); }
}

/* window chrome */
.mc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.mc-dots { display: flex; gap: 5px; }
.mc-dots span {
  width: 9px; height: 9px; border-radius: 50%;
}
.mc-dots .d-red    { background: #ff5f57; }
.mc-dots .d-yellow { background: #febc2e; }
.mc-dots .d-green  { background: #28c840; }
.mc-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-left: 4px;
}

/* ── SLIDE 1: Leads ── */
.stat-row {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}
.stat-box {
  flex: 1;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
}
.stat-val {
  font-size: 1.2rem;
  font-weight: 700;
  color: #111827;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-val.blue   { color: #2563eb; }
.stat-val.violet { color: #7c3aed; }
.stat-val.green  { color: #059669; }
.stat-lbl {
  font-size: 0.68rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.prog-list { display: flex; flex-direction: column; gap: 10px; }
.prog-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.prog-lbl {
  font-size: 0.72rem;
  color: #374151;
  width: 72px;
  flex-shrink: 0;
}
.prog-bar {
  flex: 1;
  height: 5px;
  background: #e5e7eb;
  border-radius: 99px;
  overflow: hidden;
}
.prog-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #60a5fa, #818cf8);
}
.prog-pct {
  font-size: 0.7rem;
  font-weight: 600;
  color: #6b7280;
  width: 28px;
  text-align: right;
}

/* ── SLIDE 2: Pipeline ── */
.pipeline-grid {
  display: flex;
  gap: 5px;
}
.pipe-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pipe-col-lbl {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 4px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e5e7eb;
}
.pipe-deal {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px 10px;
}
.pipe-deal .pd-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: #1f2937;
}
.pipe-deal .pd-val {
  font-size: 0.65rem;
  color: #9ca3af;
  margin-top: 2px;
}
.pipe-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 600;
  border-radius: 4px;
  padding: 1px 5px;
  margin-top: 4px;
}

/* ── SLIDE 3: Analytics ── */
.kpi-row {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}
.kpi-box {
  flex: 1;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
}
.kpi-val {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  line-height: 1;
  margin-bottom: 4px;
}
.kpi-val.up   { color: #059669; font-size: 0.9rem; }
.kpi-val.warn { color: #d97706; }
.kpi-lbl {
  font-size: 0.65rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.bar-chart-wrap {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 80px;
  padding-top: 8px;
}
.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  height: 100%;
  justify-content: flex-end;
}
.bar-fill {
  width: 100%;
  border-radius: 5px 5px 0 0;
  min-height: 8px;
  background: linear-gradient(180deg, #60a5fa, #3b82f6);
  transition: height 0.4s ease;
}
.bar-fill.accent { background: linear-gradient(180deg, #a78bfa, #7c3aed); }
.bar-month {
  font-size: 0.6rem;
  color: #9ca3af;
  letter-spacing: 0.02em;
}

/* ── Bottom: text + navigation ── */
.l-bottom {
  flex-shrink: 0;
  position: relative; z-index: 2;
  padding-top: 20px;
  text-align: center;
}
.slide-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1e2a52;
  line-height: 1.25;
  margin-bottom: 6px;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.slide-sub {
  font-size: 0.8rem;
  color: rgba(30,42,82,0.6);
  line-height: 1.6;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.slide-heading.fading,
.slide-sub.fading {
  opacity: 0;
  transform: translateY(6px);
}

.slide-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}
.slide-nav-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(99,102,241,0.22);
  color: #4338ca;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s, transform 0.15s, box-shadow .2s;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(99,102,241,0.12);
}
.slide-nav-btn:hover {
  background: #eef2ff;
  transform: scale(1.1);
}
.slide-dots { display: flex; align-items: center; gap: 6px; }
.sdot {
  height: 7px;
  border-radius: 99px;
  background: rgba(99,102,241,0.25);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  width: 7px;
}
.sdot.active {
  width: 22px;
  background: #4f46e5;
}

/* ════════════════════════════
   RIGHT PANEL
════════════════════════════ */
.r-panel {
  flex: 1;
  background: #f8f9ff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 40px;
}
.r-circle-tr {
  position: absolute;
  top: -170px; right: -150px;
  width: 440px; height: 440px;
  border-radius: 50%;
  background: #cdd3f5;
  opacity: 0.65;
  pointer-events: none;
}
.r-circle-br {
  position: absolute;
  bottom: -190px; right: -120px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: #cdd3f5;
  opacity: 0.5;
  pointer-events: none;
}
.r-dots {
  position: absolute;
  bottom: 26px; right: 26px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 7px;
  opacity: 0.3;
  pointer-events: none;
  z-index: 1;
}
.r-dots span {
  display: block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #7c8ef0;
}

/* form card */
.form-card {
  background: #fff;
  border-radius: 24px;
  padding: 38px 40px 32px;
  width: 100%;
  box-shadow: 0 8px 40px rgba(91,114,238,0.1);
}
.logo-box {
  width: 64px; height: 64px;
  background: #fff;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 4px 18px rgba(91,114,238,0.18);
  overflow: hidden; padding: 10px;
}
.logo-box img { width: 100%; height: auto; }
.form-card h1 {
  font-size: 1.3rem; font-weight: 700;
  color: #1a1a2e; text-align: center;
  margin-bottom: 22px;
}
.field { margin-bottom: 14px; }
.field-lbl {
  font-size: 0.8rem; font-weight: 500;
  color: #374151; display: block; margin-bottom: 5px;
}
.inp-wrap { position: relative; }
.inp-wrap .iicon {
  position: absolute; left: 13px; top: 50%;
  transform: translateY(-50%);
  color: #9ca3af; font-size: 14px; pointer-events: none;
}
.inp-wrap input {
  width: 100%; height: 44px;
  padding: 0 13px 0 38px;
  border: 1.5px solid #e5e7eb; border-radius: 10px;
  font-size: 0.875rem; font-family: 'Inter', sans-serif;
  color: #1f2937; background: #f9fafb; outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.inp-wrap input:focus {
  border-color: #5b72ee; background: #fff;
  box-shadow: 0 0 0 3px rgba(91,114,238,0.1);
}
.inp-wrap input::placeholder { color: #c0c7d6; }
.toggle-eye {
  position: absolute; right: 11px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none; padding: 0;
  cursor: pointer; color: #9ca3af; font-size: 14px;
}
.toggle-eye:hover { color: #6b7280; }
.form-options {
  display: flex; align-items: center;
  justify-content: space-between;
  margin: 14px 0 20px;
}
.remember-lbl {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.8125rem; color: #6b7280;
  cursor: pointer; user-select: none;
}
.remember-lbl input[type=checkbox] {
  width: 14px; height: 14px; accent-color: #5b72ee;
}
.forgot-link {
  font-size: 0.8125rem; font-weight: 500;
  color: #5b72ee; text-decoration: none;
}
.forgot-link:hover { text-decoration: underline; }
.btn-login {
  width: 100%; height: 46px;
  background: #5b72ee; color: #fff;
  border: none; border-radius: 10px;
  font-size: 0.9375rem; font-weight: 600;
  font-family: 'Inter', sans-serif; cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-login:hover {
  background: #4a61dd; transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(91,114,238,0.35);
}
.btn-login:active { transform: none; }
.login-error {
  display: none; align-items: center; gap: 8px;
  background: #fef2f2; border: 1px solid #fecaca;
  color: #dc2626; border-radius: 8px;
  padding: 9px 13px; font-size: 0.8125rem; margin-top: 12px;
}

/* ── Shake animation ── */
@keyframes loginShake {
  0%,100% { transform: translateX(0); }
  18%     { transform: translateX(-7px); }
  36%     { transform: translateX(6px); }
  54%     { transform: translateX(-4px); }
  72%     { transform: translateX(3px); }
  90%     { transform: translateX(-2px); }
}
.shake { animation: loginShake 0.48s ease; }

/* ── Input error state ── */
.inp-wrap.has-error input {
  border-color: #fca5a5;
  background: #fff8f8;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}
.inp-wrap.has-error .iicon { color: #ef4444; }
.inp-wrap.has-error input:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.14);
}

/* ── Inline field error message ── */
.field-err {
  display: none; align-items: center; gap: 4px;
  font-size: 0.715rem; color: #dc2626; margin-top: 5px;
}
.field-err.show { display: flex; }
.field-err i { font-size: 11px; flex-shrink: 0; }

/* ── OTP box error ── */
.otp-box.has-error { border-color: #fca5a5 !important; background: #fff8f8 !important; }

/* ── OTP modal inline error ── */
.otp-err-msg {
  display: none; align-items: center; justify-content: center;
  gap: 5px; font-size: 0.73rem; color: #dc2626; margin-top: 6px;
}
.otp-err-msg.show { display: flex; }

/* ── OTP paste hint ── */
.otp-paste-hint {
  display: flex; align-items: center; justify-content: center;
  gap: 5px; font-size: 0.7rem; color: #b0b8cc; margin: 5px 0 0;
}
.otp-paste-hint i { color: #a78bfa; font-size: 12px; }

/* ════════════════════════════
   ORBIT SYSTEM
════════════════════════════ */
.l-slider-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  padding: 10px 0 0;
  overflow: hidden;
}

.orbit-system {
  position: absolute;
  width: 550px; height: 420px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 5;
  -webkit-mask-image: radial-gradient(ellipse 95% 95% at center, black 65%, transparent 100%);
  mask-image: radial-gradient(ellipse 95% 95% at center, black 65%, transparent 100%);
}

/* ── Ring decorative lines ── */
.orbit-ring-vis {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border-style: dashed;
  border-color: rgba(79,70,229,0.16);
}
.orbit-ring-vis.r1 {
  width: 238px; height: 238px;
  margin: -119px 0 0 -119px;
  border-width: 1px;
  animation: ringCW 40s linear infinite;
}
.orbit-ring-vis.r2 {
  width: 338px; height: 338px;
  margin: -169px 0 0 -169px;
  border-width: 1px;
  border-style: dotted;
  border-color: rgba(79,70,229,0.1);
  animation: ringCCW 60s linear infinite;
}

@keyframes ringCW  {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes ringCCW {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

/* ── Orbit arm: zero-size point that rotates ── */
.orbit-arm {
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  animation-name: orbitSpin;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-delay: var(--d, 0s);
}
.orbit-arm.r1 { animation-duration: 32s; }
.orbit-arm.r2 { animation-duration: 55s; }

@keyframes orbitSpin { to { transform: rotate(360deg); } }

/* ── Orbit position: sits at radius, counter-rotates so content stays upright ── */
.orbit-pos {
  position: absolute;
  left: 0; width: 0; height: 0;
  animation-name: orbitCounter;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-delay: var(--d, 0s);
}
.orbit-pos.r1 { top: -119px; animation-duration: 32s; }
.orbit-pos.r2 { top: -169px; animation-duration: 55s; }

@keyframes orbitCounter { to { transform: rotate(-360deg); } }

/* ── Orbit node: the visible badge ── */
.orbit-node {
  position: absolute;
}

/* Circle badge (ring 1) */
.orbit-node.circle {
  width: 38px; height: 38px;
  margin-left: -19px; margin-top: -19px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(99,102,241,0.18);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  transition: box-shadow .3s;
}
.orbit-node.circle.c1 {
  color: #2563eb;
  box-shadow: 0 4px 18px rgba(96,165,250,0.28), 0 0 0 1px rgba(255,255,255,0.6) inset;
}
.orbit-node.circle.c2 {
  color: #7c3aed;
  box-shadow: 0 4px 18px rgba(167,139,250,0.28), 0 0 0 1px rgba(255,255,255,0.6) inset;
}
.orbit-node.circle.c3 {
  color: #059669;
  box-shadow: 0 4px 18px rgba(52,211,153,0.28), 0 0 0 1px rgba(255,255,255,0.6) inset;
}

/* Pill badge (ring 2) */
.orbit-node.pill {
  width: 106px; height: 30px;
  margin-left: -53px; margin-top: -15px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(99,102,241,0.14);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  gap: 6px;
  padding: 0 11px;
}
.orbit-node.pill .p-icon {
  font-size: 11px; flex-shrink: 0;
}
.orbit-node.pill .p-text {
  font-size: 0.62rem; font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.orbit-node.pill.p1 { box-shadow: 0 4px 14px rgba(96,165,250,0.22);  color: #2563eb; }
.orbit-node.pill.p2 { box-shadow: 0 4px 14px rgba(251,191,36,0.22);  color: #b45309; }
.orbit-node.pill.p3 { box-shadow: 0 4px 14px rgba(52,211,153,0.22);  color: #059669; }
.orbit-node.pill.p4 { box-shadow: 0 4px 14px rgba(244,114,182,0.22); color: #db2777; }

/* ── Floating star particles ── */
.star-p {
  position: absolute;
  border-radius: 50%;
  background: rgba(79,70,229,0.45);
  animation: starPulse 3s ease-in-out infinite;
}
@keyframes starPulse {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50%       { opacity: 0.8;  transform: scale(1.6); }
}

/* ── Slider sits above orbit ── */
/* ── CSS Laptop frame ── */
.laptop-wrap {
  width: 100%;
  max-width: 272px;
  position: relative;
  z-index: 3;
  margin: 0 auto;
  animation: floatCard 5s ease-in-out infinite;
}
.laptop-lid {
  background: linear-gradient(160deg, #ffffff 0%, #eef1fb 100%);
  border-radius: 12px 12px 0 0;
  padding: 7px 7px 5px;
  border: 1.5px solid #dbe0f5;
  border-bottom: none;
}
.laptop-cam {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #e2e6f5;
  border: 1px solid #cdd3ee;
  margin: 0 auto 5px;
  position: relative;
}
.laptop-cam::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 2px; height: 2px;
  border-radius: 50%;
  background: rgba(99,102,241,0.45);
}
.laptop-screen {
  background: #f8fafc;
  border-radius: 4px;
  overflow: hidden;
  height: 175px;
  position: relative;
}
.laptop-hinge {
  height: 4px;
  background: #e9ecf8;
  border-left: 1.5px solid #dbe0f5;
  border-right: 1.5px solid #dbe0f5;
}
.laptop-base {
  height: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #eef1fb 100%);
  border-radius: 0 0 10px 10px;
  border: 1.5px solid #dbe0f5;
  border-top: 1px solid #e9ecf8;
  position: relative;
  box-shadow: 0 20px 50px rgba(79,70,229,0.2), 0 6px 16px rgba(30,42,82,0.12);
}
.laptop-base::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 5px;
  background: #eef1fb;
  border-radius: 3px 3px 0 0;
  border: 1px solid #dbe0f5;
  border-bottom: none;
}

/* ── App chrome inside laptop screen ── */
.laptop-screen .slider-track { height: 175px; }
.laptop-app {
  width: 100%;
  height: 175px;
  display: flex;
  flex-direction: column;
  background: #f8fafc;
}
.lap-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 5px;
  background: #f1f5f9;
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
}
.lap-dots { display: flex; gap: 4px; }
.lap-dots span { width: 7px; height: 7px; border-radius: 50%; }
.lap-dots .ld-r { background: #ff5f57; }
.lap-dots .ld-y { background: #febc2e; }
.lap-dots .ld-g { background: #28c840; }
.lap-title {
  font-size: 0.59rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: 4px;
}
.lap-content {
  flex: 1;
  overflow: hidden;
  padding: 8px 11px 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Compact overrides for elements inside laptop */
.lap-content .stat-row  { gap: 4px; margin-bottom: 0; }
.lap-content .stat-box  { padding: 5px 4px; border-radius: 7px; }
.lap-content .stat-val  { font-size: 0.78rem; margin-bottom: 1px; }
.lap-content .stat-lbl  { font-size: 0.5rem; }
.lap-content .kpi-row   { gap: 4px; }
.lap-content .kpi-box   { padding: 5px 4px; }
.lap-content .kpi-val   { font-size: 0.72rem; margin-bottom: 1px; }
.lap-content .kpi-lbl   { font-size: 0.5rem; }
.lap-content .bar-chart-wrap { height: 30px; gap: 3px; }
.lap-content .bar-month { font-size: 0.43rem; margin-top: 2px; }
.lap-content .tl-list   { gap: 5px; }
.lap-content .tl-row    { font-size: 0.62rem; }
.lap-content .mc-split  { gap: 5px; margin-top: 0; }
.lap-content .mc-contact-box,
.lap-content .mc-opp-box { padding: 6px 7px; border-radius: 6px; }
.lap-content .mc-av     { width: 20px; height: 20px; font-size: 8px; margin-bottom: 3px; }
.lap-content .mc-cname  { font-size: 0.6rem; }
.lap-content .mc-crole  { font-size: 0.5rem; }
.lap-content .mc-olabel { font-size: 0.48rem; margin-bottom: 2px; }
.lap-content .mc-oval   { font-size: 0.72rem; }
.lap-content .mc-ostage { font-size: 0.48rem; padding: 1px 5px; margin-top: 2px; }
.lap-content .prog-list { gap: 5px; }
.lap-content .prog-item { gap: 6px; }
.lap-content .prog-lbl  { font-size: 0.58rem; width: 54px; }
.lap-content .prog-pct  { font-size: 0.58rem; }
.lap-content .pipeline-grid { gap: 3px; }
.lap-content .pipe-col  { gap: 3px; }
.lap-content .pipe-col-lbl  { font-size: 0.5rem; margin-bottom: 1px; padding-bottom: 3px; }
.lap-content .pipe-deal { padding: 4px 4px; gap: 2px; border-radius: 5px; }
.lap-content .pd-name   { font-size: 0.53rem; }
.lap-content .pd-val    { font-size: 0.56rem; }
.lap-content .pipe-badge { font-size: 0.46rem; padding: 1px 4px; }
.lap-content .mc-export { font-size: 0.56rem; padding: 2px 7px; margin-top: 3px; }

/* ── Top-right action pill buttons ── */
/* ── Right-panel inline action pills ── */
.r-top-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}
.l-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1.5px solid #e0e4f5;
  border-radius: 99px;
  padding: 7px 15px 7px 8px;
  cursor: pointer;
  text-decoration: none;
  color: #374151;
  font-size: 0.755rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(99,102,241,0.1);
  transition: background .2s, border-color .2s, transform .15s, box-shadow .2s;
}
.l-top-btn:hover {
  background: #f5f3ff;
  border-color: #a5b4fc;
  color: #4338ca;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(99,102,241,0.18);
}
.ltb-dot {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.l-top-btn.updates  .ltb-dot { background: #eff6ff; color: #3b82f6; }
.l-top-btn.tutorial .ltb-dot { background: #f0fdf4; color: #10b981; }

/* contact line on left */
.l-contact {
  margin-top: 12px;
  font-size: 0.7rem;
  color: rgba(30,42,82,0.42);
  text-align: center;
}
.l-contact a {
  color: #4f46e5;
  text-decoration: none; font-weight: 500;
}
.l-contact a:hover { color: #4338ca; }

/* ════════════════════════════
   WHAT'S NEW MODAL
════════════════════════════ */
.wn-modal .modal-content {
  border-radius: 20px;
  border: none;
  box-shadow: 0 24px 64px rgba(0,0,0,0.18);
  overflow: hidden;
}
.wn-header {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  padding: 28px 28px 24px;
  position: relative;
  overflow: hidden;
}
.wn-header::before {
  content: '';
  position: absolute;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  top: -60px; right: -40px;
}
.wn-header .wn-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 99px;
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.wn-header h5 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}
.wn-header p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  margin: 0;
}
.wn-close-btn {
  position: absolute;
  top: 16px; right: 16px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none; cursor: pointer;
  color: #fff; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.wn-close-btn:hover { background: rgba(255,255,255,0.28); }

/* Summernote-rendered HTML container */
.snote-content {
  padding: 24px 28px;
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.75;
  min-height: 120px;
}
.snote-content h1 { font-size: 1.4rem; font-weight: 700; color: #111827; margin: 0 0 10px; }
.snote-content h2 { font-size: 1.15rem; font-weight: 700; color: #111827; margin: 18px 0 8px; }
.snote-content h3 { font-size: 1rem; font-weight: 600; color: #1f2937; margin: 14px 0 6px; }
.snote-content p  { margin: 0 0 10px; }
.snote-content ul, .snote-content ol { padding-left: 20px; margin: 0 0 12px; }
.snote-content li { margin-bottom: 4px; }
.snote-content img { max-width: 100%; border-radius: 10px; margin: 8px 0; }
.snote-content blockquote {
  border-left: 3px solid #2563eb;
  padding: 8px 16px;
  background: #eff6ff;
  border-radius: 0 8px 8px 0;
  margin: 12px 0; color: #1d4ed8;
}
.snote-content table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 0.85rem; }
.snote-content th { background: #f3f4f6; padding: 8px 12px; text-align: left; font-weight: 600; border: 1px solid #e5e7eb; }
.snote-content td { padding: 8px 12px; border: 1px solid #e5e7eb; }
.snote-content a  { color: #2563eb; text-decoration: underline; }
.snote-content hr { border: none; border-top: 1px solid #e5e7eb; margin: 16px 0; }

/* Update tag chips inside content */
.update-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 99px;
  font-size: 0.7rem; font-weight: 600;
  margin-bottom: 6px;
}
.update-chip.new    { background: #eff6ff; color: #2563eb; }
.update-chip.fix    { background: #fef3c7; color: #d97706; }
.update-chip.imprv  { background: #f0fdf4; color: #059669; }

.wn-footer {
  padding: 12px 28px 20px;
  border-top: 1px solid #f3f4f6;
  display: flex; justify-content: flex-end;
}
.wn-footer-btn {
  height: 38px; padding: 0 20px;
  background: #2563eb; color: #fff;
  border: none; border-radius: 9px;
  font-size: 0.875rem; font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer; transition: background .2s;
}
.wn-footer-btn:hover { background: #1d4ed8; }

/* ── Header timestamp ── */
.wn-timestamp {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.72rem; color: rgba(255,255,255,0.6);
  margin-top: 6px;
}
.wn-timestamp i { font-size: 11px; }

/* ── Feature list ── */
.wn-feature-list {
  display: flex; flex-direction: column; gap: 14px;
  padding: 18px 20px 22px;
}
.wn-fc {
  border: 1px solid #e5e7eb;
  border-radius: 14px; overflow: hidden;
  transition: box-shadow .2s;
}
.wn-fc:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.07); }
.wn-fc-head {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 14px 16px 12px;
}
.wn-fc-icon {
  width: 40px; height: 40px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.wn-fc-info { flex: 1; }
.wn-fc-name {
  font-size: 0.875rem; font-weight: 700; color: #111827;
  margin-bottom: 4px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
}
.wn-fc-tag {
  font-size: 0.6rem; font-weight: 700; padding: 2px 8px;
  border-radius: 99px; letter-spacing: 0.04em; flex-shrink: 0;
}
.wn-fc-desc {
  font-size: 0.78rem; color: #6b7280; line-height: 1.55; font-style: italic;
}
.wn-fc-date {
  font-size: 0.67rem; color: #9ca3af;
  display: flex; align-items: center; gap: 4px; margin-top: 5px;
}

/* Mockup area */
.wn-mock {
  background: #f8fafc; border-top: 1px solid #f1f5f9;
  padding: 12px 16px;
}

/* ── Mock 1: Dashboard ── */
.m-kpi-row { display: flex; gap: 7px; }
.m-kpi {
  flex: 1; background: #fff;
  border: 1px solid #e5e7eb; border-radius: 8px;
  padding: 7px 8px; text-align: center;
}
.m-kpi-val { font-size: 0.82rem; font-weight: 700; line-height: 1; }
.m-kpi-lbl { font-size: 0.57rem; color: #9ca3af; text-transform: uppercase; margin-top: 2px; letter-spacing: 0.03em; }
.m-mini-bars {
  display: flex; align-items: flex-end; gap: 5px;
  height: 32px; margin-top: 9px;
}
.m-bar { flex: 1; border-radius: 3px 3px 0 0; min-height: 5px; background: linear-gradient(180deg,#60a5fa,#3b82f6); }
.m-bar.alt { background: linear-gradient(180deg,#a78bfa,#7c3aed); }

/* ── Mock 2: Account History ── */
.m-timeline { display: flex; flex-direction: column; gap: 7px; }
.m-tl-item { display: flex; align-items: center; gap: 9px; font-size: 0.71rem; }
.m-tl-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.m-tl-text { flex: 1; color: #374151; }
.m-tl-time { color: #9ca3af; font-size: 0.63rem; white-space: nowrap; }

/* ── Mock 3: Contact + Opportunity ── */
.m-contact-split { display: flex; gap: 8px; }
.m-contact-card, .m-opp-card {
  flex: 1; background: #fff;
  border: 1px solid #e5e7eb; border-radius: 8px; padding: 9px 10px;
}
.m-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg,#60a5fa,#3b82f6);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 11px; font-weight: 700; margin-bottom: 5px;
}
.m-contact-name { font-size: 0.72rem; font-weight: 600; color: #111827; }
.m-contact-role { font-size: 0.6rem; color: #9ca3af; margin-top: 1px; }
.m-opp-label { font-size: 0.58rem; text-transform: uppercase; color: #9ca3af; margin-bottom: 3px; letter-spacing: 0.04em; }
.m-opp-val { font-size: 0.88rem; font-weight: 700; color: #111827; }
.m-opp-stage {
  display: inline-block; font-size: 0.6rem; font-weight: 600;
  padding: 2px 7px; border-radius: 99px; background: #eff6ff; color: #2563eb; margin-top: 5px;
}

/* ── Mock 4: Pipeline ── */
.m-pipeline-row { display: flex; gap: 6px; }
.m-stage {
  flex: 1; background: #fff;
  border: 1px solid #e5e7eb; border-radius: 8px; padding: 7px 5px; text-align: center;
}
.m-stage-lbl { font-size: 0.54rem; text-transform: uppercase; font-weight: 700; letter-spacing: 0.04em; }
.m-stage-count { font-size: 0.88rem; font-weight: 700; color: #111827; margin-top: 3px; line-height: 1; }
.m-stage-amt { font-size: 0.57rem; color: #9ca3af; margin-top: 2px; }

/* ── Mock 5: Quick Reports ── */
.m-report-row { display: flex; flex-direction: column; gap: 8px; }
.m-report-item { display: flex; align-items: center; gap: 9px; }
.m-report-lbl { font-size: 0.68rem; color: #374151; width: 88px; flex-shrink: 0; }
.m-report-bar { flex: 1; height: 5px; background: #e5e7eb; border-radius: 99px; overflow: hidden; }
.m-report-fill { height: 100%; border-radius: 99px; }
.m-report-pct { font-size: 0.63rem; font-weight: 600; color: #6b7280; width: 28px; text-align: right; }
.m-export-btn {
  margin-top: 10px; display: inline-flex; align-items: center; gap: 5px;
  background: #f0fdf4; color: #059669; border: 1px solid #d1fae5;
  border-radius: 7px; font-size: 0.68rem; font-weight: 600;
  padding: 5px 10px; cursor: pointer; font-family: 'Inter', sans-serif;
  transition: background .2s;
}
.m-export-btn:hover { background: #dcfce7; }

/* ── Right panel inner stack ── */
.r-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 400px;
  position: relative;
  z-index: 2;
}

/* ── Help resource cards ── */
.help-cards {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.help-card {
  display: flex;
  align-items: center;
  gap: 13px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.95);
  border-radius: 14px;
  padding: 11px 15px;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: background .2s, box-shadow .2s, transform .15s;
  cursor: pointer;
}
.help-card:hover {
  background: #fff;
  box-shadow: 0 6px 20px rgba(91,114,238,0.13);
  transform: translateY(-1px);
}
.hc-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.hc-icon.updates  { background: #eff3ff; color: #5b72ee; }
.hc-icon.tutorial { background: #f0fdf4; color: #059669; }
.hc-text { flex: 1; min-width: 0; }
.hc-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1f2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hc-sub {
  font-size: 0.7rem;
  color: #9ca3af;
  margin-top: 1px;
}
.hc-arrow {
  color: #d1d5db;
  font-size: 12px;
  flex-shrink: 0;
  transition: transform .2s, color .2s;
}
.help-card:hover .hc-arrow {
  transform: translateX(3px);
  color: #5b72ee;
}

/* ── Contact help line ── */
.contact-line {
  font-size: 0.75rem;
  color: #9ca3af;
  text-align: center;
}
.contact-line a {
  color: #5b72ee;
  font-weight: 500;
  text-decoration: none;
}
.contact-line a:hover { text-decoration: underline; }

/* responsive */
@media (max-width: 767px) {
  .l-panel { display: none; }
  .r-panel { padding: 28px 20px; }
  .form-card { padding: 32px 24px 28px; }
}

/* ════════════════════════════
   MODALS
════════════════════════════ */
.modal-content {
  border-radius: 18px; border: none;
  box-shadow: 0 20px 60px rgba(0,0,0,0.14); overflow: hidden;
}
.modal-top { padding: 28px 28px 0; text-align: center; }
.modal-icon-wrap {
  width: 56px; height: 56px; border-radius: 50%;
  background: #eff3ff; color: #5b72ee;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; font-size: 22px;
}
.modal-icon-wrap.green { background: #f0fdf4; color: #16a34a; }
.modal-mid { padding: 4px 28px 20px; text-align: center; }
.modal-mid h2 { font-size: 1.15rem; font-weight: 700; color: #111827; margin-bottom: 5px; }
.modal-mid p  { font-size: 0.84rem; color: #6b7280; line-height: 1.6; margin: 0; }
.modal-bot { padding: 0 28px 24px; display: flex; gap: 10px; }
.modal-btn-cancel {
  flex: 1; height: 42px; background: #f3f4f6; color: #374151;
  border: none; border-radius: 9px; font-size: 0.875rem; font-weight: 500;
  font-family: 'Inter', sans-serif; cursor: pointer; transition: background .2s;
}
.modal-btn-cancel:hover { background: #e5e7eb; }
.modal-btn-primary {
  flex: 2; height: 42px; background: #5b72ee; color: #fff;
  border: none; border-radius: 9px; font-size: 0.875rem; font-weight: 600;
  font-family: 'Inter', sans-serif; cursor: pointer; transition: background .2s;
  display: flex; align-items: center; justify-content: center; text-decoration: none;
}
.modal-btn-primary:hover { background: #4a61dd; color: #fff; }
.otp-row {
  display: flex; justify-content: center; gap: 9px; margin: 16px 0 12px;
}
.otp-row input {
  width: 44px; height: 50px; text-align: center;
  font-size: 1.2rem; font-weight: 600; font-family: 'Inter', sans-serif;
  border: 2px solid #e5e7eb; border-radius: 10px;
  background: #f9fafb; outline: none; color: #111827;
  transition: border-color .2s, box-shadow .2s;
}
.otp-row input:focus {
  border-color: #5b72ee; background: #fff;
  box-shadow: 0 0 0 3px rgba(91,114,238,0.1);
}
.resend-note { font-size: 0.8rem; color: #6b7280; text-align: center; }
.resend-note .r-link { color: #5b72ee; font-weight: 500; cursor: pointer; }
.modal-input-sec { padding: 0 28px; }
.modal-input-sec .field-lbl { text-align: left; }
