/* ─── DASHBOARD MOCKUP ────────────────────────────────── */
.dash-card { background: #141c2e; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 20px; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.dash-header { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.07); }
.dash-logo { font-family: 'Space Grotesk', sans-serif; font-weight: 800; font-size: .88rem; color: #fff; }
.dash-live { display: flex; align-items: center; gap: 5px; background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.25); border-radius: 6px; padding: 3px 9px; font-size: .65rem; font-weight: 700; color: #118A66; margin-left: 6px; }
.dash-live-dot { width: 5px; height: 5px; border-radius: 50%; background: #118A66; animation: blink 2s infinite; }
.dash-header-stats { margin-left: auto; display: flex; gap: 12px; }
.dash-hstat { font-size: .65rem; color: rgba(255,255,255,.45); }
.dash-hstat strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: .9rem; font-weight: 700; color: rgba(255,255,255,.9); line-height: 1; }

.dash-channels { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin-bottom: 14px; }
.dash-ch { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); border-radius: 9px; padding: 10px 8px; text-align: center; }
.dash-ch-icon { font-size: 1.1rem; display: block; margin-bottom: 4px; }
.dash-ch-icon i { font-size: 1.1rem; }
.dash-ch-name { font-size: .62rem; font-weight: 600; color: rgba(255,255,255,.7); }
.dash-ch-val { font-family: 'Space Grotesk', sans-serif; font-size: .78rem; font-weight: 700; color: #fff; }
.dash-ch-sub { font-size: .58rem; color: rgba(255,255,255,.35); }

.dash-metrics { display: flex; gap: 8px; margin-bottom: 14px; }
.dash-metric { flex: 1; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); border-radius: 9px; padding: 10px 12px; }
.dash-metric .m-val { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.05rem; color: #fff; }
.dash-metric .m-lbl { font-size: .6rem; color: rgba(255,255,255,.4); margin-top: 2px; }

.dash-queue-label { font-size: .6rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; }
.dash-queue-label span { background: rgba(17,138,102,.2); color: #118A66; border-radius: 4px; padding: 2px 8px; font-size: .6rem; }
.dash-queue { display: flex; flex-direction: column; gap: 5px; }
.dash-qi { display: flex; align-items: center; gap: 8px; padding: 7px 10px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.05); border-radius: 8px; }
.dash-qi-av { width: 24px; height: 24px; border-radius: 50%; background: rgba(37,99,235,.25); display: flex; align-items: center; justify-content: center; font-size: .6rem; font-weight: 700; color: #3b82f6; flex-shrink: 0; }
.dash-qi-info { flex: 1; min-width: 0; }
.dash-qi-name { font-size: .68rem; font-weight: 600; color: rgba(255,255,255,.85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-qi-ch { font-size: .6rem; color: rgba(255,255,255,.35); }
.dash-qi-time { font-size: .68rem; font-weight: 700; color: #F59E0B; font-family: 'Space Grotesk', sans-serif; }
.dash-qi-time.ok { color: #118A66; }
.dash-qi-time.urgent { color: #EF4444; }

/* ─── CLIENTS BAR ──────────────────────────────────────── */
.clients-bar { background: #1e1e24; border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); padding: 28px 0; }
.clients-inner { display: flex; align-items: center; gap: 48px; overflow: hidden; }
.clients-label { font-size: .68rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,.28); white-space: nowrap; flex-shrink: 0; }
.clients-logos { display: flex; gap: 48px; align-items: center; flex: 1; justify-content: space-between; }
.client-logo { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1rem; color: rgba(255,255,255,.22); letter-spacing: .5px; transition: color .2s; white-space: nowrap; }
.client-logo:hover { color: rgba(255,255,255,.55); }

/* ─── CHANNELS SECTION ─────────────────────────────────── */
.section { padding: 96px 0; }
.sec-label { font-size: .72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #3b82f6; margin-bottom: 14px; }
.sec-title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.9rem, 3vw, 2.8rem); font-weight: 800; line-height: 1.12; letter-spacing: -.5px; margin-bottom: 18px; }
.sec-sub { color: rgba(255,255,255,0.52); font-size: .97rem; max-width: 560px; line-height: 1.65; }

.channels-section { background: #17171c; }
.channels-intro { margin-bottom: 52px; }
.channels-intro .sec-title { color: #fff; }
.channels-intro .sec-title .dim { color: rgba(255,255,255,.45); font-weight: 600; }
.channels-intro .sec-sub { color: rgba(255,255,255,.5); }

.channels-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.channel-card { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); border-radius: 16px; padding: 28px 22px; position: relative; overflow: hidden; transition: all .25s; }
.channel-card::before { content: ''; position: absolute; top: -40px; left: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--glow, transparent); filter: blur(32px); opacity: .6; pointer-events: none; transition: opacity .3s; }
.channel-card:hover { border-color: rgba(255,255,255,.14); transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,.3); }
.channel-card:hover::before { opacity: 1; }

.ch-icon-wrap { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.ch-icon-wrap i { font-size: 1.4rem; }
.ch-name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 6px; color: #fff; }
.ch-desc { font-size: .8rem; color: rgba(255,255,255,0.52); line-height: 1.55; margin-bottom: 16px; }
.ch-status { display: flex; align-items: center; gap: 6px; font-size: .72rem; }
.ch-status-dot { width: 6px; height: 6px; border-radius: 50%; background: #118A66; flex-shrink: 0; }
.ch-status-text { color: rgba(255,255,255,.4); }
.ch-status-uptime { color: rgba(255,255,255,.65); font-weight: 600; margin-left: 2px; }

/* ─── FEATURES SECTION ────────────────────────────────── */
.features-section { background: #fff; color: #0f172a; }
.features-section .sec-label { color: #118A66; }
.features-section .sec-title { color: #0f172a; }
.features-section .sec-title .accent { color: #118A66; }
.features-section .sec-sub { color: #64748b; }

.feat-header { margin-bottom: 56px; }
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

.feat-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 16px; padding: 28px 24px; transition: all .25s; }
.feat-card:hover { border-color: rgba(17,138,102,.3); box-shadow: 0 8px 32px rgba(17,138,102,.12); transform: translateY(-3px); }
.feat-card.feat-wide { grid-column: span 1; }
.feat-icon-wrap { width: 48px; height: 48px; border-radius: 12px; background: rgba(17,138,102,.08); border: 1px solid rgba(17,138,102,.2); display: flex; align-items: center; justify-content: center; font-size: 1.35rem; margin-bottom: 18px; }
.feat-icon-wrap i { font-size: 1.35rem; }
.feat-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1rem; color: #0f172a; margin-bottom: 10px; }
.feat-desc { font-size: .85rem; color: #64748b; line-height: 1.6; }

/* Feature visual cards */
.feat-visual { background: #0f172a; border-radius: 12px; padding: 16px; margin-top: 16px; }
.feat-flow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.feat-flow-node { background: rgba(37,99,235,.12); border: 1px solid rgba(37,99,235,.25); border-radius: 8px; padding: 6px 12px; font-size: .72rem; font-weight: 600; color: #93c5fd; display: inline-flex; align-items: center; gap: 4px; }
.feat-flow-node i { font-size: .72rem; }
.feat-flow-node.green { background: rgba(34,197,94,.12); border-color: rgba(34,197,94,.25); color: #86efac; }
.feat-flow-node.orange { background: rgba(249,115,22,.12); border-color: rgba(249,115,22,.25); color: #fdba74; }
.feat-flow-arrow { color: rgba(255,255,255,.2); font-size: .8rem; }

.feat-crm-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.04); }
.feat-crm-av { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg,#3B82F6,#2563EB); display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 700; color: #fff; flex-shrink: 0; }
.feat-crm-av i { font-size: .72rem; }
.feat-crm-info .name { font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.85); }
.feat-crm-info .channels { font-size: .65rem; color: rgba(255,255,255,.35); }
.feat-crm-ch { display: flex; gap: 6px; margin-top: 6px; }
.feat-crm-tag { font-size: .62rem; padding: 2px 8px; border-radius: 4px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.45); }

.feat-route-item { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.04); }
.feat-route-item:last-child { border-bottom: none; }
.feat-route-label { font-size: .72rem; color: rgba(255,255,255,.5); }
.feat-route-val { font-size: .72rem; font-weight: 600; color: rgba(255,255,255,.8); background: rgba(255,255,255,.06); border-radius: 4px; padding: 2px 10px; }

.feat-sla { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feat-sla-item { background: rgba(255,255,255,.04); border-radius: 8px; padding: 10px; }
.feat-sla-label { font-size: .62rem; color: rgba(255,255,255,.35); margin-bottom: 4px; }
.feat-sla-val { font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; font-weight: 800; color: #fff; line-height: 1; }
.feat-sla-delta { font-size: .62rem; margin-top: 3px; }
.delta-up { color: #118A66; }
.delta-down { color: #EF4444; }

/* ─── PERFORMANCE SECTION ──────────────────────────────── */
.performance-section { background: #17171c; }
.performance-section .sec-title { color: #fff; }
.performance-section .sec-title .accent { color: #118A66; }
.performance-section .sec-sub { color: rgba(255,255,255,0.52); }

.perf-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; overflow: hidden; margin-top: 60px; }
.perf-item { background: #1e1e24; padding: 44px 28px; text-align: center; }
.perf-num { font-family: 'Space Grotesk', sans-serif; font-size: 3.2rem; font-weight: 900; color: #fff; line-height: 1; margin-bottom: 10px; }
.perf-lbl { font-size: .84rem; color: rgba(255,255,255,0.52); font-weight: 500; }

/* ─── EXPERIMENTE (TOUR) ───────────────────────────────── */
.tour-section-switch { display: flex; align-items: center; gap: 10px; margin-top: 40px; margin-bottom: 12px; }
.tour-section-switch-btn { padding: 9px 20px; border-radius: 32px; font-size: .82rem; font-weight: 700; font-family: 'Space Grotesk', sans-serif; cursor: pointer; border: 1px solid rgba(255,255,255,.15); background: transparent; color: rgba(255,255,255,.6); transition: all .2s; }
.tour-section-switch-btn.active { background: #118A66; border-color: #118A66; color: #fff; }
.tour-section-switch-btn:hover:not(.active) { color: #fff; border-color: rgba(255,255,255,.35); }
.tour-section-switch .tour-theme-toggle { position: static; margin-left: auto; }

.tour-section { background: #17171c; }
.tour-section .sec-title { color: #fff; }
.tour-section .sec-title .accent { color: #118A66; }
.tour-section .sec-sub { color: rgba(255,255,255,0.52); }

.tour-wrap { display: block; margin-top: 52px; }

.tour-legend { position: absolute; top: 16px; left: 16px; z-index: 15; width: 280px; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 24px; box-shadow: 0 12px 40px rgba(0,0,0,.5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.tour-dark .tour-legend { background: rgba(10,10,10,.72); }
.tour-light .tour-legend { background: rgba(255,255,255,.85); border-color: #d9d9dd; }
.tour-light .tour-legend .tour-legend-text { color: #0F172A; }
.tour-light .tour-legend .tour-progress span { color: #64748B; }
.tour-light .tour-legend .btn-tour-outline { color: #0F172A; border-color: #d9d9dd; }
.tour-light .tour-legend .btn-tour-outline:hover { border-color: #64748B; }

.tour-legend--top-right { top: 56px; left: auto; right: 16px; }
.tour-legend--bottom-left { top: auto; bottom: 16px; left: 16px; }
.tour-legend--bottom-right { top: auto; bottom: 16px; left: auto; right: 16px; }
.tour-progress { margin-bottom: 18px; }
.tour-progress span { font-size: .72rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: rgba(255,255,255,.4); }
.tour-progress-bar { height: 4px; border-radius: 2px; background: rgba(255,255,255,.08); margin-top: 8px; overflow: hidden; }
.tour-progress-fill { height: 100%; width: 16.66%; background: #118A66; border-radius: 2px; transition: width .35s ease; }
.tour-legend-text { font-size: .92rem; line-height: 1.6; color: #F8FAFC; min-height: 72px; margin-bottom: 18px; }
.tour-control-capsule {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 40px;
  padding: 4px 10px;
  transition: background .2s, border-color .2s;
}
.tour-light .tour-control-capsule {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
}

.tour-capsule-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.tour-light .tour-capsule-btn {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.03);
  color: #0F172A;
}

.tour-capsule-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.tour-light .tour-capsule-btn:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.2);
  color: #0F172A;
}

.tour-capsule-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.tour-capsule-btn-demo {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #fff;
  border: none;
  cursor: pointer;
  background: #118A66;
  font-family: 'Space Grotesk', sans-serif;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.tour-capsule-btn-demo:hover {
  background: #15a379;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(17, 138, 102, 0.35);
}

.tour-mockup { position: relative; border-radius: 18px; padding: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.45); transition: background .25s; }
.tour-theme-toggle { position: absolute; top: 12px; right: 12px; z-index: 5; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); cursor: pointer; font-size: .9rem; display: flex; align-items: center; justify-content: center; }

/* Queue panel: tabs + search + ticket list, replicates dashboard.php .queue-panel */
.tour-mockup-grid { display: grid; grid-template-columns: 260px 1fr; gap: 0; border-radius: 12px; overflow: hidden; height: 580px; }
.tour-mockup-grid--3col { grid-template-columns: 260px 1fr 280px; }

/* Header + sidebar chrome shell — wraps .tour-mockup in all 3 tour tabs */
.tour-mockup-shell { border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.tour-app-header { display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding: 10px 18px; }
.tour-app-header-group { display: flex; align-items: center; gap: 10px; }
.tour-app-icon-btn { width: 34px; height: 34px; border-radius: 8px; border: none; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.tour-app-icon-btn i { font-size: 16px; }
.tour-app-status-pill { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 20px; font-size: .74rem; font-weight: 600; cursor: pointer; }
.tour-app-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; flex-shrink: 0; }
.tour-app-count-btn { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 20px; font-size: .74rem; font-weight: 600; cursor: pointer; }
.tour-app-count-btn i { font-size: 14px; }

.tour-app-body { display: flex; }
.tour-app-body > .tour-mockup { flex: 1 1 auto; min-width: 0; }
.tour-app-sidebar { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; width: 56px; flex-shrink: 0; }
.tour-app-sidebar-appicon { width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; flex-shrink: 0; }
.tour-app-sidebar-appicon img { width: 20px; height: 20px; }
.tour-sidebar-icon { width: 36px; height: 36px; border-radius: 9px; border: none; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s; flex-shrink: 0; }
.tour-sidebar-icon i { font-size: 16px; }
.tour-sidebar-spacer { height: 10px; flex-shrink: 0; }
.tour-sidebar-group { display: flex; flex-direction: column; gap: 4px; border-radius: 10px; padding: 3px; }

.tour-sip-anchor { position: relative; }
.tour-sip-popover { display: none; position: absolute; left: 100%; top: 50%; transform: translateY(-50%); margin-left: 10px; width: 148px; border-radius: 12px; padding: 10px; z-index: 5; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.tour-sip-popover.tour-sip-popover--visible { display: block; }
.tour-sip-popover-number { font-size: .72rem; font-weight: 600; text-align: center; padding: 6px; border-radius: 7px; margin-bottom: 8px; }
.tour-sip-popover-keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-bottom: 8px; }
.tour-sip-popover-keypad span { display: flex; align-items: center; justify-content: center; height: 24px; border-radius: 6px; font-size: .68rem; font-weight: 600; }
.tour-sip-popover-actions { display: flex; justify-content: center; gap: 10px; }
.tour-sip-popover-btn { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.tour-sip-popover-btn i { font-size: 14px; color: #fff; }
.tour-sip-popover-btn-call { background: #22c55e; }
.tour-sip-popover-btn-hangup { background: #ef4444; }

.tour-module-preview { display: none; position: absolute; left: 260px; right: 0; top: 0; bottom: 0; z-index: 10; margin: 12px; border-radius: 12px; padding: 18px; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 12px 40px rgba(0,0,0,.35); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); overflow-y: auto; }
.tour-module-preview.tour-module-preview--visible { display: block; }

/* Custom Preview typography helpers */
.tour-preview-title { font-weight: 800; text-transform: uppercase; color: #118A66; }
.tour-dark .tour-preview-text { color: rgba(255, 255, 255, 0.9); }
.tour-light .tour-preview-text { color: #0F172A; }
.tour-dark .tour-preview-muted { color: rgba(255, 255, 255, 0.55); }
.tour-light .tour-preview-muted { color: #64748B; }

/* Dark theme */
.tour-dark .tour-app-header { background: #17181c; border-bottom: 1px solid #23252a; }
.tour-dark .tour-app-icon-btn { color: rgba(255,255,255,.6); }
.tour-dark .tour-app-icon-btn:hover { background: rgba(255,255,255,.06); color: #fff; }
.tour-dark .tour-app-status-pill { background: rgba(34,197,94,.12); color: #4ade80; }
.tour-dark .tour-app-count-btn { background: rgba(255,255,255,.05); color: rgba(255,255,255,.7); }
.tour-dark .tour-app-sidebar { background: #082c24; border-right: 1px solid rgba(255,255,255,0.06); }
.tour-dark .tour-app-sidebar-appicon { background: #118A66; }
.tour-dark .tour-sidebar-icon { color: rgba(255,255,255,.55); }
.tour-dark .tour-sidebar-icon:hover { background: rgba(255,255,255,.08); color: #fff; }
.tour-dark .tour-sip-popover { background: #17181c; border: 1px solid #23252a; }
.tour-dark .tour-sip-popover-number { background: rgba(255,255,255,.06); color: #fff; }
.tour-dark .tour-sip-popover-keypad span { background: rgba(255,255,255,.05); color: rgba(255,255,255,.75); }
.tour-dark .tour-module-preview { background: rgba(10,10,10,.72); color: rgba(255,255,255,.9); }

/* Light theme */
.tour-light .tour-app-header { background: #ffffff; border-bottom: 1px solid #d9d9dd; }
.tour-light .tour-app-icon-btn { color: #64748B; }
.tour-light .tour-app-icon-btn:hover { background: #f4f4f5; color: #0F172A; }
.tour-light .tour-app-status-pill { background: rgba(34,197,94,.12); color: #16a34a; }
.tour-light .tour-app-count-btn { background: #f4f4f5; color: #0F172A; }
.tour-light .tour-app-sidebar { background: #082c24; border-right: 1px solid rgba(255,255,255,0.06); }
.tour-light .tour-app-sidebar-appicon { background: #118A66; }
.tour-light .tour-sidebar-icon { color: rgba(255,255,255,.55); }
.tour-light .tour-sidebar-icon:hover { background: rgba(255,255,255,.08); color: #fff; }
.tour-light .tour-sip-popover { background: #ffffff; border: 1px solid #d9d9dd; }
.tour-light .tour-sip-popover-number { background: #f4f4f5; color: #0F172A; }
.tour-light .tour-sip-popover-keypad span { background: #f4f4f5; color: #0F172A; }
.tour-light .tour-module-preview { background: rgba(255,255,255,.9); border-color: #d9d9dd; color: #0F172A; }
.tour-light .tour-module-preview .dash-metric { background: rgba(0,0,0,.03); border-color: #e4e4e7; }
.tour-light .tour-module-preview .m-val { color: #0F172A; }
.tour-light .tour-module-preview .m-lbl { color: #64748B; }

.tour-crm-kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tour-crm-col-label { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; padding: 4px 8px; border-radius: 6px; margin-bottom: 8px; display: inline-block; }
.tour-crm-col-label--blue { background: rgba(59,130,246,.18); color: #3b82f6; }
.tour-crm-col-label--amber { background: rgba(245,158,11,.18); color: #F59E0B; }
.tour-crm-col-label--green { background: rgba(17,138,102,.18); color: #118A66; }
.tour-crm-card { border-radius: 9px; padding: 10px; }
.tour-dark .tour-crm-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); }
.tour-light .tour-crm-card { background: rgba(0,0,0,.03); border: 1px solid #e4e4e7; }
.tour-crm-card-name { font-size: .7rem; font-weight: 600; margin-bottom: 4px; }
.tour-dark .tour-crm-card-name { color: rgba(255,255,255,.85); }
.tour-light .tour-crm-card-name { color: #0F172A; }
.tour-crm-card-val { font-family: 'Space Grotesk', sans-serif; font-size: .78rem; font-weight: 700; color: #118A66; }

.tour-camp-list { display: flex; flex-direction: column; gap: 10px; }
.tour-camp-item { border-radius: 9px; padding: 12px; }
.tour-dark .tour-camp-item { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); }
.tour-light .tour-camp-item { background: rgba(0,0,0,.03); border: 1px solid #e4e4e7; }
.tour-camp-name { font-size: .76rem; font-weight: 600; margin-bottom: 8px; }
.tour-dark .tour-camp-name { color: rgba(255,255,255,.9); }
.tour-light .tour-camp-name { color: #0F172A; }
.tour-camp-badges { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tour-camp-badge { font-size: .62rem; font-weight: 600; padding: 4px 8px; border-radius: 6px; display: inline-flex; align-items: center; gap: 4px; }
.tour-camp-badge--whatsapp { background: rgba(37,211,102,.18); color: #25D366; }
.tour-camp-badge--sms { background: rgba(59,130,246,.18); color: #3b82f6; }
.tour-camp-badge--email { background: rgba(245,158,11,.18); color: #F59E0B; }
.tour-camp-status { font-size: .62rem; font-weight: 700; padding: 4px 8px; border-radius: 6px; }
.tour-camp-status--active { background: rgba(17,138,102,.18); color: #118A66; }
.tour-camp-status--scheduled { background: rgba(245,158,11,.18); color: #F59E0B; }

.tour-media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tour-media-thumb { aspect-ratio: 1 / 1; border-radius: 9px; display: flex; align-items: center; justify-content: center; }
.tour-media-thumb i { font-size: 1.3rem; }
.tour-dark .tour-media-thumb { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); }
.tour-dark .tour-media-thumb i { color: rgba(255,255,255,.35); }
.tour-light .tour-media-thumb { background: rgba(0,0,0,.03); border: 1px solid #e4e4e7; }
.tour-light .tour-media-thumb i { color: #94a3b8; }

.tour-kb-list { display: flex; flex-direction: column; gap: 8px; }
.tour-kb-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; font-size: .74rem; font-weight: 600; }
.tour-kb-item i { font-size: 1rem; flex-shrink: 0; }
.tour-dark .tour-kb-item { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); color: rgba(255,255,255,.85); }
.tour-dark .tour-kb-item i { color: #3b82f6; }
.tour-light .tour-kb-item { background: rgba(0,0,0,.03); border: 1px solid #e4e4e7; color: #0F172A; }
.tour-light .tour-kb-item i { color: #3b82f6; }

.tour-sup-ticket-list { display: flex; flex-direction: column; gap: 10px; }
.tour-sup-ticket-item { border-radius: 9px; padding: 12px; }
.tour-dark .tour-sup-ticket-item { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); }
.tour-light .tour-sup-ticket-item { background: rgba(0,0,0,.03); border: 1px solid #e4e4e7; }
.tour-sup-ticket-title { font-size: .74rem; font-weight: 600; margin-bottom: 8px; }
.tour-dark .tour-sup-ticket-title { color: rgba(255,255,255,.9); }
.tour-light .tour-sup-ticket-title { color: #0F172A; }
.tour-sup-ticket-badges { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tour-ticket-badge { font-size: .62rem; font-weight: 700; padding: 4px 8px; border-radius: 6px; }
.tour-ticket-badge--open { background: rgba(245,158,11,.18); color: #F59E0B; }
.tour-ticket-badge--resolved { background: rgba(17,138,102,.18); color: #118A66; }
.tour-ticket-badge--priority { background: rgba(239,68,68,.18); color: #EF4444; }

.tour-config-list { display: flex; flex-direction: column; gap: 8px; }
.tour-config-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; font-size: .74rem; font-weight: 600; }
.tour-config-item i { font-size: 1rem; flex-shrink: 0; }
.tour-dark .tour-config-item { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); color: rgba(255,255,255,.85); }
.tour-dark .tour-config-item i { color: rgba(255,255,255,.4); }
.tour-light .tour-config-item { background: rgba(0,0,0,.03); border: 1px solid #e4e4e7; color: #0F172A; }
.tour-light .tour-config-item i { color: #94a3b8; }

.tour-queue-panel { display: grid; grid-template-rows: 40px 40px 1fr; overflow: hidden; }

.tour-queue-tabs { display: grid; grid-template-columns: repeat(3, 1fr); }
.tour-tab-btn { background: transparent; border: none; border-bottom: 2px solid transparent; font-family: inherit; font-size: .72rem; font-weight: 600; cursor: pointer; transition: color .2s, border-color .2s; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 0 2px; }
.tour-tab-btn.active { color: #118A66; border-bottom-color: #118A66; }
.tour-badge { font-size: .62rem; padding: 1px 5px; border-radius: 99px; font-weight: 500; }
.tour-tab-btn.active .tour-badge { background: #118A66; color: #fff; }

.tour-search-box { padding: 6px 10px; display: flex; align-items: center; }
.tour-search-input { width: 100%; padding: 5px 10px; border-radius: 6px; font-size: .72rem; outline: none; font-family: inherit; pointer-events: none; }

.tour-tickets-list { overflow-y: auto; padding: 8px; display: flex; flex-direction: column; gap: 4px; }

.tour-ticket-item { border-radius: 8px; padding: 9px 10px; cursor: pointer; display: flex; align-items: center; gap: 9px; transition: border-color .15s, background .15s; }
.tour-ticket-avatar { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .85rem; flex-shrink: 0; }
.tour-ticket-avatar i { font-size: .85rem; }
.tour-ticket-text-info { flex-grow: 1; overflow: hidden; min-width: 0; }
.tour-ticket-top-line { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2px; }
.tour-ticket-customer-name { font-size: .78rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tour-ticket-time { font-size: .62rem; font-weight: 500; white-space: nowrap; flex-shrink: 0; }
.tour-ticket-last-msg { font-size: .68rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Channel avatar colors — whatsapp/sms/email/voice/widget copied verbatim from Projeto 4T/4T/assets/css/style.css:33-52; instagram/telegram use the real codebase's brand colors (no channel-color vars exist for them in style.css) */
/* Also matches .tour-ticket-avatar.tour-ch-* directly (no .tour-ticket-item ancestor) so the chat header avatar (#tourChatHeaderAvatar), which only ever carries .tour-ticket-avatar + .tour-ch-*, picks up the same channel color. */
.tour-ticket-item.tour-ch-whatsapp  .tour-ticket-avatar, .tour-ticket-avatar.tour-ch-whatsapp  { background: rgba(37,211,102,.15);  color: #25D366; }
.tour-ticket-item.tour-ch-sms       .tour-ticket-avatar, .tour-ticket-avatar.tour-ch-sms       { background: rgba(245,158,11,.15);  color: #F59E0B; }
.tour-ticket-item.tour-ch-email     .tour-ticket-avatar, .tour-ticket-avatar.tour-ch-email     { background: rgba(59,130,246,.15);  color: #3B82F6; }
.tour-ticket-item.tour-ch-voice     .tour-ticket-avatar, .tour-ticket-avatar.tour-ch-voice     { background: rgba(48,209,88,.15);   color: #30d158; }
.tour-ticket-item.tour-ch-widget    .tour-ticket-avatar, .tour-ticket-avatar.tour-ch-widget    { background: rgba(167,139,250,.15); color: #a78bfa; }
.tour-ticket-item.tour-ch-instagram .tour-ticket-avatar, .tour-ticket-avatar.tour-ch-instagram { background: rgba(220,39,67,.15);   color: #dc2743; }
.tour-ticket-item.tour-ch-telegram  .tour-ticket-avatar, .tour-ticket-avatar.tour-ch-telegram  { background: rgba(34,158,217,.15);  color: #229ED9; }

.tour-chat-header { display: flex; align-items: center; gap: 10px; padding: 12px 16px; }
.tour-chat-header-name { font-size: .85rem; font-weight: 700; }
.tour-chat-body { padding: 16px; height: calc(100% - 50px); overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }

/* Message wrapper/bubble — copied verbatim from Projeto 4T/4T/assets/css/style.css:1046-1123 */
.tour-msg-wrapper { display: flex; width: 100%; }
.tour-msg-wrapper.received { justify-content: flex-start; }
.tour-msg-wrapper.sent, .tour-msg-wrapper.bot { justify-content: flex-end; }
.tour-msg-wrapper.system { justify-content: center; }

.tour-msg-bubble { max-width: 72%; padding: 9px 14px; border-radius: 12px; font-size: .82rem; line-height: 1.55; word-break: break-word; white-space: pre-wrap; position: relative; animation: tourMsgIn .3s ease; }
.tour-msg-wrapper.received .tour-msg-bubble { border-bottom-left-radius: 3px; }
.tour-msg-wrapper.sent .tour-msg-bubble { border-bottom-right-radius: 4px; }
.tour-msg-wrapper.system .tour-msg-bubble { font-size: .7rem; padding: 4px 12px; border-radius: 99px; max-width: 80%; text-align: center; }
.tour-msg-wrapper.bot .tour-msg-bubble { font-size: .8rem; padding: 9px 14px; border-radius: 6px; max-width: 72%; text-align: left; }
.tour-msg-time { display: block; font-size: .62rem; margin-top: 4px; text-align: right; opacity: .65; }

.tour-typing { display: inline-flex; gap: 3px; align-self: flex-start; padding: 10px 14px; border-radius: 12px; border-bottom-left-radius: 3px; }
.tour-typing span { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .5; animation: tourTypingBlink 1s infinite; }
.tour-typing span:nth-child(2) { animation-delay: .2s; }
.tour-typing span:nth-child(3) { animation-delay: .4s; }

@keyframes tourTypingBlink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
@keyframes tourMsgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* Details panel — structure copied from Projeto 4T/4T/assets/css/style.css:1575-1589 (.details-panel), :4078-4109 (.details-panel-tabs/.details-tab-btn), :1634-1654 (.details-card/.details-label/.details-value) */
.tour-details-panel { padding: 16px 14px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; }
.tour-details-tabs { display: flex; gap: 0; border-bottom: 1px solid; position: sticky; top: 0; }
.tour-details-tab-btn { padding: 10px 12px; border: none; background: transparent; border-bottom: 2px solid transparent; font-size: .78rem; font-weight: 600; font-family: inherit; cursor: pointer; flex: 1; }
.tour-details-tab-btn.active { color: #118A66; border-bottom-color: #118A66; }
.tour-details-tab-content { display: none; flex-direction: column; gap: 12px; }
.tour-details-tab-content.active { display: flex; }

.tour-details-card { border: 1px solid; border-radius: 8px; padding: 13px; display: flex; flex-direction: column; gap: 8px; }
.tour-details-item { display: flex; flex-direction: column; gap: 3px; }
.tour-details-label { font-size: .72rem; }
.tour-details-value { font-size: .85rem; font-weight: 500; }

/* CRM tab — .crm-client-card/.crm-client-avatar copied from style.css:4115-4133 */
.tour-crm-client-card { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 8px; }
.tour-crm-client-avatar { width: 36px; height: 36px; border-radius: 50%; background: #118A66; color: #fff; display: flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 700; flex-shrink: 0; }
.tour-crm-form-field { display: flex; flex-direction: column; gap: 4px; }
.tour-crm-form-field .tour-search-input { pointer-events: none; }

/* Tabulação tab */
.tour-tabulacao-select { width: 100%; padding: 6px 10px; border-radius: 6px; font-size: .78rem; font-family: inherit; pointer-events: none; appearance: none; }
.tour-intent-badge { font-size: .68rem; font-weight: 600; padding: 3px 9px; border-radius: 99px; white-space: nowrap; background: rgba(17,138,102,.15); color: #118A66; }

/* Histórico tab */
.tour-history-card { border: 1px solid; border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.tour-history-channel-tag { font-size: .68rem; font-weight: 600; padding: 2px 8px; border-radius: 99px; margin-left: 8px; }

/* ---- Dark theme (default) ---- */
.tour-mockup.tour-dark { background: #0a0a0a; border: 1px solid #23252a; }
.tour-dark .tour-queue-panel { background: #0d0d0d; border-right: 1px solid #23252a; }
.tour-dark .tour-queue-tabs { border-bottom: 1px solid #23252a; }
.tour-dark .tour-tab-btn { color: #9c9fa5; }
.tour-dark .tour-badge { background: rgba(255,255,255,.06); color: #f7f8f8; }
.tour-dark .tour-search-box { border-bottom: 1px solid #23252a; }
.tour-dark .tour-search-input { background: rgba(255,255,255,.05); border: 1px solid #23252a; color: #f7f8f8; }
.tour-dark .tour-ticket-item { background: #0a0a0a; border: 1px solid #23252a; }
.tour-dark .tour-ticket-item:hover, .tour-dark .tour-ticket-item.active { border-color: #118A66; background: rgba(17,138,102,.12); }
.tour-dark .tour-ticket-customer-name { color: #f7f8f8; }
.tour-dark .tour-ticket-time, .tour-dark .tour-ticket-last-msg { color: #9c9fa5; }
.tour-dark .tour-chat-panel { background: #0a0a0a; }
.tour-dark .tour-chat-header { background: #111111; border-bottom: 1px solid #23252a; }
.tour-dark .tour-chat-header-name { color: #f7f8f8; }
.tour-dark .tour-msg-wrapper.received .tour-msg-bubble { background: #1a1a1a; border: 1px solid #23252a; color: #f7f8f8; }
.tour-dark .tour-msg-wrapper.sent .tour-msg-bubble { background: #2a2a2a; color: #f7f8f8; }
.tour-dark .tour-msg-wrapper.system .tour-msg-bubble { background: rgba(255,255,255,.06); border: 1px solid #23252a; color: #9c9fa5; }
.tour-dark .tour-msg-wrapper.bot .tour-msg-bubble { background: #0a1a15; border: 1px solid #23252a; color: #d6f5e8; }
.tour-dark .tour-typing { background: #1a1a1a; color: #f7f8f8; }
.tour-dark .tour-details-panel { background: #111111; border-left: 1px solid #23252a; }
.tour-dark .tour-details-tabs { border-bottom-color: #23252a; }
.tour-dark .tour-details-tab-btn { color: #9c9fa5; }
.tour-dark .tour-details-card, .tour-dark .tour-history-card { border-color: #23252a; }
.tour-dark .tour-details-label { color: #9c9fa5; }
.tour-dark .tour-details-value { color: #f7f8f8; }
.tour-dark .tour-crm-client-card { background: rgba(255,255,255,.04); }
.tour-dark .tour-tabulacao-select { background: rgba(255,255,255,.05); border: 1px solid #23252a; color: #f7f8f8; }
.tour-dark .tour-history-channel-tag { background: rgba(255,255,255,.06); color: #f7f8f8; }

/* ---- Light theme ---- */
.tour-mockup.tour-light { background: #ffffff; border: 1px solid #d9d9dd; }
.tour-light .tour-queue-panel { background: #fafafa; border-right: 1px solid #d9d9dd; }
.tour-light .tour-queue-tabs { border-bottom: 1px solid #d9d9dd; }
.tour-light .tour-tab-btn { color: #64748B; }
.tour-light .tour-badge { background: #ececec; color: #0F172A; }
.tour-light .tour-search-box { border-bottom: 1px solid #d9d9dd; }
.tour-light .tour-search-input { background: #ffffff; border: 1px solid #d9d9dd; color: #0F172A; }
.tour-light .tour-ticket-item { background: #ffffff; border: 1px solid #ececec; }
.tour-light .tour-ticket-item:hover, .tour-light .tour-ticket-item.active { border-color: #118A66; background: rgba(17,138,102,.08); }
.tour-light .tour-ticket-customer-name { color: #0F172A; }
.tour-light .tour-ticket-time, .tour-light .tour-ticket-last-msg { color: #64748B; }
.tour-light .tour-chat-panel { background: #ffffff; }
.tour-light .tour-chat-header { background: #fafafa; border-bottom: 1px solid #d9d9dd; }
.tour-light .tour-chat-header-name { color: #0F172A; }
.tour-light .tour-msg-wrapper.received .tour-msg-bubble { background: #eeece7; color: #0F172A; }
.tour-light .tour-msg-wrapper.sent .tour-msg-bubble { background: #17171c; color: #fff; }
.tour-light .tour-msg-wrapper.system .tour-msg-bubble { background: #ececec; color: #64748B; }
.tour-light .tour-msg-wrapper.bot .tour-msg-bubble { background: #1a3a3a; color: #d6f5e8; }
.tour-light .tour-typing { background: #eeece7; color: #0F172A; }
.tour-light .tour-details-panel { background: #fafafa; border-left: 1px solid #d9d9dd; }
.tour-light .tour-details-tabs { border-bottom-color: #d9d9dd; }
.tour-light .tour-details-tab-btn { color: #64748B; }
.tour-light .tour-details-card, .tour-light .tour-history-card { border-color: #d9d9dd; }
.tour-light .tour-details-label { color: #64748B; }
.tour-light .tour-details-value { color: #0F172A; }
.tour-light .tour-crm-client-card { background: #ffffff; border: 1px solid #ececec; }
.tour-light .tour-tabulacao-select { background: #ffffff; border: 1px solid #d9d9dd; color: #0F172A; }
.tour-light .tour-history-channel-tag { background: #ececec; color: #0F172A; }

.tour-spotlight { outline: 2px solid #118A66; outline-offset: -2px; box-shadow: 0 0 0 4px rgba(17,138,102,.25); position: relative; z-index: 2; }
/* .tour-legend relies on position: absolute (see rule above); .tour-spotlight's position:relative would override it, so keep absolute when the legend panel itself is spotlighted (Atender step 6). */
.tour-legend.tour-spotlight { position: absolute; }

/* ─── Floating tools widget (Classificar mockup only) ────── */
.tour-ft-widget { position: absolute; bottom: 16px; right: 16px; z-index: 20; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.tour-ft-panel { width: 240px; border-radius: 16px; padding: 16px; box-shadow: 0 8px 32px rgba(0,0,0,.45); }
.tour-ft-panel-ai { width: 280px; }
.tour-ft-panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: .78rem; font-weight: 700; }
.tour-ft-panel-header i { margin-right: 6px; color: #118A66; }
.tour-ft-panel-ai .tour-ft-panel-header i { color: #a78bfa; }
.tour-ft-panel-close { background: none; border: none; cursor: pointer; font-size: 1rem; line-height: 1; padding: 0; }

.tour-ft-calc-display { border-radius: 10px; padding: 12px 14px; margin-bottom: 12px; text-align: right; }
.tour-ft-calc-expr { font-size: .7rem; min-height: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tour-ft-calc-result { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.tour-ft-calc-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; margin-bottom: 8px; }
.tour-ft-calc-btn { padding: 10px 4px; border-radius: 8px; font-size: .88rem; font-weight: 600; cursor: default; font-family: inherit; }
.tour-ft-calc-btn.tour-ft-calc-zero { grid-column: span 2; }
.tour-ft-calc-btn.tour-ft-calc-eq { background: #118A66; border-color: #118A66; color: #fff; }
.tour-ft-calc-copy { width: 100%; padding: 8px; border-radius: 8px; background: #118A66; border: none; color: #fff; font-size: .8rem; font-weight: 600; cursor: default; display: flex; align-items: center; justify-content: center; gap: 6px; }

.tour-ft-cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.tour-ft-cal-nav { background: none; border: none; color: #118A66; cursor: default; font-size: 1.1rem; padding: 2px 6px; border-radius: 6px; }
.tour-ft-cal-month-label { font-size: .85rem; font-weight: 700; }
.tour-ft-cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; text-align: center; font-size: .7rem; }
.tour-ft-cal-day { padding: 4px 0; border-radius: 6px; font-size: .7rem; }
.tour-ft-cal-day.other { opacity: .3; }
.tour-ft-cal-day.today { font-weight: 700; color: #118A66; }
.tour-ft-cal-dow { font-size: .62rem; font-weight: 600; padding: 2px 0; text-transform: uppercase; }
.tour-ft-cal-hint { margin-top: 10px; padding: 8px; border-radius: 8px; font-size: .75rem; text-align: center; }

.tour-ft-note-toolbar { display: flex; gap: 4px; margin-bottom: 6px; padding: 6px; border-radius: 8px; flex-wrap: wrap; align-items: center; }
.tour-ft-note-tb-btn { background: none; border: 1px solid transparent; cursor: default; padding: 2px 7px; border-radius: 5px; font-size: .78rem; }
.tour-ft-note-color { display: inline-block; border-radius: 50%; width: 18px; height: 18px; }
.tour-ft-note-editor { min-height: 100px; border-radius: 8px; padding: 8px 10px; font-size: .82rem; white-space: pre-wrap; }
.tour-ft-note-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; font-size: .65rem; }

.tour-ft-ai-messages { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; max-height: 220px; overflow-y: auto; }
.tour-ft-ai-msg { font-size: .8rem; line-height: 1.45; padding: 8px 12px; border-radius: 12px; max-width: 90%; }
.tour-ft-ai-msg.user { align-self: flex-end; background: #118A66; color: #fff; border-bottom-right-radius: 4px; }
.tour-ft-ai-msg.ai { align-self: flex-start; border-bottom-left-radius: 4px; }
.tour-ft-ai-input-row { display: flex; gap: 8px; }
.tour-ft-ai-input { flex: 1; border-radius: 20px; padding: 8px 14px; font-size: .8rem; }
.tour-ft-ai-send { width: 34px; height: 34px; border-radius: 50%; background: #118A66; border: none; color: #fff; display: flex; align-items: center; justify-content: center; cursor: default; flex-shrink: 0; }

.tour-ft-btn-row { display: flex; gap: 6px; justify-content: flex-end; }
.tour-ft-btn { width: 40px; height: 40px; border-radius: 10px; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.25); display: flex; align-items: center; justify-content: center; transition: border-color .15s; }
.tour-ft-btn i { font-size: 18px; }
.tour-ft-btn.active { border-color: #118A66; }
.tour-ft-btn-ai i { color: #a78bfa; }

/* Dark (default) */
.tour-dark .tour-ft-panel { background: #111111; border: 1px solid rgba(255,255,255,.08); }
.tour-dark .tour-ft-panel-header { color: rgba(255,255,255,.52); }
.tour-dark .tour-ft-panel-close { color: rgba(255,255,255,.52); }
.tour-dark .tour-ft-calc-display { background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.08); }
.tour-dark .tour-ft-calc-expr { color: rgba(255,255,255,.52); }
.tour-dark .tour-ft-calc-result { color: #F8FAFC; }
.tour-dark .tour-ft-calc-btn { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); color: #F8FAFC; }
.tour-dark .tour-ft-calc-btn.tour-ft-calc-accent { background: rgba(17,138,102,.12); color: #118A66; }
.tour-dark .tour-ft-calc-btn.tour-ft-calc-op:not(.tour-ft-calc-accent) { color: rgba(255,255,255,.52); }
.tour-dark .tour-ft-calc-btn.tour-ft-calc-eq { background: #118A66; border-color: #118A66; color: #fff; }
.tour-dark .tour-ft-cal-month-label { color: #F8FAFC; }
.tour-dark .tour-ft-cal-day { color: #F8FAFC; }
.tour-dark .tour-ft-cal-dow { color: rgba(255,255,255,.52); }
.tour-dark .tour-ft-cal-hint { background: rgba(0,0,0,.2); color: rgba(255,255,255,.52); }
.tour-dark .tour-ft-note-toolbar { background: rgba(0,0,0,.15); }
.tour-dark .tour-ft-note-tb-btn { color: rgba(255,255,255,.52); }
.tour-dark .tour-ft-note-editor { background: rgba(0,0,0,.2); border: 1px solid rgba(255,255,255,.08); color: #F8FAFC; }
.tour-dark .tour-ft-note-footer { color: rgba(255,255,255,.52); }
.tour-dark .tour-ft-ai-msg.ai { background: rgba(255,255,255,.06); color: #F8FAFC; }
.tour-dark .tour-ft-ai-input { background: rgba(0,0,0,.2); border: 1px solid rgba(255,255,255,.08); color: #F8FAFC; }
.tour-dark .tour-ft-btn { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.52); }

/* Light */
.tour-light .tour-ft-panel { background: #ffffff; border: 1px solid #d9d9dd; }
.tour-light .tour-ft-panel-header { color: #64748B; }
.tour-light .tour-ft-panel-close { color: #64748B; }
.tour-light .tour-ft-calc-display { background: #f4f4f5; border: 1px solid #d9d9dd; }
.tour-light .tour-ft-calc-expr { color: #64748B; }
.tour-light .tour-ft-calc-result { color: #0F172A; }
.tour-light .tour-ft-calc-btn { background: #ffffff; border: 1px solid #d9d9dd; color: #0F172A; }
.tour-light .tour-ft-calc-btn.tour-ft-calc-accent { background: rgba(17,138,102,.08); color: #118A66; }
.tour-light .tour-ft-calc-btn.tour-ft-calc-op:not(.tour-ft-calc-accent) { color: #64748B; }
.tour-light .tour-ft-calc-btn.tour-ft-calc-eq { background: #118A66; border-color: #118A66; color: #fff; }
.tour-light .tour-ft-cal-month-label { color: #0F172A; }
.tour-light .tour-ft-cal-day { color: #0F172A; }
.tour-light .tour-ft-cal-dow { color: #64748B; }
.tour-light .tour-ft-cal-hint { background: #f4f4f5; color: #64748B; }
.tour-light .tour-ft-note-toolbar { background: #f4f4f5; }
.tour-light .tour-ft-note-tb-btn { color: #64748B; }
.tour-light .tour-ft-note-editor { background: #fafafa; border: 1px solid #d9d9dd; color: #0F172A; }
.tour-light .tour-ft-note-footer { color: #64748B; }
.tour-light .tour-ft-ai-msg.ai { background: #ececec; color: #0F172A; }
.tour-light .tour-ft-ai-input { background: #ffffff; border: 1px solid #d9d9dd; color: #0F172A; }
.tour-light .tour-ft-btn { background: #ffffff; border: 1px solid #d9d9dd; color: #64748B; }

.tour-dark .tour-ft-btn.active,
.tour-light .tour-ft-btn.active { border-color: #118A66; }

/* ─── HOW IT WORKS ─────────────────────────────────────── */
.how-section { background: #1e1e24; }
.how-section .sec-title { color: #fff; }
.how-section .sec-sub { color: rgba(255,255,255,0.52); }

.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; position: relative; margin-top: 60px; }
.steps::before { content: ''; position: absolute; top: 36px; left: 18%; right: 18%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), rgba(255,255,255,0.08), transparent); }
.step { text-align: center; padding: 0 12px; }
.step-num { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 24px; display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 900; background: #118A66; color: #fff; box-shadow: 0 0 40px rgba(17,138,102,.35); }
.step h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 10px; color: #fff; }
.step p { color: rgba(255,255,255,0.52); font-size: .85rem; line-height: 1.6; }

/* ─── CTA ─────────────────────────────────────────────── */
.cta-section { background: #17171c; }
.cta-banner { background: linear-gradient(135deg, rgba(17,138,102,.1), rgba(0,60,51,.1)); border: 1px solid rgba(17,138,102,.2); border-radius: 24px; padding: 72px 48px; text-align: center; }
.cta-banner h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 14px; color: #fff; }
.cta-banner p { color: rgba(255,255,255,0.52); font-size: 1rem; margin-bottom: 40px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-lg { padding: 14px 28px; font-size: .95rem; font-weight: 700; border-radius: 32px; text-decoration: none; transition: all .22s; cursor: pointer; border: none; display: inline-flex; align-items: center; gap: 8px; }
.btn-lg i { font-size: 1.1rem; }
.btn-lg.primary { background: #1863dc; color: #fff; }
.btn-lg.primary:hover { background: #3b82f6; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,99,235,.4); }
.btn-lg.outline { border: 1px solid rgba(255,255,255,0.08); color: #F8FAFC; background: rgba(255,255,255,0.04); backdrop-filter: blur(8px); }
.btn-lg.outline:hover { border-color: #3b82f6; color: #3b82f6; }

/* ─── FOOTER ───────────────────────────────────────────── */
footer { border-top: 1px solid rgba(255,255,255,0.08); padding: 40px 0; background: #17171c; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo-icon { width: 28px; height: 28px; flex-shrink: 0; opacity: .75; }
.footer-logo-wordmark { display: flex; align-items: baseline; gap: 2px; font-family: 'Space Grotesk', sans-serif; font-weight: 800; font-size: 1rem; letter-spacing: -.2px; color: rgba(255,255,255,.7); line-height: 1; }
.footer-logo-wordmark .sep { font-weight: 400; color: rgba(255,255,255,.25); font-size: .9rem; margin: 0 1px; }
.footer-logo-wordmark .part2 { font-weight: 700; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.52); text-decoration: none; font-size: .84rem; transition: color .2s; cursor: pointer; }
.footer-links a:hover { color: #fff; }
.footer-copy { color: rgba(255,255,255,.18); font-size: .78rem; }

/* ─── MODAL ────────────────────────────────────────────── */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(6px); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal-box { background: #0f172a; border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 40px; max-width: 460px; width: 100%; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.modal-box h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 800; font-size: 1.4rem; margin-bottom: 8px; color: #fff; }
.modal-box p { color: rgba(255,255,255,0.52); font-size: .88rem; margin-bottom: 24px; line-height: 1.6; }
.modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; color: rgba(255,255,255,0.52); cursor: pointer; font-size: 1.2rem; padding: 6px; border-radius: 8px; transition: all .2s; }
.modal-close:hover { color: #fff; background: rgba(255,255,255,.08); }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: .78rem; font-weight: 600; color: rgba(255,255,255,0.52); margin-bottom: 5px; text-transform: uppercase; letter-spacing: .5px; }
.form-input { width: 100%; padding: 11px 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; color: #F8FAFC; font-size: .9rem; outline: none; transition: border-color .2s; font-family: 'Inter', sans-serif; }
.form-input:focus { border-color: #1863dc; }
.form-input::placeholder { color: rgba(255,255,255,.22); }
.btn-submit { width: 100%; padding: 13px; background: #1863dc; border: none; border-radius: 32px; color: #fff; font-weight: 800; font-size: .95rem; cursor: pointer; transition: all .2s; font-family: 'Space Grotesk', sans-serif; margin-top: 6px; }
.btn-submit:hover { background: #3b82f6; }
.btn-submit:disabled { opacity: .5; cursor: default; }
.modal-divider { text-align: center; color: rgba(255,255,255,0.52); font-size: .8rem; margin: 18px 0; position: relative; }
.modal-divider::before, .modal-divider::after { content: ''; position: absolute; top: 50%; width: 38%; height: 1px; background: rgba(255,255,255,0.08); }
.modal-divider::before { left: 0; }
.modal-divider::after { right: 0; }
.btn-calendly { width: 100%; padding: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 32px; color: #F8FAFC; font-weight: 700; font-size: .9rem; cursor: pointer; transition: all .2s; font-family: 'Space Grotesk', sans-serif; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-calendly i { font-size: 1rem; }
.btn-calendly:hover { border-color: #1863dc; color: #3b82f6; }
.alert-success { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.2); border-radius: 10px; padding: 12px 16px; color: #118A66; font-size: .86rem; margin-top: 14px; display: none; align-items: center; gap: 6px; }
.alert-success i { font-size: 1rem; }

/* ─── UTILS ────────────────────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .channels-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .perf-grid { grid-template-columns: repeat(2,1fr); }
  .channel-card { padding: 24px 20px; }
  .ch-name { font-size: 1.1rem; }
  .ch-desc { font-size: .88rem; line-height: 1.6; }
  .ch-status { font-size: .78rem; }
}
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .modal-overlay { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .btn-lg.outline { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .tour-legend { position: static; width: auto; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .tour-legend.tour-spotlight { position: static; }
  .tour-app-body { flex-direction: column; }
  .tour-app-sidebar { flex-direction: row; overflow-x: auto; width: auto; padding: 8px; }
  .tour-app-sidebar-appicon { margin-bottom: 0; margin-right: 6px; }
  .tour-sidebar-spacer { width: 10px; height: auto; }
  .tour-sidebar-group { flex-direction: row; }
  .tour-sip-popover.tour-sip-popover--visible { display: none; }
  .tour-module-preview.tour-module-preview--visible { display: none; }
}
@media (max-width: 700px) {
  .features-grid { grid-template-columns: 1fr; }
  .perf-grid { grid-template-columns: repeat(2,1fr); }
  .clients-logos { gap: 24px; flex-wrap: wrap; justify-content: flex-start; }
  .clients-inner { gap: 20px; }
  .channels-section .sec-title { font-size: 1.6rem; }
  .channels-section .sec-sub { font-size: .92rem; }
  .channel-card { padding: 22px 18px; }
  .ch-icon-wrap { width: 40px; height: 40px; }
  .ch-icon-wrap i { font-size: 1.25rem; }
  .ch-name { font-size: 1.05rem; }
  .ch-desc { font-size: .85rem; }
  .tour-mockup-grid { grid-template-columns: 1fr; height: auto; }
  .tour-mockup-grid--3col { grid-template-columns: 1fr; }
  .tour-details-panel { max-height: 260px; }
  .tour-tickets-list { max-height: 160px; }
  .tour-chat-body { height: 260px; }
  .tour-ft-panel { width: 200px; }
  .tour-ft-panel-ai { width: 220px; }
}
@media (max-width: 600px) {
  .cta-banner { padding: 40px 24px; }
  .channels-section .section { padding: 64px 0; }
  .channel-card { padding: 20px 16px; }
  .ch-desc { font-size: .84rem; line-height: 1.55; }
}
@media (max-width: 480px) {
  .perf-grid { grid-template-columns: 1fr; }
  .channels-section .section { padding: 56px 0; }
  .features-section .section { padding: 64px 0; }
  .performance-section .section { padding: 64px 0; }
  .how-section .section { padding: 64px 0; }
  .cta-section .section { padding: 56px 0; }
  .feat-card { padding: 22px 18px; }
  .feat-title { font-size: .95rem; }
  .feat-desc { font-size: .82rem; }
  .step-num { width: 60px; height: 60px; font-size: 1.3rem; }
  .perf-num { font-size: 2.4rem; }
  .perf-item { padding: 32px 20px; }
}

/* ─── TOOLTIPS & OVERLAYS INTERATIVOS (ADICIONADOS) ───── */

/* Tooltip da Sidebar */
.tour-sidebar-tooltip {
  background: #118A66;
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
  pointer-events: none;
  transition: opacity 0.3s ease;
  font-family: 'Space Grotesk', sans-serif;
  opacity: 0;
  display: none;
}
.tour-sidebar-tooltip::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: #118A66;
}

/* Popover do Chat Interno */
.tour-internal-chat-popover {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 8px;
  width: 220px;
  border-radius: 12px;
  padding: 12px;
  z-index: 1000;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  text-align: left;
}
.tour-internal-chat-popover--visible {
  display: block !important;
}
.tour-dark .tour-internal-chat-popover {
  background: #17181c;
  border: 1px solid #23252a;
  color: #fff;
}
.tour-light .tour-internal-chat-popover {
  background: #ffffff;
  border: 1px solid #d9d9dd;
  color: #0F172A;
}

/* Popover de Abertura Manual de Chamado */
.tour-manual-ticket-popover {
  display: none;
  position: absolute;
  left: 100%;
  bottom: 0;
  margin-left: 10px;
  width: 220px;
  border-radius: 12px;
  padding: 12px;
  z-index: 1000;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  text-align: left;
}
.tour-manual-ticket-popover--visible {
  display: block !important;
}
.tour-dark .tour-manual-ticket-popover {
  background: #17181c;
  border: 1px solid #23252a;
  color: #fff;
}
.tour-dark .tour-manual-ticket-popover input, .tour-dark .tour-manual-ticket-popover select {
  background: rgba(255,255,255,.05);
  border: 1px solid #23252a;
  color: #f7f8f8;
}
.tour-light .tour-manual-ticket-popover {
  background: #ffffff;
  border: 1px solid #d9d9dd;
  color: #0F172A;
}
.tour-light .tour-manual-ticket-popover input, .tour-light .tour-manual-ticket-popover select {
  background: #f4f4f5;
  border: 1px solid #d9d9dd;
  color: #0F172A;
}

/* Drawer da Agenda / Calendario semanal */
.tour-calendar-drawer {
  display: none;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 500px;
  z-index: 1000;
  box-shadow: -8px 0 30px rgba(0,0,0,.35);
  padding: 12px;
  text-align: left;
  transition: transform 0.3s ease;
}
.tour-calendar-drawer--visible {
  display: block !important;
}
.tour-dark .tour-calendar-drawer {
  background: #111111;
  border-left: 1px solid #23252a;
  color: #fff;
}
.tour-light .tour-calendar-drawer {
  background: #ffffff;
  border-left: 1px solid #d9d9dd;
  color: #0F172A;
}

/* Popover de Notificações */
.tour-notifications-popover {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 8px;
  width: 210px;
  border-radius: 12px;
  padding: 10px;
  z-index: 1000;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  text-align: left;
}
.tour-notifications-popover--visible {
  display: block !important;
}
.tour-dark .tour-notifications-popover {
  background: #17181c;
  border: 1px solid #23252a;
  color: #fff;
}
.tour-light .tour-notifications-popover {
  background: #ffffff;
  border: 1px solid #d9d9dd;
  color: #0F172A;
}

/* ── Módulo de Configurações ── */
.tour-cfg-zoom {
  display: none;
  position: absolute;
  left: 210px;
  right: 10px;
  top: 10px;
  bottom: 10px;
  border-radius: 12px;
  padding: 16px;
  z-index: 200;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.tour-dark .tour-cfg-zoom {
  background: rgba(15, 15, 15, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}
.tour-light .tour-cfg-zoom {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #0F172A;
}
.tour-cfg-card {
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.tour-cfg-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.tour-dark .tour-cfg-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.tour-light .tour-cfg-card {
  background: #ffffff;
  border: 1px solid #e4e4e7;
}
.tour-cfg-nav-item {
  transition: background 0.2s, color 0.2s;
}
.tour-dark .tour-cfg-nav-item {
  color: rgba(255, 255, 255, 0.7);
}
.tour-light .tour-cfg-nav-item {
  color: #475569;
}
.tour-dark .tour-cfg-nav-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}
.tour-light .tour-cfg-nav-item:hover {
  background: rgba(0, 0, 0, 0.04);
  color: #0F172A;
}

#tourMockupConfiguracoes .tour-preview-title,
#tourMockupConfiguracoes .tour-cfg-cards-grid {
  opacity: 0.12 !important;
  transition: opacity 0.3s ease;
}

.tour-mockup-grid:has(.tour-module-preview--visible) .tour-queue-panel,
.tour-mockup-grid:has(.tour-module-preview--visible) .tour-chat-panel,
.tour-mockup-grid:has(.tour-module-preview--visible) .tour-details-panel {
  opacity: 0.12 !important;
  pointer-events: none;
}

#tourSectionClassificar:has(.tour-spotlight) .tour-queue-panel:not(.tour-spotlight),
#tourSectionClassificar:has(.tour-spotlight) .tour-chat-panel:not(.tour-spotlight),
#tourSectionClassificar:has(.tour-spotlight) .tour-details-panel:not(.tour-spotlight),
#tourSectionMonitorar:has(.tour-spotlight) .tour-queue-panel:not(.tour-spotlight),
#tourSectionMonitorar:has(.tour-spotlight) .tour-chat-panel:not(.tour-spotlight),
#tourSectionMonitorar:has(.tour-spotlight) .tour-details-panel:not(.tour-spotlight) {
  opacity: 1 !important;
  pointer-events: none;
}

.tour-queue-panel,
.tour-chat-panel,
.tour-details-panel {
  transition: opacity 0.3s ease;
}

/* ── Dropdown de Status do Atendente ── */
.tour-status-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  background: var(--bg-zoom, #17181c);
  border: 1px solid rgba(128,128,128,0.2);
  border-radius: 8px;
  padding: 6px;
  min-width: 110px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  z-index: 9999;
  text-align: left;
}
.tour-status-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  font-size: 0.68rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  color: var(--text-color, #fff);
  transition: background 0.2s;
}
.tour-status-option:hover {
  background: rgba(128,128,128,0.1);
}
.tour-status-option.active {
  background: rgba(17,138,102,0.12);
  color: #118A66;
}
/* Light theme overrides for dropdown */
.tour-light .tour-status-dropdown {
  background: #ffffff;
  border: 1px solid #d9d9dd;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.tour-light .tour-status-option {
  color: #0F172A;
}
.tour-light .tour-status-option:hover {
  background: rgba(0, 0, 0, 0.03);
}

/* ── Popovers de Fila e Bot ── */
.tour-bot-list-popover,
.tour-queue-list-popover,
.tour-queue-summary-popover {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  background: var(--bg-zoom, #17181c);
  border: 1px solid rgba(128,128,128,0.2);
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  z-index: 9999;
  text-align: left;
}
.tour-bot-list-popover,
.tour-queue-list-popover {
  width: 220px;
}
.tour-queue-summary-popover {
  width: 320px;
}
/* Light theme overrides */
.tour-light .tour-bot-list-popover,
.tour-light .tour-queue-list-popover,
.tour-light .tour-queue-summary-popover {
  background: #ffffff;
  border: 1px solid #d9d9dd;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.tour-light .tour-queue-summary-popover tr {
  color: #0F172A;
}

/* ── SOLUÇÕES & CASOS DE USO ────────────────────────── */
.solutions-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 10;
}
.sol-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.sol-tab-btn {
  padding: 12px 24px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: var(--glass);
  color: var(--muted);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: all .25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sol-tab-btn i {
  font-size: 1.1rem;
}
.sol-tab-btn:hover {
  border-color: rgba(37,99,235,.4);
  color: var(--text);
  background: rgba(37,99,235,.04);
}
.sol-tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37,99,235,.3);
}

.sol-content {
  position: relative;
  min-height: 480px;
}
.sol-pane {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .35s ease, transform .35s ease;
}
.sol-pane.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.sol-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 1024px) {
  .sol-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.sol-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sol-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.sol-tag-roi {
  background: rgba(17,138,102,.12);
  color: #10b981;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(17,138,102,.2);
}
.sol-segments {
  display: flex;
  gap: 6px;
}
.sol-seg-badge {
  background: var(--glass);
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 600;
}
.sol-info h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}
.sol-desc-text {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.6;
}
.sol-details-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sol-detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .92rem;
  color: var(--text);
  font-weight: 500;
}
.sol-detail-item i {
  color: #10b981;
  font-size: 1.1rem;
}

/* Simulador Duplo */
.sol-simulators {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 20px;
  height: 420px;
}
@media (max-width: 768px) {
  .sol-simulators {
    grid-template-columns: 1fr;
    height: auto;
  }
}
.sol-sim-panel {
  background: #0d0f1a;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,.3);
  height: 100%;
}
body.light-mode .sol-sim-panel {
  background: #ffffff;
  border-color: rgba(15,23,42,0.08);
  box-shadow: 0 16px 36px rgba(0,0,0,0.06);
}
.sol-sim-header {
  padding: 12px 16px;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .78rem;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  gap: 8px;
}
body.light-mode .sol-sim-header {
  background: #f8fafc;
  border-bottom-color: #e2e8f0;
  color: #475569;
}
.sol-sim-header i {
  font-size: 1rem;
}
.sol-sim-panel.client .sol-sim-header i {
  color: #25d366;
}
.sol-sim-panel.tool .sol-sim-header i {
  color: var(--primary-l);
}
.sol-sim-chat {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}

/* Chat bubble styling */
.sol-msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: .85rem;
  line-height: 1.4;
  animation: solFadeIn .3s ease forwards;
  opacity: 0;
  transform: translateY(6px);
}
@keyframes solFadeIn {
  to { opacity: 1; transform: translateY(0); }
}
.sol-msg.user {
  align-self: flex-end;
  background: #056162;
  color: #fff;
  border-bottom-right-radius: 2px;
}
body.light-mode .sol-msg.user {
  background: #d9fdd3;
  color: #111b21;
}
.sol-msg.bot {
  align-self: flex-start;
  background: #202c33;
  color: #e9edef;
  border-bottom-left-radius: 2px;
  white-space: pre-line;
}
body.light-mode .sol-msg.bot {
  background: #ffffff;
  color: #111b21;
  border: 1px solid #e2e8f0;
}
.sol-msg.agent {
  align-self: flex-start;
  background: #1f2c3a;
  color: #fff;
  border-bottom-left-radius: 2px;
  border-left: 3px solid var(--primary-l);
}
body.light-mode .sol-msg.agent {
  background: #f1f5f9;
  color: #0f172a;
  border-left: 3px solid var(--primary);
}

/* Tool side logs */
.sol-log {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: .78rem;
  line-height: 1.4;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.05);
  animation: solFadeIn .3s ease forwards;
  opacity: 0;
  transform: translateY(6px);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
body.light-mode .sol-log {
  background: #f8fafc;
  border-color: #e2e8f0;
}
.sol-log.system {
  border-left: 3px solid #f59e0b;
}
.sol-log.ai {
  border-left: 3px solid #8b5cf6;
  background: rgba(139,92,246,.03);
}
body.light-mode .sol-log.ai {
  background: rgba(139,92,246,0.02);
}
.sol-log.success {
  border-left: 3px solid #10b981;
  background: rgba(16,185,129,.03);
}
body.light-mode .sol-log.success {
  background: rgba(16,185,129,0.02);
}
.sol-log-title {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sol-log.system .sol-log-title { color: #f59e0b; }
.sol-log.ai .sol-log-title { color: #a78bfa; }
.sol-log.success .sol-log-title { color: #10b981; }
.sol-log-desc {
  color: rgba(255,255,255,.6);
}
body.light-mode .sol-log-desc {
  color: #475569;
}
