:root {
  --bg:#060611;
  --panel:#0A0F1E;
  --panel-2:#111833;
  --border:#1A2548;
  --text:#E2E8F0;
  --muted:#7B8BA8;
  --accent:#2D6FF2;
  --accent-light:#5B9AFF;
  --accent-dark:#1A4FD0;
  --accent-glow:#38BDF8;
  --danger:#F87171;
  --radius:14px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:radial-gradient(900px 420px at 80% -10%,rgba(59, 130, 246,.1),transparent 65%),var(--bg);color:var(--text);font-family:Manrope,sans-serif;line-height:1.55}
h1,h2,h3,h4{margin:0 0 10px;font-family:Outfit,sans-serif;line-height:1.2}
a{color:#E5E5E5;text-decoration:none}
a:hover{color:#FFFFFF}
.hidden{display:none!important}
.error{color:var(--danger)!important}
.site-shell{width:min(1160px,calc(100% - 44px));margin:0 auto}
.site-header{position:sticky;top:0;z-index:60;border-bottom:1px solid rgba(148,163,184,.08);background:rgba(11, 11, 20,.9);backdrop-filter:blur(8px)}
.site-header .site-shell{display:flex;align-items:center;gap:16px;padding:14px 0}
.brand-logo{width:152px;height:auto}
.menu-toggle{display:none;border:1px solid var(--border);background:transparent;color:var(--text);border-radius:10px;padding:8px 11px}
.site-nav{display:flex;gap:10px;flex-wrap:wrap}
.site-nav a{color:#C8C8C8;font-weight:700;font-size:14px;padding:8px 10px;border-radius:10px}
.site-nav a.active,.site-nav a:hover{background:rgba(148,163,184,.07);color:#fff}
.site-actions{margin-left:auto;display:flex;gap:8px;align-items:center}
.btn{border:1px solid var(--border);background:rgba(59,130,246,.03);color:var(--text);border-radius:10px;padding:9px 13px;font-weight:700;font-size:14px;cursor:pointer}
.btn:hover{border-color:#334155}
.btn-solid{background:var(--accent);color:#fff;border-color:#2563EB;box-shadow:0 0 20px rgba(59,130,246,0.25),0 0 60px rgba(59,130,246,0.1)}
.btn-solid:hover{background:#2563EB;box-shadow:0 0 25px rgba(59,130,246,0.4),0 0 80px rgba(59,130,246,0.15)}
.hero{padding:78px 0 52px}
.hero-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:22px}
.kicker{color:#B3B3B3;text-transform:uppercase;letter-spacing:.11em;font-weight:700;font-size:12px}
.hero h1,.page-hero h1{font-size:clamp(32px,4.3vw,52px);max-width:14ch}
.lead{color:#C3C3C3;font-size:18px;max-width:64ch}
.cta-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.pill-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.pill{border:1px solid var(--border);border-radius:999px;padding:6px 10px;font-size:12px;color:#B5B5B5;background:rgba(59,130,246,.03)}
.card,.mockup-card,.panel-dark,.kpi-card,.panel-subtle,.yt-metric,.search-diag-card,.funnel-step,.price-card{border:1px solid var(--border);border-radius:var(--radius);padding:16px;background:linear-gradient(180deg,rgba(59,130,246,.03),rgba(59,130,246,.02))}
.panel-dark{background:rgba(17,24,39,0.7);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid rgba(59,130,246,0.1)}
.card-grid{display:grid;gap:12px}
.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.section-block{padding:54px 0;border-top:1px solid rgba(148,163,184,.05)}
.section-muted{background:rgba(59,130,246,.02)}
.section-sub,.muted,.muted-light,.tiny-muted,.helper-line{color:var(--muted)}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.timeline-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.timeline-grid article{border:1px solid var(--border);border-radius:12px;padding:12px;background:rgba(59,130,246,.03)}
.bulleted-list,.mockup-list{margin:10px 0 0;padding-left:18px;color:#B8B8B8}
.faq-stack{display:grid;gap:10px}
.faq-stack details{border:1px solid var(--border);border-radius:12px;padding:11px 13px;background:rgba(59,130,246,.03)}
.faq-stack summary{font-weight:700;cursor:pointer}
.page-hero{padding:72px 0 12px}
.narrow{width:min(560px,calc(100% - 44px));margin:0 auto}
.auth-form{display:grid;gap:10px}
.auth-form label{display:grid;gap:6px;font-weight:600;font-size:14px}
input,select,textarea{width:100%;border:1px solid var(--border);border-radius:10px;padding:10px 11px;background:#0B0F1A;color:var(--text);font:inherit}
.table-wrap{overflow-x:auto}
.pricing-table{width:100%;border-collapse:collapse;border:1px solid var(--border)}
.pricing-table th,.pricing-table td{padding:10px 12px;border-bottom:1px solid var(--border);text-align:left}
.pricing-table th{background:rgba(148,163,184,.05)}
.price{margin:2px 0 10px;font-family:Outfit,sans-serif;font-size:32px;font-weight:800}
.price span{font-size:13px;color:var(--muted)}
.price-card.featured{border-color:rgba(59, 130, 246,.65);background:linear-gradient(180deg,rgba(59, 130, 246,.12),rgba(59,130,246,.02))}
.site-footer{margin-top:58px;border-top:1px solid rgba(148,163,184,.08);padding-top:30px;background:rgba(11, 15, 26,.55)}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:12px}
.footer-grid ul{margin:0;padding:0;list-style:none}
.footer-grid li{margin-bottom:6px}
.footer-grid p{color:var(--muted)}
.footer-bottom{margin-top:16px;padding:12px 0 18px;border-top:1px solid rgba(148,163,184,.07);color:var(--muted)}
.dashboard-body{margin:0;background:radial-gradient(780px 360px at 70% -10%,rgba(59, 130, 246,.08),transparent 70%),#0B0B14;color:var(--text)}
.dash-layout{display:grid;grid-template-columns:248px 1fr;min-height:calc(100vh - 76px)}
.dash-sidebar{position:sticky;top:76px;height:calc(100vh - 76px);overflow:auto;border-right:1px solid var(--border);padding:18px 14px;background:#0B0F1A}
.dash-nav{display:grid;gap:8px}
.dash-nav-btn{text-align:left;border:1px solid var(--border);background:transparent;color:#D2D2D2;border-radius:10px;padding:10px 12px;font-weight:700;cursor:pointer}
.dash-nav-btn.active,.dash-nav-btn:hover{border-color:rgba(59, 130, 246,.7);background:rgba(59, 130, 246,.12);color:#fff}
.dash-sidebar-foot{margin-top:16px;font-size:13px;color:var(--muted)}
.dash-main{padding:22px;overflow:auto}
.dash-header{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px}
.section-panel{display:none;gap:12px}
.section-panel.active{display:grid}
.section-panel.blocked{opacity:.45;pointer-events:none}
.panel-row{display:flex;align-items:center;gap:10px}
.panel-row.between{justify-content:space-between}
.button-row{display:flex;flex-wrap:wrap;gap:8px}
.status-chip-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.status-chip{border:1px solid rgba(59,130,246,0.2);border-radius:999px;padding:5px 10px;font-size:12px;color:#60A5FA;background:rgba(59,130,246,0.15)}
.overview-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.kpi-label{color:var(--muted);font-size:13px;margin-bottom:6px}
.kpi-value{margin:0;font-family:Outfit,sans-serif;font-size:30px;font-weight:700}
.panel-dark-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.mode-switch{display:inline-flex;border:1px solid var(--border);border-radius:999px;overflow:hidden}
.mode-btn{border:0;background:transparent;color:#d3d3dc;padding:7px 11px;cursor:pointer}
.mode-btn.active{background:rgba(59, 130, 246,.12);color:#FFFFFF}
.chip-grid{display:flex;flex-wrap:wrap;gap:8px}
.chip{border:1px solid rgba(148,163,184,0.15);border-radius:999px;padding:7px 15px;background:rgba(20,25,40,0.70);color:rgba(195,210,232,0.75);cursor:pointer;white-space:nowrap;overflow:visible;font-size:13px;box-shadow:none}
.chip.active{border-color:rgba(59,130,246,0.55);background:rgba(59,130,246,0.14);color:#FFFFFF;box-shadow:none}
.form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:10px}
.form-grid.compact{grid-template-columns:repeat(3,minmax(0,1fr))}
.toggle-row,.source-switch{display:flex;flex-wrap:wrap;gap:12px;margin:10px 0;color:#BCBCBC}
.insight-box{border:1px solid var(--border);border-radius:10px;padding:11px;background:#0D1222;color:#D3D3D3;white-space:pre-wrap;overflow:auto}
.result-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.result-card{border:1px solid var(--border);border-radius:12px;padding:12px;background:#0F1526}
.result-card h4{margin:0 0 7px;font-size:17px}
.result-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.badge{display:inline-flex;border:1px solid var(--border);border-radius:999px;padding:4px 8px;font-size:12px}
.signal-high{border-color:rgba(59, 130, 246,.65);color:#DDDDDD}
.signal-medium{border-color:#686870;color:#d4d4dc}
.signal-low{border-color:#855f5f;color:#EAEAEA}
.locked-cover{margin-top:8px;color:#EFEFEF;font-weight:700}
.top-video-list{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:8px}
.top-video-list li{border:1px solid var(--border);border-radius:10px;padding:8px 10px;background:#0F1526}
.top-wallet-strip{display:flex;gap:6px}
.top-wallet-pill{border:1px solid var(--border);border-radius:999px;padding:5px 9px;font-size:12px;background:#0F1526;color:#D1D1D1}
.top-wallet-pill.is-low{border-color:#ff9f7a;color:#C8D2E8}
.meter-dark,.funnel-bar,.yt-sync-progress-track{height:10px;border-radius:999px;overflow:hidden;background:#111827;border:1px solid var(--border)}
.meter-dark span,.funnel-bar span,.yt-sync-progress-track span{display:block;height:100%;width:0;background:linear-gradient(90deg,#2563EB,#2563EB)}
.yt-metric-grid,.funnel-grid,.search-diagnostics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.result-notes{border-left:3px solid rgba(59, 130, 246,.7);padding-left:10px;color:#B9B9B9}
.ready-trend-wrap{border:1px solid rgba(59, 130, 246,.35);border-radius:14px;padding:14px;background:linear-gradient(180deg,rgba(59, 130, 246,.08),rgba(59,130,246,.02))}
.ready-scripts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ready-script-card{border:1px solid var(--border);border-radius:11px;padding:10px;background:#0F1526}
.ready-script-card.active{border-color:rgba(59, 130, 246,.8);box-shadow:0 0 0 1px rgba(59, 130, 246,.36) inset}
.ready-script-head{display:flex;justify-content:space-between;gap:8px}
.ready-script-title{margin:0;font-size:15px}
.ready-script-sub{margin:0 0 8px;color:var(--muted);font-size:12px}
.ready-script-scene{margin:0;color:#CDCDCD;font-size:13px}
.ready-tag-row{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
.ready-tag{border:1px solid var(--border);border-radius:999px;padding:4px 8px;font-size:11px;color:#ccccd8}
.ready-tag.good{border-color:rgba(59, 130, 246,.7);color:#DDDDDD}
.ready-tag.warn{border-color:rgba(255,172,107,.75);color:#ffd2a7}
.ready-detail{border:1px solid var(--border);border-radius:12px;padding:12px;background:#0D1222}
.ready-segment{border:1px solid var(--border);border-radius:10px;padding:9px;margin-bottom:8px;background:#171D2E}
.ready-segment h4{margin:0 0 5px;font-size:13px}
.ready-segment p{margin:3px 0;font-size:13px;color:#D1D1D1}
.ready-actions{display:flex;flex-wrap:wrap;gap:8px}
.ready-mini-list{list-style:none;margin:0;padding:0;display:grid;gap:7px}
.ready-mini-list li{border:1px solid var(--border);border-radius:10px;padding:8px;background:#0F1526}
.manual-segment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.manual-segment-card{border:1px solid var(--border);border-radius:10px;padding:10px;background:#0D1222}
.manual-segment-card h4{margin:0 0 8px;font-size:13px}
.manual-segment-card label{display:block;font-size:12px;color:var(--muted);margin-bottom:8px}
.manual-segment-card textarea{width:100%;border:1px solid var(--border);border-radius:8px;background:#0C1120;color:#D4D4D4;padding:8px;resize:vertical}
.ai-studio-workspace{margin-top:14px}
.button-row.compact{gap:6px}
#readyDetailSegments label{display:block;font-size:12px;color:var(--muted);margin:6px 0}
#readyDetailSegments textarea{width:100%;border:1px solid var(--border);border-radius:8px;background:#0C1120;color:#D4D4D4;padding:8px;resize:vertical}
@media (max-width:940px){.manual-segment-grid{grid-template-columns:1fr}}
@media (max-width:1200px){.overview-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.yt-metric-grid,.funnel-grid,.search-diagnostics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:940px){.site-shell{width:min(1160px,calc(100% - 26px))}.menu-toggle{display:inline-flex}.site-nav{display:none;position:absolute;left:14px;right:14px;top:62px;padding:12px;border:1px solid var(--border);border-radius:12px;background:#0B0F1A}.site-nav.is-open{display:grid}.hero-grid,.two-col,.timeline-grid,.cols-2,.cols-3,.cols-4,.dash-layout,.panel-dark-grid,.ready-scripts-grid{grid-template-columns:1fr!important}.dash-sidebar{position:static;height:auto;border-right:0;border-bottom:1px solid var(--border)}.dash-main{padding:16px}.overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid,.form-grid.compact{grid-template-columns:1fr}.result-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}}
@media (max-width:560px){.kpi-value{font-size:24px}.top-wallet-strip{display:none}.overview-grid{grid-template-columns:1fr}}

/* ------------------------------------------------------------
   Homepage Premium Layer (scoped; does not alter dashboard)
------------------------------------------------------------- */
.home-premium {
  background:
    radial-gradient(760px 400px at 78% -6%, rgba(59, 130, 246, 0.12), transparent 68%),
    radial-gradient(580px 360px at 22% 14%, rgba(59, 130, 246, 0.06), transparent 72%),
    var(--vr-color-bg-primary, #0B0B14);
  color: var(--vr-color-text-primary, #eff0f2);
}

.home-premium .site-shell {
  width: min(1220px, calc(100% - 56px));
}

.home-premium .home-nav {
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  background: rgba(11, 11, 20, 0.86);
  backdrop-filter: blur(14px);
}

.home-premium .home-nav-shell {
  padding: 12px 0;
  gap: 20px;
}

.home-premium .brand-logo {
  width: 160px;
}

.home-premium .home-nav-links {
  gap: 4px;
}

.home-premium .home-nav-links a {
  color: rgba(240, 240, 243, 0.76);
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 10px 12px;
  border-radius: 10px;
}

.home-premium .home-nav-links a.active,
.home-premium .home-nav-links a:hover {
  color: #f6f6fa;
  background: rgba(148, 163, 184, 0.06);
}

.home-premium .btn {
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(59, 130, 246, 0.03);
  color: #eeeef2;
  border-radius: 11px;
  padding: 10px 15px;
}

.home-premium .btn:hover {
  border-color: rgba(148, 163, 184, 0.24);
  background: rgba(148, 163, 184, 0.05);
}

.home-premium .btn-solid {
  background: linear-gradient(180deg, #3B82F6 0%, #2563EB 100%);
  color: #fff;
  border-color: rgba(37, 99, 235, 0.7);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.26), 0 10px 28px rgba(59, 130, 246, 0.22);
}

.home-premium .btn-solid:hover {
  background: linear-gradient(180deg, #2563EB 0%, #3B82F6 100%);
}

.home-premium .home-main {
  padding-bottom: 48px;
}

.home-premium .home-hero {
  position: relative;
  padding: 108px 0 82px;
}

.home-premium .home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 34px;
  align-items: start;
}

.home-premium .home-eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(235, 235, 238, 0.62);
  font-weight: 700;
}

.home-premium .home-hero h1 {
  margin: 0;
  font-size: clamp(42px, 5.8vw, 80px);
  letter-spacing: -0.025em;
  line-height: 1.02;
  max-width: 11.6ch;
  color: #f5f5fa;
}

.home-premium .home-hero-lead {
  margin: 22px 0 0;
  font-size: clamp(16px, 1.8vw, 20px);
  max-width: 59ch;
  color: rgba(216, 216, 222, 0.88);
}

.home-premium .home-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.home-premium .home-chip-row {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.home-premium .home-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  color: rgba(223, 223, 228, 0.9);
  background: rgba(59, 130, 246, 0.03);
}

.home-premium .home-chip-accent {
  border-color: rgba(59, 130, 246, 0.48);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.18);
}

.home-premium .home-preview {
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 22px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(148, 163, 184, 0.06), rgba(59, 130, 246, 0.02)),
    rgba(8, 11, 12, 0.93);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.52);
}

.home-premium .home-preview-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 18px;
}

.home-premium .home-preview-kicker {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(189, 189, 192, 0.78);
}

.home-premium .home-preview-head h2 {
  margin: 6px 0 0;
  font-size: clamp(20px, 2.2vw, 28px);
  color: #f4f4f8;
}

.home-premium .home-preview-live {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  font-size: 12px;
  color: #d8d8e0;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 999px;
  padding: 6px 11px;
}

.home-premium .home-preview-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3B82F6;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.72);
}

.home-premium .home-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.home-premium .home-preview-module {
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 14px;
  padding: 12px;
  background: rgba(59, 130, 246, 0.03);
}

.home-premium .module-label {
  margin: 0;
  color: rgba(168, 168, 171, 0.9);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-premium .home-preview-module h3 {
  margin: 8px 0 0;
  font-size: 16px;
  color: #f3f3f8;
}

.home-premium .module-copy {
  margin: 8px 0 0;
  font-size: 13px;
  color: rgba(203, 203, 210, 0.9);
}

.home-premium .module-indicator {
  display: inline-flex;
  margin-top: 9px;
  padding: 5px 8px;
  font-size: 11px;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.36);
  color: rgba(228, 236, 255, 0.96);
}

.home-premium .home-preview-foot {
  margin-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  padding-top: 13px;
}

.home-premium .wallet-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.home-premium .wallet-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.17);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  color: rgba(227, 227, 232, 0.95);
  background: rgba(59, 130, 246, 0.03);
}

.home-premium .wallet-pill-accent {
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2);
}

.home-premium .home-preview-flow {
  margin: 11px 0 0;
  font-size: 13px;
  color: rgba(200, 200, 207, 0.86);
}

.home-premium .home-section {
  padding: 64px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.06);
}

.home-premium .home-section-muted {
  background: rgba(59, 130, 246, 0.015);
}

.home-premium .home-section-head {
  max-width: 680px;
  margin-bottom: 32px;
}

.home-premium .home-section h2,
.home-premium .home-final-cta h2 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #f4f4f8;
}

.home-premium .home-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.home-premium .home-pillar-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-premium .home-pillar {
  border: 1px solid rgba(148, 163, 184, 0.10);
  border-radius: 14px;
  padding: 24px;
  background: rgba(10, 14, 22, 0.60);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.home-premium .home-pillar:hover {
  border-color: rgba(59, 130, 246, 0.20);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.home-premium .home-pillar h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.home-premium .home-pillar p {
  margin: 8px 0 0;
  color: rgba(200, 205, 215, 0.75);
  font-size: 14.5px;
  line-height: 1.55;
}

.home-premium .home-flow-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.home-premium .home-flow-step {
  border: 1px solid rgba(148, 163, 184, 0.10);
  border-radius: 14px;
  padding: 20px;
  background: rgba(10, 14, 22, 0.60);
  transition: border-color 0.2s ease;
}
.home-premium .home-flow-step:hover {
  border-color: rgba(59, 130, 246, 0.20);
}

.home-premium .home-flow-step span {
  display: inline-flex;
  margin-bottom: 10px;
  color: rgba(155, 155, 158, 0.9);
  font-size: 12px;
}

.home-premium .home-flow-step h3 {
  margin: 0;
  font-size: 17px;
}

.home-premium .home-flow-step p {
  margin: 8px 0 0;
  color: rgba(196, 196, 204, 0.9);
  font-size: 14px;
}

.home-premium .home-spotlight-grid,
.home-premium .home-wallet-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: start;
}

.home-premium .home-script-preview {
  display: grid;
  gap: 14px;
}

.home-premium .script-preview-card {
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 15px;
  padding: 14px;
  background: rgba(59, 130, 246, 0.03);
}

.home-premium .script-preview-card.active {
  border-color: rgba(59, 130, 246, 0.56);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.24);
}

.home-premium .script-preview-card header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.home-premium .script-preview-card header h3 {
  margin: 0;
  font-size: 18px;
}

.home-premium .script-preview-card header span {
  border: 1px solid rgba(148, 163, 184, 0.17);
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 12px;
  color: rgba(231, 231, 236, 0.95);
}

.home-premium .script-hook {
  margin: 10px 0 0;
  color: rgba(220, 220, 226, 0.95);
  font-size: 14px;
}

.home-premium .script-line {
  margin: 7px 0 0;
  color: rgba(196, 196, 204, 0.9);
  font-size: 13px;
}

.home-premium .home-ledger-preview {
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 16px;
  padding: 14px;
  background: rgba(59, 130, 246, 0.03);
}

.home-premium .ledger-row {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 0.8fr auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 11px;
  padding: 8px 10px;
  font-size: 12px;
  color: rgba(212, 212, 219, 0.9);
}

.home-premium .ledger-row strong {
  color: rgba(228, 236, 255, 0.96);
}

.home-premium .home-clean-list {
  color: rgba(208, 208, 215, 0.92);
}

.home-premium .home-faq details {
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 14px;
  background: rgba(59, 130, 246, 0.03);
  padding: 14px;
}

.home-premium .home-faq summary {
  color: rgba(242, 242, 245, 0.97);
}

.home-premium .home-faq p {
  margin: 8px 0 0;
  color: rgba(197, 197, 205, 0.9);
}

.home-premium .home-final-cta {
  padding: 84px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  background:
    radial-gradient(480px 220px at 50% 30%, rgba(59, 130, 246, 0.08), transparent 72%),
    rgba(59, 130, 246, 0.02);
}

.home-premium .home-final-cta p {
  margin: 14px 0 0;
  font-size: 17px;
  color: rgba(208, 208, 214, 0.9);
}

/* ── Social proof bar (between hero & features) ── */
.home-premium .home-proof-bar {
  padding: 28px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.06);
  border-bottom: 1px solid rgba(148, 163, 184, 0.06);
  background: rgba(59, 130, 246, 0.02);
}
.home-premium .proof-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.home-premium .proof-bar-stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.home-premium .proof-bar-stat strong {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #FFFFFF, rgba(160, 200, 255, 0.85));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.home-premium .proof-bar-stat span {
  font-size: 12px;
  font-weight: 500;
  color: rgba(180, 195, 220, 0.50);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.home-premium .proof-bar-divider {
  width: 1px;
  height: 36px;
  background: rgba(148, 163, 184, 0.12);
}
@media (max-width: 560px) {
  .home-premium .proof-bar-inner {
    gap: 20px;
  }
  .home-premium .proof-bar-stat strong {
    font-size: 20px;
  }
  .home-premium .proof-bar-divider {
    display: none;
  }
}

/* ── Pillar CTA buttons ── */
.home-premium .pillar-cta {
  margin-top: 14px;
  font-size: 12px;
  padding: 6px 16px;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: inline-block;
}

/* ── Hero glow button ── */
.home-premium .btn-hero-glow {
  position: relative;
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.30), 0 0 60px rgba(59, 130, 246, 0.10);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}
.home-premium .btn-hero-glow:hover {
  box-shadow: 0 0 32px rgba(59, 130, 246, 0.45), 0 0 80px rgba(59, 130, 246, 0.15);
  transform: translateY(-1px);
}

/* ── Social proof stats ── */
.home-premium .home-social-proof {
  margin: 20px 0 6px;
}
.home-premium .home-proof-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(200, 210, 225, 0.55);
  letter-spacing: 0.01em;
}
.home-premium .home-proof-stats strong {
  color: rgba(230, 240, 255, 0.90);
  font-weight: 700;
}
.home-premium .proof-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(100, 160, 255, 0.40);
  flex-shrink: 0;
}

/* ── Pillar icons ── */
.home-premium .pillar-icon {
  display: block;
  font-size: 22px;
  margin-bottom: 10px;
  opacity: 0.6;
}

/* ── Pillar badges ── */
.home-premium .pillar-badge {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  background: rgba(59, 130, 246, 0.12);
  color: rgba(140, 180, 255, 0.80);
  border: 1px solid rgba(59, 130, 246, 0.18);
}
.home-premium .pillar-badge-pop {
  background: rgba(16, 185, 129, 0.12);
  color: rgba(110, 231, 183, 0.85);
  border-color: rgba(16, 185, 129, 0.20);
}
.home-premium .pillar-badge-hot {
  background: rgba(245, 158, 11, 0.12);
  color: rgba(252, 211, 77, 0.85);
  border-color: rgba(245, 158, 11, 0.20);
}

/* ── Section subtitle ── */
.home-premium .home-section-sub {
  font-size: 15px;
  color: rgba(200, 210, 225, 0.55);
  margin-top: 8px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Flow CTA center ── */
.home-premium .home-flow-cta {
  text-align: center;
  margin-top: 36px;
}
.home-premium .home-flow-cta .home-hero-cta {
  justify-content: center;
}

/* ── Compact flow (3 steps) ── */
.home-premium .home-flow-compact {
  grid-template-columns: repeat(3, 1fr);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 680px) {
  .home-premium .home-proof-stats {
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
  }
  .home-premium .home-flow-compact {
    grid-template-columns: 1fr;
  }
}

.home-premium .site-footer {
  background: rgba(8, 11, 12, 0.75);
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

@media (max-width: 1180px) {
  .home-premium .home-hero-grid,
  .home-premium .home-spotlight-grid,
  .home-premium .home-wallet-grid,
  .home-premium .home-flow-track {
    grid-template-columns: 1fr;
  }

  .home-premium .home-preview-grid,
  .home-premium .home-pillar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-premium .home-pillar-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-premium .home-hero {
    padding-top: 86px;
  }
}

@media (max-width: 940px) {
  .home-premium .site-shell {
    width: min(1220px, calc(100% - 28px));
  }

  .home-premium .home-nav-links {
    background: rgba(8, 11, 12, 0.97);
    border-color: rgba(148, 163, 184, 0.16);
  }

  .home-premium .home-preview-grid,
  .home-premium .home-pillar-grid {
    grid-template-columns: 1fr;
  }

  .home-premium .home-hero h1 {
    max-width: 13ch;
  }

  .home-premium .ledger-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

@media (max-width: 560px) {
  .home-premium .home-hero {
    padding-top: 74px;
    padding-bottom: 62px;
  }

  .home-premium .home-section,
  .home-premium .home-final-cta {
    padding: 58px 0;
  }

  .home-premium .home-hero-cta .btn {
    flex: 1 1 100%;
    text-align: center;
  }

  .home-premium .home-preview,
  .home-premium .home-pillar,
  .home-premium .home-flow-step,
  .home-premium .script-preview-card,
  .home-premium .home-ledger-preview {
    border-radius: 14px;
  }
}

/* ------------------------------------------------------------
   Public Product Pages Layer (/product, /how-it-works, /features)
------------------------------------------------------------- */
.public-product {
  background:
    radial-gradient(780px 380px at 82% -10%, rgba(59, 130, 246, 0.11), transparent 70%),
    radial-gradient(580px 300px at 18% 8%, rgba(59, 130, 246, 0.05), transparent 72%),
    var(--vr-color-bg-primary, #0B0B14);
  color: var(--vr-color-text-primary, #eff0f2);
}

.public-product .site-shell {
  width: min(1220px, calc(100% - 52px));
}

.public-product .public-topbar {
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  background: rgba(11, 11, 20, 0.88);
  backdrop-filter: blur(14px);
}

.public-product .public-topbar-shell {
  padding: 12px 0;
}

.public-product .site-nav a {
  color: rgba(235, 235, 239, 0.74);
  border-radius: 10px;
}

.public-product .site-nav a.active,
.public-product .site-nav a:hover {
  color: #f5f5fa;
  background: rgba(148, 163, 184, 0.06);
}

.public-main {
  padding-bottom: 52px;
}

.product-hero {
  padding: 94px 0 66px;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
  align-items: start;
}

.product-eyebrow {
  margin: 0 0 12px;
  color: rgba(229, 229, 235, 0.62);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 11px;
  font-weight: 700;
}

.product-hero h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 12ch;
}

.product-lead {
  margin: 18px 0 0;
  color: rgba(209, 209, 216, 0.9);
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 60ch;
}

.product-section {
  padding: 66px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.product-section-muted {
  background: rgba(59, 130, 246, 0.02);
}

.product-section-head {
  margin-bottom: 22px;
  max-width: 820px;
}

.product-section h2,
.product-final h2 {
  margin: 0;
  font-size: clamp(28px, 3.3vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.018em;
}

.product-grid-2,
.product-grid-3,
.product-step-grid {
  display: grid;
  gap: 12px;
}

.product-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card,
.product-step {
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 16px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(148, 163, 184, 0.05), rgba(59, 130, 246, 0.02)),
    rgba(8, 11, 12, 0.86);
}

.product-card h2,
.product-card h3,
.product-step h3 {
  margin: 0;
  font-size: 22px;
}

.product-card p,
.product-step p {
  margin: 10px 0 0;
  color: rgba(202, 202, 209, 0.91);
}

.product-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: rgba(212, 212, 218, 0.92);
}

.product-list.compact {
  display: grid;
  gap: 6px;
}

.product-note {
  margin: 12px 0 0;
  color: rgba(169, 169, 172, 0.92);
  font-size: 13px;
}

.product-step span {
  display: inline-flex;
  margin-bottom: 11px;
  border: 1px solid rgba(59, 130, 246, 0.5);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
  color: rgba(228, 236, 255, 0.96);
}

.product-final {
  padding: 78px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  background:
    radial-gradient(460px 220px at 50% 25%, rgba(59, 130, 246, 0.08), transparent 74%),
    rgba(59, 130, 246, 0.02);
}

@media (max-width: 1180px) {
  .product-hero-grid,
  .product-grid-3,
  .product-step-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 940px) {
  .public-product .site-shell {
    width: min(1220px, calc(100% - 28px));
  }

  .product-hero-grid,
  .product-grid-2,
  .product-grid-3,
  .product-step-grid {
    grid-template-columns: 1fr;
  }

  .product-hero {
    padding-top: 78px;
  }
}

@media (max-width: 560px) {
  .product-section,
  .product-final {
    padding: 52px 0;
  }

  .product-card,
  .product-step {
    border-radius: 14px;
    padding: 15px;
  }

  .product-hero .cta-row .btn {
    flex: 1 1 100%;
    text-align: center;
  }
}

/* ------------------------------------------------------------
   Feature Detail Pages Layer (shared across /features/*)
------------------------------------------------------------- */
.feature-detail-page .product-hero {
  padding-top: 88px;
}

.feature-badge-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  color: rgba(223, 223, 229, 0.92);
  background: rgba(59, 130, 246, 0.03);
}

.feature-badge.accent {
  border-color: rgba(59, 130, 246, 0.52);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2);
}

.feature-route-box {
  margin-top: 12px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(59, 130, 246, 0.03);
  font-size: 13px;
  color: rgba(207, 207, 213, 0.9);
}

.feature-route-box code {
  color: rgba(236, 242, 255, 0.98);
}

.workflow-lane {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 12px;
}

.workflow-node {
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 12px;
  padding: 11px;
  background: rgba(59, 130, 246, 0.03);
}

.workflow-node .label {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(166, 166, 169, 0.92);
}

.workflow-node h4 {
  margin: 7px 0 0;
  font-size: 16px;
}

.workflow-node p {
  margin: 7px 0 0;
  font-size: 13px;
  color: rgba(195, 195, 203, 0.9);
}

.workflow-node.current {
  border-color: rgba(59, 130, 246, 0.56);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.22);
}

.feature-bullet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.feature-ops-note {
  margin-top: 14px;
  border-left: 3px solid rgba(59, 130, 246, 0.62);
  padding: 8px 0 8px 12px;
  color: rgba(196, 196, 205, 0.93);
  font-size: 14px;
}

@media (max-width: 1180px) {
  .feature-bullet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 940px) {
  .workflow-lane,
  .feature-bullet-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------
   Commercial + Trust Pages Layer (use-cases, pricing, security, contact)
------------------------------------------------------------- */
.commercial-page .product-hero {
  padding-top: 90px;
}

.commercial-grid-2,
.commercial-grid-3,
.pricing-table-grid,
.security-grid,
.contact-grid {
  display: grid;
  gap: 12px;
}

.commercial-grid-2,
.security-grid,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.commercial-grid-3,
.pricing-table-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.commercial-card {
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 16px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(148, 163, 184, 0.05), rgba(59, 130, 246, 0.02)),
    rgba(8, 11, 12, 0.86);
}

.commercial-card h3 {
  margin: 0;
  font-size: 21px;
}

.commercial-card p {
  margin: 10px 0 0;
  color: rgba(203, 203, 210, 0.9);
}

.workflow-mini {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.workflow-mini span {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  color: rgba(216, 216, 222, 0.92);
  background: rgba(59, 130, 246, 0.03);
}

.workflow-mini span.current {
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2);
}

.commercial-note {
  margin-top: 12px;
  border-left: 3px solid rgba(59, 130, 246, 0.6);
  padding: 8px 0 8px 12px;
  color: rgba(196, 196, 205, 0.93);
  font-size: 14px;
}

.pricing-plan-wrap #planCards .price-card {
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(148, 163, 184, 0.05), rgba(59, 130, 246, 0.02)),
    rgba(8, 11, 12, 0.88);
  padding: 28px 22px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-plan-wrap #planCards .price-card:hover {
  border-color: rgba(148, 163, 184, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.pricing-plan-wrap #planCards .price-card.featured {
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.18), 0 8px 32px rgba(59, 130, 246, 0.08);
  background:
    linear-gradient(180deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.02) 50%, rgba(59, 130, 246, 0.01)),
    rgba(8, 11, 12, 0.92);
}

.pricing-plan-wrap #planCards .price-card.featured:hover {
  border-color: rgba(59, 130, 246, 0.7);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.25), 0 12px 36px rgba(59, 130, 246, 0.12);
}

.pricing-plan-wrap #planCards .price-card ul {
  margin: 14px 0 0;
  padding-left: 0;
  list-style: none;
}

.pricing-plan-wrap #planCards .price-card li {
  padding: 6px 0;
  padding-left: 18px;
  position: relative;
  color: rgba(238, 238, 242, 0.85);
  font-size: 14px;
  line-height: 1.5;
}

.pricing-plan-wrap #planCards .price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.5);
}

.pricing-plan-wrap #planCards .price-card.featured li::before {
  background: rgba(59, 130, 246, 0.8);
}

.pricing-faq details {
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 14px;
  background: rgba(59, 130, 246, 0.03);
  padding: 14px;
}

.pricing-faq summary {
  cursor: pointer;
  font-weight: 700;
}

.contact-option-list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(211, 211, 217, 0.92);
}

.contact-method {
  margin-top: 12px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(59, 130, 246, 0.03);
}

.contact-method strong {
  color: rgba(236, 242, 255, 0.98);
}

@media (max-width: 1180px) {
  .commercial-grid-3,
  .pricing-table-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 940px) {
  .commercial-grid-2,
  .commercial-grid-3,
  .pricing-table-grid,
  .security-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .commercial-page .product-hero {
    padding-top: 78px;
  }
}

/* ------------------------------------------------------------
   Dashboard Shell + Home + Billing Upgrade (Package 6)
------------------------------------------------------------- */
.dashboard-topbar {
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(8, 10, 10, 0.92);
  backdrop-filter: blur(12px);
}

.dashboard-shell-actions {
  gap: 10px;
}

.top-shell-metrics {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.top-account-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.top-account-pill {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  background: rgba(59, 130, 246, 0.03);
  color: rgba(213, 213, 219, 0.93);
}

.dash-sidebar-foot p {
  margin: 0 0 6px;
}

.dash-header-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  align-items: center;
}

.dash-header-meta .status-chip {
  background: rgba(59, 130, 246, 0.03);
  border-color: rgba(148, 163, 184, 0.16);
}

.home-wallet-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.billing-wallet-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ledger-event-list li {
  background: rgba(59, 130, 246, 0.02);
  border-color: rgba(148, 163, 184, 0.18);
}

@media (max-width: 1200px) {
  .home-wallet-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .billing-wallet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 940px) {
  .top-shell-metrics {
    justify-items: start;
  }

  .top-account-strip {
    justify-content: flex-start;
  }

  .dash-header-meta {
    justify-content: flex-start;
  }

  .home-wallet-grid,
  .billing-wallet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .dashboard-body .top-wallet-strip {
    display: flex;
    flex-wrap: wrap;
  }

  .dashboard-body .top-shell-metrics {
    width: 100%;
  }

  .home-wallet-grid,
  .billing-wallet-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------
   Dashboard Discovery + Analysis Upgrade (Package 7)
------------------------------------------------------------- */
.discovery-workspace,
.analysis-workspace,
.competitors-workspace {
  border-color: rgba(148, 163, 184, 0.14);
}

#searchCreditHint,
#searchWorkflowStatus {
  margin-top: 8px;
}

.pool-coverage-wrap {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 12px;
  padding: 12px;
  background: rgba(59, 130, 246, 0.02);
}

.pool-coverage-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.pool-coverage-item {
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 10px;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(59, 130, 246, 0.02);
}

.pool-coverage-item div {
  display: grid;
  gap: 2px;
}

.pool-coverage-item span,
.pool-coverage-item em {
  font-size: 12px;
  color: rgba(211, 211, 217, 0.86);
}

.analysis-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.analysis-summary-grid.compact-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1200px) {
  .analysis-summary-grid,
  .analysis-summary-grid.compact-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 940px) {
  .analysis-summary-grid,
  .analysis-summary-grid.compact-three {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------
   Dashboard Visual Refinement (Package 8)
------------------------------------------------------------- */
.dashboard-body {
  background:
    radial-gradient(560px 280px at 78% -12%, rgba(59, 130, 246, 0.06), transparent 70%),
    radial-gradient(420px 240px at 18% -16%, rgba(59, 130, 246, 0.03), transparent 74%),
    #050508;
  color: #eeeef2;
}

.dashboard-body .dashboard-topbar {
  border-bottom: 1px solid rgba(148, 163, 184, 0.11);
  background: rgba(3, 4, 5, 0.95);
  backdrop-filter: blur(14px);
}

.dashboard-body .dashboard-topbar .dashboard-topbar-shell {
  padding: 10px 0;
}

.dashboard-body .dashboard-topbar .brand-wrap {
  display: inline-flex;
  align-items: center;
}

.dashboard-body .dashboard-topbar .brand-logo {
  width: 172px;
  height: auto;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.34));
}

@media (min-width: 1180px) {
  .site-header .site-shell {
    position: relative;
  }

  .site-header .site-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    flex-wrap: nowrap;
    justify-content: center;
  }

  .site-header .site-nav a {
    min-width: 84px;
    text-align: center;
  }
}

.dashboard-body .dashboard-topbar .dashboard-shell-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.dashboard-body .dashboard-topbar .top-shell-metrics {
  margin-left: 0;
  justify-items: end;
  min-width: 0;
}

.dashboard-body .site-nav a {
  color: rgba(228, 228, 232, 0.78);
  font-weight: 700;
}

.dashboard-body .site-nav a.active,
.dashboard-body .site-nav a:hover {
  background: rgba(148, 163, 184, 0.08);
  color: #f6f6fa;
}

.dashboard-body .dash-layout {
  grid-template-columns: 250px 1fr;
}

.dashboard-body .dash-sidebar {
  background: linear-gradient(180deg, rgba(7, 9, 10, 0.98), rgba(5, 7, 8, 0.98));
  border-right: 1px solid rgba(148, 163, 184, 0.12);
}

.dashboard-body .dash-main {
  padding: 28px 30px 34px;
}

.dashboard-body .dash-nav-btn {
  background: rgba(59, 130, 246, 0.02);
  border-color: rgba(148, 163, 184, 0.14);
  color: rgba(231, 231, 235, 0.9);
}

.dashboard-body .dash-nav-btn.active,
.dashboard-body .dash-nav-btn:hover {
  border-color: rgba(59, 130, 246, 0.45);
  background: rgba(59, 130, 246, 0.12);
  color: #f6f6fa;
}

.dashboard-body .dash-header.is-home {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 10px;
  margin-bottom: 18px;
}

.dashboard-body .dash-header.is-home > div:first-child {
  max-width: 860px;
  width: 100%;
}

.dashboard-body .dash-header.is-home .dash-header-meta {
  justify-content: center;
}

.dashboard-body .panel-dark,
.dashboard-body .panel-subtle,
.dashboard-body .kpi-card,
.dashboard-body .yt-metric,
.dashboard-body .search-diag-card,
.dashboard-body .result-card,
.dashboard-body .ready-script-card,
.dashboard-body .ready-detail,
.dashboard-body .ready-segment,
.dashboard-body .manual-segment-card,
.dashboard-body .pool-coverage-wrap,
.dashboard-body .pool-coverage-item {
  background:
    linear-gradient(180deg, rgba(59, 130, 246, 0.03), rgba(59, 130, 246, 0.01)),
    rgba(8, 10, 11, 0.92);
  border-color: rgba(148, 163, 184, 0.13);
}

.dashboard-body .insight-box,
.dashboard-body .top-video-list li,
.dashboard-body #walletLedgerList li {
  background: rgba(5, 7, 8, 0.95);
  border-color: rgba(148, 163, 184, 0.12);
}

.dashboard-body .ready-trend-wrap {
  border-color: rgba(59, 130, 246, 0.34);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.08), rgba(59, 130, 246, 0.02));
}

.dashboard-body .ready-script-card.active {
  border-color: rgba(59, 130, 246, 0.56);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.22) inset;
}

.dashboard-body .mode-btn.active,
.dashboard-body .chip.active {
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(59, 130, 246, 0.11);
  color: #f4f4f8;
}

.dashboard-body .btn-solid {
  background: linear-gradient(180deg, #3B82F6 0%, #2563EB 100%);
  border-color: rgba(59, 130, 246, 0.5);
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.18);
}

.dashboard-body .btn-solid:hover {
  background: linear-gradient(180deg, #2563EB 0%, #3B82F6 100%);
  border-color: rgba(59, 130, 246, 0.56);
}

.dashboard-body .top-wallet-strip {
  gap: 10px;
}

.dashboard-body .top-wallet-pill {
  border-color: rgba(148, 163, 184, 0.2);
  background: rgba(148, 163, 184, 0.04);
  color: rgba(233, 233, 237, 0.96);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.dashboard-body .top-wallet-query {
  border-color: rgba(168, 168, 171, 0.35);
}

.dashboard-body .top-wallet-generation {
  border-color: rgba(59, 130, 246, 0.46);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.16) inset;
}

@media (max-width: 940px) {
  .dashboard-body .dashboard-topbar .dashboard-topbar-shell {
    padding: 10px 0;
    gap: 10px;
  }

  .dashboard-body .dashboard-topbar .site-nav {
    left: 12px;
    right: 12px;
    transform: none;
  }

  .dashboard-body .dashboard-topbar .dashboard-shell-actions {
    width: auto;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .dashboard-body .dashboard-topbar .top-shell-metrics {
    justify-items: end;
  }

  .dashboard-body .dash-main {
    padding: 18px;
  }

  .dashboard-body .dash-header.is-home {
    justify-items: start;
    text-align: left;
  }

  .dashboard-body .dash-header.is-home .dash-header-meta {
    justify-content: flex-start;
  }
}

/* ------------------------------------------------------------
   Dashboard Header + Chip Clarity Polish (Package 10)
------------------------------------------------------------- */
.dashboard-body .dashboard-topbar .dashboard-topbar-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
}

.dashboard-body .dashboard-brand-logo {
  width: 196px;
  height: auto;
  max-width: 42vw;
  filter: drop-shadow(0 10px 22px rgba(59, 130, 246, 0.18));
}

.dashboard-body .dashboard-topbar .dashboard-shell-actions {
  margin-left: auto;
  align-items: center;
}

.dashboard-body .dash-brand {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.dashboard-body .dash-brand-mark {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.dashboard-body .dash-brand-logo {
  width: 154px;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(59, 130, 246, 0.16));
}

.dashboard-body .panel-dark,
.dashboard-body .kpi-card,
.dashboard-body .result-card,
.dashboard-body .ready-detail,
.dashboard-body .ready-script-card {
  border-color: rgba(148, 163, 184, 0.16);
  background:
    linear-gradient(180deg, rgba(148, 163, 184, 0.05), rgba(59, 130, 246, 0.02)),
    rgba(10, 10, 13, 0.88);
}

.dashboard-body #categoryWrap .chip,
.dashboard-body #autoTrendCategoryWrap .chip {
  position: relative;
  transition: transform 0.18s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, opacity 0.2s ease;
  opacity: 0.68;
  border-color: rgba(148, 163, 184, 0.16);
  background: rgba(59, 130, 246, 0.03);
  color: rgba(230, 230, 235, 0.76);
  padding-right: 30px;
}

.dashboard-body #categoryWrap .chip::after,
.dashboard-body #autoTrendCategoryWrap .chip::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: rgba(148, 163, 184, 0.22);
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.18);
}

.dashboard-body #categoryWrap .chip:hover,
.dashboard-body #autoTrendCategoryWrap .chip:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  border-color: rgba(148, 163, 184, 0.28);
}

.dashboard-body #categoryWrap .chip.active,
.dashboard-body #autoTrendCategoryWrap .chip.active {
  opacity: 1;
  transform: translateY(-1px);
  border-color: rgba(59, 130, 246, 0.76);
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.3), rgba(37, 99, 235, 0.25)),
    rgba(20, 14, 14, 0.9);
  color: #f5f5fa;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.24), 0 10px 20px rgba(8, 12, 32, 0.42);
}

.dashboard-body #categoryWrap .chip.active::after,
.dashboard-body #autoTrendCategoryWrap .chip.active::after {
  background: #3B82F6;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.48), 0 0 9px rgba(37, 99, 235, 0.7);
}

@media (max-width: 940px) {
  .dashboard-body .dashboard-brand-logo {
    width: 168px;
  }

  .dashboard-body .dashboard-topbar .dashboard-shell-actions {
    width: auto;
    margin-left: auto;
    justify-content: flex-end;
  }

  .dashboard-body .dash-brand-logo {
    width: 140px;
  }
}

@media (max-width: 560px) {
  .dashboard-body .dashboard-brand-logo {
    width: 146px;
  }

  .dashboard-body .top-wallet-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
  }

  .dashboard-body .top-wallet-pill {
    padding: 5px 10px;
    font-size: 11px;
  }
}
/* ------------------------------------------------------------
   Dashboard Full-Screen Shell + Sidebar Toggle (Package 11)
------------------------------------------------------------- */
.dashboard-body {
  overflow: auto;
}

.dashboard-body .dash-layout {
  grid-template-columns: 286px minmax(0, 1fr);
  min-height: 100vh;
  height: auto;
}

.dashboard-body .dash-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 14px 12px 16px;
  border-right: 1px solid rgba(148, 163, 184, 0.14);
  background:
    linear-gradient(180deg, rgba(10, 10, 13, 0.98), rgba(6, 8, 7, 0.98)),
    #0B0B14;
  transition: transform 0.24s ease, opacity 0.2s ease;
  z-index: 24;
}

.dashboard-body .dash-main {
  padding: 22px 28px 30px;
  overflow: auto;
  min-height: 100vh;
  height: auto;
}

.dashboard-body .dash-sidebar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.dashboard-body .dash-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

.dashboard-body .dash-sidebar-logo {
  width: 172px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(59, 130, 246, 0.2));
}

.dashboard-body .sidebar-toggle-btn,
.dashboard-body .sidebar-expand-btn {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  background: rgba(148, 163, 184, 0.05);
  color: rgba(239, 239, 242, 0.94);
  font-weight: 700;
  cursor: pointer;
}

.dashboard-body .sidebar-toggle-btn {
  width: 34px;
  height: 34px;
  font-size: 20px;
  line-height: 1;
}

.dashboard-body .sidebar-expand-btn {
  position: sticky;
  top: 12px;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  margin-bottom: 10px;
  backdrop-filter: blur(8px);
}

.dashboard-body .dash-brand {
  margin-bottom: 12px;
  padding: 0 2px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.dashboard-body .dash-nav {
  display: grid;
  gap: 9px;
}

.dashboard-body .dash-nav-btn {
  position: relative;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.03), rgba(59, 130, 246, 0.01));
  color: rgba(232, 232, 236, 0.9);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-body .dash-nav-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 999px;
  background: transparent;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-body .dash-nav-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(148, 163, 184, 0.28);
  color: #f4f4fa;
}

.dashboard-body .dash-nav-btn.active {
  border-color: rgba(59, 130, 246, 0.74);
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.34), rgba(37, 99, 235, 0.24)),
    rgba(20, 14, 14, 0.92);
  color: #f4f4fa;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2), 0 10px 22px rgba(8, 12, 24, 0.44);
}

.dashboard-body .dash-nav-btn.active::before {
  background: #3B82F6;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.64);
}

.dashboard-body .dash-header {
  margin-bottom: 14px;
}

.dashboard-body .dash-header-meta {
  gap: 7px;
  align-items: flex-start;
}

.dashboard-body .dash-header-wallet-strip {
  margin-bottom: 2px;
  gap: 7px;
  justify-content: flex-end;
}

.dashboard-body .dash-header-wallet-strip .top-wallet-pill {
  padding: 5px 10px;
  font-size: 11px;
  border-radius: 9px;
  background: rgba(148, 163, 184, 0.04);
}

.dashboard-body .toggle-help-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dashboard-body .help-tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.3);
  font-size: 11px;
  font-weight: 700;
  color: rgba(231, 231, 237, 0.95);
  background: rgba(148, 163, 184, 0.07);
  cursor: help;
  position: relative;
}

.dashboard-body .help-tip::after {
  content: attr(title);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  min-width: 270px;
  max-width: 320px;
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(8, 8, 11, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: rgba(237, 237, 240, 0.94);
  font-size: 12px;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease;
  z-index: 40;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.dashboard-body .help-tip:hover::after,
.dashboard-body .help-tip:focus-visible::after {
  opacity: 1;
}

@media (min-width: 941px) {
  .dashboard-body.sidebar-collapsed .dash-layout {
    grid-template-columns: 0 minmax(0, 1fr);
  }

  .dashboard-body.sidebar-collapsed .dash-sidebar {
    transform: translateX(-106%);
    opacity: 0;
    pointer-events: none;
  }

  .dashboard-body.sidebar-collapsed .sidebar-expand-btn {
    display: inline-flex !important;
  }
}

@media (max-width: 1100px) {
  .dashboard-body .dash-layout {
    grid-template-columns: 262px minmax(0, 1fr);
  }

  .dashboard-body .dash-sidebar-logo {
    width: 156px;
  }
}

@media (max-width: 940px) {
  .dashboard-body {
    overflow: auto;
  }

  .dashboard-body .dash-layout {
    grid-template-columns: 1fr;
    min-height: auto;
    height: auto;
  }

  .dashboard-body .dash-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: min(84vw, 320px);
    height: 100vh;
    transform: translateX(0);
  }

  .dashboard-body .dash-main {
    height: auto;
    min-height: 100vh;
    padding: 16px;
  }

  .dashboard-body.sidebar-collapsed .dash-sidebar {
    transform: translateX(-104%);
  }

  .dashboard-body .help-tip::after {
    left: 0;
    transform: none;
    min-width: 220px;
    max-width: 260px;
  }
}
/* ------------------------------------------------------------
   Sidebar Nav Premium Refinement (Package 11.1)
------------------------------------------------------------- */
.dashboard-body .dash-nav-btn {
  letter-spacing: 0.01em;
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(148, 163, 184, 0.05);
}

.dashboard-body .dash-nav-btn:hover {
  box-shadow:
    inset 0 1px 0 rgba(148, 163, 184, 0.07),
    0 8px 16px rgba(0, 0, 0, 0.24);
}

.dashboard-body .dash-nav-btn.active {
  border-color: rgba(59, 130, 246, 0.82);
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.44), rgba(37, 99, 235, 0.34)),
    rgba(20, 12, 12, 0.94);
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.2),
    0 12px 22px rgba(17, 17, 20, 0.5),
    inset 0 1px 0 rgba(207, 207, 210, 0.14);
}

.dashboard-body .dash-nav-btn.active::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: #3B82F6;
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.72);
}

.dashboard-body .dash-sidebar-foot {
  margin-top: 18px;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.11);
  background: rgba(59, 130, 246, 0.02);
}

.dashboard-body .dash-sidebar-foot p {
  color: rgba(207, 207, 214, 0.9);
}
/* ------------------------------------------------------------
   Dashboard Start Position Fix (Package 11.2)
------------------------------------------------------------- */
.dashboard-body .dash-layout {
  align-items: stretch;
}

.dashboard-body .dash-main {
  display: block;
  padding-top: 14px;
}

.dashboard-body .dash-header,
.dashboard-body .dash-header.is-home {
  margin-top: 0;
  padding-top: 0;
}

.dashboard-body .dash-header.is-home {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 8px;
  margin-bottom: 14px;
}

.dashboard-body .dash-header.is-home > div:first-child {
  max-width: none;
  width: auto;
}

.dashboard-body .dash-header.is-home .dash-header-meta,
.dashboard-body .dash-header-meta {
  justify-content: flex-start;
}

.dashboard-body .sidebar-expand-btn {
  position: fixed;
  left: 10px;
  top: 10px;
  z-index: 26;
  width: 34px;
  height: 34px;
  padding: 0;
  justify-content: center;
  font-size: 21px;
  line-height: 1;
}

@media (max-width: 940px) {
  .dashboard-body .dash-main {
    padding-top: 12px;
  }
}
/* ------------------------------------------------------------
   Dashboard Sidebar Rail Mode (Package 12)
------------------------------------------------------------- */
.dashboard-body .dash-layout {
  grid-template-columns: 282px minmax(0, 1fr);
  align-items: stretch;
}

.dashboard-body .dash-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0;
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

.dashboard-body .dash-main {
  display: block;
  min-height: 100vh;
  padding-top: 14px;
}

.dashboard-body .dash-sidebar-toolbar {
  margin-bottom: 12px;
}

.dashboard-body .dash-logo-link {
  width: 100%;
  justify-content: flex-start;
  gap: 0;
}

.dashboard-body .dash-sidebar-logo-full {
  display: block;
  width: 166px;
}

.dashboard-body .dash-sidebar-logo-mark {
  display: none;
  width: 32px;
}

.dashboard-body .sidebar-toggle-btn {
  width: 30px;
  height: 30px;
  font-size: 18px;
  border-radius: 9px;
}

.dashboard-body .sidebar-expand-btn {
  display: none !important;
}

.dashboard-body .dash-nav-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.dashboard-body .dash-nav-icon {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(59, 130, 246, 0.03);
  color: rgba(237, 237, 240, 0.96);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex: 0 0 20px;
}

.dashboard-body .dash-nav-label {
  display: inline;
  white-space: nowrap;
}

.dashboard-body .dash-utility-links {
  margin-top: auto;
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.dashboard-body .dash-utility-link {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 11px;
  padding: 9px 10px;
  color: rgba(228, 228, 233, 0.9);
  text-decoration: none;
  background: rgba(59, 130, 246, 0.02);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.dashboard-body .dash-utility-link:hover {
  border-color: rgba(148, 163, 184, 0.24);
  background: rgba(148, 163, 184, 0.05);
}

.dashboard-body .dash-utility-label {
  white-space: nowrap;
}

@media (min-width: 941px) {
  .dashboard-body.sidebar-collapsed .dash-layout {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .dashboard-body.sidebar-collapsed .dash-sidebar {
    transform: none;
    opacity: 1;
    pointer-events: auto;
    padding: 12px 8px;
  }

  .dashboard-body.sidebar-collapsed .dash-sidebar-toolbar {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }

  .dashboard-body.sidebar-collapsed .dash-logo-link {
    justify-content: center;
  }

  .dashboard-body.sidebar-collapsed .dash-sidebar-logo-full,
  .dashboard-body.sidebar-collapsed .dash-brand,
  .dashboard-body.sidebar-collapsed .dash-sidebar-foot,
  .dashboard-body.sidebar-collapsed .dash-nav-label,
  .dashboard-body.sidebar-collapsed .dash-utility-label {
    display: none;
  }

  .dashboard-body.sidebar-collapsed .dash-sidebar-logo-mark {
    display: block;
  }

  .dashboard-body.sidebar-collapsed .dash-nav-btn,
  .dashboard-body.sidebar-collapsed .dash-utility-link {
    justify-content: center;
    gap: 0;
    padding: 10px 0;
  }

  .dashboard-body.sidebar-collapsed .dash-nav-icon,
  .dashboard-body.sidebar-collapsed .dash-utility-link .dash-nav-icon {
    width: 22px;
    height: 22px;
    font-size: 11px;
    margin: 0;
  }

  .dashboard-body.sidebar-collapsed .dash-utility-links {
    border-top: 0;
    padding-top: 8px;
    gap: 10px;
  }
}

@media (max-width: 940px) {
  .dashboard-body .dash-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-body .dash-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: min(84vw, 312px);
    transform: translateX(0);
  }

  .dashboard-body.sidebar-collapsed .dash-sidebar {
    transform: translateX(-104%);
  }

  .dashboard-body .dash-sidebar-logo-mark {
    display: none;
  }
}

/* ------------------------------------------------------------
   Dashboard Shell Final Stabilization (Package 12.1)
------------------------------------------------------------- */
.dashboard-body {
  background:
    radial-gradient(700px 320px at 92% -18%, rgba(59, 130, 246, 0.1), transparent 72%),
    radial-gradient(520px 260px at 10% -20%, rgba(59, 130, 246, 0.06), transparent 74%),
    #000;
  color: #f3f3f6;
  min-height: 100vh;
  overflow: hidden;
}

.dashboard-body .dash-layout {
  display: grid;
  grid-template-columns: 282px minmax(0, 1fr);
  min-height: 100vh;
  height: 100vh;
  align-items: stretch;
  background: #000;
  transition: grid-template-columns 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.dashboard-body .dash-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 14px 12px 16px;
  overflow: auto;
  border-right: 1px solid rgba(59, 130, 246, 0.24);
  background:
    linear-gradient(180deg, rgba(3, 4, 4, 0.98), rgba(0, 0, 0, 0.99)),
    #000;
  box-shadow:
    inset -1px 0 0 rgba(148, 163, 184, 0.05),
    0 0 0 1px rgba(55, 55, 58, 0.25);
  transition: padding 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.dashboard-body .dash-main {
  min-height: 100vh;
  height: 100vh;
  overflow: auto;
  padding: 20px 24px 28px;
  background:
    radial-gradient(820px 440px at 78% -25%, rgba(59, 130, 246, 0.05), transparent 72%),
    #000;
}

.dashboard-body #sidebarExpandBtn,
.dashboard-body .sidebar-expand-btn {
  display: none !important;
}

.dashboard-body .dash-sidebar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.dashboard-body .dash-logo-link {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.dashboard-body .dash-sidebar-logo-full {
  display: block;
  width: 168px;
  height: auto;
}

.dashboard-body .dash-sidebar-logo-mark {
  display: none;
  width: 31px;
  height: 31px;
}

.dashboard-body .sidebar-toggle-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(148, 163, 184, 0.05);
  color: #f5f5fa;
  font-size: 19px;
  line-height: 1;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.28s ease;
}

.dashboard-body .sidebar-toggle-btn:hover {
  border-color: rgba(59, 130, 246, 0.52);
  background: rgba(59, 130, 246, 0.1);
}

.dashboard-body .dash-brand {
  margin: 0 0 12px;
  padding: 0 2px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.11);
}

.dashboard-body .dash-brand h3 {
  color: #ffffff;
}

.dashboard-body .dash-nav {
  display: grid;
  gap: 10px;
}

.dashboard-body .dash-nav-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.13);
  background: rgba(59, 130, 246, 0.02);
  color: rgba(233, 233, 236, 0.9);
  transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.dashboard-body .dash-nav-btn:hover {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(148, 163, 184, 0.06);
  color: #ffffff;
  transform: translateY(-1px);
}

.dashboard-body .dash-nav-btn.active {
  border-color: rgba(59, 130, 246, 0.74);
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.34), rgba(37, 99, 235, 0.24)),
    rgba(14, 10, 10, 0.96);
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.22),
    0 10px 22px rgba(28, 7, 7, 0.46);
  color: #f8f8fc;
}

.dashboard-body .dash-nav-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 7px;
  border: 1px solid rgba(148, 163, 184, 0.17);
  background: rgba(59, 130, 246, 0.03);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(235, 235, 239, 0.94);
}

.dashboard-body .dash-nav-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

.dashboard-body .dash-nav-icon svg path,
.dashboard-body .dash-nav-icon svg rect,
.dashboard-body .dash-nav-icon svg circle,
.dashboard-body .dash-nav-icon svg line,
.dashboard-body .dash-nav-icon svg polyline {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-body .dash-nav-label {
  white-space: nowrap;
}

.dashboard-body .dash-sidebar-foot {
  margin-top: 14px;
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, 0.11);
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.02);
}

.dashboard-body .dash-utility-links {
  margin-top: auto;
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.dashboard-body .dash-utility-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border-radius: 11px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(59, 130, 246, 0.02);
  color: rgba(230, 230, 235, 0.9);
  text-decoration: none;
  padding: 9px 10px;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.dashboard-body .dash-utility-link:hover {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(148, 163, 184, 0.06);
  color: #ffffff;
}

.dashboard-body .dash-header {
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.dashboard-body .dash-header.is-home {
  align-items: flex-start;
  text-align: left;
}

.dashboard-body .dash-header-meta {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.dashboard-body .dash-header-wallet-strip {
  margin-bottom: 0;
  gap: 8px;
  justify-content: flex-end;
}

.dashboard-body .dash-header-wallet-strip .top-wallet-pill {
  background: rgba(4, 6, 5, 0.96);
  color: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.16);
  padding: 5px 10px;
  font-size: 11px;
  border-radius: 999px;
}

.dashboard-body .dash-header-wallet-strip .top-wallet-generation {
  border-color: rgba(59, 130, 246, 0.58);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2) inset;
}

.dashboard-body .panel-dark,
.dashboard-body .panel-subtle,
.dashboard-body .kpi-card,
.dashboard-body .search-diag-card,
.dashboard-body .result-card,
.dashboard-body .ready-script-card,
.dashboard-body .ready-detail,
.dashboard-body .ready-segment,
.dashboard-body .manual-segment-card,
.dashboard-body .insight-box,
.dashboard-body .pool-coverage-wrap,
.dashboard-body .pool-coverage-item {
  background:
    linear-gradient(180deg, rgba(59, 130, 246, 0.03), rgba(59, 130, 246, 0.01)),
    rgba(2, 3, 3, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.dashboard-body #categoryWrap .chip,
.dashboard-body #autoTrendCategoryWrap .chip {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(59, 130, 246, 0.02);
  color: rgba(230, 230, 234, 0.8);
}

.dashboard-body #categoryWrap .chip.active,
.dashboard-body #autoTrendCategoryWrap .chip.active {
  border-color: rgba(59, 130, 246, 0.86);
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.32), rgba(37, 99, 235, 0.25)),
    rgba(18, 10, 10, 0.95);
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.28), 0 0 16px rgba(37, 99, 235, 0.34);
}

@media (min-width: 941px) {
  .dashboard-body.sidebar-collapsed .dash-layout {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .dashboard-body.sidebar-collapsed .dash-sidebar {
    padding: 14px 8px 12px;
  }

  .dashboard-body.sidebar-collapsed .dash-sidebar-toolbar {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .dashboard-body.sidebar-collapsed .dash-logo-link {
    justify-content: center;
  }

  .dashboard-body.sidebar-collapsed .dash-sidebar-logo-full,
  .dashboard-body.sidebar-collapsed .dash-brand,
  .dashboard-body.sidebar-collapsed .dash-sidebar-foot,
  .dashboard-body.sidebar-collapsed .dash-nav-label,
  .dashboard-body.sidebar-collapsed .dash-utility-label {
    width: 0;
    height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
  }

  .dashboard-body.sidebar-collapsed .dash-sidebar-logo-mark {
    display: block;
  }

  .dashboard-body.sidebar-collapsed .dash-nav-btn,
  .dashboard-body.sidebar-collapsed .dash-utility-link {
    justify-content: center;
    padding: 10px 0;
    gap: 0;
  }

  .dashboard-body.sidebar-collapsed .dash-nav-icon {
    margin: 0;
  }

  .dashboard-body.sidebar-collapsed .dash-utility-links {
    border-top: 0;
    padding-top: 8px;
    gap: 10px;
  }

  .dashboard-body.sidebar-collapsed .sidebar-toggle-btn {
    transform: rotate(180deg);
  }
}

@media (max-width: 940px) {
  .dashboard-body {
    overflow: auto;
  }

  .dashboard-body .dash-layout {
    grid-template-columns: 1fr;
    min-height: 100vh;
    height: auto;
  }

  .dashboard-body .dash-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: min(84vw, 312px);
    height: 100vh;
    transform: translateX(0);
    transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 40;
  }

  .dashboard-body.sidebar-collapsed .dash-sidebar {
    transform: translateX(-104%);
  }

  .dashboard-body .dash-main {
    min-height: 100vh;
    height: auto;
    padding: 16px;
  }

  .dashboard-body .dash-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-body .dash-header-meta {
    width: 100%;
    justify-content: flex-start;
  }

  .dashboard-body .dash-sidebar-logo-mark {
    display: none;
  }
}

/* Package 12.2 - Header + spacing cleanup */
.dashboard-body #shellRouteBadge,
.dashboard-body #dashActiveModule {
  display: none;
}

.dashboard-body .section-panel {
  align-content: start;
  gap: 14px;
}

.dashboard-body .form-grid,
.dashboard-body .form-grid.compact {
  gap: 14px;
}

/* Package 12.3 - Home declutter + sidebar alignment + icon polish */
.dashboard-body .dash-sidebar-toolbar {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
}

.dashboard-body .dash-logo-link {
  width: 100%;
}

.dashboard-body .sidebar-toggle-btn {
  align-self: flex-start;
  margin-top: 2px;
}

.dashboard-body.sidebar-collapsed .dash-sidebar-toolbar {
  align-items: center;
}

.dashboard-body.sidebar-collapsed .sidebar-toggle-btn {
  align-self: center;
  margin-top: 2px;
}

.dashboard-body .dash-nav-icon {
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(59, 130, 246, 0.02);
}

.dashboard-body .dash-nav-icon svg {
  width: 15px;
  height: 15px;
}

.dashboard-body .dash-nav-icon svg path,
.dashboard-body .dash-nav-icon svg rect,
.dashboard-body .dash-nav-icon svg circle,
.dashboard-body .dash-nav-icon svg line,
.dashboard-body .dash-nav-icon svg polyline {
  stroke-width: 1.65;
}

.dashboard-body .home-flow-panel {
  border-color: rgba(59, 130, 246, 0.42);
  background:
    radial-gradient(480px 220px at 10% 0%, rgba(59, 130, 246, 0.08), transparent 72%),
    linear-gradient(180deg, rgba(59, 130, 246, 0.03), rgba(59, 130, 246, 0.01)),
    rgba(2, 3, 3, 0.96);
}

.dashboard-body .home-flow-steps {
  list-style: none;
  margin: 10px 0 14px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.dashboard-body .home-flow-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(236, 236, 239, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 10px;
  padding: 9px 10px;
  background: rgba(59, 130, 246, 0.02);
  animation: homeFlowReveal 0.35s ease both;
}

.dashboard-body .home-flow-steps li:nth-child(2) { animation-delay: 0.04s; }
.dashboard-body .home-flow-steps li:nth-child(3) { animation-delay: 0.08s; }
.dashboard-body .home-flow-steps li:nth-child(4) { animation-delay: 0.12s; }
.dashboard-body .home-flow-steps li:nth-child(5) { animation-delay: 0.16s; }

.dashboard-body .home-flow-steps li > span {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  border: 1px solid rgba(59, 130, 246, 0.62);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.36) inset;
}

@keyframes homeFlowReveal {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dashboard-body .overview-outcome-panel,
.dashboard-body .overview-funnel-panel {
  display: none;
}

.dashboard-body .ai-channel-strip {
  margin-top: 10px;
  border-color: rgba(59, 130, 246, 0.3);
}

@media (max-width: 940px) {
  .dashboard-body .dash-sidebar-toolbar {
    align-items: flex-start;
  }

  .dashboard-body.sidebar-collapsed .dash-sidebar-toolbar {
    align-items: flex-start;
  }
}

/* Package 12.4 - Alignment stability + Trend Search form polish */
@media (min-width: 941px) {
  .dashboard-body.sidebar-collapsed .dash-nav-btn,
  .dashboard-body.sidebar-collapsed .dash-utility-link {
    justify-content: flex-start;
    padding: 10px 12px;
    gap: 10px;
  }

  .dashboard-body.sidebar-collapsed .dash-nav-icon,
  .dashboard-body.sidebar-collapsed .dash-utility-link .dash-nav-icon {
    width: 22px;
    height: 22px;
    margin: 0;
  }

  .dashboard-body .dash-sidebar-toolbar {
    min-height: 76px;
  }
}

.dashboard-body #section-search .form-grid {
  gap: 14px;
}

.dashboard-body #section-search label {
  color: rgba(234, 234, 238, 0.94);
}

.dashboard-body #section-search input,
.dashboard-body #section-search select,
.dashboard-body #section-search textarea {
  background: rgba(9, 11, 11, 0.96);
  border-color: rgba(148, 163, 184, 0.18);
  color: #f5f5f8;
  box-shadow: inset 0 1px 0 rgba(59, 130, 246, 0.03);
}

.dashboard-body #section-search input:focus,
.dashboard-body #section-search select:focus,
.dashboard-body #section-search textarea:focus {
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.18);
}

.dashboard-body #section-search .mode-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  background: rgba(7, 9, 9, 0.92);
  padding: 2px;
  gap: 2px;
}

.dashboard-body #section-search .mode-btn {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(224, 224, 229, 0.86);
  padding: 7px 13px;
  min-width: 104px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-body #section-search .mode-btn.active {
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.45), rgba(37, 99, 235, 0.38)),
    rgba(20, 12, 12, 0.95);
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.35);
}

.dashboard-body #section-search #regionSelect,
.dashboard-body #section-search #daysSelect,
.dashboard-body #section-search #sortSelect,
.dashboard-body #section-search #maxResultsSelect,
.dashboard-body #section-search #maxDurationInput,
.dashboard-body #section-search #minViewInput {
  background: rgba(7, 10, 10, 0.98);
}

/* Package 12.5 - Strict row cleanup + collapse stability */
@media (min-width: 941px) {
  .dashboard-body.sidebar-collapsed .dash-brand {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .dashboard-body.sidebar-collapsed .dash-nav-label,
  .dashboard-body.sidebar-collapsed .dash-utility-label {
    opacity: 0;
    visibility: hidden;
    width: 0;
    overflow: hidden;
  }
}

.dashboard-body #section-search .toggle-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 2px 0;
}

.dashboard-body #section-search .toggle-row > label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.3;
  color: rgba(238, 238, 241, 0.95);
}

.dashboard-body #section-search .toggle-help-label {
  white-space: nowrap;
}

.dashboard-body #section-search .toggle-row input[type="checkbox"] {
  accent-color: #3B82F6;
}

.dashboard-body #section-search .help-tip {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(59, 130, 246, 0.03);
  color: rgba(233, 233, 238, 0.9);
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: help;
}

.dashboard-body #section-search .help-tip::after {
  min-width: 210px;
  max-width: 250px;
  padding: 7px 9px;
  font-size: 11px;
  line-height: 1.3;
}

.dashboard-body #section-search .mode-btn:not(.active):hover {
  background: rgba(148, 163, 184, 0.07);
  color: #ffffff;
}

.dashboard-body #section-search select option {
  background: #0a0a0e;
  color: #f3f3f7;
}

/* Package 12.6 - Home hero promo + final collapse alignment lock */
.dashboard-body .home-hero-panel {
  border-color: rgba(59, 130, 246, 0.44);
  background:
    radial-gradient(620px 260px at 8% 0%, rgba(59, 130, 246, 0.12), transparent 74%),
    linear-gradient(180deg, rgba(59, 130, 246, 0.03), rgba(59, 130, 246, 0.01)),
    rgba(2, 4, 3, 0.97);
}

.dashboard-body .home-hero-panel h2 {
  margin: 2px 0 8px;
  font-size: clamp(24px, 3.6vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #f8f8fc;
}

.dashboard-body .home-hero-panel .button-row {
  margin-top: 12px;
}

@media (min-width: 941px) {
  .dashboard-body.sidebar-collapsed .dash-brand {
    width: auto;
    height: auto;
    overflow: visible;
    margin: 0 0 12px;
    padding: 0 2px 12px;
  }

  .dashboard-body.sidebar-collapsed .dash-nav {
    margin-top: 0;
  }
}

/* Package 12.7 - Strict row alignment + tooltip polish + sidebar x-lock */
.dashboard-body #section-search .toggle-row {
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr);
  align-items: start;
  gap: 10px 18px;
  padding: 2px 0 4px;
}

.dashboard-body #section-search .toggle-help-label {
  display: inline-grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.dashboard-body #section-search .toggle-row > label:not(.toggle-help-label) {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 8px;
  min-width: 0;
}

.dashboard-body #section-search .help-tip {
  position: relative;
  width: 18px;
  height: 18px;
  font-size: 0;
  line-height: 0;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(59, 130, 246, 0.03);
  color: transparent;
  box-shadow: none;
  outline: none;
}

.dashboard-body #section-search .help-tip::before {
  content: "?";
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  color: rgba(237, 237, 240, 0.94);
}

.dashboard-body #section-search .help-tip:focus-visible {
  outline: 1px solid rgba(59, 130, 246, 0.55);
  outline-offset: 1px;
}

.dashboard-body #section-search .help-tip::after {
  min-width: 190px;
  max-width: 230px;
  padding: 6px 8px;
  font-size: 11px;
  line-height: 1.3;
}

@media (max-width: 1020px) {
  .dashboard-body #section-search .toggle-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (min-width: 941px) {
  .dashboard-body .dash-sidebar-toolbar,
  .dashboard-body.sidebar-collapsed .dash-sidebar-toolbar {
    align-items: flex-start;
  }

  .dashboard-body .sidebar-toggle-btn,
  .dashboard-body.sidebar-collapsed .sidebar-toggle-btn {
    align-self: flex-start;
  }

  .dashboard-body .dash-sidebar,
  .dashboard-body.sidebar-collapsed .dash-sidebar {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Package 12.8 - Toggle help final + collapse arrow center align */
.dashboard-body #section-search .toggle-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  align-items: center;
  gap: 10px 18px;
  padding: 2px 0 4px;
}

.dashboard-body #section-search .toggle-help-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  min-width: 0;
}

.dashboard-body #section-search .help-tip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(148, 163, 184, 0.05);
  color: rgba(240, 240, 243, 0.96);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  cursor: help;
  text-indent: 0;
}

.dashboard-body #section-search .help-tip::before {
  content: none;
}

.dashboard-body #section-search .help-tip::after {
  content: attr(data-tip);
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  bottom: auto;
  transform: none;
  min-width: 190px;
  max-width: 240px;
  padding: 7px 9px;
  border-radius: 9px;
  background: rgba(8, 8, 11, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: rgba(240, 240, 243, 0.95);
  font-size: 11px;
  line-height: 1.3;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease;
  z-index: 45;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.dashboard-body #section-search .help-tip:hover::after,
.dashboard-body #section-search .help-tip:focus-visible::after {
  opacity: 1;
}

@media (max-width: 1020px) {
  .dashboard-body #section-search .toggle-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (min-width: 941px) {
  .dashboard-body .dash-sidebar-toolbar,
  .dashboard-body.sidebar-collapsed .dash-sidebar-toolbar {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: start;
    gap: 8px;
  }

  .dashboard-body .dash-logo-link,
  .dashboard-body.sidebar-collapsed .dash-logo-link {
    width: auto;
    justify-content: center;
  }

  .dashboard-body .sidebar-toggle-btn,
  .dashboard-body.sidebar-collapsed .sidebar-toggle-btn {
    align-self: center;
    margin-top: 0;
  }
}

/* Package 12.9 - Arrow direction polish + subtle dashboard-only hover gradient */
.dashboard-body .sidebar-toggle-btn {
  transition: transform 0.22s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.dashboard-body .sidebar-toggle-btn:hover {
  transform: translateY(-1px);
}

.dashboard-body .sidebar-toggle-btn:active {
  transform: translateY(0) scale(0.96);
}

.dashboard-body.sidebar-collapsed .sidebar-toggle-btn,
.dashboard-body:not(.sidebar-collapsed) .sidebar-toggle-btn {
  transform: none;
}

.dashboard-body .dash-nav-btn {
  transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}

.dashboard-body .dash-nav-btn:hover {
  background:
    linear-gradient(120deg, rgba(59, 130, 246, 0.12), rgba(59, 130, 246, 0.04) 40%, rgba(59, 130, 246, 0.03) 100%),
    rgba(59, 130, 246, 0.02);
  border-color: rgba(59, 130, 246, 0.34);
}

.dashboard-body .dash-nav-btn:hover .dash-nav-icon {
  border-color: rgba(59, 130, 246, 0.46);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.16), rgba(59, 130, 246, 0.05));
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.14);
}

.dashboard-body .dash-nav-btn:hover .dash-nav-label,
.dashboard-body .dash-utility-link:hover .dash-utility-label {
  color: #f8f8fc;
}

.dashboard-body .dash-utility-link:hover {
  background:
    linear-gradient(120deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.035) 45%, rgba(59, 130, 246, 0.03) 100%),
    rgba(59, 130, 246, 0.03);
  border-color: rgba(59, 130, 246, 0.3);
}

.dashboard-body .dash-utility-link:hover .dash-nav-icon {
  border-color: rgba(59, 130, 246, 0.4);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.14), rgba(59, 130, 246, 0.04));
}

/* Package 13 - Icon/Label alignment lock + smoother sidebar animation */
@media (min-width: 941px) {
  .dashboard-body .dash-nav-btn {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: center;
    justify-content: start;
    column-gap: 12px;
    padding: 10px 12px;
    overflow: hidden;
    transition:
      border-color 0.24s ease,
      background 0.24s ease,
      box-shadow 0.24s ease,
      color 0.24s ease,
      column-gap 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      grid-template-columns 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .dashboard-body .dash-nav-icon {
    justify-self: center;
    transform: translateX(0);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .dashboard-body .dash-nav-label {
    opacity: 1;
    transform: translateX(0);
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    transition:
      opacity 0.2s ease,
      transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      max-width 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .dashboard-body.sidebar-collapsed .dash-nav-btn {
    grid-template-columns: 22px 0fr;
    column-gap: 0;
    padding: 10px 12px;
    justify-content: start;
  }

  .dashboard-body.sidebar-collapsed .dash-nav-label {
    opacity: 0;
    transform: translateX(-8px);
    max-width: 0;
    pointer-events: none;
  }

  .dashboard-body.sidebar-collapsed .dash-nav-icon {
    transform: translateX(0);
  }

  .dashboard-body .dash-utility-link {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: center;
    justify-content: start;
    column-gap: 10px;
    overflow: hidden;
    transition:
      border-color 0.24s ease,
      background 0.24s ease,
      color 0.24s ease,
      column-gap 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      grid-template-columns 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .dashboard-body .dash-utility-link .dash-nav-icon {
    justify-self: center;
  }

  .dashboard-body .dash-utility-label {
    opacity: 1;
    transform: translateX(0);
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    transition:
      opacity 0.2s ease,
      transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      max-width 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .dashboard-body.sidebar-collapsed .dash-utility-link {
    grid-template-columns: 22px 0fr;
    column-gap: 0;
    justify-content: start;
    padding: 10px 12px;
  }

  .dashboard-body.sidebar-collapsed .dash-utility-label {
    opacity: 0;
    transform: translateX(-8px);
    max-width: 0;
    pointer-events: none;
  }

  .dashboard-body .dash-sidebar,
  .dashboard-body .dash-layout {
    transition:
      padding 0.3s cubic-bezier(0.22, 1, 0.36, 1),
      grid-template-columns 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }
}
/* Package 14 - Sidebar final alignment lock (style-only) */
@media (min-width: 941px) {
  .dashboard-body .dash-brand {
    display: none !important;
  }

  .dashboard-body .dash-sidebar {
    overflow-x: hidden;
    padding: 14px 10px 18px !important;
  }

  .dashboard-body .dash-sidebar-toolbar,
  .dashboard-body.sidebar-collapsed .dash-sidebar-toolbar {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    align-content: start !important;
    gap: 10px !important;
    margin-bottom: 8px;
  }

  .dashboard-body .dash-nav,
  .dashboard-body .dash-utility-links {
    gap: 10px;
  }

  .dashboard-body .dash-nav-btn,
  .dashboard-body .dash-utility-link {
    position: relative;
    display: grid !important;
    grid-template-columns: 24px minmax(0, 1fr) !important;
    align-items: center !important;
    justify-content: start !important;
    column-gap: 12px !important;
    padding: 10px 12px !important;
    overflow: hidden !important;
    white-space: nowrap;
    transition:
      border-color 0.24s ease,
      background 0.24s ease,
      color 0.24s ease,
      box-shadow 0.24s ease,
      column-gap 0.30s cubic-bezier(0.22, 1, 0.36, 1),
      grid-template-columns 0.30s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .dashboard-body .dash-nav-icon {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    justify-self: center;
    transform: none !important;
    transition:
      border-color 0.24s ease,
      background 0.24s ease,
      box-shadow 0.24s ease,
      color 0.24s ease;
  }

  .dashboard-body .dash-nav-icon svg {
    width: 16px;
    height: 16px;
  }

  .dashboard-body .dash-nav-label,
  .dashboard-body .dash-utility-label {
    opacity: 1;
    transform: translateX(0);
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    transition:
      opacity 0.20s ease,
      transform 0.30s cubic-bezier(0.22, 1, 0.36, 1),
      max-width 0.30s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .dashboard-body.sidebar-collapsed .dash-nav-btn,
  .dashboard-body.sidebar-collapsed .dash-utility-link {
    grid-template-columns: 24px 0fr !important;
    column-gap: 0 !important;
  }

  .dashboard-body.sidebar-collapsed .dash-nav-label,
  .dashboard-body.sidebar-collapsed .dash-utility-label {
    opacity: 0;
    transform: translateX(-10px);
    max-width: 0;
    pointer-events: none;
  }

  .dashboard-body.sidebar-collapsed .dash-nav-icon,
  .dashboard-body:not(.sidebar-collapsed) .dash-nav-icon {
    transform: none !important;
  }
}
/* Package 15 - Sidebar breathing room + Billing placement polish */
@media (min-width: 941px) {
  .dashboard-body .dash-sidebar {
    background:
      linear-gradient(180deg, rgba(8, 10, 10, 0.97) 0%, rgba(6, 8, 8, 0.98) 100%);
    border-right-color: rgba(148, 163, 184, 0.08);
  }

  .dashboard-body .dash-sidebar-toolbar,
  .dashboard-body.sidebar-collapsed .dash-sidebar-toolbar {
    margin-bottom: 12px !important;
    gap: 12px !important;
  }

  .dashboard-body .dash-nav {
    display: flex !important;
    flex-direction: column;
    gap: 12px !important;
    margin-top: 4px;
  }

  .dashboard-body .dash-nav-btn,
  .dashboard-body .dash-utility-link,
  .dashboard-body .dash-utility-billing {
    min-height: 52px;
    padding: 12px 14px !important;
    border-radius: 14px;
  }

  .dashboard-body .dash-nav-label,
  .dashboard-body .dash-utility-label {
    line-height: 1.25;
  }

  .dashboard-body .dash-utility-links {
    margin-top: 18px !important;
    padding-top: 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.10);
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .dashboard-body .dash-utility-billing {
    margin-bottom: 2px;
  }

  .dashboard-body .dash-nav-icon {
    width: 24px;
    height: 24px;
  }
}
/* Package 16 - Profile card + grouped sidebar hierarchy */
@media (min-width: 941px) {
  .dashboard-body .dash-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .dashboard-body .dash-profile-wrap {
    position: relative;
    margin: 2px 0 6px;
  }

  .dashboard-body .dash-profile-btn {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.15);
    background: linear-gradient(180deg, rgba(148, 163, 184, 0.05), rgba(59, 130, 246, 0.02));
    color: #f2f2f6;
    border-radius: 14px;
    min-height: 62px;
    padding: 10px 12px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 14px;
    align-items: center;
    column-gap: 10px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  }

  .dashboard-body .dash-profile-btn:hover {
    border-color: rgba(59, 130, 246, 0.42);
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2);
  }

  .dashboard-body .dash-profile-avatar {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(180deg, #3B82F6, #2563EB);
  }

  .dashboard-body .dash-profile-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
  }

  .dashboard-body .dash-profile-name {
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .dashboard-body .dash-profile-plan {
    font-size: 11px;
    color: rgba(218, 218, 224, 0.74);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .dashboard-body .dash-profile-caret {
    color: rgba(220, 220, 226, 0.88);
    font-size: 14px;
    transition: transform 0.2s ease;
  }

  .dashboard-body .dash-profile-btn[aria-expanded="true"] .dash-profile-caret {
    transform: rotate(180deg);
  }

  .dashboard-body .dash-profile-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 60;
    border-radius: 13px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(10, 12, 12, 0.97);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.48);
    overflow: hidden;
    padding: 6px;
    display: grid;
    gap: 4px;
  }

  .dashboard-body .dash-profile-menu.hidden {
    display: none !important;
  }

  .dashboard-body .dash-profile-menu-item {
    width: 100%;
    border: 1px solid transparent;
    background: rgba(59, 130, 246, 0.03);
    color: #eeeef4;
    border-radius: 9px;
    min-height: 38px;
    padding: 8px 10px;
    text-align: left;
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
  }

  .dashboard-body .dash-profile-menu-item:hover {
    border-color: rgba(59, 130, 246, 0.32);
    background: linear-gradient(120deg, rgba(59, 130, 246, 0.12), rgba(59, 130, 246, 0.03));
  }

  .dashboard-body .dash-nav {
    gap: 16px !important;
  }

  .dashboard-body .dash-nav-group {
    display: grid;
    gap: 10px;
  }

  .dashboard-body .dash-nav-group-title {
    margin: 0 4px;
    font-size: 12px;
    letter-spacing: 0.03em;
    color: rgba(196, 196, 204, 0.74);
    font-weight: 700;
  }

  .dashboard-body .dash-utility-links {
    margin-top: auto !important;
    padding-top: 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.08);
  }

  .dashboard-body.sidebar-collapsed .dash-profile-copy,
  .dashboard-body.sidebar-collapsed .dash-profile-caret,
  .dashboard-body.sidebar-collapsed .dash-nav-group-title {
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .dashboard-body.sidebar-collapsed .dash-profile-btn {
    grid-template-columns: 38px 0fr 0fr;
    justify-content: center;
    padding-left: 10px;
    padding-right: 10px;
  }

  .dashboard-body.sidebar-collapsed .dash-profile-menu {
    display: none !important;
  }
}
/* Package 17 - Profile icon exact center + icon-line lock */
@media (min-width: 941px) {
  .dashboard-body .dash-profile-btn {
    grid-template-columns: 24px minmax(0, 1fr) 14px !important;
    column-gap: 12px !important;
    align-items: center !important;
    justify-content: start !important;
    padding: 10px 12px !important;
  }

  .dashboard-body .dash-profile-avatar {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px;
    min-height: 24px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    justify-self: center !important;
    align-self: center !important;
    font-size: 12px;
    line-height: 1;
    transform: none !important;
  }

  .dashboard-body .dash-profile-caret {
    justify-self: center;
    align-self: center;
    line-height: 1;
  }

  .dashboard-body.sidebar-collapsed .dash-profile-btn {
    grid-template-columns: 24px 0fr 0fr !important;
    column-gap: 0 !important;
    justify-content: start !important;
    padding: 10px 12px !important;
  }

  .dashboard-body.sidebar-collapsed .dash-profile-avatar,
  .dashboard-body:not(.sidebar-collapsed) .dash-profile-avatar {
    transform: none !important;
  }
}
/* Package 18 - No horizontal scroll + cleaner responsive fit */
.dashboard-body,
.dashboard-body .dash-layout,
.dashboard-body .dash-main,
.dashboard-body .section-panel,
.dashboard-body .panel-dark,
.dashboard-body .overview-grid,
.dashboard-body .kpi-card {
  min-width: 0;
}

.dashboard-body,
.dashboard-body .dash-main {
  overflow-x: hidden;
}

.dashboard-body .dash-layout {
  width: 100%;
  max-width: 100vw;
  grid-template-columns: minmax(72px, 88px) minmax(0, 1fr);
}

.dashboard-body:not(.sidebar-collapsed) .dash-layout {
  grid-template-columns: minmax(250px, 286px) minmax(0, 1fr);
}

.dashboard-body .dash-main {
  width: 100%;
  padding: 18px 20px 24px !important;
}

.dashboard-body .panel-row.between {
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 12px;
}

.dashboard-body .panel-row.between .button-row {
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.dashboard-body #section-search .form-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.dashboard-body #section-search .chip-grid {
  min-width: 0;
  overflow: hidden;
}

.dashboard-body #section-search .chip {
  max-width: 100%;
}

.dashboard-body #section-search .toggle-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px 16px !important;
  align-items: center !important;
  min-width: 0;
}

.dashboard-body #section-search .toggle-help-label,
.dashboard-body #section-search .toggle-row > label:not(.toggle-help-label) {
  min-width: 0;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: normal;
  line-height: 1.25;
}

.dashboard-body #section-search .toggle-row input[type="checkbox"] {
  margin: 0;
  flex: 0 0 auto;
}

.dashboard-body #section-search .help-tip::after {
  max-width: min(260px, calc(100vw - 140px));
  white-space: normal;
}

.dashboard-body #section-search .toggle-row > label:last-child .help-tip::after {
  left: auto;
  right: 0;
}

@media (max-width: 1520px) {
  .dashboard-body #section-search .form-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1320px) {
  .dashboard-body #section-search .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-body #section-search .toggle-row {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 940px) {
  .dashboard-body .dash-layout,
  .dashboard-body:not(.sidebar-collapsed) .dash-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-body .dash-main {
    padding: 14px 14px 18px !important;
  }

  .dashboard-body #section-search .form-grid,
  .dashboard-body #section-search .toggle-row {
    grid-template-columns: 1fr !important;
  }
}
/* Package 19 - Collapsed sidebar exact center alignment */
@media (min-width: 941px) {
  .dashboard-body .dash-nav-icon,
  .dashboard-body .dash-profile-avatar,
  .dashboard-body .sidebar-toggle-btn {
    display: grid;
    place-items: center;
  }

  .dashboard-body.sidebar-collapsed .dash-nav-btn,
  .dashboard-body.sidebar-collapsed .dash-utility-link {
    grid-template-columns: 1fr !important;
    justify-content: center !important;
    justify-items: center !important;
    align-items: center !important;
    padding: 10px 0 !important;
    column-gap: 0 !important;
    text-align: center;
  }

  .dashboard-body.sidebar-collapsed .dash-nav-icon,
  .dashboard-body.sidebar-collapsed .dash-utility-link .dash-nav-icon {
    justify-self: center !important;
    align-self: center !important;
    margin: 0 auto !important;
    transform: none !important;
  }

  .dashboard-body.sidebar-collapsed .dash-profile-btn {
    grid-template-columns: 1fr !important;
    justify-content: center !important;
    justify-items: center !important;
    align-items: center !important;
    padding: 10px 0 !important;
    column-gap: 0 !important;
  }

  .dashboard-body.sidebar-collapsed .dash-profile-avatar {
    justify-self: center !important;
    align-self: center !important;
    margin: 0 auto !important;
    transform: none !important;
  }

  .dashboard-body .dash-sidebar-toolbar,
  .dashboard-body.sidebar-collapsed .dash-sidebar-toolbar {
    justify-items: center !important;
    align-items: center !important;
  }

  .dashboard-body .sidebar-toggle-btn,
  .dashboard-body.sidebar-collapsed .sidebar-toggle-btn {
    justify-self: center !important;
    align-self: center !important;
    margin: 0 auto !important;
  }
}
/* Package 20 - Hard overflow guard + readable strict row */
.dashboard-body {
  overflow-x: clip !important;
}

.dashboard-body .dash-main,
.dashboard-body .section-panel,
.dashboard-body .panel-dark,
.dashboard-body #section-search,
.dashboard-body #section-search .discovery-workspace,
.dashboard-body #section-search .insight-box {
  overflow-x: clip;
}

.dashboard-body #section-search .toggle-row > label {
  overflow-wrap: anywhere;
  word-break: normal;
}

.dashboard-body #section-search .help-tip {
  flex: 0 0 auto;
}

.dashboard-body #section-search .help-tip::after {
  z-index: 80;
}
/* Package 21 - Fix strict toggle row layout regression */
@media (min-width: 941px) {
  .dashboard-body #section-search .toggle-row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px 22px !important;
    min-height: auto !important;
  }

  .dashboard-body #section-search .toggle-row > label,
  .dashboard-body #section-search .toggle-help-label,
  .dashboard-body #section-search .toggle-row > label:not(.toggle-help-label) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: auto !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    min-width: 0 !important;
    line-height: 1.25 !important;
  }

  .dashboard-body #section-search .toggle-row > label:last-child {
    flex: 1 1 auto;
  }
}

@media (max-width: 1320px) {
  .dashboard-body #section-search .toggle-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .dashboard-body #section-search .toggle-row > label,
  .dashboard-body #section-search .toggle-help-label,
  .dashboard-body #section-search .toggle-row > label:not(.toggle-help-label) {
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }
}
/* Package 22 - Strict row final fix + collapsed profile arrow/menu */
@media (min-width: 941px) {
  .dashboard-body #section-search .toggle-row {
    display: grid !important;
    grid-template-columns: minmax(220px, 340px) minmax(320px, 1fr) !important;
    gap: 10px 20px !important;
    align-items: center !important;
  }

  .dashboard-body #section-search .toggle-help-label,
  .dashboard-body #section-search .toggle-row > label:not(.toggle-help-label) {
    display: grid !important;
    grid-template-columns: 16px minmax(0, 1fr) 18px;
    align-items: center !important;
    gap: 8px;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    line-height: 1.22 !important;
  }

  .dashboard-body #section-search .toggle-row input[type="checkbox"] {
    margin: 0 !important;
    align-self: center;
    justify-self: start;
  }

  .dashboard-body #section-search .help-tip {
    justify-self: end;
  }

  .dashboard-body #section-search .toggle-row > label:last-child {
    justify-self: stretch;
  }

  .dashboard-body .dash-sidebar {
    overflow-x: visible !important;
  }

  .dashboard-body.sidebar-collapsed .dash-profile-btn {
    grid-template-columns: 1fr !important;
    grid-template-rows: 24px 12px;
    row-gap: 6px;
    justify-items: center !important;
    align-items: center !important;
    padding: 10px 0 !important;
  }

  .dashboard-body.sidebar-collapsed .dash-profile-avatar {
    grid-row: 1;
  }

  .dashboard-body.sidebar-collapsed .dash-profile-copy {
    display: none !important;
  }

  .dashboard-body.sidebar-collapsed .dash-profile-caret {
    grid-row: 2;
    display: block !important;
    opacity: 1 !important;
    max-width: none !important;
    overflow: visible !important;
    pointer-events: none;
    font-size: 11px;
    line-height: 1;
    transform: none !important;
  }

  .dashboard-body.sidebar-collapsed .dash-profile-menu {
    left: calc(100% + 10px);
    right: auto;
    min-width: 220px;
    max-width: min(280px, calc(100vw - 130px));
  }

  .dashboard-body.sidebar-collapsed .dash-profile-menu.hidden {
    display: none !important;
  }

  .dashboard-body.sidebar-collapsed .dash-profile-menu:not(.hidden) {
    display: grid !important;
  }
}

@media (max-width: 1320px) {
  .dashboard-body #section-search .toggle-row {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
}
/* Package 23 - Strict row cleanup + collapsed profile menu usability */
@media (min-width: 941px) {
  .dashboard-body #section-search .toggle-row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px 26px !important;
    min-height: 0 !important;
  }

  .dashboard-body #section-search .toggle-row > label,
  .dashboard-body #section-search .toggle-help-label,
  .dashboard-body #section-search .toggle-row > label:not(.toggle-help-label) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 8px !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    line-height: 1.22 !important;
    margin: 0 !important;
  }

  .dashboard-body #section-search .toggle-row input[type="checkbox"] {
    margin: 0 !important;
    flex: 0 0 auto !important;
    align-self: center !important;
  }

  .dashboard-body #section-search .help-tip {
    flex: 0 0 auto !important;
    align-self: center !important;
  }

  .dashboard-body #section-search .help-tip::after {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    top: calc(100% + 8px) !important;
    max-width: min(260px, calc(100vw - 56px)) !important;
    white-space: normal !important;
  }

  .dashboard-body #section-search .toggle-row > label:last-child .help-tip::after {
    left: auto !important;
    right: 0 !important;
    transform: none !important;
  }

  .dashboard-body .dash-profile-wrap {
    overflow: visible !important;
  }

  .dashboard-body .dash-sidebar {
    overflow-x: visible !important;
  }

  .dashboard-body.sidebar-collapsed .dash-profile-btn {
    grid-template-columns: 1fr !important;
    grid-template-rows: 24px 11px !important;
    row-gap: 6px !important;
    justify-items: center !important;
    align-items: center !important;
    min-height: 62px !important;
    padding: 10px 0 !important;
  }

  .dashboard-body.sidebar-collapsed .dash-profile-copy {
    display: none !important;
  }

  .dashboard-body.sidebar-collapsed .dash-profile-caret {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    max-width: none !important;
    width: auto !important;
    overflow: visible !important;
    color: rgba(237, 237, 240, 0.92) !important;
    font-size: 10px !important;
    line-height: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  .dashboard-body.sidebar-collapsed .dash-profile-menu {
    left: calc(100% + 10px) !important;
    right: auto !important;
    top: 0 !important;
    min-width: 220px !important;
    max-width: min(280px, calc(100vw - 120px)) !important;
    z-index: 95 !important;
    display: none;
  }

  .dashboard-body.sidebar-collapsed .dash-profile-menu:not(.hidden) {
    display: grid !important;
  }
}

@media (max-width: 1320px) {
  .dashboard-body #section-search .toggle-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .dashboard-body #section-search .toggle-row > label,
  .dashboard-body #section-search .toggle-help-label,
  .dashboard-body #section-search .toggle-row > label:not(.toggle-help-label) {
    white-space: normal !important;
  }
}
/* Package 24 - Clean strict-row + stable collapsed profile dropdown */
@media (min-width: 941px) {
  .dashboard-body #section-search .toggle-row.toggle-row-compact {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px 24px !important;
    min-height: 0 !important;
  }

  .dashboard-body #section-search .toggle-row.toggle-row-compact .toggle-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    line-height: 1.22 !important;
    white-space: nowrap !important;
    width: auto !important;
    max-width: 100% !important;
  }

  .dashboard-body #section-search .toggle-row.toggle-row-compact .toggle-item::before,
  .dashboard-body #section-search .toggle-row.toggle-row-compact .toggle-item::after {
    content: none !important;
    display: none !important;
  }

  .dashboard-body #section-search .toggle-row.toggle-row-compact .toggle-text {
    display: inline-block;
    white-space: nowrap;
  }

  .dashboard-body #section-search .toggle-row.toggle-row-compact input[type="checkbox"] {
    appearance: auto;
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    margin: 0 !important;
    accent-color: #3B82F6;
    box-shadow: none !important;
    outline: none !important;
  }

  .dashboard-body #section-search .toggle-row.toggle-row-compact .help-tip {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px;
    min-height: 18px;
    flex: 0 0 18px;
  }

  .dashboard-body #section-search .toggle-row.toggle-row-compact .help-tip::before {
    content: none !important;
  }

  .dashboard-body #section-search .toggle-row.toggle-row-compact .help-tip::after {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    top: calc(100% + 8px) !important;
    max-width: min(260px, calc(100vw - 56px)) !important;
    white-space: normal !important;
  }

  .dashboard-body #section-search .toggle-row.toggle-row-compact .toggle-item:last-child .help-tip::after {
    left: auto !important;
    right: 0 !important;
    transform: none !important;
  }

  .dashboard-body.sidebar-collapsed .dash-profile-btn {
    grid-template-columns: 1fr !important;
    grid-template-rows: 24px 12px !important;
    row-gap: 6px !important;
    justify-items: center !important;
    align-items: center !important;
    min-height: 62px !important;
    padding: 10px 0 !important;
  }

  .dashboard-body.sidebar-collapsed .dash-profile-avatar {
    grid-row: 1;
    margin: 0 auto !important;
  }

  .dashboard-body.sidebar-collapsed .dash-profile-copy {
    display: none !important;
  }

  .dashboard-body.sidebar-collapsed .dash-profile-caret {
    grid-row: 2;
    display: grid !important;
    place-items: center;
    opacity: 1 !important;
    visibility: visible !important;
    color: rgba(240, 240, 243, 0.95) !important;
    font-size: 11px !important;
    line-height: 1 !important;
    max-width: none !important;
    width: auto !important;
    overflow: visible !important;
    pointer-events: none;
  }

  .dashboard-body.sidebar-collapsed .dash-profile-menu {
    min-width: 260px !important;
    max-width: min(320px, calc(100vw - 120px)) !important;
    z-index: 120 !important;
    display: none !important;
  }

  .dashboard-body.sidebar-collapsed .dash-profile-menu.profile-open {
    display: grid !important;
  }
}

@media (max-width: 1320px) {
  .dashboard-body #section-search .toggle-row.toggle-row-compact {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .dashboard-body #section-search .toggle-row.toggle-row-compact .toggle-item {
    white-space: normal !important;
  }
}

/* Package 25 - Minimal sidebar density + chip fit + smoother shell motion */
@media (min-width: 941px) {
  .dashboard-body .dash-sidebar {
    padding: 12px 8px 14px !important;
    gap: 10px;
  }

  .dashboard-body .dash-nav {
    gap: 12px !important;
  }

  .dashboard-body .dash-nav-group {
    gap: 8px;
  }

  .dashboard-body .dash-nav-group-title {
    margin: 0 6px;
    font-size: 11px;
    letter-spacing: 0.04em;
  }

  .dashboard-body .dash-profile-btn {
    min-height: 54px !important;
    padding: 9px 11px !important;
    border-radius: 12px;
  }

  .dashboard-body .dash-nav-btn,
  .dashboard-body .dash-utility-link {
    min-height: 44px !important;
    padding: 9px 12px !important;
    border-radius: 12px;
  }

  .dashboard-body .dash-profile-menu-item {
    min-height: 34px;
    padding: 7px 9px;
    font-size: 12.5px;
  }

  .dashboard-body .dash-utility-links {
    margin-top: auto !important;
    padding-top: 14px;
    gap: 10px;
  }

  .dashboard-body .dash-layout,
  .dashboard-body .dash-sidebar,
  .dashboard-body .dash-main {
    transition:
      grid-template-columns 0.46s cubic-bezier(0.22, 1, 0.36, 1),
      padding 0.42s cubic-bezier(0.22, 1, 0.36, 1),
      margin 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .dashboard-body .dash-nav-btn,
  .dashboard-body .dash-utility-link,
  .dashboard-body .dash-profile-btn,
  .dashboard-body .sidebar-toggle-btn {
    transition:
      border-color 0.28s ease,
      background 0.32s ease,
      color 0.28s ease,
      box-shadow 0.32s ease,
      grid-template-columns 0.40s cubic-bezier(0.22, 1, 0.36, 1),
      column-gap 0.40s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.30s ease;
  }

  .dashboard-body .dash-nav-label,
  .dashboard-body .dash-utility-label,
  .dashboard-body .dash-profile-copy,
  .dashboard-body .dash-profile-caret {
    transition:
      opacity 0.30s ease,
      transform 0.40s cubic-bezier(0.22, 1, 0.36, 1),
      max-width 0.40s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .dashboard-body #section-search .chip-grid {
    overflow: visible !important;
    padding-top: 4px;
    padding-bottom: 2px;
    row-gap: 10px;
    column-gap: 8px;
  }

  .dashboard-body #section-search .chip {
    min-height: 36px;
    padding: 8px 12px;
    line-height: 1.16;
    display: inline-flex;
    align-items: center;
  }

  .dashboard-body #section-search .chip.active {
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.34);
  }
}
/* Package 26 - Slower, smoother sidebar open/close motion */
@media (min-width: 941px) {
  .dashboard-body {
    --vr-sidebar-open: 272px;
    --vr-sidebar-collapsed: 84px;
    --vr-sidebar-dur: 0.58s;
    --vr-sidebar-ease: cubic-bezier(0.16, 1, 0.3, 1);
  }

  .dashboard-body .dash-layout {
    grid-template-columns: var(--vr-sidebar-open) minmax(0, 1fr) !important;
    transition: grid-template-columns var(--vr-sidebar-dur) var(--vr-sidebar-ease) !important;
  }

  .dashboard-body.sidebar-collapsed .dash-layout {
    grid-template-columns: var(--vr-sidebar-collapsed) minmax(0, 1fr) !important;
  }

  .dashboard-body .dash-sidebar {
    transition:
      padding var(--vr-sidebar-dur) var(--vr-sidebar-ease),
      background 0.42s ease,
      border-color 0.36s ease !important;
  }

  .dashboard-body .dash-main {
    transition: padding var(--vr-sidebar-dur) var(--vr-sidebar-ease) !important;
  }

  .dashboard-body .dash-nav-btn,
  .dashboard-body .dash-utility-link,
  .dashboard-body .dash-profile-btn {
    transition:
      grid-template-columns var(--vr-sidebar-dur) var(--vr-sidebar-ease),
      column-gap var(--vr-sidebar-dur) var(--vr-sidebar-ease),
      padding var(--vr-sidebar-dur) var(--vr-sidebar-ease),
      border-color 0.28s ease,
      background 0.34s ease,
      box-shadow 0.34s ease,
      color 0.28s ease !important;
  }

  .dashboard-body .dash-nav-label,
  .dashboard-body .dash-utility-label,
  .dashboard-body .dash-profile-copy,
  .dashboard-body .dash-profile-caret {
    transition:
      opacity 0.32s ease,
      transform var(--vr-sidebar-dur) var(--vr-sidebar-ease),
      max-width var(--vr-sidebar-dur) var(--vr-sidebar-ease) !important;
  }

  .dashboard-body .sidebar-toggle-btn {
    transition:
      transform var(--vr-sidebar-dur) var(--vr-sidebar-ease),
      border-color 0.26s ease,
      background 0.3s ease,
      color 0.26s ease !important;
    will-change: transform;
  }

  .dashboard-body:not(.sidebar-collapsed) .sidebar-toggle-btn {
    transform: rotate(0deg) !important;
  }

  .dashboard-body.sidebar-collapsed .sidebar-toggle-btn {
    transform: rotate(180deg) !important;
  }

  .dashboard-body:not(.sidebar-collapsed) .sidebar-toggle-btn:hover {
    transform: rotate(0deg) translateY(-1px) !important;
  }

  .dashboard-body.sidebar-collapsed .sidebar-toggle-btn:hover {
    transform: rotate(180deg) translateY(-1px) !important;
  }
}
/* Package 27 - Performance-tuned smooth sidebar motion (no stutter) */
@media (min-width: 941px) {
  .dashboard-body {
    --vr-sidebar-dur: 0.36s;
    --vr-sidebar-ease: cubic-bezier(0.22, 1, 0.36, 1);
  }

  .dashboard-body .dash-layout {
    transition: grid-template-columns var(--vr-sidebar-dur) var(--vr-sidebar-ease) !important;
    will-change: grid-template-columns;
  }

  .dashboard-body .dash-sidebar,
  .dashboard-body .dash-main {
    transition: padding var(--vr-sidebar-dur) var(--vr-sidebar-ease) !important;
  }

  .dashboard-body .dash-nav-btn,
  .dashboard-body .dash-utility-link,
  .dashboard-body .dash-profile-btn {
    transition:
      grid-template-columns var(--vr-sidebar-dur) var(--vr-sidebar-ease),
      column-gap var(--vr-sidebar-dur) var(--vr-sidebar-ease),
      padding var(--vr-sidebar-dur) var(--vr-sidebar-ease),
      background 0.24s ease,
      border-color 0.24s ease,
      box-shadow 0.24s ease,
      color 0.24s ease !important;
  }

  .dashboard-body .dash-nav-label,
  .dashboard-body .dash-utility-label,
  .dashboard-body .dash-profile-copy,
  .dashboard-body .dash-profile-caret {
    transition:
      opacity 0.22s ease,
      transform var(--vr-sidebar-dur) var(--vr-sidebar-ease),
      max-width 0s linear 0.22s !important;
    will-change: opacity, transform;
    backface-visibility: hidden;
    transform: translateZ(0);
  }

  .dashboard-body .sidebar-toggle-btn {
    transition:
      transform var(--vr-sidebar-dur) var(--vr-sidebar-ease),
      background 0.24s ease,
      border-color 0.24s ease,
      color 0.24s ease !important;
    will-change: transform;
    backface-visibility: hidden;
  }

  .dashboard-body:not(.sidebar-collapsed) .sidebar-toggle-btn {
    transform: rotate(0deg) translateZ(0) !important;
  }

  .dashboard-body.sidebar-collapsed .sidebar-toggle-btn {
    transform: rotate(180deg) translateZ(0) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-body .dash-layout,
  .dashboard-body .dash-sidebar,
  .dashboard-body .dash-main,
  .dashboard-body .dash-nav-btn,
  .dashboard-body .dash-utility-link,
  .dashboard-body .dash-profile-btn,
  .dashboard-body .dash-nav-label,
  .dashboard-body .dash-utility-label,
  .dashboard-body .dash-profile-copy,
  .dashboard-body .dash-profile-caret,
  .dashboard-body .sidebar-toggle-btn {
    transition: none !important;
  }
}

/* ============================================================
   Package 30 - Premium Dashboard Polish
   More whitespace, cleaner cards, opus.pro-inspired minimalism
   ============================================================ */

/* --- Dashboard panel cards: glass effect + deeper depth --- */
.dashboard-body .panel-dark {
  border: 1px solid rgba(148, 163, 184, 0.07) !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.04), rgba(59, 130, 246, 0.01)) !important;
  backdrop-filter: blur(6px);
  padding: 20px !important;
}

.dashboard-body .panel-subtle {
  border: 1px solid rgba(148, 163, 184, 0.06) !important;
  border-radius: 14px !important;
  background: rgba(59, 130, 246, 0.02) !important;
  padding: 18px !important;
}

/* --- KPI cards: cleaner, more minimal --- */
.dashboard-body .kpi-card {
  border: 1px solid rgba(148, 163, 184, 0.07) !important;
  border-radius: 14px !important;
  padding: 16px 18px !important;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.03), rgba(59, 130, 246, 0.01)) !important;
}

.dashboard-body .kpi-card.kpi-accent {
  border-color: rgba(59, 130, 246, 0.2) !important;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.06), rgba(59, 130, 246, 0.01)) !important;
}

.dashboard-body .kpi-label {
  font-size: 12px !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(170, 170, 180, 0.85) !important;
  margin-bottom: 8px !important;
}

.dashboard-body .kpi-value {
  font-size: 26px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
}

/* --- Hero panel in dashboard home: make it pop --- */
.dashboard-body .home-hero-panel {
  border: 1px solid rgba(59, 130, 246, 0.2) !important;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(59, 130, 246, 0.02) 60%, rgba(59, 130, 246, 0.02)) !important;
  border-radius: 18px !important;
  padding: 28px 24px !important;
}

.dashboard-body .home-hero-panel h2 {
  font-size: clamp(22px, 2.8vw, 32px) !important;
  letter-spacing: -0.02em;
  line-height: 1.15 !important;
}

/* --- Quick flow panel: standout CTA area --- */
.dashboard-body .quick-flow-panel {
  border: 1px solid rgba(59, 130, 246, 0.18) !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.06), rgba(59, 130, 246, 0.01)) !important;
  padding: 20px !important;
}

.dashboard-body .quick-flow-steps {
  margin: 12px 0 16px;
  padding-left: 20px;
}

.dashboard-body .quick-flow-steps li {
  margin-bottom: 6px;
  color: rgba(238, 238, 242, 0.88);
  line-height: 1.5;
}

/* --- Ready trend wrap: accent border --- */
.dashboard-body .ready-trend-wrap {
  border: 1px solid rgba(59, 130, 246, 0.2) !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.05), rgba(59, 130, 246, 0.01)) !important;
  padding: 20px !important;
}

/* --- Buttons: more polished, rounder --- */
.dashboard-body .btn {
  border-radius: 10px !important;
  font-size: 13px !important;
  padding: 9px 16px !important;
  letter-spacing: 0.01em;
  transition: all 0.18s ease !important;
}

.dashboard-body .btn-solid {
  box-shadow: 0 1px 3px rgba(59, 130, 246, 0.2);
}

.dashboard-body .btn-solid:hover {
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
  transform: translateY(-1px);
}

/* --- Section headings: cleaner hierarchy --- */
.dashboard-body .section-panel h2 {
  font-size: clamp(20px, 2.5vw, 28px) !important;
  letter-spacing: -0.02em;
  font-weight: 800 !important;
}

.dashboard-body .section-panel h3 {
  font-size: clamp(16px, 1.8vw, 20px) !important;
  font-weight: 700 !important;
}

/* --- Muted text: slightly lighter for better readability --- */
.dashboard-body .muted-light {
  color: rgba(170, 170, 180, 0.78) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.dashboard-body .tiny-muted {
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: rgba(59, 130, 246, 0.7) !important;
  font-weight: 700 !important;
}

/* --- Form inputs: cleaner look --- */
.dashboard-body input,
.dashboard-body select,
.dashboard-body textarea {
  border: 1px solid rgba(148, 163, 184, 0.08) !important;
  border-radius: 10px !important;
  background: rgba(18, 18, 22, 0.8) !important;
  padding: 10px 12px !important;
  font-size: 13px !important;
  transition: border-color 0.18s ease !important;
}

.dashboard-body input:focus,
.dashboard-body select:focus,
.dashboard-body textarea:focus {
  border-color: rgba(59, 130, 246, 0.4) !important;
  outline: none !important;
}

/* --- Insight/output boxes: cleaner --- */
.dashboard-body .insight-box {
  border: 1px solid rgba(148, 163, 184, 0.06) !important;
  border-radius: 12px !important;
  background: rgba(17, 17, 21, 0.6) !important;
  padding: 14px !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

/* --- Overview grid: better spacing --- */
.dashboard-body .overview-grid {
  gap: 12px !important;
}

/* --- Meter bars: slightly thicker, smoother --- */
.dashboard-body .meter-dark,
.dashboard-body .funnel-bar {
  height: 8px !important;
  border-radius: 999px !important;
  border: none !important;
  background: rgba(16, 16, 20, 0.8) !important;
}

.dashboard-body .meter-dark span,
.dashboard-body .funnel-bar span {
  border-radius: 999px;
  background: linear-gradient(90deg, #3B82F6, #2563EB) !important;
}

/* --- Funnel steps: cleaner cards --- */
.dashboard-body .funnel-step {
  border: 1px solid rgba(148, 163, 184, 0.06) !important;
  border-radius: 12px !important;
  padding: 14px !important;
  background: rgba(59, 130, 246, 0.02) !important;
}

/* --- Status chips: more refined --- */
.dashboard-body .status-chip {
  border: 1px solid rgba(148, 163, 184, 0.08) !important;
  border-radius: 8px !important;
  padding: 4px 10px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: rgba(200, 200, 210, 0.9) !important;
  background: rgba(59, 130, 246, 0.03) !important;
}

/* --- List items in dashboard: cleaner --- */
.dashboard-body .top-video-list li,
.dashboard-body .ready-mini-list li {
  border: 1px solid rgba(148, 163, 184, 0.06) !important;
  border-radius: 10px !important;
  padding: 10px 12px !important;
  background: rgba(19, 19, 23, 0.6) !important;
  font-size: 13px !important;
}

/* --- Section gaps: more breathing room --- */
.dashboard-body .section-panel.active {
  gap: 16px !important;
}

/* --- Command panel: tighter hierarchy --- */
.dashboard-body .command-panel .panel-row h3 {
  font-size: 15px !important;
  color: rgba(238, 238, 242, 0.9) !important;
  letter-spacing: 0.02em;
}

/* --- Home flow steps: cleaner numbered list --- */
.dashboard-body .home-flow-steps {
  margin: 14px 0 !important;
  padding-left: 0 !important;
  list-style: none !important;
  display: grid !important;
  gap: 8px !important;
}

.dashboard-body .home-flow-steps li {
  display: flex !important;
  align-items: baseline !important;
  gap: 10px !important;
  padding: 10px 14px !important;
  border: 1px solid rgba(148, 163, 184, 0.06) !important;
  border-radius: 10px !important;
  background: rgba(59, 130, 246, 0.02) !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

.dashboard-body .home-flow-steps li span {
  color: rgba(59, 130, 246, 0.8) !important;
  font-weight: 800 !important;
  font-size: 12px !important;
  min-width: 22px !important;
}

/* --- Smooth card hover for interactive elements --- */
.dashboard-body .ready-script-card {
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.dashboard-body .ready-script-card:hover {
  border-color: rgba(59, 130, 246, 0.35) !important;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.12) !important;
}

/* --- Scrollbar styling for dashboard --- */
.dashboard-body .dash-main::-webkit-scrollbar {
  width: 6px;
}

.dashboard-body .dash-main::-webkit-scrollbar-track {
  background: transparent;
}

.dashboard-body .dash-main::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.08);
  border-radius: 999px;
}

.dashboard-body .dash-main::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.14);
}

/* ============================================================
   Package 31 - AutoMaker Mode Cards
   4-card mode selector with collapse/expand transitions
   ============================================================ */

/* --- Header panel with slide-up collapse --- */
.automaker-header-panel {
  text-align: center;
  padding: 28px 24px 20px !important;
  max-height: 200px;
  opacity: 1;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease,
              padding 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              margin 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              border-width 0.3s ease;
}

.automaker-header-panel.collapsed,
.dashboard-body .automaker-header-panel.collapsed {
  max-height: 0 !important;
  opacity: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  border-width: 0 !important;
  pointer-events: none;
}

.automaker-header-panel h2 {
  margin-bottom: 4px;
}

/* --- Mode card grid: full 4-col when no selection has been made --- */
.automaker-mode-grid {
  display: flex;
  gap: 12px;
  transition: gap 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Initial state: equal cards */
.automaker-mode-grid:not(.has-selection) {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

/* After selection: vertical stack � pills centered on top, back arrow below */
.automaker-mode-grid.has-selection {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 0;
  margin-top: -8px;
}

/* Pill row wrapper (cards sit in a row via order) */
.automaker-mode-grid.has-selection .automaker-mode-card {
  order: 0;
}

/* Back button: below pills, centered */
.automaker-mode-back {
  display: none;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 20px;
  border-radius: 0 0 8px 8px;
  border: 1px solid rgba(148, 163, 184, 0.10);
  border-top: none;
  background: rgba(59, 130, 246, 0.05);
  color: rgba(148, 163, 184, 0.5);
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
  order: 1;
  margin-top: 2px;
}

.automaker-mode-grid.has-selection .automaker-mode-back {
  display: flex;
}

.automaker-mode-back:hover {
  border-color: rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.10);
  color: #60A5FA;
}

/* Inner pill row: wrap cards in a horizontal line */
.automaker-mode-grid.has-selection {
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  gap: 8px;
  padding: 0;
  margin-top: -4px;
}

.automaker-mode-grid.has-selection .automaker-mode-back {
  flex-basis: 100%;
  display: flex;
  justify-content: center;
  width: auto;
  height: auto;
  border: none;
  background: transparent;
  padding: 2px 0 6px;
  order: 10;
}

.automaker-mode-grid.has-selection .automaker-mode-back svg {
  width: 18px;
  height: 18px;
  opacity: 0.4;
  transition: opacity 0.2s ease;
}

.automaker-mode-grid.has-selection .automaker-mode-back:hover svg {
  opacity: 0.9;
}

.automaker-mode-grid.has-selection .automaker-mode-back:hover {
  background: transparent;
  color: #60A5FA;
}

@media (max-width: 900px) {
  .automaker-mode-grid:not(.has-selection) {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 520px) {
  .automaker-mode-grid:not(.has-selection) {
    grid-template-columns: 1fr;
  }
}

/* --- Individual mode card (full state) --- */
.automaker-mode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 32px 22px 26px;
  border: 1px solid rgba(80, 140, 255, 0.14);
  border-radius: 20px;
  background: linear-gradient(168deg, rgba(8, 16, 34, 0.92), rgba(2, 6, 14, 0.98));
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  text-align: center;
  color: inherit;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
  overflow: hidden;
  min-height: 210px;
  justify-content: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.automaker-mode-card:hover {
  border-color: rgba(100, 170, 255, 0.44);
  background: linear-gradient(168deg, rgba(12, 24, 50, 0.94), rgba(4, 10, 22, 0.98));
  transform: translateY(-4px) scale(1.015);
  box-shadow:
    0 8px 40px rgba(40, 100, 220, 0.18),
    0 0 0 1px rgba(100, 170, 255, 0.12) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Active card in full grid (before selection animation) */
.automaker-mode-card.active {
  border-color: rgba(90, 160, 255, 0.56);
  background: linear-gradient(168deg, rgba(14, 30, 62, 0.95), rgba(4, 12, 28, 0.98));
  box-shadow:
    0 0 0 1px rgba(90, 160, 255, 0.18) inset,
    0 8px 36px rgba(30, 80, 200, 0.22),
    0 0 60px rgba(50, 120, 240, 0.06);
}

/* --- Collapsed pill state (non-active cards after selection) --- */
.automaker-mode-grid.has-selection .automaker-mode-card:not(.active) {
  flex-direction: row;
  padding: 6px 14px;
  gap: 6px;
  border-radius: 10px;
  min-height: 0;
  border-color: rgba(148, 163, 184, 0.08);
  background: rgba(59, 130, 246, 0.03);
  box-shadow: none;
  transform: none;
}

.automaker-mode-grid.has-selection .automaker-mode-card:not(.active):hover {
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.05);
  transform: none;
  box-shadow: none;
}

.automaker-mode-grid.has-selection .automaker-mode-card:not(.active) .automaker-mode-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  flex-shrink: 0;
}

.automaker-mode-grid.has-selection .automaker-mode-card:not(.active) .automaker-mode-icon svg {
  width: 18px;
  height: 18px;
}

.automaker-mode-grid.has-selection .automaker-mode-card:not(.active) .automaker-mode-title {
  font-size: 13px;
}

.automaker-mode-grid.has-selection .automaker-mode-card:not(.active) .automaker-mode-desc,
.automaker-mode-grid.has-selection .automaker-mode-card:not(.active) .automaker-mode-badge {
  display: none;
}

/* Active card in collapsed grid: also becomes a pill but highlighted */
.automaker-mode-grid.has-selection .automaker-mode-card.active {
  flex-direction: row;
  padding: 6px 14px;
  gap: 6px;
  border-radius: 10px;
  min-height: 0;
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.12);
}

.automaker-mode-grid.has-selection .automaker-mode-card.active .automaker-mode-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  flex-shrink: 0;
}

.automaker-mode-grid.has-selection .automaker-mode-card.active .automaker-mode-icon svg {
  width: 18px;
  height: 18px;
}

.automaker-mode-grid.has-selection .automaker-mode-card.active .automaker-mode-title {
  font-size: 13px;
  color: #3B82F6;
}

.automaker-mode-grid.has-selection .automaker-mode-card.active .automaker-mode-desc,
.automaker-mode-grid.has-selection .automaker-mode-card.active .automaker-mode-badge {
  display: none;
}

/* --- Mode icon --- */
.automaker-mode-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(50, 120, 240, 0.12), rgba(30, 70, 180, 0.06));
  border: 1px solid rgba(80, 150, 255, 0.20);
  box-shadow: 0 4px 16px rgba(40, 100, 220, 0.12);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.automaker-mode-icon svg {
  width: 30px;
  height: 30px;
  color: rgba(120, 180, 255, 0.85);
  filter: drop-shadow(0 0 4px rgba(80, 150, 255, 0.3));
  transition: all 0.35s ease;
}

.automaker-mode-card:hover .automaker-mode-icon,
.automaker-mode-card.active .automaker-mode-icon {
  background: linear-gradient(140deg, rgba(60, 140, 255, 0.18), rgba(40, 90, 200, 0.10));
  border-color: rgba(100, 170, 255, 0.36);
  box-shadow: 0 0 20px rgba(60, 140, 255, 0.15);
}

.automaker-mode-card.active .automaker-mode-icon svg {
  color: #6CB4FF;
  filter: drop-shadow(0 0 8px rgba(100, 180, 255, 0.4));
}

/* --- Mode title --- */
.automaker-mode-title {
  font-size: 16px;
  font-weight: 700;
  color: rgba(235, 240, 255, 0.95);
  letter-spacing: -0.02em;
  transition: all 0.35s ease;
}

.automaker-mode-card.active .automaker-mode-title {
  color: #FFFFFF;
}

/* --- Mode description --- */
.automaker-mode-desc {
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(160, 175, 200, 0.72);
  max-width: 200px;
  transition: all 0.25s ease;
}

/* --- Mode badge --- */
.automaker-mode-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 999px;
  color: rgba(120, 180, 255, 0.80);
  background: rgba(60, 140, 255, 0.08);
  border: 1px solid rgba(80, 150, 255, 0.18);
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.automaker-mode-card.active .automaker-mode-badge {
  color: #7CC0FF;
  background: rgba(60, 140, 255, 0.14);
  border-color: rgba(100, 170, 255, 0.34);
}

/* --- Mode panels (content below cards) --- */
.automaker-mode-panel {
  display: none;
}

.automaker-mode-panel.active {
  display: block;
  animation: automakerPanelReveal 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes automakerPanelReveal {
  from { opacity: 0; transform: translateY(16px) scale(0.995); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- Panel header inside each mode --- */
.automaker-panel-header {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(60, 130, 240, 0.10);
  position: relative;
}

.automaker-panel-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, rgba(80, 160, 255, 0.6), transparent);
  border-radius: 1px;
}

.automaker-panel-header h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #F0F4FF;
  margin-bottom: 6px;
}

.automaker-panel-header .muted-light {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(170, 185, 210, 0.68);
}

/* --- Large CTA button for Full Auto --- */
.dashboard-body .btn-lg {
  padding: 15px 34px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0.005em;
  border-radius: 14px !important;
}

/* --- Compact form grid --- */
.form-grid.compact {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}









/* Readability polish - home preview modules */
.home-premium .module-label{color:#C9C9C9;} 
.home-premium .home-preview-module h3{color:#FAFAFA;} 
.home-premium .module-copy{color:#D7D7D7;} 
.home-premium .module-indicator{background:rgba(63,140,255,.10);border-color:rgba(63,140,255,.48);color:#D8E6FF;} 
.home-premium .wallet-pill{color:#ECECEC;} 
.home-premium .home-preview-flow{color:#D0D0D0;}






/* Dark blue premium polish */
.btn-solid{background:linear-gradient(180deg,#2F72FF 0%,#1C4BC4 100%);border-color:rgba(120,190,255,.34);}
.btn-solid:hover{background:linear-gradient(180deg,#3B82FF 0%,#265BE0 100%);}
.dash-nav-btn.active,.dash-nav-btn:hover,.mode-btn.active,.chip.active{border-color:rgba(134,203,255,.52);box-shadow:0 0 0 1px rgba(134,203,255,.18),0 8px 20px rgba(30,90,230,.38);}
.home-premium .module-indicator{background:rgba(108,150,238,.16);border-color:rgba(134,203,255,.42);color:#DCEAFF;}
.home-premium .ledger-row strong,.product-step span,.feature-route-box code{color:#E8EEFF;}
.top-wallet-pill.is-low{border-color:#84A9F5;color:#DBE8FF;}






/* Dark neon button layer */
.btn-solid,
.home-premium .btn-solid,
.dashboard-body .btn-solid {
  background: linear-gradient(180deg, rgba(8, 12, 22, 0.96), rgba(10, 16, 30, 0.94));
  border-color: rgba(92, 166, 255, 0.62);
  color: #EAF3FF;
  box-shadow: 0 0 0 1px rgba(92, 166, 255, 0.20) inset, 0 8px 20px rgba(20, 70, 190, 0.25);
}

.btn-solid:hover,
.home-premium .btn-solid:hover,
.dashboard-body .btn-solid:hover {
  background: linear-gradient(180deg, rgba(12, 20, 38, 0.98), rgba(14, 24, 46, 0.96));
  border-color: rgba(120, 196, 255, 0.86);
  color: #F3F8FF;
  box-shadow: 0 0 0 1px rgba(120, 196, 255, 0.30) inset, 0 10px 26px rgba(25, 90, 220, 0.35);
}

/* Dark neon cohesion pass */
body,
.dashboard-body,
.home-premium {
  background-color: #020305;
}

.card,
.mockup-card,
.panel-dark,
.kpi-card,
.panel-subtle,
.yt-metric,
.search-diag-card,
.funnel-step,
.price-card,
.home-premium .home-preview-module,
.home-premium .home-ledger-preview,
.home-premium .ledger-row,
.workflow-node,
.feature-route-box,
.ready-trend-wrap,
.ready-script-card {
  background: linear-gradient(180deg, rgba(4, 7, 12, 0.96), rgba(5, 10, 18, 0.93)) !important;
  border-color: rgba(84, 146, 255, 0.26) !important;
  box-shadow: inset 0 0 0 1px rgba(84, 146, 255, 0.09), 0 10px 28px rgba(0, 0, 0, 0.44);
}

.btn,
.btn-ghost {
  background: linear-gradient(180deg, rgba(5, 8, 14, 0.94), rgba(6, 10, 18, 0.92));
  border-color: rgba(84, 146, 255, 0.24);
}

.btn-solid,
.home-premium .btn-solid,
.dashboard-body .btn-solid {
  background: linear-gradient(180deg, rgba(5, 9, 16, 0.98), rgba(7, 13, 23, 0.96)) !important;
  border-color: rgba(94, 168, 255, 0.66) !important;
  color: #ECF5FF !important;
  box-shadow: 0 0 0 1px rgba(94, 168, 255, 0.24) inset, 0 10px 24px rgba(16, 62, 176, 0.28) !important;
}

.btn-solid:hover,
.home-premium .btn-solid:hover,
.dashboard-body .btn-solid:hover {
  background: linear-gradient(180deg, rgba(8, 14, 26, 0.99), rgba(10, 18, 34, 0.97)) !important;
  border-color: rgba(126, 200, 255, 0.9) !important;
  box-shadow: 0 0 0 1px rgba(126, 200, 255, 0.34) inset, 0 12px 30px rgba(24, 90, 220, 0.36) !important;
}

.chip.active,
.mode-btn.active,
.dash-nav-btn.active,
.dash-nav-btn:hover {
  background: linear-gradient(180deg, rgba(7, 13, 24, 0.95), rgba(9, 17, 30, 0.92)) !important;
  border-color: rgba(114, 184, 255, 0.62) !important;
}

.top-wallet-pill,
.wallet-pill,
.module-indicator {
  background: rgba(6, 11, 20, 0.86) !important;
  border-color: rgba(92, 162, 255, 0.36) !important;
}

/* Final neon tuning: stronger border + safer active glow readability */
.btn-solid,
.home-premium .btn-solid,
.dashboard-body .btn-solid {
  border-color: rgba(122, 192, 255, 0.82) !important;
  box-shadow: 0 0 0 1px rgba(122, 192, 255, 0.30) inset, 0 10px 24px rgba(16, 62, 176, 0.30) !important;
}

.btn-solid:hover,
.home-premium .btn-solid:hover,
.dashboard-body .btn-solid:hover {
  border-color: rgba(146, 214, 255, 0.94) !important;
  box-shadow: 0 0 0 1px rgba(146, 214, 255, 0.38) inset, 0 12px 28px rgba(22, 84, 210, 0.36) !important;
}

.dashboard-body .dash-nav-btn,
.dashboard-body .mode-btn,
.dashboard-body .chip,
.dashboard-body #categoryWrap .chip,
.dashboard-body #autoTrendCategoryWrap .chip {
  position: relative;
  isolation: isolate;
}

.dashboard-body .dash-nav-btn::before,
.dashboard-body .dash-nav-btn::after,
.dashboard-body #categoryWrap .chip::before,
.dashboard-body #categoryWrap .chip::after,
.dashboard-body #autoTrendCategoryWrap .chip::before,
.dashboard-body #autoTrendCategoryWrap .chip::after {
  z-index: 0 !important;
  pointer-events: none;
}

.dashboard-body .dash-nav-icon,
.dashboard-body .dash-nav-label,
.dashboard-body .dash-nav-dot {
  position: relative;
  z-index: 1;
}

.dashboard-body .chip.active,
.dashboard-body .mode-btn.active,
.dashboard-body .dash-nav-btn.active,
.dashboard-body .dash-nav-btn:hover {
  border-color: rgba(118, 190, 255, 0.66) !important;
  box-shadow: 0 0 0 1px rgba(118, 190, 255, 0.20), 0 6px 16px rgba(20, 72, 190, 0.22) !important;
}

.dashboard-body #categoryWrap .chip.active::after,
.dashboard-body #autoTrendCategoryWrap .chip.active::after {
  box-shadow: 0 0 8px rgba(118, 190, 255, 0.46) !important;
  opacity: 0.96;
}


/* Package 32 - dark neon blue focus/readability pass */
.dashboard-body {
  background:
    radial-gradient(920px 440px at 78% -8%, rgba(74, 138, 255, 0.16), transparent 68%),
    radial-gradient(660px 390px at 12% 8%, rgba(53, 102, 214, 0.12), transparent 74%),
    #010204 !important;
  background-color: #010204 !important;
}

.dashboard-body .dash-main,
.dashboard-body .dash-layout,
.dashboard-body .section-panel,
.dashboard-body #section-search {
  background-color: transparent !important;
}

.dashboard-body #section-search .chip-grid {
  column-gap: 12px !important;
  row-gap: 12px !important;
}

.dashboard-body #section-search .chip {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 9px 16px !important;
  padding-right: 30px !important;
  line-height: 1.18;
  border-color: rgba(134, 178, 255, 0.32) !important;
}

.dashboard-body #section-search .chip::after {
  right: 10px;
  width: 6px;
  height: 6px;
  background: rgba(167, 196, 255, 0.38) !important;
  box-shadow: 0 0 0 1px rgba(149, 190, 255, 0.20) !important;
  z-index: 0 !important;
}

.dashboard-body #section-search .chip.active {
  border-color: rgba(113, 176, 255, 0.76) !important;
  background: linear-gradient(180deg, rgba(6, 16, 34, 0.96), rgba(8, 20, 42, 0.94)) !important;
  color: #f3f8ff !important;
  box-shadow: 0 0 0 1px rgba(113, 176, 255, 0.26) inset, 0 8px 18px rgba(14, 46, 118, 0.34) !important;
}

.dashboard-body #section-search .chip.active::after {
  background: #74BBFF !important;
  box-shadow: 0 0 0 1px rgba(91, 160, 255, 0.42), 0 0 6px rgba(70, 145, 255, 0.28) !important;
  opacity: 0.92;
}

.dashboard-body #section-search .chip,
.dashboard-body #section-search .chip span,
.dashboard-body #section-search .chip strong {
  text-shadow: none !important;
}


/* Package 33 - deeper black base + darker blue accents */
.dashboard-body {
  background:
    radial-gradient(860px 360px at 76% -14%, rgba(52, 112, 224, 0.08), transparent 72%),
    #000103 !important;
  background-color: #000103 !important;
}

.dashboard-body .dash-main,
.dashboard-body .dash-layout,
.dashboard-body .section-panel,
.dashboard-body #section-search,
.dashboard-body #section-home,
.dashboard-body #section-billing,
.dashboard-body #section-ai-studio,
.dashboard-body #section-automaker,
.dashboard-body #section-pattern-lab,
.dashboard-body #section-competitors {
  background-color: transparent !important;
}

.dashboard-body #section-search .toggle-row input[type="checkbox"],
.dashboard-body #section-search .toggle-row.toggle-row-compact input[type="checkbox"] {
  accent-color: #2E63C7 !important;
}

.dashboard-body .dash-profile-avatar {
  background: linear-gradient(180deg, #2757B0 0%, #143364 100%) !important;
  color: #EAF3FF !important;
  box-shadow: 0 0 0 1px rgba(110, 174, 255, 0.22) inset, 0 8px 18px rgba(6, 18, 44, 0.55) !important;
}


/* Package 34 - black base + dark neon blue finish */
.dashboard-body {
  background:
    radial-gradient(900px 380px at 78% -14%, rgba(42, 92, 184, 0.07), transparent 72%),
    #000000 !important;
  background-color: #000000 !important;
}

.dashboard-body .dash-layout,
.dashboard-body .dash-main,
.dashboard-body .section-panel,
.dashboard-body #section-home,
.dashboard-body #section-search,
.dashboard-body #section-pattern-lab,
.dashboard-body #section-competitors,
.dashboard-body #section-billing,
.dashboard-body #section-ai-studio,
.dashboard-body #section-automaker {
  background-color: transparent !important;
}

/* Left sidebar: true black + dark neon blue edge */
.dashboard-body .dash-sidebar {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.98), rgba(1, 2, 6, 0.98)) !important;
  border-right: 1px solid rgba(58, 115, 214, 0.30) !important;
  box-shadow: inset -1px 0 0 rgba(76, 136, 236, 0.10);
}

.dashboard-body .dash-profile-btn,
.dashboard-body .dash-nav-btn,
.dashboard-body .dash-utility-link,
.dashboard-body .dash-utility-billing {
  background: linear-gradient(180deg, rgba(1, 3, 9, 0.96), rgba(1, 2, 6, 0.94)) !important;
  border-color: rgba(63, 118, 212, 0.34) !important;
}

.dashboard-body .dash-nav-btn:hover,
.dashboard-body .dash-utility-link:hover,
.dashboard-body .dash-nav-btn.active {
  background: linear-gradient(135deg, rgba(10, 28, 62, 0.78), rgba(2, 6, 14, 0.96)) !important;
  border-color: rgba(89, 156, 255, 0.70) !important;
  box-shadow: 0 0 0 1px rgba(89, 156, 255, 0.20) inset, 0 10px 22px rgba(10, 34, 82, 0.42) !important;
}

/* KPI / diagnostics cards in screenshot: darker neon-blue */
.dashboard-body .kpi-card,
.dashboard-body .search-diag-card,
.dashboard-body .yt-metric,
.dashboard-body .pool-coverage-item,
.dashboard-body .panel-subtle,
.dashboard-body .result-card,
.dashboard-body .insight-box {
  background: linear-gradient(180deg, rgba(1, 3, 8, 0.98), rgba(1, 5, 12, 0.96)) !important;
  border-color: rgba(64, 126, 230, 0.52) !important;
  box-shadow: inset 0 0 0 1px rgba(78, 146, 255, 0.14), 0 8px 20px rgba(1, 7, 18, 0.58) !important;
}

.dashboard-body .kpi-label,
.dashboard-body .tiny-muted,
.dashboard-body .muted-light {
  color: rgba(202, 214, 236, 0.78) !important;
}

/* Keep strict toggles in dark-blue family */
.dashboard-body #section-search .toggle-row input[type="checkbox"],
.dashboard-body #section-search .toggle-row.toggle-row-compact input[type="checkbox"] {
  accent-color: #2A5CB8 !important;
}


/* Package 35 - rollback to darker black + subtle dark-neon blue */
.dashboard-body {
  background:
    radial-gradient(860px 320px at 76% -16%, rgba(34, 78, 156, 0.05), transparent 74%),
    #000000 !important;
  background-color: #000000 !important;
}

.dashboard-body .dash-sidebar {
  background: linear-gradient(180deg, rgba(0,0,0,0.995), rgba(0,0,0,0.985)) !important;
  border-right: 1px solid rgba(46, 96, 182, 0.22) !important;
  box-shadow: inset -1px 0 0 rgba(62, 120, 214, 0.08) !important;
}

.dashboard-body .dash-profile-btn,
.dashboard-body .dash-nav-btn,
.dashboard-body .dash-utility-link,
.dashboard-body .dash-utility-billing {
  background: linear-gradient(180deg, rgba(1,2,6,0.98), rgba(0,1,4,0.98)) !important;
  border-color: rgba(46, 96, 182, 0.24) !important;
}

.dashboard-body .dash-nav-btn:hover,
.dashboard-body .dash-utility-link:hover,
.dashboard-body .dash-nav-btn.active {
  background: linear-gradient(135deg, rgba(6, 18, 44, 0.86), rgba(1, 6, 16, 0.95)) !important;
  border-color: rgba(92, 156, 252, 0.58) !important;
  box-shadow: 0 0 0 1px rgba(92, 156, 252, 0.18) inset, 0 8px 18px rgba(5, 18, 46, 0.46) !important;
}

.dashboard-body .kpi-card,
.dashboard-body .search-diag-card,
.dashboard-body .yt-metric,
.dashboard-body .pool-coverage-item,
.dashboard-body .panel-subtle,
.dashboard-body .result-card,
.dashboard-body .insight-box {
  background: linear-gradient(180deg, rgba(1, 2, 7, 0.995), rgba(1, 4, 10, 0.99)) !important;
  border-color: rgba(48, 102, 196, 0.34) !important;
  box-shadow: inset 0 0 0 1px rgba(70, 132, 230, 0.10), 0 6px 16px rgba(0, 0, 0, 0.62) !important;
}

/* content-mode style reference: darker, smoother neon-blue */
.dashboard-body #section-search .mode-switch {
  border-color: rgba(50, 104, 196, 0.42) !important;
  background: rgba(0, 0, 0, 0.76) !important;
  box-shadow: inset 0 0 0 1px rgba(66, 124, 220, 0.10) !important;
}

.dashboard-body #section-search .mode-btn {
  color: rgba(229, 237, 252, 0.86) !important;
}

.dashboard-body #section-search .mode-btn.active {
  background: linear-gradient(180deg, rgba(8, 24, 56, 0.90), rgba(3, 11, 26, 0.94)) !important;
  border-radius: 999px !important;
  box-shadow: inset 0 0 0 1px rgba(98, 164, 255, 0.22), 0 0 16px rgba(32, 82, 176, 0.24) !important;
  color: #EEF5FF !important;
}

.dashboard-body #section-search .chip.active,
.dashboard-body #categoryWrap .chip.active,
.dashboard-body #autoTrendCategoryWrap .chip.active {
  border-color: rgba(70, 132, 230, 0.56) !important;
  background: linear-gradient(180deg, rgba(6, 18, 42, 0.84), rgba(2, 8, 20, 0.94)) !important;
  box-shadow: 0 0 0 1px rgba(70, 132, 230, 0.16) inset, 0 6px 14px rgba(4, 14, 34, 0.38) !important;
}

.dashboard-body #section-search .chip.active::after,
.dashboard-body #categoryWrap .chip.active::after,
.dashboard-body #autoTrendCategoryWrap .chip.active::after {
  background: #67AEFF !important;
  box-shadow: 0 0 0 1px rgba(78, 144, 236, 0.36), 0 0 5px rgba(52, 110, 206, 0.28) !important;
}

.dashboard-body #section-search .toggle-row input[type="checkbox"],
.dashboard-body #section-search .toggle-row.toggle-row-compact input[type="checkbox"] {
  accent-color: #264F9E !important;
}


/* Package 36 - full black base + unified dark-neon blue tone */
.dashboard-body {
  background:
    radial-gradient(820px 300px at 82% -20%, rgba(42, 96, 182, 0.04), transparent 74%),
    #000000 !important;
  background-color: #000000 !important;
}

.dashboard-body .dash-main,
.dashboard-body .dash-layout,
.dashboard-body .section-panel,
.dashboard-body #section-home,
.dashboard-body #section-search,
.dashboard-body #section-pattern-lab,
.dashboard-body #section-competitors,
.dashboard-body #section-billing,
.dashboard-body #section-ai-studio,
.dashboard-body #section-automaker {
  background: transparent !important;
  background-color: transparent !important;
}

/* Sidebar: pure black with restrained blue edge */
.dashboard-body .dash-sidebar {
  background: #000000 !important;
  border-right: 1px solid rgba(52, 112, 204, 0.20) !important;
  box-shadow: inset -1px 0 0 rgba(78, 138, 228, 0.06) !important;
}

/* Unified dark-neon blue controls */
.dashboard-body .dash-profile-btn,
.dashboard-body .dash-nav-btn,
.dashboard-body .dash-utility-link,
.dashboard-body .dash-utility-billing,
.dashboard-body .btn,
.dashboard-body .btn-ghost {
  background: linear-gradient(180deg, rgba(1, 3, 8, 0.97), rgba(1, 2, 6, 0.97)) !important;
  border-color: rgba(56, 116, 208, 0.28) !important;
}

.dashboard-body .dash-nav-btn:hover,
.dashboard-body .dash-utility-link:hover,
.dashboard-body .dash-nav-btn.active,
.dashboard-body .btn:hover,
.dashboard-body .btn-ghost:hover {
  background: linear-gradient(180deg, rgba(7, 22, 50, 0.82), rgba(2, 8, 22, 0.94)) !important;
  border-color: rgba(86, 154, 246, 0.56) !important;
  box-shadow: 0 0 0 1px rgba(86, 154, 246, 0.16) inset, 0 8px 18px rgba(5, 18, 44, 0.42) !important;
}

/* Primary button tone matched to reference */
.dashboard-body .btn-solid,
.home-premium .btn-solid,
.btn-solid {
  background: linear-gradient(180deg, rgba(4, 14, 34, 0.94), rgba(2, 8, 20, 0.96)) !important;
  border-color: rgba(88, 156, 248, 0.62) !important;
  color: #edf5ff !important;
  box-shadow: 0 0 0 1px rgba(88, 156, 248, 0.20) inset, 0 8px 20px rgba(6, 20, 46, 0.48) !important;
}

.dashboard-body .btn-solid:hover,
.home-premium .btn-solid:hover,
.btn-solid:hover {
  border-color: rgba(104, 172, 255, 0.72) !important;
  box-shadow: 0 0 0 1px rgba(104, 172, 255, 0.24) inset, 0 10px 22px rgba(8, 24, 58, 0.52) !important;
}

/* Cards and data blocks: darker, less flashy blue */
.dashboard-body .panel-dark,
.dashboard-body .panel-subtle,
.dashboard-body .kpi-card,
.dashboard-body .yt-metric,
.dashboard-body .search-diag-card,
.dashboard-body .result-card,
.dashboard-body .ready-script-card,
.dashboard-body .ready-detail,
.dashboard-body .ready-segment,
.dashboard-body .manual-segment-card,
.dashboard-body .pool-coverage-item,
.dashboard-body .insight-box {
  background: linear-gradient(180deg, rgba(1, 2, 7, 0.99), rgba(1, 3, 9, 0.985)) !important;
  border-color: rgba(56, 116, 208, 0.34) !important;
  box-shadow: inset 0 0 0 1px rgba(80, 142, 236, 0.08), 0 6px 16px rgba(0, 0, 0, 0.64) !important;
}

/* Mode switch + chips aligned to same blue family */
.dashboard-body #section-search .mode-switch {
  border-color: rgba(56, 116, 208, 0.34) !important;
  background: rgba(0, 0, 0, 0.72) !important;
  box-shadow: inset 0 0 0 1px rgba(78, 138, 228, 0.08) !important;
}

.dashboard-body #section-search .mode-btn.active {
  background: linear-gradient(180deg, rgba(7, 22, 50, 0.86), rgba(2, 8, 20, 0.94)) !important;
  box-shadow: inset 0 0 0 1px rgba(96, 164, 252, 0.22), 0 0 12px rgba(30, 82, 176, 0.20) !important;
  color: #eef5ff !important;
}

.dashboard-body #section-search .chip.active,
.dashboard-body #categoryWrap .chip.active,
.dashboard-body #autoTrendCategoryWrap .chip.active {
  border-color: rgba(76, 136, 228, 0.52) !important;
  background: linear-gradient(180deg, rgba(6, 18, 42, 0.78), rgba(2, 8, 20, 0.92)) !important;
  box-shadow: 0 0 0 1px rgba(76, 136, 228, 0.14) inset, 0 5px 12px rgba(4, 14, 34, 0.34) !important;
}

.dashboard-body #section-search .chip.active::after,
.dashboard-body #categoryWrap .chip.active::after,
.dashboard-body #autoTrendCategoryWrap .chip.active::after {
  background: #66adff !important;
  box-shadow: 0 0 0 1px rgba(86, 154, 246, 0.30), 0 0 4px rgba(52, 112, 204, 0.22) !important;
}

.dashboard-body .dash-profile-avatar {
  background: linear-gradient(180deg, #234f9d 0%, #132f5f 100%) !important;
  box-shadow: 0 0 0 1px rgba(90, 156, 246, 0.16) inset, 0 8px 16px rgba(5, 16, 38, 0.56) !important;
}


/* Package 37 - frame cleanup: black/white base + restrained dark-blue accents */
.dashboard-body {
  background: #000 !important;
  background-color: #000 !important;
}

/* Main containers: remove bright blue framing */
.dashboard-body .panel-dark,
.dashboard-body .panel-subtle,
.dashboard-body .kpi-card,
.dashboard-body .yt-metric,
.dashboard-body .search-diag-card,
.dashboard-body .result-card,
.dashboard-body .ready-script-card,
.dashboard-body .ready-detail,
.dashboard-body .ready-segment,
.dashboard-body .manual-segment-card,
.dashboard-body .pool-coverage-item,
.dashboard-body .insight-box,
.dashboard-body .ready-trend-wrap,
.dashboard-body #section-search,
.dashboard-body #section-home,
.dashboard-body #section-pattern-lab,
.dashboard-body #section-competitors,
.dashboard-body #section-billing,
.dashboard-body #section-ai-studio,
.dashboard-body #section-automaker {
  background: linear-gradient(180deg, rgba(2, 2, 4, 0.98), rgba(1, 1, 3, 0.98)) !important;
  border-color: rgba(148, 163, 184, 0.14) !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.52) !important;
}

/* Inputs and selects: neutral border, no blue tint fill */
.dashboard-body input,
.dashboard-body select,
.dashboard-body textarea {
  background: rgba(3, 3, 5, 0.96) !important;
  border-color: rgba(148, 163, 184, 0.16) !important;
  box-shadow: none !important;
}

.dashboard-body input:focus,
.dashboard-body select:focus,
.dashboard-body textarea:focus {
  border-color: rgba(148, 163, 184, 0.30) !important;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.10) !important;
}

/* Chips: cleaner monochrome baseline */
.dashboard-body #section-search .chip,
.dashboard-body #categoryWrap .chip,
.dashboard-body #autoTrendCategoryWrap .chip {
  background: rgba(3, 3, 6, 0.92) !important;
  border-color: rgba(148, 163, 184, 0.20) !important;
  box-shadow: none !important;
}

.dashboard-body #section-search .chip::after,
.dashboard-body #categoryWrap .chip::after,
.dashboard-body #autoTrendCategoryWrap .chip::after {
  background: rgba(148, 163, 184, 0.28) !important;
  box-shadow: none !important;
}

/* Active states: dark-blue accent only, not full bright frame */
.dashboard-body #section-search .chip.active,
.dashboard-body #categoryWrap .chip.active,
.dashboard-body #autoTrendCategoryWrap .chip.active,
.dashboard-body .dash-nav-btn.active,
.dashboard-body .dash-nav-btn:hover,
.dashboard-body .dash-utility-link:hover,
.dashboard-body #section-search .mode-btn.active,
.dashboard-body .btn-solid {
  border-color: rgba(120, 176, 255, 0.52) !important;
  background: linear-gradient(180deg, rgba(6, 16, 34, 0.66), rgba(2, 8, 18, 0.90)) !important;
  box-shadow: 0 0 0 1px rgba(120, 176, 255, 0.14) inset, 0 6px 14px rgba(4, 12, 28, 0.44) !important;
}

.dashboard-body .btn,
.dashboard-body .btn-ghost {
  background: rgba(3, 3, 6, 0.92) !important;
  border-color: rgba(148, 163, 184, 0.20) !important;
}

.dashboard-body .btn:hover,
.dashboard-body .btn-ghost:hover {
  border-color: rgba(148, 163, 184, 0.30) !important;
  background: rgba(6, 8, 14, 0.94) !important;
}

/* Sidebar still black, less electric */
.dashboard-body .dash-sidebar {
  background: #000 !important;
  border-right: 1px solid rgba(148, 163, 184, 0.12) !important;
  box-shadow: none !important;
}


/* Package 38 - final refinement: subtle dark-blue sidebar + reduced frame density */
.dashboard-body {
  background:
    radial-gradient(620px 240px at 14% 0%, rgba(76, 132, 226, 0.07), transparent 70%),
    #000 !important;
  background-color: #000 !important;
}

/* Sidebar tone aligned to reference (very subtle gradient) */
.dashboard-body .dash-sidebar {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.995) 0%, rgba(2, 6, 14, 0.985) 100%) !important;
  border-right: 1px solid rgba(78, 136, 226, 0.16) !important;
  box-shadow: inset -1px 0 0 rgba(98, 160, 255, 0.05) !important;
}

/* Global dashboard controls: cleaner, less heavy */
.dashboard-body .btn,
.dashboard-body .btn-ghost,
.dashboard-body .dash-nav-btn,
.dashboard-body .dash-utility-link,
.dashboard-body .dash-profile-btn {
  background: linear-gradient(180deg, rgba(2, 3, 7, 0.95), rgba(1, 2, 5, 0.96)) !important;
  border-color: rgba(148, 163, 184, 0.14) !important;
  box-shadow: none !important;
}

.dashboard-body .btn:hover,
.dashboard-body .btn-ghost:hover,
.dashboard-body .dash-nav-btn:hover,
.dashboard-body .dash-utility-link:hover,
.dashboard-body .dash-nav-btn.active {
  border-color: rgba(98, 164, 255, 0.56) !important;
  background: linear-gradient(180deg, rgba(7, 20, 46, 0.74), rgba(2, 8, 20, 0.92)) !important;
  box-shadow: 0 0 0 1px rgba(98, 164, 255, 0.14) inset, 0 6px 14px rgba(4, 12, 28, 0.40) !important;
}

/* Primary CTA style near sample */
.dashboard-body .btn-solid,
.home-premium .btn-solid,
.btn-solid {
  border-color: rgba(98, 164, 255, 0.66) !important;
  background: linear-gradient(180deg, rgba(6, 18, 42, 0.78), rgba(2, 8, 20, 0.94)) !important;
  box-shadow: 0 0 0 1px rgba(98, 164, 255, 0.18) inset, 0 8px 18px rgba(4, 12, 28, 0.46) !important;
}

/* Trend Search: reduce frame clutter */
.dashboard-body #section-search {
  border-color: rgba(148, 163, 184, 0.10) !important;
  background: linear-gradient(180deg, rgba(2, 2, 5, 0.96), rgba(1, 1, 3, 0.98)) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.50) !important;
}

.dashboard-body #section-search > .panel-dark,
.dashboard-body #section-search > .panel-subtle {
  border-color: rgba(148, 163, 184, 0.08) !important;
  box-shadow: none !important;
}

.dashboard-body #section-search .search-diag-card,
.dashboard-body #section-search .kpi-card,
.dashboard-body #section-search .yt-metric,
.dashboard-body #section-search .insight-box {
  border-color: rgba(148, 163, 184, 0.11) !important;
  background: linear-gradient(180deg, rgba(2, 4, 10, 0.90), rgba(1, 2, 6, 0.95)) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.36) !important;
}

/* Chips and mode switch: same calm dark-blue language */
.dashboard-body #section-search .mode-switch {
  border-color: rgba(148, 163, 184, 0.18) !important;
  background: rgba(1, 2, 6, 0.86) !important;
  box-shadow: none !important;
}

.dashboard-body #section-search .mode-btn.active {
  border-radius: 999px !important;
  background: linear-gradient(180deg, rgba(8, 22, 52, 0.82), rgba(3, 10, 24, 0.92)) !important;
  box-shadow: 0 0 0 1px rgba(98, 164, 255, 0.18) inset, 0 0 10px rgba(30, 82, 176, 0.16) !important;
}

.dashboard-body #section-search .chip,
.dashboard-body #categoryWrap .chip,
.dashboard-body #autoTrendCategoryWrap .chip {
  border-color: rgba(148, 163, 184, 0.18) !important;
  background: rgba(2, 3, 7, 0.90) !important;
  box-shadow: none !important;
}

.dashboard-body #section-search .chip.active,
.dashboard-body #categoryWrap .chip.active,
.dashboard-body #autoTrendCategoryWrap .chip.active {
  border-color: rgba(96, 162, 252, 0.52) !important;
  background: linear-gradient(180deg, rgba(7, 20, 48, 0.74), rgba(2, 8, 20, 0.90)) !important;
  box-shadow: 0 0 0 1px rgba(96, 162, 252, 0.12) inset !important;
}


/* Package 39 - ultra-subtle blue-black panel atmosphere */
.dashboard-body .panel-dark,
.dashboard-body .panel-subtle,
.dashboard-body .kpi-card,
.dashboard-body .yt-metric,
.dashboard-body .search-diag-card,
.dashboard-body .result-card,
.dashboard-body .ready-script-card,
.dashboard-body .ready-detail,
.dashboard-body .ready-segment,
.dashboard-body .manual-segment-card,
.dashboard-body .pool-coverage-item,
.dashboard-body .insight-box,
.dashboard-body .ready-trend-wrap,
.dashboard-body #section-search,
.dashboard-body #section-home,
.dashboard-body #section-pattern-lab,
.dashboard-body #section-competitors,
.dashboard-body #section-billing,
.dashboard-body #section-ai-studio,
.dashboard-body #section-automaker {
  background:
    radial-gradient(110% 120% at 12% 0%, rgba(92, 150, 244, 0.055), rgba(92, 150, 244, 0.0) 58%),
    linear-gradient(180deg, rgba(2, 3, 8, 0.985), rgba(1, 1, 4, 0.992)) !important;
}

/* Dashboard home hero area gets the same near-black blue tint */
.dashboard-body .dash-header.is-home,
.dashboard-body #section-home .panel-dark:first-child {
  background:
    radial-gradient(120% 130% at 16% 0%, rgba(92, 150, 244, 0.06), rgba(92, 150, 244, 0.0) 60%),
    linear-gradient(180deg, rgba(2, 3, 8, 0.985), rgba(1, 1, 4, 0.992)) !important;
}


/* Package 40 - neutralize visible blue in panel backgrounds (near pure black) */
.dashboard-body .panel-dark,
.dashboard-body .panel-subtle,
.dashboard-body .kpi-card,
.dashboard-body .yt-metric,
.dashboard-body .search-diag-card,
.dashboard-body .result-card,
.dashboard-body .ready-script-card,
.dashboard-body .ready-detail,
.dashboard-body .ready-segment,
.dashboard-body .manual-segment-card,
.dashboard-body .pool-coverage-item,
.dashboard-body .insight-box,
.dashboard-body .ready-trend-wrap,
.dashboard-body #section-search,
.dashboard-body #section-home,
.dashboard-body #section-pattern-lab,
.dashboard-body #section-competitors,
.dashboard-body #section-billing,
.dashboard-body #section-ai-studio,
.dashboard-body #section-automaker,
.dashboard-body #section-search > .panel-dark,
.dashboard-body #section-search > .panel-subtle,
.dashboard-body #section-search .search-diag-card,
.dashboard-body #section-search .kpi-card,
.dashboard-body #section-search .yt-metric,
.dashboard-body #section-search .insight-box {
  background:
    radial-gradient(120% 140% at 14% 0%, rgba(88, 146, 240, 0.018), rgba(88, 146, 240, 0.0) 62%),
    linear-gradient(180deg, rgba(1, 2, 4, 0.994), rgba(0, 0, 1, 0.998)) !important;
}

.dashboard-body .dash-header.is-home,
.dashboard-body #section-home .panel-dark:first-child {
  background:
    radial-gradient(140% 160% at 16% 0%, rgba(88, 146, 240, 0.016), rgba(88, 146, 240, 0.0) 64%),
    linear-gradient(180deg, rgba(1, 2, 4, 0.994), rgba(0, 0, 1, 0.998)) !important;
}


/* Package 41 - darker selected blue + uniform ultra-subtle blue-black panels */

/* 1) Selected/active states: slightly darker neon-blue */
.dashboard-body .dash-nav-btn.active,
.dashboard-body .dash-nav-btn:hover,
.dashboard-body .dash-utility-link:hover,
.dashboard-body #section-search .mode-btn.active,
.dashboard-body #section-search .chip.active,
.dashboard-body #categoryWrap .chip.active,
.dashboard-body #autoTrendCategoryWrap .chip.active,
.dashboard-body .btn-solid {
  border-color: rgba(74, 132, 224, 0.62) !important;
  background: linear-gradient(180deg, rgba(5, 15, 36, 0.84), rgba(2, 8, 20, 0.94)) !important;
  box-shadow: 0 0 0 1px rgba(74, 132, 224, 0.18) inset, 0 6px 14px rgba(3, 10, 24, 0.48) !important;
}

.dashboard-body #section-search .chip.active::after,
.dashboard-body #categoryWrap .chip.active::after,
.dashboard-body #autoTrendCategoryWrap .chip.active::after {
  background: #5F9FF0 !important;
  box-shadow: 0 0 0 1px rgba(74, 132, 224, 0.30), 0 0 4px rgba(38, 82, 160, 0.24) !important;
}

/* 2) Apply home-like near-black subtle blue tint to all major panel interiors */
.dashboard-body .panel-dark,
.dashboard-body .panel-subtle,
.dashboard-body .kpi-card,
.dashboard-body .yt-metric,
.dashboard-body .search-diag-card,
.dashboard-body .result-card,
.dashboard-body .ready-script-card,
.dashboard-body .ready-detail,
.dashboard-body .ready-segment,
.dashboard-body .manual-segment-card,
.dashboard-body .pool-coverage-item,
.dashboard-body .insight-box,
.dashboard-body .ready-trend-wrap,
.dashboard-body #section-search,
.dashboard-body #section-home,
.dashboard-body #section-pattern-lab,
.dashboard-body #section-competitors,
.dashboard-body #section-billing,
.dashboard-body #section-ai-studio,
.dashboard-body #section-automaker {
  background:
    radial-gradient(130% 140% at 14% 0%, rgba(84, 138, 224, 0.028), rgba(84, 138, 224, 0.0) 60%),
    linear-gradient(180deg, rgba(1, 2, 5, 0.992), rgba(0, 0, 1, 0.998)) !important;
}


/* Package 42 - compact premium sidebar rows (keep readable, keep collapse) */
@media (min-width: 941px) {
  .dashboard-body {
    --vr-sidebar-open: 238px;
    --vr-sidebar-collapsed: 84px;
  }

  .dashboard-body .dash-sidebar {
    padding: 12px 8px 14px !important;
    gap: 10px !important;
  }

  .dashboard-body .dash-sidebar-toolbar,
  .dashboard-body.sidebar-collapsed .dash-sidebar-toolbar {
    margin-bottom: 8px !important;
    gap: 8px !important;
  }

  .dashboard-body .dash-nav,
  .dashboard-body .dash-utility-links {
    gap: 8px !important;
  }

  .dashboard-body .dash-nav-group {
    gap: 8px !important;
  }

  .dashboard-body .dash-nav-group-title {
    margin: 0 6px;
    font-size: 11px;
    letter-spacing: 0.025em;
  }

  .dashboard-body .dash-profile-wrap {
    margin: 0 0 4px;
  }

  .dashboard-body .dash-profile-btn {
    min-height: 54px !important;
    padding: 8px 10px !important;
    border-radius: 12px !important;
    grid-template-columns: 34px minmax(0, 1fr) 12px !important;
    column-gap: 8px !important;
  }

  .dashboard-body .dash-profile-avatar {
    width: 30px !important;
    height: 30px !important;
    font-size: 13px;
  }

  .dashboard-body .dash-profile-name {
    font-size: 13px;
  }

  .dashboard-body .dash-profile-plan {
    font-size: 10px;
  }

  .dashboard-body .dash-nav-btn,
  .dashboard-body .dash-utility-link,
  .dashboard-body .dash-utility-billing {
    min-height: 44px !important;
    padding: 8px 10px !important;
    border-radius: 11px !important;
    grid-template-columns: 20px minmax(0, 1fr) !important;
    column-gap: 10px !important;
  }

  .dashboard-body .dash-nav-icon {
    width: 20px !important;
    height: 20px !important;
  }

  .dashboard-body .dash-nav-icon svg {
    width: 14px !important;
    height: 14px !important;
  }

  .dashboard-body .dash-nav-label,
  .dashboard-body .dash-utility-label {
    font-size: 15px;
    line-height: 1.2;
  }

  .dashboard-body .dash-utility-links {
    margin-top: 12px !important;
    padding-top: 12px !important;
  }

  .dashboard-body.sidebar-collapsed .dash-nav-btn,
  .dashboard-body.sidebar-collapsed .dash-utility-link,
  .dashboard-body.sidebar-collapsed .dash-utility-billing {
    min-height: 44px !important;
    padding: 8px 10px !important;
    grid-template-columns: 20px 0fr !important;
    column-gap: 0 !important;
  }

  .dashboard-body.sidebar-collapsed .dash-profile-btn {
    min-height: 54px !important;
    padding: 8px 10px !important;
  }
}


/* Package 43 - squarer + smaller sidebar controls */
@media (min-width: 941px) {
  .dashboard-body {
    --vr-sidebar-open: 220px;
    --vr-sidebar-collapsed: 82px;
  }

  .dashboard-body .dash-sidebar {
    padding: 10px 6px 12px !important;
    gap: 8px !important;
  }

  .dashboard-body .dash-profile-btn,
  .dashboard-body .dash-nav-btn,
  .dashboard-body .dash-utility-link,
  .dashboard-body .dash-utility-billing {
    max-width: 204px;
    margin-inline: auto;
  }

  .dashboard-body .dash-profile-btn {
    min-height: 50px !important;
    padding: 7px 9px !important;
    border-radius: 10px !important;
    grid-template-columns: 30px minmax(0, 1fr) 11px !important;
    column-gap: 7px !important;
  }

  .dashboard-body .dash-profile-avatar {
    width: 28px !important;
    height: 28px !important;
    font-size: 12px !important;
  }

  .dashboard-body .dash-profile-name {
    font-size: 12.5px !important;
  }

  .dashboard-body .dash-profile-plan {
    font-size: 9.5px !important;
  }

  .dashboard-body .dash-nav-btn,
  .dashboard-body .dash-utility-link,
  .dashboard-body .dash-utility-billing {
    min-height: 40px !important;
    padding: 7px 9px !important;
    border-radius: 9px !important;
    grid-template-columns: 18px minmax(0, 1fr) !important;
    column-gap: 8px !important;
  }

  .dashboard-body .dash-nav-icon {
    width: 18px !important;
    height: 18px !important;
  }

  .dashboard-body .dash-nav-icon svg {
    width: 13px !important;
    height: 13px !important;
  }

  .dashboard-body .dash-nav-label,
  .dashboard-body .dash-utility-label {
    font-size: 14px !important;
    line-height: 1.15 !important;
    font-weight: 650 !important;
  }

  .dashboard-body .dash-nav,
  .dashboard-body .dash-utility-links,
  .dashboard-body .dash-nav-group {
    gap: 7px !important;
  }

  .dashboard-body .dash-nav-group-title {
    margin: 0 5px !important;
    font-size: 10.5px !important;
  }

  .dashboard-body .dash-utility-links {
    margin-top: 10px !important;
    padding-top: 10px !important;
  }

  .dashboard-body.sidebar-collapsed .dash-nav-btn,
  .dashboard-body.sidebar-collapsed .dash-utility-link,
  .dashboard-body.sidebar-collapsed .dash-utility-billing {
    min-height: 40px !important;
    max-width: 100% !important;
    padding: 7px 9px !important;
    border-radius: 9px !important;
    grid-template-columns: 18px 0fr !important;
    column-gap: 0 !important;
  }

  .dashboard-body.sidebar-collapsed .dash-profile-btn {
    min-height: 50px !important;
    max-width: 100% !important;
    padding: 7px 9px !important;
    border-radius: 10px !important;
  }
}


/* Package 44 - Opus-like clean sidebar list (less boxed, active-focused) */
@media (min-width: 941px) {
  .dashboard-body {
    --vr-sidebar-open: 236px;
    --vr-sidebar-collapsed: 82px;
  }

  .dashboard-body .dash-sidebar {
    padding: 12px 8px 14px !important;
  }

  .dashboard-body .dash-profile-btn {
    min-height: 52px !important;
    padding: 8px 10px !important;
    border-radius: 10px !important;
    border-color: rgba(148, 163, 184, 0.16) !important;
    background: linear-gradient(180deg, rgba(3, 4, 8, 0.94), rgba(2, 3, 6, 0.96)) !important;
  }

  .dashboard-body .dash-nav,
  .dashboard-body .dash-nav-group,
  .dashboard-body .dash-utility-links {
    gap: 4px !important;
  }

  .dashboard-body .dash-nav-group-title {
    margin: 6px 6px 4px !important;
    font-size: 11px !important;
    color: rgba(214, 221, 236, 0.64) !important;
  }

  .dashboard-body .dash-nav-btn,
  .dashboard-body .dash-utility-link,
  .dashboard-body .dash-utility-billing {
    min-height: 38px !important;
    padding: 7px 8px !important;
    border-radius: 10px !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    grid-template-columns: 18px minmax(0, 1fr) !important;
    column-gap: 8px !important;
    max-width: 100% !important;
  }

  .dashboard-body .dash-nav-btn:hover,
  .dashboard-body .dash-utility-link:hover,
  .dashboard-body .dash-utility-billing:hover {
    background: rgba(148, 163, 184, 0.04) !important;
    border-color: rgba(148, 163, 184, 0.12) !important;
  }

  .dashboard-body .dash-nav-btn.active {
    background: linear-gradient(135deg, rgba(11, 28, 62, 0.72), rgba(3, 10, 22, 0.90)) !important;
    border-color: rgba(106, 170, 255, 0.52) !important;
    box-shadow: 0 0 0 1px rgba(106, 170, 255, 0.16) inset !important;
  }

  .dashboard-body .dash-nav-icon,
  .dashboard-body .dash-utility-link .dash-nav-icon {
    width: 17px !important;
    height: 17px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  .dashboard-body .dash-nav-icon svg {
    width: 13px !important;
    height: 13px !important;
  }

  .dashboard-body .dash-nav-label,
  .dashboard-body .dash-utility-label {
    font-size: 14px !important;
    line-height: 1.18 !important;
    font-weight: 600 !important;
  }

  .dashboard-body .dash-utility-links {
    margin-top: 12px !important;
    padding-top: 12px !important;
    border-top: 1px solid rgba(148, 163, 184, 0.08) !important;
  }

  .dashboard-body.sidebar-collapsed .dash-nav-btn,
  .dashboard-body.sidebar-collapsed .dash-utility-link,
  .dashboard-body.sidebar-collapsed .dash-utility-billing {
    min-height: 38px !important;
    padding: 7px 8px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(148, 163, 184, 0.10) !important;
    background: rgba(59, 130, 246, 0.03) !important;
    grid-template-columns: 18px 0fr !important;
    column-gap: 0 !important;
  }
}


/* Package 45 - sidebar alignment fix (open left, collapsed centered) */
@media (min-width: 941px) {
  /* Open state: true left alignment like reference */
  .dashboard-body .dash-nav,
  .dashboard-body .dash-nav-group,
  .dashboard-body .dash-utility-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
  }

  .dashboard-body .dash-profile-wrap,
  .dashboard-body .dash-nav-group,
  .dashboard-body .dash-utility-links {
    width: 100% !important;
  }

  .dashboard-body .dash-profile-btn,
  .dashboard-body .dash-nav-btn,
  .dashboard-body .dash-utility-link,
  .dashboard-body .dash-utility-billing {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .dashboard-body .dash-nav-btn,
  .dashboard-body .dash-utility-link,
  .dashboard-body .dash-utility-billing {
    padding-left: 11px !important;
    padding-right: 11px !important;
  }

  .dashboard-body .dash-nav-label,
  .dashboard-body .dash-utility-label,
  .dashboard-body .dash-profile-copy,
  .dashboard-body .dash-profile-name,
  .dashboard-body .dash-profile-plan {
    text-align: left !important;
    justify-self: start !important;
  }

  /* Collapsed state: icon/button perfectly centered and glow aligned */
  .dashboard-body.sidebar-collapsed .dash-nav,
  .dashboard-body.sidebar-collapsed .dash-nav-group,
  .dashboard-body.sidebar-collapsed .dash-utility-links {
    align-items: center !important;
  }

  .dashboard-body.sidebar-collapsed .dash-nav-btn,
  .dashboard-body.sidebar-collapsed .dash-utility-link,
  .dashboard-body.sidebar-collapsed .dash-utility-billing {
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    min-height: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    place-items: center !important;
    border-radius: 10px !important;
    column-gap: 0 !important;
  }

  .dashboard-body.sidebar-collapsed .dash-nav-icon,
  .dashboard-body.sidebar-collapsed .dash-utility-link .dash-nav-icon {
    width: 17px !important;
    height: 17px !important;
    margin: 0 auto !important;
    justify-self: center !important;
    align-self: center !important;
  }

  .dashboard-body.sidebar-collapsed .dash-nav-label,
  .dashboard-body.sidebar-collapsed .dash-utility-label,
  .dashboard-body.sidebar-collapsed .dash-profile-copy,
  .dashboard-body.sidebar-collapsed .dash-profile-caret {
    display: none !important;
    opacity: 0 !important;
    max-width: 0 !important;
    pointer-events: none !important;
  }

  /* remove legacy left-strip indicator that causes visual offset in collapsed mode */
  .dashboard-body.sidebar-collapsed .dash-nav-btn::before,
  .dashboard-body.sidebar-collapsed .dash-nav-btn::after {
    display: none !important;
  }

  .dashboard-body.sidebar-collapsed .dash-nav-btn.active,
  .dashboard-body.sidebar-collapsed .dash-utility-link.active,
  .dashboard-body.sidebar-collapsed .dash-utility-billing.active {
    border-color: rgba(106, 170, 255, 0.48) !important;
    box-shadow: 0 0 0 1px rgba(106, 170, 255, 0.16) inset !important;
  }

  .dashboard-body.sidebar-collapsed .dash-profile-btn {
    width: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    min-height: 56px !important;
    padding: 0 !important;
    margin: 0 auto !important;
    border-radius: 12px !important;
    grid-template-columns: 1fr !important;
    place-items: center !important;
  }

  .dashboard-body.sidebar-collapsed .dash-profile-avatar {
    margin: 0 auto !important;
  }
}


/* Package 46 - home flow step number badges matched to button style */
.dashboard-body .home-flow-steps li {
  border-color: rgba(148, 163, 184, 0.08) !important;
  background: rgba(3, 3, 6, 0.72) !important;
}

.dashboard-body .home-flow-steps li > span {
  color: #EEF5FF !important;
  border: 1px solid rgba(98, 164, 255, 0.62) !important;
  background: linear-gradient(180deg, rgba(6, 18, 42, 0.86), rgba(2, 8, 20, 0.94)) !important;
  box-shadow: 0 0 0 1px rgba(98, 164, 255, 0.18) inset, 0 6px 14px rgba(4, 12, 28, 0.42) !important;
}


/* Package 47 - collapsed profile placement and account menu polish */
@media (min-width: 941px) {
  .dashboard-body .dash-profile-wrap {
    position: relative !important;
  }

  .dashboard-body.sidebar-collapsed .dash-profile-wrap {
    margin-top: 10px !important;
    margin-bottom: 8px !important;
  }

  .dashboard-body.sidebar-collapsed .dash-profile-btn {
    width: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    min-height: 70px !important;
    height: 70px !important;
    padding: 8px 6px 7px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    border: none !important;
    border-radius: 13px !important;
    background: linear-gradient(180deg, rgba(7, 11, 20, 0.94), rgba(4, 8, 16, 0.94)) !important;
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.09) inset, 0 6px 18px rgba(2, 5, 12, 0.45) !important;
  }

  .dashboard-body.sidebar-collapsed .dash-profile-avatar {
    margin: 0 auto !important;
    width: 30px !important;
    height: 30px !important;
    font-size: 0.9rem !important;
  }

  .dashboard-body.sidebar-collapsed .dash-profile-caret {
    display: block !important;
    opacity: 0.95 !important;
    max-width: none !important;
    pointer-events: auto !important;
    margin: 0 !important;
    font-size: 10px !important;
    line-height: 1 !important;
    color: rgba(236, 244, 255, 0.92) !important;
    transform: rotate(0deg) !important;
  }

  .dashboard-body.sidebar-collapsed .dash-profile-btn[aria-expanded="true"] .dash-profile-caret {
    transform: rotate(180deg) !important;
  }

  .dashboard-body.sidebar-collapsed .dash-profile-menu {
    left: calc(100% + 12px) !important;
    right: auto !important;
    top: 0 !important;
    width: 232px !important;
    min-width: 232px !important;
    padding: 10px 0 !important;
    border: none !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, rgba(8, 12, 22, 0.98), rgba(5, 8, 16, 0.98)) !important;
    box-shadow: 0 14px 30px rgba(1, 3, 9, 0.55), 0 0 0 1px rgba(148, 163, 184, 0.08) inset !important;
  }

  .dashboard-body.sidebar-collapsed .dash-profile-menu::before {
    content: "Accounts";
    display: block;
    padding: 0 14px 8px;
    margin-bottom: 6px;
    font-size: 0.74rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(193, 206, 229, 0.72);
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  }

  .dashboard-body.sidebar-collapsed .dash-profile-menu-item {
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 10px 14px !important;
    color: rgba(233, 241, 255, 0.96) !important;
  }

  .dashboard-body.sidebar-collapsed .dash-profile-menu-item:hover {
    background: rgba(68, 124, 230, 0.13) !important;
  }
}



/* Package 48 - Public page background harmony (home/product/how-it-works/features/pricing) */
.public-product {
  background:
    radial-gradient(780px 360px at 82% -10%, rgba(53, 110, 214, 0.07), transparent 70%),
    radial-gradient(580px 300px at 18% 8%, rgba(53, 110, 214, 0.04), transparent 72%),
    #040507 !important;
}

.public-product .public-topbar {
  background: rgba(4, 6, 8, 0.9) !important;
}

.public-product .product-section-muted {
  background: rgba(59, 130, 246, 0.02) !important;
}

.public-product .product-final {
  background:
    radial-gradient(460px 220px at 50% 25%, rgba(53, 110, 214, 0.06), transparent 74%),
    rgba(59, 130, 246, 0.01) !important;
}



/* Package 49 - Public page layout + color parity with home */
.public-product {
  color: var(--vr-color-text-primary, #eff0f2);
}

.public-product .site-shell {
  width: min(1220px, calc(100% - 56px)) !important;
}

.public-product .public-topbar {
  border-bottom: 1px solid rgba(148, 163, 184, 0.08) !important;
  background: rgba(11, 11, 20, 0.86) !important;
  backdrop-filter: blur(14px);
}

.public-product .public-topbar-shell {
  padding: 12px 0 !important;
  gap: 20px;
}

.public-product .site-nav {
  gap: 4px;
}

.public-product .site-nav a {
  color: rgba(240, 240, 243, 0.76) !important;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 10px 12px;
  border-radius: 10px;
}

.public-product .site-nav a.active,
.public-product .site-nav a:hover {
  color: #f6f6fa !important;
  background: rgba(148, 163, 184, 0.06) !important;
}

.public-product .btn {
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(59, 130, 246, 0.03);
  color: #eeeef2;
  border-radius: 11px;
  padding: 10px 15px;
}

.public-product .btn:hover {
  border-color: rgba(148, 163, 184, 0.24);
  background: rgba(148, 163, 184, 0.05);
}

.public-product .btn-solid {
  background: linear-gradient(180deg, #3B82F6 0%, #2563EB 100%);
  color: #fff;
  border-color: rgba(37, 99, 235, 0.7);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.26), 0 10px 28px rgba(59, 130, 246, 0.22);
}

.public-product .btn-solid:hover {
  background: linear-gradient(180deg, #2563EB 0%, #3B82F6 100%);
}

.public-product .public-main {
  padding-bottom: 48px;
}

.public-product .product-hero {
  padding: 108px 0 82px;
}

.public-product .product-eyebrow {
  color: rgba(235, 235, 238, 0.62);
}

.public-product .product-lead {
  color: rgba(216, 216, 222, 0.88);
}

.public-product .product-section {
  padding: 72px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.public-product .product-section-muted {
  background: rgba(59, 130, 246, 0.02) !important;
}

.public-product .product-card,
.public-product .product-step {
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 16px;
  background: rgba(59, 130, 246, 0.03);
}

.public-product .product-final {
  padding: 72px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  background:
    radial-gradient(460px 220px at 50% 25%, rgba(53, 110, 214, 0.06), transparent 74%),
    rgba(59, 130, 246, 0.02) !important;
}

@media (max-width: 940px) {
  .public-product .site-shell {
    width: min(1220px, calc(100% - 28px)) !important;
  }

  .public-product .product-hero {
    padding-top: 78px;
  }
}

/* Package 50 - Trend Search de-clutter + visible video thumbnails */
.dashboard-body #section-search > .panel-dark,
.dashboard-body #section-search > .panel-subtle {
  border-color: rgba(148, 163, 184, 0.07) !important;
  box-shadow: none !important;
}

.dashboard-body #section-search .panel-subtle,
.dashboard-body #section-search .result-card,
.dashboard-body #section-search .search-diag-card,
.dashboard-body #section-search .insight-box {
  border-color: rgba(148, 163, 184, 0.06) !important;
  background: rgba(4, 7, 12, 0.74) !important;
  box-shadow: none !important;
}

.dashboard-body #section-search .chip {
  border-color: rgba(148, 163, 184, 0.10) !important;
  background: rgba(59, 130, 246, 0.02) !important;
}

.dashboard-body #section-search .chip.active {
  border-color: rgba(98, 164, 255, 0.48) !important;
  background: rgba(18, 34, 58, 0.42) !important;
  box-shadow: 0 0 0 1px rgba(98, 164, 255, 0.18) inset, 0 6px 16px rgba(24, 54, 104, 0.2) !important;
}

.result-thumb-link {
  display: block;
  margin: -2px -2px 10px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.09);
  background: #060910;
}

.result-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Package 51 - Dashboard de-frame pass (AI Studio + global panel calm) */
.dashboard-body .section-panel > .panel-dark,
.dashboard-body .section-panel > .panel-subtle,
.dashboard-body .section-panel .result-card,
.dashboard-body .section-panel .insight-box,
.dashboard-body .section-panel .search-diag-card,
.dashboard-body .section-panel .kpi-card,
.dashboard-body .section-panel .yt-metric,
.dashboard-body .section-panel .funnel-step {
  border-color: rgba(148, 163, 184, 0.06) !important;
  box-shadow: none !important;
  background: rgba(4, 7, 11, 0.7) !important;
}

.dashboard-body #section-ai .panel-dark,
.dashboard-body #section-ai .panel-subtle,
.dashboard-body #section-ai .result-card,
.dashboard-body #section-ai .ready-script-card,
.dashboard-body #section-ai .ready-detail,
.dashboard-body #section-ai .manual-segment-card {
  border-color: rgba(148, 163, 184, 0.05) !important;
  background: rgba(4, 7, 11, 0.66) !important;
}

.dashboard-body #section-ai input,
.dashboard-body #section-ai select,
.dashboard-body #section-ai textarea {
  border-color: rgba(148, 163, 184, 0.11) !important;
  background: rgba(3, 6, 10, 0.82) !important;
}

.dashboard-body #section-ai .mode-switch,
.dashboard-body #section-ai .chip,
.dashboard-body #section-ai .badge,
.dashboard-body #section-ai .status-chip {
  border-color: rgba(148, 163, 184, 0.12) !important;
}


/* Package 52 - Final de-frame pass (AI Studio + global calm) */
.dashboard-body .section-panel > .panel-dark,
.dashboard-body .section-panel > .panel-subtle,
.dashboard-body .section-panel .panel-dark,
.dashboard-body .section-panel .panel-subtle {
  border-color: rgba(148, 163, 184, 0.05) !important;
  box-shadow: none !important;
}

.dashboard-body #section-ai [class*="panel"],
.dashboard-body #section-ai [class*="card"],
.dashboard-body #section-ai [class*="box"] {
  border-color: rgba(148, 163, 184, 0.04) !important;
  box-shadow: none !important;
  background: rgba(3, 5, 8, 0.62) !important;
}

.dashboard-body #section-ai input,
.dashboard-body #section-ai select,
.dashboard-body #section-ai textarea {
  border-color: rgba(148, 163, 184, 0.09) !important;
  background: rgba(2, 4, 8, 0.84) !important;
}

.dashboard-body #section-ai .grid-2,
.dashboard-body #section-ai .grid-3,
.dashboard-body #section-ai .grid-4,
.dashboard-body #section-ai .actions-row {
  gap: 14px !important;
}

/* Package 53 - Home-only top intro (free vertical space on other modules) */
.dashboard-body .dash-header:not(.is-home) {
  justify-content: flex-end !important;
  align-items: center !important;
  margin-bottom: 6px !important;
  padding: 0 !important;
  min-height: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.dashboard-body .dash-header:not(.is-home) > div:first-child {
  display: none !important;
}

.dashboard-body .dash-header:not(.is-home) .dash-header-meta {
  margin-left: auto !important;
  gap: 8px !important;
}

/* Package 54 - Dark Neon Blue Active States (sidebar + interactive selections) */
.dashboard-body .dash-nav-btn,
.dashboard-body .dash-utility-link,
.dashboard-body .chip,
.dashboard-body .mode-btn,
.dashboard-body .btn {
  transition: border-color .28s ease, background .28s ease, box-shadow .32s ease, color .24s ease, transform .22s ease;
}

.dashboard-body .dash-nav-btn.active,
.dashboard-body .dash-nav-btn:hover {
  border-color: rgba(70, 132, 224, 0.72) !important;
  background: linear-gradient(160deg, rgba(5, 16, 40, 0.96) 0%, rgba(2, 7, 20, 0.99) 100%) !important;
  box-shadow:
    inset 0 0 0 1px rgba(110, 170, 245, 0.16),
    0 0 0 1px rgba(26, 82, 182, 0.30),
    0 8px 22px rgba(14, 58, 146, 0.28),
    0 0 22px rgba(34, 110, 220, 0.16) !important;
  color: #f5f9ff !important;
}

.dashboard-body .dash-nav-btn.active .dash-nav-icon,
.dashboard-body .dash-nav-btn:hover .dash-nav-icon {
  color: #d5e7ff !important;
  filter: drop-shadow(0 0 8px rgba(88, 164, 255, 0.38));
}

.dashboard-body .dash-nav-btn.active .dash-nav-label,
.dashboard-body .dash-nav-btn:hover .dash-nav-label {
  letter-spacing: 0.01em;
}

.dashboard-body #section-search .mode-btn.active,
.dashboard-body #section-search .chip.active,
.dashboard-body #categoryWrap .chip.active,
.dashboard-body #autoTrendCategoryWrap .chip.active {
  border-color: rgba(68, 128, 218, 0.70) !important;
  background: linear-gradient(160deg, rgba(5, 16, 38, 0.94) 0%, rgba(2, 8, 21, 0.98) 100%) !important;
  box-shadow:
    inset 0 0 0 1px rgba(116, 176, 247, 0.15),
    0 0 0 1px rgba(25, 83, 184, 0.24),
    0 6px 16px rgba(14, 56, 140, 0.24),
    0 0 14px rgba(38, 116, 226, 0.14) !important;
  color: #f3f8ff !important;
}

.dashboard-body .dash-nav-btn.active::before,
.dashboard-body #section-search .chip.active::before,
.dashboard-body #section-search .mode-btn.active::before {
  opacity: .9;
}


/* Package 55 - Ultra Dark Neon Blue pass (unified accent across dashboard) */
.dashboard-body {
  --vr-neon-dark-border: rgba(58, 112, 198, 0.64);
  --vr-neon-dark-border-strong: rgba(72, 128, 214, 0.70);
  --vr-neon-dark-bg-a: rgba(4, 12, 30, 0.97);
  --vr-neon-dark-bg-b: rgba(1, 5, 14, 0.995);
  --vr-neon-dark-glow: rgba(24, 84, 182, 0.18);
  --vr-neon-dark-glow-soft: rgba(28, 98, 208, 0.12);
}

.dashboard-body .dash-nav-btn.active,
.dashboard-body .dash-nav-btn:hover,
.dashboard-body .dash-utility-link:hover,
.dashboard-body #section-search .mode-btn.active,
.dashboard-body #section-search .chip.active,
.dashboard-body #categoryWrap .chip.active,
.dashboard-body #autoTrendCategoryWrap .chip.active,
.dashboard-body .btn-solid,
.dashboard-body .btn-outline-dark:hover,
.dashboard-body .btn-ghost-dark:hover,
.dashboard-body .top-wallet-pill,
.dashboard-body .status-chip {
  border-color: var(--vr-neon-dark-border) !important;
  background: linear-gradient(160deg, var(--vr-neon-dark-bg-a) 0%, var(--vr-neon-dark-bg-b) 100%) !important;
  box-shadow:
    inset 0 0 0 1px rgba(108, 166, 246, 0.12),
    0 0 0 1px rgba(18, 64, 146, 0.28),
    0 6px 18px var(--vr-neon-dark-glow),
    0 0 16px var(--vr-neon-dark-glow-soft) !important;
}

.dashboard-body .dash-nav-btn.active,
.dashboard-body .dash-nav-btn:hover,
.dashboard-body #section-search .mode-btn.active,
.dashboard-body #section-search .chip.active,
.dashboard-body #categoryWrap .chip.active,
.dashboard-body #autoTrendCategoryWrap .chip.active {
  border-color: var(--vr-neon-dark-border-strong) !important;
}

.dashboard-body .dash-nav-btn.active .dash-nav-icon,
.dashboard-body .dash-nav-btn:hover .dash-nav-icon,
.dashboard-body #section-search .chip.active,
.dashboard-body #section-search .mode-btn.active {
  filter: drop-shadow(0 0 6px rgba(66, 140, 236, 0.30));
}

/* Package 56 - Classy dark-neon blue (black-integrated, less robotic) */
.dashboard-body {
  --vr-neon-class-border: rgba(82, 145, 255, 0.56);
  --vr-neon-class-border-strong: rgba(96, 160, 255, 0.64);
  --vr-neon-class-bg-a: rgba(1, 6, 16, 0.985);
  --vr-neon-class-bg-b: rgba(0, 2, 7, 0.998);
  --vr-neon-class-bg-c: rgba(3, 10, 24, 0.975);
  --vr-neon-class-glow-soft: rgba(44, 118, 255, 0.13);
  --vr-neon-class-glow-deep: rgba(6, 24, 66, 0.62);
}

.dashboard-body .dash-nav-btn.active,
.dashboard-body .dash-nav-btn:hover,
.dashboard-body .dash-utility-link:hover,
.dashboard-body #section-search .mode-btn.active,
.dashboard-body #section-search .chip.active,
.dashboard-body #categoryWrap .chip.active,
.dashboard-body #autoTrendCategoryWrap .chip.active,
.dashboard-body .btn-solid,
.dashboard-body .btn-outline-dark:hover,
.dashboard-body .btn-ghost-dark:hover {
  border-color: var(--vr-neon-class-border) !important;
  background:
    radial-gradient(120% 140% at 16% -8%, rgba(83, 148, 255, 0.14), rgba(83, 148, 255, 0) 52%),
    linear-gradient(165deg, var(--vr-neon-class-bg-a) 0%, var(--vr-neon-class-bg-b) 62%, var(--vr-neon-class-bg-c) 100%) !important;
  box-shadow:
    inset 0 0 0 1px rgba(132, 187, 255, 0.10),
    0 0 0 1px rgba(30, 84, 170, 0.26),
    0 10px 24px var(--vr-neon-class-glow-deep),
    0 0 15px var(--vr-neon-class-glow-soft) !important;
}

.dashboard-body .dash-nav-btn.active,
.dashboard-body .dash-nav-btn:hover,
.dashboard-body #section-search .mode-btn.active,
.dashboard-body #section-search .chip.active,
.dashboard-body #categoryWrap .chip.active,
.dashboard-body #autoTrendCategoryWrap .chip.active {
  border-color: var(--vr-neon-class-border-strong) !important;
}

.dashboard-body .dash-nav-btn.active .dash-nav-icon,
.dashboard-body .dash-nav-btn:hover .dash-nav-icon {
  color: #dbe9ff !important;
  filter: drop-shadow(0 0 5px rgba(88, 158, 255, 0.24));
}

/* Financial/status pills keep same palette but calmer than nav active */
.dashboard-body .top-wallet-pill,
.dashboard-body .status-chip {
  border-color: rgba(78, 140, 248, 0.40) !important;
  background:
    radial-gradient(130% 140% at 18% -12%, rgba(86, 150, 255, 0.10), rgba(86, 150, 255, 0) 54%),
    linear-gradient(165deg, rgba(1, 6, 16, 0.975) 0%, rgba(0, 2, 7, 0.996) 100%) !important;
  box-shadow:
    inset 0 0 0 1px rgba(128, 184, 255, 0.08),
    0 0 0 1px rgba(26, 74, 152, 0.20),
    0 0 12px rgba(44, 118, 255, 0.09) !important;
}

/* Subtle pulse feeling without flashy jump */
.dashboard-body .dash-nav-btn.active,
.dashboard-body #section-search .chip.active,
.dashboard-body #section-search .mode-btn.active {
  transition: border-color .30s ease, background .34s ease, box-shadow .36s ease, color .24s ease, transform .24s ease !important;
}

/* Package 57 - Trend chip glow soften + default-friendly balance */
.dashboard-body #section-search .chip.active,
.dashboard-body #categoryWrap .chip.active {
  border-color: rgba(88, 150, 245, 0.52) !important;
  background:
    radial-gradient(120% 140% at 18% -10%, rgba(86, 152, 255, 0.09), rgba(86, 152, 255, 0) 56%),
    linear-gradient(165deg, rgba(1, 6, 16, 0.985) 0%, rgba(0, 2, 8, 0.998) 66%, rgba(3, 10, 22, 0.975) 100%) !important;
  box-shadow:
    inset 0 0 0 1px rgba(124, 182, 255, 0.08),
    0 0 0 1px rgba(22, 70, 150, 0.22),
    0 5px 12px rgba(6, 22, 58, 0.42),
    0 0 10px rgba(42, 116, 230, 0.10) !important;
}

.dashboard-body #section-search .chip.active::after,
.dashboard-body #categoryWrap .chip.active::after {
  background: rgba(96, 162, 255, 0.68) !important;
  opacity: 0.60 !important;
  box-shadow: 0 0 6px rgba(66, 140, 236, 0.26) !important;
}

/* Package 58 - Trend Search alignment + minimalist symmetry pass */
.dashboard-body #section-search #searchForm .form-grid {
  display: grid !important;
  grid-template-columns: minmax(220px, 1.15fr) minmax(170px, 0.9fr) minmax(220px, 1fr) minmax(220px, 1fr) !important;
  gap: 12px 12px !important;
  align-items: end !important;
  max-width: 1280px;
}

.dashboard-body #section-search #searchForm .form-grid > label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.dashboard-body #section-search #searchForm input,
.dashboard-body #section-search #searchForm select {
  height: 40px;
  line-height: 40px;
}

/* Content mode aligns with other input rows */
.dashboard-body #section-search #modeSwitch {
  display: flex !important;
  align-items: center !important;
  justify-content: stretch !important;
  width: 100% !important;
  min-height: 40px;
  padding: 2px;
  margin: 0 !important;
}

.dashboard-body #section-search #modeSwitch .mode-btn {
  flex: 1 1 0;
  min-width: 0;
  height: 34px;
  padding: 0 10px;
  font-size: 14px;
}

/* Make short numeric/select controls less visually stretched */
.dashboard-body #section-search #daysSelect,
.dashboard-body #section-search #maxResultsSelect,
.dashboard-body #section-search #sortSelect,
.dashboard-body #section-search #minViewInput,
.dashboard-body #section-search #maxDurationInput {
  max-width: 100%;
}

/* Categories: slightly more breathing room, still compact */
.dashboard-body #section-search .chip-grid,
.dashboard-body #section-search #categoryWrap {
  gap: 10px 10px !important;
  margin-top: 8px;
}

.dashboard-body #section-search .chip,
.dashboard-body #section-search #categoryWrap .chip {
  min-height: 34px;
  padding: 7px 14px;
  font-size: 14px;
}

@media (max-width: 1280px) {
  .dashboard-body #section-search #searchForm .form-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr)) !important;
    max-width: none;
  }
}

@media (max-width: 760px) {
  .dashboard-body #section-search #searchForm .form-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Package 59 - Home preview black/white dominance (very subtle blue) */
.home-premium .home-preview {
  border: 1px solid rgba(148, 163, 184, 0.12) !important;
  background:
    linear-gradient(180deg, rgba(59, 130, 246, 0.03), rgba(59, 130, 246, 0.01)),
    rgba(2, 2, 4, 0.97) !important;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.56) !important;
}

.home-premium .home-preview-head h2,
.home-premium .home-preview-module h3 {
  color: #f7f7f9 !important;
}

.home-premium .home-preview-kicker,
.home-premium .module-label {
  color: rgba(218, 218, 223, 0.74) !important;
}

.home-premium .module-copy,
.home-premium .home-preview-flow {
  color: rgba(220, 220, 226, 0.86) !important;
}

.home-premium .home-preview-live {
  border-color: rgba(148, 163, 184, 0.14) !important;
  color: rgba(232, 232, 238, 0.92) !important;
  background: rgba(59, 130, 246, 0.02) !important;
}

.home-premium .home-preview-live i {
  background: #355d98 !important;
  box-shadow: 0 0 6px rgba(53, 93, 152, 0.28) !important;
}

.home-premium .home-preview-module {
  border: 1px solid rgba(148, 163, 184, 0.11) !important;
  background:
    linear-gradient(180deg, rgba(59, 130, 246, 0.03), rgba(59, 130, 246, 0.01)),
    rgba(2, 3, 6, 0.92) !important;
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.03), 0 10px 24px rgba(0, 0, 0, 0.44) !important;
}

.home-premium .module-indicator {
  border-color: rgba(148, 163, 184, 0.20) !important;
  background: rgba(59, 130, 246, 0.02) !important;
  color: rgba(236, 240, 248, 0.94) !important;
  box-shadow: none !important;
}

.home-premium .wallet-pill {
  border-color: rgba(148, 163, 184, 0.18) !important;
  background: rgba(59, 130, 246, 0.02) !important;
  color: rgba(235, 235, 241, 0.94) !important;
}

.home-premium .wallet-pill-accent {
  border-color: rgba(86, 118, 168, 0.46) !important;
  box-shadow: 0 0 0 1px rgba(86, 118, 168, 0.14) !important;
}

/* Package 68 - Opus-style black dominance with very low midnight blue */
.dashboard-body {
  background:
    radial-gradient(900px 380px at 75% -8%, rgba(24, 46, 92, 0.05), transparent 72%),
    radial-gradient(600px 300px at 16% 8%, rgba(18, 38, 78, 0.04), transparent 74%),
    #010102 !important;
  background-color: #010102 !important;
}

.dashboard-body .dash-sidebar,
.dashboard-body.sidebar-collapsed .dash-sidebar {
  background:
    radial-gradient(120% 140% at 12% -10%, rgba(20, 42, 84, 0.06), rgba(20, 42, 84, 0) 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.996), rgba(1, 2, 4, 0.998)) !important;
  border-right: 1px solid rgba(14, 28, 58, 0.68) !important;
  box-shadow: inset -1px 0 0 rgba(20, 44, 90, 0.16) !important;
}

.dashboard-body .dash-profile-btn,
.dashboard-body .dash-nav-btn,
.dashboard-body .dash-utility-link,
.dashboard-body .sidebar-toggle-btn,
.dashboard-body .sidebar-expand-btn {
  border-color: rgba(16, 32, 66, 0.62) !important;
  background: linear-gradient(180deg, rgba(1, 2, 6, 0.95), rgba(0, 1, 4, 0.987)) !important;
}

.dashboard-body .dash-nav-btn.active,
.dashboard-body .dash-nav-btn:hover,
.dashboard-body #section-search .mode-btn.active,
.dashboard-body #section-search .chip.active,
.dashboard-body #categoryWrap .chip.active,
.dashboard-body #autoTrendCategoryWrap .chip.active,
.dashboard-body .btn-solid,
.dashboard-body .btn-outline-dark:hover,
.dashboard-body .btn-ghost-dark:hover {
  border-color: rgba(22, 46, 94, 0.86) !important;
  background:
    radial-gradient(128% 142% at 16% -10%, rgba(28, 58, 118, 0.07), rgba(28, 58, 118, 0) 60%),
    linear-gradient(168deg, rgba(1, 2, 6, 0.996) 0%, rgba(0, 1, 3, 1) 74%, rgba(2, 4, 9, 0.99) 100%) !important;
  box-shadow:
    inset 0 0 0 1px rgba(46, 86, 166, 0.07),
    0 0 0 1px rgba(8, 20, 48, 0.72),
    0 8px 20px rgba(0, 7, 20, 0.72),
    0 0 8px rgba(16, 48, 106, 0.14) !important;
}

.dashboard-body .dash-nav-btn.active::before,
.dashboard-body .dash-nav-btn:hover::before,
.dashboard-body #section-search .chip.active::before,
.dashboard-body #section-search .mode-btn.active::before {
  background: rgba(38, 78, 158, 0.88) !important;
  box-shadow: 0 0 7px rgba(14, 42, 98, 0.30) !important;
}

.dashboard-body #section-search .chip.active::after,
.dashboard-body #categoryWrap .chip.active::after,
.dashboard-body #autoTrendCategoryWrap .chip.active::after,
.dashboard-body .dash-nav-btn.active .dash-nav-dot {
  background: rgba(56, 102, 188, 0.80) !important;
  box-shadow:
    0 0 5px rgba(20, 64, 144, 0.44),
    0 0 10px rgba(12, 42, 96, 0.22) !important;
}

/* Package 69 - Sidebar de-framed (Opus-like left rail) */
.dashboard-body .dash-sidebar,
.dashboard-body.sidebar-collapsed .dash-sidebar {
  background: #060607 !important;
  border-right: 1px solid rgba(148, 163, 184, 0.08) !important;
  box-shadow: none !important;
}

.dashboard-body .dash-brand,
.dashboard-body .dash-sidebar-divider,
.dashboard-body .dash-sidebar-foot {
  border-color: rgba(148, 163, 184, 0.08) !important;
}

/* Keep profile card lightly framed */
.dashboard-body .dash-profile-btn {
  border: 1px solid rgba(148, 163, 184, 0.14) !important;
  background: rgba(59, 130, 246, 0.03) !important;
  box-shadow: none !important;
}

/* De-frame nav + utility links */
.dashboard-body .dash-nav-btn,
.dashboard-body .dash-utility-link {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 10px !important;
  padding: 10px 10px !important;
}

.dashboard-body .dash-nav-btn::before,
.dashboard-body .dash-nav-btn::after {
  opacity: 0 !important;
}

.dashboard-body .dash-nav-btn:hover,
.dashboard-body .dash-utility-link:hover {
  border: 0 !important;
  background: rgba(148, 163, 184, 0.05) !important;
  box-shadow: none !important;
  transform: none !important;
}

.dashboard-body .dash-nav-btn.active {
  border: 0 !important;
  background: rgba(26, 44, 84, 0.30) !important;
  box-shadow: inset 2px 0 0 rgba(84, 124, 198, 0.78) !important;
}

.dashboard-body .dash-nav-btn.active .dash-nav-dot {
  background: rgba(96, 146, 226, 0.88) !important;
  box-shadow: 0 0 7px rgba(56, 112, 198, 0.42) !important;
}

.dashboard-body .dash-nav-btn.active .dash-nav-icon,
.dashboard-body .dash-nav-btn.active .dash-nav-label {
  color: #f5f7fb !important;
}

.dashboard-body .dash-utility-link .dash-nav-icon,
.dashboard-body .dash-nav-btn .dash-nav-icon {
  opacity: 0.92;
}

/* Collapsed rail stays clean and border-light */
.dashboard-body.sidebar-collapsed .dash-nav-btn,
.dashboard-body.sidebar-collapsed .dash-utility-link {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.dashboard-body.sidebar-collapsed .dash-nav-btn.active,
.dashboard-body.sidebar-collapsed .dash-utility-link.active {
  background: rgba(26, 44, 84, 0.34) !important;
  box-shadow: inset 2px 0 0 rgba(84, 124, 198, 0.78) !important;
}

/* Package 70 - Active glow point: deep neon midnight blue */
.dashboard-body .dash-nav-btn.active .dash-nav-dot,
.dashboard-body #section-search .chip.active::after,
.dashboard-body #categoryWrap .chip.active::after,
.dashboard-body #autoTrendCategoryWrap .chip.active::after {
  background: rgba(72, 132, 232, 0.92) !important;
  box-shadow:
    0 0 8px rgba(34, 92, 196, 0.62),
    0 0 16px rgba(18, 58, 142, 0.34) !important;
}

.dashboard-body .dash-nav-btn.active {
  box-shadow: inset 2px 0 0 rgba(72, 132, 232, 0.82) !important;
}

/* Package 71 - Darker midnight atmosphere + brighter active glow point */
.dashboard-body {
  background:
    radial-gradient(960px 420px at 78% -10%, rgba(24, 50, 104, 0.08), transparent 72%),
    radial-gradient(700px 320px at 16% 8%, rgba(20, 44, 92, 0.07), transparent 74%),
    #010103 !important;
  background-color: #010103 !important;
}

.dashboard-body .dash-nav-btn.active .dash-nav-dot,
.dashboard-body #section-search .chip.active::after,
.dashboard-body #categoryWrap .chip.active::after,
.dashboard-body #autoTrendCategoryWrap .chip.active::after {
  background: rgba(88, 150, 246, 0.96) !important;
  box-shadow:
    0 0 10px rgba(44, 108, 214, 0.70),
    0 0 20px rgba(18, 66, 156, 0.38) !important;
}

.dashboard-body .dash-nav-btn.active {
  box-shadow: inset 2px 0 0 rgba(88, 150, 246, 0.86) !important;
}

/* Package 72 - Category active dot: darker neon blue + stronger glow */
.dashboard-body #section-search .chip.active::after,
.dashboard-body #categoryWrap .chip.active::after,
.dashboard-body #autoTrendCategoryWrap .chip.active::after {
  background: rgba(46, 108, 238, 0.98) !important;
  box-shadow:
    0 0 10px rgba(46, 108, 238, 0.86),
    0 0 20px rgba(20, 64, 176, 0.48),
    0 0 2px rgba(196, 220, 255, 0.28) !important;
  opacity: 1 !important;
}

/* Package 73 - Dot tone correction: darker midnight neon with strong glow */
.dashboard-body #section-search .chip.active::after,
.dashboard-body #categoryWrap .chip.active::after,
.dashboard-body #autoTrendCategoryWrap .chip.active::after,
.dashboard-body .dash-nav-btn.active .dash-nav-dot {
  background: rgba(38, 98, 222, 0.96) !important;
  box-shadow:
    0 0 10px rgba(38, 98, 222, 0.82),
    0 0 20px rgba(16, 56, 154, 0.50),
    0 0 3px rgba(170, 208, 255, 0.24) !important;
}

/* Package 74 - Dark metallic neon dot + blue ticks + softer global borders */

/* 1) Active tiny dots: darker metallic neon blue with clearer glow */
.dashboard-body #section-search .chip.active::after,
.dashboard-body #categoryWrap .chip.active::after,
.dashboard-body #autoTrendCategoryWrap .chip.active::after,
.dashboard-body .dash-nav-btn.active .dash-nav-dot {
  background: radial-gradient(circle at 34% 30%, rgba(132, 178, 255, 0.92) 0%, rgba(50, 108, 230, 0.98) 34%, rgba(27, 71, 174, 0.99) 70%, rgba(16, 44, 120, 1) 100%) !important;
  box-shadow:
    0 0 10px rgba(44, 104, 226, 0.72),
    0 0 20px rgba(18, 58, 162, 0.46),
    0 0 2px rgba(190, 220, 255, 0.34) !important;
  opacity: 1 !important;
}

/* 2) Ticks / checkboxes -> dark neon blue family */
.dashboard-body input[type="checkbox"],
.dashboard-body #section-search .toggle-row input[type="checkbox"],
.dashboard-body #section-search .toggle-row.toggle-row-compact input[type="checkbox"] {
  accent-color: #275fcf !important;
  filter: drop-shadow(0 0 4px rgba(30, 88, 204, 0.34));
}

/* 3) Global border de-noise for smoother dashboard */
.dashboard-body .panel-dark,
.dashboard-body .panel-subtle,
.dashboard-body .search-diag-card,
.dashboard-body .kpi-card,
.dashboard-body .yt-metric,
.dashboard-body .funnel-step,
.dashboard-body .ready-script-card,
.dashboard-body .ledger-row,
.dashboard-body .workflow-node,
.dashboard-body .feature-route-box,
.dashboard-body .result-card,
.dashboard-body .card {
  border-color: rgba(148, 163, 184, 0.08) !important;
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.02), 0 8px 20px rgba(0, 0, 0, 0.28) !important;
}

.dashboard-body input,
.dashboard-body select,
.dashboard-body textarea,
.dashboard-body .mode-switch,
.dashboard-body #modeSwitch,
.dashboard-body .chip,
.dashboard-body .btn,
.dashboard-body .btn-ghost,
.dashboard-body .btn-outline-dark,
.dashboard-body .btn-ghost-dark {
  border-color: rgba(148, 163, 184, 0.11) !important;
}

/* Package 75 - Dot darkening correction (deeper midnight neon) */
.dashboard-body #section-search .chip.active::after,
.dashboard-body #categoryWrap .chip.active::after,
.dashboard-body #autoTrendCategoryWrap .chip.active::after,
.dashboard-body .dash-nav-btn.active .dash-nav-dot {
  background: radial-gradient(circle at 34% 30%, rgba(88, 128, 206, 0.72) 0%, rgba(34, 80, 176, 0.96) 32%, rgba(18, 52, 138, 0.99) 68%, rgba(8, 28, 86, 1) 100%) !important;
  box-shadow:
    0 0 8px rgba(24, 72, 166, 0.52),
    0 0 16px rgba(10, 40, 116, 0.36) !important;
}


/* Package 77 - Darker public header + auth pages (midnight black-blue) */
.site-header {
  border-bottom: 1px solid rgba(24, 36, 64, 0.52) !important;
  background:
    radial-gradient(120% 180% at 50% -120%, rgba(22, 44, 84, 0.20), rgba(22, 44, 84, 0) 62%),
    rgba(4, 6, 12, 0.96) !important;
  backdrop-filter: blur(12px);
}

.site-nav a.active,
.site-nav a:hover {
  background: rgba(22, 36, 68, 0.44) !important;
  color: #f6f8ff !important;
}

.site-actions .btn,
.site-header .btn {
  border-color: rgba(32, 52, 96, 0.46) !important;
  background: linear-gradient(180deg, rgba(5, 8, 15, 0.94), rgba(3, 5, 10, 0.98)) !important;
}

.site-actions .btn:hover,
.site-header .btn:hover {
  border-color: rgba(44, 72, 126, 0.56) !important;
  background: linear-gradient(180deg, rgba(7, 10, 19, 0.96), rgba(4, 6, 12, 1)) !important;
}

.site-actions .btn-solid,
.site-header .btn-solid {
  border-color: rgba(42, 72, 130, 0.68) !important;
  background:
    radial-gradient(130% 170% at 50% -105%, rgba(28, 58, 112, 0.34), rgba(28, 58, 112, 0) 64%),
    linear-gradient(180deg, rgba(8, 13, 24, 0.98), rgba(5, 8, 16, 1)) !important;
  box-shadow:
    inset 0 0 0 1px rgba(64, 102, 174, 0.20),
    0 8px 24px rgba(4, 10, 28, 0.50) !important;
}

.site-body .page-hero {
  background:
    radial-gradient(88% 150% at 50% -40%, rgba(20, 38, 74, 0.10), rgba(20, 38, 74, 0) 64%),
    linear-gradient(180deg, rgba(4, 5, 10, 0.98), rgba(2, 3, 7, 1)) !important;
}

.site-body .auth-form input,
.site-body .auth-form select,
.site-body .auth-form textarea {
  background: linear-gradient(180deg, rgba(6, 8, 14, 0.98), rgba(3, 5, 10, 1)) !important;
  border-color: rgba(34, 54, 98, 0.42) !important;
}

/* Package 78 - Unified premium public header parity (Opus-inspired, ViralRadar identity) */
.site-body.home-premium,
.site-body.public-product,
.site-body.commercial-page {
  background:
    radial-gradient(980px 380px at 76% -12%, rgba(44, 62, 108, 0.08), transparent 70%),
    radial-gradient(760px 300px at 16% 4%, rgba(34, 50, 88, 0.06), transparent 72%),
    #050607 !important;
  color: #edf1f7;
}

.site-body.home-premium .site-header,
.site-body.public-product .site-header,
.site-body.commercial-page .site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  background:
    radial-gradient(140% 190% at 50% -145%, rgba(42, 58, 96, 0.20), rgba(42, 58, 96, 0) 62%),
    rgba(5, 6, 10, 0.88) !important;
  backdrop-filter: blur(16px) saturate(120%);
}

.site-body.home-premium .site-header .site-shell,
.site-body.public-product .site-header .site-shell,
.site-body.commercial-page .site-header .site-shell {
  width: min(1240px, calc(100% - 56px)) !important;
  padding: 12px 0 !important;
  gap: 20px !important;
}

.site-body.home-premium .brand-wrap,
.site-body.public-product .brand-wrap,
.site-body.commercial-page .brand-wrap {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
}

.site-body.home-premium .brand-logo,
.site-body.public-product .brand-logo,
.site-body.commercial-page .brand-logo {
  width: 164px !important;
  height: auto;
}

.site-body.home-premium .site-nav,
.site-body.public-product .site-nav,
.site-body.commercial-page .site-nav {
  gap: 4px;
  align-items: center;
}

.site-body.home-premium .site-nav a,
.site-body.public-product .site-nav a,
.site-body.commercial-page .site-nav a {
  color: rgba(240, 243, 250, 0.78) !important;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
  padding: 10px 12px;
  border-radius: 10px;
}

.site-body.home-premium .site-nav a.active,
.site-body.home-premium .site-nav a:hover,
.site-body.public-product .site-nav a.active,
.site-body.public-product .site-nav a:hover,
.site-body.commercial-page .site-nav a.active,
.site-body.commercial-page .site-nav a:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

.site-body.home-premium .site-actions .btn,
.site-body.public-product .site-actions .btn,
.site-body.commercial-page .site-actions .btn {
  border-color: rgba(255, 255, 255, 0.14) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  color: #f7f9ff !important;
  border-radius: 12px;
}

.site-body.home-premium .site-actions .btn:hover,
.site-body.public-product .site-actions .btn:hover,
.site-body.commercial-page .site-actions .btn:hover {
  border-color: rgba(255, 255, 255, 0.2) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

.site-body.home-premium .site-actions .btn-solid,
.site-body.public-product .site-actions .btn-solid,
.site-body.commercial-page .site-actions .btn-solid {
  border-color: rgba(78, 102, 156, 0.68) !important;
  background:
    radial-gradient(130% 170% at 50% -105%, rgba(40, 62, 108, 0.3), rgba(40, 62, 108, 0) 64%),
    linear-gradient(180deg, rgba(10, 14, 24, 0.98), rgba(7, 10, 17, 1)) !important;
  box-shadow:
    inset 0 0 0 1px rgba(92, 124, 194, 0.2),
    0 10px 28px rgba(4, 10, 26, 0.5) !important;
}

.site-body.home-premium .site-actions .btn-solid:hover,
.site-body.public-product .site-actions .btn-solid:hover,
.site-body.commercial-page .site-actions .btn-solid:hover {
  border-color: rgba(102, 130, 196, 0.78) !important;
  background:
    radial-gradient(130% 170% at 50% -105%, rgba(48, 76, 128, 0.34), rgba(48, 76, 128, 0) 64%),
    linear-gradient(180deg, rgba(12, 16, 28, 0.99), rgba(8, 12, 20, 1)) !important;
}

.site-body.home-premium .home-section-muted,
.site-body.public-product .product-section-muted,
.site-body.commercial-page .product-section-muted {
  background: rgba(255, 255, 255, 0.015) !important;
}

.site-body.home-premium .home-preview,
.site-body.public-product .product-card,
.site-body.public-product .product-step,
.site-body.commercial-page .commercial-card,
.site-body.commercial-page .price-card {
  border-color: rgba(255, 255, 255, 0.11) !important;
  background: linear-gradient(180deg, rgba(8, 10, 16, 0.94), rgba(6, 8, 13, 0.98)) !important;
}

/* Package 79 - Header + logo refinement (Opus-inspired, ViralRadar premium) */
.site-body.home-premium .site-header,
.site-body.public-product .site-header,
.site-body.commercial-page .site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  background:
    radial-gradient(120% 180% at 50% -150%, rgba(48, 64, 104, 0.17), rgba(48, 64, 104, 0) 62%),
    rgba(4, 6, 10, 0.86) !important;
  backdrop-filter: blur(16px) saturate(120%);
}

.site-body.home-premium .site-header .site-shell,
.site-body.public-product .site-header .site-shell,
.site-body.commercial-page .site-header .site-shell {
  width: min(1280px, calc(100% - 56px)) !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 28px;
  padding: 10px 0 !important;
}

.site-body.home-premium .brand-wrap,
.site-body.public-product .brand-wrap,
.site-body.commercial-page .brand-wrap {
  justify-self: start;
}

.site-body.home-premium .brand-logo,
.site-body.public-product .brand-logo,
.site-body.commercial-page .brand-logo {
  width: 168px !important;
  height: auto;
  filter: drop-shadow(0 0 6px rgba(120, 152, 220, 0.12));
}

.site-body.home-premium .site-nav,
.site-body.public-product .site-nav,
.site-body.commercial-page .site-nav {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.site-body.home-premium .site-nav a,
.site-body.public-product .site-nav a,
.site-body.commercial-page .site-nav a {
  color: rgba(242, 246, 255, 0.74) !important;
  font-size: 14px;
  font-weight: 640;
  letter-spacing: 0.01em;
  padding: 8px 10px;
  border-radius: 9px;
  background: transparent !important;
}

.site-body.home-premium .site-nav a.active,
.site-body.home-premium .site-nav a:hover,
.site-body.public-product .site-nav a.active,
.site-body.public-product .site-nav a:hover,
.site-body.commercial-page .site-nav a.active,
.site-body.commercial-page .site-nav a:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.055) !important;
}

.site-body.home-premium .site-actions,
.site-body.public-product .site-actions,
.site-body.commercial-page .site-actions {
  justify-self: end;
  gap: 10px;
}

.site-body.home-premium .site-actions .btn,
.site-body.public-product .site-actions .btn,
.site-body.commercial-page .site-actions .btn {
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  background: rgba(255, 255, 255, 0.025) !important;
  color: #f8fbff !important;
  border-radius: 12px;
  padding: 9px 15px;
  font-weight: 700;
}

.site-body.home-premium .site-actions .btn:hover,
.site-body.public-product .site-actions .btn:hover,
.site-body.commercial-page .site-actions .btn:hover {
  border-color: rgba(255, 255, 255, 0.25) !important;
  background: rgba(255, 255, 255, 0.07) !important;
}

.site-body.home-premium .site-actions .btn-solid,
.site-body.public-product .site-actions .btn-solid,
.site-body.commercial-page .site-actions .btn-solid {
  border-color: rgba(255, 255, 255, 0.22) !important;
  background:
    radial-gradient(160% 210% at 50% -130%, rgba(70, 94, 148, 0.24), rgba(70, 94, 148, 0) 64%),
    linear-gradient(180deg, rgba(12, 16, 26, 0.98), rgba(8, 11, 19, 1)) !important;
  box-shadow:
    inset 0 0 0 1px rgba(120, 148, 214, 0.16),
    0 8px 24px rgba(3, 7, 17, 0.48) !important;
}

.site-body.home-premium .site-actions .btn-solid:hover,
.site-body.public-product .site-actions .btn-solid:hover,
.site-body.commercial-page .site-actions .btn-solid:hover {
  background:
    radial-gradient(160% 210% at 50% -130%, rgba(86, 114, 174, 0.28), rgba(86, 114, 174, 0) 64%),
    linear-gradient(180deg, rgba(14, 19, 30, 0.99), rgba(9, 13, 22, 1)) !important;
}

@media (max-width: 1020px) {
  .site-body.home-premium .site-header .site-shell,
  .site-body.public-product .site-header .site-shell,
  .site-body.commercial-page .site-header .site-shell {
    width: min(1280px, calc(100% - 28px)) !important;
    display: flex !important;
    gap: 12px;
    padding: 10px 0 !important;
  }
}

/* Package 80 - Home tutorial carousel under "One Dashboard" */
.home-preview-carousel {
  position: relative;
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  background:
    radial-gradient(120% 160% at 18% -22%, rgba(56, 84, 140, 0.10), rgba(56, 84, 140, 0) 62%),
    linear-gradient(180deg, rgba(8, 10, 16, 0.94), rgba(5, 7, 12, 0.98));
  padding: 14px;
  overflow: hidden;
}

.home-carousel-viewport {
  position: relative;
  min-height: clamp(320px, 34vw, 430px);
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(8, 11, 18, 0.90), rgba(6, 8, 14, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-carousel-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  opacity: 0;
  transform: translateX(22px) scale(0.994);
  transition: opacity 380ms ease, transform 500ms cubic-bezier(.22,.62,.2,1);
  pointer-events: none;
  padding: 12px;
  gap: 10px;
}

.home-carousel-slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.home-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 10px;
  background:
    radial-gradient(120% 150% at 50% -10%, rgba(44, 68, 116, 0.18), rgba(44, 68, 116, 0) 64%),
    linear-gradient(180deg, rgba(9, 13, 22, 0.90), rgba(7, 10, 16, 0.96));
}

.home-carousel-caption {
  border-radius: 11px;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(8, 10, 16, 0.84), rgba(7, 10, 16, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.home-carousel-caption h3 {
  margin: 3px 0 4px;
  font-size: 18px;
  line-height: 1.2;
  color: #f6f9ff;
}

.home-carousel-caption p {
  margin: 0;
  color: rgba(218, 226, 241, 0.88);
  font-size: 13px;
  line-height: 1.45;
}

.home-carousel-step {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 10px !important;
  font-weight: 700;
  color: rgba(179, 196, 227, 0.84) !important;
}

.home-carousel-nav {
  position: absolute;
  top: 46%;
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(7, 10, 18, 0.78);
  color: #f5f9ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.home-carousel-nav:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(12, 16, 26, 0.9);
  transform: translateY(-1px);
}

.home-carousel-nav span {
  font-size: 22px;
  line-height: 1;
}

.home-carousel-prev { left: 14px; }
.home-carousel-next { right: 14px; }

.home-carousel-dots {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.home-carousel-dots button {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(225, 234, 248, 0.84);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.home-carousel-dots button:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.home-carousel-dots button.is-active {
  border-color: rgba(110, 138, 194, 0.72);
  background: linear-gradient(180deg, rgba(22, 34, 58, 0.74), rgba(14, 24, 44, 0.84));
  color: #f5f9ff;
  box-shadow: inset 0 0 0 1px rgba(122, 156, 224, 0.18);
}

@media (max-width: 1100px) {
  .home-carousel-viewport { min-height: clamp(300px, 40vw, 390px); }
}

@media (max-width: 940px) {
  .home-preview-carousel { margin-top: 10px; padding: 10px; }
  .home-carousel-viewport { min-height: 330px; }
  .home-carousel-slide { padding: 9px; }
  .home-carousel-caption h3 { font-size: 16px; }
  .home-carousel-caption p { font-size: 12px; }
  .home-carousel-nav { width: 34px; height: 34px; top: 44%; }
  .home-carousel-prev { left: 10px; }
  .home-carousel-next { right: 10px; }
}

@media (max-width: 620px) {
  .home-carousel-viewport { min-height: 288px; }
  .home-carousel-caption { padding: 8px 10px; }
  .home-carousel-caption h3 { font-size: 14px; }
  .home-carousel-caption p { font-size: 11px; }
  .home-carousel-dots button { padding: 6px 9px; font-size: 11px; }
}

/* Package 81 - Opus-style centered header + cleaner hero carousel */
@media (min-width: 1101px) {
  .site-body.home-premium .site-header .site-shell,
  .site-body.public-product .site-header .site-shell,
  .site-body.commercial-page .site-header .site-shell {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: min(1280px, calc(100% - 64px)) !important;
    padding: 12px 0 !important;
    gap: 0 !important;
  }

  .site-body.home-premium .brand-wrap,
  .site-body.public-product .brand-wrap,
  .site-body.commercial-page .brand-wrap {
    position: relative;
    z-index: 2;
  }

  .site-body.home-premium .site-nav,
  .site-body.public-product .site-nav,
  .site-body.commercial-page .site-nav {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    z-index: 1;
  }

  .site-body.home-premium .site-actions,
  .site-body.public-product .site-actions,
  .site-body.commercial-page .site-actions {
    margin-left: auto;
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
}

.home-premium .home-preview {
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 22px;
  padding: 20px;
  background:
    radial-gradient(130% 170% at 22% -20%, rgba(44, 66, 112, 0.12), rgba(44, 66, 112, 0) 62%),
    linear-gradient(180deg, rgba(7, 9, 14, 0.96), rgba(5, 7, 12, 0.98));
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.48);
}

.home-preview-carousel {
  margin-top: 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  overflow: visible;
}

.home-carousel-viewport {
  min-height: clamp(360px, 38vw, 500px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background:
    radial-gradient(120% 150% at 50% -18%, rgba(52, 78, 126, 0.14), rgba(52, 78, 126, 0) 60%),
    linear-gradient(180deg, rgba(8, 11, 18, 0.92), rgba(6, 8, 14, 0.98));
  overflow: hidden;
}

.home-carousel-slide {
  grid-template-rows: minmax(0, 1fr);
  padding: 0;
  gap: 0;
}

.home-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 20px 22px 120px;
  border-radius: 0;
  background: transparent;
}

.home-carousel-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  margin: 0;
  border-radius: 12px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(180deg, rgba(9, 12, 18, 0.86), rgba(7, 10, 16, 0.95));
  backdrop-filter: blur(9px);
}

.home-carousel-caption h3 {
  margin: 4px 0 4px;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.2;
}

.home-carousel-caption p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(221, 228, 241, 0.90);
}

.home-carousel-nav {
  top: 50%;
  width: 42px;
  height: 42px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(8, 11, 18, 0.72);
  transform: translateY(-50%);
}

.home-carousel-nav:hover {
  transform: translateY(-50%) scale(1.03);
}

.home-carousel-prev { left: 12px; }
.home-carousel-next { right: 12px; }

.home-carousel-dots {
  margin-top: 12px;
  gap: 8px;
}

.home-carousel-dots button {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
}

.home-carousel-dots button.is-active {
  border-color: rgba(108, 136, 188, 0.72);
  background: linear-gradient(180deg, rgba(19, 30, 52, 0.74), rgba(13, 21, 38, 0.88));
}

@media (max-width: 1100px) {
  .home-carousel-viewport {
    min-height: clamp(320px, 45vw, 410px);
  }

  .home-carousel-slide img {
    padding: 14px 14px 110px;
  }
}

@media (max-width: 940px) {
  .home-premium .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .home-premium .home-preview {
    padding: 16px;
  }

  .home-carousel-viewport {
    min-height: 336px;
  }

  .home-carousel-slide img {
    padding: 12px 12px 102px;
  }

  .home-carousel-caption {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 10px 11px;
  }

  .home-carousel-caption h3 {
    font-size: 16px;
  }

  .home-carousel-caption p {
    font-size: 12px;
  }

  .home-carousel-nav {
    width: 34px;
    height: 34px;
  }

  .home-carousel-prev { left: 8px; }
  .home-carousel-next { right: 8px; }
}

@media (max-width: 620px) {
  .home-carousel-viewport {
    min-height: 292px;
  }

  .home-carousel-slide img {
    padding: 10px 10px 96px;
  }

  .home-carousel-caption {
    padding: 8px 10px;
  }

  .home-carousel-caption h3 {
    font-size: 14px;
  }

  .home-carousel-caption p {
    font-size: 11px;
    line-height: 1.35;
  }
}

/* Package 82 - Opus-style carousel simplification + compact advanced filters */
.home-premium .home-preview-carousel {
  margin-top: 10px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.home-premium .home-carousel-viewport {
  min-height: clamp(360px, 36vw, 480px) !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  background:
    radial-gradient(130% 170% at 50% -20%, rgba(58, 82, 126, 0.12), rgba(58, 82, 126, 0) 62%),
    linear-gradient(180deg, rgba(8, 10, 15, 0.96), rgba(5, 7, 11, 0.99)) !important;
}

.home-premium .home-carousel-slide {
  grid-template-rows: minmax(0, 1fr) !important;
  padding: 0 !important;
  gap: 0 !important;
}

.home-premium .home-carousel-slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: 12px 14px 96px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35));
}

.home-premium .home-carousel-caption {
  left: 14px !important;
  right: 14px !important;
  bottom: 12px !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: linear-gradient(180deg, rgba(7, 10, 16, 0.62), rgba(6, 9, 14, 0.88)) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.home-premium .home-carousel-dots button {
  border: 0 !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: rgba(230, 235, 245, 0.88) !important;
}

.home-premium .home-carousel-dots button.is-active {
  background:
    radial-gradient(140% 170% at 50% -120%, rgba(56, 88, 150, 0.34), rgba(56, 88, 150, 0) 62%),
    linear-gradient(180deg, rgba(10, 16, 30, 0.96), rgba(7, 11, 20, 0.99)) !important;
  box-shadow: inset 0 0 0 1px rgba(98, 136, 212, 0.32);
}

.dashboard-body #section-search #searchForm .form-grid.form-grid-primary {
  grid-template-columns: minmax(220px, 1.2fr) minmax(240px, 1.05fr) auto !important;
  align-items: end !important;
  gap: 12px !important;
  margin-bottom: 10px !important;
}

.dashboard-body #section-search .advanced-inline-control {
  display: flex;
  justify-content: flex-end;
  align-items: end;
  min-width: 0;
}

.dashboard-body #section-search #toggleAdvancedFilters {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 12px;
  border-radius: 10px;
  white-space: nowrap;
}

.dashboard-body #section-search #advancedFiltersWrap.compact-inline {
  margin: 0 0 10px !important;
  padding: 10px 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  background: linear-gradient(180deg, rgba(8, 10, 16, 0.94), rgba(6, 8, 14, 0.98)) !important;
}

.dashboard-body #section-search #searchForm .form-grid.form-grid-advanced-inline {
  grid-template-columns: repeat(6, minmax(104px, 1fr)) !important;
  gap: 8px 10px !important;
  margin-bottom: 6px !important;
}

.dashboard-body #section-search #searchForm .form-grid.form-grid-advanced-inline > label {
  gap: 4px !important;
  font-size: 12px;
}

.dashboard-body #section-search #searchForm .form-grid.form-grid-advanced-inline input,
.dashboard-body #section-search #searchForm .form-grid.form-grid-advanced-inline select {
  height: 34px !important;
  line-height: 34px !important;
  padding: 6px 9px !important;
  font-size: 13px !important;
}

.dashboard-body #section-search #searchForm .toggle-row.toggle-row-compact {
  margin-top: 8px !important;
  gap: 14px !important;
}

@media (max-width: 1160px) {
  .dashboard-body #section-search #searchForm .form-grid.form-grid-primary {
    grid-template-columns: minmax(200px, 1fr) minmax(200px, 1fr) auto !important;
  }

  .dashboard-body #section-search #searchForm .form-grid.form-grid-advanced-inline {
    grid-template-columns: repeat(3, minmax(130px, 1fr)) !important;
  }
}

@media (max-width: 860px) {
  .home-premium .home-carousel-slide img {
    padding: 10px 10px 90px !important;
  }

  .dashboard-body #section-search #searchForm .form-grid.form-grid-primary {
    grid-template-columns: 1fr !important;
  }

  .dashboard-body #section-search .advanced-inline-control {
    justify-content: flex-start;
  }

  .dashboard-body #section-search #searchForm .form-grid.form-grid-advanced-inline {
    grid-template-columns: repeat(2, minmax(130px, 1fr)) !important;
  }
}

@media (max-width: 620px) {
  .dashboard-body #section-search #searchForm .form-grid.form-grid-advanced-inline {
    grid-template-columns: 1fr !important;
  }
}

/* Package 83 - Trend Search true compact layout (no hidden advanced) */
.dashboard-body #section-search #searchForm .form-grid.form-grid-primary {
  display: flex !important;
  flex-wrap: wrap;
  align-items: end !important;
  gap: 10px !important;
  margin-bottom: 8px !important;
}

.dashboard-body #section-search #searchForm .form-grid.form-grid-primary > label {
  flex: 0 0 auto;
  min-width: 0;
}

.dashboard-body #section-search #searchForm .form-grid.form-grid-primary > label:first-child {
  width: min(360px, 100%);
}

.dashboard-body #section-search #searchForm .form-grid.form-grid-primary > label:nth-child(2) {
  width: min(320px, 100%);
}

.dashboard-body #section-search #modeSwitch {
  width: auto !important;
  min-width: 240px;
  max-width: 320px;
  min-height: 36px !important;
  padding: 2px !important;
}

.dashboard-body #section-search #modeSwitch .mode-btn {
  min-width: 108px;
  height: 32px !important;
  padding: 0 12px !important;
  font-size: 13px !important;
}

.dashboard-body #section-search #toggleAdvancedFilters,
.dashboard-body #section-search .advanced-inline-control {
  display: none !important;
}

.dashboard-body #section-search #advancedFiltersWrap.compact-inline {
  display: block !important;
  margin: 0 0 10px !important;
  padding: 8px 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 10px !important;
  background: linear-gradient(180deg, rgba(7, 9, 14, 0.92), rgba(5, 7, 11, 0.96)) !important;
}

.dashboard-body #section-search #searchForm .form-grid.form-grid-advanced-inline {
  display: flex !important;
  flex-wrap: wrap;
  align-items: end;
  gap: 8px 10px !important;
  margin-bottom: 4px !important;
}

.dashboard-body #section-search #searchForm .form-grid.form-grid-advanced-inline > label {
  flex: 0 0 auto;
  width: auto;
  min-width: 92px;
  max-width: 170px;
  gap: 3px !important;
  font-size: 11px !important;
  color: rgba(213, 223, 241, 0.8);
}

.dashboard-body #section-search #searchForm .form-grid.form-grid-advanced-inline > label#shortsDurationGroup,
.dashboard-body #section-search #searchForm .form-grid.form-grid-advanced-inline > label#longDurationGroup {
  min-width: 120px;
}

.dashboard-body #section-search #searchForm .form-grid.form-grid-advanced-inline > label:nth-child(4) {
  min-width: 100px;
}

.dashboard-body #section-search #searchForm .form-grid.form-grid-advanced-inline > label:nth-child(5) {
  min-width: 132px;
}

.dashboard-body #section-search #searchForm .form-grid.form-grid-advanced-inline > label:nth-child(6) {
  min-width: 96px;
}

.dashboard-body #section-search #searchForm .form-grid.form-grid-advanced-inline input,
.dashboard-body #section-search #searchForm .form-grid.form-grid-advanced-inline select {
  height: 32px !important;
  line-height: 32px !important;
  padding: 4px 8px !important;
  font-size: 12px !important;
  border-radius: 8px !important;
}

.dashboard-body #section-search #searchForm .toggle-row.toggle-row-compact {
  margin-top: 6px !important;
  gap: 12px !important;
}

.dashboard-body #section-search #searchForm .toggle-row.toggle-row-compact .toggle-item {
  font-size: 13px;
}

@media (max-width: 920px) {
  .dashboard-body #section-search #searchForm .form-grid.form-grid-primary > label,
  .dashboard-body #section-search #searchForm .form-grid.form-grid-primary > label:first-child,
  .dashboard-body #section-search #searchForm .form-grid.form-grid-primary > label:nth-child(2) {
    width: 100%;
  }

  .dashboard-body #section-search #modeSwitch {
    min-width: 0;
    width: 100% !important;
    max-width: none;
  }

  .dashboard-body #section-search #searchForm .form-grid.form-grid-advanced-inline > label {
    min-width: 130px;
    max-width: none;
    flex: 1 1 130px;
  }
}

/* Package 84 - Trend Search horizontal compact rail (region + mode + advanced on one line) */
.dashboard-body #section-search #searchForm {
  display: flex !important;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 12px;
}

.dashboard-body #section-search #searchForm .form-grid.form-grid-primary {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: flex-end !important;
  gap: 10px !important;
  margin: 0 !important;
  flex: 0 0 auto;
}

.dashboard-body #section-search #searchForm .form-grid.form-grid-primary > label,
.dashboard-body #section-search #searchForm .form-grid.form-grid-primary > label:first-child,
.dashboard-body #section-search #searchForm .form-grid.form-grid-primary > label:nth-child(2) {
  width: auto !important;
  min-width: 0 !important;
  flex: 0 0 auto !important;
}

.dashboard-body #section-search #regionSelect {
  width: clamp(170px, 20vw, 250px) !important;
}

.dashboard-body #section-search #modeSwitch {
  width: clamp(200px, 22vw, 300px) !important;
  min-width: 200px !important;
  max-width: 300px !important;
}

.dashboard-body #section-search #advancedFiltersWrap.compact-inline {
  flex: 1 1 520px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.dashboard-body #section-search #searchForm .form-grid.form-grid-advanced-inline {
  display: flex !important;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px 10px !important;
  margin: 0 !important;
}

.dashboard-body #section-search #searchForm .form-grid.form-grid-advanced-inline > label {
  min-width: 0 !important;
  width: auto !important;
  flex: 0 0 auto;
}

.dashboard-body #section-search #daysSelect {
  width: 74px !important;
}

.dashboard-body #section-search #shortsDurationGroup input,
.dashboard-body #section-search #longDurationGroup input {
  width: 96px !important;
}

.dashboard-body #section-search #minViewInput {
  width: 92px !important;
}

.dashboard-body #section-search #sortSelect {
  width: 138px !important;
}

.dashboard-body #section-search #maxResultsSelect {
  width: 86px !important;
}

.dashboard-body #section-search #searchForm > div:not(.form-grid-primary):not(#advancedFiltersWrap),
.dashboard-body #section-search #searchForm > section,
.dashboard-body #section-search #searchForm > p {
  flex: 1 1 100%;
}

.dashboard-body #section-search #searchForm > .btn.btn-solid {
  flex: 0 0 auto;
  margin-top: 2px;
}

@media (max-width: 1180px) {
  .dashboard-body #section-search #searchForm .form-grid.form-grid-primary {
    flex-wrap: wrap;
  }

  .dashboard-body #section-search #advancedFiltersWrap.compact-inline {
    flex: 1 1 100%;
  }
}

@media (max-width: 860px) {
  .dashboard-body #section-search #regionSelect,
  .dashboard-body #section-search #modeSwitch,
  .dashboard-body #section-search #daysSelect,
  .dashboard-body #section-search #shortsDurationGroup input,
  .dashboard-body #section-search #longDurationGroup input,
  .dashboard-body #section-search #minViewInput,
  .dashboard-body #section-search #sortSelect,
  .dashboard-body #section-search #maxResultsSelect {
    width: 100% !important;
  }

  .dashboard-body #section-search #searchForm .form-grid.form-grid-advanced-inline > label {
    flex: 1 1 140px;
  }
}

/* Package 85 - Single-line alignment fix for Region + Content mode + Advanced */
.dashboard-body #section-search #searchForm {
  display: flex !important;
  flex-wrap: wrap;
  align-items: flex-end !important;
  gap: 10px 12px !important;
}

.dashboard-body #section-search #searchForm .form-grid.form-grid-primary {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-end !important;
  gap: 10px !important;
  margin: 0 !important;
  flex: 0 0 auto !important;
}

.dashboard-body #section-search #searchForm .form-grid.form-grid-primary > label {
  margin: 0 !important;
}

.dashboard-body #section-search #regionSelect {
  width: clamp(190px, 21vw, 280px) !important;
}

.dashboard-body #section-search #modeSwitch {
  width: clamp(220px, 24vw, 320px) !important;
  min-width: 220px !important;
  max-width: 320px !important;
}

.dashboard-body #section-search #advancedFiltersWrap.compact-inline {
  display: contents !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.dashboard-body #section-search #searchForm .form-grid.form-grid-advanced-inline {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-end !important;
  gap: 8px !important;
  margin: 0 !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.dashboard-body #section-search #searchForm .form-grid.form-grid-advanced-inline > label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 !important;
  white-space: nowrap !important;
  font-size: 12px !important;
  color: rgba(214, 224, 241, 0.84);
  min-width: 0 !important;
}

.dashboard-body #section-search #searchForm .form-grid.form-grid-advanced-inline input,
.dashboard-body #section-search #searchForm .form-grid.form-grid-advanced-inline select {
  height: 34px !important;
  line-height: 34px !important;
  padding: 4px 8px !important;
  width: auto !important;
  min-width: 72px;
  border-radius: 8px !important;
  font-size: 12px !important;
}

.dashboard-body #section-search #daysSelect { min-width: 64px !important; }
.dashboard-body #section-search #minViewInput { min-width: 78px !important; }
.dashboard-body #section-search #sortSelect { min-width: 122px !important; }
.dashboard-body #section-search #maxResultsSelect { min-width: 72px !important; }
.dashboard-body #section-search #shortsDurationGroup input,
.dashboard-body #section-search #longDurationGroup input { min-width: 86px !important; }

.dashboard-body #section-search #poolCoverageWrap,
.dashboard-body #section-search #searchForm .toggle-row.toggle-row-compact,
.dashboard-body #section-search #searchForm > div:not(.form-grid-primary):not(#advancedFiltersWrap),
.dashboard-body #section-search #searchForm > section,
.dashboard-body #section-search #searchForm > p {
  flex: 1 1 100%;
}

.dashboard-body #section-search #searchForm > .btn.btn-solid {
  flex: 0 0 auto;
}

@media (max-width: 1220px) {
  .dashboard-body #section-search #searchForm .form-grid.form-grid-primary {
    flex-wrap: wrap !important;
  }

  .dashboard-body #section-search #searchForm .form-grid.form-grid-advanced-inline {
    flex-wrap: wrap !important;
  }
}

@media (max-width: 900px) {
  .dashboard-body #section-search #regionSelect,
  .dashboard-body #section-search #modeSwitch,
  .dashboard-body #section-search #searchForm .form-grid.form-grid-advanced-inline input,
  .dashboard-body #section-search #searchForm .form-grid.form-grid-advanced-inline select {
    width: 100% !important;
    min-width: 0 !important;
  }

  .dashboard-body #section-search #searchForm .form-grid.form-grid-advanced-inline > label {
    flex: 1 1 160px;
  }
}

/* Package 86 - Slightly larger numeric values in compact advanced controls */
.dashboard-body #section-search #searchForm .form-grid.form-grid-advanced-inline input,
.dashboard-body #section-search #searchForm .form-grid.form-grid-advanced-inline select {
  font-size: 13.5px !important;
  font-weight: 600;
}

/* Package 87 - Advanced controls labels above + centered like Region/Content mode */
.dashboard-body #section-search #searchForm .form-grid.form-grid-advanced-inline > label {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 5px !important;
  text-align: center !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: rgba(222, 232, 248, 0.88) !important;
}

.dashboard-body #section-search #searchForm .form-grid.form-grid-advanced-inline input,
.dashboard-body #section-search #searchForm .form-grid.form-grid-advanced-inline select {
  font-size: 14px !important;
  font-weight: 600 !important;
  text-align: center !important;
}

@media (max-width: 900px) {
  .dashboard-body #section-search #searchForm .form-grid.form-grid-advanced-inline > label {
    align-items: flex-start !important;
    text-align: left !important;
  }

  .dashboard-body #section-search #searchForm .form-grid.form-grid-advanced-inline input,
  .dashboard-body #section-search #searchForm .form-grid.form-grid-advanced-inline select {
    text-align: left !important;
  }
}

/* Package 88 - Center primary labels above controls (Region / Content mode) */
.dashboard-body #section-search #searchForm .form-grid.form-grid-primary > label {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  text-align: center !important;
}

.dashboard-body #section-search #searchForm .form-grid.form-grid-primary > label > select,
.dashboard-body #section-search #searchForm .form-grid.form-grid-primary > label > .mode-switch {
  margin-left: auto !important;
  margin-right: auto !important;
}



/* Package 89 - Unified public shell + solutions dropdown parity */
.site-body.home-premium .site-header.home-nav,
.site-body.public-product .site-header.home-nav,
.site-body.commercial-page .site-header.home-nav {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  background:
    radial-gradient(120% 180% at 50% -150%, rgba(40, 54, 90, 0.13), rgba(40, 54, 90, 0) 62%),
    rgba(4, 6, 10, 0.90) !important;
}

.site-body.home-premium .site-footer,
.site-body.public-product .site-footer,
.site-body.commercial-page .site-footer {
  background:
    radial-gradient(120% 170% at 50% -30%, rgba(22, 34, 58, 0.09), rgba(22, 34, 58, 0) 65%),
    rgba(4, 6, 10, 0.88) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.09) !important;
}

.site-nav .nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.site-nav .nav-dropdown-toggle {
  border: 0;
  outline: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(242, 246, 255, 0.74);
  font-size: 14px;
  font-weight: 640;
  letter-spacing: 0.01em;
  padding: 8px 10px;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
}

.site-nav .nav-dropdown-toggle:hover,
.site-nav .nav-dropdown.open .nav-dropdown-toggle,
.site-nav .nav-dropdown-toggle.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.055);
}

.site-nav .nav-dropdown-caret {
  font-size: 11px;
  opacity: 0.86;
  transform: translateY(1px);
}

.site-nav .nav-dropdown.open .nav-dropdown-caret {
  transform: rotate(180deg) translateY(-1px);
}

.site-nav .nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(1120px, calc(100vw - 44px));
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(140% 190% at 25% -25%, rgba(58, 76, 120, 0.16), rgba(58, 76, 120, 0) 62%),
    linear-gradient(180deg, rgba(13, 16, 24, 0.97), rgba(9, 12, 18, 0.99));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 180ms ease, transform 220ms ease, visibility 220ms ease;
  z-index: 120;
}

.site-nav .nav-dropdown.open .nav-dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr;
  gap: 14px;
  padding: 16px;
}

.nav-dropdown-col {
  display: grid;
  gap: 8px;
}

.nav-dropdown-link {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.02);
  padding: 11px 12px;
  display: grid;
  gap: 3px;
  color: #f4f7ff;
  text-decoration: none;
}

.nav-dropdown-link strong {
  font-size: 14px;
  line-height: 1.25;
}

.nav-dropdown-link span {
  font-size: 12px;
  line-height: 1.35;
  color: rgba(214, 222, 236, 0.82);
}

.nav-dropdown-link:hover {
  border-color: rgba(126, 148, 196, 0.44);
  background: rgba(255, 255, 255, 0.045);
}

.nav-dropdown-highlight {
  display: grid;
  gap: 10px;
}

.nav-dropdown-card {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    radial-gradient(140% 180% at 100% -40%, rgba(68, 96, 156, 0.18), rgba(68, 96, 156, 0) 70%),
    rgba(255, 255, 255, 0.025);
  padding: 12px;
}

.nav-dropdown-kicker {
  margin: 0 0 4px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(177, 194, 225, 0.85);
}

.nav-dropdown-card h4 {
  margin: 0 0 6px;
  font-size: 14px;
  color: #f8fbff;
}

.nav-dropdown-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(212, 223, 243, 0.86);
}

.nav-dropdown-card a {
  margin-top: 8px;
  display: inline-flex;
  color: #dce9ff;
  font-size: 12px;
  text-decoration: none;
}

.nav-dropdown-card a:hover {
  color: #ffffff;
}

@media (max-width: 940px) {
  .site-nav .nav-dropdown {
    display: grid;
  }

  .site-nav .nav-dropdown-panel {
    position: static;
    width: 100%;
    margin-top: 8px;
    transform: none;
    border-radius: 14px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0;
  }

  .site-nav .nav-dropdown.open .nav-dropdown-panel {
    opacity: 1;
    max-height: 980px;
  }

  .nav-dropdown-grid {
    grid-template-columns: 1fr;
    padding: 10px;
  }
}

/* �� Package 77 � Image-to-Video panel ������������������������ */

/* Sub-mode toggle */
/* ── Img2Vid mode toggle: premium pills ── */
.img2vid-mode-toggle {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.img2vid-mode-toggle .mode-btn {
  flex: 1;
  padding: 11px 18px;
  border: 1px solid rgba(55, 115, 215, 0.20);
  border-radius: 12px;
  background: rgba(2, 5, 12, 0.9);
  color: rgba(170, 190, 220, 0.80);
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  transition: all 0.3s ease;
  text-align: center;
}
.img2vid-mode-toggle .mode-btn:hover {
  border-color: rgba(80, 150, 255, 0.40);
  color: #E0ECFF;
}
.img2vid-mode-toggle .mode-btn.active {
  background: linear-gradient(180deg, rgba(30, 70, 160, 0.30), rgba(15, 40, 100, 0.22));
  border-color: rgba(90, 165, 255, 0.52);
  color: #EAF3FF;
  box-shadow: 0 0 20px rgba(50, 120, 240, 0.12);
}

/* Image grid */
.img2vid-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

/* Drop zone: premium dashed area */
.img2vid-drop-zone {
  grid-column: 1 / -1;
  border: 2px dashed rgba(60, 130, 240, 0.22);
  border-radius: 16px;
  padding: 36px 20px;
  text-align: center;
  background: rgba(2, 5, 12, 0.6);
  transition: all 0.3s ease;
  cursor: pointer;
}
.img2vid-drop-zone.drag-over,
.img2vid-drop-zone:hover {
  border-color: rgba(80, 160, 255, 0.48);
  background: rgba(20, 50, 110, 0.10);
  box-shadow: 0 0 30px rgba(50, 120, 240, 0.06);
}

/* Image card: polished */
.img2vid-image-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(55, 115, 215, 0.20);
  background: rgba(2, 5, 12, 0.9);
  aspect-ratio: 16/9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;
}
.img2vid-image-card:hover {
  border-color: rgba(80, 150, 255, 0.40);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  transform: scale(1.02);
}
.img2vid-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.img2vid-image-card .scene-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82));
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 8px 8px 5px;
  text-align: center;
}
.img2vid-image-card .remove-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: none;
  background: rgba(220, 60, 60, 0.90);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
}
.img2vid-image-card:hover .remove-btn {
  opacity: 1;
}

/* Custom section */
.img2vid-custom-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(55, 115, 215, 0.14);
}

/* Upload section */
.img2vid-upload-section {
  margin-top: 16px;
}
/* Package 94 - Trend Search category active glow point tune */
.dashboard-body #section-search .chip.active::after,
.dashboard-body #categoryWrap .chip.active::after,
.dashboard-body #autoTrendCategoryWrap .chip.active::after {
  width: 9px;
  height: 9px;
  opacity: 1 !important;
  border-radius: 50%;
  transform: translateY(-50%) scale(1);
  transform-origin: center;
  will-change: box-shadow, filter, opacity, background;
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(9, 21, 62, 1) 0%,
      rgba(6, 16, 48, 1) 56%,
      rgba(4, 12, 36, 0.98) 66%,
      rgba(4, 12, 36, 0) 78%
    ),
    conic-gradient(
      from 140deg,
      rgba(100, 84, 255, 0.95) 0deg,
      rgba(58, 130, 246, 0.95) 120deg,
      rgba(34, 211, 238, 0.92) 230deg,
      rgba(100, 84, 255, 0.95) 360deg
    ) !important;
  box-shadow:
    inset 0 0 0 1px rgba(170, 188, 236, 0.12),
    0 0 0 1px rgba(84, 112, 196, 0.42),
    0 0 0 5px rgba(8, 18, 56, 0.44),
    0 0 12px rgba(52, 102, 226, 0.42),
    0 0 24px rgba(24, 78, 206, 0.34),
    0 0 38px rgba(8, 32, 126, 0.28) !important;
  filter: saturate(1.18) brightness(1.04) hue-rotate(0deg);
  animation: trend-chip-rgb-led 2.8s linear infinite;
}

@keyframes trend-chip-rgb-led {
  0%,
  100% {
    opacity: 0.88;
    box-shadow:
      inset 0 0 0 1px rgba(170, 188, 236, 0.12),
      0 0 0 1px rgba(84, 112, 196, 0.34),
      0 0 0 4px rgba(8, 18, 56, 0.34),
      0 0 9px rgba(42, 94, 214, 0.30),
      0 0 18px rgba(18, 66, 188, 0.24),
      0 0 30px rgba(6, 28, 118, 0.18);
    filter: saturate(1.12) brightness(0.96) hue-rotate(0deg);
  }

  33% {
    opacity: 1;
    box-shadow:
      inset 0 0 0 1px rgba(194, 214, 255, 0.16),
      0 0 0 1px rgba(82, 146, 232, 0.46),
      0 0 0 5px rgba(8, 24, 66, 0.44),
      0 0 12px rgba(46, 146, 220, 0.52),
      0 0 24px rgba(20, 118, 194, 0.42),
      0 0 38px rgba(8, 56, 142, 0.30);
    filter: saturate(1.24) brightness(1.12) hue-rotate(42deg);
  }

  66% {
    opacity: 0.96;
    box-shadow:
      inset 0 0 0 1px rgba(210, 198, 255, 0.16),
      0 0 0 1px rgba(110, 94, 224, 0.48),
      0 0 0 5px rgba(18, 14, 62, 0.44),
      0 0 12px rgba(98, 82, 236, 0.54),
      0 0 24px rgba(72, 56, 208, 0.44),
      0 0 38px rgba(38, 22, 136, 0.30);
    filter: saturate(1.26) brightness(1.10) hue-rotate(-34deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-body #section-search .chip.active::after,
  .dashboard-body #categoryWrap .chip.active::after,
  .dashboard-body #autoTrendCategoryWrap .chip.active::after {
    animation: none !important;
    opacity: 1 !important;
    filter: saturate(1.16) brightness(1.04) !important;
  }
}


/* ═══════════════════════════════════════════════════════════════
   PREMIUM AUTOMAKER REDESIGN
   ═══════════════════════════════════════════════════════════════ */

/* ── Mode Selection Cards: glassmorphism premium ── */
.dashboard-body .automaker-mode-card {
  background: linear-gradient(168deg, rgba(8, 16, 34, 0.92), rgba(2, 6, 14, 0.98)) !important;
  border: 1px solid rgba(80, 140, 255, 0.14) !important;
  border-radius: 20px !important;
  padding: 32px 22px 26px !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.02) !important;
  min-height: 210px !important;
}

.dashboard-body .automaker-mode-card:hover {
  border-color: rgba(100, 170, 255, 0.44) !important;
  background: linear-gradient(168deg, rgba(12, 24, 50, 0.94), rgba(4, 10, 22, 0.98)) !important;
  transform: translateY(-4px) scale(1.015) !important;
  box-shadow:
    0 8px 40px rgba(40, 100, 220, 0.18),
    0 0 0 1px rgba(100, 170, 255, 0.12) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

.dashboard-body .automaker-mode-card.active {
  border-color: rgba(90, 160, 255, 0.56) !important;
  background: linear-gradient(168deg, rgba(14, 30, 62, 0.95), rgba(4, 12, 28, 0.98)) !important;
  box-shadow:
    0 0 0 1px rgba(90, 160, 255, 0.18) inset,
    0 8px 36px rgba(30, 80, 200, 0.22),
    0 0 60px rgba(50, 120, 240, 0.06) !important;
}

/* Mode icon: gradient ring */
.dashboard-body .automaker-mode-icon {
  width: 60px !important;
  height: 60px !important;
  border-radius: 16px !important;
  background: linear-gradient(140deg, rgba(50, 120, 240, 0.12), rgba(30, 70, 180, 0.06)) !important;
  border: 1px solid rgba(80, 150, 255, 0.20) !important;
  box-shadow: 0 4px 16px rgba(40, 100, 220, 0.12);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.dashboard-body .automaker-mode-card:hover .automaker-mode-icon,
.dashboard-body .automaker-mode-card.active .automaker-mode-icon {
  background: linear-gradient(140deg, rgba(60, 140, 255, 0.18), rgba(40, 90, 200, 0.10)) !important;
  border-color: rgba(100, 170, 255, 0.36) !important;
  box-shadow: 0 0 20px rgba(60, 140, 255, 0.15);
}

.dashboard-body .automaker-mode-icon svg {
  color: rgba(120, 180, 255, 0.85) !important;
  filter: drop-shadow(0 0 4px rgba(80, 150, 255, 0.3));
}

.dashboard-body .automaker-mode-card.active .automaker-mode-icon svg {
  color: #6CB4FF !important;
  filter: drop-shadow(0 0 8px rgba(100, 180, 255, 0.4));
}

/* Mode title: premium typography */
.dashboard-body .automaker-mode-title {
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  color: rgba(235, 240, 255, 0.95) !important;
}

.dashboard-body .automaker-mode-card.active .automaker-mode-title {
  color: #FFFFFF !important;
}

/* Mode description */
.dashboard-body .automaker-mode-desc {
  font-size: 12.5px !important;
  line-height: 1.55 !important;
  color: rgba(160, 175, 200, 0.72) !important;
  max-width: 200px !important;
}

/* Mode badge: glass pill */
.dashboard-body .automaker-mode-badge {
  padding: 4px 12px !important;
  font-size: 9.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  border-radius: 999px !important;
  background: rgba(60, 140, 255, 0.08) !important;
  border: 1px solid rgba(80, 150, 255, 0.18) !important;
  color: rgba(120, 180, 255, 0.80) !important;
  backdrop-filter: blur(8px);
}

.dashboard-body .automaker-mode-card.active .automaker-mode-badge {
  background: rgba(60, 140, 255, 0.14) !important;
  border-color: rgba(100, 170, 255, 0.34) !important;
  color: #7CC0FF !important;
}

/* ── Panel (content area after card selection) ── */
.dashboard-body .automaker-mode-panel.active {
  animation: automakerPanelReveal 0.5s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

@keyframes automakerPanelReveal {
  from { opacity: 0; transform: translateY(16px) scale(0.995); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Panel header: premium divider */
.dashboard-body .automaker-panel-header {
  margin-bottom: 20px !important;
  padding-bottom: 18px !important;
  border-bottom: 1px solid rgba(60, 130, 240, 0.10) !important;
  position: relative;
}

.dashboard-body .automaker-panel-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, rgba(80, 160, 255, 0.6), transparent);
  border-radius: 1px;
}

.dashboard-body .automaker-panel-header h3 {
  font-size: 20px !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
  color: #F0F4FF !important;
  margin-bottom: 6px !important;
}

.dashboard-body .automaker-panel-header .muted-light {
  font-size: 13px !important;
  line-height: 1.55 !important;
  color: rgba(170, 185, 210, 0.68) !important;
}

/* ── Form elements: sleek premium inputs ── */
.dashboard-body .automaker-mode-panel select,
.dashboard-body .automaker-mode-panel input[type="text"],
.dashboard-body .automaker-mode-panel input[type="number"],
.dashboard-body .automaker-mode-panel input[type="datetime-local"],
.dashboard-body .automaker-mode-panel textarea {
  background: rgba(2, 5, 12, 0.92) !important;
  border: 1px solid rgba(60, 120, 220, 0.22) !important;
  border-radius: 10px !important;
  color: #E8F0FF !important;
  padding: 10px 14px !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  transition: all 0.25s ease !important;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

.dashboard-body .automaker-mode-panel select:hover,
.dashboard-body .automaker-mode-panel input[type="text"]:hover,
.dashboard-body .automaker-mode-panel input[type="number"]:hover {
  border-color: rgba(80, 150, 255, 0.38) !important;
}

.dashboard-body .automaker-mode-panel select:focus,
.dashboard-body .automaker-mode-panel input[type="text"]:focus,
.dashboard-body .automaker-mode-panel input[type="number"]:focus,
.dashboard-body .automaker-mode-panel textarea:focus {
  border-color: rgba(90, 160, 255, 0.56) !important;
  box-shadow:
    inset 0 1px 3px rgba(0, 0, 0, 0.3),
    0 0 0 3px rgba(60, 140, 255, 0.08) !important;
  outline: none !important;
}

.dashboard-body .automaker-mode-panel label {
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  color: rgba(180, 195, 220, 0.80) !important;
  text-transform: uppercase !important;
}

/* ── Credit info display ── */
.dashboard-body .t2v-credit-info,
.dashboard-body #img2vidCreditInfo {
  font-size: 11.5px !important;
  color: rgba(120, 180, 255, 0.72) !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
}

/* ── Buttons: premium neon glass ── */
.dashboard-body .automaker-mode-panel .btn-solid,
.dashboard-body .automaker-mode-panel .btn-solid.btn-lg {
  background: linear-gradient(180deg, rgba(30, 70, 160, 0.28), rgba(15, 40, 100, 0.22)) !important;
  border: 1px solid rgba(90, 165, 255, 0.52) !important;
  color: #EAF3FF !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  border-radius: 12px !important;
  padding: 13px 28px !important;
  font-size: 14.5px !important;
  box-shadow:
    0 0 0 1px rgba(90, 165, 255, 0.14) inset,
    0 4px 20px rgba(30, 80, 200, 0.20) !important;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1) !important;
  position: relative;
  overflow: hidden;
}

.dashboard-body .automaker-mode-panel .btn-solid:hover,
.dashboard-body .automaker-mode-panel .btn-solid.btn-lg:hover {
  background: linear-gradient(180deg, rgba(40, 90, 200, 0.36), rgba(20, 55, 130, 0.28)) !important;
  border-color: rgba(120, 190, 255, 0.76) !important;
  box-shadow:
    0 0 0 1px rgba(120, 190, 255, 0.22) inset,
    0 8px 30px rgba(40, 100, 230, 0.28),
    0 0 40px rgba(60, 140, 255, 0.08) !important;
  transform: translateY(-1px);
}

.dashboard-body .automaker-mode-panel .btn-outline-dark {
  background: rgba(2, 5, 12, 0.8) !important;
  border: 1px solid rgba(70, 140, 240, 0.28) !important;
  color: rgba(180, 210, 255, 0.88) !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  padding: 10px 20px !important;
  font-size: 13px !important;
  transition: all 0.25s ease !important;
}

.dashboard-body .automaker-mode-panel .btn-outline-dark:hover {
  border-color: rgba(90, 160, 255, 0.52) !important;
  background: rgba(10, 20, 40, 0.9) !important;
  box-shadow: 0 4px 16px rgba(30, 80, 200, 0.14) !important;
}

.dashboard-body .automaker-mode-panel .btn-ghost-dark {
  background: transparent !important;
  border: 1px solid rgba(60, 120, 220, 0.16) !important;
  color: rgba(150, 175, 210, 0.72) !important;
  font-size: 12.5px !important;
  border-radius: 8px !important;
  padding: 8px 16px !important;
}

.dashboard-body .automaker-mode-panel .btn-ghost-dark:hover {
  border-color: rgba(80, 150, 255, 0.32) !important;
  color: rgba(180, 210, 255, 0.9) !important;
}

/* ── Button row spacing ── */
.dashboard-body .automaker-mode-panel .button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 16px;
}

/* ── Insight box / output ── */
.dashboard-body .automaker-mode-panel .insight-box {
  background: rgba(1, 3, 8, 0.95) !important;
  border: 1px solid rgba(50, 110, 210, 0.20) !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: rgba(200, 215, 240, 0.82) !important;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4) !important;
}

/* ── Manual segment cards ── */
.dashboard-body .automaker-mode-panel .manual-segment-card {
  background: rgba(2, 5, 12, 0.94) !important;
  border: 1px solid rgba(55, 115, 215, 0.18) !important;
  border-radius: 12px !important;
  padding: 14px !important;
  transition: border-color 0.2s ease !important;
}

.dashboard-body .automaker-mode-panel .manual-segment-card:hover {
  border-color: rgba(80, 150, 255, 0.32) !important;
}

.dashboard-body .automaker-mode-panel .manual-segment-card h4 {
  color: rgba(200, 215, 240, 0.9) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

.dashboard-body .automaker-mode-panel .manual-segment-card textarea {
  background: rgba(0, 2, 6, 0.8) !important;
  border: 1px solid rgba(50, 100, 200, 0.18) !important;
  border-radius: 8px !important;
  color: rgba(210, 225, 250, 0.88) !important;
  font-size: 13px !important;
}

/* ── Ready Scripts grid (Semi Auto) ── */
.dashboard-body .ready-scripts-grid {
  gap: 12px !important;
}

.dashboard-body .ready-script-card {
  background: rgba(3, 7, 16, 0.95) !important;
  border: 1px solid rgba(55, 115, 215, 0.18) !important;
  border-radius: 14px !important;
  padding: 16px !important;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.dashboard-body .ready-script-card:hover {
  border-color: rgba(80, 150, 255, 0.38) !important;
  box-shadow: 0 4px 20px rgba(30, 80, 200, 0.14) !important;
  transform: translateY(-2px);
}

.dashboard-body .ready-script-card.active {
  border-color: rgba(90, 160, 255, 0.52) !important;
  box-shadow: 0 0 0 1px rgba(90, 160, 255, 0.14) inset, 0 6px 24px rgba(30, 80, 200, 0.18) !important;
}

/* ── Img2Vid: premium upload zone ── */
.dashboard-body .img2vid-drop-zone {
  border: 2px dashed rgba(60, 130, 240, 0.22) !important;
  border-radius: 16px !important;
  padding: 36px 20px !important;
  background: rgba(2, 5, 12, 0.6) !important;
  transition: all 0.3s ease !important;
}

.dashboard-body .img2vid-drop-zone:hover,
.dashboard-body .img2vid-drop-zone.drag-over {
  border-color: rgba(80, 160, 255, 0.48) !important;
  background: rgba(20, 50, 110, 0.10) !important;
  box-shadow: 0 0 30px rgba(50, 120, 240, 0.06) !important;
}

.dashboard-body .img2vid-image-card {
  border: 1px solid rgba(55, 115, 215, 0.20) !important;
  border-radius: 12px !important;
  overflow: hidden;
  transition: all 0.25s ease !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

.dashboard-body .img2vid-image-card:hover {
  border-color: rgba(80, 150, 255, 0.40) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5) !important;
  transform: scale(1.02);
}

.dashboard-body .img2vid-image-card .scene-label {
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82)) !important;
  padding: 8px 8px 5px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em !important;
}

.dashboard-body .img2vid-image-card .remove-btn {
  background: rgba(220, 60, 60, 0.90) !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: blur(4px);
}

/* Img2vid mode toggle: premium pills */
.dashboard-body .img2vid-mode-toggle {
  gap: 10px !important;
  margin-bottom: 16px !important;
}

.dashboard-body .img2vid-mode-toggle .mode-btn {
  border-radius: 12px !important;
  padding: 11px 18px !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  background: rgba(2, 5, 12, 0.9) !important;
  border: 1px solid rgba(55, 115, 215, 0.20) !important;
  color: rgba(170, 190, 220, 0.80) !important;
  transition: all 0.3s ease !important;
}

.dashboard-body .img2vid-mode-toggle .mode-btn:hover {
  border-color: rgba(80, 150, 255, 0.40) !important;
  color: #E0ECFF !important;
}

.dashboard-body .img2vid-mode-toggle .mode-btn.active {
  background: linear-gradient(180deg, rgba(30, 70, 160, 0.30), rgba(15, 40, 100, 0.22)) !important;
  border-color: rgba(90, 165, 255, 0.52) !important;
  color: #EAF3FF !important;
  box-shadow: 0 0 20px rgba(50, 120, 240, 0.12) !important;
}

/* ── Onboarding card: 3-step horizontal ── */
.dashboard-body .onboarding-card {
  border: 1px solid rgba(59, 130, 246, 0.14) !important;
  background: linear-gradient(180deg, rgba(10, 18, 36, 0.95), rgba(4, 8, 18, 0.98)) !important;
}
.dashboard-body .onboarding-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}
.dashboard-body .onboarding-header h3 {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #eef3ff !important;
  margin: 2px 0 0 !important;
}
.dashboard-body .onboarding-steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.dashboard-body .onboarding-step {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(55, 115, 215, 0.12);
  background: rgba(2, 5, 12, 0.6);
}
.dashboard-body .onboarding-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.15);
  color: rgba(140, 190, 255, 0.85);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 8px;
}
.dashboard-body .onboarding-step h4 {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: rgba(230, 240, 255, 0.90) !important;
  margin: 0 0 4px !important;
}
.dashboard-body .onboarding-step .muted-light {
  font-size: 11.5px !important;
  margin-bottom: 10px !important;
  line-height: 1.4 !important;
}
.dashboard-body .onboarding-step .btn {
  font-size: 11px !important;
  padding: 5px 12px !important;
}
@media (max-width: 680px) {
  .dashboard-body .onboarding-steps-row {
    grid-template-columns: 1fr;
  }
}

/* ── Img2Vid: Minimalist Elite Redesign ── */
.dashboard-body .img2vid-header-compact {
  margin-bottom: 12px !important;
  padding-bottom: 10px !important;
}
.dashboard-body .img2vid-header-compact h3 {
  font-size: 16px !important;
  font-weight: 700 !important;
  margin-bottom: 2px !important;
}
.dashboard-body .img2vid-header-compact .muted-light {
  font-size: 11.5px !important;
  opacity: 0.5 !important;
}

/* Controls row: toggle + quality + topic all inline */
.dashboard-body .img2vid-controls-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-end !important;
  gap: 12px !important;
  margin-bottom: 8px !important;
}

/* Mode toggle: compact segmented pill */
.dashboard-body .img2vid-controls-row .img2vid-mode-toggle {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  gap: 2px !important;
  margin-bottom: 0 !important;
  background: rgba(2, 5, 12, 0.7) !important;
  border-radius: 8px !important;
  padding: 3px !important;
  border: 1px solid rgba(55, 115, 215, 0.14) !important;
}
.dashboard-body .img2vid-controls-row .img2vid-mode-toggle .mode-btn {
  flex: 0 0 auto !important;
  padding: 5px 14px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  border: none !important;
  background: transparent !important;
  color: rgba(160, 185, 220, 0.65) !important;
  transition: all 0.2s ease !important;
  min-height: 0 !important;
  line-height: 1.4 !important;
}
.dashboard-body .img2vid-controls-row .img2vid-mode-toggle .mode-btn:hover {
  color: #dce6f5 !important;
  background: rgba(30, 60, 120, 0.15) !important;
}
.dashboard-body .img2vid-controls-row .img2vid-mode-toggle .mode-btn.active {
  background: rgba(30, 70, 160, 0.28) !important;
  color: #EAF3FF !important;
  box-shadow: 0 0 8px rgba(50, 120, 240, 0.08) !important;
}

/* Settings inline: quality + topic side by side */
.dashboard-body .img2vid-settings-inline {
  display: flex !important;
  gap: 10px !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
.dashboard-body .img2vid-field {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  flex: 1 !important;
  min-width: 0 !important;
}
.dashboard-body .img2vid-field-label {
  font-size: 9.5px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: rgba(150, 175, 210, 0.45) !important;
  display: block !important;
}
.dashboard-body .img2vid-field-label .optional-tag {
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  opacity: 0.5 !important;
  font-size: 9px !important;
}
.dashboard-body .img2vid-field select,
.dashboard-body .img2vid-field input[type="text"] {
  padding: 6px 10px !important;
  font-size: 12px !important;
  border-radius: 7px !important;
  border: 1px solid rgba(55, 115, 215, 0.16) !important;
  background: rgba(2, 5, 12, 0.75) !important;
  color: #d0ddf0 !important;
  height: auto !important;
  min-height: 0 !important;
}

.dashboard-body .img2vid-credit-tag {
  font-size: 10px !important;
  color: rgba(120, 180, 255, 0.5) !important;
  white-space: nowrap !important;
  align-self: flex-end !important;
  padding-bottom: 7px !important;
  display: block !important;
}

.dashboard-body .img2vid-hint {
  font-size: 11px !important;
  color: rgba(150, 175, 210, 0.40) !important;
  margin: 0 0 10px !important;
  line-height: 1.4 !important;
}

/* Upload header: title + add btn inline */
.dashboard-body .img2vid-upload-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 6px !important;
}
.dashboard-body .img2vid-upload-header h4 {
  font-size: 12.5px !important;
  font-weight: 650 !important;
  color: rgba(220, 230, 245, 0.80) !important;
  margin: 0 !important;
}
.dashboard-body .img2vid-add-btn {
  padding: 3px 10px !important;
  font-size: 10.5px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
}
.dashboard-body [data-automaker-panel="img2vid"] .img2vid-upload-section {
  margin-top: 0 !important;
}

/* Drop zone: compact */
.dashboard-body [data-automaker-panel="img2vid"] .img2vid-drop-zone {
  padding: 18px 14px !important;
  border-radius: 10px !important;
  border-width: 1.5px !important;
}
.dashboard-body [data-automaker-panel="img2vid"] .img2vid-drop-zone .muted-light {
  font-size: 11.5px !important;
  margin-bottom: 1px !important;
}
.dashboard-body [data-automaker-panel="img2vid"] .img2vid-drop-zone .tiny-muted {
  font-size: 9.5px !important;
}

/* Generate button: sleek, compact */
.dashboard-body .img2vid-generate-row {
  margin-top: 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}
.dashboard-body .img2vid-generate-btn {
  padding: 8px 20px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  letter-spacing: 0.01em !important;
  white-space: nowrap !important;
}
.dashboard-body .img2vid-msg {
  font-size: 11px !important;
  margin: 0 !important;
}

/* Responsive */
@media (max-width: 680px) {
  .dashboard-body .img2vid-controls-row {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .dashboard-body .img2vid-settings-inline {
    flex-direction: column !important;
  }
  .dashboard-body .img2vid-generate-row {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

/* ── Toggle rows ── */
.dashboard-body .automaker-mode-panel .toggle-row {
  padding: 6px 0;
}

.dashboard-body .automaker-mode-panel .toggle-row label {
  text-transform: none !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: rgba(185, 200, 225, 0.76) !important;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.dashboard-body .automaker-mode-panel .toggle-row input[type="checkbox"] {
  accent-color: #3B7AE8 !important;
  width: 16px;
  height: 16px;
}

/* ── Form grid polish ── */
.dashboard-body .automaker-mode-panel .form-grid {
  gap: 14px !important;
  margin-bottom: 14px !important;
}

.dashboard-body .automaker-mode-panel .form-grid.compact {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
}

/* ── Collapsed pill state: premium micro cards ── */
.automaker-mode-grid.has-selection .automaker-mode-card:not(.active) {
  background: rgba(4, 8, 18, 0.94) !important;
  border: 1px solid rgba(60, 120, 220, 0.14) !important;
  border-radius: 10px !important;
  padding: 7px 14px !important;
  box-shadow: none !important;
  min-height: 0 !important;
  transform: none !important;
}

.automaker-mode-grid.has-selection .automaker-mode-card:not(.active):hover {
  border-color: rgba(80, 150, 255, 0.36) !important;
  background: rgba(8, 16, 32, 0.96) !important;
  transform: none !important;
  box-shadow: 0 2px 10px rgba(30, 80, 200, 0.10) !important;
}

.automaker-mode-grid.has-selection .automaker-mode-card.active {
  background: linear-gradient(180deg, rgba(10, 24, 52, 0.92), rgba(4, 10, 24, 0.96)) !important;
  border: 1px solid rgba(80, 155, 255, 0.42) !important;
  border-radius: 10px !important;
  padding: 7px 14px !important;
  min-height: 0 !important;
  box-shadow: 0 0 16px rgba(50, 120, 240, 0.10) !important;
}

/* ── Section heading ── */
.dashboard-body .automaker-header-panel {
  text-align: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.dashboard-body .automaker-header-panel h2 {
  font-size: 26px !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  color: #F2F6FF !important;
  background: linear-gradient(180deg, #FFFFFF, rgba(180, 210, 255, 0.85));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dashboard-body .automaker-header-panel .muted-light {
  color: rgba(160, 180, 210, 0.60) !important;
  font-size: 14px !important;
}

/* ── Job list items ── */
.dashboard-body .automaker-mode-panel .top-video-list li {
  background: rgba(2, 5, 12, 0.9) !important;
  border: 1px solid rgba(50, 110, 210, 0.16) !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  margin-bottom: 6px;
  transition: border-color 0.2s ease;
}

.dashboard-body .automaker-mode-panel .top-video-list li:hover {
  border-color: rgba(70, 140, 240, 0.30) !important;
}

/* ── Message text styling ── */
.dashboard-body .automaker-mode-panel #autoTrendMessage,
.dashboard-body .automaker-mode-panel #makerMessage,
.dashboard-body .automaker-mode-panel #img2vidMessage,
.dashboard-body .automaker-mode-panel #autoTrend3ClickHint {
  font-size: 12.5px !important;
  color: rgba(160, 180, 210, 0.65) !important;
  margin-top: 8px !important;
}

.dashboard-body .automaker-mode-panel .error {
  color: rgba(255, 120, 120, 0.90) !important;
}

/* ── Large CTA button override ── */
.dashboard-body .automaker-mode-panel .btn-solid.btn-lg {
  padding: 15px 34px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0.005em !important;
  border-radius: 14px !important;
}

/* ── Chip grid (category selection in Hot Trends) ── */
.dashboard-body .automaker-mode-panel .chip-grid {
  gap: 10px !important;
}

.dashboard-body .automaker-mode-panel .group-title {
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: rgba(160, 180, 210, 0.60) !important;
  margin-bottom: 8px !important;
}

/* ── Empty state card ── */
.dashboard-body .automaker-mode-panel .empty-state-card {
  text-align: center;
  padding: 40px 24px !important;
  background: rgba(2, 5, 12, 0.6) !important;
  border: 1px dashed rgba(50, 110, 210, 0.18) !important;
  border-radius: 14px !important;
}

.dashboard-body .automaker-mode-panel .empty-state-card .empty-state-icon {
  font-size: 36px;
  opacity: 0.5;
  margin-bottom: 8px;
}

.dashboard-body .automaker-mode-panel .empty-state-card h4 {
  color: rgba(200, 215, 240, 0.80) !important;
  font-size: 15px !important;
  margin-bottom: 4px !important;
}

/* ── Ready script detail panel ── */
.dashboard-body .ready-detail {
  background: rgba(2, 5, 12, 0.95) !important;
  border: 1px solid rgba(55, 115, 215, 0.22) !important;
  border-radius: 14px !important;
  padding: 18px !important;
  margin-top: 14px !important;
}

.dashboard-body .ready-detail .ready-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(50, 110, 210, 0.12);
}

/* ── Status chips ── */
.dashboard-body .automaker-mode-panel .status-chip {
  display: inline-flex;
  padding: 3px 10px;
  font-size: 10.5px;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(50, 120, 240, 0.10);
  border: 1px solid rgba(70, 140, 250, 0.20);
  color: rgba(140, 190, 255, 0.85);
}

/* ═══════════════════════════════════════════════════════════════════
   PREMIUM SITE-WIDE ENHANCEMENTS — Auth Pages, Animations, Polish
   ═══════════════════════════════════════════════════════════════════ */

/* ── Global smooth animations ── */
@keyframes vrFadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes vrFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes vrPulseGlow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 0.8; transform: scale(1.05); }
}

@keyframes vrShimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes vrFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ── Auth hero (login / signup) ── */
.auth-hero {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: calc(100vh - 64px) !important;
  padding: 40px 20px !important;
  position: relative;
  overflow: hidden;
}

.auth-ambient-glow {
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse at center,
    rgba(59, 130, 246, 0.12) 0%,
    rgba(59, 130, 246, 0.04) 40%,
    transparent 70%);
  pointer-events: none;
  animation: vrPulseGlow 6s ease-in-out infinite;
  z-index: 0;
}

.auth-card-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  animation: vrFadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.auth-card {
  background:
    radial-gradient(120% 160% at 50% -30%, rgba(40, 60, 110, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(10, 14, 24, 0.96), rgba(6, 9, 16, 0.99));
  border: 1px solid rgba(80, 120, 200, 0.16);
  border-radius: 20px;
  padding: 40px 36px 32px;
  box-shadow:
    0 0 0 1px rgba(60, 100, 180, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.45),
    0 0 80px rgba(59, 130, 246, 0.06);
  backdrop-filter: blur(12px);
}

.auth-card-header {
  text-align: center;
  margin-bottom: 28px;
}

.auth-logo {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.3));
  animation: vrFloat 4s ease-in-out infinite;
}

.auth-title {
  font-family: var(--vr-font-sans, "Sora", sans-serif);
  font-size: 26px !important;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #F2F6FF;
  margin: 0 0 6px;
  line-height: 1.2;
}

.auth-subtitle {
  font-size: 14px;
  color: rgba(160, 180, 210, 0.65);
  margin: 0;
  font-weight: 500;
}

/* ── Auth form premium ── */
.auth-hero .auth-form {
  display: grid;
  gap: 18px !important;
}

.auth-label {
  display: grid !important;
  gap: 7px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  color: rgba(200, 215, 240, 0.75) !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.auth-hero .auth-form input {
  width: 100%;
  padding: 13px 16px !important;
  background: rgba(4, 8, 18, 0.8) !important;
  border: 1px solid rgba(60, 100, 180, 0.22) !important;
  border-radius: 12px !important;
  color: #E8ECF4 !important;
  font-size: 15px !important;
  font-weight: 500;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.auth-hero .auth-form input::placeholder {
  color: rgba(120, 140, 170, 0.4);
  font-weight: 400;
}

.auth-hero .auth-form input:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12), 0 0 20px rgba(59, 130, 246, 0.08) !important;
  background: rgba(6, 10, 22, 0.95) !important;
}

/* ── Auth submit button — compact, premium ── */
.auth-submit {
  width: 100% !important;
  max-width: 220px !important;
  margin: 8px auto 0 !important;
  padding: 13px 28px !important;
  font-size: 15px !important;
  font-weight: 750 !important;
  letter-spacing: 0.01em;
  border-radius: 12px !important;
  border: 1px solid rgba(59, 130, 246, 0.4) !important;
  background:
    radial-gradient(140% 180% at 50% -90%, rgba(59, 130, 246, 0.28), transparent 60%),
    linear-gradient(180deg, rgba(14, 20, 38, 0.98), rgba(8, 12, 24, 1)) !important;
  color: #F0F4FF !important;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(120, 160, 240, 0.15),
    0 0 0 1px rgba(59, 130, 246, 0.18),
    0 8px 24px rgba(0, 0, 0, 0.35) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-submit:hover {
  border-color: rgba(59, 130, 246, 0.6) !important;
  box-shadow:
    inset 0 1px 0 rgba(120, 160, 240, 0.2),
    0 0 0 1px rgba(59, 130, 246, 0.25),
    0 12px 32px rgba(59, 130, 246, 0.15),
    0 0 40px rgba(59, 130, 246, 0.08) !important;
  transform: translateY(-1px);
  background:
    radial-gradient(140% 180% at 50% -90%, rgba(59, 130, 246, 0.36), transparent 60%),
    linear-gradient(180deg, rgba(16, 24, 44, 0.99), rgba(10, 14, 28, 1)) !important;
}

.auth-submit:active {
  transform: translateY(0);
  transition-duration: 0.1s;
}

.auth-card-footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(60, 100, 180, 0.12);
  text-align: center;
}

.auth-card-footer p {
  font-size: 13.5px;
  color: rgba(160, 180, 210, 0.55);
  margin: 0;
}

.auth-card-footer a {
  color: rgba(100, 160, 255, 0.85);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.auth-card-footer a:hover {
  color: rgba(130, 180, 255, 1);
}

.auth-hero .helper-line {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 120, 120, 0.85);
  min-height: 18px;
  margin: 0;
}

/* ── Site-wide smooth transitions ── */
.site-body a,
.site-body .btn {
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease,
              box-shadow 0.25s ease, transform 0.2s ease;
}

/* ── Premium footer enhancement ── */
.site-body.public-product .site-footer,
.site-body.home-premium .site-footer,
.site-body.commercial-page .site-footer {
  padding-top: 40px !important;
  padding-bottom: 24px !important;
  position: relative;
}

.site-body.public-product .site-footer::before,
.site-body.home-premium .site-footer::before,
.site-body.commercial-page .site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.35), transparent);
}

.site-footer h3 {
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  color: rgba(220, 230, 250, 0.85) !important;
  margin-bottom: 12px !important;
  text-transform: uppercase;
}

.site-footer ul li a {
  color: rgba(160, 180, 210, 0.6) !important;
  font-size: 13.5px !important;
  transition: color 0.2s ease, transform 0.15s ease !important;
  display: inline-block;
}

.site-footer ul li a:hover {
  color: rgba(130, 175, 255, 0.9) !important;
  transform: translateX(3px);
}

.site-footer .footer-bottom {
  margin-top: 28px !important;
  padding-top: 18px !important;
  border-top: 1px solid rgba(60, 100, 180, 0.1) !important;
}

.site-footer .footer-bottom p {
  font-size: 12.5px !important;
  color: rgba(120, 140, 170, 0.45) !important;
}

/* ── Page-hero entrance animation for all public pages ── */
.site-body .page-hero,
.site-body .auth-hero {
  animation: vrFadeIn 0.5s ease both;
}

.site-body .page-hero h1,
.auth-hero .auth-card {
  animation: vrFadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

/* ── Header nav link hover underline effect ── */
.site-body.public-product .site-nav a,
.site-body.home-premium .site-nav a,
.site-body.commercial-page .site-nav a {
  position: relative;
}

.site-body.public-product .site-nav a::after,
.site-body.home-premium .site-nav a::after,
.site-body.commercial-page .site-nav a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.6), rgba(99, 170, 255, 0.4));
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-body.public-product .site-nav a:hover::after,
.site-body.home-premium .site-nav a:hover::after,
.site-body.commercial-page .site-nav a:hover::after {
  width: 60%;
}

/* ── Header actions button glow on hover ── */
.site-body.public-product .site-actions .btn-solid:hover,
.site-body.home-premium .site-actions .btn-solid:hover,
.site-body.commercial-page .site-actions .btn-solid:hover {
  box-shadow:
    inset 0 0 0 1px rgba(120, 148, 214, 0.2),
    0 8px 24px rgba(3, 7, 17, 0.48),
    0 0 30px rgba(59, 130, 246, 0.1) !important;
}

/* ── Dashboard home cards premium polish ── */
.dashboard-body .hero-card,
.dashboard-body [class*="stat-card"],
.dashboard-body .overview-card,
.dashboard-body .activity-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.dashboard-body .hero-card:hover,
.dashboard-body [class*="stat-card"]:hover,
.dashboard-body .overview-card:hover,
.dashboard-body .activity-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(59, 130, 246, 0.08);
}

/* ── Dashboard section headers animation ── */
.dashboard-body main > .dash-content > article {
  animation: vrFadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.dashboard-body main > .dash-content > article:nth-child(1) { animation-delay: 0s; }
.dashboard-body main > .dash-content > article:nth-child(2) { animation-delay: 0.08s; }
.dashboard-body main > .dash-content > article:nth-child(3) { animation-delay: 0.16s; }
.dashboard-body main > .dash-content > article:nth-child(4) { animation-delay: 0.24s; }

/* ── Sidebar nav links smooth hover ── */
.dashboard-body .sidebar-nav button,
.dashboard-body .sidebar-nav a {
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease !important;
}

.dashboard-body .sidebar-nav button:hover,
.dashboard-body .sidebar-nav a:hover {
  transform: translateX(3px);
}

/* ── Smooth scrollbar (Webkit) ── */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(4, 6, 12, 0.4);
}

::-webkit-scrollbar-thumb {
  background: rgba(60, 100, 180, 0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(60, 100, 180, 0.35);
}

/* ── Price cards hover lift (pricing page) ── */
.site-body .price-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease !important;
}

.site-body .price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(59, 130, 246, 0.12) !important;
}

.site-body .price-card.featured {
  position: relative;
}

.site-body .price-card.featured::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.6), transparent);
  border-radius: 2px;
}

/* ── FAQ accordion smooth ── */
.faq-stack details {
  transition: background 0.25s ease, border-color 0.25s ease !important;
}

.faq-stack details[open] {
  background: rgba(59, 130, 246, 0.06) !important;
  border-color: rgba(59, 130, 246, 0.2) !important;
}

.faq-stack summary {
  transition: color 0.2s ease !important;
  cursor: pointer;
}

.faq-stack summary:hover {
  color: rgba(130, 180, 255, 0.9);
}

/* ── Product / feature cards entrance ── */
.site-body .product-card,
.site-body .product-step,
.site-body .commercial-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease !important;
}

.site-body .product-card:hover,
.site-body .product-step:hover,
.site-body .commercial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(59, 130, 246, 0.1) !important;
}

/* ── CTA sections on public pages: subtle gradient accent ── */
.site-body .cta-section,
.site-body .home-cta {
  position: relative;
  overflow: hidden;
}

.site-body .cta-section::before,
.site-body .home-cta::before {
  content: "";
  position: absolute;
  top: -60%;
  left: 50%;
  width: 500px;
  height: 300px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.08), transparent 70%);
  pointer-events: none;
  animation: vrPulseGlow 8s ease-in-out infinite;
}

/* ── Mobile responsive auth ── */
@media (max-width: 480px) {
  .auth-card {
    padding: 32px 24px 26px !important;
    border-radius: 16px !important;
  }
  .auth-title {
    font-size: 22px !important;
  }
  .auth-submit {
    max-width: 100% !important;
  }
}

/* Package 77 - Trend Search card-level actions */
.dashboard-body #section-search .result-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.dashboard-body #section-search .result-card-action.btn-card-action {
  appearance: none;
  border: 1px solid rgba(90, 126, 206, 0.42);
  background: linear-gradient(180deg, rgba(7, 12, 20, 0.96) 0%, rgba(5, 9, 16, 0.96) 100%);
  color: #d8e6ff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 10px;
  padding: 9px 10px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .12s ease;
}

.dashboard-body #section-search .result-card-action.btn-card-action:hover {
  border-color: rgba(108, 152, 244, 0.62);
  box-shadow: 0 0 0 1px rgba(78, 124, 230, 0.22), 0 8px 20px rgba(8, 18, 38, 0.5);
  transform: translateY(-1px);
}

.dashboard-body #section-search .result-card-action.btn-card-action:disabled {
  opacity: 0.62;
  cursor: default;
  transform: none;
  box-shadow: none;
}

@media (max-width: 840px) {
  .dashboard-body #section-search .result-card-actions {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════
   LANDING PAGE POLISH PASS — Professional-grade refinement
   ═══════════════════════════════════════════════════════════════ */

/* ── LP-1. Section rhythm & breathing room ── */
.home-premium .home-section {
  padding: 80px 0;
}
.home-premium .home-section-head {
  margin-bottom: 40px;
}
.home-premium .home-eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: rgba(100, 160, 255, 0.55);
  font-weight: 700;
  margin-bottom: 12px;
}
.home-premium .home-section h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.home-premium .home-hero-lead {
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(200, 210, 225, 0.72);
  line-height: 1.65;
}
.home-premium .home-section-sub {
  font-size: 15.5px;
  color: rgba(180, 195, 215, 0.50);
  margin-top: 10px;
  line-height: 1.55;
}

/* ── LP-2. Pillar cards: elevated, clean ── */
.home-premium .home-pillar {
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 16px;
  padding: 28px 24px;
  background: linear-gradient(180deg, rgba(15, 20, 35, 0.80), rgba(10, 14, 22, 0.60));
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.home-premium .home-pillar:hover {
  border-color: rgba(59, 130, 246, 0.22);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.20), 0 0 0 1px rgba(59, 130, 246, 0.06) inset;
  transform: translateY(-2px);
}
.home-premium .pillar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 20px;
  margin-bottom: 14px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.12);
  opacity: 1;
}
.home-premium .home-pillar h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #f0f2f8;
}
.home-premium .home-pillar p {
  font-size: 14px;
  color: rgba(180, 195, 215, 0.65);
  line-height: 1.6;
  margin: 8px 0 0;
}
.home-premium .pillar-cta {
  margin-top: 16px;
  font-size: 12px;
  padding: 7px 18px;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: inline-block;
  border: 1px solid rgba(59, 130, 246, 0.20);
  color: rgba(140, 180, 255, 0.80);
  background: rgba(59, 130, 246, 0.04);
  transition: all 0.2s ease;
}
.home-premium .pillar-cta:hover {
  border-color: rgba(59, 130, 246, 0.40);
  background: rgba(59, 130, 246, 0.10);
  color: rgba(180, 210, 255, 0.95);
}

/* ── LP-3. Pillar badges: refined ── */
.home-premium .pillar-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  padding: 3px 10px;
  border-radius: 5px;
  margin-bottom: 10px;
  background: rgba(59, 130, 246, 0.10);
  color: rgba(140, 180, 255, 0.75);
  border: 1px solid rgba(59, 130, 246, 0.15);
}
.home-premium .pillar-badge-pop {
  background: rgba(16, 185, 129, 0.10);
  color: rgba(110, 231, 183, 0.80);
  border-color: rgba(16, 185, 129, 0.18);
}
.home-premium .pillar-badge-hot {
  background: rgba(245, 158, 11, 0.10);
  color: rgba(252, 211, 77, 0.80);
  border-color: rgba(245, 158, 11, 0.18);
}

/* ── LP-4. Flow steps: polished numbering ── */
.home-premium .home-flow-step {
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 16px;
  padding: 24px 22px;
  background: linear-gradient(180deg, rgba(15, 20, 35, 0.80), rgba(10, 14, 22, 0.60));
  transition: border-color 0.25s ease, transform 0.25s ease;
  position: relative;
}
.home-premium .home-flow-step:hover {
  border-color: rgba(59, 130, 246, 0.20);
  transform: translateY(-2px);
}
.home-premium .home-flow-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(100, 160, 255, 0.80);
  background: rgba(59, 130, 246, 0.10);
  border: 1px solid rgba(59, 130, 246, 0.15);
}
.home-premium .home-flow-step h3 {
  font-size: 16px;
  font-weight: 700;
  color: #eef1f8;
  letter-spacing: -0.01em;
}
.home-premium .home-flow-step p {
  font-size: 13.5px;
  color: rgba(180, 195, 215, 0.60);
  line-height: 1.55;
  margin: 6px 0 0;
}

/* ── LP-5. Social proof bar: sharper ── */
.home-premium .home-proof-bar {
  padding: 32px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.05);
  border-bottom: 1px solid rgba(148, 163, 184, 0.05);
  background: rgba(10, 14, 22, 0.50);
}
.home-premium .proof-bar-inner {
  gap: 48px;
}
.home-premium .proof-bar-stat strong {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.home-premium .proof-bar-stat span {
  font-size: 11px;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.40);
  letter-spacing: 0.08em;
}
.home-premium .proof-bar-divider {
  width: 1px;
  height: 32px;
  background: rgba(148, 163, 184, 0.08);
}

/* ── LP-6. Script preview cards: refined ── */
.home-premium .script-preview-card {
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 14px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(15, 20, 35, 0.70), rgba(10, 14, 22, 0.50));
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.home-premium .script-preview-card:hover {
  border-color: rgba(148, 163, 184, 0.14);
}
.home-premium .script-preview-card.active {
  border-color: rgba(59, 130, 246, 0.40);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.12) inset, 0 4px 20px rgba(59, 130, 246, 0.06);
  background: linear-gradient(180deg, rgba(20, 28, 50, 0.80), rgba(12, 18, 32, 0.60));
}
.home-premium .script-preview-card header h3 {
  font-size: 16px;
  font-weight: 700;
  color: #eef1f8;
}
.home-premium .script-preview-card header span {
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(180, 195, 215, 0.65);
  background: rgba(10, 14, 22, 0.50);
}
.home-premium .script-hook {
  font-size: 14px;
  color: rgba(210, 220, 235, 0.85);
  font-style: italic;
  line-height: 1.5;
}
.home-premium .script-line {
  font-size: 12.5px;
  color: rgba(148, 163, 184, 0.50);
  line-height: 1.5;
}

/* ── LP-7. Ledger preview: refined ── */
.home-premium .home-ledger-preview {
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(15, 20, 35, 0.70), rgba(10, 14, 22, 0.50));
}
.home-premium .ledger-row {
  margin-top: 8px;
  border: 1px solid rgba(148, 163, 184, 0.06);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  color: rgba(180, 195, 215, 0.65);
  background: rgba(10, 14, 22, 0.40);
  transition: border-color 0.2s ease;
}
.home-premium .ledger-row:hover {
  border-color: rgba(148, 163, 184, 0.12);
}
.home-premium .ledger-row strong {
  color: rgba(100, 200, 140, 0.85);
  font-weight: 600;
}

/* ── LP-8. FAQ: premium accordion ── */
.home-premium .home-faq {
  max-width: 720px;
  gap: 8px;
}
.home-premium .home-faq details {
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 12px;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(15, 20, 35, 0.60), rgba(10, 14, 22, 0.40));
  transition: border-color 0.2s ease;
}
.home-premium .home-faq details:hover {
  border-color: rgba(148, 163, 184, 0.14);
}
.home-premium .home-faq details[open] {
  border-color: rgba(59, 130, 246, 0.18);
  background: linear-gradient(180deg, rgba(20, 28, 50, 0.50), rgba(12, 18, 32, 0.40));
}
.home-premium .home-faq summary {
  font-size: 15px;
  font-weight: 600;
  color: rgba(230, 235, 245, 0.90);
  cursor: pointer;
  padding: 2px 0;
}
.home-premium .home-faq p {
  font-size: 14px;
  color: rgba(180, 195, 215, 0.65);
  line-height: 1.6;
  margin: 10px 0 0;
}

/* ── LP-9. Final CTA: impactful ── */
.home-premium .home-final-cta {
  padding: 96px 0;
  text-align: center;
  background:
    radial-gradient(600px 280px at 50% 40%, rgba(59, 130, 246, 0.10), transparent 72%),
    rgba(8, 10, 18, 0.80);
  border-top: 1px solid rgba(59, 130, 246, 0.06);
}
.home-premium .home-final-cta h2 {
  font-size: clamp(26px, 3.2vw, 42px);
  letter-spacing: -0.03em;
  max-width: 16ch;
  margin: 0 auto;
}
.home-premium .home-final-cta p {
  font-size: 16px;
  color: rgba(180, 195, 215, 0.55);
  margin: 14px auto 0;
  max-width: 42ch;
  line-height: 1.55;
}
.home-premium .home-final-cta .home-hero-cta {
  justify-content: center;
  margin-top: 32px;
}

/* ── LP-10. Hero button: refined glow ── */
.home-premium .btn-hero-glow {
  position: relative;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 12px;
  box-shadow:
    0 0 20px rgba(59, 130, 246, 0.25),
    0 0 50px rgba(59, 130, 246, 0.08),
    0 0 0 1px rgba(59, 130, 246, 0.15) inset;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}
.home-premium .btn-hero-glow:hover {
  box-shadow:
    0 0 28px rgba(59, 130, 246, 0.40),
    0 0 70px rgba(59, 130, 246, 0.12),
    0 0 0 1px rgba(59, 130, 246, 0.25) inset;
  transform: translateY(-1px);
}

/* ── LP-11. Preview card: refined shadow ── */
.home-premium .home-preview {
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 20px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(18, 24, 40, 0.90), rgba(8, 11, 12, 0.95));
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.50), 0 0 0 1px rgba(59, 130, 246, 0.04) inset;
}

/* ── LP-12. Spotlight section: better text hierarchy ── */
.home-premium .home-spotlight-grid .home-hero-lead {
  color: rgba(180, 195, 215, 0.60);
}
.home-premium .bulleted-list {
  color: rgba(180, 195, 215, 0.58);
  font-size: 14px;
  line-height: 1.7;
}
.home-premium .bulleted-list li {
  margin-bottom: 6px;
}

/* ── LP-13. Creation modes 4-col: improved ── */
.home-premium .home-pillar-grid-4 {
  gap: 16px;
}
.home-premium .home-pillar-grid-4 .home-pillar {
  padding: 24px 20px;
}

/* ── LP-14. Wallet pills: refined ── */
.home-premium .wallet-pill {
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 12px;
  border: 1px solid rgba(148, 163, 184, 0.10);
  background: rgba(10, 14, 22, 0.50);
  color: rgba(200, 210, 225, 0.75);
}
.home-premium .wallet-pill-accent {
  border-color: rgba(59, 130, 246, 0.35);
  color: rgba(140, 180, 255, 0.85);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.10);
}

/* ── LP-15. Footer: cleaner ── */
.home-premium .site-footer {
  margin-top: 0;
  padding-top: 40px;
  background: rgba(6, 8, 14, 0.90);
  border-top: 1px solid rgba(148, 163, 184, 0.06);
}
.home-premium .footer-grid {
  gap: 24px;
}
.home-premium .footer-grid p {
  color: rgba(148, 163, 184, 0.45);
  font-size: 13px;
  line-height: 1.55;
}
.home-premium .footer-grid h3 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(200, 210, 225, 0.50);
  margin-bottom: 12px;
}
.home-premium .footer-grid a {
  color: rgba(180, 195, 215, 0.55);
  font-size: 13.5px;
  transition: color 0.15s ease;
}
.home-premium .footer-grid a:hover {
  color: rgba(220, 230, 245, 0.85);
}
.home-premium .footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.05);
  color: rgba(148, 163, 184, 0.30);
  font-size: 12px;
  padding: 14px 0 24px;
}

/* ── LP-16. Carousel: polished ── */
.home-premium .home-carousel-viewport {
  border-radius: 14px;
  overflow: hidden;
}
.home-premium .home-carousel-caption {
  padding: 16px 0 4px;
}
.home-premium .home-carousel-step {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: rgba(100, 160, 255, 0.55);
  margin: 0 0 6px;
}
.home-premium .home-carousel-caption h3 {
  font-size: 16px;
  font-weight: 700;
  color: #eef1f8;
  margin: 0 0 6px;
}
.home-premium .home-carousel-caption p {
  font-size: 13px;
  color: rgba(180, 195, 215, 0.55);
  line-height: 1.55;
  margin: 0;
}
.home-premium .home-carousel-nav {
  background: rgba(15, 20, 35, 0.80);
  border: 1px solid rgba(148, 163, 184, 0.10);
  border-radius: 10px;
  padding: 8px 12px;
  color: rgba(200, 210, 225, 0.70);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.home-premium .home-carousel-nav:hover {
  border-color: rgba(59, 130, 246, 0.30);
  background: rgba(59, 130, 246, 0.06);
  color: #fff;
}
.home-premium .home-carousel-dots button {
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(180, 195, 215, 0.45);
  cursor: pointer;
  transition: all 0.2s ease;
}
.home-premium .home-carousel-dots button.is-active {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.25);
  color: rgba(140, 180, 255, 0.85);
}
.home-premium .home-carousel-dots button:hover {
  border-color: rgba(148, 163, 184, 0.18);
  color: rgba(200, 210, 225, 0.70);
}

/* ── LP-17. Pricing cards: premium tier feel ── */
.home-premium .card-grid.cols-3 {
  gap: 16px;
}
.home-premium .price-card {
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 16px;
  padding: 28px 22px;
  background: linear-gradient(180deg, rgba(15, 20, 35, 0.80), rgba(10, 14, 22, 0.50));
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.home-premium .price-card:hover {
  border-color: rgba(148, 163, 184, 0.14);
  transform: translateY(-2px);
}
.home-premium .price-card.featured {
  border-color: rgba(59, 130, 246, 0.30);
  background: linear-gradient(180deg, rgba(20, 30, 55, 0.85), rgba(12, 18, 35, 0.60));
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.08);
}
.home-premium .price-card.featured:hover {
  border-color: rgba(59, 130, 246, 0.45);
}

/* ── LP-18. Responsive: mobile refinement ── */
@media (max-width: 560px) {
  .home-premium .home-section {
    padding: 56px 0;
  }
  .home-premium .home-section-head {
    margin-bottom: 28px;
  }
  .home-premium .home-pillar {
    padding: 20px 18px;
  }
  .home-premium .home-flow-step {
    padding: 18px 16px;
  }
  .home-premium .home-final-cta {
    padding: 64px 0;
  }
  .home-premium .proof-bar-inner {
    gap: 24px;
  }
  .home-premium .proof-bar-stat strong {
    font-size: 22px;
  }
  .home-premium .home-faq {
    gap: 6px;
  }
}

/* ═══ END LANDING PAGE POLISH PASS ═══ */



/* ═══════════════════════════════════════════════════════════════
   DASHBOARD DESIGN SYSTEM
   Inspired by Linear, Vercel, Stripe dark mode
   Warm blue-tinted dark palette with high readability
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. Panels ── */
.dashboard-body .panel-dark,
.dashboard-body .panel-subtle {
  padding: 20px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(148, 163, 184, 0.10) !important;
  background: rgba(15, 18, 30, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  transition: border-color 0.2s ease !important;
}
.dashboard-body .panel-dark:hover {
  border-color: rgba(148, 163, 184, 0.15) !important;
}
.dashboard-body .kpi-card {
  padding: 16px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(148, 163, 184, 0.08) !important;
  background: rgba(15, 18, 30, 0.70) !important;
  text-align: center !important;
}

/* ── 2. Layout ── */
.dashboard-body .section-panel.active {
  gap: 16px !important;
}
.dashboard-body .dash-main {
  padding: 22px 28px !important;
}

/* ── 3. Header ── */
.dashboard-body .dash-header {
  margin-bottom: 18px !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.06) !important;
  align-items: center !important;
}
.dashboard-body .dash-header h1 {
  font-size: 22px !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
  color: #EEF0F6 !important;
  margin-bottom: 2px !important;
}
.dashboard-body .dash-header p,
.dashboard-body .dash-header .muted-light {
  font-size: 13px !important;
  color: rgba(160, 175, 195, 0.60) !important;
  line-height: 1.5 !important;
}

/* ── 4. Wallet strip ── */
.dashboard-body .top-wallet-strip {
  gap: 8px !important;
}
.dashboard-body .top-wallet-pill {
  padding: 5px 12px !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  border-radius: 7px !important;
  border: 1px solid rgba(148, 163, 184, 0.10) !important;
  background: rgba(15, 18, 30, 0.60) !important;
  color: rgba(200, 210, 230, 0.65) !important;
  letter-spacing: 0.01em !important;
}
.dashboard-body .status-chip {
  padding: 4px 10px !important;
  font-size: 11px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
}

/* ── 5. Sidebar ── */
.dashboard-body .dash-sidebar {
  padding: 16px 12px !important;
  background: rgba(8, 10, 18, 0.95) !important;
  border-right: 1px solid rgba(148, 163, 184, 0.07) !important;
}
.dashboard-body .dash-nav {
  gap: 2px !important;
}
.dashboard-body .dash-nav-btn {
  border-radius: 8px !important;
  padding: 9px 12px !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: rgba(180, 195, 215, 0.55) !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  transition: all 0.15s ease !important;
}
.dashboard-body .dash-nav-btn:hover {
  color: rgba(200, 215, 235, 0.75) !important;
  background: rgba(59, 130, 246, 0.05) !important;
}
.dashboard-body .dash-nav-btn.active {
  color: #FFFFFF !important;
  background: rgba(59, 130, 246, 0.10) !important;
  border-color: rgba(59, 130, 246, 0.18) !important;
  font-weight: 600 !important;
}
.dashboard-body .dash-nav-group-title {
  font-size: 10px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.10em !important;
  color: rgba(148, 163, 184, 0.30) !important;
  margin: 16px 0 6px !important;
  padding-left: 12px !important;
}
.dashboard-body .dash-utility-link {
  font-size: 13px !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  color: rgba(160, 175, 195, 0.45) !important;
}
.dashboard-body .dash-utility-link:hover {
  color: rgba(180, 195, 215, 0.65) !important;
}

/* ── 6. Profile card ── */
.dashboard-body .dash-profile-btn {
  padding: 10px 12px !important;
  border-radius: 10px !important;
  gap: 10px !important;
  border: 1px solid rgba(148, 163, 184, 0.08) !important;
  background: rgba(59, 130, 246, 0.04) !important;
}
.dashboard-body .dash-profile-btn:hover {
  border-color: rgba(59, 130, 246, 0.14) !important;
}
.dashboard-body .dash-profile-avatar {
  width: 30px !important;
  height: 30px !important;
  font-size: 12px !important;
  border-radius: 8px !important;
  background: rgba(59, 130, 246, 0.14) !important;
  color: rgba(130, 175, 255, 0.85) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 700 !important;
}
.dashboard-body .dash-profile-name {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: rgba(220, 230, 245, 0.80) !important;
}
.dashboard-body .dash-profile-plan {
  font-size: 10px !important;
  color: rgba(148, 163, 184, 0.40) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  font-weight: 600 !important;
}

/* ── 7. Typography ── */
.dashboard-body h2 {
  font-size: 17px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  color: rgba(230, 238, 255, 0.90) !important;
}
.dashboard-body h3 {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: rgba(220, 230, 248, 0.85) !important;
}
.dashboard-body h4 {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: rgba(200, 212, 232, 0.70) !important;
}
.dashboard-body .muted-light {
  font-size: 12.5px !important;
  color: rgba(160, 175, 195, 0.55) !important;
  line-height: 1.5 !important;
}
.dashboard-body .tiny-muted {
  font-size: 10.5px !important;
  color: rgba(148, 163, 184, 0.38) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  font-weight: 600 !important;
}

/* ── 8. Buttons ── */
.dashboard-body .btn {
  border-radius: 9px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 9px 18px !important;
  transition: all 0.15s ease !important;
  cursor: pointer !important;
  border: 1px solid rgba(148, 163, 184, 0.12) !important;
  background: rgba(15, 18, 30, 0.60) !important;
  color: rgba(210, 220, 240, 0.78) !important;
}
.dashboard-body .btn:hover {
  border-color: rgba(148, 163, 184, 0.20) !important;
  color: rgba(225, 235, 255, 0.90) !important;
}
.dashboard-body .btn-sm {
  padding: 6px 14px !important;
  font-size: 12px !important;
  border-radius: 7px !important;
}
.dashboard-body .btn-solid {
  background: linear-gradient(180deg, #3B82F6, #2563EB) !important;
  border: 1px solid rgba(59, 130, 246, 0.50) !important;
  color: #FFFFFF !important;
  box-shadow: 0 1px 4px rgba(37, 99, 235, 0.20) !important;
}
.dashboard-body .btn-solid:hover {
  background: linear-gradient(180deg, #4A90F7, #3B82F6) !important;
  box-shadow: 0 3px 12px rgba(37, 99, 235, 0.30) !important;
}

/* ── 9. Form controls ── */
.dashboard-body input[type="text"],
.dashboard-body input[type="email"],
.dashboard-body input[type="password"],
.dashboard-body input[type="number"],
.dashboard-body input[type="url"],
.dashboard-body select,
.dashboard-body textarea {
  padding: 9px 12px !important;
  font-size: 13.5px !important;
  border-radius: 9px !important;
  border: 1px solid rgba(148, 163, 184, 0.12) !important;
  background: rgba(6, 8, 16, 0.70) !important;
  color: rgba(220, 230, 248, 0.88) !important;
  transition: border-color 0.15s ease !important;
}
.dashboard-body input:focus,
.dashboard-body select:focus,
.dashboard-body textarea:focus {
  border-color: rgba(59, 130, 246, 0.45) !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.08) !important;
}
.dashboard-body label {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: rgba(160, 175, 195, 0.50) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 5px !important;
  display: block !important;
}

/* ── 10. Grids ── */
.dashboard-body .overview-grid,
.dashboard-body .form-grid,
.dashboard-body .panel-dark-grid,
.dashboard-body .result-grid {
  gap: 12px !important;
}

/* ── 11. KPI ── */
.dashboard-body .kpi-label {
  font-size: 10px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.07em !important;
  color: rgba(148, 163, 184, 0.42) !important;
  margin-bottom: 5px !important;
}
.dashboard-body .kpi-value {
  font-size: 24px !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
  color: #EEF0F8 !important;
}

/* ── 12. Panel rows ── */
.dashboard-body .panel-row {
  gap: 12px !important;
  align-items: center !important;
}
.dashboard-body .panel-row.between {
  justify-content: space-between !important;
}
.dashboard-body .button-row {
  gap: 8px !important;
  flex-wrap: wrap !important;
}

/* ═══════════════════════════════════════════════════════════
   13. CHIPS — HIGH CONTRAST, NO GLOW, NO OVERLAP
   ═══════════════════════════════════════════════════════════ */

/* Chip grid containers */
.dashboard-body .chip-grid,
.dashboard-body #categoryWrap,
.dashboard-body #autoTrendCategoryWrap {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  overflow: visible !important;
}

/* All chips — readable inactive state */
.dashboard-body .chip,
.dashboard-body .home-chip,
.dashboard-body #categoryWrap .chip,
.dashboard-body #autoTrendCategoryWrap .chip {
  padding: 7px 15px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  border-radius: 999px !important;
  border: 1px solid rgba(148, 163, 184, 0.15) !important;
  background: rgba(20, 25, 40, 0.70) !important;
  color: rgba(195, 210, 232, 0.75) !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: unset !important;
  max-width: none !important;
  cursor: pointer !important;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease !important;
  line-height: 1.25 !important;
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  box-shadow: none !important;
}

/* Chip hover — slightly brighter */
.dashboard-body .chip:hover:not(.active),
.dashboard-body #categoryWrap .chip:hover:not(.active),
.dashboard-body #autoTrendCategoryWrap .chip:hover:not(.active) {
  border-color: rgba(148, 163, 184, 0.24) !important;
  color: rgba(215, 225, 245, 0.85) !important;
  background: rgba(25, 32, 52, 0.80) !important;
}

/* Chip active — clean blue, NO box-shadow glow */
.dashboard-body .chip.active,
.dashboard-body #categoryWrap .chip.active,
.dashboard-body #autoTrendCategoryWrap .chip.active {
  border-color: rgba(59, 130, 246, 0.55) !important;
  background: rgba(59, 130, 246, 0.14) !important;
  color: #FFFFFF !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

/* Kill ALL pseudo-element glow dots on chips — this is the overlap fix */
.dashboard-body .chip::after,
.dashboard-body .chip::before,
.dashboard-body #categoryWrap .chip::after,
.dashboard-body #categoryWrap .chip::before,
.dashboard-body #autoTrendCategoryWrap .chip::after,
.dashboard-body #autoTrendCategoryWrap .chip::before,
.dashboard-body #section-search .chip::after,
.dashboard-body #section-search .chip::before {
  content: none !important;
  display: none !important;
}

/* ── 14. Home hero panel ── */
.dashboard-body .home-hero-panel {
  padding: 24px !important;
}
.dashboard-body .home-hero-panel h2 {
  font-size: 20px !important;
  font-weight: 700 !important;
}

/* ── 15. Empty states ── */
.dashboard-body .empty-state-card {
  padding: 32px !important;
  text-align: center !important;
  border-style: dashed !important;
  border-color: rgba(148, 163, 184, 0.08) !important;
  border-radius: 12px !important;
}

/* ── 16. Scrollbar ── */
.dashboard-body ::-webkit-scrollbar { width: 6px; height: 6px; }
.dashboard-body ::-webkit-scrollbar-track { background: transparent; }
.dashboard-body ::-webkit-scrollbar-thumb { background: rgba(148, 163, 184, 0.12); border-radius: 3px; }
.dashboard-body ::-webkit-scrollbar-thumb:hover { background: rgba(148, 163, 184, 0.22); }

/* ── 17. Transitions ── */
.dashboard-body .panel-dark,
.dashboard-body .kpi-card,
.dashboard-body .btn,
.dashboard-body .chip,
.dashboard-body .dash-nav-btn {
  transition: all 0.15s ease !important;
}

/* ── 18. Mode switch ── */
.dashboard-body .mode-switch {
  border-radius: 10px !important;
  border: 1px solid rgba(148, 163, 184, 0.12) !important;
  background: rgba(10, 12, 22, 0.70) !important;
  overflow: hidden !important;
}
.dashboard-body .mode-btn {
  padding: 8px 15px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: rgba(180, 195, 215, 0.45) !important;
  transition: all 0.15s ease !important;
  border: none !important;
  background: transparent !important;
}
.dashboard-body .mode-btn.active {
  background: rgba(59, 130, 246, 0.14) !important;
  color: #FFFFFF !important;
}
.dashboard-body .mode-btn:hover:not(.active) {
  color: rgba(200, 215, 235, 0.65) !important;
}

/* ── 19. Form grid 2-col for automaker ── */
.dashboard-body .automaker-mode-panel .form-grid {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
}

/* ── 20. Group title ── */
.dashboard-body .group-title {
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.07em !important;
  color: rgba(148, 163, 184, 0.40) !important;
  margin-bottom: 10px !important;
  margin-top: 6px !important;
}

/* ── 21. Toggle rows ── */
.dashboard-body .toggle-row {
  padding: 5px 0 !important;
}
.dashboard-body .toggle-row label,
.dashboard-body .toggle-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: rgba(190, 205, 225, 0.65) !important;
  cursor: pointer !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.dashboard-body .toggle-row input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  border-radius: 4px !important;
  accent-color: #3B82F6 !important;
  cursor: pointer !important;
}
.dashboard-body .help-tip {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 16px !important;
  height: 16px !important;
  border-radius: 50% !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  color: rgba(148, 163, 184, 0.40) !important;
  border: 1px solid rgba(148, 163, 184, 0.14) !important;
  background: transparent !important;
  cursor: help !important;
  flex-shrink: 0 !important;
}

/* ── 22. Automaker panel header ── */
.dashboard-body .automaker-panel-header {
  margin-bottom: 16px !important;
  padding-bottom: 12px !important;
}

/* ── 23. Insight/output box ── */
.dashboard-body .insight-box,
.dashboard-body pre {
  padding: 14px 16px !important;
  font-size: 12.5px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(148, 163, 184, 0.07) !important;
  background: rgba(6, 8, 16, 0.65) !important;
  color: rgba(180, 195, 215, 0.58) !important;
  line-height: 1.55 !important;
  font-family: 'SF Mono', 'Cascadia Code', 'Fira Code', monospace !important;
  overflow-x: auto !important;
  white-space: pre-wrap !important;
  word-break: break-word !important;
}

/* ── 24. Search diagnostics ── */
.dashboard-body .search-diagnostics-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 10px !important;
}
.dashboard-body .search-diag-card {
  border-radius: 10px !important;
  padding: 14px !important;
  background: rgba(15, 18, 30, 0.55) !important;
  border: 1px solid rgba(148, 163, 184, 0.06) !important;
}
.dashboard-body .diag-value {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: rgba(200, 215, 240, 0.72) !important;
  margin: 4px 0 0 !important;
}

/* ── 25. Automaker mode cards ── */
.dashboard-body .automaker-mode-card {
  border: 1px solid rgba(148, 163, 184, 0.08) !important;
  border-radius: 12px !important;
  background: rgba(15, 18, 30, 0.70) !important;
  transition: border-color 0.15s ease !important;
}
.dashboard-body .automaker-mode-card:hover {
  border-color: rgba(148, 163, 184, 0.14) !important;
}
.dashboard-body .automaker-mode-card.active,
.dashboard-body .automaker-mode-card.selected {
  border-color: rgba(59, 130, 246, 0.35) !important;
  background: rgba(59, 130, 246, 0.06) !important;
}

/* ── 26. Responsive ── */
@media (max-width: 940px) {
  .dashboard-body .dash-main { padding: 18px !important; }
  .dashboard-body .panel-dark { padding: 16px !important; }
  .dashboard-body .dash-header h1 { font-size: 19px !important; }
  .dashboard-body .search-diagnostics-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 560px) {
  .dashboard-body .dash-main { padding: 12px !important; }
  .dashboard-body .panel-dark { padding: 14px !important; }
  .dashboard-body .kpi-value { font-size: 20px !important; }
  .dashboard-body .search-diagnostics-grid { grid-template-columns: 1fr !important; }
  .dashboard-body .automaker-mode-panel .form-grid { grid-template-columns: 1fr !important; }
  .dashboard-body .chip,
  .dashboard-body #categoryWrap .chip,
  .dashboard-body #autoTrendCategoryWrap .chip {
    padding: 6px 13px !important;
    font-size: 12px !important;
  }
}

/* ═══ END DASHBOARD DESIGN SYSTEM ═══ */

/* ═══════════════════════════════════════════════════════════════
   DASHBOARD VISUAL RESTORE (FINAL OVERRIDE)
   - Restores glow points
   - Cleans heavy box feel
   - Keeps dark premium look
   ═══════════════════════════════════════════════════════════════ */

.dashboard-body {
  background: #06080f !important;
  background-image:
    radial-gradient(900px 420px at 78% -12%, rgba(41, 92, 255, 0.11), transparent 66%),
    radial-gradient(640px 360px at 12% 6%, rgba(19, 56, 155, 0.09), transparent 70%) !important;
}

.dashboard-body .dash-sidebar {
  background: linear-gradient(180deg, rgba(6, 8, 14, 0.98), rgba(5, 7, 13, 0.96)) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.dashboard-body .dash-main {
  background: rgba(3, 5, 10, 0.48) !important;
}

.dashboard-body .panel-dark,
.dashboard-body .panel-subtle,
.dashboard-body .kpi-card {
  border-color: rgba(255, 255, 255, 0.07) !important;
  background:
    linear-gradient(180deg, rgba(12, 16, 28, 0.8), rgba(8, 11, 20, 0.72)) !important;
  box-shadow: none !important;
}

.dashboard-body .panel-dark:hover,
.dashboard-body .kpi-card:hover {
  border-color: rgba(58, 111, 255, 0.3) !important;
}

.dashboard-body .dash-nav-btn {
  border: 1px solid transparent !important;
  background: transparent !important;
  color: rgba(220, 231, 255, 0.72) !important;
  position: relative !important;
  overflow: hidden !important;
}

.dashboard-body .dash-nav-btn:hover:not(.active) {
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  color: rgba(240, 245, 255, 0.92) !important;
}

.dashboard-body .dash-nav-btn.active {
  border-color: rgba(64, 126, 255, 0.62) !important;
  background:
    linear-gradient(90deg, rgba(18, 38, 92, 0.86), rgba(9, 18, 42, 0.78)) !important;
  color: #f7fbff !important;
  box-shadow:
    inset 0 0 0 1px rgba(37, 99, 235, 0.35),
    0 0 24px rgba(37, 99, 235, 0.18) !important;
}

.dashboard-body .dash-nav-btn.active::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 7px !important;
  bottom: 7px !important;
  width: 3px !important;
  border-radius: 0 3px 3px 0 !important;
  background: linear-gradient(180deg, #4f9cff, #2a67ff) !important;
  box-shadow: 0 0 8px rgba(79, 156, 255, 0.62) !important;
}

.dashboard-body .dash-nav-btn::after {
  content: "" !important;
  position: absolute !important;
  right: 11px !important;
  top: 50% !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  transform: translateY(-50%) !important;
  background: rgba(120, 155, 230, 0.3) !important;
  box-shadow: none !important;
  opacity: 0 !important;
  transition: opacity 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.dashboard-body .dash-nav-btn.active::after {
  opacity: 1 !important;
  background: #4f9cff !important;
  box-shadow: 0 0 9px rgba(79, 156, 255, 0.85), 0 0 18px rgba(79, 156, 255, 0.38) !important;
}

/* Category / chip glow point restore */
.dashboard-body .chip,
.dashboard-body #categoryWrap .chip,
.dashboard-body #autoTrendCategoryWrap .chip {
  padding: 7px 30px 7px 14px !important;
  position: relative !important;
  border-color: rgba(255, 255, 255, 0.11) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  color: rgba(220, 229, 247, 0.84) !important;
}

.dashboard-body .chip::after,
.dashboard-body #categoryWrap .chip::after,
.dashboard-body #autoTrendCategoryWrap .chip::after,
.dashboard-body #section-search .chip::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  right: 10px !important;
  top: 50% !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  transform: translateY(-50%) !important;
  background: rgba(156, 178, 230, 0.34) !important;
  box-shadow: none !important;
  pointer-events: none !important;
}

.dashboard-body .chip.active,
.dashboard-body #categoryWrap .chip.active,
.dashboard-body #autoTrendCategoryWrap .chip.active {
  border-color: rgba(73, 135, 255, 0.64) !important;
  background:
    linear-gradient(180deg, rgba(20, 45, 108, 0.7), rgba(9, 18, 45, 0.68)) !important;
  color: #ffffff !important;
  box-shadow: 0 0 18px rgba(37, 99, 235, 0.22) !important;
}

.dashboard-body .chip.active::after,
.dashboard-body #categoryWrap .chip.active::after,
.dashboard-body #autoTrendCategoryWrap .chip.active::after,
.dashboard-body #section-search .chip.active::after {
  background: #5aa6ff !important;
  box-shadow: 0 0 9px rgba(90, 166, 255, 0.88), 0 0 16px rgba(46, 112, 255, 0.42) !important;
}

.dashboard-body .mode-btn.active {
  background: linear-gradient(180deg, rgba(22, 49, 119, 0.92), rgba(10, 21, 58, 0.84)) !important;
  border-color: rgba(71, 138, 255, 0.52) !important;
  box-shadow: inset 0 0 0 1px rgba(53, 117, 255, 0.44), 0 0 12px rgba(53, 117, 255, 0.2) !important;
}

.dashboard-body .btn-solid {
  background: linear-gradient(180deg, #2868f0, #1d4fd0) !important;
  border-color: rgba(78, 132, 255, 0.56) !important;
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.28) !important;
}

.dashboard-body .btn-solid:hover {
  background: linear-gradient(180deg, #3372f4, #2359de) !important;
  box-shadow: 0 0 18px rgba(37, 99, 235, 0.34) !important;
}

/* Premium density + hierarchy tune */
.dashboard-body {
  --vrd-text-primary: #edf2ff;
  --vrd-text-secondary: rgba(214, 223, 242, 0.78);
  --vrd-text-muted: rgba(170, 183, 210, 0.58);
  --vrd-border-soft: rgba(220, 230, 255, 0.08);
  --vrd-border-strong: rgba(78, 132, 255, 0.44);
  --vrd-surface-1: rgba(12, 16, 26, 0.86);
  --vrd-surface-2: rgba(16, 21, 34, 0.82);
}

.dashboard-body .dash-layout {
  grid-template-columns: 266px minmax(0, 1fr) !important;
}

.dashboard-body.sidebar-collapsed .dash-layout {
  grid-template-columns: 84px minmax(0, 1fr) !important;
}

.dashboard-body .dash-header {
  margin-bottom: 20px !important;
  padding-bottom: 12px !important;
}

.dashboard-body .dash-header h1 {
  font-size: clamp(30px, 3.8vw, 46px) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.03em !important;
  color: var(--vrd-text-primary) !important;
}

.dashboard-body .dash-header p,
.dashboard-body .muted-light {
  color: var(--vrd-text-secondary) !important;
  line-height: 1.5 !important;
}

.dashboard-body .tiny-muted,
.dashboard-body .group-title,
.dashboard-body .kpi-label {
  color: var(--vrd-text-muted) !important;
}

.dashboard-body .dash-main {
  padding: 26px clamp(18px, 2.2vw, 34px) !important;
}

.dashboard-body .section-panel.active {
  gap: 18px !important;
}

.dashboard-body .panel-dark,
.dashboard-body .panel-subtle {
  padding: 18px !important;
  border-radius: 14px !important;
  background: linear-gradient(180deg, var(--vrd-surface-1), var(--vrd-surface-2)) !important;
}

.dashboard-body .panel-dark .panel-dark,
.dashboard-body .panel-dark .panel-subtle {
  background: rgba(10, 14, 24, 0.7) !important;
  border-color: rgba(220, 230, 255, 0.07) !important;
}

.dashboard-body .overview-grid,
.dashboard-body .panel-dark-grid,
.dashboard-body .result-grid,
.dashboard-body .search-diagnostics-grid {
  gap: 12px !important;
}

.dashboard-body .kpi-card {
  border-radius: 12px !important;
  border-color: var(--vrd-border-soft) !important;
  background: linear-gradient(180deg, rgba(15, 20, 31, 0.82), rgba(10, 14, 24, 0.76)) !important;
}

.dashboard-body .kpi-value {
  font-size: clamp(24px, 2.7vw, 34px) !important;
  line-height: 1.1 !important;
  color: var(--vrd-text-primary) !important;
}

.dashboard-body .btn,
.dashboard-body .btn-solid,
.dashboard-body .btn-outline-dark,
.dashboard-body .btn-ghost,
.dashboard-body .btn-ghost-dark {
  min-height: 38px !important;
  border-radius: 10px !important;
  padding: 8px 14px !important;
}

.dashboard-body input[type="text"],
.dashboard-body input[type="email"],
.dashboard-body input[type="password"],
.dashboard-body input[type="number"],
.dashboard-body input[type="url"],
.dashboard-body input[type="datetime-local"],
.dashboard-body select,
.dashboard-body textarea {
  min-height: 40px !important;
  border-radius: 10px !important;
  border-color: var(--vrd-border-soft) !important;
  background: rgba(8, 12, 20, 0.86) !important;
  color: var(--vrd-text-primary) !important;
}

.dashboard-body label {
  font-size: 12px !important;
  color: var(--vrd-text-secondary) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  margin-bottom: 6px !important;
}

.dashboard-body .result-card,
.dashboard-body .ready-script-card,
.dashboard-body .top-video-list li,
.dashboard-body .search-diag-card {
  border-color: var(--vrd-border-soft) !important;
  background: linear-gradient(180deg, rgba(14, 18, 29, 0.84), rgba(10, 14, 22, 0.74)) !important;
}

.dashboard-body .result-card h4,
.dashboard-body .ready-script-title {
  color: var(--vrd-text-primary) !important;
}

.dashboard-body .result-card p,
.dashboard-body .ready-script-scene,
.dashboard-body .search-diag-card p,
.dashboard-body .top-video-list li {
  color: var(--vrd-text-secondary) !important;
}

.dashboard-body .status-chip,
.dashboard-body .badge {
  border-color: rgba(85, 142, 255, 0.42) !important;
  background: rgba(17, 37, 88, 0.44) !important;
  color: #dce8ff !important;
}

.dashboard-body .dash-utility-link,
.dashboard-body .dash-utility-billing {
  border: 1px solid transparent !important;
  border-radius: 10px !important;
}

.dashboard-body .dash-utility-link:hover,
.dashboard-body .dash-utility-billing:hover {
  border-color: rgba(255, 255, 255, 0.08) !important;
  background: rgba(255, 255, 255, 0.03) !important;
}

@media (max-width: 1180px) {
  .dashboard-body .dash-main {
    padding: 20px 16px !important;
  }
}

@media (max-width: 1024px) {
  .dashboard-body .dash-layout,
  .dashboard-body.sidebar-collapsed .dash-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
