/* ===================================================
   GLOZA DEMO — index.css
   =================================================== */

/* ── 1. DESIGN TOKENS ── */
:root {
  --purple:       #6C5DD3;
  --purple-h:     #5A4EB3;
  --purple-lt:    #EEECF9;
  --bg:           #F9FAFB;
  --card:         #FFFFFF;
  --main:         #1D2939;
  --sub:          #667085;
  --border:       #E4E7EC;
  --green:        #12B76A;
  --green-lt:     #ECFDF3;
  --green-dk:     #027A48;
  --red:          #F04438;
  --red-lt:       #FEF3F2;
  --red-dk:       #B42318;
  --blue:         #2E90FA;
  --blue-lt:      #EFF8FF;
  --blue-dk:      #175CD3;
  --orange:       #F79009;
  --orange-lt:    #FFFAEB;
  --orange-dk:    #B93815;
  --pink:         #F81E9A;
  --pink-lt:      #FFF0F6;
  --pink-dk:      #C71275;
  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    16px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:    0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:    0 10px 40px rgba(0,0,0,.14);
}

/* ── 2. RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  color: var(--main);
  min-height: 100dvh;
  transition: background 0.4s ease;
  overflow-x: hidden;
}
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select { font-family: inherit; font-size: 13px; }
a { text-decoration: none; color: inherit; }
svg { display: block; }

/* ── BACKDROP THEMES ── */
body.backdrop-dark   { background: #0d0d14; }
body.backdrop-light  { background: #f0f0f5; }
body.backdrop-purple { background: #2d1b69; }
body.backdrop-gold   { background: #3d2200; }

/* ── UTILITY COLORS ── */
.text-danger  { color: var(--red) !important; }
.text-green   { color: var(--green) !important; }
.text-orange  { color: var(--orange) !important; }
.text-blue    { color: var(--blue) !important; }
.text-purple  { color: var(--purple) !important; }

/* ── 3. GLOBAL LAYOUT ── */
.page-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  min-height: 100dvh;
  padding: 28px 24px;
}

/* ============================================================
   4. PRESENTER PANEL
   ============================================================ */
.presenter-panel {
  width: 300px;
  flex-shrink: 0;
  background: rgba(20,20,30,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 20px;
  color: #fff;
  position: sticky;
  top: 28px;
  max-height: calc(100dvh - 56px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
  z-index: 10;
}
.presenter-panel::-webkit-scrollbar { width: 4px; }
.presenter-panel::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 4px; }

.panel-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.panel-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #a78bfa, #6C5DD3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.panel-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  background: rgba(108,93,211,0.3);
  color: #a78bfa;
  padding: 2px 7px;
  border-radius: 20px;
  border: 1px solid rgba(108,93,211,0.4);
}

.panel-section {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.panel-section:last-child { border-bottom: none; margin-bottom: 0; }

.panel-heading {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 10px;
}

.panel-btn {
  width: 100%;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.18s ease;
  margin-bottom: 8px;
}
.panel-btn.primary {
  background: var(--purple);
  color: #fff;
}
.panel-btn.primary:hover { background: var(--purple-h); transform: translateY(-1px); }
.panel-btn.secondary {
  flex: 1;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.1);
}
.panel-btn.secondary:hover { background: rgba(255,255,255,0.14); }
.panel-btn.sm { font-size: 11px; padding: 6px 10px; }
.panel-btn.running { background: #d92d20; animation: pulse-btn 1s infinite; }
@keyframes pulse-btn { 0%,100%{opacity:1} 50%{opacity:0.75} }

.btn-row { display: flex; gap: 8px; margin-bottom: 10px; }

.panel-select {
  flex: 1;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  cursor: pointer;
  outline: none;
}

.progress-wrap { margin-top: 6px; }
.progress-track {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 6px;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple), #a78bfa);
  border-radius: 4px;
  transition: width 0.4s ease;
  width: 0%;
}
.step-label { font-size: 10px; color: rgba(255,255,255,0.4); text-align: center; }

/* Quick Jump grid */
.view-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.view-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 8px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  font-size: 10px;
  font-weight: 500;
  transition: all 0.18s ease;
}
.view-btn i { font-size: 16px; }
.view-btn:hover, .view-btn.active {
  background: rgba(108,93,211,0.25);
  border-color: rgba(108,93,211,0.5);
  color: #fff;
}

/* Spotlights */
.spotlight-btns { display: flex; flex-direction: column; gap: 6px; }
.spot-btn {
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  font-size: 11px;
  font-weight: 500;
  text-align: left;
  transition: all 0.15s ease;
}
.spot-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }
.spot-btn.clear {
  color: rgba(255,100,100,0.7);
  border-color: rgba(255,100,100,0.15);
}
.spot-btn.clear:hover { background: rgba(255,100,100,0.1); color: #ff6464; }

/* Backdrops */
.backdrop-circles { display: flex; gap: 10px; }
.backdrop-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 2px solid transparent;
}
.backdrop-dot:hover { transform: scale(1.15); }
.backdrop-dot.active { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,0.3); }
.backdrop-dot[data-bg="dark"]   { background: #0d0d14; }
.backdrop-dot[data-bg="light"]  { background: #f0f0f5; border-color: rgba(0,0,0,0.2); }
.backdrop-dot[data-bg="purple"] { background: #2d1b69; }
.backdrop-dot[data-bg="gold"]   { background: #7c4a00; }

/* Mobile panel toggle */
.mobile-panel-toggle {
  display: none;
  position: fixed;
  bottom: 100px;
  right: 16px;
  z-index: 200;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-size: 18px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(108,93,211,0.5);
}
.panel-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 99;
}
.panel-backdrop.visible { display: block; }

/* ============================================================
   5. DEVICE WRAPPER
   ============================================================ */
.device-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  padding-top: 0;
}

/* ── iPhone Frame ── */
.iphone-frame {
  width: 410px;
  height: 894px;
  background: #1a1a1e;
  border-radius: 58px;
  position: relative;
  flex-shrink: 0;
  box-shadow:
    inset 0 0 0 1.5px #3a3a42,
    inset 0 0 0 3px #0e0e12,
    0 0 0 1px rgba(0,0,0,0.6),
    0 40px 80px rgba(0,0,0,0.6),
    0 80px 140px rgba(0,0,0,0.4);
}

/* Physical side buttons */
.side-btn {
  position: absolute;
  background: #2a2a30;
  border-radius: 3px;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.08);
}
.side-btn.vol-up  { left: -3px; top: 130px; width: 4px; height: 34px; }
.side-btn.vol-down{ left: -3px; top: 174px; width: 4px; height: 34px; }
.side-btn.power   { right: -3px; top: 150px; width: 4px; height: 50px; }

/* Inner bezel */
.device-inner {
  position: absolute;
  inset: 12px;
  background: var(--bg);
  border-radius: 48px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ── Dynamic Island ── */
.dynamic-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}
.di-inner {
  background: #000;
  border-radius: 20px;
  height: 30px;
  min-width: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  transition: all 0.35s cubic-bezier(0.34,1.4,0.64,1);
  overflow: hidden;
}
.di-inner.expanded {
  min-width: 220px;
  height: 38px;
  border-radius: 24px;
}
.di-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease 0.1s;
}
.di-inner.expanded .di-text { opacity: 1; }

/* ── Status Bar ── */
.status-bar {
  height: 52px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 26px 8px;
  flex-shrink: 0;
  background: var(--bg);
  position: relative;
  z-index: 5;
}
.status-time { font-size: 14px; font-weight: 700; color: var(--main); letter-spacing: -0.3px; }
.status-right { display: flex; align-items: center; gap: 5px; }
.signal-bars { display: flex; align-items: flex-end; gap: 2px; height: 13px; }
.signal-bars span {
  display: block;
  width: 3px;
  border-radius: 1px;
  background: var(--main);
}
.signal-bars span:nth-child(1) { height: 4px; }
.signal-bars span:nth-child(2) { height: 7px; }
.signal-bars span:nth-child(3) { height: 10px; }
.signal-bars span:nth-child(4) { height: 13px; }
.carrier-5g { font-size: 11px; font-weight: 700; color: var(--main); }
.battery-wrap { display: flex; align-items: center; gap: 1px; }
.battery-shell {
  width: 22px; height: 11px;
  border: 1.5px solid var(--main);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.battery-fill { height: 100%; background: var(--green); border-radius: 1px; }
.battery-nub { width: 2.5px; height: 5px; background: var(--main); border-radius: 0 1.5px 1.5px 0; }

/* ── App Content ── */
.app-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ── Gloza Header ── */
.gloza-header {
  height: 56px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  z-index: 10;
}
.hdr-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 1.5px;
  background: linear-gradient(135deg, #6C5DD3, #9b87f5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hdr-center { flex: 1; display: flex; justify-content: center; }
.branch-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--main);
  cursor: pointer;
}
.hdr-right { display: flex; align-items: center; gap: 8px; }
.notif-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  color: var(--main);
  position: relative;
}
.notif-dot {
  position: absolute;
  top: 4px; right: 4px;
  width: 14px; height: 14px;
  background: var(--red);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid #fff;
}
.avatar-bubble {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--purple), #a78bfa);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

/* ── Views Scroll ── */
.views-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  scrollbar-width: none;
}
.views-scroll::-webkit-scrollbar { display: none; }

/* ── App Views ── */
.app-view { display: none; }
.app-view.active { display: block; }

/* Walk-in views: bottom bar sticks via sticky positioning */
#view-walkin-1.active,
#view-walkin-2.active {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.view-pad { padding: 16px 16px 0; }
.view-pad-nohdr { padding: 0 16px; }

/* ── Bottom Nav ── */
.bottom-nav {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: #fff;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  padding: 0 8px;
  position: relative;
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex: 1;
  color: var(--sub);
  font-size: 10px;
  font-weight: 500;
  padding: 6px 0;
  transition: color 0.15s;
  border-radius: 10px;
}
.nav-item i { font-size: 20px; }
.nav-item.active { color: var(--purple); }
.nav-item:hover { color: var(--purple); }
.nav-fab {
  width: 52px; height: 52px;
  background: var(--purple);
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(108,93,211,0.45);
  transition: transform 0.18s, box-shadow 0.18s;
  flex-shrink: 0;
  position: relative;
  top: -8px;
}
.nav-fab:hover { transform: scale(1.08); box-shadow: 0 6px 22px rgba(108,93,211,0.55); }

/* ── Safari Bar ── */
.safari-bar {
  height: 50px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 12px;
  background: #f5f5f7;
  border-top: 1px solid rgba(0,0,0,0.1);
  flex-shrink: 0;
}
.saf-btn {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  color: var(--blue);
  border-radius: 8px;
  flex-shrink: 0;
}
.saf-btn:hover { background: rgba(0,0,0,0.06); }
.saf-address {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--main);
}
.saf-lock { font-size: 10px; color: var(--sub); }

/* ── Home Indicator ── */
.home-indicator-wrap {
  height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  flex-shrink: 0;
}
.home-indicator {
  width: 130px; height: 5px;
  background: #1a1a1e;
  border-radius: 3px;
  opacity: 0.18;
}

/* ============================================================
   6. HOME VIEW
   ============================================================ */
.greeting-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.greeting-text { font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 700; color: var(--main); }
.greeting-sub { font-size: 11px; color: var(--sub); margin-top: 2px; }
.date-badge {
  background: var(--purple);
  color: #fff;
  border-radius: 12px;
  padding: 6px 12px;
  text-align: center;
  flex-shrink: 0;
}
.date-num { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 800; line-height: 1; }
.date-mo { font-size: 9px; font-weight: 600; letter-spacing: 1px; opacity: 0.85; }

.pill-row { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.period-pill {
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 500;
  color: var(--sub);
  background: #fff;
  transition: all 0.15s;
}
.period-pill.active {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
}

.section-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--main);
}
.section-link {
  font-size: 11px;
  font-weight: 500;
  color: var(--purple);
}
.alert-count-badge {
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 20px;
}

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.metric-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px;
  position: relative;
  overflow: hidden;
}
.metric-card.span2 { grid-column: span 2; }
.mc-label { font-size: 9px; font-weight: 600; color: var(--sub); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; display: flex; align-items: center; gap: 4px; }
.mc-value { font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 800; color: var(--main); line-height: 1.1; }
.mc-value-row { display: flex; align-items: baseline; gap: 4px; }
.mc-denom { font-size: 10px; color: var(--sub); }
.mc-change { font-size: 9px; font-weight: 600; margin-top: 2px; }
.mc-change.positive { color: var(--green); }
.mc-change.negative { color: var(--red); }
.mc-change.neutral { color: var(--sub); }
.mc-sub { font-size: 9px; color: var(--sub); margin-top: 2px; }
.mc-tags { display: flex; gap: 3px; margin-top: 4px; }
.mctag { font-size: 9px; font-weight: 600; padding: 1px 5px; border-radius: 4px; }
.mctag.green { background: var(--green-lt); color: var(--green-dk); }
.mctag.gray  { background: var(--bg); color: var(--sub); border: 1px solid var(--border); }
.mc-pct-label { font-size: 9px; color: var(--sub); margin-top: 3px; }

.mini-progress-wrap {
  height: 4px;
  background: var(--bg);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 5px;
}
.mini-progress-fill { height: 100%; background: var(--purple); border-radius: 4px; transition: width 0.5s ease; }

.sparkline {
  width: 100%;
  height: 22px;
  margin-top: 4px;
}

/* Payments Card */
.payments-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 10px;
}
.pm-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
}
.pm-lbl { font-size: 10px; font-weight: 600; color: var(--main); width: 32px; flex-shrink: 0; }
.pm-bar-bg { flex: 1; height: 6px; background: var(--bg); border-radius: 4px; overflow: hidden; }
.pm-bar-fg { height: 100%; border-radius: 4px; transition: width 0.5s ease; }
.pm-amt { font-size: 11px; font-weight: 600; color: var(--main); width: 40px; text-align: right; flex-shrink: 0; }
.pm-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--sub);
  gap: 8px;
}
.pm-footer > div { display: flex; align-items: center; gap: 5px; }
.pm-total { font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 800; color: var(--green); }

/* Cash Row */
.cash-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.cash-mini {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cash-icon-wrap {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.cash-icon-wrap.green { background: var(--green-lt); color: var(--green-dk); }
.cash-icon-wrap.orange { background: var(--orange-lt); color: var(--orange-dk); }
.cash-amt { font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 800; color: var(--main); }
.cash-lbl { font-size: 9px; color: var(--sub); margin-top: 1px; }

/* Performers */
.performers-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
  margin-bottom: 14px;
}
.performers-scroll::-webkit-scrollbar { display: none; }
.perf-card {
  flex-shrink: 0;
  width: 76px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.perf-av {
  width: 36px; height: 36px;
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 2px;
}
.perf-name { font-size: 10px; font-weight: 600; color: var(--main); }
.perf-rev { font-size: 11px; font-weight: 700; color: var(--main); }
.perf-util { font-size: 9px; font-weight: 700; padding: 1px 6px; border-radius: 4px; }
.perf-util.green { background: var(--green-lt); color: var(--green-dk); }
.perf-util.gray { background: var(--bg); color: var(--sub); }
.perf-jobs { font-size: 9px; color: var(--sub); }

/* Alerts Card */
.alerts-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 14px;
}
.alert-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.15s;
}
.alert-item:last-child { border-bottom: none; }
.alert-item:hover { background: var(--bg); }
.al-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.alert-item.color-pink .al-icon { background: var(--pink-lt); color: var(--pink); }
.alert-item.color-red .al-icon  { background: var(--red-lt); color: var(--red); }
.alert-item.color-orange .al-icon { background: var(--orange-lt); color: var(--orange); }
.al-info { flex: 1; }
.al-title { font-size: 12px; font-weight: 600; color: var(--main); }
.al-sub { font-size: 10px; color: var(--sub); margin-top: 1px; }
.al-arrow { font-size: 10px; color: var(--sub); }

/* ============================================================
   7. WALK-IN VIEWS
   ============================================================ */
.walkin-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.wh-icon {
  width: 40px; height: 40px;
  background: var(--purple-lt);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--purple);
  font-size: 18px;
  flex-shrink: 0;
}
.wh-text h3 { font-size: 15px; font-weight: 700; color: var(--main); }
.wh-text p { font-size: 11px; color: var(--sub); }
.wh-close {
  margin-left: auto;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--sub);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.step-pills {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.step-pill {
  flex: 1;
  padding: 10px 8px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--sub);
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
}
.step-pill.active { color: var(--purple); border-bottom-color: var(--purple); }
.step-pill.disabled { opacity: 0.45; cursor: default; }

.walkin-body { padding: 14px 16px; overflow-y: auto; flex: 1; }

.customer-selected-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  margin-bottom: 14px;
}
.csc-av {
  width: 38px; height: 38px;
  background: var(--purple);
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.csc-info { flex: 1; }
.csc-name { font-size: 13px; font-weight: 600; color: var(--main); }
.csc-meta { font-size: 10px; color: var(--sub); margin-top: 2px; }
.visits-badge {
  background: var(--purple-lt);
  color: var(--purple);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  flex-shrink: 0;
}
.csc-remove {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 10px;
  color: var(--sub);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.services-section { margin-bottom: 12px; }
.svc-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.svc-hdr-label { font-size: 10px; font-weight: 700; color: var(--sub); letter-spacing: 1px; }
.svc-add-btn { font-size: 11px; font-weight: 600; color: var(--purple); }

.service-card-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
}
.sci-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.sci-name { font-size: 13px; font-weight: 600; color: var(--main); }
.sci-meta { font-size: 11px; color: var(--sub); margin-top: 2px; display: flex; align-items: center; gap: 6px; }
.sci-price { font-weight: 700; color: var(--main); }
.sci-delete { color: var(--sub); font-size: 13px; }

.sci-staff-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sci-staff-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 8px 3px 4px;
  font-size: 10px;
  font-weight: 500;
  color: var(--main);
}
.sci-staff-pill.lead { border-color: var(--purple); background: var(--purple-lt); }
.sci-av {
  width: 22px; height: 22px;
  border-radius: 50%;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.lead-lbl { font-size: 8px; font-weight: 700; color: var(--purple); margin-left: 2px; }
.sci-staff-add {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px dashed var(--border);
  color: var(--sub);
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}

.walkin-bottom-bar {
  padding: 12px 16px;
  background: #fff;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: sticky;
  bottom: 0;
  z-index: 5;
}
.wbb-meta { display: flex; justify-content: space-between; align-items: center; }
.wbb-summary { font-size: 11px; color: var(--sub); }
.wbb-est { font-size: 12px; font-weight: 600; color: var(--main); }
.wbb-total-big { font-size: 14px; font-weight: 700; color: var(--main); text-align: center; }

.wbb-btn {
  width: 100%;
  background: var(--purple);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 12px;
  font-size: 13px;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  transition: all 0.18s ease;
}
.wbb-btn:hover { background: var(--purple-h); transform: translateY(-1px); }
.wbb-btn.collect { background: var(--green); }
.wbb-btn.collect:hover { background: #0ea65f; }

/* Billing Step 2 specifics */
.billing-svc-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 12px;
}
.bsr-name { font-size: 13px; font-weight: 600; color: var(--main); }
.bsr-sub { font-size: 10px; color: var(--sub); margin-top: 2px; }
.bsr-right { text-align: right; }
.bsr-price { font-size: 15px; font-weight: 700; color: var(--main); }
.bsr-edit { font-size: 11px; color: var(--purple); font-weight: 500; margin-top: 4px; display: block; }

.discount-section { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 12px; margin-bottom: 12px; }
.ds-label { font-size: 9px; font-weight: 700; color: var(--sub); letter-spacing: 1px; margin-bottom: 8px; }
.active-offer-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.offer-chip {
  display: flex; align-items: center; gap: 5px;
  background: var(--purple-lt);
  border: 1px solid rgba(108,93,211,0.2);
  border-radius: 20px;
  padding: 3px 8px 3px 6px;
  font-size: 10px;
  font-weight: 500;
  color: var(--purple);
}
.offer-chip button { font-size: 12px; color: var(--purple); }
.discount-input-wrap {
  display: flex; align-items: center; gap: 8px;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  color: var(--sub);
  margin-bottom: 8px;
}
.discount-code-input { flex: 1; border: none; outline: none; background: transparent; font-size: 12px; color: var(--main); }
.add-discount-lnk { font-size: 11px; color: var(--purple); font-weight: 500; }

.breakdown-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 14px;
}
.bb-row { display: flex; justify-content: space-between; font-size: 12px; color: var(--main); padding: 2px 0; }
.bb-row.bold { font-weight: 700; font-size: 14px; }
.bb-divider { height: 1px; background: var(--border); margin: 6px 0; }
.bb-note { font-size: 9px; color: var(--sub); margin-top: 6px; }

.pmethod-label { font-size: 10px; font-weight: 700; color: var(--sub); letter-spacing: 1px; margin-bottom: 8px; }
.pmethod-row { display: flex; gap: 6px; margin-bottom: 14px; }
.pmethod {
  flex: 1;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 6px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 10px;
  font-weight: 600;
  color: var(--sub);
  cursor: pointer;
  transition: all 0.15s;
}
.pmethod i { font-size: 18px; }
.pmethod.active { border-color: var(--purple); background: var(--purple-lt); color: var(--purple); }
.pmethod:hover { border-color: var(--purple); }

.extras-section { display: flex; flex-direction: column; gap: 8px; }
.check-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--main); cursor: pointer; }
.check-row input[type="checkbox"] { accent-color: var(--purple); width: 15px; height: 15px; }
.check-row.sm { font-size: 11px; }
.add-note-btn { font-size: 11px; color: var(--purple); font-weight: 500; text-align: left; }

/* ============================================================
   8. INVENTORY VIEW
   ============================================================ */
.back-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 12px;
  cursor: pointer;
}

.view-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 10px;
}
.vtitle-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.vtitle-icon.purple { background: var(--purple-lt); color: var(--purple); }
.vtitle { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 800; color: var(--main); }
.vsub { font-size: 11px; color: var(--sub); margin-top: 2px; }
.icon-btn {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  color: var(--sub);
}

.view-actions { display: flex; gap: 8px; margin-bottom: 12px; }
.va-btn {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  transition: all 0.15s;
}
.va-btn.primary { background: var(--purple); color: #fff; }
.va-btn.primary:hover { background: var(--purple-h); }
.va-btn.green { background: var(--green-lt); color: var(--green-dk); border: 1px solid rgba(18,183,106,0.2); }
.va-btn.secondary { background: var(--bg); color: var(--main); border: 1px solid var(--border); }

.low-stock-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--red-lt);
  border: 1px solid rgba(240,68,56,0.2);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-bottom: 12px;
  font-size: 11px;
  color: var(--red-dk);
}
.low-stock-banner i { flex-shrink: 0; }
.low-stock-banner span { flex: 1; }
.lsb-view { font-size: 11px; font-weight: 600; color: var(--red); }

.htab-row {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}
.htab-row::-webkit-scrollbar { display: none; }
.htab {
  flex-shrink: 0;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--sub);
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
  white-space: nowrap;
}
.htab.active { color: var(--purple); border-bottom-color: var(--purple); }

.search-filter-row { display: flex; gap: 6px; margin-bottom: 12px; align-items: center; }
.search-wrap {
  flex: 1;
  display: flex; align-items: center; gap: 6px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  color: var(--sub);
  font-size: 12px;
}
.search-inp { flex: 1; border: none; outline: none; background: transparent; font-size: 12px; color: var(--main); }
.filter-chip {
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
  font-size: 10px;
  font-weight: 600;
  color: var(--sub);
  white-space: nowrap;
  display: flex; align-items: center; gap: 4px;
  transition: all 0.15s;
}
.filter-chip.active { background: var(--red-lt); border-color: rgba(240,68,56,0.3); color: var(--red-dk); }
.filter-chip.icon { padding: 6px 8px; }

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 10px;
}
.pc-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.pc-name { font-size: 13px; font-weight: 600; color: var(--main); }
.pc-meta { font-size: 10px; color: var(--sub); margin-top: 2px; }
.stock-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}
.stock-badge.low { background: var(--red-lt); color: var(--red-dk); border: 1px solid rgba(240,68,56,0.2); }

.pc-qty-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.pc-qty-lbl { font-size: 11px; color: var(--sub); }
.pc-qty-val { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 800; flex: 1; }
.pc-qty-val.danger { color: var(--red); }
.pc-qty-val.ok { color: var(--green); }

.qty-controls { display: flex; align-items: center; gap: 4px; }
.qty-btn {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 700;
  color: var(--main);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.qty-btn:hover { background: var(--purple-lt); border-color: rgba(108,93,211,0.3); color: var(--purple); }
.qty-btn.adj { font-size: 12px; }

.staff-sel-sm {
  width: 100%;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--main);
  font-size: 11px;
  outline: none;
  cursor: pointer;
}

/* ============================================================
   9. CAMPAIGNS VIEW
   ============================================================ */
.subtab-scroll {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}
.subtab-scroll::-webkit-scrollbar { display: none; }
.subtab {
  flex-shrink: 0;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--sub);
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
  white-space: nowrap;
}
.subtab.active { color: var(--purple); border-bottom-color: var(--purple); }

.camp-sub { display: none; }
.camp-sub.active { display: block; }

.camp-metric-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.camp-metric-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 12px; text-align: center;
}
.cmc-val { font-family: 'Outfit', sans-serif; font-size: 24px; font-weight: 800; color: var(--main); }
.cmc-lbl { font-size: 9px; color: var(--sub); margin-top: 2px; }

.camp-stats-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 6px; margin-bottom: 12px; }
.csg { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 6px; text-align: center; }
.csg-val { font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 800; }
.csg-lbl { font-size: 9px; color: var(--sub); margin-top: 2px; }
.csg.green { border-top: 2px solid var(--green); }
.csg.green .csg-val { color: var(--green); }
.csg.red { border-top: 2px solid var(--red); }
.csg.red .csg-val { color: var(--red); }
.csg.blue { border-top: 2px solid var(--blue); }
.csg.blue .csg-val { color: var(--blue); }
.csg.gray .csg-val { color: var(--sub); }

.channels-row { display: flex; gap: 8px; margin-bottom: 12px; }
.ch-item { flex: 1; text-align: center; }
.ch-lbl { display: block; font-size: 9px; color: var(--sub); margin-bottom: 3px; }
.ch-val { font-size: 14px; font-weight: 700; color: var(--main); }
.ch-val.blue { color: var(--blue); }

.recent-run-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 12px;
}
.rrc-name { font-size: 12px; font-weight: 600; color: var(--main); }
.rrc-time { font-size: 10px; color: var(--sub); margin-top: 2px; }
.run-badge { font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 20px; }
.run-badge.gray { background: var(--bg); color: var(--sub); border: 1px solid var(--border); }

.fchip-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.fchip {
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 10px;
  font-weight: 500;
  color: var(--sub);
  transition: all 0.15s;
  cursor: pointer;
}
.fchip.active { background: var(--purple-lt); border-color: rgba(108,93,211,0.3); color: var(--purple); }

.activity-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  margin-bottom: 8px;
}
.ac-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 4px; gap: 8px; }
.ac-name { font-size: 12px; font-weight: 600; color: var(--main); flex: 1; }
.ac-sub { font-size: 10px; color: var(--sub); }
.status-tag { font-size: 9px; font-weight: 700; padding: 2px 7px; border-radius: 20px; flex-shrink: 0; }
.status-tag.blue { background: var(--blue-lt); color: var(--blue-dk); }
.status-tag.red  { background: var(--red-lt); color: var(--red-dk); }
.status-tag.green { background: var(--green-lt); color: var(--green-dk); }
.status-tag.gray { background: var(--bg); color: var(--sub); border: 1px solid var(--border); }

.membership-hero {
  background: linear-gradient(135deg, var(--purple-lt), #fff);
  border: 1px solid rgba(108,93,211,0.2);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  margin-bottom: 12px;
}
.mh-icon { font-size: 28px; color: var(--purple); margin-bottom: 6px; }
.membership-hero p { font-size: 11px; color: var(--sub); margin-bottom: 10px; }
.mh-btns { display: flex; gap: 8px; justify-content: center; }

.plan-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  margin-bottom: 8px;
}
.plan-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 4px; }
.plan-name { font-size: 13px; font-weight: 600; color: var(--main); }
.plan-meta { font-size: 10px; color: var(--sub); margin-top: 2px; }
.plan-status { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 20px; }
.plan-status.green { background: var(--green-lt); color: var(--green-dk); }
.plan-members { font-size: 10px; color: var(--purple); font-weight: 600; }

.placeholder-view { text-align: center; padding: 40px 20px; color: var(--sub); }
.placeholder-view i { font-size: 32px; opacity: 0.3; display: block; margin-bottom: 10px; }
.placeholder-view p { font-size: 12px; }

/* ============================================================
   10. REPORTS VIEW
   ============================================================ */
.date-filter-row {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 10px;
  padding-bottom: 2px;
}
.date-filter-row::-webkit-scrollbar { display: none; }
.date-chip {
  flex-shrink: 0;
  padding: 5px 10px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 10px;
  font-weight: 500;
  color: var(--sub);
  transition: all 0.15s;
  cursor: pointer;
}
.date-chip.active { background: var(--purple); color: #fff; border-color: var(--purple); }

.branch-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--main);
  margin-bottom: 10px;
  cursor: pointer;
}
.branch-inline i { margin-left: auto; font-size: 10px; color: var(--sub); }

.compare-export-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.compare-export-row label { flex: 1; }
.export-btn {
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
  font-size: 10px;
  font-weight: 700;
  color: var(--main);
  transition: all 0.15s;
}
.export-btn:hover { background: var(--purple-lt); border-color: rgba(108,93,211,0.3); color: var(--purple); }

.report-sub { display: none; }
.report-sub.active { display: block; }
.r-section-lbl { font-size: 9px; font-weight: 700; color: var(--sub); letter-spacing: 1px; margin-bottom: 8px; }

.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rg-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 10px 12px; }
.rg-lbl { font-size: 10px; color: var(--sub); margin-bottom: 3px; display: flex; align-items: center; gap: 4px; }
.rg-val { font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 800; color: var(--main); }
.rg-note { font-size: 9px; color: var(--sub); margin-top: 2px; }
.link-text { color: var(--blue); cursor: pointer; }

.staff-report-list { display: flex; flex-direction: column; gap: 8px; }
.srl-row {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 10px 12px;
}
.srl-av { width: 36px; height: 36px; border-radius: 50%; color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.srl-info { flex: 1; }
.srl-name { font-size: 13px; font-weight: 600; color: var(--main); }
.srl-meta { font-size: 10px; color: var(--sub); margin-top: 2px; }
.srl-right { text-align: right; }
.srl-util { font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 800; color: var(--purple); }
.srl-util-lbl { font-size: 9px; color: var(--sub); }

/* ============================================================
   11. STAFF VIEW
   ============================================================ */
.staff-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.staff-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  transition: box-shadow 0.15s;
}
.staff-card:hover { box-shadow: var(--shadow-sm); }
.sc-av { width: 42px; height: 42px; border-radius: 50%; color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sc-body { flex: 1; min-width: 0; }
.sc-name-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 2px; }
.sc-name { font-size: 13px; font-weight: 600; color: var(--main); }
.sc-status { font-size: 9px; font-weight: 700; padding: 2px 7px; border-radius: 20px; }
.sc-status.present { background: var(--green-lt); color: var(--green-dk); }
.sc-status.absent  { background: var(--red-lt); color: var(--red-dk); }
.sc-status.leave   { background: var(--orange-lt); color: var(--orange-dk); }
.sc-role { font-size: 10px; color: var(--sub); margin-bottom: 4px; }
.sc-stats { display: flex; gap: 8px; flex-wrap: wrap; }
.sc-stats span { font-size: 9px; color: var(--sub); display: flex; align-items: center; gap: 3px; }
.sc-stats i { font-size: 9px; }
.sc-cta { width: 28px; height: 28px; border-radius: 50%; background: var(--bg); border: 1px solid var(--border); font-size: 11px; color: var(--sub); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.staff-summary-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 11px;
  color: var(--sub);
  margin-bottom: 10px;
}
.ssb-total { margin-left: auto; font-weight: 600; color: var(--main); }

/* ============================================================
   12. EXPENSES VIEW
   ============================================================ */
.month-nav-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px;
  margin-bottom: 12px;
}
.month-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--sub);
  display: flex; align-items: center; justify-content: center;
}
.month-label { font-size: 14px; font-weight: 700; color: var(--main); }

.exp-summary-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.esc-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 10px 12px; }
.esc-card.wide { grid-column: span 2; }
.esc-lbl { font-size: 10px; color: var(--sub); margin-bottom: 3px; }
.esc-val { font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 800; color: var(--main); }
.esc-sub { font-size: 10px; color: var(--sub); margin-top: 3px; }

.salary-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.salary-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.salary-row:last-child { border-bottom: none; }
.sal-av { width: 34px; height: 34px; border-radius: 50%; color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sal-info { flex: 1; min-width: 0; }
.sal-name { font-size: 12px; font-weight: 600; color: var(--main); }
.sal-breakdown { font-size: 9px; color: var(--sub); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sal-right { text-align: right; flex-shrink: 0; }
.sal-total { font-size: 13px; font-weight: 700; color: var(--main); }
.sal-status { font-size: 9px; font-weight: 700; padding: 1px 6px; border-radius: 20px; display: block; margin-top: 2px; }
.sal-status.paid { background: var(--green-lt); color: var(--green-dk); }
.sal-status.pending { background: var(--orange-lt); color: var(--orange-dk); }

.expense-items { display: flex; flex-direction: column; gap: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.exp-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.exp-item:last-child { border-bottom: none; }
.exp-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.exp-icon.green  { background: var(--green-lt); color: var(--green-dk); }
.exp-icon.blue   { background: var(--blue-lt); color: var(--blue-dk); }
.exp-icon.orange { background: var(--orange-lt); color: var(--orange-dk); }
.exp-info { flex: 1; }
.exp-name { font-size: 12px; font-weight: 600; color: var(--main); }
.exp-date { font-size: 10px; color: var(--sub); }
.exp-amt { font-size: 13px; font-weight: 700; }

/* ============================================================
   13. MORE DRAWER
   ============================================================ */
.drawer-backdrop {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 50;
  border-radius: inherit;
}
.drawer-backdrop.active { display: block; }

.more-drawer {
  position: absolute;
  bottom: -100%;
  left: 0; right: 0;
  background: #fff;
  border-radius: 24px 24px 0 0;
  z-index: 60;
  padding: 0 16px 16px;
  transition: bottom 0.35s cubic-bezier(0.34,1.2,0.64,1);
  max-height: 75%;
  overflow-y: auto;
}
.more-drawer.active { bottom: 0; }

.drawer-handle {
  width: 40px; height: 4px;
  background: var(--border);
  border-radius: 4px;
  margin: 12px auto 16px;
}
.drawer-hdr { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.drawer-title { font-size: 16px; font-weight: 700; color: var(--main); }
.drawer-close { width: 30px; height: 30px; border-radius: 50%; background: var(--bg); border: 1px solid var(--border); font-size: 14px; color: var(--sub); display: flex; align-items: center; justify-content: center; }

.drawer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.drawer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 11px;
  font-weight: 600;
  color: var(--main);
  transition: all 0.15s;
  cursor: pointer;
}
.drawer-item:hover { background: var(--purple-lt); border-color: rgba(108,93,211,0.2); }
.drawer-item.disabled { opacity: 0.4; cursor: default; pointer-events: none; }
.di-ico {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.di-ico.purple { background: var(--purple-lt); color: var(--purple); }
.di-ico.blue   { background: var(--blue-lt); color: var(--blue); }
.di-ico.green  { background: var(--green-lt); color: var(--green); }
.di-ico.orange { background: var(--orange-lt); color: var(--orange); }
.di-ico.pink   { background: var(--pink-lt); color: var(--pink); }
.di-ico.gray   { background: var(--bg); color: var(--sub); border: 1px solid var(--border); }

/* ============================================================
   14. PAYMENT MODAL
   ============================================================ */
.pay-modal-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 80;
  border-radius: inherit;
  align-items: center;
  justify-content: center;
}
.pay-modal-overlay.active {
  display: flex;
}
.pay-modal-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px 24px;
  margin: 20px;
  text-align: center;
  animation: modal-in 0.5s cubic-bezier(0.34,1.5,0.64,1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
@keyframes modal-in {
  from { transform: scale(0.7) translateY(30px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.success-ring {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--green-lt);
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  animation: ring-pop 0.6s cubic-bezier(0.34,2,0.64,1) 0.1s both;
}
@keyframes ring-pop {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}
.success-circle {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 26px;
  animation: check-in 0.3s ease 0.4s both;
}
@keyframes check-in {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}
.modal-title { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 800; color: var(--main); margin-bottom: 6px; }
.modal-body { font-size: 13px; color: var(--sub); margin-bottom: 14px; }
.wa-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e7f7ef;
  border: 1px solid rgba(18,183,106,0.2);
  color: var(--green-dk);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.wa-badge i { font-size: 14px; color: #25d366; }

/* ============================================================
   15. SPOTLIGHT SYSTEM
   ============================================================ */
.views-scroll.spotlit .spotlight-target { transition: opacity 0.3s ease, filter 0.3s ease; }
.views-scroll.spotlit .view-pad > * { opacity: 0.15; filter: blur(1px); transition: opacity 0.3s, filter 0.3s; }
.views-scroll.spotlit .view-pad > .spotlight-target { opacity: 1; filter: none; pointer-events: auto; }
.views-scroll.spotlit .view-pad > .spotlight-target + * { opacity: 0.15; filter: blur(1px); }

/* More targeted approach — dim only sections not focused */
.views-scroll.spotlit .section-hdr.spotlight-focus,
.views-scroll.spotlit .spotlight-focus {
  opacity: 1 !important;
  filter: none !important;
  transform: scale(1.01);
  z-index: 2;
  position: relative;
  box-shadow: 0 0 0 2px var(--purple), 0 8px 32px rgba(108,93,211,0.2);
  border-radius: var(--radius-md);
}

/* ============================================================
   16. RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1160px) {
  .page-wrapper { padding: 16px; gap: 16px; }
  .presenter-panel { width: 260px; }
  .iphone-frame { width: 380px; height: 826px; }
}

@media (max-width: 980px) {
  .presenter-panel {
    position: fixed;
    left: -320px;
    top: 0; bottom: 0;
    width: 300px;
    border-radius: 0;
    z-index: 200;
    transition: left 0.3s ease;
    max-height: 100dvh;
  }
  .presenter-panel.open { left: 0; box-shadow: 4px 0 40px rgba(0,0,0,0.4); }
  .panel-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 199; }
  .panel-backdrop.visible { display: block; }
  .mobile-panel-toggle { display: flex; }
  .page-wrapper { justify-content: center; padding: 0; min-height: 100dvh; }
  .device-wrapper { padding-top: 0; }
}

/* ============================================================
   17. INFO BUTTON + TOOLTIP
   ============================================================ */
.info-btn {
  flex-shrink: 0;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: rgba(108,93,211,0.12);
  color: var(--purple);
  font-size: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  border: none;
  transition: background 0.15s, transform 0.15s;
  font-style: normal;
  line-height: 1;
  padding: 0;
  margin-left: 2px;
}
.info-btn:hover { background: rgba(108,93,211,0.28); transform: scale(1.15); }

.info-tooltip {
  position: fixed;
  z-index: 9999;
  background: #1D2939;
  color: #e4e7ec;
  border-radius: 12px;
  padding: 10px 13px;
  max-width: 230px;
  min-width: 180px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.06);
  font-size: 11px;
  line-height: 1.55;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px) scale(0.97);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.info-tooltip.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.info-tooltip-title {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #a78bfa;
}

/* ============================================================
   18. POST-VISIT AUTOMATION CARDS
   ============================================================ */
.pv-desc {
  font-size: 11px;
  color: var(--sub);
  margin-bottom: 10px;
  line-height: 1.5;
}
.auto-camp-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 11px 12px;
  margin-bottom: 8px;
}
.acc-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.acc-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.acc-dot.green  { background: var(--green); box-shadow: 0 0 0 3px var(--green-lt); }
.acc-dot.orange { background: var(--orange); box-shadow: 0 0 0 3px var(--orange-lt); }
.acc-info { flex: 1; min-width: 0; }
.acc-name { font-size: 13px; font-weight: 600; color: var(--main); margin-bottom: 1px; }
.acc-meta { font-size: 11px; color: var(--sub); }
.acc-stats {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--sub);
  padding-top: 6px;
  border-top: 1px solid var(--border);
}
.acc-stats span { display: flex; align-items: center; gap: 4px; }

/* ============================================================
   19. OFFER CODE CARDS
   ============================================================ */
.offer-code-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 11px 12px;
  margin-bottom: 8px;
}
.occ-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}
.occ-code {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--main);
  background: var(--purple-lt);
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 1px;
}
.occ-desc {
  font-size: 12px;
  color: var(--sub);
  margin-bottom: 7px;
}
.occ-footer {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--sub);
  padding-top: 6px;
  border-top: 1px solid var(--border);
}

/* ============================================================
   20. CAMPAIGN SETTINGS
   ============================================================ */
.cset-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  margin-bottom: 10px;
}
.cset-block-title {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--sub);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.cset-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}
.cset-row:last-child { border-bottom: none; padding-bottom: 0; }
.cset-row-info { flex: 1; min-width: 0; }
.cset-row-label { font-size: 12px; font-weight: 500; color: var(--main); }
.cset-row-sub { font-size: 10px; color: var(--sub); }
.cset-row-val { font-size: 12px; font-weight: 600; color: var(--main); flex-shrink: 0; text-align: right; }

/* stock-badge ok variant */
.stock-badge.ok { background: var(--green-lt); color: var(--green-dk); }

/* ============================================================
   21. NARRATION BAR
   ============================================================ */
.narration-bar {
  width: 410px;
  max-width: 100%;
  background: rgba(20,20,30,0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px;
  padding: 13px 16px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  color: #fff;
  min-height: 72px;
  transition: opacity 0.3s ease;
}
.nb-icon-wrap {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(108,93,211,0.22);
  color: #a78bfa;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
  transition: background 0.3s, color 0.3s;
}
.nb-content { flex: 1; min-width: 0; }
.nb-feature {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
  line-height: 1.2;
  transition: opacity 0.25s;
}
.nb-text {
  font-size: 11.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
  transition: opacity 0.25s;
}
.nb-text strong { color: rgba(255,255,255,0.85); }
.narration-bar.step-flash .nb-feature,
.narration-bar.step-flash .nb-text { opacity: 0; }

@media (max-width: 480px) { .narration-bar { display: none; } }

/* ============================================================
   22. FLOATING START DEMO FAB
   ============================================================ */
.start-demo-fab {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 50px;
  background: var(--purple);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 24px rgba(108,93,211,0.5), 0 0 0 0 rgba(108,93,211,0.35);
  animation: fab-pulse 2.2s ease infinite;
  transition: background 0.2s, transform 0.2s;
}
.start-demo-fab:hover { background: var(--purple-h); transform: translateY(-2px) scale(1.03); animation: none; }
.start-demo-fab.running {
  background: #d92d20;
  animation: none;
  box-shadow: 0 4px 20px rgba(217,45,32,0.45);
}
.start-demo-fab i { font-size: 13px; }

@keyframes fab-pulse {
  0%   { box-shadow: 0 4px 24px rgba(108,93,211,0.5), 0 0 0 0 rgba(108,93,211,0.35); }
  65%  { box-shadow: 0 4px 24px rgba(108,93,211,0.5), 0 0 0 16px rgba(108,93,211,0); }
  100% { box-shadow: 0 4px 24px rgba(108,93,211,0.5), 0 0 0 0 rgba(108,93,211,0); }
}

@media (max-width: 980px) {
  .start-demo-fab { bottom: 170px; right: 14px; padding: 12px 18px; font-size: 13px; }
}
@media (max-width: 480px) {
  .start-demo-fab { bottom: 200px; right: 12px; padding: 11px 16px; font-size: 12px; }
}

/* ============================================================
   22. CONTACT END SCREEN OVERLAY
   ============================================================ */
.contact-overlay {
  position: absolute;
  inset: 0;
  z-index: 250;
  background: rgba(10,10,18,0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  overflow-y: auto;
}
.contact-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.co-card {
  background: #141424;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px;
  padding: 24px 20px 20px;
  width: 100%;
  max-width: 310px;
  text-align: center;
}
.co-check-ring {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #12B76A, #039855);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px;
  font-size: 24px;
  color: #fff;
  box-shadow: 0 0 0 10px rgba(18,183,106,0.12);
  animation: ring-pop 0.55s cubic-bezier(0.34,1.56,0.64,1) both;
}
.co-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #12B76A;
  margin-bottom: 10px;
}
.co-headline {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 6px;
}
.co-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.48);
  line-height: 1.65;
  margin-bottom: 14px;
}
.co-contacts {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
}
.co-link {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px;
  padding: 10px 12px;
  text-decoration: none;
  text-align: left;
  transition: background 0.15s;
}
.co-link:hover { background: rgba(255,255,255,0.1); }
.co-link-ico {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: rgba(108,93,211,0.25);
  color: #a78bfa;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.co-link-ico.wa { background: rgba(37,211,102,0.18); color: #25D366; }
.co-link-lbl { font-size: 9px; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 1px; }
.co-link-val { font-size: 13px; font-weight: 600; color: #fff; }
.co-cta {
  width: 100%;
  padding: 13px 20px;
  border-radius: 12px;
  background: var(--purple);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.co-cta:hover { background: var(--purple-h); transform: translateY(-1px); }
.co-replay {
  width: 100%;
  padding: 10px 20px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  font-weight: 500;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  margin-bottom: 6px;
  transition: background 0.15s;
}
.co-replay:hover { background: rgba(255,255,255,0.11); color: #fff; }
.co-explore {
  background: none;
  border: none;
  color: rgba(255,255,255,0.3);
  font-size: 11px;
  cursor: pointer;
  padding: 6px;
  transition: color 0.15s;
}
.co-explore:hover { color: rgba(255,255,255,0.65); }

/* ── MOBILE: Full screen app ── */
@media (max-width: 480px) {
  .page-wrapper { padding: 0; }
  .device-wrapper { width: 100%; }
  .iphone-frame {
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
    box-shadow: none;
  }
  .iphone-frame .side-btn { display: none; }
  .device-inner {
    border-radius: 0;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .dynamic-island .di-inner { background: #111; }
  .mobile-panel-toggle {
    bottom: 140px;
    right: 12px;
  }
}

/* ============================================================
   Section 24 — In-Screen Demo Caption Overlay
   ============================================================ */
.demo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top,
    rgba(8, 4, 22, 0.94) 0%,
    rgba(8, 4, 22, 0.82) 55%,
    transparent 100%);
  padding: 36px 16px 22px;
  z-index: 200;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  pointer-events: none;
}
.demo-caption.active {
  transform: translateY(0);
  opacity: 1;
}
.demo-caption .dc-step,
.demo-caption .dc-icon-feature,
.demo-caption .dc-text {
  transition: opacity 0.16s ease;
}
.demo-caption.step-flash .dc-step,
.demo-caption.step-flash .dc-icon-feature,
.demo-caption.step-flash .dc-text {
  opacity: 0;
}
.dc-step {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(167, 139, 250, 0.7);
  margin-bottom: 6px;
}
.dc-icon-feature {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
}
.dc-icon-feature i {
  color: #a78bfa;
  font-size: 13px;
  flex-shrink: 0;
}
.dc-feature {
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.01em;
}
.dc-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  line-height: 1.6;
  margin: 0;
}
