/*
  SurfStats base styles
  --------------------
  Theme: Bootstrap 5.3.8 defaults for light mode + an Surfstats-inspired dark mode.
  We keep most styling Bootstrap-native and layer on:
  - small compatibility aliases (the --vq-* tokens map to Bootstrap variables)
  - structural/layout helpers used by the app shell and Home/Index showcases
  - dark-mode variable overrides and component styling for the shared shell
*/

/* Compatibility aliases (do not change Bootstrap; just map to it) */
:root{
  --vq-bg: var(--bs-body-bg);
  --vq-bg-2: var(--bs-body-bg);
  --vq-surface: var(--bs-body-bg);
  --vq-surface-2: var(--bs-tertiary-bg);
  --vq-surface-solid: var(--bs-body-bg);
  --vq-surface-elev: var(--bs-tertiary-bg);
  --vq-text: var(--bs-body-color);
  --vq-muted: var(--bs-secondary-color);
  --vq-border: var(--bs-border-color);
  --vq-primary: var(--bs-primary);
  --vq-primary-2: var(--bs-primary);
  --vq-radius: var(--bs-border-radius);
  --vq-shadow: none;
}

/* Base */
.vq-body{ min-height: 100vh; }
body.vq-app{
  height: 100dvh;
  overflow: hidden;
}
/* When the public top nav is fixed, add a safe spacer so content doesn't hide under it */
body.vq-has-fixed-topnav{ padding-top: var(--vq-topnav-h, 72px); }
.vq-nav{ background-color: var(--bs-body-bg); }

/* Logo */
.vq-logo{
  font-weight: 800;
  letter-spacing: -.03em;
  display:inline-flex;
  align-items:center;
  gap:.5rem;
}
.vq-logo-sm{ font-size: 1.05rem; }

.vq-brandmark{
  display:inline-block;
  width:auto;
  height:40px;
  object-fit:contain;
  vertical-align:middle;
  flex:0 0 auto;
}
.vq-brandmark-sm{
  height:32px;
}
.vq-brandwrap{
  display:inline-flex;
  align-items:center;
  line-height:0;
  flex:0 0 auto;
}
.vq-brandmark-dark{
  display:none;
}
html[data-bs-theme="dark"] .vq-brandmark-light{
  display:none;
}
html[data-bs-theme="dark"] .vq-brandmark-dark{
  display:inline-block;
}

/* ---------- App shell (sidebar + content) ---------- */
.vq-app-shell{
  --sd-app-sidebar-width: 280px;
  display:grid;
  grid-template-columns: var(--sd-app-sidebar-width) minmax(0, 1fr);
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
}
@media (max-width: 991.98px){
  .vq-app-shell{ grid-template-columns: 1fr; }
}

.vq-sidebar-mobile-head{
  display: none;
}

.vq-sidebar-backdrop{
  display: none;
}

.vq-sidebar{
  background-color: var(--bs-tertiary-bg);
  position: sticky;
  top: 0;
  height: 100dvh;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.vq-main{
  min-width: 0;
  min-height: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.vq-app-topbar{
  background-color: var(--bs-body-bg);
  position: sticky;
  top: 0;
  z-index: 1020;
  flex: 0 0 auto;
}
.vq-app-content{
  padding: 0;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}


@media (max-width: 991.98px){
  body.vq-mobile-sidebar-open{
    overflow: hidden;
  }

  .vq-app-shell{
    position: relative;
  }

  .vq-sidebar{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(86vw, 320px);
    height: 100dvh;
    max-height: 100dvh;
    z-index: 1045;
    transform: translateX(-105%);
    transition: transform .22s ease;
    box-shadow: 0 1rem 3rem rgba(0,0,0,.35);
    border-right: var(--bs-border-width) solid var(--bs-border-color);
  }

  .vq-app-shell.vq-sidebar-open .vq-sidebar{
    transform: translateX(0);
  }

  .vq-sidebar-mobile-head{
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .75rem 1rem;
    background: var(--bs-body-bg);
    border-bottom: var(--bs-border-width) solid var(--bs-border-color);
  }

  .vq-sidebar-backdrop{
    position: fixed;
    inset: 0;
    z-index: 1040;
    display: block;
    opacity: 0;
    pointer-events: none;
    background: rgba(0,0,0,.48);
    transition: opacity .22s ease;
  }

  .vq-app-shell.vq-sidebar-open .vq-sidebar-backdrop{
    opacity: 1;
    pointer-events: auto;
  }

  .vq-main{
    width: 100%;
  }

  .vq-app-topbar{
    z-index: 1030;
  }
}

@media (min-width: 992px){
  .vq-sidebar-backdrop,
  .vq-sidebar-mobile-head{
    display: none !important;
  }
}

/* Sidebar links */
.vq-navgroup .vq-side-link{
  width: 100%;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .55rem .65rem;
  border-radius: var(--bs-border-radius);
  text-decoration: none;
  color: var(--bs-body-color);
  opacity: 1;
  border: var(--bs-border-width) solid transparent;
}
.vq-navgroup .vq-side-link:hover,
.vq-navgroup .vq-side-link:focus{
  opacity: 1;
  background: var(--bs-secondary-bg);
  border-color: var(--bs-border-color);
  color: var(--bs-body-color);
}
.vq-navgroup .vq-side-link.active{
  opacity: 1;
  background: var(--bs-primary-bg-subtle);
  border-color: var(--bs-primary-border-subtle);
  color: var(--bs-body-color);
}
.display-5 {
    font-size: calc(0.125rem + 2.1vw);
    font-size: calc(0.02rem + 2.1vw);
}

.vq-navgroup .vq-side-link-button{
  justify-content: space-between;
  background: transparent;
}
.vq-navgroup .vq-side-link-button .vq-story-caret{
  transition: transform .2s ease;
}
.vq-navgroup .vq-side-link-button.story-open .vq-story-caret{
  transform: rotate(180deg);
}
.vq-story-submenu{
  display: none;
  padding-left: .65rem;
  margin-top: .25rem;
}
.vq-story-submenu.show{
  display: block;
}
.vq-navgroup .vq-side-link-sub{
  font-size: .95rem;
  padding-top: .45rem;
  padding-bottom: .45rem;
  padding-left: 2rem;
  opacity: .8;
}

/* ---------- Common app helpers ---------- */
.vq-glass,
.vq-card{
  background: var(--bs-body-bg);
  border: var(--bs-border-width) solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
}

.vq-card{
  padding: 1rem;
}

.vq-icon{
  width: 44px;
  height: 44px;
  border-radius: var(--bs-border-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bs-secondary-bg);
  border: var(--bs-border-width) solid var(--bs-border-color);
}

.vq-pill,
.vq-pill-sm{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  border-radius: 999px;
  border: var(--bs-border-width) solid var(--bs-border-color);
  background: var(--bs-tertiary-bg);
  color: var(--bs-body-color);
  font-weight: 600;
}
.vq-pill{ padding: .35rem .6rem; font-size: .875rem; }
.vq-pill-sm{ padding: .2rem .5rem; font-size: .78rem; }

.vq-badge-soft{
  display:inline-flex;
  align-items:center;
  border-radius: 999px;
  padding: .18rem .5rem;
  font-weight: 600;
  font-size: .78rem;
  background: var(--bs-secondary-bg);
  border: var(--bs-border-width) solid var(--bs-border-color);
  color: var(--bs-body-color);
}

/* ---------- Scriptwriter duration preset buttons ---------- */
.vq-duration-preset{ min-width: 56px; }

/* ---------- Global showcases (Home/Index) ---------- */
.vq-thumb-grid{ overflow: visible; }

.vq-thumb-tile{
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--bs-border-radius);
  overflow: hidden;
  border: var(--bs-border-width) solid var(--bs-border-color);
  background: var(--bs-tertiary-bg);
  display:flex;
  align-items:center;
  justify-content:center;
}
.vq-thumb-tile img,
.vq-thumb-tile video{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.vq-square-tile{
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--bs-border-radius);
  overflow: hidden;
  border: var(--bs-border-width) solid var(--bs-border-color);
  background: var(--bs-tertiary-bg);
  display:flex;
  align-items:center;
  justify-content:center;
}
.vq-square-tile img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.vq-thumb-meta{ min-height: 74px; }

.vq-play-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  pointer-events:none;
  color:#fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}

/* ---------- Loading overlay ---------- */
.vq-loading-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.vq-loading-overlay.show{ display:flex; }

.vq-loading-content{
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
  padding: 2rem 3rem;
  border-radius: var(--bs-border-radius);
  text-align: center;
  border: var(--bs-border-width) solid var(--bs-border-color);
}
.vq-spinner{
  width: 50px;
  height: 50px;
  border: 4px solid rgba(0,0,0,.12);
  border-top: 4px solid var(--bs-primary);
  border-radius: 50%;
  animation: vq-spin 1s linear infinite;
  margin: 0 auto 1rem;
}
@keyframes vq-spin{ to{ transform: rotate(360deg); } }


/* ---------- Index2 (legacy home) template styles ---------- */
.vq-legacy-body{
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: radial-gradient(1200px 800px at 20% 0%, rgba(167,139,250,.18), transparent 60%),
                radial-gradient(1100px 700px at 90% 20%, rgba(96,165,250,.14), transparent 55%),
                radial-gradient(900px 600px at 50% 100%, rgba(247,201,72,.10), transparent 60%),
                var(--vq-bg);
    color: var(--vq-text);
    min-height: 100vh;
    overflow: hidden;
}

.vq-legacy-announcement{
    height: 40px;
    display:flex;
    align-items:center;
    background: rgba(255,255,255,.04);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.vq-legacy-announcement-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 12px;
}
.vq-legacy-announcement-text{
    color: rgba(255,255,255,.75);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -.01em;
}
.vq-legacy-announcement-link{
    color: rgba(255,255,255,.9);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display:inline-flex;
    align-items:center;
    gap: 4px;
}
.vq-legacy-announcement-link:hover{ color: #fff; }

.vq-legacy-topbar{
    height: 56px;
    display:flex;
    align-items:center;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(10,11,15,.72);
    backdrop-filter: blur(12px);
}
.vq-legacy-brand{ color: rgba(255,255,255,.92); }
.vq-legacy-brand:hover{ color:#fff; }

.vq-legacy-pill-link{
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    color: rgba(255,255,255,.85);
}
.vq-legacy-pill-link:hover{ background: rgba(255,255,255,.10); color:#fff; }

.vq-legacy-btn-ghost{
    background: transparent;
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.86);
    border-radius: 10px;
    padding: 6px 12px;
}
.vq-legacy-btn-ghost:hover{
    background: rgba(255,255,255,.06);
    color:#fff;
    border-color: rgba(255,255,255,.18);
}
.vq-legacy-btn-primary{
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    color: #fff;
    border-radius: 10px;
    padding: 6px 12px;
}
.vq-legacy-btn-primary:hover{
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.20);
    color:#fff;
}

.vq-legacy-shell{
    height: calc(100vh - 40px - 56px);
    display:flex;
    width: 100%;
}

.vq-legacy-rail{
    width: 86px;
    flex: 0 0 86px;
    border-right: 1px solid rgba(255,255,255,.08);
    background: rgba(10,11,15,.60);
    backdrop-filter: blur(10px);
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    padding: 10px 8px;
}

.vq-legacy-rail-top, .vq-legacy-rail-bottom{
    display:flex;
    flex-direction:column;
    gap: 8px;
}

.vq-legacy-rail-item{
    position: relative;
    width: 70px;
    margin: 0 auto;
    border-radius: 12px;
    padding: 8px 6px 6px;
    text-decoration: none;
    color: rgba(255,255,255,.70);
    display:flex;
    flex-direction:column;
    align-items:center;
    gap: 4px;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}
.vq-legacy-rail-item:hover{
    background: rgba(255,255,255,.06);
    color:#fff;
}
.vq-legacy-rail-item.active{
    background: rgba(96,165,250,.16);
    border: 1px solid rgba(96,165,250,.22);
    color:#fff;
}

.vq-legacy-rail-icon{
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display:flex;
    align-items:center;
    justify-content:center;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
}
.vq-legacy-rail-item.active .vq-legacy-rail-icon{
    background: rgba(96,165,250,.18);
    border-color: rgba(96,165,250,.25);
}
.vq-legacy-rail-icon i{ font-size: 18px; }

.vq-legacy-rail-label{
    font-size: 11px;
    font-weight: 600;
    letter-spacing: -.01em;
    opacity: .95;
}

.vq-legacy-rail-divider{
    height: 1px;
    width: 70px;
    margin: 4px auto;
    background: rgba(255,255,255,.10);
}

.vq-legacy-rail-badge{
    position:absolute;
    top: -6px;
    right: -2px;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.10));
    border: 1px solid rgba(255,255,255,.16);
    color:#fff;
}
.vq-legacy-rail-badge-pink{
    background: linear-gradient(180deg, rgba(247,91,255,.20), rgba(255,255,255,.10));
    border-color: rgba(247,91,255,.24);
}

.vq-legacy-main{
    flex: 1 1 auto;
    overflow: hidden;
}
.vq-legacy-main-inner{
    height: 100%;
    overflow-y: auto;
    padding: 18px 18px 0;
}

.vq-legacy-h1{
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: rgba(255,255,255,.92);
    margin-bottom: 14px;
}

.vq-legacy-tabs{
    display:flex;
    align-items:center;
    gap: 10px;
    margin-bottom: 18px;
}
.vq-legacy-tab{
    background: transparent;
    border: 0;
    color: rgba(255,255,255,.90);
    font-weight: 700;
    font-size: 20px;
    padding: 6px 0;
    line-height: 1.1;
    display:inline-flex;
    align-items:center;
    gap: 6px;
}
.vq-legacy-tab:not(.active){ color: rgba(255,255,255,.55); }
.vq-legacy-tab-info{ font-size: 12px; opacity: .75; }
.vq-legacy-tab-sep{
    width: 1px;
    height: 18px;
    background: rgba(255,255,255,.22);
}

.vq-legacy-section-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 12px;
    margin-top: 2px;
    margin-bottom: 12px;
}
.vq-legacy-section-title{
    font-size: 28px;
    font-weight: 700;
    color: rgba(255,255,255,.92);
}
.vq-legacy-section-more{
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,.90);
    text-decoration:none;
}
.vq-legacy-section-more:hover{ color:#fff; }

.vq-legacy-templates{
    display:grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.vq-legacy-template{
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 190px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.06);
    box-shadow: 0 10px 35px rgba(0,0,0,.35);
}
.vq-legacy-template:before{
    content:"";
    position:absolute;
    inset:0;
    background: radial-gradient(600px 260px at 20% 0%, rgba(255,255,255,.16), transparent 60%),
                linear-gradient(to bottom, transparent 45%, rgba(0,0,0,.58) 86%);
    z-index: 1;
}
.vq-legacy-template-tag{
    position:absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: -.01em;
    color: rgba(255,255,255,.92);
    background: rgba(171,160,255,.18);
    border: 1px solid rgba(171,160,255,.22);
    padding: 6px 10px;
    border-radius: 10px;
}
.vq-legacy-tag-violet{
    background: rgba(171,160,255,.18);
    border-color: rgba(171,160,255,.24);
}
.vq-legacy-tag-green{
    background: rgba(64,255,131,.14);
    border-color: rgba(64,255,131,.20);
}
.vq-legacy-tag-amber{
    background: rgba(247,201,72,.14);
    border-color: rgba(247,201,72,.22);
}

.vq-legacy-template-body{
    position:absolute;
    left: 14px;
    bottom: 16px;
    z-index: 2;
    padding-right: 80px;
}
.vq-legacy-template-title{
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.02em;
    margin-bottom: 4px;
}
.vq-legacy-template-sub{
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,.72);
}

.vq-legacy-template-btn{
    position:absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: calc(100% - 28px);
    text-align:center;
    text-decoration:none;
    border-radius: 10px;
    padding: 8px 10px;
    background: rgba(0,0,0,.30);
    border: 1px solid rgba(255,255,255,.12);
    color: #fff;
    font-weight: 800;
}
.vq-legacy-template-btn:hover{
    background: rgba(0,0,0,.40);
    border-color: rgba(255,255,255,.18);
    color:#fff;
}

/* Card backgrounds */
.vq-legacy-bg-1{ background: radial-gradient(850px 360px at 20% 0%, rgba(171,160,255,.35), rgba(0,0,0,.10) 55%), rgba(255,255,255,.04); }
.vq-legacy-bg-2{ background: radial-gradient(850px 360px at 20% 0%, rgba(96,165,250,.30), rgba(0,0,0,.10) 55%), rgba(255,255,255,.04); }
.vq-legacy-bg-3{ background: radial-gradient(850px 360px at 20% 0%, rgba(64,255,131,.24), rgba(0,0,0,.10) 55%), rgba(255,255,255,.04); }
.vq-legacy-bg-4{ background: radial-gradient(850px 360px at 20% 0%, rgba(247,201,72,.26), rgba(0,0,0,.10) 55%), rgba(255,255,255,.04); }

.vq-legacy-model-banner{
    margin-top: 14px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.06);
    position: relative;
    min-height: 140px;
}
.vq-legacy-model-banner-bg{
    position:absolute;
    inset:0;
    background:
        radial-gradient(1000px 500px at 0% 40%, rgba(96,165,250,.24), transparent 60%),
        radial-gradient(900px 420px at 75% 10%, rgba(247,91,255,.18), transparent 55%),
        linear-gradient(to bottom, rgba(0,0,0,.10), rgba(0,0,0,.50));
}
.vq-legacy-model-banner-inner{
    position: relative;
    z-index: 1;
    padding: 16px;
}
.vq-legacy-model-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size: 11px;
    font-weight: 900;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.14);
    color:#fff;
    margin-bottom: 8px;
}
.vq-legacy-model-title{
    font-size: 16px;
    font-weight: 900;
    color:#fff;
    letter-spacing: -.02em;
}
.vq-legacy-model-desc{
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,.70);
    max-width: 900px;
}
.vq-legacy-model-cta{
    display:inline-flex;
    align-items:center;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 800;
    color:#fff;
    text-decoration:none;
}
.vq-legacy-model-cta:hover{ color:#fff; text-decoration: underline; }

.vq-legacy-chips{
    display:flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content:flex-end;
}
.vq-legacy-chip{
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    color: rgba(255,255,255,.75);
    font-weight: 700;
    font-size: 12px;
}
.vq-legacy-chip:hover{
    background: rgba(255,255,255,.09);
    color:#fff;
}
.vq-legacy-chip.active{
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.16);
    color:#fff;
}

.vq-legacy-grid{
    margin-top: 12px;
    display:grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 160px;
    gap: 14px;
    padding-bottom: 24px;
}

.vq-legacy-card{
    position: relative;
    border-radius: 14px;
    overflow:hidden;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.06);
    text-decoration:none;
    color: #fff;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    box-shadow: 0 10px 35px rgba(0,0,0,.35);
}
.vq-legacy-card:before{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(to bottom, transparent 52%, rgba(0,0,0,.62) 92%);
    z-index: 1;
}
.vq-legacy-card-top{
    position: relative;
    z-index: 2;
    padding: 10px;
    display:flex;
    gap: 8px;
    align-items:center;
}
.vq-legacy-card-chip{
    display:inline-flex;
    align-items:center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    color: rgba(255,255,255,.80);
    background: rgba(0,0,0,.22);
    border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(10px);
}
.vq-legacy-card-title{
    position: relative;
    z-index: 2;
    padding: 0 12px 12px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: -.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vq-legacy-card.span-2{ grid-column: span 2; }
.vq-legacy-card.wide{ grid-column: span 2; }
.vq-legacy-card.tall{ grid-row: span 2; }

.vq-legacy-card:hover{
    transform: translateY(-1px);
    border-color: rgba(255,255,255,.16);
    color:#fff;
}

.vq-legacy-card-bg-1{ background: radial-gradient(900px 380px at 20% 0%, rgba(171,160,255,.32), rgba(0,0,0,.10) 55%), rgba(255,255,255,.04); }
.vq-legacy-card-bg-2{ background: radial-gradient(900px 380px at 20% 0%, rgba(96,165,250,.28), rgba(0,0,0,.10) 55%), rgba(255,255,255,.04); }
.vq-legacy-card-bg-3{ background: radial-gradient(900px 380px at 20% 0%, rgba(247,91,255,.22), rgba(0,0,0,.10) 55%), rgba(255,255,255,.04); }
.vq-legacy-card-bg-4{ background: radial-gradient(900px 420px at 20% 0%, rgba(64,255,131,.22), rgba(0,0,0,.10) 55%), rgba(255,255,255,.04); }
.vq-legacy-card-bg-5{ background: radial-gradient(900px 380px at 20% 0%, rgba(247,201,72,.22), rgba(0,0,0,.10) 55%), rgba(255,255,255,.04); }
.vq-legacy-card-bg-6{ background: radial-gradient(900px 380px at 20% 0%, rgba(96,165,250,.20), rgba(0,0,0,.10) 55%), rgba(255,255,255,.04); }
.vq-legacy-card-bg-7{ background: radial-gradient(900px 380px at 20% 0%, rgba(171,160,255,.22), rgba(0,0,0,.10) 55%), rgba(255,255,255,.04); }
.vq-legacy-card-bg-8{ background: radial-gradient(900px 380px at 20% 0%, rgba(247,91,255,.18), rgba(0,0,0,.10) 55%), rgba(255,255,255,.04); }

.vq-legacy-footer-spacer{
    height: 24px;
}

/* Responsive tweaks */
@media (max-width: 1199.98px){
    .vq-legacy-templates{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vq-legacy-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; }
    .vq-legacy-card.span-2, .vq-legacy-card.wide{ grid-column: span 2; }
}
@media (max-width: 767.98px){
    .vq-legacy-rail{ display:none; }
    .vq-legacy-shell{ height: calc(100vh - 40px - 56px); }
    .vq-legacy-main-inner{ padding: 14px 14px 0; }
    .vq-legacy-templates{ grid-template-columns: 1fr; }
    .vq-legacy-grid{ grid-template-columns: 1fr; grid-auto-rows: 190px; }
    .vq-legacy-card.span-2, .vq-legacy-card.wide{ grid-column: span 1; }
    .vq-legacy-card.tall{ grid-row: span 1; }
    .vq-legacy-chips{ justify-content:flex-start; }
}


.vq-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.vq-play-overlay i {
    font-size: 2.5rem;
    opacity: .85;
    text-shadow: 0 8px 18px rgba(0,0,0,.35);
}
/* Light mode tweak: make text ~30% darker than Bootstrap defaults */
[data-bs-theme="light"] {
    --bs-body-color: #000; /* #171A1D; */
    --bs-body-color-rgb: 23,26,29;
    --bs-emphasis-color: #111315;
    --bs-emphasis-color-rgb: 17,19,21;
    --bs-secondary-color: #111; /* rgba(23,26,29,.75); */
    --bs-secondary-rgb: 0,0,0;
    --bs-tertiary-color: rgba(23,26,29,.5);
    --bs-btn-color: #333; /* #6c757d; */
}

/*.text-secondary {
    --bs-text-opacity: 1;
    color: rgba(var(--bs-secondary-rgb),var(--bs-text-opacity)) !important;
}*/
    /* Placeholders can be too faint in light mode; darken slightly */
    [data-bs-theme="light"] .form-control::placeholder,
    [data-bs-theme="light"] .form-select::placeholder,
    [data-bs-theme="light"] textarea::placeholder {
        color: rgba(23,26,29,.55);
        opacity: 1;
    }

    [data-bs-theme="light"] .btn-outline-secondary {
        color: #222; /* #6c757d;  */
    }

/* -------------------- Surfstats-inspired dark mode --------------------
   Goal: deep near-black surfaces, luminous violet/cyan accents,
   glossy layered panels, and brighter CTA buttons.
*/
html[data-bs-theme="dark"] {
    --bs-body-bg: #06070d;
    --bs-body-bg-rgb: 6,7,13;
    --bs-body-color: #f4f6ff;
    --bs-body-color-rgb: 244,246,255;
    --bs-emphasis-color: #ffffff;
    --bs-emphasis-color-rgb: 255,255,255;
    --bs-secondary-color: rgba(244,246,255,.72);
    --bs-secondary-rgb: 244,246,255;
    --bs-tertiary-color: rgba(244,246,255,.54);
    --bs-tertiary-bg: #0d1019;
    --bs-tertiary-bg-rgb: 13,16,25;
    --bs-secondary-bg: #141827;
    --bs-secondary-bg-rgb: 20,24,39;
    --bs-border-color: rgba(168,147,255,.14);
    --bs-link-color: #ab9cff;
    --bs-link-hover-color: #c8baff;
    --bs-primary: #8b5cf6;
    --bs-primary-rgb: 139,92,246;
    --bs-primary-bg-subtle: rgba(139,92,246,.18);
    --bs-primary-border-subtle: rgba(139,92,246,.34);
    --bs-success: #33d59b;
    --bs-success-rgb: 51,213,155;
    --bs-info: #44d4ff;
    --bs-info-rgb: 68,212,255;
}

html[data-bs-theme="dark"] body.vq-body {
    background:
        radial-gradient(1100px 620px at 12% -10%, rgba(139,92,246,.22), transparent 60%),
        radial-gradient(920px 520px at 88% 8%, rgba(68,212,255,.13), transparent 48%),
        radial-gradient(900px 560px at 50% 105%, rgba(255,110,183,.10), transparent 58%),
        linear-gradient(180deg, #06070d 0%, #080a12 48%, #05060b 100%);
    background-attachment: fixed;
}

html[data-bs-theme="dark"] .vq-nav,
html[data-bs-theme="dark"] .vq-sidebar,
html[data-bs-theme="dark"] .vq-app-topbar,
html[data-bs-theme="dark"] .navbar.vq-nav,
html[data-bs-theme="dark"] footer {
    background: rgba(9,11,18,.82) !important;
    border-color: rgba(255,255,255,.06) !important;
    backdrop-filter: blur(14px);
}

html[data-bs-theme="dark"] .vq-sidebar {
    background:
        linear-gradient(180deg, rgba(10,11,18,.95), rgba(10,12,20,.98));
    box-shadow: inset -1px 0 0 rgba(255,255,255,.03);
}

html[data-bs-theme="dark"] .vq-app-topbar,
html[data-bs-theme="dark"] .navbar.vq-nav {
    box-shadow: 0 10px 32px rgba(0,0,0,.28);
}

html[data-bs-theme="dark"] .vq-logo {
    color: #fff;
    text-shadow: 0 0 18px rgba(139,92,246,.20);
}

html[data-bs-theme="dark"] .vq-glass,
html[data-bs-theme="dark"] .vq-card,
html[data-bs-theme="dark"] .card,
html[data-bs-theme="dark"] .modal-content,
html[data-bs-theme="dark"] .dropdown-menu,
html[data-bs-theme="dark"] .offcanvas,
html[data-bs-theme="dark"] .list-group-item,
html[data-bs-theme="dark"] .bg-body-tertiary,
html[data-bs-theme="dark"] .bg-body,
html[data-bs-theme="dark"] .bg-dark {
    background:
        linear-gradient(180deg, rgba(20,24,39,.94) 0%, rgba(13,16,25,.98) 100%) !important;
    border-color: rgba(255,255,255,.07) !important;
    box-shadow: 0 18px 40px rgba(0,0,0,.28);
}

html[data-bs-theme="dark"] .vq-icon,
html[data-bs-theme="dark"] .vq-pill,
html[data-bs-theme="dark"] .vq-pill-sm,
html[data-bs-theme="dark"] .vq-badge-soft,
html[data-bs-theme="dark"] .nav-pills,
html[data-bs-theme="dark"] .nav-tabs,
html[data-bs-theme="dark"] .input-group-text {
    background: rgba(255,255,255,.04) !important;
    border-color: rgba(255,255,255,.08) !important;
    color: var(--bs-body-color);
}

html[data-bs-theme="dark"] .vq-navgroup .vq-side-link:hover,
html[data-bs-theme="dark"] .vq-navgroup .vq-side-link:focus {
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.08);
}

html[data-bs-theme="dark"] .vq-navgroup .vq-side-link.active {
    background: linear-gradient(135deg, rgba(139,92,246,.22), rgba(68,212,255,.10));
    border-color: rgba(139,92,246,.28);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 8px 24px rgba(72,37,148,.18);
}

html[data-bs-theme="dark"] .form-control,
html[data-bs-theme="dark"] .form-select,
html[data-bs-theme="dark"] textarea,
html[data-bs-theme="dark"] .form-control:disabled,
html[data-bs-theme="dark"] .form-select:disabled {
    background: rgba(255,255,255,.03);
    border-color: rgba(255,255,255,.08);
    color: var(--bs-body-color);
}

html[data-bs-theme="dark"] .form-control::placeholder,
html[data-bs-theme="dark"] .form-select::placeholder,
html[data-bs-theme="dark"] textarea::placeholder {
    color: rgba(244,246,255,.48);
    opacity: 1;
}

html[data-bs-theme="dark"] .form-control:focus,
html[data-bs-theme="dark"] .form-select:focus,
html[data-bs-theme="dark"] textarea:focus {
    background: rgba(255,255,255,.04);
    border-color: rgba(139,92,246,.42);
    box-shadow: 0 0 0 .2rem rgba(139,92,246,.16);
    color: var(--bs-body-color);
}

html[data-bs-theme="dark"] select.form-select {
    color-scheme: dark;
}

html[data-bs-theme="dark"] .form-select option {
    color: #333333 !important;
    background-color: #ffffff !important;
}



/* Dark mode select dropdown arrows
   Ensures Bootstrap .form-select and plain <select> controls keep a visible down-arrow on dark backgrounds. */
:root {
    --slamdunk-select-arrow-dark: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23f8f9fa' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

html[data-bs-theme="dark"] {
    --bs-form-select-bg-img: var(--slamdunk-select-arrow-dark);
}

html[data-bs-theme="dark"] select,
html[data-bs-theme="dark"] .form-select {
    color-scheme: dark;
}

html[data-bs-theme="dark"] .form-select {
    --bs-form-select-bg-img: var(--slamdunk-select-arrow-dark);
    background-image: var(--slamdunk-select-arrow-dark) !important;
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
}

html[data-bs-theme="dark"] select:not([multiple]):not([size]):not(.form-select) {
    padding-right: 2.25rem;
    background-image: var(--slamdunk-select-arrow-dark) !important;
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
}

html[data-bs-theme="dark"] .btn-primary,
html[data-bs-theme="dark"] .btn.btn-primary {
    background: linear-gradient(135deg, #7c5cff 0%, #a855f7 55%, #ff6eb7 100%);
    border-color: rgba(255,255,255,.06);
    color: #fff;
    box-shadow: 0 12px 28px rgba(124,92,255,.28), inset 0 1px 0 rgba(255,255,255,.14);
}

html[data-bs-theme="dark"] .btn-primary:hover,
html[data-bs-theme="dark"] .btn-primary:focus,
html[data-bs-theme="dark"] .btn.btn-primary:hover,
html[data-bs-theme="dark"] .btn.btn-primary:focus {
    background: linear-gradient(135deg, #8b6bff 0%, #b765ff 55%, #ff82c2 100%);
    border-color: rgba(255,255,255,.10);
    color: #fff;
    box-shadow: 0 16px 34px rgba(124,92,255,.34), inset 0 1px 0 rgba(255,255,255,.16);
}

html[data-bs-theme="dark"] .btn-outline-primary {
    color: #d8cfff;
    border-color: rgba(139,92,246,.34);
    background: rgba(139,92,246,.08);
}

html[data-bs-theme="dark"] .btn-outline-primary:hover,
html[data-bs-theme="dark"] .btn-outline-primary:focus {
    color: #fff;
    border-color: rgba(139,92,246,.48);
    background: rgba(139,92,246,.18);
}

html[data-bs-theme="dark"] .btn-outline-secondary,
html[data-bs-theme="dark"] .btn-outline-light {
    color: rgba(244,246,255,.88);
    border-color: rgba(255,255,255,.10);
    background: rgba(255,255,255,.03);
}

html[data-bs-theme="dark"] .btn-outline-secondary:hover,
html[data-bs-theme="dark"] .btn-outline-secondary:focus,
html[data-bs-theme="dark"] .btn-outline-light:hover,
html[data-bs-theme="dark"] .btn-outline-light:focus {
    color: #fff;
    border-color: rgba(139,92,246,.28);
    background: linear-gradient(135deg, rgba(139,92,246,.16), rgba(68,212,255,.08));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

html[data-bs-theme="dark"] .badge,
html[data-bs-theme="dark"] .text-bg-secondary,
html[data-bs-theme="dark"] .text-bg-light {
    border: 1px solid rgba(255,255,255,.08);
}

html[data-bs-theme="light"] .badge {
        color: #333;
    }

html[data-bs-theme="dark"] .text-bg-secondary {
    color: #f4f6ff !important;
    background: rgba(255,255,255,.05) !important;
}

html[data-bs-theme="dark"] .text-bg-light {
    color: #f4f6ff !important;
    background: rgba(255,255,255,.04) !important;
}

html[data-bs-theme="dark"] .table,
html[data-bs-theme="dark"] .table > :not(caption) > * > * {
    --bs-table-bg: transparent;
    --bs-table-color: var(--bs-body-color);
    --bs-table-border-color: rgba(255,255,255,.08);
}

html[data-bs-theme="dark"] .dropdown-item,
html[data-bs-theme="dark"] .nav-link,
html[data-bs-theme="dark"] .navbar-brand,
html[data-bs-theme="dark"] .link-secondary {
    color: rgba(244,246,255,.84);
}

html[data-bs-theme="dark"] .dropdown-item:hover,
html[data-bs-theme="dark"] .dropdown-item:focus,
html[data-bs-theme="dark"] .nav-link:hover,
html[data-bs-theme="dark"] .nav-link:focus,
html[data-bs-theme="dark"] .navbar-brand:hover,
html[data-bs-theme="dark"] .link-secondary:hover {
    color: #fff;
}

html[data-bs-theme="dark"] .navbar-toggler,
html[data-bs-theme="dark"] .accordion-button,
html[data-bs-theme="dark"] .border,
html[data-bs-theme="dark"] .border-top,
html[data-bs-theme="dark"] .border-bottom,
html[data-bs-theme="dark"] .border-start,
html[data-bs-theme="dark"] .border-end {
    border-color: rgba(255,255,255,.08) !important;
}


/* ---------- Light-mode subtle scrollbars (Surfstats 2026-06-22) ---------- */
html[data-bs-theme="light"] {
  scrollbar-color: #e1e4ea #f7f8fa;
  scrollbar-width: thin;
}

html[data-bs-theme="light"] ::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

html[data-bs-theme="light"] ::-webkit-scrollbar-track {
  background: #f7f8fa;
}

html[data-bs-theme="light"] ::-webkit-scrollbar-thumb {
  background: #e1e4ea;
  border: 2px solid #f7f8fa;
  border-radius: 999px;
  background-clip: padding-box;
}

html[data-bs-theme="light"] ::-webkit-scrollbar-thumb:hover {
  background: #d5dae3;
  border: 2px solid #f7f8fa;
  border-radius: 999px;
  background-clip: padding-box;
}

html[data-bs-theme="dark"] ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

html[data-bs-theme="dark"] ::-webkit-scrollbar-track {
    background: rgba(255,255,255,.02);
}

html[data-bs-theme="dark"] ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(139,92,246,.40), rgba(68,212,255,.24));
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

html[data-bs-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(139,92,246,.58), rgba(68,212,255,.34));
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

/* -------------------- Index2 / PixVerse-inspired public landing -------------------- */
.pv-page{
  position: relative;
  padding: 1.5rem 0 2.5rem;
}
html[data-bs-theme="dark"] .pv-page{
  background:
    radial-gradient(1200px 700px at 12% 0%, rgba(139,92,246,.12), transparent 58%),
    radial-gradient(1000px 640px at 88% 8%, rgba(68,212,255,.10), transparent 50%);
}

.pv-hero,
.pv-featured-panel,
.pv-cap-card,
.pv-enterprise,
.pv-stat-card,
.pv-story-card,
.pv-stage,
.pv-release-card,
.pv-mini-stat{
  position: relative;
  background: linear-gradient(180deg, rgba(20,24,39,.80), rgba(10,12,20,.96));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 20px 50px rgba(0,0,0,.28);
}

html[data-bs-theme="light"] .pv-hero,
html[data-bs-theme="light"] .pv-featured-panel,
html[data-bs-theme="light"] .pv-cap-card,
html[data-bs-theme="light"] .pv-enterprise,
html[data-bs-theme="light"] .pv-stat-card,
html[data-bs-theme="light"] .pv-story-card,
html[data-bs-theme="light"] .pv-stage,
html[data-bs-theme="light"] .pv-release-card,
html[data-bs-theme="light"] .pv-mini-stat{
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,249,252,.98));
  border-color: rgba(17,24,39,.08);
  box-shadow: 0 18px 42px rgba(15,23,42,.10);
}

.pv-hero{
  padding: clamp(1.5rem, 2vw, 2rem);
  overflow: hidden;
}
.pv-hero-glow{
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  opacity: .9;
  pointer-events: none;
}
.pv-hero-glow-1{
  width: 24rem;
  height: 24rem;
  top: -10rem;
  left: -8rem;
  background: radial-gradient(circle, rgba(139,92,246,.34), rgba(139,92,246,0) 70%);
}
.pv-hero-glow-2{
  width: 22rem;
  height: 22rem;
  right: -6rem;
  bottom: -8rem;
  background: radial-gradient(circle, rgba(68,212,255,.28), rgba(68,212,255,0) 70%);
}

.pv-kicker,
.pv-section-eyebrow,
.pv-featured-pill,
.pv-release-version,
.pv-story-eyebrow,
.pv-stage-pill{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .8rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--bs-body-color);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
}
html[data-bs-theme="light"] .pv-kicker,
html[data-bs-theme="light"] .pv-section-eyebrow,
html[data-bs-theme="light"] .pv-featured-pill,
html[data-bs-theme="light"] .pv-release-version,
html[data-bs-theme="light"] .pv-story-eyebrow,
html[data-bs-theme="light"] .pv-stage-pill{
  background: rgba(99,102,241,.08);
  border-color: rgba(99,102,241,.12);
}
.pv-kicker-dot{
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #44d4ff);
  box-shadow: 0 0 0 .2rem rgba(139,92,246,.18);
}

.pv-mini-stat,
.pv-stat-card,
.pv-story-card,
.pv-cap-card,
.pv-release-card{
  border-radius: 1.25rem;
  padding: 1.1rem;
}
.pv-mini-stat-value,
.pv-stat-value{
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}
.pv-mini-stat-label,
.pv-stat-label{
  margin-top: .45rem;
  color: var(--bs-secondary-color);
  font-size: .86rem;
}

.pv-stage{
  border-radius: 1.75rem;
  padding: 1rem;
}
.pv-stage-topbar,
.pv-stage-strip{
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.pv-stage-strip{
  padding-top: .35rem;
}
.pv-stage-strip-item{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem .85rem;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  font-size: .86rem;
  font-weight: 600;
}
html[data-bs-theme="light"] .pv-stage-strip-item{
  background: rgba(79,70,229,.05);
  border-color: rgba(79,70,229,.10);
}

.pv-release-icon,
.pv-cap-icon,
.pv-story-icon{
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .9rem;
  font-size: 1.1rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}
html[data-bs-theme="light"] .pv-release-icon,
html[data-bs-theme="light"] .pv-cap-icon,
html[data-bs-theme="light"] .pv-story-icon{
  background: rgba(99,102,241,.08);
  border-color: rgba(99,102,241,.12);
}
.pv-accent-violet .pv-release-icon{ box-shadow: 0 0 0 .3rem rgba(139,92,246,.08); }
.pv-accent-cyan .pv-release-icon{ box-shadow: 0 0 0 .3rem rgba(68,212,255,.08); }
.pv-accent-pink .pv-release-icon{ box-shadow: 0 0 0 .3rem rgba(255,110,183,.08); }

.pv-section{
  padding-top: 2.4rem;
}
.pv-section-head{
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.pv-featured-panel,
.pv-enterprise,
.pv-story-card{
  border-radius: 1.75rem;
}
.pv-featured-panel{ padding: 1.5rem; }
.pv-enterprise{ padding: clamp(1.35rem, 2vw, 2rem); }
.pv-inline-link{
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--bs-link-color);
}
.pv-inline-link:hover{ color: var(--bs-link-hover-color); }

@media (max-width: 991.98px){
  .pv-page{ padding-top: 1rem; }
}


.pv-video-card{
  margin-top: 1rem;
  border-radius: 1.5rem;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
}
html[data-bs-theme="light"] .pv-video-card{
  background: linear-gradient(180deg, rgba(79,70,229,.04), rgba(79,70,229,.02));
  border-color: rgba(79,70,229,.12);
}
.pv-video-now{
  display: inline-flex;
  flex-direction: column;
  gap: .15rem;
}
.pv-video-now-label{
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--bs-secondary-color);
}
.pv-video-frame{
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: #070b14;
  aspect-ratio: 16 / 9;
}
html[data-bs-theme="light"] .pv-video-frame{
  border-color: rgba(79,70,229,.12);
  background: #edf1f8;
}
.pv-video-media{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.pv-video-playlist{
  display: flex;
  flex-wrap: nowrap;
  gap: .75rem;
  overflow-x: auto;
  padding-bottom: .15rem;
}
.pv-video-dot{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .2rem;
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  padding: .8rem .9rem;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: var(--bs-body-color);
  font-size: .8rem;
  font-weight: 700;
  text-align: left;
}
.pv-video-dot span{
  font-size: .84rem;
  font-weight: 600;
  color: var(--bs-secondary-color);
}
.pv-video-dot.is-active{
  border-color: rgba(68,212,255,.45);
  box-shadow: 0 0 0 .18rem rgba(68,212,255,.12);
  background: linear-gradient(180deg, rgba(68,212,255,.10), rgba(139,92,246,.10));
}
html[data-bs-theme="light"] .pv-video-dot{
  background: rgba(79,70,229,.04);
  border-color: rgba(79,70,229,.10);
}
@media (max-width: 767.98px){
  .pv-video-playlist{
    flex-wrap: nowrap;
  }
  .pv-video-dot{
    flex: 0 0 8.75rem;
  }
}

.lead {
    font-size: 1.0rem;
    font-weight: 300;
}

/* ---------- Google sign-in button ---------- */
.vq-google-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.75rem;
  min-height:44px;
  width:100%;
  padding:.7rem .95rem;
  border:1px solid #dadce0;
  border-radius:.5rem;
  background:#fff;
  color:#1f1f1f;
  text-decoration:none;
  font-weight:600;
  box-shadow:0 1px 2px rgba(60,64,67,.16);
}
.vq-google-btn:hover,
.vq-google-btn:focus{
  color:#1f1f1f;
  border-color:#c6c6c6;
  box-shadow:0 1px 3px rgba(60,64,67,.24);
}
.vq-google-btn__icon{
  display:inline-flex;
  width:20px;
  height:20px;
}
.vq-google-btn__icon svg{
  width:20px;
  height:20px;
  display:block;
}
[data-bs-theme="dark"] .vq-google-btn{
  background:#fff;
  color:#1f1f1f;
}


/* ---------- Landing page tools toolbar ---------- */
.vq-tools-toolbar{
  max-width: 1100px;
  margin-inline: auto;
}
.vq-tools-dropdown,
.vq-tools-open-btn{
  min-width: 11.5rem;
  border-radius: 999px;
  padding: .8rem 1.1rem;
}
.vq-tools-toolbar .dropdown-menu{
  min-width: 18rem;
  border-radius: 1rem;
  padding: .45rem;
  border-color: var(--bs-border-color);
}
.vq-tools-toolbar .dropdown-menu{
  margin-top: .55rem;
}
.vq-tools-toolbar .dropdown.vq-hover-open > .vq-tools-dropdown,
.vq-tools-toolbar .dropdown.show > .vq-tools-dropdown{
  color: var(--bs-btn-hover-color, var(--bs-body-color));
  background: var(--bs-secondary-bg);
  border-color: var(--bs-border-color);
}
@media (hover: hover) and (pointer: fine){
  .vq-tools-toolbar .dropdown-menu{
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(.35rem);
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
  }
  .vq-tools-toolbar .dropdown.vq-hover-open > .dropdown-menu,
  .vq-tools-toolbar .dropdown.show > .dropdown-menu{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
}
.vq-tools-toolbar .dropdown-item{
  border-radius: .8rem;
  padding: .75rem .9rem;
  white-space: normal;
}
.vq-tools-toolbar .dropdown-item strong{
  display: block;
  margin-bottom: .1rem;
}
.vq-tools-toolbar .dropdown-item small{
  display: block;
  color: var(--bs-secondary-color);
}
html[data-bs-theme="dark"] .vq-tools-toolbar .dropdown-menu{
  background: #121826;
}
@media (max-width: 575.98px){
  .vq-tools-dropdown,
  .vq-tools-open-btn{
    width: 100%;
  }
  .vq-tools-toolbar .dropdown{
    width: 100%;
  }
}


/* ---------- Landing page creative heading ---------- */
.vq-creative-title{
  font-family: Inter, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  font-size: clamp(2.8rem, 4.8vw + .85rem, 5.35rem);
  font-weight: 800;
  letter-spacing: -.065em;
  line-height: .9;
  text-wrap: balance;
  max-width: 18ch;
  margin-inline: auto;
  color: #111827;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.vq-creative-title-word{
  display: inline;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent !important;
  color: inherit !important;
  text-shadow: none;
}
.vq-creative-title-word + .vq-creative-title-word{
  margin-left: .18em;
}
.vq-creative-break{
  display:block;
  height:0;
}
html[data-bs-theme="dark"] .vq-creative-title{
  color: #f8fafc;
}
@media (max-width: 575.98px){
  .vq-creative-title{
    font-size: clamp(2.35rem, 8vw + .5rem, 3.55rem);
    letter-spacing: -.045em;
    max-width: 16ch;
  }
}

/* ---------- App sidebar All Tools modal ---------- */
.vq-all-tools-modal .modal-content {
  border-radius: 1.25rem;
  overflow: hidden;
}

.vq-all-tools-section {
  margin-bottom: 1.5rem;
}

.vq-all-tools-heading {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-weight: 700;
  margin-bottom: .75rem;
}

.vq-all-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: .75rem;
}

.vq-all-tool-card {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-height: 58px;
  padding: .8rem .9rem;
  border: var(--bs-border-width) solid var(--bs-border-color);
  border-radius: 1rem;
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.vq-all-tool-card i {
  width: 1.6rem;
  height: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .75rem;
  background: var(--bs-secondary-bg);
  flex: 0 0 auto;
}

.vq-all-tool-card span {
  font-weight: 600;
}

.vq-all-tool-card:hover,
.vq-all-tool-card:focus {
  transform: translateY(-1px);
  border-color: var(--bs-primary-border-subtle);
  background: var(--bs-secondary-bg);
  color: var(--bs-body-color);
  box-shadow: 0 .5rem 1.25rem rgba(0, 0, 0, .08);
}

.vq-all-tool-card.active {
  border-color: var(--bs-primary-border-subtle);
  background: var(--bs-primary-bg-subtle);
  color: var(--bs-body-color);
}

html[data-bs-theme="dark"] .vq-all-tool-card {
  background: rgba(255, 255, 255, .025);
  border-color: rgba(255, 255, 255, .08);
}

html[data-bs-theme="dark"] .vq-all-tool-card i {
  background: rgba(255, 255, 255, .06);
}

html[data-bs-theme="dark"] .vq-all-tool-card:hover,
html[data-bs-theme="dark"] .vq-all-tool-card:focus,
html[data-bs-theme="dark"] .vq-all-tool-card.active {
  background: linear-gradient(135deg, rgba(139,92,246,.18), rgba(68,212,255,.08));
  border-color: rgba(139,92,246,.28);
  box-shadow: 0 .5rem 1.25rem rgba(0, 0, 0, .28);
}

/* Keep the All Tools modal on the main content side, not over the sidebar. */
.vq-all-tools-modal {
  z-index: 1065;
}

.vq-all-tools-modal .modal-dialog {
  pointer-events: auto;
}

.vq-all-tools-modal .modal-content {
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
  border: var(--bs-border-width) solid var(--bs-border-color);
  box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, .22);
}

.vq-all-tools-modal .modal-body,
.vq-all-tools-modal .modal-header {
  background-color: var(--bs-body-bg);
}

html[data-bs-theme="dark"] .vq-all-tools-modal .modal-content,
html[data-bs-theme="dark"] .vq-all-tools-modal .modal-body,
html[data-bs-theme="dark"] .vq-all-tools-modal .modal-header {
  background-color: #0f172a;
  color: #f8fafc;
}

@media (min-width: 993px) {
  body.vq-app .vq-all-tools-modal {
    left: 280px;
    width: calc(100vw - 280px);
  }

  body.vq-app .vq-all-tools-modal .modal-dialog {
    max-width: min(980px, calc(100vw - 320px));
    margin-left: auto;
    margin-right: auto;
  }

  body.vq-app.vq-all-tools-modal-open .modal-backdrop {
    left: 280px;
    width: calc(100vw - 280px);
  }
}


/* ---------- Surfstats-inspired dark mode overrides (SurfStats 2026-04-25) ----------
   These rules intentionally come after the earlier dark-mode section so the
   app feels closer to Surfstats Suite: flat near-black canvas, solid charcoal
   panels, soft gray borders, and subtle violet selection states rather than
   neon/glass gradients.
*/
html[data-bs-theme="dark"] {
  color-scheme: dark;
  --bs-body-bg: #080808;
  --bs-body-bg-rgb: 8,8,8;
  --bs-body-color: #f5f5f5;
  --bs-body-color-rgb: 245,245,245;
  --bs-emphasis-color: #ffffff;
  --bs-emphasis-color-rgb: 255,255,255;
  --bs-secondary-color: rgba(245,245,245,.66);
  --bs-secondary-rgb: 185,185,190;
  --bs-tertiary-color: rgba(245,245,245,.48);
  --bs-tertiary-bg: #111112;
  --bs-tertiary-bg-rgb: 17,17,18;
  --bs-secondary-bg: #18181a;
  --bs-secondary-bg-rgb: 24,24,26;
  --bs-border-color: rgba(255,255,255,.105);
  --bs-border-color-translucent: rgba(255,255,255,.11);
  --bs-link-color: #d7ccff;
  --bs-link-hover-color: #ffffff;
  --bs-primary: #8b5cf6;
  --bs-primary-rgb: 139,92,246;
  --bs-primary-bg-subtle: rgba(139,92,246,.18);
  --bs-primary-border-subtle: rgba(139,92,246,.38);
  --vq-bg: #080808;
  --vq-bg-2: #0d0d0e;
  --vq-surface: #141416;
  --vq-surface-2: #1a1a1d;
  --vq-surface-solid: #141416;
  --vq-surface-elev: #1b1b1f;
  --vq-text: #f5f5f5;
  --vq-muted: rgba(245,245,245,.62);
  --vq-border: rgba(255,255,255,.105);
  --vq-shadow: 0 18px 60px rgba(0,0,0,.42);
}

html[data-bs-theme="dark"],
html[data-bs-theme="dark"] body,
html[data-bs-theme="dark"] body.vq-body {
  background: #080808 !important;
  color: var(--bs-body-color);
}

html[data-bs-theme="dark"] .vq-app-shell { background: #080808; }

html[data-bs-theme="dark"] .vq-main,
html[data-bs-theme="dark"] .vq-app-content,
html[data-bs-theme="dark"] .container,
html[data-bs-theme="dark"] .container-fluid { color: var(--bs-body-color); }

html[data-bs-theme="dark"] .vq-sidebar {
  background: #0f0f10 !important;
  border-color: rgba(255,255,255,.085) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

html[data-bs-theme="dark"] .vq-app-topbar,
html[data-bs-theme="dark"] .vq-nav,
html[data-bs-theme="dark"] .navbar.vq-nav,
html[data-bs-theme="dark"] footer {
  background: #0d0d0e !important;
  border-color: rgba(255,255,255,.085) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

html[data-bs-theme="dark"] .vq-logo { color: #fff; text-shadow: none; }

html[data-bs-theme="dark"] .vq-navgroup .vq-side-link {
  color: rgba(245,245,245,.76);
  border-color: transparent;
  background: transparent;
  opacity: 1;
}

html[data-bs-theme="dark"] .vq-navgroup .vq-side-link:hover,
html[data-bs-theme="dark"] .vq-navgroup .vq-side-link:focus {
  color: #fff;
  background: #1a1a1d;
  border-color: rgba(255,255,255,.08);
  box-shadow: none;
}

html[data-bs-theme="dark"] .vq-navgroup .vq-side-link.active {
  color: #fff;
  background: #202024;
  border-color: rgba(255,255,255,.10);
  box-shadow: inset 3px 0 0 rgba(139,92,246,.95);
}

html[data-bs-theme="dark"] .vq-glass,
html[data-bs-theme="dark"] .vq-card,
html[data-bs-theme="dark"] .card,
html[data-bs-theme="dark"] .modal-content,
html[data-bs-theme="dark"] .dropdown-menu,
html[data-bs-theme="dark"] .offcanvas,
html[data-bs-theme="dark"] .list-group-item,
html[data-bs-theme="dark"] .accordion-item,
html[data-bs-theme="dark"] .accordion-button,
html[data-bs-theme="dark"] .bg-body-tertiary,
html[data-bs-theme="dark"] .bg-body,
html[data-bs-theme="dark"] .bg-dark {
  background: #141416 !important;
  color: var(--bs-body-color) !important;
  border-color: rgba(255,255,255,.105) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

html[data-bs-theme="dark"] .vq-card:hover,
html[data-bs-theme="dark"] .card:hover { border-color: rgba(255,255,255,.16) !important; }

html[data-bs-theme="dark"] .vq-icon,
html[data-bs-theme="dark"] .vq-pill,
html[data-bs-theme="dark"] .vq-pill-sm,
html[data-bs-theme="dark"] .vq-badge-soft,
html[data-bs-theme="dark"] .nav-pills,
html[data-bs-theme="dark"] .nav-tabs,
html[data-bs-theme="dark"] .input-group-text,
html[data-bs-theme="dark"] .badge,
html[data-bs-theme="dark"] .text-bg-secondary,
html[data-bs-theme="dark"] .text-bg-light {
  background: #1b1b1f !important;
  color: rgba(245,245,245,.86) !important;
  border-color: rgba(255,255,255,.105) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .form-control,
html[data-bs-theme="dark"] .form-select,
html[data-bs-theme="dark"] textarea,
html[data-bs-theme="dark"] .form-control:disabled,
html[data-bs-theme="dark"] .form-select:disabled {
  background: #111112 !important;
  border-color: rgba(255,255,255,.12) !important;
  color: #f5f5f5 !important;
  box-shadow: none;
}

html[data-bs-theme="dark"] .form-control:focus,
html[data-bs-theme="dark"] .form-select:focus,
html[data-bs-theme="dark"] textarea:focus {
  background: #141416 !important;
  border-color: rgba(139,92,246,.58) !important;
  box-shadow: 0 0 0 .2rem rgba(139,92,246,.16) !important;
}

html[data-bs-theme="dark"] .form-control::placeholder,
html[data-bs-theme="dark"] .form-select::placeholder,
html[data-bs-theme="dark"] textarea::placeholder { color: rgba(245,245,245,.42); }

html[data-bs-theme="dark"] .btn-primary,
html[data-bs-theme="dark"] .btn.btn-primary {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #09090a !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .btn-primary:hover,
html[data-bs-theme="dark"] .btn-primary:focus,
html[data-bs-theme="dark"] .btn.btn-primary:hover,
html[data-bs-theme="dark"] .btn.btn-primary:focus {
  background: #eeeeef !important;
  border-color: #eeeeef !important;
  color: #09090a !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .btn-outline-primary {
  color: #f2efff !important;
  border-color: rgba(139,92,246,.42) !important;
  background: rgba(139,92,246,.12) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .btn-outline-primary:hover,
html[data-bs-theme="dark"] .btn-outline-primary:focus {
  color: #ffffff !important;
  border-color: rgba(139,92,246,.72) !important;
  background: rgba(139,92,246,.22) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .btn-outline-secondary,
html[data-bs-theme="dark"] .btn-outline-light {
  color: rgba(245,245,245,.82) !important;
  border-color: rgba(255,255,255,.12) !important;
  background: #141416 !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .btn-outline-secondary:hover,
html[data-bs-theme="dark"] .btn-outline-secondary:focus,
html[data-bs-theme="dark"] .btn-outline-light:hover,
html[data-bs-theme="dark"] .btn-outline-light:focus {
  color: #fff !important;
  border-color: rgba(255,255,255,.20) !important;
  background: #202024 !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .table,
html[data-bs-theme="dark"] .table > :not(caption) > * > * {
  --bs-table-bg: transparent;
  --bs-table-color: #f5f5f5;
  --bs-table-border-color: rgba(255,255,255,.105);
}

html[data-bs-theme="dark"] .dropdown-item,
html[data-bs-theme="dark"] .nav-link,
html[data-bs-theme="dark"] .navbar-brand,
html[data-bs-theme="dark"] .link-secondary { color: rgba(245,245,245,.76) !important; }

html[data-bs-theme="dark"] .dropdown-item:hover,
html[data-bs-theme="dark"] .dropdown-item:focus,
html[data-bs-theme="dark"] .nav-link:hover,
html[data-bs-theme="dark"] .nav-link:focus,
html[data-bs-theme="dark"] .navbar-brand:hover,
html[data-bs-theme="dark"] .link-secondary:hover {
  color: #fff !important;
  background-color: #202024;
}

html[data-bs-theme="dark"] .border,
html[data-bs-theme="dark"] .border-top,
html[data-bs-theme="dark"] .border-bottom,
html[data-bs-theme="dark"] .border-start,
html[data-bs-theme="dark"] .border-end,
html[data-bs-theme="dark"] .navbar-toggler,
html[data-bs-theme="dark"] .accordion-button { border-color: rgba(255,255,255,.105) !important; }

html[data-bs-theme="dark"] .pv-page,
html[data-bs-theme="dark"] .vq-home-page,
html[data-bs-theme="dark"] .vq-public-page { background: #080808 !important; }

html[data-bs-theme="dark"] .pv-hero,
html[data-bs-theme="dark"] .pv-featured-panel,
html[data-bs-theme="dark"] .pv-cap-card,
html[data-bs-theme="dark"] .pv-enterprise,
html[data-bs-theme="dark"] .pv-stat-card,
html[data-bs-theme="dark"] .pv-story-card,
html[data-bs-theme="dark"] .vq-tool-card,
html[data-bs-theme="dark"] .vq-tools-toolbar .dropdown-menu {
  background: #141416 !important;
  border-color: rgba(255,255,255,.105) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-tools-toolbar .dropdown-item:hover,
html[data-bs-theme="dark"] .vq-tools-toolbar .dropdown-item:focus {
  background: #202024 !important;
  color: #fff !important;
}

html[data-bs-theme="dark"] .vq-all-tools-modal,
html[data-bs-theme="dark"] .vq-all-tools-modal .modal-dialog { color: #f5f5f5; }

html[data-bs-theme="dark"] .vq-all-tools-modal .modal-content,
html[data-bs-theme="dark"] .vq-all-tools-modal .modal-body,
html[data-bs-theme="dark"] .vq-all-tools-modal .modal-header {
  background: #141416 !important;
  color: #f5f5f5 !important;
  border-color: rgba(255,255,255,.105) !important;
  backdrop-filter: none !important;
}

html[data-bs-theme="dark"] .vq-all-tool-card {
  background: #1a1a1d !important;
  border-color: rgba(255,255,255,.105) !important;
  color: rgba(245,245,245,.90) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-all-tool-card i {
  background: #242428 !important;
  color: rgba(245,245,245,.90) !important;
}

html[data-bs-theme="dark"] .vq-all-tool-card:hover,
html[data-bs-theme="dark"] .vq-all-tool-card:focus {
  background: #242428 !important;
  border-color: rgba(255,255,255,.18) !important;
  color: #fff !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-all-tool-card.active {
  background: rgba(139,92,246,.20) !important;
  border-color: rgba(139,92,246,.48) !important;
  color: #fff !important;
  box-shadow: inset 3px 0 0 rgba(139,92,246,.95) !important;
}

html[data-bs-theme="dark"] .modal-backdrop { background-color: #000 !important; opacity: .66 !important; }

html[data-bs-theme="dark"] ::-webkit-scrollbar-track { background: #0f0f10; }

html[data-bs-theme="dark"] ::-webkit-scrollbar-thumb {
  background: #2a2a2f;
  border: 2px solid #0f0f10;
  border-radius: 999px;
  background-clip: padding-box;
}

html[data-bs-theme="dark"] ::-webkit-scrollbar-thumb:hover {
  background: #3a3a40;
  border: 2px solid #0f0f10;
  border-radius: 999px;
  background-clip: padding-box;
}

/* ---------- Surfstats-style pink CTA buttons (SurfStats 2026-04-25) ----------
   Surfstats' dark UI uses bright pink/purple CTA buttons on top of the flat
   near-black canvas. Keep neutral/outline buttons charcoal, but make primary
   action buttons use the pink accent instead of black/white blocks.
*/
html[data-bs-theme="dark"] {
  --bs-primary: #ff4fb8;
  --bs-primary-rgb: 255,79,184;
  --bs-primary-bg-subtle: rgba(255,79,184,.16);
  --bs-primary-border-subtle: rgba(255,79,184,.38);
  --vq-primary: #ff4fb8;
  --vq-primary-2: #a855f7;
}

html[data-bs-theme="dark"] .btn-primary,
html[data-bs-theme="dark"] .btn.btn-primary,
html[data-bs-theme="dark"] .btn-dark,
html[data-bs-theme="dark"] .btn.btn-dark,
html[data-bs-theme="dark"] .btn-success,
html[data-bs-theme="dark"] .btn.btn-success,
html[data-bs-theme="dark"] .vq-legacy-btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #ff4fb8;
  --bs-btn-border-color: #ff4fb8;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #ff69c6;
  --bs-btn-hover-border-color: #ff69c6;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #e83fa7;
  --bs-btn-active-border-color: #e83fa7;
  --bs-btn-disabled-color: rgba(255,255,255,.70);
  --bs-btn-disabled-bg: rgba(255,79,184,.46);
  --bs-btn-disabled-border-color: rgba(255,79,184,.28);
  background: linear-gradient(135deg, #ff4fb8 0%, #a855f7 100%) !important;
  border-color: rgba(255,255,255,.10) !important;
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(255,79,184,.22) !important;
}

html[data-bs-theme="dark"] .btn-primary:hover,
html[data-bs-theme="dark"] .btn-primary:focus,
html[data-bs-theme="dark"] .btn.btn-primary:hover,
html[data-bs-theme="dark"] .btn.btn-primary:focus,
html[data-bs-theme="dark"] .btn-dark:hover,
html[data-bs-theme="dark"] .btn-dark:focus,
html[data-bs-theme="dark"] .btn.btn-dark:hover,
html[data-bs-theme="dark"] .btn.btn-dark:focus,
html[data-bs-theme="dark"] .btn-success:hover,
html[data-bs-theme="dark"] .btn-success:focus,
html[data-bs-theme="dark"] .btn.btn-success:hover,
html[data-bs-theme="dark"] .btn.btn-success:focus,
html[data-bs-theme="dark"] .vq-legacy-btn-primary:hover,
html[data-bs-theme="dark"] .vq-legacy-btn-primary:focus {
  background: linear-gradient(135deg, #ff69c6 0%, #b86bff 100%) !important;
  border-color: rgba(255,255,255,.18) !important;
  color: #fff !important;
  box-shadow: 0 12px 34px rgba(255,79,184,.30) !important;
  transform: translateY(-1px);
}

html[data-bs-theme="dark"] .btn-primary:active,
html[data-bs-theme="dark"] .btn.btn-primary:active,
html[data-bs-theme="dark"] .btn-dark:active,
html[data-bs-theme="dark"] .btn.btn-dark:active,
html[data-bs-theme="dark"] .btn-success:active,
html[data-bs-theme="dark"] .btn.btn-success:active,
html[data-bs-theme="dark"] .vq-legacy-btn-primary:active {
  background: linear-gradient(135deg, #e83fa7 0%, #9652df 100%) !important;
  box-shadow: 0 6px 18px rgba(255,79,184,.20) !important;
  transform: translateY(0);
}

html[data-bs-theme="dark"] .btn-outline-primary {
  color: #ffd8ef !important;
  border-color: rgba(255,79,184,.48) !important;
  background: rgba(255,79,184,.10) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .btn-outline-primary:hover,
html[data-bs-theme="dark"] .btn-outline-primary:focus {
  color: #fff !important;
  border-color: rgba(255,79,184,.72) !important;
  background: rgba(255,79,184,.20) !important;
  box-shadow: 0 10px 28px rgba(255,79,184,.16) !important;
}

html[data-bs-theme="dark"] .vq-navgroup .vq-side-link.active {
  box-shadow: inset 3px 0 0 rgba(255,79,184,.96) !important;
}

html[data-bs-theme="dark"] .vq-all-tool-card.active {
  background: rgba(255,79,184,.16) !important;
  border-color: rgba(255,79,184,.46) !important;
  box-shadow: inset 3px 0 0 rgba(255,79,184,.96) !important;
}

/* ---------- Surfstats-style pink active tabs and card hover states (SurfStats 2026-04-25) ---------- */
html[data-bs-theme="dark"] .nav-tabs .nav-link.active,
html[data-bs-theme="dark"] .nav-tabs .nav-item.show .nav-link,
html[data-bs-theme="dark"] .nav-pills .nav-link.active,
html[data-bs-theme="dark"] .nav-pills .show > .nav-link,
html[data-bs-theme="dark"] .vq-legacy-tab.active,
html[data-bs-theme="dark"] .vq-legacy-chip.active,
html[data-bs-theme="dark"] .btn-group .btn.active,
html[data-bs-theme="dark"] .btn-check:checked + .btn,
html[data-bs-theme="dark"] .model-tile.active,
html[data-bs-theme="dark"] .videoai2-pill.active,
html[data-bs-theme="dark"] .videoai2-model.active,
html[data-bs-theme="dark"] .videoai2-side-item.active {
  color: #fff !important;
  background: linear-gradient(135deg, rgba(255,79,184,.24) 0%, rgba(168,85,247,.20) 100%) !important;
  border-color: rgba(255,79,184,.58) !important;
  box-shadow: 0 10px 28px rgba(255,79,184,.16), inset 0 1px 0 rgba(255,255,255,.08) !important;
}

html[data-bs-theme="dark"] .nav-tabs .nav-link.active {
  border-bottom-color: rgba(255,79,184,.58) !important;
}

html[data-bs-theme="dark"] .nav-tabs .nav-link:hover,
html[data-bs-theme="dark"] .nav-tabs .nav-link:focus,
html[data-bs-theme="dark"] .nav-pills .nav-link:hover,
html[data-bs-theme="dark"] .nav-pills .nav-link:focus,
html[data-bs-theme="dark"] .model-tile:hover,
html[data-bs-theme="dark"] .model-tile:focus,
html[data-bs-theme="dark"] .videoai2-model:hover,
html[data-bs-theme="dark"] .videoai2-model:focus {
  color: #fff !important;
  background: rgba(255,79,184,.12) !important;
  border-color: rgba(255,79,184,.42) !important;
  box-shadow: 0 8px 24px rgba(255,79,184,.12) !important;
}

html[data-bs-theme="dark"] .card:hover,
html[data-bs-theme="dark"] .card:focus-within,
html[data-bs-theme="dark"] .vq-card:hover,
html[data-bs-theme="dark"] .vq-card:focus-within,
html[data-bs-theme="dark"] .vq-tool-card:hover,
html[data-bs-theme="dark"] .vq-tool-card:focus-within,
html[data-bs-theme="dark"] .pv-cap-card:hover,
html[data-bs-theme="dark"] .pv-cap-card:focus-within,
html[data-bs-theme="dark"] .pv-stat-card:hover,
html[data-bs-theme="dark"] .pv-stat-card:focus-within,
html[data-bs-theme="dark"] .pv-story-card:hover,
html[data-bs-theme="dark"] .pv-story-card:focus-within,
html[data-bs-theme="dark"] .pv-featured-panel:hover,
html[data-bs-theme="dark"] .pv-featured-panel:focus-within,
html[data-bs-theme="dark"] .videoai2-card:hover,
html[data-bs-theme="dark"] .videoai2-card:focus-within,
html[data-bs-theme="dark"] .title-sug-card:hover,
html[data-bs-theme="dark"] .thumb-sug-card:hover {
  border-color: rgba(255,79,184,.46) !important;
  box-shadow: 0 16px 40px rgba(255,79,184,.14), 0 0 0 1px rgba(255,79,184,.18) !important;
}

html[data-bs-theme="dark"] .vq-all-tool-card:hover,
html[data-bs-theme="dark"] .vq-all-tool-card:focus,
html[data-bs-theme="dark"] .vq-tools-toolbar .dropdown-item:hover,
html[data-bs-theme="dark"] .vq-tools-toolbar .dropdown-item:focus,
html[data-bs-theme="dark"] .dropdown-item:hover,
html[data-bs-theme="dark"] .dropdown-item:focus {
  color: #fff !important;
  background: linear-gradient(135deg, rgba(255,79,184,.18) 0%, rgba(168,85,247,.14) 100%) !important;
  border-color: rgba(255,79,184,.38) !important;
}

html[data-bs-theme="dark"] .vq-all-tool-card:hover,
html[data-bs-theme="dark"] .vq-all-tool-card:focus {
  box-shadow: 0 14px 32px rgba(255,79,184,.14) !important;
}

html[data-bs-theme="dark"] .page-item.active .page-link {
  color: #fff !important;
  background: linear-gradient(135deg, #ff4fb8 0%, #a855f7 100%) !important;
  border-color: rgba(255,79,184,.72) !important;
  box-shadow: 0 10px 28px rgba(255,79,184,.16) !important;
}

/* ---------- Compact All Tools dialog buttons (SurfStats 2026-04-25) ---------- */
.vq-all-tools-modal .modal-body {
  padding-top: 1rem;
}

.vq-all-tools-modal .modal-body > p {
  margin-bottom: 1rem !important;
}

.vq-all-tools-modal .vq-all-tools-section {
  margin-bottom: 1rem;
}

.vq-all-tools-modal .vq-all-tools-heading {
  margin-bottom: .45rem;
  font-size: .86rem;
}

.vq-all-tools-modal .vq-all-tools-grid {
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: .45rem;
}

.vq-all-tools-modal .vq-all-tool-card {
  min-height: 40px;
  padding: .45rem .6rem;
  gap: .5rem;
  border-radius: .72rem;
  font-size: .84rem;
}

.vq-all-tools-modal .vq-all-tool-card i {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: .55rem;
  font-size: .78rem;
}

.vq-all-tools-modal .vq-all-tool-card span {
  font-weight: 600;
  line-height: 1.15;
}

/* ---------- Light mode compact All Tools dialog buttons (SurfStats 2026-04-25) ---------- */
html[data-bs-theme="light"] .vq-all-tools-modal .modal-body {
  padding-top: 1rem;
}

html[data-bs-theme="light"] .vq-all-tools-modal .modal-body > p {
  margin-bottom: 1rem !important;
}

html[data-bs-theme="light"] .vq-all-tools-modal .vq-all-tools-section {
  margin-bottom: 1rem;
}

html[data-bs-theme="light"] .vq-all-tools-modal .vq-all-tools-heading {
  margin-bottom: .45rem;
  font-size: .86rem;
}

html[data-bs-theme="light"] .vq-all-tools-modal .vq-all-tools-grid {
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: .45rem;
}

html[data-bs-theme="light"] .vq-all-tools-modal .vq-all-tool-card {
  min-height: 40px;
  padding: .45rem .6rem;
  gap: .5rem;
  border-radius: .72rem;
  font-size: .84rem;
  background: #ffffff;
  border-color: rgba(15, 23, 42, .10);
  color: #111827;
}

html[data-bs-theme="light"] .vq-all-tools-modal .vq-all-tool-card i {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: .55rem;
  font-size: .78rem;
  background: rgba(255, 79, 184, .10);
  color: #c026d3;
}

html[data-bs-theme="light"] .vq-all-tools-modal .vq-all-tool-card span {
  font-weight: 600;
  line-height: 1.15;
}

html[data-bs-theme="light"] .vq-all-tools-modal .vq-all-tool-card:hover,
html[data-bs-theme="light"] .vq-all-tools-modal .vq-all-tool-card:focus,
html[data-bs-theme="light"] .vq-all-tools-modal .vq-all-tool-card.active {
  background: linear-gradient(135deg, rgba(255,79,184,.10), rgba(168,85,247,.08));
  border-color: rgba(255,79,184,.42);
  color: #111827;
  box-shadow: 0 12px 28px rgba(255,79,184,.13);
}

/* ---------- Light mode Surfstats-style tabs, cards and buttons (SurfStats 2026-04-25) ---------- */
html[data-bs-theme="light"] {
  --bs-primary: #ff4fb8;
  --bs-primary-rgb: 255,79,184;
  --bs-primary-bg-subtle: rgba(255,79,184,.11);
  --bs-primary-border-subtle: rgba(255,79,184,.34);
  --vq-primary: #ff4fb8;
  --vq-primary-2: #a855f7;
  --bs-link-color: #c026d3;
  --bs-link-hover-color: #a21caf;
}

html[data-bs-theme="light"] .btn-primary,
html[data-bs-theme="light"] .btn.btn-primary,
html[data-bs-theme="light"] .btn-dark,
html[data-bs-theme="light"] .btn.btn-dark,
html[data-bs-theme="light"] .btn-success,
html[data-bs-theme="light"] .btn.btn-success,
html[data-bs-theme="light"] .vq-legacy-btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #ff4fb8;
  --bs-btn-border-color: #ff4fb8;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #ff69c6;
  --bs-btn-hover-border-color: #ff69c6;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #e83fa7;
  --bs-btn-active-border-color: #e83fa7;
  --bs-btn-disabled-color: rgba(255,255,255,.75);
  --bs-btn-disabled-bg: rgba(255,79,184,.46);
  --bs-btn-disabled-border-color: rgba(255,79,184,.28);
  background: linear-gradient(135deg, #ff4fb8 0%, #a855f7 100%) !important;
  border-color: rgba(168,85,247,.18) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(255,79,184,.20) !important;
}

html[data-bs-theme="light"] .btn-primary:hover,
html[data-bs-theme="light"] .btn-primary:focus,
html[data-bs-theme="light"] .btn.btn-primary:hover,
html[data-bs-theme="light"] .btn.btn-primary:focus,
html[data-bs-theme="light"] .btn-dark:hover,
html[data-bs-theme="light"] .btn-dark:focus,
html[data-bs-theme="light"] .btn.btn-dark:hover,
html[data-bs-theme="light"] .btn.btn-dark:focus,
html[data-bs-theme="light"] .btn-success:hover,
html[data-bs-theme="light"] .btn-success:focus,
html[data-bs-theme="light"] .btn.btn-success:hover,
html[data-bs-theme="light"] .btn.btn-success:focus,
html[data-bs-theme="light"] .vq-legacy-btn-primary:hover,
html[data-bs-theme="light"] .vq-legacy-btn-primary:focus {
  background: linear-gradient(135deg, #ff69c6 0%, #b86bff 100%) !important;
  border-color: rgba(168,85,247,.25) !important;
  color: #fff !important;
  box-shadow: 0 12px 30px rgba(255,79,184,.26) !important;
  transform: translateY(-1px);
}

html[data-bs-theme="light"] .btn-primary:active,
html[data-bs-theme="light"] .btn.btn-primary:active,
html[data-bs-theme="light"] .btn-dark:active,
html[data-bs-theme="light"] .btn.btn-dark:active,
html[data-bs-theme="light"] .btn-success:active,
html[data-bs-theme="light"] .btn.btn-success:active,
html[data-bs-theme="light"] .vq-legacy-btn-primary:active {
  background: linear-gradient(135deg, #e83fa7 0%, #9652df 100%) !important;
  box-shadow: 0 6px 16px rgba(255,79,184,.18) !important;
  transform: translateY(0);
}

html[data-bs-theme="light"] .btn-outline-primary {
  color: #c026d3 !important;
  border-color: rgba(255,79,184,.46) !important;
  background: rgba(255,79,184,.06) !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .btn-outline-primary:hover,
html[data-bs-theme="light"] .btn-outline-primary:focus {
  color: #fff !important;
  border-color: rgba(255,79,184,.66) !important;
  background: linear-gradient(135deg, #ff4fb8 0%, #a855f7 100%) !important;
  box-shadow: 0 10px 24px rgba(255,79,184,.18) !important;
}

html[data-bs-theme="light"] .nav-tabs .nav-link.active,
html[data-bs-theme="light"] .nav-tabs .nav-item.show .nav-link,
html[data-bs-theme="light"] .nav-pills .nav-link.active,
html[data-bs-theme="light"] .nav-pills .show > .nav-link,
html[data-bs-theme="light"] .vq-legacy-tab.active,
html[data-bs-theme="light"] .vq-legacy-chip.active,
html[data-bs-theme="light"] .btn-group .btn.active,
html[data-bs-theme="light"] .btn-check:checked + .btn,
html[data-bs-theme="light"] .model-tile.active,
html[data-bs-theme="light"] .videoai2-pill.active,
html[data-bs-theme="light"] .videoai2-model.active,
html[data-bs-theme="light"] .videoai2-side-item.active {
  color: #86198f !important;
  background: linear-gradient(135deg, rgba(255,79,184,.14) 0%, rgba(168,85,247,.11) 100%) !important;
  border-color: rgba(255,79,184,.46) !important;
  box-shadow: 0 10px 24px rgba(255,79,184,.12), inset 0 1px 0 rgba(255,255,255,.72) !important;
}

html[data-bs-theme="light"] .nav-tabs .nav-link.active {
  border-bottom-color: rgba(255,79,184,.52) !important;
}

html[data-bs-theme="light"] .nav-tabs .nav-link:hover,
html[data-bs-theme="light"] .nav-tabs .nav-link:focus,
html[data-bs-theme="light"] .nav-pills .nav-link:hover,
html[data-bs-theme="light"] .nav-pills .nav-link:focus,
html[data-bs-theme="light"] .model-tile:hover,
html[data-bs-theme="light"] .model-tile:focus,
html[data-bs-theme="light"] .videoai2-model:hover,
html[data-bs-theme="light"] .videoai2-model:focus {
  color: #86198f !important;
  background: rgba(255,79,184,.08) !important;
  border-color: rgba(255,79,184,.36) !important;
  box-shadow: 0 8px 22px rgba(255,79,184,.10) !important;
}

html[data-bs-theme="light"] .card:hover,
html[data-bs-theme="light"] .card:focus-within,
html[data-bs-theme="light"] .vq-card:hover,
html[data-bs-theme="light"] .vq-card:focus-within,
html[data-bs-theme="light"] .vq-tool-card:hover,
html[data-bs-theme="light"] .vq-tool-card:focus-within,
html[data-bs-theme="light"] .pv-cap-card:hover,
html[data-bs-theme="light"] .pv-cap-card:focus-within,
html[data-bs-theme="light"] .pv-stat-card:hover,
html[data-bs-theme="light"] .pv-stat-card:focus-within,
html[data-bs-theme="light"] .pv-story-card:hover,
html[data-bs-theme="light"] .pv-story-card:focus-within,
html[data-bs-theme="light"] .pv-featured-panel:hover,
html[data-bs-theme="light"] .pv-featured-panel:focus-within,
html[data-bs-theme="light"] .videoai2-card:hover,
html[data-bs-theme="light"] .videoai2-card:focus-within,
html[data-bs-theme="light"] .title-sug-card:hover,
html[data-bs-theme="light"] .thumb-sug-card:hover {
  border-color: rgba(255,79,184,.40) !important;
  box-shadow: 0 16px 36px rgba(255,79,184,.12), 0 0 0 1px rgba(255,79,184,.12) !important;
}

html[data-bs-theme="light"] .vq-all-tool-card:hover,
html[data-bs-theme="light"] .vq-all-tool-card:focus,
html[data-bs-theme="light"] .vq-tools-toolbar .dropdown-item:hover,
html[data-bs-theme="light"] .vq-tools-toolbar .dropdown-item:focus,
html[data-bs-theme="light"] .dropdown-item:hover,
html[data-bs-theme="light"] .dropdown-item:focus {
  color: #86198f !important;
  background: linear-gradient(135deg, rgba(255,79,184,.11) 0%, rgba(168,85,247,.09) 100%) !important;
  border-color: rgba(255,79,184,.32) !important;
}

html[data-bs-theme="light"] .page-item.active .page-link {
  color: #fff !important;
  background: linear-gradient(135deg, #ff4fb8 0%, #a855f7 100%) !important;
  border-color: rgba(255,79,184,.66) !important;
  box-shadow: 0 10px 24px rgba(255,79,184,.14) !important;
}

/* ---------- Light mode outline button visibility fix (SurfStats 2026-04-25) ----------
   Buttons such as the landing-page "App info" CTA use btn-outline-light.
   On light backgrounds Bootstrap makes those controls white-on-white, so force
   them into the same visible pink/purple outline treatment used elsewhere. */
html[data-bs-theme="light"] .btn-outline-light,
html[data-bs-theme="light"] .btn.btn-outline-light,
html[data-bs-theme="light"] .vq-hero-cta.btn-outline-light {
  --bs-btn-color: #86198f;
  --bs-btn-border-color: rgba(255,79,184,.46);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #ff4fb8;
  --bs-btn-hover-border-color: rgba(255,79,184,.66);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #e83fa7;
  --bs-btn-active-border-color: rgba(255,79,184,.72);
  color: #86198f !important;
  background: rgba(255,79,184,.06) !important;
  border-color: rgba(255,79,184,.46) !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .btn-outline-light:hover,
html[data-bs-theme="light"] .btn-outline-light:focus,
html[data-bs-theme="light"] .btn.btn-outline-light:hover,
html[data-bs-theme="light"] .btn.btn-outline-light:focus,
html[data-bs-theme="light"] .vq-hero-cta.btn-outline-light:hover,
html[data-bs-theme="light"] .vq-hero-cta.btn-outline-light:focus {
  color: #fff !important;
  background: linear-gradient(135deg, #ff4fb8 0%, #a855f7 100%) !important;
  border-color: rgba(255,79,184,.66) !important;
  box-shadow: 0 10px 24px rgba(255,79,184,.18) !important;
  transform: translateY(-1px);
}

html[data-bs-theme="light"] .btn-outline-light:active,
html[data-bs-theme="light"] .btn.btn-outline-light:active,
html[data-bs-theme="light"] .vq-hero-cta.btn-outline-light:active {
  color: #fff !important;
  background: linear-gradient(135deg, #e83fa7 0%, #9652df 100%) !important;
  border-color: rgba(255,79,184,.72) !important;
  box-shadow: 0 6px 16px rgba(255,79,184,.16) !important;
  transform: translateY(0);
}

/* ---------- Light mode blue accent restore (SurfStats 2026-04-25) ----------
   Keep the Surfstats-style pink/purple accents for dark mode only. In light mode,
   restore the original Bootstrap-style blue accent for buttons, tabs, cards, and tool links. */
html[data-bs-theme="light"] {
  --bs-primary: #0d6efd;
  --bs-primary-rgb: 13,110,253;
  --bs-primary-bg-subtle: rgba(13,110,253,.10);
  --bs-primary-border-subtle: rgba(13,110,253,.32);
  --vq-primary: #0d6efd;
  --vq-primary-2: #0b5ed7;
  --bs-link-color: #0d6efd;
  --bs-link-hover-color: #0a58ca;
}

html[data-bs-theme="light"] .btn-primary,
html[data-bs-theme="light"] .btn.btn-primary,
html[data-bs-theme="light"] .btn-dark,
html[data-bs-theme="light"] .btn.btn-dark,
html[data-bs-theme="light"] .btn-success,
html[data-bs-theme="light"] .btn.btn-success,
html[data-bs-theme="light"] .vq-legacy-btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #0d6efd;
  --bs-btn-border-color: #0d6efd;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #0b5ed7;
  --bs-btn-hover-border-color: #0a58ca;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #0a58ca;
  --bs-btn-active-border-color: #0a53be;
  --bs-btn-disabled-color: rgba(255,255,255,.75);
  --bs-btn-disabled-bg: rgba(13,110,253,.46);
  --bs-btn-disabled-border-color: rgba(13,110,253,.30);
  background: #0d6efd !important;
  border-color: #0d6efd !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(13,110,253,.18) !important;
}

html[data-bs-theme="light"] .btn-primary:hover,
html[data-bs-theme="light"] .btn-primary:focus,
html[data-bs-theme="light"] .btn.btn-primary:hover,
html[data-bs-theme="light"] .btn.btn-primary:focus,
html[data-bs-theme="light"] .btn-dark:hover,
html[data-bs-theme="light"] .btn-dark:focus,
html[data-bs-theme="light"] .btn.btn-dark:hover,
html[data-bs-theme="light"] .btn.btn-dark:focus,
html[data-bs-theme="light"] .btn-success:hover,
html[data-bs-theme="light"] .btn-success:focus,
html[data-bs-theme="light"] .btn.btn-success:hover,
html[data-bs-theme="light"] .btn.btn-success:focus,
html[data-bs-theme="light"] .vq-legacy-btn-primary:hover,
html[data-bs-theme="light"] .vq-legacy-btn-primary:focus {
  background: #0b5ed7 !important;
  border-color: #0a58ca !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(13,110,253,.22) !important;
  transform: translateY(-1px);
}

html[data-bs-theme="light"] .btn-primary:active,
html[data-bs-theme="light"] .btn.btn-primary:active,
html[data-bs-theme="light"] .btn-dark:active,
html[data-bs-theme="light"] .btn.btn-dark:active,
html[data-bs-theme="light"] .btn-success:active,
html[data-bs-theme="light"] .btn.btn-success:active,
html[data-bs-theme="light"] .vq-legacy-btn-primary:active {
  background: #0a58ca !important;
  border-color: #0a53be !important;
  box-shadow: 0 6px 16px rgba(13,110,253,.16) !important;
  transform: translateY(0);
}

html[data-bs-theme="light"] .btn-outline-primary,
html[data-bs-theme="light"] .btn-outline-light,
html[data-bs-theme="light"] .btn.btn-outline-light,
html[data-bs-theme="light"] .vq-hero-cta.btn-outline-light {
  --bs-btn-color: #0d6efd;
  --bs-btn-border-color: rgba(13,110,253,.48);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #0d6efd;
  --bs-btn-hover-border-color: #0d6efd;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #0a58ca;
  --bs-btn-active-border-color: #0a53be;
  color: #0d6efd !important;
  background: rgba(13,110,253,.055) !important;
  border-color: rgba(13,110,253,.48) !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .btn-outline-primary:hover,
html[data-bs-theme="light"] .btn-outline-primary:focus,
html[data-bs-theme="light"] .btn-outline-light:hover,
html[data-bs-theme="light"] .btn-outline-light:focus,
html[data-bs-theme="light"] .btn.btn-outline-light:hover,
html[data-bs-theme="light"] .btn.btn-outline-light:focus,
html[data-bs-theme="light"] .vq-hero-cta.btn-outline-light:hover,
html[data-bs-theme="light"] .vq-hero-cta.btn-outline-light:focus {
  color: #fff !important;
  background: #0d6efd !important;
  border-color: #0d6efd !important;
  box-shadow: 0 10px 24px rgba(13,110,253,.20) !important;
  transform: translateY(-1px);
}

html[data-bs-theme="light"] .btn-outline-primary:active,
html[data-bs-theme="light"] .btn-outline-light:active,
html[data-bs-theme="light"] .btn.btn-outline-light:active,
html[data-bs-theme="light"] .vq-hero-cta.btn-outline-light:active {
  color: #fff !important;
  background: #0a58ca !important;
  border-color: #0a53be !important;
  box-shadow: 0 6px 16px rgba(13,110,253,.16) !important;
  transform: translateY(0);
}

html[data-bs-theme="light"] .nav-tabs .nav-link.active,
html[data-bs-theme="light"] .nav-tabs .nav-item.show .nav-link,
html[data-bs-theme="light"] .nav-pills .nav-link.active,
html[data-bs-theme="light"] .nav-pills .show > .nav-link,
html[data-bs-theme="light"] .vq-legacy-tab.active,
html[data-bs-theme="light"] .vq-legacy-chip.active,
html[data-bs-theme="light"] .btn-group .btn.active,
html[data-bs-theme="light"] .btn-check:checked + .btn,
html[data-bs-theme="light"] .model-tile.active,
html[data-bs-theme="light"] .videoai2-pill.active,
html[data-bs-theme="light"] .videoai2-model.active,
html[data-bs-theme="light"] .videoai2-side-item.active {
  color: #084298 !important;
  background: rgba(13,110,253,.10) !important;
  border-color: rgba(13,110,253,.44) !important;
  box-shadow: 0 8px 20px rgba(13,110,253,.12), inset 0 1px 0 rgba(255,255,255,.72) !important;
}

html[data-bs-theme="light"] .nav-tabs .nav-link.active {
  border-bottom-color: rgba(13,110,253,.52) !important;
}

html[data-bs-theme="light"] .nav-tabs .nav-link:hover,
html[data-bs-theme="light"] .nav-tabs .nav-link:focus,
html[data-bs-theme="light"] .nav-pills .nav-link:hover,
html[data-bs-theme="light"] .nav-pills .nav-link:focus,
html[data-bs-theme="light"] .model-tile:hover,
html[data-bs-theme="light"] .model-tile:focus,
html[data-bs-theme="light"] .videoai2-model:hover,
html[data-bs-theme="light"] .videoai2-model:focus {
  color: #084298 !important;
  background: rgba(13,110,253,.075) !important;
  border-color: rgba(13,110,253,.34) !important;
  box-shadow: 0 8px 20px rgba(13,110,253,.10) !important;
}

html[data-bs-theme="light"] .card:hover,
html[data-bs-theme="light"] .card:focus-within,
html[data-bs-theme="light"] .vq-card:hover,
html[data-bs-theme="light"] .vq-card:focus-within,
html[data-bs-theme="light"] .vq-tool-card:hover,
html[data-bs-theme="light"] .vq-tool-card:focus-within,
html[data-bs-theme="light"] .pv-cap-card:hover,
html[data-bs-theme="light"] .pv-cap-card:focus-within,
html[data-bs-theme="light"] .pv-stat-card:hover,
html[data-bs-theme="light"] .pv-stat-card:focus-within,
html[data-bs-theme="light"] .pv-story-card:hover,
html[data-bs-theme="light"] .pv-story-card:focus-within,
html[data-bs-theme="light"] .pv-featured-panel:hover,
html[data-bs-theme="light"] .pv-featured-panel:focus-within,
html[data-bs-theme="light"] .videoai2-card:hover,
html[data-bs-theme="light"] .videoai2-card:focus-within,
html[data-bs-theme="light"] .title-sug-card:hover,
html[data-bs-theme="light"] .thumb-sug-card:hover {
  border-color: rgba(13,110,253,.38) !important;
  box-shadow: 0 14px 32px rgba(13,110,253,.11), 0 0 0 1px rgba(13,110,253,.11) !important;
}

html[data-bs-theme="light"] .vq-all-tools-modal .vq-all-tool-card i {
  background: rgba(13,110,253,.10) !important;
  color: #0d6efd !important;
}

html[data-bs-theme="light"] .vq-all-tools-modal .vq-all-tool-card:hover,
html[data-bs-theme="light"] .vq-all-tools-modal .vq-all-tool-card:focus,
html[data-bs-theme="light"] .vq-all-tools-modal .vq-all-tool-card.active,
html[data-bs-theme="light"] .vq-all-tool-card:hover,
html[data-bs-theme="light"] .vq-all-tool-card:focus,
html[data-bs-theme="light"] .vq-tools-toolbar .dropdown-item:hover,
html[data-bs-theme="light"] .vq-tools-toolbar .dropdown-item:focus,
html[data-bs-theme="light"] .dropdown-item:hover,
html[data-bs-theme="light"] .dropdown-item:focus {
  color: #084298 !important;
  background: rgba(13,110,253,.08) !important;
  border-color: rgba(13,110,253,.32) !important;
  box-shadow: 0 10px 24px rgba(13,110,253,.12) !important;
}

html[data-bs-theme="light"] .page-item.active .page-link {
  color: #fff !important;
  background: #0d6efd !important;
  border-color: #0d6efd !important;
  box-shadow: 0 8px 20px rgba(13,110,253,.14) !important;
}


/* Clear homepage purpose panel for Google OAuth review and visitors */
.vq-purpose-box{
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  padding: 1rem;
  background: var(--bs-tertiary-bg);
  color: var(--bs-body-color);
}
.vq-purpose-box p{
  color: var(--bs-secondary-color);
}
.vq-purpose-box a{
  color: var(--bs-link-color);
}
html[data-bs-theme="dark"] .vq-purpose-box{
  background: #121216;
  border-color: rgba(255,255,255,.12);
}

@media (max-width: 576px){
  .vq-brandmark{ height:34px; }
  .vq-brandmark-sm{ height:28px; }
}

/* Simple app Home page */
.vq-app-home-simple{
  min-height: calc(100vh - 58px);
  display:flex;
  align-items:flex-start;
  justify-content:center;
}
.vq-app-home-inner{
  width:100%;
  max-width:1120px;
  padding-top:clamp(2rem, 7vw, 6rem);
}
.vq-app-home-title{
  font-size:clamp(2.25rem, 5vw, 4.8rem);
  line-height:.98;
  letter-spacing:-.06em;
  font-weight:800;
  max-width:920px;
  margin-left:auto;
  margin-right:auto;
}
html[data-bs-theme="dark"] .vq-app-home-title{
  color:#fff;
}
html[data-bs-theme="light"] .vq-app-home-title{
  color:#111827;
}
.vq-app-home-simple .vq-tools-toolbar{
  margin-left:auto;
  margin-right:auto;
}
.vq-app-home-simple .vq-tools-toolbar .dropdown-menu{
  text-align:left;
}

/* SurfStats dark-mode select arrows - final override
   Put at the end because earlier dark-mode form rules use the background shorthand,
   which can wipe out Bootstrap's select arrow background-image. */
:root {
  --slamdunk-select-arrow-light-svg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.25' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

html[data-bs-theme="dark"] select:not([multiple]):not([size]),
html[data-theme="dark"] select:not([multiple]):not([size]) {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  color-scheme: dark !important;
  padding-right: 2.75rem !important;
  background-color: #212529 !important;
  background-image: var(--slamdunk-select-arrow-light-svg) !important;
  background-repeat: no-repeat !important;
  background-position: right .85rem center !important;
  background-size: 1rem .75rem !important;
}

html[data-bs-theme="dark"] select:not([multiple]):not([size]):focus,
html[data-theme="dark"] select:not([multiple]):not([size]):focus {
  background-color: #212529 !important;
  background-image: var(--slamdunk-select-arrow-light-svg) !important;
  background-repeat: no-repeat !important;
  background-position: right .85rem center !important;
  background-size: 1rem .75rem !important;
}

html[data-bs-theme="dark"] .form-select,
html[data-theme="dark"] .form-select {
  --bs-form-select-bg-img: var(--slamdunk-select-arrow-light-svg) !important;
}

html[data-bs-theme="dark"] select::-ms-expand,
html[data-theme="dark"] select::-ms-expand {
  display: none !important;
}


/* Performance: avoid rendering lower page sections until they are near the viewport. */
@supports (content-visibility: auto) {
  body:not(.vq-app) main > section:not(.vq-hero) {
    content-visibility: auto;
    contain-intrinsic-size: 1px 720px;
  }

  .vq-app .home-section-shell {
    content-visibility: auto;
    contain-intrinsic-size: 1px 460px;
  }
}

/* ---------- Sidebar AI/All Tools hover modal (SurfStats 2026-05-15) ----------
   Keeps the hover-open behaviour, but centers the tools panel in the available
   app window area to the right of the sidebar instead of pinning it flush left. */
.vq-all-tools-flyout {
  position: fixed;
  top: var(--sd-all-tools-top, 0);
  left: var(--sd-all-tools-left, 280px);
  width: var(--sd-all-tools-area-width, calc(100vw - var(--sd-all-tools-left, 280px)));
  height: var(--sd-all-tools-height, 100vh);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1065;
  pointer-events: none;
  padding: clamp(.75rem, 2vw, 1.5rem);
  box-sizing: border-box;
}

.vq-all-tools-flyout.show {
  display: flex;
  pointer-events: auto;
}

.vq-all-tools-flyout .modal-dialog {
  width: min(980px, 100%);
  max-width: min(980px, 100%);
  height: auto;
  max-height: calc(var(--sd-all-tools-height, 100vh) - clamp(1.5rem, 4vw, 3rem));
  margin: 0;
  transform: translateY(8px) scale(.985);
  opacity: 0;
  transition: transform .16s ease, opacity .16s ease;
}

.vq-all-tools-flyout.show .modal-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.vq-all-tools-flyout .modal-content {
  max-height: calc(var(--sd-all-tools-height, 100vh) - clamp(1.5rem, 4vw, 3rem));
  border-radius: 1.15rem;
  border: var(--bs-border-width) solid var(--bs-border-color);
  box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, .22);
  overflow: hidden;
}

.vq-all-tools-flyout .modal-body {
  overflow-y: auto;
}

body.vq-app.vq-all-tools-modal-open {
  overflow: auto !important;
  padding-right: 0 !important;
}

body.vq-app.vq-all-tools-modal-open .modal-backdrop {
  display: none !important;
}

@media (max-width: 991.98px) {
  .vq-all-tools-flyout {
    inset: 0;
    width: 100vw;
    height: 100dvh;
    padding: .75rem;
  }

  .vq-all-tools-flyout .modal-dialog {
    width: min(100%, 980px);
    max-width: min(100%, 980px);
    max-height: calc(100dvh - 1.5rem);
  }

  .vq-all-tools-flyout .modal-content {
    max-height: calc(100dvh - 1.5rem);
    border-radius: 1rem;
  }
}

/* Higher-specificity overrides so the hover modal wins over the old Bootstrap modal rules. */
body.vq-app .vq-all-tools-modal.vq-all-tools-flyout {
  position: fixed;
  top: var(--sd-all-tools-top, 0) !important;
  left: var(--sd-all-tools-left, 280px) !important;
  right: auto !important;
  bottom: auto !important;
  width: var(--sd-all-tools-area-width, calc(100vw - var(--sd-all-tools-left, 280px))) !important;
  height: var(--sd-all-tools-height, 100vh) !important;
  margin: 0 !important;
}

body.vq-app .vq-all-tools-modal.vq-all-tools-flyout .modal-dialog,
body.vq-app .vq-all-tools-modal.vq-all-tools-flyout .vq-all-tools-dialog {
  width: min(980px, 100%) !important;
  max-width: min(980px, 100%) !important;
  height: auto !important;
  max-height: calc(var(--sd-all-tools-height, 100vh) - clamp(1.5rem, 4vw, 3rem)) !important;
  margin: 0 !important;
}

body.vq-app .vq-all-tools-modal.vq-all-tools-flyout .modal-content {
  height: auto !important;
  max-height: calc(var(--sd-all-tools-height, 100vh) - clamp(1.5rem, 4vw, 3rem)) !important;
}

@media (max-width: 991.98px) {
  body.vq-app .vq-all-tools-modal.vq-all-tools-flyout {
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    padding: .75rem !important;
  }
}


/* All Tools inline multi-layer sidebar dropdown */
.vq-navgroup .vq-side-link-button .vq-tools2-caret {
  transition: transform .18s ease;
}

.vq-navgroup .vq-side-link-button.tools2-open .vq-tools2-caret {
  transform: rotate(180deg);
}

.vq-tools2-menu {
  display: none;
  margin: .35rem 0 .75rem .15rem;
  padding: .35rem .35rem .45rem .55rem;
  border-left: 1px solid rgba(255,255,255,.10);
  border-radius: 0 14px 14px 0;
  background: rgba(255,255,255,.025);
}

.vq-tools2-menu.show {
  display: block;
}

.vq-tools2-group + .vq-tools2-group {
  margin-top: .25rem;
}

.vq-tools2-category {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .48rem .55rem;
  border-radius: 12px;
  font-size: .86rem;
  font-weight: 700;
  text-align: left;
}

.vq-tools2-category span {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-width: 0;
}

.vq-tools2-category:hover,
.vq-tools2-category:focus {
  background: rgba(255,255,255,.08);
  outline: none;
}

.vq-tools2-category .bi-chevron-down {
  transition: transform .18s ease;
  font-size: .78rem;
  opacity: .78;
}

.vq-tools2-group.open > .vq-tools2-category .bi-chevron-down {
  transform: rotate(180deg);
}

.vq-tools2-layer {
  display: none;
  margin: .2rem 0 .35rem .65rem;
  padding-left: .45rem;
  border-left: 1px dashed rgba(255,255,255,.13);
}

.vq-tools2-layer.show {
  display: block;
}

.vq-tools2-layer .vq-side-link-sub {
  font-size: .82rem;
  padding-top: .42rem;
  padding-bottom: .42rem;
  margin-bottom: .12rem;
}

html[data-bs-theme="light"] .vq-tools2-menu {
  background: rgba(15, 23, 42, .025);
  border-left-color: rgba(15, 23, 42, .10);
}

html[data-bs-theme="light"] .vq-tools2-category:hover,
html[data-bs-theme="light"] .vq-tools2-category:focus {
  background: rgba(15, 23, 42, .065);
}

html[data-bs-theme="light"] .vq-tools2-layer {
  border-left-color: rgba(15, 23, 42, .12);
}

/* ---------- Cleaner app sidebar: search, favorites, recent and accordion groups ---------- */
.vq-navgroup-clean {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.vq-sidebar-tools {
  display: grid;
  gap: .5rem;
}

.vq-sidebar-search-wrap {
  position: relative;
}

.vq-sidebar-search-wrap > i {
  position: absolute;
  left: .72rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bs-secondary-color);
  pointer-events: none;
  font-size: .9rem;
}

.vq-sidebar-search {
  border-radius: 999px;
  padding-left: 2rem;
  background: rgba(var(--bs-body-color-rgb, 33, 37, 41), .035);
}

.vq-sidebar-pin-current {
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  font-size: .82rem;
  font-weight: 600;
  padding: .42rem .75rem;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.vq-sidebar-pin-current:hover,
.vq-sidebar-pin-current:focus {
  background: rgba(var(--bs-primary-rgb), .09);
  border-color: rgba(var(--bs-primary-rgb), .35);
  color: var(--bs-primary);
}

.vq-sidebar-pin-current.pinned {
  background: rgba(var(--bs-warning-rgb, 255, 193, 7), .14);
  border-color: rgba(var(--bs-warning-rgb, 255, 193, 7), .38);
  color: var(--bs-warning-text-emphasis, #664d03);
}

.vq-sidebar-smart-section {
  border: 1px solid rgba(var(--bs-body-color-rgb, 33, 37, 41), .08);
  border-radius: 1rem;
  padding: .62rem;
  background: rgba(var(--bs-body-color-rgb, 33, 37, 41), .025);
}

.vq-sidebar-smart-title {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
  color: var(--bs-secondary-color);
  margin-bottom: .45rem;
}

.vq-sidebar-smart-list {
  display: grid;
  gap: .28rem;
}

.vq-sidebar-empty {
  color: var(--bs-secondary-color);
  font-size: .78rem;
  line-height: 1.25;
  padding: .1rem .15rem;
}

.vq-sidebar-mini-link {
  display: flex;
  align-items: center;
  gap: .48rem;
  min-width: 0;
  border-radius: .78rem;
  padding: .42rem .5rem;
  color: var(--bs-body-color);
  text-decoration: none;
  font-size: .84rem;
  font-weight: 600;
}

.vq-sidebar-mini-link:hover,
.vq-sidebar-mini-link:focus {
  background: rgba(var(--bs-primary-rgb), .08);
  color: var(--bs-primary);
}

.vq-sidebar-mini-link i {
  flex: 0 0 auto;
  color: var(--bs-secondary-color);
}

.vq-sidebar-mini-link span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vq-nav-accordion {
  display: grid;
  gap: .42rem;
}

.vq-nav-accordion-item {
  border: 1px solid rgba(var(--bs-body-color-rgb, 33, 37, 41), .075);
  border-radius: 1rem;
  background: rgba(var(--bs-body-color-rgb, 33, 37, 41), .018);
  overflow: hidden;
}

.vq-nav-accordion-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--bs-body-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .72rem .78rem;
  border-radius: 1rem;
  font-weight: 700;
  font-size: .92rem;
  text-align: left;
}

.vq-nav-accordion-toggle > span {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-width: 0;
}

.vq-nav-accordion-toggle > span > i {
  color: var(--bs-secondary-color);
}

.vq-nav-accordion-toggle > .bi-chevron-down {
  color: var(--bs-secondary-color);
  transition: transform .16s ease;
}

.vq-nav-accordion-toggle:hover,
.vq-nav-accordion-toggle:focus,
.vq-nav-accordion-toggle.active {
  background: rgba(var(--bs-primary-rgb), .08);
  color: var(--bs-primary);
}

.vq-nav-accordion-toggle.vq-nav-accordion-open > .bi-chevron-down {
  transform: rotate(180deg);
}

.vq-nav-accordion-panel {
  display: none;
  padding: .16rem .42rem .52rem;
}

.vq-nav-accordion-panel.show {
  display: grid;
  gap: .18rem;
}

.vq-navgroup-clean .vq-side-link-main,
.vq-navgroup-clean .vq-side-link-sub {
  border-radius: .78rem;
  padding-top: .55rem;
  padding-bottom: .55rem;
}

.vq-navgroup-clean .vq-side-link-sub {
  margin-left: .42rem;
  padding-left: .62rem;
}

.vq-navgroup-clean .vq-side-link-button {
  width: 100%;
}

.vq-nav-filter-hidden {
  display: none !important;
}

.vq-navgroup-clean.vq-nav-searching .vq-sidebar-smart-section {
  display: none;
}

.vq-navgroup-clean.vq-nav-searching .vq-nav-accordion-item {
  border-color: rgba(var(--bs-primary-rgb), .16);
}

html[data-bs-theme="dark"] .vq-sidebar-search {
  background: rgba(255, 255, 255, .045);
}

html[data-bs-theme="dark"] .vq-sidebar-pin-current,
html[data-bs-theme="dark"] .vq-sidebar-smart-section,
html[data-bs-theme="dark"] .vq-nav-accordion-item {
  background: rgba(255, 255, 255, .035);
  border-color: rgba(255, 255, 255, .08);
}

html[data-bs-theme="dark"] .vq-sidebar-pin-current.pinned {
  background: rgba(255, 193, 7, .14);
  color: #ffd66b;
}

/* ---------- All Tools modal visible inside border (SurfStats 2026-05-16) ---------- */
.vq-all-tools-modal .modal-content {
  border: 1px solid rgba(15, 23, 42, .22) !important;
  box-shadow:
    inset 0 0 0 1px rgba(15, 23, 42, .08),
    0 1.25rem 3rem rgba(0, 0, 0, .22) !important;
}

.vq-all-tools-modal .modal-header {
  border-bottom: 1px solid rgba(15, 23, 42, .12) !important;
}

html[data-bs-theme="dark"] .vq-all-tools-modal .modal-content {
  border-color: rgba(255, 255, 255, .22) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .10),
    0 1.25rem 3rem rgba(0, 0, 0, .44) !important;
}

html[data-bs-theme="dark"] .vq-all-tools-modal .modal-header {
  border-bottom-color: rgba(255, 255, 255, .14) !important;
}

/* ---------- All Tools hover modal guaranteed inner border (SurfStats 2026-05-16 v2) ----------
   Draws the border on pseudo-elements inside the actual hover flyout content so
   it remains visible even when Bootstrap/theme rules override normal borders. */
body.vq-app .vq-all-tools-modal.vq-all-tools-flyout .modal-content {
  position: relative !important;
  border: 2px solid rgba(15, 23, 42, .42) !important;
  outline: 1px solid rgba(255, 255, 255, .65) !important;
  outline-offset: -6px !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .78),
    inset 0 0 0 7px rgba(15, 23, 42, .10),
    0 1.25rem 3rem rgba(0, 0, 0, .24) !important;
}

body.vq-app .vq-all-tools-modal.vq-all-tools-flyout .modal-content::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px solid rgba(15, 23, 42, .30);
  border-radius: calc(1.15rem - 8px);
  pointer-events: none;
  z-index: 3;
}

body.vq-app .vq-all-tools-modal.vq-all-tools-flyout .modal-header,
body.vq-app .vq-all-tools-modal.vq-all-tools-flyout .modal-body {
  position: relative;
  z-index: 2;
}

body.vq-app .vq-all-tools-modal.vq-all-tools-flyout .modal-header {
  border-bottom: 2px solid rgba(15, 23, 42, .18) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-all-tools-modal.vq-all-tools-flyout .modal-content {
  border-color: rgba(255, 255, 255, .38) !important;
  outline-color: rgba(15, 23, 42, .75) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .16),
    inset 0 0 0 7px rgba(255, 255, 255, .07),
    0 1.25rem 3rem rgba(0, 0, 0, .48) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-all-tools-modal.vq-all-tools-flyout .modal-content::before {
  border-color: rgba(255, 255, 255, .28);
}

html[data-bs-theme="dark"] body.vq-app .vq-all-tools-modal.vq-all-tools-flyout .modal-header {
  border-bottom-color: rgba(255, 255, 255, .18) !important;
}

/* ---------- My tools sidebar hover modal (SurfStats 2026-05-16) ---------- */
.vq-my-tools-nav-item {
  overflow: visible;
}

.vq-my-tools-trigger.my-tools-open,
.vq-my-tools-trigger:hover,
.vq-my-tools-trigger:focus {
  background: rgba(var(--bs-primary-rgb), .08);
  color: var(--bs-primary);
}

.vq-my-tools-hover-modal {
  position: fixed;
  top: var(--sd-my-tools-top, 0);
  left: var(--sd-my-tools-left, 280px);
  width: var(--sd-my-tools-area-width, calc(100vw - var(--sd-my-tools-left, 280px)));
  height: var(--sd-my-tools-height, 100vh);
  z-index: 2147483000 !important;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1rem, 2.4vw, 2rem);
  pointer-events: none;
  background: rgba(15, 23, 42, .42);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  isolation: isolate;
  transform: translateZ(0);
}

.vq-my-tools-hover-modal.show {
  display: flex !important;
  pointer-events: auto;
}

body.sd-my-tools-modal-open-body .vq-main,
body.sd-my-tools-modal-open-body .vq-app-topbar,
body.sd-my-tools-modal-open-body .vq-app-content {
  pointer-events: none;
}

body.sd-my-tools-modal-open-body .vq-my-tools-hover-modal,
body.sd-my-tools-modal-open-body .vq-my-tools-hover-modal * {
  pointer-events: auto;
}

.vq-my-tools-card {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100vw - var(--sd-my-tools-left, 280px) - 2rem));
  max-height: calc(var(--sd-my-tools-height, 100vh) - clamp(2rem, 5vw, 4rem));
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .18);
  border-radius: 1.25rem;
  background: rgba(var(--bs-body-bg-rgb, 255, 255, 255), .98);
  box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, .22);
  pointer-events: auto;
}

.vq-my-tools-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(15, 23, 42, .10);
}

.vq-my-tools-header h2 {
  font-size: 1.18rem;
  line-height: 1.15;
  margin: 0;
  font-weight: 850;
}

.vq-my-tools-header p {
  color: var(--bs-secondary-color);
  font-size: .88rem;
  margin: .25rem 0 0;
}

.vq-my-tools-close {
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
  flex: 0 0 auto;
}

.vq-my-tools-close:hover,
.vq-my-tools-close:focus {
  color: var(--bs-primary);
  border-color: rgba(var(--bs-primary-rgb), .35);
  background: rgba(var(--bs-primary-rgb), .08);
}

.vq-my-tools-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: .85rem;
  padding: 1rem;
  overflow: auto;
  max-height: calc(var(--sd-my-tools-height, 100vh) - 8rem);
}

.vq-my-tools-column {
  min-width: 0;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 1rem;
  background: rgba(var(--bs-body-color-rgb, 33, 37, 41), .025);
  padding: .8rem;
}

.vq-my-tools-column h3 {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .055em;
  text-transform: uppercase;
  color: var(--bs-secondary-color);
  margin: 0 0 .62rem;
}

.vq-my-tools-column a {
  display: flex;
  align-items: center;
  gap: .48rem;
  min-width: 0;
  border-radius: .75rem;
  padding: .52rem .58rem;
  color: var(--bs-body-color);
  text-decoration: none;
  font-size: .86rem;
  font-weight: 650;
}

.vq-my-tools-column a:hover,
.vq-my-tools-column a:focus,
.vq-my-tools-column a.active {
  background: rgba(var(--bs-primary-rgb), .09);
  color: var(--bs-primary);
}

.vq-my-tools-column a i {
  color: var(--bs-secondary-color);
  flex: 0 0 auto;
}

.vq-my-tools-column a span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-bs-theme="dark"] .vq-my-tools-card {
  background: rgba(14, 15, 18, .98);
  border-color: rgba(255, 255, 255, .13);
  box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, .48);
}

html[data-bs-theme="dark"] .vq-my-tools-hover-modal {
  background: rgba(0, 0, 0, .58);
}


html[data-bs-theme="dark"] .vq-my-tools-header {
  border-bottom-color: rgba(255, 255, 255, .10);
}

html[data-bs-theme="dark"] .vq-my-tools-column {
  border-color: rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .035);
}

@media (max-width: 991.98px) {
  .vq-my-tools-hover-modal {
    left: 0;
    width: 100vw;
    padding: .75rem;
    z-index: 2147483000 !important;
  }

  .vq-my-tools-card {
    width: min(100%, 680px);
    max-height: calc(100dvh - 1.5rem);
  }

  .vq-my-tools-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: calc(100dvh - 7rem);
  }
}

@media (max-width: 575.98px) {
  .vq-my-tools-body {
    grid-template-columns: 1fr;
  }
}


/* ---------- Mobile app topbar account dropdown (SurfStats 2026-05-16) ---------- */
.vq-mobile-account-menu .dropdown-menu {
  min-width: min(18rem, calc(100vw - 1rem));
}

.vq-mobile-account-dropdown {
  border: 1px solid var(--bs-border-color);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, .18);
  max-height: calc(100dvh - 5rem);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.vq-mobile-account-dropdown .dropdown-item {
  min-height: 2.4rem;
}

@media (max-width: 991.98px) {
  .vq-app-topbar .vq-topbar-actions {
    flex: 0 0 auto;
  }

  .vq-app-topbar .vq-mobile-account-toggle {
    min-width: 2.45rem;
  }

  .vq-app-topbar-title {
    max-width: 28vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 575.98px) {
  .vq-app-topbar .px-3 {
    padding-left: .65rem !important;
    padding-right: .65rem !important;
  }

  .vq-app-topbar .vq-brandmark-sm {
    max-width: 118px;
  }

  .vq-app-topbar-title {
    display: none;
  }
}

/* ---------- Public example galleries ---------- */
.ss-example-card{
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.ss-example-card:hover,
.ss-example-card:focus-within{
  transform: translateY(-2px);
  border-color: rgba(var(--bs-primary-rgb), .45);
  box-shadow: 0 1rem 2rem rgba(0,0,0,.12);
}
.ss-example-icon{
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--bs-primary-rgb), .12);
  color: var(--bs-primary);
  font-size: 1.35rem;
}
.ss-example-preview{
  min-height: 210px;
  border-radius: 1rem;
  border: 1px solid var(--bs-border-color);
  background:
    radial-gradient(circle at 18% 18%, rgba(var(--bs-primary-rgb), .28), transparent 32%),
    radial-gradient(circle at 85% 18%, rgba(168, 85, 247, .20), transparent 28%),
    linear-gradient(135deg, var(--bs-tertiary-bg), var(--bs-body-bg));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bs-primary);
  font-size: 4rem;
}
.ss-example-preview-image{
  aspect-ratio: 4 / 3;
}

/* ---------- Step 10: mobile layout polish ---------- */
html, body{
  max-width: 100%;
  overflow-x: hidden;
}

img, video, canvas, svg{
  max-width: 100%;
}

pre, code, .form-control, .form-select, .btn, .dropdown-item{
  touch-action: manipulation;
}

/* Keep iOS from zooming form controls and make controls easier to tap. */
@media (max-width: 575.98px){
  input.form-control,
  textarea.form-control,
  select.form-select,
  .input-group-text{
    font-size: 16px;
  }

  .btn,
  .dropdown-item,
  .form-control,
  .form-select{
    min-height: 44px;
  }

  .btn-sm{
    min-height: 40px;
    padding-top: .45rem;
    padding-bottom: .45rem;
  }
}

/* Public navigation: allow long menus to scroll cleanly on phones. */
@media (max-width: 991.98px){
  .vq-nav .navbar-collapse{
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-top: .75rem;
    padding-bottom: .75rem;
  }

  .vq-nav .navbar-nav{
    align-items: stretch !important;
    gap: .25rem !important;
  }

  .vq-nav .nav-link,
  .vq-nav .navbar-nav .btn{
    min-height: 44px;
    display: flex;
    align-items: center;
    border-radius: var(--bs-border-radius);
  }

  .vq-nav .navbar-nav .btn{
    width: 100%;
    justify-content: center;
    margin-top: .4rem;
  }
}

/* Footer links should wrap instead of creating a wide horizontal page. */
footer .d-flex.gap-3{
  flex-wrap: wrap;
  row-gap: .35rem !important;
}

@media (max-width: 575.98px){
  footer .container{
    text-align: center;
  }

  footer .d-flex.gap-3{
    justify-content: center;
    gap: .85rem !important;
  }
}

/* App shell: give mobile pages breathing room and keep top actions stable. */
@media (max-width: 991.98px){
  .vq-app-content > .container-fluid,
  .vq-app-content > .container{
    padding-left: .85rem !important;
    padding-right: .85rem !important;
  }

  .vq-app-topbar .vq-brandmark-sm{
    height: 28px;
  }

  .vq-app-topbar-title{
    max-width: 44vw;
  }
}

@media (max-width: 575.98px){
  .vq-app-topbar .vq-brandwrap{
    display: none;
  }

  .vq-app-topbar-title{
    display: inline-block;
    max-width: 46vw;
  }

  .vq-app-topbar .btn[data-app-sidebar-toggle] span{
    display: none;
  }
}

/* Public landing and gallery pages. */
@media (max-width: 767.98px){
  .vq-hero .container,
  .vq-home-hero .container,
  main > .container,
  section.container{
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .display-5{
    font-size: clamp(2rem, 9vw, 3rem) !important;
    line-height: 1.05 !important;
  }

  .display-6{
    font-size: clamp(1.65rem, 7vw, 2.35rem) !important;
    line-height: 1.1 !important;
  }

  .lead{
    font-size: 1.05rem;
  }

  .vq-hero-copy,
  .vq-home-hero .vq-hero-copy{
    text-align: left;
  }

  .vq-hero-actions .btn,
  .vq-home-hero .vq-hero-cta,
  .vq-page-actions .btn,
  .vq-page-actions button,
  .vq-page-actions a{
    width: 100%;
    justify-content: center;
  }

  .vq-public-link-strip{
    gap: .35rem .75rem !important;
  }

  .vq-public-link-strip .text-secondary{
    display: none;
  }

  .vq-glass{
    padding: 1rem !important;
  }
}

/* Horizontal mobile scrollers for button groups and playlists. */
@media (max-width: 575.98px){
  .vq-mobile-scroll-x,
  .pv-video-playlist{
    display: flex;
    flex-wrap: nowrap !important;
    gap: .5rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: .35rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .pv-video-dot{
    flex: 0 0 auto;
    min-width: 8.5rem;
    scroll-snap-align: start;
  }
}

/* Marketing tool pages: Ads, Campaign Library and Brand Kit. */
@media (max-width: 767.98px){
  .ads-page .ads-hero-card,
  .campaigns-page .campaigns-hero,
  .brandkit-page .brandkit-hero,
  .campaigns-page .campaign-create-card,
  .campaigns-page .campaign-card,
  .brandkit-page .brandkit-section-card,
  .brandkit-page .brandkit-preview-box{
    padding: 1rem !important;
    border-radius: 1rem !important;
  }

  .ads-page .card-body,
  .ads-page .card-header,
  .ads-page .card-footer{
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .ads-page .ads-result-box,
  .campaigns-page .campaign-workflow-box{
    min-height: 18rem !important;
    max-height: 65vh;
    overflow: auto;
  }

  .ads-page .ads-template-scroll{
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .ads-page .ads-template-scroll .row{
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: .4rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .ads-page .ads-template-scroll [class*="col-"]{
    flex: 0 0 82%;
    max-width: 82%;
    scroll-snap-align: start;
  }

  .ads-page .ads-output-option,
  .ads-page .ads-template-card{
    min-height: 100%;
  }

  .ads-page .ads-step-pill{
    width: 1.75rem;
    height: 1.75rem;
  }

  .campaigns-page .campaign-card .vq-card-actions,
  .campaigns-page .campaign-card form,
  .campaigns-page .campaign-card .btn,
  .campaigns-page .campaign-card details .btn,
  .campaigns-page .campaign-card details form,
  .campaigns-page .campaign-card details button{
    width: 100%;
  }

  .campaigns-page .campaign-card .vq-card-actions,
  .campaigns-page .campaign-card details .d-flex{
    align-items: stretch !important;
  }

  .campaigns-page .campaign-card .btn,
  .campaigns-page .campaign-card details button{
    justify-content: center;
  }

  .brandkit-page dl.row > dt,
  .brandkit-page dl.row > dd{
    width: 100%;
    max-width: 100%;
  }

  .brandkit-page dl.row > dd{
    margin-bottom: .75rem;
  }

  .sticky-lg-top{
    position: static !important;
  }
}

@media (max-width: 575.98px){
  .ads-page .ads-template-scroll [class*="col-"]{
    flex-basis: 88%;
    max-width: 88%;
  }

  .ads-page .ads-output-option{
    padding: .75rem;
  }

  .ads-page .ads-credit-estimate-box,
  #adsCreditEstimateBox{
    align-items: stretch !important;
  }

  #adsGenerationCreditsBadge,
  #adsGenerateButtonCredits{
    white-space: nowrap;
  }

  .campaigns-page .display-6{
    font-size: 2rem !important;
  }
}

/* Make media/result previews usable on small screens. */
@media (max-width: 767.98px){
  textarea[readonly],
  textarea[disabled],
  .ads-result-box,
  .campaign-workflow-box{
    font-size: .9rem;
    line-height: 1.45;
  }

  .table-responsive,
  .vq-table-scroll{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 767.98px){
  .ss-example-card .btn,
  .vq-card .btn{
    max-width: 100%;
  }

  .ss-example-preview{
    min-height: 150px;
    font-size: 3rem;
  }

  .vq-page-actions.justify-content-center,
  .vq-page-actions{
    align-items: stretch !important;
  }

  .vq-page-actions .btn,
  .vq-page-actions a.btn,
  .vq-page-actions button.btn{
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Step 9: finished sample ad previews ---------- */
.ss-finished-ad-preview{
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  overflow: hidden;
  background: var(--bs-body-bg);
}
.ss-finished-ad-art{
  min-height: 160px;
  padding: 1rem;
  display: flex;
  align-items: flex-end;
  background:
    radial-gradient(circle at 16% 18%, rgba(var(--bs-primary-rgb), .34), transparent 30%),
    radial-gradient(circle at 84% 20%, rgba(168, 85, 247, .22), transparent 28%),
    linear-gradient(135deg, var(--bs-tertiary-bg), var(--bs-body-bg));
  position: relative;
}
.ss-finished-ad-art::before{
  content: "";
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: rgba(var(--bs-body-bg-rgb), .75);
  border: 1px solid var(--bs-border-color);
  box-shadow: 0 .8rem 1.6rem rgba(0,0,0,.10);
}
.ss-finished-ad-art::after{
  content: "";
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 44%;
  height: .65rem;
  border-radius: 999px;
  background: rgba(var(--bs-primary-rgb), .28);
  box-shadow: 0 1.05rem 0 rgba(var(--bs-primary-rgb), .18), 0 2.1rem 0 rgba(var(--bs-primary-rgb), .10);
}
.ss-finished-ad-art > span{
  position: relative;
  z-index: 1;
  display: inline-flex;
  max-width: 100%;
  border-radius: .75rem;
  background: rgba(var(--bs-body-bg-rgb), .92);
  border: 1px solid var(--bs-border-color);
  padding: .45rem .65rem;
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  box-shadow: 0 .75rem 1.5rem rgba(0,0,0,.10);
}

/* SEO use-case landing pages */
.ss-seo-preview-card .ss-finished-ad-art {
    min-height: 220px;
}
@media (max-width: 575.98px) {
    .ss-seo-preview-card .ss-finished-ad-art {
        min-height: 160px;
    }
}

/* SurfStats Step 13: First-login setup wizard */
.sd-setup-reminder-modal .modal-content {
    border-radius: 1.25rem;
    background: var(--bs-body-bg);
}

.sd-setup-reminder-modal .modal-header,
.sd-setup-reminder-modal .modal-footer {
    background: transparent;
}

.sd-setup-reminder-modal .border {
    background: rgba(var(--bs-primary-rgb), .04);
}

/* SurfStats Step 15: Global Create button */
.sd-global-create .sd-global-create-btn {
    font-weight: 800;
    box-shadow: 0 .35rem 1rem rgba(var(--bs-primary-rgb), .18);
}

.sd-global-create-menu {
    width: min(28rem, calc(100vw - 1.5rem));
    border-radius: 1rem;
    border: 1px solid rgba(var(--bs-primary-rgb), .16);
    overflow: hidden;
}

.sd-global-create-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .35rem;
}

.sd-global-create-item {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    border-radius: .85rem;
    white-space: normal;
    padding: .7rem .75rem;
}

.sd-global-create-item i {
    width: 2rem;
    height: 2rem;
    border-radius: .7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: rgba(var(--bs-primary-rgb), .10);
    color: var(--bs-primary);
}

.sd-global-create-item strong,
.sd-global-create-item small {
    display: block;
    line-height: 1.2;
}

.sd-global-create-item small {
    margin-top: .15rem;
    color: var(--bs-secondary-color);
}

@media (max-width: 767.98px) {
    .sd-global-create-grid {
        grid-template-columns: 1fr;
    }
}

/* SurfStats Step 16: Demo campaign starter */
.sd-global-create-grid form {
    margin: 0;
}

.sd-global-create-grid form .sd-global-create-item {
    height: 100%;
    text-align: left;
}

/* SurfStats Step 17: Universal search */
.sd-universal-search {
    max-width: 34rem;
    min-width: 18rem;
}

.sd-universal-search-wrap {
    position: relative;
}

.sd-universal-search-icon {
    position: absolute;
    left: .75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bs-secondary-color);
    pointer-events: none;
    z-index: 2;
}

.sd-universal-search-input {
    padding-left: 2.25rem;
    padding-right: 2.6rem;
    border-radius: 999px;
    background: rgba(var(--bs-body-color-rgb), .035);
}

.sd-universal-search-submit {
    position: absolute;
    right: .2rem;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 999px;
    z-index: 3;
    padding: .15rem .45rem;
}

.sd-universal-search-results {
    position: absolute;
    top: calc(100% + .45rem);
    left: 0;
    right: 0;
    z-index: 1080;
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    background: var(--bs-body-bg);
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, .28);
    overflow: hidden;
    max-height: min(32rem, calc(100vh - 6rem));
    overflow-y: auto;
}

.sd-search-suggestion,
.sd-search-suggestion-empty {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    padding: .75rem .85rem;
    text-decoration: none;
    color: var(--bs-body-color);
    border-bottom: 1px solid var(--bs-border-color-translucent);
}

.sd-search-suggestion:last-child {
    border-bottom: 0;
}

.sd-search-suggestion:hover,
.sd-search-suggestion:focus {
    background: rgba(var(--bs-primary-rgb), .08);
    color: var(--bs-body-color);
}

.sd-search-suggestion-icon,
.sd-search-result-icon {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: .75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: rgba(var(--bs-primary-rgb), .10);
    color: var(--bs-primary);
}

.sd-search-suggestion-copy {
    min-width: 0;
    display: block;
}

.sd-search-suggestion-copy strong,
.sd-search-suggestion-copy small,
.sd-search-suggestion-copy em {
    display: block;
    line-height: 1.25;
}

.sd-search-suggestion-copy small,
.sd-search-suggestion-copy em {
    color: var(--bs-secondary-color);
}

.sd-search-suggestion-copy em {
    font-style: normal;
    margin-top: .12rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sd-search-suggestion-all {
    background: rgba(var(--bs-primary-rgb), .05);
    font-weight: 600;
}

.sd-search-suggestion-empty {
    color: var(--bs-secondary-color);
    display: block;
}

.sd-search-page-form {
    border: 1px solid rgba(var(--bs-primary-rgb), .12) !important;
}

.sd-search-result-list {
    border-radius: 1rem;
    overflow: hidden;
}

.sd-search-result-list .list-group-item {
    border-color: var(--bs-border-color-translucent);
}

.sd-search-starter-card {
    color: var(--bs-body-color);
    transition: transform .16s ease, box-shadow .16s ease;
}

.sd-search-starter-card:hover,
.sd-search-starter-card:focus {
    color: var(--bs-body-color);
    transform: translateY(-2px);
    box-shadow: 0 .85rem 2rem rgba(0, 0, 0, .14) !important;
}

/* Step 9: plain-language credits */
.sd-credit-topbar-menu .dropdown-toggle::after {
    margin-left: .35rem;
}

.sd-credit-dropdown {
    width: min(360px, calc(100vw - 1rem));
    border-radius: 1rem;
    overflow: hidden;
}

.sd-credit-dropdown-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
}

.sd-credit-dropdown-grid > div,
.sd-credit-mini-stat {
    border: 1px solid var(--bs-border-color);
    border-radius: .85rem;
    padding: .65rem .75rem;
    background: rgba(var(--bs-secondary-rgb), .05);
}

.sd-credit-dropdown-grid strong,
.sd-credit-dropdown-grid span,
.sd-credit-mini-stat strong,
.sd-credit-mini-stat span {
    display: block;
    line-height: 1.25;
}

.sd-credit-dropdown-grid span,
.sd-credit-mini-stat span {
    color: var(--bs-secondary-color);
    font-size: .82rem;
}

.sd-credit-plain-card {
    background:
        radial-gradient(circle at top right, rgba(var(--bs-primary-rgb), .10), transparent 22rem),
        var(--bs-body-bg);
}

.sd-credit-mini-stat .fw-semibold,
.sd-credit-mini-stat strong {
    font-size: 1.05rem;
}

.sd-mobile-credit-summary {
    background: rgba(var(--bs-secondary-rgb), .05);
}

.sd-credit-guide-page .list-group-item {
    background: transparent;
}

/* Step 20: save draft and continue later */
.sd-draft-toolbar {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1080;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem .65rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 999px;
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
}

.sd-draft-toolbar .small {
    color: var(--bs-secondary-color);
}

.sd-draft-restore-banner {
    margin: 1rem 1rem 0 1rem;
    border-radius: 1rem;
}

.sd-home-continue-card,
.sd-continue-card {
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    background: var(--bs-body-bg);
}

.sd-home-continue-card {
    padding: 1rem;
}

.sd-continue-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
}

.sd-continue-card-compact {
    align-items: flex-start;
    margin-bottom: .75rem;
}

.sd-continue-card-icon,
.sd-continue-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: .9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: rgba(var(--bs-primary-rgb), .12);
    color: var(--bs-primary);
    font-size: 1.15rem;
}

.sd-continue-card-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.sd-continue-empty-inline {
    border: 1px dashed var(--bs-border-color);
    border-radius: .9rem;
    padding: 1rem;
    color: var(--bs-secondary-color);
    background: var(--bs-tertiary-bg);
}

.sd-continue-empty-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--bs-primary-rgb), .12);
    color: var(--bs-primary);
    font-size: 2rem;
}

@media (max-width: 575.98px) {
    .sd-draft-toolbar {
        left: .75rem;
        right: .75rem;
        justify-content: center;
        border-radius: 1rem;
        flex-wrap: wrap;
    }

    .sd-continue-card {
        flex-direction: column;
    }
}

/* SurfStats contextual help tooltips */
.sd-help-tip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    height: 1.15rem;
    padding: 0;
    margin-left: .25rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--bs-secondary-color);
    font-size: .95em;
    line-height: 1;
    vertical-align: text-top;
}

.sd-help-tip:hover,
.sd-help-tip:focus-visible {
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), .10);
    outline: none;
}

.sd-help-tip i {
    pointer-events: none;
}

/* Step 22: beginner-friendly prompt builder */
.sd-prompt-builder {
    background:
        radial-gradient(circle at top right, rgba(var(--bs-primary-rgb), .08), transparent 18rem),
        var(--bs-body-bg);
    border-radius: 1rem;
}

.sd-prompt-builder-icon {
    width: 2rem;
    height: 2rem;
    border-radius: .75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--bs-primary-rgb), .12);
    color: var(--bs-primary);
    flex: 0 0 auto;
}

.sd-prompt-builder-output {
    min-height: 7rem;
    font-family: var(--bs-font-monospace);
    white-space: pre-wrap;
}

.sd-prompt-builder-page .card,
.sd-prompt-builder-page .alert {
    border-radius: 1rem;
}

@media (max-width: 575.98px) {
    .sd-prompt-builder .btn {
        width: 100%;
    }
}

/* Step 23: editable generated output sections */
.sd-editable-output {
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    padding: 1rem;
    background:
        radial-gradient(circle at top left, rgba(var(--bs-primary-rgb), .07), transparent 18rem),
        var(--bs-body-bg);
}

.sd-editable-output-empty {
    border: 1px dashed var(--bs-border-color);
    border-radius: .875rem;
    padding: 1rem;
    background: rgba(var(--bs-secondary-rgb), .04);
}

.sd-editable-output-sections .accordion-item {
    border-color: var(--bs-border-color);
    background: var(--bs-body-bg);
}

.sd-editable-output-sections .accordion-button {
    background: var(--bs-tertiary-bg);
    color: var(--bs-body-color);
    font-weight: 600;
}

.sd-editable-section-body {
    min-height: 10rem;
    font-family: var(--bs-font-monospace);
    font-size: .9rem;
    line-height: 1.45;
}

.sd-output-editor-page .card {
    border-radius: 1rem;
}

@media (max-width: 575.98px) {
    .sd-editable-output .btn,
    .sd-editable-section .btn {
        width: 100%;
    }
}

/* SurfStats Step 24: public landing page UI previews */
.ss-public-screenshots-section {
    position: relative;
    overflow: hidden;
}
.ss-public-screenshots-section::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 11rem;
    pointer-events: none;
    background: radial-gradient(circle at 15% 10%, rgba(var(--bs-primary-rgb), .12), transparent 35%),
                radial-gradient(circle at 85% 0%, rgba(168, 85, 247, .10), transparent 30%);
}
.ss-public-screenshots-section > .container {
    position: relative;
    z-index: 1;
}
.ss-ui-shot {
    border: 1px solid var(--bs-border-color);
    border-radius: 1.15rem;
    background: var(--bs-body-bg);
    overflow: hidden;
    box-shadow: 0 1rem 2.5rem rgba(0,0,0,.08);
}
.ss-ui-shot-topbar {
    min-height: 2.35rem;
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem .75rem;
    border-bottom: 1px solid var(--bs-border-color);
    background: var(--bs-tertiary-bg);
}
.ss-ui-shot-topbar > span {
    width: .58rem;
    height: .58rem;
    border-radius: 999px;
    background: rgba(var(--bs-secondary-rgb), .28);
}
.ss-ui-shot-body {
    min-height: 170px;
    display: grid;
    grid-template-columns: 3.75rem 1fr;
}
.ss-ui-shot-sidebar {
    padding: .85rem .7rem;
    border-right: 1px solid var(--bs-border-color);
    background: rgba(var(--bs-secondary-bg-rgb), .55);
}
.ss-ui-shot-sidebar span {
    display: block;
    height: .55rem;
    border-radius: 999px;
    background: rgba(var(--bs-primary-rgb), .18);
    margin-bottom: .75rem;
}
.ss-ui-shot-sidebar span:nth-child(2) { width: 65%; }
.ss-ui-shot-sidebar span:nth-child(3) { width: 85%; background: rgba(var(--bs-secondary-rgb), .18); }
.ss-ui-shot-sidebar span:nth-child(4) { width: 55%; background: rgba(var(--bs-secondary-rgb), .16); }
.ss-ui-shot-main {
    padding: .95rem;
}
.ss-ui-shot-icon {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: .8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), .12);
    border: 1px solid rgba(var(--bs-primary-rgb), .18);
}
.ss-ui-shot-line {
    height: .55rem;
    border-radius: 999px;
    background: rgba(var(--bs-secondary-rgb), .16);
    margin-bottom: .55rem;
}
.ss-ui-chip {
    display: inline-flex;
    align-items: center;
    min-height: 1.35rem;
    border-radius: 999px;
    border: 1px solid var(--bs-border-color);
    background: var(--bs-tertiary-bg);
    color: var(--bs-secondary-color);
    padding: .15rem .45rem;
    font-size: .72rem;
    line-height: 1;
}
.ss-demo-strip {
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), .08), var(--bs-body-bg));
}
.ss-demo-step {
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    padding: 1rem;
    background: rgba(var(--bs-body-bg-rgb), .8);
}
@media (max-width: 575.98px) {
    .ss-ui-shot-body {
        grid-template-columns: 3rem 1fr;
    }
    .ss-ui-shot-sidebar {
        padding-inline: .55rem;
    }
}

/* SurfStats recommended next action cards */
.sd-next-action-card {
    border: 1px solid rgba(var(--bs-primary-rgb), .22);
    border-radius: 1.15rem;
    background:
        radial-gradient(circle at top left, rgba(var(--bs-primary-rgb), .12), transparent 28rem),
        linear-gradient(135deg, rgba(var(--bs-body-bg-rgb), .99), rgba(var(--bs-primary-rgb), .035));
    box-shadow: 0 .85rem 2rem rgba(15, 23, 42, .06);
    padding: 1rem;
}

.sd-next-action-icon {
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: rgba(var(--bs-primary-rgb), .13);
    color: var(--bs-primary);
    font-size: 1.35rem;
}

.sd-next-action-details {
    border-top: 1px solid rgba(var(--bs-primary-rgb), .12);
}

.sd-next-action-tip,
.sd-next-action-link {
    border: 1px solid var(--bs-border-color);
    border-radius: .85rem;
    background: var(--bs-body-bg);
    padding: .65rem .75rem;
    min-height: 100%;
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .875rem;
    color: inherit;
    text-decoration: none;
}

.sd-next-action-tip i,
.sd-next-action-link i {
    color: var(--bs-primary);
    flex: 0 0 auto;
}

.sd-next-action-link:hover,
.sd-next-action-link:focus {
    border-color: rgba(var(--bs-primary-rgb), .42);
    color: var(--bs-primary);
}

@media (max-width: 575.98px) {
    .sd-next-action-card .btn,
    .sd-next-action-buttons {
        width: 100%;
    }
}

/* Step 40: light-mode readability pass.
   Darken normal/lightweight text while leaving explicit bold/semibold text alone. */
html[data-bs-theme="light"] {
  --bs-body-color: #030712;
  --bs-body-color-rgb: 3,7,18;
  --bs-emphasis-color: #030712;
  --bs-emphasis-color-rgb: 3,7,18;
  --bs-secondary-color: #111827;
  --bs-secondary-color-rgb: 17,24,39;
  --bs-secondary-rgb: 17,24,39;
  --bs-tertiary-color: #1f2937;
  --bs-tertiary-color-rgb: 31,41,55;
  --vq-text: #030712;
  --vq-muted: #111827;
}

html[data-bs-theme="light"] body,
html[data-bs-theme="light"] body.vq-body,
html[data-bs-theme="light"] .vq-app-content,
html[data-bs-theme="light"] main,
html[data-bs-theme="light"] .container,
html[data-bs-theme="light"] .container-fluid {
  color: var(--bs-body-color);
}

html[data-bs-theme="light"] :where(
  p,
  li,
  td,
  dt,
  dd,
  label,
  caption,
  .card-text,
  .lead,
  .form-label,
  .form-check-label,
  .form-text,
  .list-group-item,
  .accordion-body,
  .modal-body,
  .dropdown-item,
  .nav-link,
  .page-link,
  .vq-side-link,
  .vq-side-link-sub,
  .vq-navgroup-title,
  .vq-section-subtitle,
  .vq-muted,
  .sd-next-action-tip,
  .sd-next-action-link
):not(:where(
  b,
  strong,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  .fw-bold,
  .fw-semibold,
  .fw-bolder,
  .fw-medium,
  .badge,
  .btn,
  .navbar-brand,
  .alert-heading,
  .vq-logo,
  .vq-app-home-title,
  [class*="fw-bold"],
  [class*="fw-semibold"],
  [class*="fw-bolder"]
)) {
  color: var(--bs-body-color);
}

    html[data-bs-theme="light"] :where( .text-muted, .text-secondary, .text-body-secondary, .link-secondary, .blockquote-footer, small, .small, .text-opacity-50, .text-opacity-75, .opacity-50, .opacity-75 ):not(:where( b, strong, h1, h2, h3, h4, h5, h6, .fw-bold, .fw-semibold, .fw-bolder, .fw-medium, .badge, .btn, .navbar-brand, .alert-heading, .vq-logo, .vq-app-home-title, [class*="fw-bold"], [class*="fw-semibold"], [class*="fw-bolder"] )) {
        color: var(--bs-secondary-color) !important;
        opacity: 1 !important;
    }

html[data-bs-theme="light"] :where(
  .card,
  .vq-card,
  .vq-glass,
  .modal-content,
  .dropdown-menu,
  .offcanvas,
  .accordion-item,
  .table,
  .table td,
  .table .small,
  .table small,
  .form-control,
  .form-select,
  textarea,
  .input-group-text
) {
  color: var(--bs-body-color);
}

html[data-bs-theme="light"] :where(.form-control::placeholder, .form-select::placeholder, textarea::placeholder) {
  color: var(--bs-secondary-color);
  opacity: 1;
}

html[data-bs-theme="light"] .btn-outline-secondary:not(.fw-bold):not(.fw-semibold):not(.fw-bolder),
html[data-bs-theme="light"] .btn-outline-light:not(.fw-bold):not(.fw-semibold):not(.fw-bolder) {
  color: var(--bs-secondary-color) !important;
}

/* SurfStats Step 41: keep public/demo navbar dropdowns readable in light mode.
   The main public layout still uses Bootstrap's dropdown-menu-dark class for dark mode,
   so override only when the active theme is light. */
html[data-bs-theme="light"] .vq-nav .dropdown-menu.dropdown-menu-dark,
html[data-bs-theme="light"] .navbar.vq-nav .dropdown-menu.dropdown-menu-dark,
html[data-bs-theme="light"] header.vq-nav .dropdown-menu.dropdown-menu-dark {
  --bs-dropdown-bg: #ffffff;
  --bs-dropdown-color: #030712;
  --bs-dropdown-link-color: #030712;
  --bs-dropdown-link-hover-color: #000000;
  --bs-dropdown-link-hover-bg: #f3f4f6;
  --bs-dropdown-link-active-color: #000000;
  --bs-dropdown-link-active-bg: #ede9fe;
  --bs-dropdown-border-color: rgba(17, 24, 39, .12);
  --bs-dropdown-divider-bg: rgba(17, 24, 39, .12);
  background-color: #ffffff !important;
  color: #030712 !important;
  border-color: rgba(17, 24, 39, .12) !important;
  box-shadow: 0 18px 40px rgba(17, 24, 39, .14) !important;
}

html[data-bs-theme="light"] .vq-nav .dropdown-menu.dropdown-menu-dark .dropdown-item,
html[data-bs-theme="light"] .navbar.vq-nav .dropdown-menu.dropdown-menu-dark .dropdown-item,
html[data-bs-theme="light"] header.vq-nav .dropdown-menu.dropdown-menu-dark .dropdown-item {
  color: #030712 !important;
}

html[data-bs-theme="light"] .vq-nav .dropdown-menu.dropdown-menu-dark .dropdown-item:hover,
html[data-bs-theme="light"] .vq-nav .dropdown-menu.dropdown-menu-dark .dropdown-item:focus,
html[data-bs-theme="light"] .navbar.vq-nav .dropdown-menu.dropdown-menu-dark .dropdown-item:hover,
html[data-bs-theme="light"] .navbar.vq-nav .dropdown-menu.dropdown-menu-dark .dropdown-item:focus,
html[data-bs-theme="light"] header.vq-nav .dropdown-menu.dropdown-menu-dark .dropdown-item:hover,
html[data-bs-theme="light"] header.vq-nav .dropdown-menu.dropdown-menu-dark .dropdown-item:focus {
  background-color: #f3f4f6 !important;
  color: #000000 !important;
}

html[data-bs-theme="light"] .vq-nav .dropdown-menu.dropdown-menu-dark .dropdown-divider,
html[data-bs-theme="light"] .navbar.vq-nav .dropdown-menu.dropdown-menu-dark .dropdown-divider,
html[data-bs-theme="light"] header.vq-nav .dropdown-menu.dropdown-menu-dark .dropdown-divider {
  border-top-color: rgba(17, 24, 39, .12) !important;
}

/* ---------- OpenArt-like sidebar typography compactness (SurfStats 2026-06-16) ----------
   Match the tighter, cleaner sidebar feel used by OpenArt-style creator navigation:
   smaller labels, lighter weights, tighter line-height, and slightly reduced vertical padding.
   This changes typography/spacing only; routes, active states, search, favorites and admin gating stay unchanged. */
.vq-sidebar {
  font-size: 14px;
}

.vq-sidebar .vq-navgroup .vq-side-link,
.vq-sidebar .vq-navgroup-clean .vq-side-link-main,
.vq-sidebar .vq-navgroup-clean .vq-side-link-sub,
.vq-sidebar .vq-side-link,
.vq-sidebar .vq-side-link-main,
.vq-sidebar .vq-side-link-sub {
  font-size: .875rem;
  line-height: 1.22;
  font-weight: 500;
  letter-spacing: -.005em;
}

.vq-sidebar .vq-navgroup .vq-side-link,
.vq-sidebar .vq-navgroup-clean .vq-side-link-main {
  gap: .58rem;
  padding: .48rem .58rem;
}

.vq-sidebar .vq-navgroup .vq-side-link-sub,
.vq-sidebar .vq-navgroup-clean .vq-side-link-sub {
  font-size: .8125rem;
  line-height: 1.22;
  font-weight: 500;
  padding-top: .40rem;
  padding-bottom: .40rem;
}

.vq-sidebar .vq-nav-accordion-toggle {
  font-size: .86rem;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -.005em;
  padding: .58rem .66rem;
}

.vq-sidebar .vq-nav-accordion-panel {
  padding-top: .10rem;
  padding-bottom: .42rem;
}

.vq-sidebar .vq-nav-accordion {
  gap: .34rem;
}

.vq-sidebar .vq-nav-accordion-item {
  border-radius: .88rem;
}

.vq-sidebar .vq-sidebar-search,
.vq-sidebar .vq-sidebar-pin-current,
.vq-sidebar .vq-sidebar-mini-link,
.vq-sidebar .vq-sidebar-empty,
.vq-sidebar .vq-tools2-category,
.vq-sidebar .vq-tools2-layer .vq-side-link-sub {
  font-size: .8125rem;
  line-height: 1.22;
}

.vq-sidebar .vq-sidebar-search {
  min-height: 2.15rem;
}

.vq-sidebar .vq-sidebar-pin-current {
  padding: .36rem .66rem;
  font-weight: 600;
}

.vq-sidebar .vq-sidebar-mini-link {
  padding: .36rem .46rem;
  font-weight: 550;
}

.vq-sidebar .vq-sidebar-smart-title {
  font-size: .67rem;
  letter-spacing: .06em;
}

.vq-sidebar .vq-navgroup .vq-side-link i,
.vq-sidebar .vq-nav-accordion-toggle > span > i,
.vq-sidebar .vq-sidebar-mini-link i,
.vq-sidebar .vq-tools2-category i {
  font-size: .95rem;
}

.vq-sidebar .vq-story-submenu,
.vq-sidebar .vq-tools2-menu {
  margin-top: .18rem;
}

/* ---------- Sidebar second-level icon simplification (SurfStats 2026-06-23) ----------
   Replace the icon glyphs on accordion-panel links such as Videos, Images, Ads, etc.
   with small circle bullets. First-level accordion icons and deeper sub-menu icons remain unchanged. */
.vq-sidebar .vq-nav-accordion-panel > .vq-side-link-main > i:first-child {
  display: inline-block;
  flex: 0 0 .44rem;
  width: .44rem;
  min-width: .44rem;
  height: .44rem;
  border-radius: 999px;
  background: currentColor;
  opacity: .52;
  font-size: 0 !important;
  line-height: 0;
  margin-left: .24rem;
  margin-right: .10rem;
}

.vq-sidebar .vq-nav-accordion-panel > .vq-side-link-main > i:first-child::before {
  content: "" !important;
}

.vq-sidebar .vq-nav-accordion-panel > .vq-side-link-main:hover > i:first-child,
.vq-sidebar .vq-nav-accordion-panel > .vq-side-link-main:focus > i:first-child {
  opacity: .72;
}

.vq-sidebar .vq-nav-accordion-panel > .vq-side-link-main.active > i:first-child {
  background: var(--bs-primary);
  opacity: .95;
}

@media (max-width: 991.98px) {
  .vq-sidebar {
    font-size: 14px;
  }

  .vq-sidebar .vq-navgroup .vq-side-link,
  .vq-sidebar .vq-navgroup-clean .vq-side-link-main {
    min-height: 2.45rem;
  }
}

/* ---------- Surfstats toggle/switch accent unification (SurfStats 2026-06-16) ----------
   Keep form switches, checkboxes and radio inputs aligned with the active Surfstats
   theme accent instead of Bootstrap's default blue. This especially fixes dark-mode
   switch tracks on Creator Trust Center and applies the same behavior app-wide. */
:root {
  --vq-toggle-accent: var(--vq-primary, var(--bs-primary));
  --vq-toggle-accent-rgb: var(--bs-primary-rgb, 255,79,184);
}

.form-check-input:checked,
.form-check-input[type="checkbox"]:indeterminate {
  background-color: var(--vq-toggle-accent) !important;
  border-color: var(--vq-toggle-accent) !important;
}

.form-check-input:focus {
  border-color: rgba(var(--vq-toggle-accent-rgb), .58) !important;
  box-shadow: 0 0 0 .2rem rgba(var(--vq-toggle-accent-rgb), .18) !important;
}

.form-switch .form-check-input:checked,
.form-switch .form-check-input[type="checkbox"]:checked,
.form-switch .form-check-input[role="switch"]:checked {
  background-color: var(--vq-toggle-accent) !important;
  border-color: var(--vq-toggle-accent) !important;
  background-image: var(--bs-form-switch-bg) !important;
}

html[data-bs-theme="dark"] {
  --vq-toggle-accent: var(--vq-primary, #ff4fb8);
  --vq-toggle-accent-rgb: var(--bs-primary-rgb, 255,79,184);
}

html[data-bs-theme="dark"] .form-check-input {
  background-color: #111112 !important;
  border-color: rgba(255,255,255,.22) !important;
}

html[data-bs-theme="dark"] .form-check-input:focus {
  border-color: rgba(var(--vq-toggle-accent-rgb), .62) !important;
  box-shadow: 0 0 0 .2rem rgba(var(--vq-toggle-accent-rgb), .20) !important;
}

html[data-bs-theme="dark"] .form-check-input:checked,
html[data-bs-theme="dark"] .form-check-input[type="checkbox"]:indeterminate,
html[data-bs-theme="dark"] .form-switch .form-check-input:checked,
html[data-bs-theme="dark"] .form-switch .form-check-input[type="checkbox"]:checked,
html[data-bs-theme="dark"] .form-switch .form-check-input[role="switch"]:checked {
  background-color: var(--vq-toggle-accent) !important;
  border-color: var(--vq-toggle-accent) !important;
  box-shadow: 0 0 0 .16rem rgba(var(--vq-toggle-accent-rgb), .14) !important;
}

html[data-bs-theme="dark"] .form-switch .form-check-input:not(:checked) {
  background-color: #1a1a1d !important;
  border-color: rgba(255,255,255,.18) !important;
}

html[data-bs-theme="dark"] .form-check-input:disabled,
html[data-bs-theme="dark"] .form-check-input:disabled ~ .form-check-label,
html[data-bs-theme="dark"] .form-check-input[disabled] ~ .form-check-label {
  opacity: .62;
}


/* SurfStats mobile nav login prominence: keep account access visible before the menu opens. */
.vq-mobile-login-cta{
  white-space: nowrap;
  box-shadow: 0 .65rem 1.5rem rgba(124, 58, 237, .24);
}

.vq-mobile-login-panel{
  padding: .75rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  background: rgba(var(--bs-body-bg-rgb), .82);
  box-shadow: 0 .75rem 2rem rgba(15, 23, 42, .10);
}

html[data-bs-theme="dark"] .vq-mobile-login-panel{
  background: rgba(18, 18, 24, .92);
  box-shadow: 0 .75rem 2rem rgba(0, 0, 0, .32);
}

@media (max-width: 991.98px){
  .vq-nav .navbar .container,
  .navbar.vq-nav .container{
    gap: .5rem;
  }

  .vq-mobile-login-cta{
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: .85rem;
    padding-right: .85rem;
  }

  .vq-nav .navbar-toggler,
  .navbar.vq-nav .navbar-toggler{
    margin-left: 0;
  }
}

@media (max-width: 379.98px){
  .vq-mobile-login-cta{
    padding-left: .65rem;
    padding-right: .65rem;
    font-size: .8rem;
  }

  .navbar-brand span:not(.vq-brandwrap){
    max-width: 8.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* ---------- UBold Galaxy dark mode override (SurfStats 2026-07-03) ----------
   Matches the referenced UBold Bootstrap Galaxy dark look: deep blue canvas,
   darker navy sidebar/topbar, blue-purple accent states, and solid dashboard cards.
   Keep this block at the end so it wins over the earlier Surfstats pink/flat dark rules. */
html[data-bs-theme="dark"] {
  color-scheme: dark;
  --ubold-galaxy-page: #07172f;
  --ubold-galaxy-page-rgb: 7,23,47;
  --ubold-galaxy-topbar: #081832;
  --ubold-galaxy-sidebar: #071632;
  --ubold-galaxy-sidebar-2: #061229;
  --ubold-galaxy-card: #0c1d40;
  --ubold-galaxy-card-2: #0f244e;
  --ubold-galaxy-hover: #142f65;
  --ubold-galaxy-active: #173a77;
  --ubold-galaxy-border: rgba(122, 157, 224, .20);
  --ubold-galaxy-border-strong: rgba(131, 171, 246, .34);
  --ubold-galaxy-text: #eef4ff;
  --ubold-galaxy-muted: rgba(226, 236, 255, .70);
  --ubold-galaxy-faint: rgba(226, 236, 255, .52);
  --ubold-galaxy-primary: #4f7df3;
  --ubold-galaxy-primary-rgb: 79,125,243;
  --ubold-galaxy-primary-2: #6c63ff;
  --ubold-galaxy-info: #3ec3ff;
  --ubold-galaxy-pink: #ec5fa7;

  --bs-body-bg: #07172f;
  --bs-body-bg-rgb: 7,23,47;
  --bs-body-color: #eef4ff;
  --bs-body-color-rgb: 238,244,255;
  --bs-emphasis-color: #ffffff;
  --bs-emphasis-color-rgb: 255,255,255;
  --bs-secondary-color: rgba(226, 236, 255, .70);
  --bs-secondary-rgb: 226,236,255;
  --bs-tertiary-color: rgba(226, 236, 255, .52);
  --bs-tertiary-bg: #0c1d40;
  --bs-tertiary-bg-rgb: 12,29,64;
  --bs-secondary-bg: #0f244e;
  --bs-secondary-bg-rgb: 15,36,78;
  --bs-border-color: rgba(122, 157, 224, .20);
  --bs-border-color-translucent: rgba(122, 157, 224, .18);
  --bs-link-color: #8eb0ff;
  --bs-link-hover-color: #c7d8ff;
  --bs-primary: #4f7df3;
  --bs-primary-rgb: 79,125,243;
  --bs-primary-bg-subtle: rgba(79,125,243,.18);
  --bs-primary-border-subtle: rgba(79,125,243,.40);
  --bs-info: #3ec3ff;
  --bs-info-rgb: 62,195,255;
  --bs-success: #2fd1a4;
  --bs-success-rgb: 47,209,164;

  --vq-bg: #07172f;
  --vq-bg-2: #081b3a;
  --vq-surface: #0c1d40;
  --vq-surface-2: #0f244e;
  --vq-surface-solid: #0c1d40;
  --vq-surface-elev: #102b5f;
  --vq-text: #eef4ff;
  --vq-muted: rgba(226, 236, 255, .70);
  --vq-border: rgba(122, 157, 224, .20);
  --vq-primary: #4f7df3;
  --vq-primary-2: #6c63ff;
  --vq-toggle-accent: #4f7df3;
  --vq-toggle-accent-rgb: 79,125,243;
  --vq-shadow: 0 1.1rem 2.8rem rgba(0, 0, 0, .32);
}

html[data-bs-theme="dark"],
html[data-bs-theme="dark"] body,
html[data-bs-theme="dark"] body.vq-body,
html[data-bs-theme="dark"] .vq-app-shell,
html[data-bs-theme="dark"] .vq-main,
html[data-bs-theme="dark"] .vq-app-content,
html[data-bs-theme="dark"] .pv-page,
html[data-bs-theme="dark"] .vq-home-page,
html[data-bs-theme="dark"] .vq-public-page {
  background:
    radial-gradient(900px 520px at 18% -10%, rgba(79,125,243,.22), transparent 62%),
    radial-gradient(780px 480px at 92% 6%, rgba(108,99,255,.18), transparent 58%),
    linear-gradient(180deg, #07172f 0%, #081b3a 48%, #061229 100%) !important;
  color: var(--ubold-galaxy-text) !important;
}

html[data-bs-theme="dark"] .vq-nav,
html[data-bs-theme="dark"] .vq-app-topbar,
html[data-bs-theme="dark"] .navbar.vq-nav,
html[data-bs-theme="dark"] footer {
  background: #081832 !important;
  color: var(--ubold-galaxy-text) !important;
  border-color: var(--ubold-galaxy-border) !important;
  box-shadow: 0 .7rem 1.8rem rgba(0, 0, 0, .22) !important;
  backdrop-filter: none !important;
}

html[data-bs-theme="dark"] .vq-sidebar {
  background: linear-gradient(180deg, #071632 0%, #061229 100%) !important;
  color: var(--ubold-galaxy-text) !important;
  border-color: rgba(122, 157, 224, .18) !important;
  box-shadow: inset -1px 0 0 rgba(255,255,255,.03) !important;
  backdrop-filter: none !important;
}

html[data-bs-theme="dark"] .vq-logo,
html[data-bs-theme="dark"] .navbar-brand,
html[data-bs-theme="dark"] h1,
html[data-bs-theme="dark"] h2,
html[data-bs-theme="dark"] h3,
html[data-bs-theme="dark"] h4,
html[data-bs-theme="dark"] h5,
html[data-bs-theme="dark"] h6,
html[data-bs-theme="dark"] .fw-semibold,
html[data-bs-theme="dark"] .fw-bold,
html[data-bs-theme="dark"] .vq-app-home-title {
  color: #ffffff !important;
  text-shadow: none !important;
}

html[data-bs-theme="dark"] .text-secondary,
html[data-bs-theme="dark"] .text-muted,
html[data-bs-theme="dark"] .small,
html[data-bs-theme="dark"] small,
html[data-bs-theme="dark"] .vq-muted,
html[data-bs-theme="dark"] .card-subtitle,
html[data-bs-theme="dark"] .form-text {
  color: var(--ubold-galaxy-muted) !important;
}

html[data-bs-theme="dark"] .vq-glass,
html[data-bs-theme="dark"] .vq-card,
html[data-bs-theme="dark"] .card,
html[data-bs-theme="dark"] .modal-content,
html[data-bs-theme="dark"] .dropdown-menu,
html[data-bs-theme="dark"] .offcanvas,
html[data-bs-theme="dark"] .list-group-item,
html[data-bs-theme="dark"] .accordion-item,
html[data-bs-theme="dark"] .accordion-button,
html[data-bs-theme="dark"] .bg-body-tertiary,
html[data-bs-theme="dark"] .bg-body,
html[data-bs-theme="dark"] .bg-dark,
html[data-bs-theme="dark"] .bg-white,
html[data-bs-theme="dark"] .vq-tool-card,
html[data-bs-theme="dark"] .pv-hero,
html[data-bs-theme="dark"] .pv-featured-panel,
html[data-bs-theme="dark"] .pv-cap-card,
html[data-bs-theme="dark"] .pv-enterprise,
html[data-bs-theme="dark"] .pv-stat-card,
html[data-bs-theme="dark"] .pv-story-card,
html[data-bs-theme="dark"] .vq-tools-toolbar .dropdown-menu,
html[data-bs-theme="dark"] .vq-purpose-box,
html[data-bs-theme="dark"] .vq-all-tools-modal .modal-content,
html[data-bs-theme="dark"] .vq-all-tools-modal .modal-body,
html[data-bs-theme="dark"] .vq-all-tools-modal .modal-header,
html[data-bs-theme="dark"] .vq-my-tools-card,
html[data-bs-theme="dark"] .vq-my-tools-column {
  background: linear-gradient(180deg, #0f244e 0%, #0c1d40 100%) !important;
  color: var(--ubold-galaxy-text) !important;
  border-color: var(--ubold-galaxy-border) !important;
  box-shadow: 0 .9rem 2.2rem rgba(0, 0, 0, .24) !important;
  backdrop-filter: none !important;
}

html[data-bs-theme="dark"] .card-header,
html[data-bs-theme="dark"] .card-footer,
html[data-bs-theme="dark"] .modal-header,
html[data-bs-theme="dark"] .modal-footer,
html[data-bs-theme="dark"] .dropdown-divider,
html[data-bs-theme="dark"] hr {
  border-color: var(--ubold-galaxy-border) !important;
}

html[data-bs-theme="dark"] .vq-card:hover,
html[data-bs-theme="dark"] .card:hover,
html[data-bs-theme="dark"] .card:focus-within,
html[data-bs-theme="dark"] .vq-tool-card:hover,
html[data-bs-theme="dark"] .vq-tool-card:focus-within,
html[data-bs-theme="dark"] .pv-cap-card:hover,
html[data-bs-theme="dark"] .pv-cap-card:focus-within,
html[data-bs-theme="dark"] .pv-stat-card:hover,
html[data-bs-theme="dark"] .pv-stat-card:focus-within,
html[data-bs-theme="dark"] .pv-story-card:hover,
html[data-bs-theme="dark"] .pv-story-card:focus-within,
html[data-bs-theme="dark"] .pv-featured-panel:hover,
html[data-bs-theme="dark"] .pv-featured-panel:focus-within,
html[data-bs-theme="dark"] .videoai2-card:hover,
html[data-bs-theme="dark"] .videoai2-card:focus-within,
html[data-bs-theme="dark"] .title-sug-card:hover,
html[data-bs-theme="dark"] .thumb-sug-card:hover {
  border-color: var(--ubold-galaxy-border-strong) !important;
  box-shadow: 0 1rem 2.5rem rgba(0,0,0,.30), 0 0 0 1px rgba(79,125,243,.18) !important;
}

html[data-bs-theme="dark"] .vq-icon,
html[data-bs-theme="dark"] .vq-pill,
html[data-bs-theme="dark"] .vq-pill-sm,
html[data-bs-theme="dark"] .vq-badge-soft,
html[data-bs-theme="dark"] .nav-pills,
html[data-bs-theme="dark"] .nav-tabs,
html[data-bs-theme="dark"] .input-group-text,
html[data-bs-theme="dark"] .badge,
html[data-bs-theme="dark"] .text-bg-secondary,
html[data-bs-theme="dark"] .text-bg-light,
html[data-bs-theme="dark"] .vq-sidebar-search,
html[data-bs-theme="dark"] .vq-sidebar-pin-current,
html[data-bs-theme="dark"] .vq-sidebar-smart-section,
html[data-bs-theme="dark"] .vq-nav-accordion-item,
html[data-bs-theme="dark"] .vq-mobile-login-panel,
html[data-bs-theme="dark"] .vq-all-tool-card {
  background: #102a5b !important;
  color: rgba(238,244,255,.90) !important;
  border-color: var(--ubold-galaxy-border) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-navgroup .vq-side-link,
html[data-bs-theme="dark"] .nav-link,
html[data-bs-theme="dark"] .dropdown-item,
html[data-bs-theme="dark"] .link-secondary {
  color: rgba(226,236,255,.78) !important;
  border-color: transparent !important;
  background: transparent !important;
  opacity: 1 !important;
}

html[data-bs-theme="dark"] .vq-navgroup .vq-side-link:hover,
html[data-bs-theme="dark"] .vq-navgroup .vq-side-link:focus,
html[data-bs-theme="dark"] .nav-link:hover,
html[data-bs-theme="dark"] .nav-link:focus,
html[data-bs-theme="dark"] .dropdown-item:hover,
html[data-bs-theme="dark"] .dropdown-item:focus,
html[data-bs-theme="dark"] .link-secondary:hover,
html[data-bs-theme="dark"] .vq-tools-toolbar .dropdown-item:hover,
html[data-bs-theme="dark"] .vq-tools-toolbar .dropdown-item:focus,
html[data-bs-theme="dark"] .vq-all-tool-card:hover,
html[data-bs-theme="dark"] .vq-all-tool-card:focus {
  color: #fff !important;
  background: #142f65 !important;
  border-color: var(--ubold-galaxy-border-strong) !important;
  box-shadow: 0 .55rem 1.35rem rgba(0,0,0,.20) !important;
}

html[data-bs-theme="dark"] .vq-navgroup .vq-side-link.active,
html[data-bs-theme="dark"] .vq-navgroup .vq-side-link-sub.active,
html[data-bs-theme="dark"] .vq-navgroup .vq-side-link-button.active,
html[data-bs-theme="dark"] .vq-all-tool-card.active,
html[data-bs-theme="dark"] .nav-tabs .nav-link.active,
html[data-bs-theme="dark"] .nav-tabs .nav-item.show .nav-link,
html[data-bs-theme="dark"] .nav-pills .nav-link.active,
html[data-bs-theme="dark"] .nav-pills .show > .nav-link,
html[data-bs-theme="dark"] .vq-legacy-tab.active,
html[data-bs-theme="dark"] .vq-legacy-chip.active,
html[data-bs-theme="dark"] .btn-group .btn.active,
html[data-bs-theme="dark"] .btn-check:checked + .btn,
html[data-bs-theme="dark"] .model-tile.active,
html[data-bs-theme="dark"] .videoai2-pill.active,
html[data-bs-theme="dark"] .videoai2-model.active,
html[data-bs-theme="dark"] .videoai2-side-item.active,
html[data-bs-theme="dark"] .page-item.active .page-link {
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(79,125,243,.34) 0%, rgba(108,99,255,.28) 100%) !important;
  border-color: rgba(117,156,255,.46) !important;
  box-shadow: inset 3px 0 0 #4f7df3, 0 .65rem 1.45rem rgba(0,0,0,.20) !important;
}

html[data-bs-theme="dark"] .vq-navgroup .vq-side-link-button.active {
  background: #0c244f !important;
  box-shadow: inset 3px 0 0 #335fca !important;
}

html[data-bs-theme="dark"] .vq-navgroup .vq-side-link-sub.active {
  background: #173a77 !important;
  box-shadow: inset 3px 0 0 #4f7df3 !important;
}

html[data-bs-theme="dark"] .form-control,
html[data-bs-theme="dark"] .form-select,
html[data-bs-theme="dark"] textarea,
html[data-bs-theme="dark"] select:not([multiple]):not([size]),
html[data-bs-theme="dark"] .form-control:disabled,
html[data-bs-theme="dark"] .form-select:disabled {
  background-color: #0b1b3a !important;
  border-color: rgba(122,157,224,.26) !important;
  color: #eef4ff !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .form-control::placeholder,
html[data-bs-theme="dark"] .form-select::placeholder,
html[data-bs-theme="dark"] textarea::placeholder {
  color: rgba(226,236,255,.46) !important;
  opacity: 1 !important;
}

html[data-bs-theme="dark"] .form-control:focus,
html[data-bs-theme="dark"] .form-select:focus,
html[data-bs-theme="dark"] textarea:focus,
html[data-bs-theme="dark"] select:not([multiple]):not([size]):focus {
  background-color: #102a5b !important;
  border-color: rgba(79,125,243,.62) !important;
  box-shadow: 0 0 0 .2rem rgba(79,125,243,.18) !important;
  color: #ffffff !important;
}

html[data-bs-theme="dark"] .form-select option,
html[data-bs-theme="dark"] select option {
  color: #10203f !important;
  background-color: #ffffff !important;
}

html[data-bs-theme="dark"] .btn-primary,
html[data-bs-theme="dark"] .btn.btn-primary,
html[data-bs-theme="dark"] .btn-dark,
html[data-bs-theme="dark"] .btn.btn-dark,
html[data-bs-theme="dark"] .btn-success,
html[data-bs-theme="dark"] .btn.btn-success,
html[data-bs-theme="dark"] .vq-legacy-btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #4f7df3;
  --bs-btn-border-color: #4f7df3;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #668ffd;
  --bs-btn-hover-border-color: #668ffd;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #416add;
  --bs-btn-active-border-color: #416add;
  background: linear-gradient(135deg, #4f7df3 0%, #6c63ff 58%, #3ec3ff 100%) !important;
  border-color: rgba(183,207,255,.20) !important;
  color: #fff !important;
  box-shadow: 0 .8rem 1.9rem rgba(79,125,243,.28) !important;
}

html[data-bs-theme="dark"] .btn-primary:hover,
html[data-bs-theme="dark"] .btn-primary:focus,
html[data-bs-theme="dark"] .btn.btn-primary:hover,
html[data-bs-theme="dark"] .btn.btn-primary:focus,
html[data-bs-theme="dark"] .btn-dark:hover,
html[data-bs-theme="dark"] .btn-dark:focus,
html[data-bs-theme="dark"] .btn.btn-dark:hover,
html[data-bs-theme="dark"] .btn.btn-dark:focus,
html[data-bs-theme="dark"] .btn-success:hover,
html[data-bs-theme="dark"] .btn-success:focus,
html[data-bs-theme="dark"] .btn.btn-success:hover,
html[data-bs-theme="dark"] .btn.btn-success:focus,
html[data-bs-theme="dark"] .vq-legacy-btn-primary:hover,
html[data-bs-theme="dark"] .vq-legacy-btn-primary:focus {
  background: linear-gradient(135deg, #668ffd 0%, #7c74ff 58%, #63d1ff 100%) !important;
  border-color: rgba(183,207,255,.30) !important;
  color: #fff !important;
  box-shadow: 0 1rem 2.25rem rgba(79,125,243,.34) !important;
  transform: translateY(-1px);
}

html[data-bs-theme="dark"] .btn-outline-primary,
html[data-bs-theme="dark"] .btn-outline-secondary,
html[data-bs-theme="dark"] .btn-outline-light {
  color: #cfe0ff !important;
  border-color: rgba(122,157,224,.34) !important;
  background: rgba(79,125,243,.09) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .btn-outline-primary:hover,
html[data-bs-theme="dark"] .btn-outline-primary:focus,
html[data-bs-theme="dark"] .btn-outline-secondary:hover,
html[data-bs-theme="dark"] .btn-outline-secondary:focus,
html[data-bs-theme="dark"] .btn-outline-light:hover,
html[data-bs-theme="dark"] .btn-outline-light:focus {
  color: #fff !important;
  border-color: rgba(117,156,255,.58) !important;
  background: #173a77 !important;
  box-shadow: 0 .7rem 1.5rem rgba(0,0,0,.20) !important;
}

html[data-bs-theme="dark"] .table,
html[data-bs-theme="dark"] .table > :not(caption) > * > * {
  --bs-table-bg: transparent;
  --bs-table-color: #eef4ff;
  --bs-table-border-color: rgba(122,157,224,.20);
  --bs-table-striped-bg: rgba(255,255,255,.025);
  --bs-table-hover-bg: rgba(79,125,243,.10);
  color: #eef4ff !important;
  border-color: rgba(122,157,224,.20) !important;
}

html[data-bs-theme="dark"] .alert {
  --bs-alert-color: #eaf2ff;
  --bs-alert-bg: #102a5b;
  --bs-alert-border-color: rgba(122,157,224,.30);
  color: var(--bs-alert-color) !important;
  background: var(--bs-alert-bg) !important;
  border-color: var(--bs-alert-border-color) !important;
}

html[data-bs-theme="dark"] .alert-primary { --bs-alert-bg: rgba(79,125,243,.20); --bs-alert-border-color: rgba(79,125,243,.46); --bs-alert-color: #dfeaff; }
html[data-bs-theme="dark"] .alert-info { --bs-alert-bg: rgba(62,195,255,.16); --bs-alert-border-color: rgba(62,195,255,.38); --bs-alert-color: #dff6ff; }
html[data-bs-theme="dark"] .alert-success { --bs-alert-bg: rgba(47,209,164,.14); --bs-alert-border-color: rgba(47,209,164,.34); --bs-alert-color: #d9fff2; }
html[data-bs-theme="dark"] .alert-warning { --bs-alert-bg: rgba(255,193,7,.16); --bs-alert-border-color: rgba(255,193,7,.38); --bs-alert-color: #fff4cf; }
html[data-bs-theme="dark"] .alert-danger { --bs-alert-bg: rgba(236,95,127,.16); --bs-alert-border-color: rgba(236,95,127,.40); --bs-alert-color: #ffe0e8; }

html[data-bs-theme="dark"] .text-bg-primary,
html[data-bs-theme="dark"] .badge.text-bg-primary {
  background: linear-gradient(135deg, #4f7df3 0%, #6c63ff 100%) !important;
  color: #fff !important;
}

html[data-bs-theme="dark"] .text-dark,
html[data-bs-theme="dark"] .text-body,
html[data-bs-theme="dark"] .text-body-emphasis {
  color: #eef4ff !important;
}

html[data-bs-theme="dark"] .border,
html[data-bs-theme="dark"] .border-top,
html[data-bs-theme="dark"] .border-bottom,
html[data-bs-theme="dark"] .border-start,
html[data-bs-theme="dark"] .border-end,
html[data-bs-theme="dark"] .navbar-toggler,
html[data-bs-theme="dark"] .accordion-button {
  border-color: var(--ubold-galaxy-border) !important;
}

html[data-bs-theme="dark"] .form-check-input {
  background-color: #0b1b3a !important;
  border-color: rgba(122,157,224,.36) !important;
}

html[data-bs-theme="dark"] .form-check-input:focus {
  border-color: rgba(79,125,243,.62) !important;
  box-shadow: 0 0 0 .2rem rgba(79,125,243,.18) !important;
}

html[data-bs-theme="dark"] .form-check-input:checked,
html[data-bs-theme="dark"] .form-check-input[type="checkbox"]:indeterminate,
html[data-bs-theme="dark"] .form-switch .form-check-input:checked,
html[data-bs-theme="dark"] .form-switch .form-check-input[type="checkbox"]:checked,
html[data-bs-theme="dark"] .form-switch .form-check-input[role="switch"]:checked {
  background-color: #4f7df3 !important;
  border-color: #4f7df3 !important;
  box-shadow: 0 0 0 .16rem rgba(79,125,243,.16) !important;
}

html[data-bs-theme="dark"] .modal-backdrop,
html[data-bs-theme="dark"] .vq-my-tools-hover-modal {
  background-color: rgba(2,8,22,.72) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-all-tools-modal.vq-all-tools-flyout .modal-content {
  border-color: rgba(122,157,224,.42) !important;
  outline-color: rgba(12,29,64,.82) !important;
  box-shadow:
    inset 0 0 0 1px rgba(122,157,224,.18),
    inset 0 0 0 7px rgba(79,125,243,.06),
    0 1.25rem 3rem rgba(0, 0, 0, .48) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-all-tools-modal.vq-all-tools-flyout .modal-content::before {
  border-color: rgba(122,157,224,.34) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-all-tools-modal.vq-all-tools-flyout .modal-header {
  border-bottom-color: rgba(122,157,224,.22) !important;
}

html[data-bs-theme="dark"] ::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

html[data-bs-theme="dark"] ::-webkit-scrollbar-track {
  background: #061229 !important;
}

html[data-bs-theme="dark"] ::-webkit-scrollbar-thumb {
  background: #173a77 !important;
  border: 2px solid #061229 !important;
  border-radius: 999px;
  background-clip: padding-box;
}

html[data-bs-theme="dark"] ::-webkit-scrollbar-thumb:hover {
  background: #2655a3 !important;
  border: 2px solid #061229 !important;
}

html[data-bs-theme="dark"] {
  scrollbar-color: #173a77 #061229;
  scrollbar-width: thin;
}

/* ---------- Velzon Material dark mode override (SurfStats 2026-07-03) ----------
   Matches the referenced Themesbrand Velzon Material dark analytics dashboard:
   charcoal/navy page canvas, dark card/topbar/sidebar surfaces, subtle borders,
   muted gray-blue text, and Velzon blue/teal/orange accent colors. Keep this
   block last so it wins over earlier Surfstats/UBold/Skote dark-mode overrides. */
html[data-bs-theme="dark"] {
  color-scheme: dark;

  --velzon-dark-body: #1a1d21;
  --velzon-dark-body-rgb: 26,29,33;
  --velzon-dark-sidebar: #212529;
  --velzon-dark-topbar: #212529;
  --velzon-dark-card: #212529;
  --velzon-dark-card-2: #262a2f;
  --velzon-dark-card-3: #2a2f35;
  --velzon-dark-border: #32383e;
  --velzon-dark-border-rgb: 50,56,62;
  --velzon-dark-text: #ced4da;
  --velzon-dark-heading: #f3f6f9;
  --velzon-dark-muted: #878a99;
  --velzon-dark-faint: #6c757d;
  --velzon-dark-primary: #405189;
  --velzon-dark-primary-rgb: 64,81,137;
  --velzon-dark-primary-hover: #4b5f9f;
  --velzon-dark-primary-soft: rgba(64,81,137,.18);
  --velzon-dark-success: #0ab39c;
  --velzon-dark-success-rgb: 10,179,156;
  --velzon-dark-info: #299cdb;
  --velzon-dark-info-rgb: 41,156,219;
  --velzon-dark-warning: #f7b84b;
  --velzon-dark-warning-rgb: 247,184,75;
  --velzon-dark-danger: #f06548;
  --velzon-dark-danger-rgb: 240,101,72;

  --bs-body-bg: #1a1d21;
  --bs-body-bg-rgb: 26,29,33;
  --bs-body-color: #ced4da;
  --bs-body-color-rgb: 206,212,218;
  --bs-emphasis-color: #f3f6f9;
  --bs-emphasis-color-rgb: 243,246,249;
  --bs-secondary-color: #878a99;
  --bs-secondary-rgb: 135,138,153;
  --bs-tertiary-color: #6c757d;
  --bs-tertiary-bg: #212529;
  --bs-tertiary-bg-rgb: 33,37,41;
  --bs-secondary-bg: #262a2f;
  --bs-secondary-bg-rgb: 38,42,47;
  --bs-border-color: #32383e;
  --bs-border-color-translucent: rgba(206,212,218,.14);
  --bs-link-color: #6d82bd;
  --bs-link-hover-color: #9aa9d5;
  --bs-primary: #405189;
  --bs-primary-rgb: 64,81,137;
  --bs-primary-bg-subtle: rgba(64,81,137,.18);
  --bs-primary-border-subtle: rgba(64,81,137,.42);
  --bs-info: #299cdb;
  --bs-info-rgb: 41,156,219;
  --bs-success: #0ab39c;
  --bs-success-rgb: 10,179,156;
  --bs-warning: #f7b84b;
  --bs-warning-rgb: 247,184,75;
  --bs-danger: #f06548;
  --bs-danger-rgb: 240,101,72;

  --vq-bg: #1a1d21;
  --vq-bg-2: #1d2025;
  --vq-surface: #212529;
  --vq-surface-2: #262a2f;
  --vq-surface-solid: #212529;
  --vq-surface-elev: #2a2f35;
  --vq-text: #ced4da;
  --vq-muted: #878a99;
  --vq-border: #32383e;
  --vq-primary: #405189;
  --vq-primary-2: #0ab39c;
  --vq-toggle-accent: #405189;
  --vq-toggle-accent-rgb: 64,81,137;
  --vq-shadow: 0 .75rem 1.5rem rgba(0, 0, 0, .28);
}

html[data-bs-theme="dark"],
html[data-bs-theme="dark"] body,
html[data-bs-theme="dark"] body.vq-body,
html[data-bs-theme="dark"] .vq-app-shell,
html[data-bs-theme="dark"] .vq-main,
html[data-bs-theme="dark"] .vq-app-content,
html[data-bs-theme="dark"] .pv-page,
html[data-bs-theme="dark"] .vq-home-page,
html[data-bs-theme="dark"] .vq-public-page,
html[data-bs-theme="dark"] .container,
html[data-bs-theme="dark"] .container-fluid {
  background: var(--velzon-dark-body) !important;
  color: var(--velzon-dark-text) !important;
}

html[data-bs-theme="dark"] .vq-nav,
html[data-bs-theme="dark"] .vq-app-topbar,
html[data-bs-theme="dark"] .navbar.vq-nav,
html[data-bs-theme="dark"] footer {
  background: var(--velzon-dark-topbar) !important;
  color: var(--velzon-dark-text) !important;
  border-color: var(--velzon-dark-border) !important;
  box-shadow: 0 .35rem 1rem rgba(0, 0, 0, .20) !important;
  backdrop-filter: none !important;
}

html[data-bs-theme="dark"] .vq-sidebar,
html[data-bs-theme="dark"] .app-menu,
html[data-bs-theme="dark"] .navbar-menu {
  background: var(--velzon-dark-sidebar) !important;
  color: var(--velzon-dark-text) !important;
  border-color: var(--velzon-dark-border) !important;
  box-shadow: inset -1px 0 0 rgba(255,255,255,.025) !important;
  backdrop-filter: none !important;
}

html[data-bs-theme="dark"] h1,
html[data-bs-theme="dark"] h2,
html[data-bs-theme="dark"] h3,
html[data-bs-theme="dark"] h4,
html[data-bs-theme="dark"] h5,
html[data-bs-theme="dark"] h6,
html[data-bs-theme="dark"] .navbar-brand,
html[data-bs-theme="dark"] .vq-logo,
html[data-bs-theme="dark"] .fw-semibold,
html[data-bs-theme="dark"] .fw-bold,
html[data-bs-theme="dark"] .vq-app-home-title,
html[data-bs-theme="dark"] .card-title,
html[data-bs-theme="dark"] .modal-title {
  color: var(--velzon-dark-heading) !important;
  text-shadow: none !important;
}

html[data-bs-theme="dark"] .text-secondary,
html[data-bs-theme="dark"] .text-muted,
html[data-bs-theme="dark"] .small,
html[data-bs-theme="dark"] small,
html[data-bs-theme="dark"] .vq-muted,
html[data-bs-theme="dark"] .card-subtitle,
html[data-bs-theme="dark"] .form-text,
html[data-bs-theme="dark"] .breadcrumb-item,
html[data-bs-theme="dark"] .breadcrumb-item a,
html[data-bs-theme="dark"] .page-title-right,
html[data-bs-theme="dark"] .dropdown-header {
  color: var(--velzon-dark-muted) !important;
}

html[data-bs-theme="dark"] .vq-glass,
html[data-bs-theme="dark"] .vq-card,
html[data-bs-theme="dark"] .card,
html[data-bs-theme="dark"] .modal-content,
html[data-bs-theme="dark"] .dropdown-menu,
html[data-bs-theme="dark"] .offcanvas,
html[data-bs-theme="dark"] .list-group-item,
html[data-bs-theme="dark"] .accordion-item,
html[data-bs-theme="dark"] .accordion-button,
html[data-bs-theme="dark"] .bg-body-tertiary,
html[data-bs-theme="dark"] .bg-body,
html[data-bs-theme="dark"] .bg-dark,
html[data-bs-theme="dark"] .bg-white,
html[data-bs-theme="dark"] .vq-tool-card,
html[data-bs-theme="dark"] .pv-hero,
html[data-bs-theme="dark"] .pv-featured-panel,
html[data-bs-theme="dark"] .pv-cap-card,
html[data-bs-theme="dark"] .pv-enterprise,
html[data-bs-theme="dark"] .pv-stat-card,
html[data-bs-theme="dark"] .pv-story-card,
html[data-bs-theme="dark"] .vq-tools-toolbar .dropdown-menu,
html[data-bs-theme="dark"] .vq-purpose-box,
html[data-bs-theme="dark"] .vq-all-tools-modal .modal-content,
html[data-bs-theme="dark"] .vq-all-tools-modal .modal-body,
html[data-bs-theme="dark"] .vq-all-tools-modal .modal-header,
html[data-bs-theme="dark"] .vq-my-tools-card,
html[data-bs-theme="dark"] .vq-my-tools-column,
html[data-bs-theme="dark"] .videoai2-card,
html[data-bs-theme="dark"] .title-sug-card,
html[data-bs-theme="dark"] .thumb-sug-card,
html[data-bs-theme="dark"] .alert-light,
html[data-bs-theme="dark"] .alert-secondary {
  background: var(--velzon-dark-card) !important;
  color: var(--velzon-dark-text) !important;
  border-color: var(--velzon-dark-border) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

html[data-bs-theme="dark"] .card-header,
html[data-bs-theme="dark"] .card-footer,
html[data-bs-theme="dark"] .modal-header,
html[data-bs-theme="dark"] .modal-footer,
html[data-bs-theme="dark"] .dropdown-divider,
html[data-bs-theme="dark"] hr {
  background: transparent !important;
  border-color: var(--velzon-dark-border) !important;
}

html[data-bs-theme="dark"] .vq-card:hover,
html[data-bs-theme="dark"] .card:hover,
html[data-bs-theme="dark"] .card:focus-within,
html[data-bs-theme="dark"] .vq-tool-card:hover,
html[data-bs-theme="dark"] .vq-tool-card:focus-within,
html[data-bs-theme="dark"] .pv-stat-card:hover,
html[data-bs-theme="dark"] .pv-story-card:hover {
  background: var(--velzon-dark-card-2) !important;
  border-color: rgba(64,81,137,.42) !important;
  box-shadow: 0 .75rem 1.5rem rgba(0,0,0,.20) !important;
}

html[data-bs-theme="dark"] .dropdown-item,
html[data-bs-theme="dark"] .nav-link,
html[data-bs-theme="dark"] .navbar-nav .nav-link,
html[data-bs-theme="dark"] .vq-sidebar .nav-link,
html[data-bs-theme="dark"] .vq-sidebar .nav-section,
html[data-bs-theme="dark"] .vq-sidebar .sidebar-heading,
html[data-bs-theme="dark"] .vq-sidebar a,
html[data-bs-theme="dark"] .vq-tools-toolbar .dropdown-item,
html[data-bs-theme="dark"] .vq-all-tools-modal a,
html[data-bs-theme="dark"] .list-group-item a {
  color: var(--velzon-dark-muted) !important;
}

html[data-bs-theme="dark"] .dropdown-item:hover,
html[data-bs-theme="dark"] .dropdown-item:focus,
html[data-bs-theme="dark"] .nav-link:hover,
html[data-bs-theme="dark"] .nav-link:focus,
html[data-bs-theme="dark"] .navbar-nav .nav-link:hover,
html[data-bs-theme="dark"] .navbar-nav .nav-link:focus,
html[data-bs-theme="dark"] .vq-sidebar .nav-link:hover,
html[data-bs-theme="dark"] .vq-sidebar .nav-link:focus,
html[data-bs-theme="dark"] .vq-sidebar a:hover,
html[data-bs-theme="dark"] .vq-sidebar a:focus,
html[data-bs-theme="dark"] .vq-tools-toolbar .dropdown-item:hover,
html[data-bs-theme="dark"] .vq-all-tools-modal a:hover {
  color: var(--velzon-dark-heading) !important;
  background: rgba(64,81,137,.14) !important;
}

html[data-bs-theme="dark"] .nav-link.active,
html[data-bs-theme="dark"] .navbar-nav .nav-link.active,
html[data-bs-theme="dark"] .dropdown-item.active,
html[data-bs-theme="dark"] .dropdown-item:active,
html[data-bs-theme="dark"] .vq-sidebar .active,
html[data-bs-theme="dark"] .vq-sidebar .nav-link.active,
html[data-bs-theme="dark"] .vq-sidebar a.active,
html[data-bs-theme="dark"] .vq-tools-toolbar .dropdown-item.active,
html[data-bs-theme="dark"] .list-group-item.active,
html[data-bs-theme="dark"] .accordion-button:not(.collapsed) {
  color: #ffffff !important;
  background: var(--velzon-dark-primary-soft) !important;
  border-color: rgba(64,81,137,.36) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-sidebar > .nav-item > .nav-link.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-heading.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-top-level.active,
html[data-bs-theme="dark"] .vq-sidebar .nav-link[aria-expanded="true"] {
  background: #1f2329 !important;
  color: #ffffff !important;
}

html[data-bs-theme="dark"] .vq-sidebar .nav-treeview,
html[data-bs-theme="dark"] .vq-sidebar .collapse.show,
html[data-bs-theme="dark"] .vq-sidebar .dropdown-menu,
html[data-bs-theme="dark"] .vq-sidebar .nav-submenu,
html[data-bs-theme="dark"] .vq-sidebar .submenu,
html[data-bs-theme="dark"] .vq-app-sidebar-submenu,
html[data-bs-theme="dark"] .vq-sidebar-group {
  background: #1b1f24 !important;
  border-color: rgba(50,56,62,.70) !important;
}

html[data-bs-theme="dark"] a,
html[data-bs-theme="dark"] .link-primary {
  color: var(--bs-link-color) !important;
}

html[data-bs-theme="dark"] a:hover,
html[data-bs-theme="dark"] .link-primary:hover {
  color: var(--bs-link-hover-color) !important;
}

html[data-bs-theme="dark"] .form-control,
html[data-bs-theme="dark"] .form-select,
html[data-bs-theme="dark"] textarea,
html[data-bs-theme="dark"] select:not([multiple]):not([size]),
html[data-bs-theme="dark"] .form-control:disabled,
html[data-bs-theme="dark"] .form-select:disabled,
html[data-bs-theme="dark"] .input-group-text {
  background-color: var(--velzon-dark-card) !important;
  border-color: var(--velzon-dark-border) !important;
  color: var(--velzon-dark-text) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .form-control::placeholder,
html[data-bs-theme="dark"] .form-select::placeholder,
html[data-bs-theme="dark"] textarea::placeholder {
  color: rgba(135,138,153,.72) !important;
  opacity: 1 !important;
}

html[data-bs-theme="dark"] .form-control:focus,
html[data-bs-theme="dark"] .form-select:focus,
html[data-bs-theme="dark"] textarea:focus,
html[data-bs-theme="dark"] select:not([multiple]):not([size]):focus {
  background-color: var(--velzon-dark-card-2) !important;
  border-color: rgba(64,81,137,.75) !important;
  box-shadow: 0 0 0 .15rem rgba(64,81,137,.22) !important;
  color: var(--velzon-dark-heading) !important;
}

html[data-bs-theme="dark"] .form-select option,
html[data-bs-theme="dark"] select option {
  color: #212529 !important;
  background-color: #ffffff !important;
}

html[data-bs-theme="dark"] .btn-primary,
html[data-bs-theme="dark"] .btn.btn-primary,
html[data-bs-theme="dark"] .btn-dark,
html[data-bs-theme="dark"] .btn.btn-dark,
html[data-bs-theme="dark"] .vq-legacy-btn-primary {
  --bs-btn-color: #ffffff;
  --bs-btn-bg: #405189;
  --bs-btn-border-color: #405189;
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: #4b5f9f;
  --bs-btn-hover-border-color: #4b5f9f;
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: #384779;
  --bs-btn-active-border-color: #384779;
  --bs-btn-disabled-color: rgba(255,255,255,.72);
  --bs-btn-disabled-bg: rgba(64,81,137,.55);
  --bs-btn-disabled-border-color: rgba(64,81,137,.38);
  background: #405189 !important;
  border-color: #405189 !important;
  color: #ffffff !important;
  box-shadow: 0 .35rem .75rem rgba(64,81,137,.18) !important;
}

html[data-bs-theme="dark"] .btn-primary:hover,
html[data-bs-theme="dark"] .btn-primary:focus,
html[data-bs-theme="dark"] .btn.btn-primary:hover,
html[data-bs-theme="dark"] .btn.btn-primary:focus,
html[data-bs-theme="dark"] .btn-dark:hover,
html[data-bs-theme="dark"] .btn-dark:focus,
html[data-bs-theme="dark"] .btn.btn-dark:hover,
html[data-bs-theme="dark"] .btn.btn-dark:focus,
html[data-bs-theme="dark"] .vq-legacy-btn-primary:hover,
html[data-bs-theme="dark"] .vq-legacy-btn-primary:focus {
  background: #4b5f9f !important;
  border-color: #4b5f9f !important;
  color: #ffffff !important;
  box-shadow: 0 .5rem 1rem rgba(64,81,137,.24) !important;
  transform: translateY(-1px);
}

html[data-bs-theme="dark"] .btn-success,
html[data-bs-theme="dark"] .btn.btn-success {
  --bs-btn-color: #ffffff;
  --bs-btn-bg: #0ab39c;
  --bs-btn-border-color: #0ab39c;
  --bs-btn-hover-bg: #099885;
  --bs-btn-hover-border-color: #099885;
  background: #0ab39c !important;
  border-color: #0ab39c !important;
  color: #ffffff !important;
}

html[data-bs-theme="dark"] .btn-outline-primary {
  color: #8f9fca !important;
  border-color: rgba(64,81,137,.55) !important;
  background: rgba(64,81,137,.10) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .btn-outline-secondary,
html[data-bs-theme="dark"] .btn-outline-light {
  color: var(--velzon-dark-muted) !important;
  border-color: var(--velzon-dark-border) !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .btn-outline-primary:hover,
html[data-bs-theme="dark"] .btn-outline-primary:focus,
html[data-bs-theme="dark"] .btn-outline-secondary:hover,
html[data-bs-theme="dark"] .btn-outline-secondary:focus,
html[data-bs-theme="dark"] .btn-outline-light:hover,
html[data-bs-theme="dark"] .btn-outline-light:focus {
  color: #ffffff !important;
  border-color: rgba(64,81,137,.72) !important;
  background: rgba(64,81,137,.20) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .table,
html[data-bs-theme="dark"] .table > :not(caption) > * > * {
  --bs-table-bg: transparent;
  --bs-table-color: #ced4da;
  --bs-table-border-color: #32383e;
  --bs-table-striped-bg: rgba(255,255,255,.025);
  --bs-table-hover-bg: rgba(64,81,137,.10);
  color: #ced4da !important;
  border-color: var(--velzon-dark-border) !important;
}

html[data-bs-theme="dark"] .alert {
  --bs-alert-color: #ced4da;
  --bs-alert-bg: #212529;
  --bs-alert-border-color: #32383e;
  color: var(--bs-alert-color) !important;
  background: var(--bs-alert-bg) !important;
  border-color: var(--bs-alert-border-color) !important;
}

html[data-bs-theme="dark"] .alert-primary { --bs-alert-bg: rgba(64,81,137,.20); --bs-alert-border-color: rgba(64,81,137,.44); --bs-alert-color: #c9d3f1; }
html[data-bs-theme="dark"] .alert-info { --bs-alert-bg: rgba(41,156,219,.16); --bs-alert-border-color: rgba(41,156,219,.38); --bs-alert-color: #d8f0ff; }
html[data-bs-theme="dark"] .alert-success { --bs-alert-bg: rgba(10,179,156,.16); --bs-alert-border-color: rgba(10,179,156,.38); --bs-alert-color: #d7fff7; }
html[data-bs-theme="dark"] .alert-warning { --bs-alert-bg: rgba(247,184,75,.16); --bs-alert-border-color: rgba(247,184,75,.38); --bs-alert-color: #fff0cf; }
html[data-bs-theme="dark"] .alert-danger { --bs-alert-bg: rgba(240,101,72,.16); --bs-alert-border-color: rgba(240,101,72,.40); --bs-alert-color: #ffe2db; }

html[data-bs-theme="dark"] .text-bg-primary,
html[data-bs-theme="dark"] .badge.text-bg-primary,
html[data-bs-theme="dark"] .page-item.active .page-link {
  background: #405189 !important;
  border-color: #405189 !important;
  color: #ffffff !important;
}

html[data-bs-theme="dark"] .badge.text-bg-success,
html[data-bs-theme="dark"] .text-bg-success {
  background: #0ab39c !important;
  color: #ffffff !important;
}

html[data-bs-theme="dark"] .text-dark,
html[data-bs-theme="dark"] .text-body,
html[data-bs-theme="dark"] .text-body-emphasis,
html[data-bs-theme="dark"] label,
html[data-bs-theme="dark"] .form-label {
  color: var(--velzon-dark-text) !important;
}

html[data-bs-theme="dark"] .border,
html[data-bs-theme="dark"] .border-top,
html[data-bs-theme="dark"] .border-bottom,
html[data-bs-theme="dark"] .border-start,
html[data-bs-theme="dark"] .border-end,
html[data-bs-theme="dark"] .navbar-toggler,
html[data-bs-theme="dark"] .accordion-button {
  border-color: var(--velzon-dark-border) !important;
}

html[data-bs-theme="dark"] .form-check-input {
  background-color: var(--velzon-dark-card) !important;
  border-color: rgba(135,138,153,.46) !important;
}

html[data-bs-theme="dark"] .form-check-input:focus {
  border-color: rgba(64,81,137,.72) !important;
  box-shadow: 0 0 0 .15rem rgba(64,81,137,.22) !important;
}

html[data-bs-theme="dark"] .form-check-input:checked,
html[data-bs-theme="dark"] .form-check-input[type="checkbox"]:indeterminate,
html[data-bs-theme="dark"] .form-switch .form-check-input:checked,
html[data-bs-theme="dark"] .form-switch .form-check-input[type="checkbox"]:checked,
html[data-bs-theme="dark"] .form-switch .form-check-input[role="switch"]:checked {
  background-color: var(--velzon-dark-primary) !important;
  border-color: var(--velzon-dark-primary) !important;
  box-shadow: 0 0 0 .12rem rgba(64,81,137,.18) !important;
}

html[data-bs-theme="dark"] .modal-backdrop,
html[data-bs-theme="dark"] .vq-my-tools-hover-modal {
  background-color: rgba(0,0,0,.72) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-all-tools-modal.vq-all-tools-flyout .modal-content {
  border-color: rgba(206,212,218,.22) !important;
  outline-color: rgba(33,37,41,.92) !important;
  box-shadow: 0 1rem 2.5rem rgba(0,0,0,.50) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-all-tools-modal.vq-all-tools-flyout .modal-content::before,
html[data-bs-theme="dark"] body.vq-app .vq-all-tools-modal.vq-all-tools-flyout .modal-header {
  border-color: var(--velzon-dark-border) !important;
}

html[data-bs-theme="dark"] ::selection {
  background: rgba(64,81,137,.50);
  color: #ffffff;
}

html[data-bs-theme="dark"] ::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

html[data-bs-theme="dark"] ::-webkit-scrollbar-track {
  background: #1a1d21 !important;
}

html[data-bs-theme="dark"] ::-webkit-scrollbar-thumb {
  background: #343a40 !important;
  border: 2px solid #1a1d21 !important;
  border-radius: 999px;
  background-clip: padding-box;
}

html[data-bs-theme="dark"] ::-webkit-scrollbar-thumb:hover {
  background: #495057 !important;
  border: 2px solid #1a1d21 !important;
}

html[data-bs-theme="dark"] {
  scrollbar-color: #343a40 #1a1d21;
  scrollbar-width: thin;
}

/* ---------- Dark sidebar multi-accent refinement (SurfStats 2026-07-03) ----------
   Keep the Velzon Material dark dashboard base, but remove the blue sidebar accent.
   The sidebar now uses the same mixed accent family visible in the content area:
   purple, pink, amber and teal. Light mode is unchanged. */
html[data-bs-theme="dark"] {
  --surf-sidebar-bg: #1b1f25;
  --surf-sidebar-bg-2: #181b21;
  --surf-sidebar-panel: rgba(255,255,255,.045);
  --surf-sidebar-panel-strong: rgba(255,255,255,.075);
  --surf-sidebar-border: rgba(255,255,255,.10);
  --surf-sidebar-text: #d8dde7;
  --surf-sidebar-muted: #9aa3b2;
  --surf-sidebar-purple: #8b5cf6;
  --surf-sidebar-purple-rgb: 139,92,246;
  --surf-sidebar-pink: #ec4899;
  --surf-sidebar-pink-rgb: 236,72,153;
  --surf-sidebar-amber: #f59e0b;
  --surf-sidebar-amber-rgb: 245,158,11;
  --surf-sidebar-orange: #f97316;
  --surf-sidebar-orange-rgb: 249,115,22;
  --surf-sidebar-teal: #14b8a6;
  --surf-sidebar-teal-rgb: 20,184,166;
}

html[data-bs-theme="dark"] .vq-main {
  background:
    radial-gradient(920px 620px at 100% 4%, rgba(var(--surf-sidebar-pink-rgb), .070), transparent 58%),
    radial-gradient(780px 560px at 98% 45%, rgba(var(--surf-sidebar-orange-rgb), .055), transparent 62%),
    radial-gradient(760px 560px at 94% 100%, rgba(var(--surf-sidebar-teal-rgb), .060), transparent 58%),
    var(--velzon-dark-body) !important;
}

html[data-bs-theme="dark"] .vq-app-content,
html[data-bs-theme="dark"] .vq-app-content .container,
html[data-bs-theme="dark"] .vq-app-content .container-fluid,
html[data-bs-theme="dark"] .vq-app-content .vq-home-page,
html[data-bs-theme="dark"] .vq-app-content .pv-page {
  background: transparent !important;
}

html[data-bs-theme="dark"] .vq-sidebar {
  --bs-primary: var(--surf-sidebar-pink);
  --bs-primary-rgb: var(--surf-sidebar-pink-rgb);
  --bs-primary-bg-subtle: rgba(var(--surf-sidebar-pink-rgb), .18);
  --bs-primary-border-subtle: rgba(var(--surf-sidebar-pink-rgb), .42);
  background:
    radial-gradient(620px 420px at 112% 2%, rgba(var(--surf-sidebar-pink-rgb), .18), transparent 56%),
    radial-gradient(540px 500px at 100% 38%, rgba(var(--surf-sidebar-orange-rgb), .12), transparent 60%),
    radial-gradient(460px 380px at 16% 98%, rgba(var(--surf-sidebar-teal-rgb), .12), transparent 58%),
    linear-gradient(180deg, #22262d 0%, var(--surf-sidebar-bg) 46%, var(--surf-sidebar-bg-2) 100%) !important;
  border-color: rgba(255,255,255,.11) !important;
  box-shadow: inset -1px 0 0 rgba(255,255,255,.045), 0 0 0 1px rgba(0,0,0,.12) !important;
}

html[data-bs-theme="dark"] .vq-sidebar .fw-semibold,
html[data-bs-theme="dark"] .vq-sidebar .vq-logo,
html[data-bs-theme="dark"] .vq-sidebar .navbar-brand {
  color: #ffffff !important;
}

html[data-bs-theme="dark"] .vq-sidebar .text-secondary,
html[data-bs-theme="dark"] .vq-sidebar .text-muted,
html[data-bs-theme="dark"] .vq-sidebar .text-body-secondary,
html[data-bs-theme="dark"] .vq-sidebar small,
html[data-bs-theme="dark"] .vq-sidebar .small,
html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-smart-title,
html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-empty,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle > .bi-chevron-down,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle > span > i,
html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-mini-link i,
html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-search-wrap > i {
  color: var(--surf-sidebar-muted) !important;
}

html[data-bs-theme="dark"] .vq-sidebar .text-primary,
html[data-bs-theme="dark"] .vq-sidebar .link-primary,
html[data-bs-theme="dark"] .vq-sidebar a.link-primary,
html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-smart-title i {
  color: var(--surf-sidebar-pink) !important;
}

html[data-bs-theme="dark"] .vq-sidebar-search,
html[data-bs-theme="dark"] .vq-sidebar .form-control,
html[data-bs-theme="dark"] .vq-sidebar .form-select,
html[data-bs-theme="dark"] .vq-sidebar-pin-current,
html[data-bs-theme="dark"] .vq-sidebar-smart-section,
html[data-bs-theme="dark"] .vq-nav-accordion-item {
  background: linear-gradient(135deg, rgba(255,255,255,.052), rgba(255,255,255,.026)) !important;
  border-color: var(--surf-sidebar-border) !important;
  color: var(--surf-sidebar-text) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035) !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-search:focus,
html[data-bs-theme="dark"] .vq-sidebar .form-control:focus,
html[data-bs-theme="dark"] .vq-sidebar .form-select:focus {
  background: rgba(255,255,255,.070) !important;
  border-color: rgba(var(--surf-sidebar-pink-rgb), .55) !important;
  box-shadow: 0 0 0 .15rem rgba(var(--surf-sidebar-pink-rgb), .14) !important;
  color: #ffffff !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link,
html[data-bs-theme="dark"] .vq-sidebar .nav-link,
html[data-bs-theme="dark"] .vq-sidebar a,
html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-mini-link,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle {
  color: var(--surf-sidebar-text) !important;
  border-color: transparent !important;
  background: transparent !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link:hover,
html[data-bs-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link:focus,
html[data-bs-theme="dark"] .vq-sidebar .nav-link:hover,
html[data-bs-theme="dark"] .vq-sidebar .nav-link:focus,
html[data-bs-theme="dark"] .vq-sidebar a:hover,
html[data-bs-theme="dark"] .vq-sidebar a:focus,
html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-mini-link:hover,
html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-mini-link:focus,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle:hover,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle:focus {
  color: #ffffff !important;
  background: linear-gradient(90deg, rgba(var(--surf-sidebar-purple-rgb), .16), rgba(var(--surf-sidebar-pink-rgb), .10) 55%, rgba(var(--surf-sidebar-teal-rgb), .08)) !important;
  border-color: rgba(var(--surf-sidebar-pink-rgb), .24) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open,
html[data-bs-theme="dark"] .vq-sidebar > .nav-item > .nav-link.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-heading.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-top-level.active,
html[data-bs-theme="dark"] .vq-sidebar .nav-link[aria-expanded="true"] {
  color: #ffffff !important;
  background: linear-gradient(90deg, rgba(var(--surf-sidebar-purple-rgb), .22), rgba(var(--surf-sidebar-pink-rgb), .12) 62%, rgba(var(--surf-sidebar-amber-rgb), .08)) !important;
  border-color: rgba(var(--surf-sidebar-purple-rgb), .30) !important;
  box-shadow: inset 3px 0 0 var(--surf-sidebar-purple) !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link-sub.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link-button.active,
html[data-bs-theme="dark"] .vq-sidebar .dropdown-item.active,
html[data-bs-theme="dark"] .vq-sidebar .dropdown-item:active,
html[data-bs-theme="dark"] .vq-sidebar .list-group-item.active {
  color: #ffffff !important;
  background: linear-gradient(135deg,
    rgba(var(--surf-sidebar-pink-rgb), .32) 0%,
    rgba(var(--surf-sidebar-orange-rgb), .21) 52%,
    rgba(var(--surf-sidebar-teal-rgb), .18) 100%) !important;
  border-color: rgba(var(--surf-sidebar-pink-rgb), .40) !important;
  box-shadow: inset 3px 0 0 var(--surf-sidebar-pink), 0 .55rem 1.2rem rgba(0,0,0,.22) !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link-button.active {
  background: linear-gradient(90deg, rgba(var(--surf-sidebar-purple-rgb), .22), rgba(var(--surf-sidebar-pink-rgb), .12)) !important;
  box-shadow: inset 3px 0 0 var(--surf-sidebar-purple) !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link-sub.active {
  background: linear-gradient(135deg, rgba(var(--surf-sidebar-pink-rgb), .25), rgba(var(--surf-sidebar-orange-rgb), .14)) !important;
  box-shadow: inset 3px 0 0 var(--surf-sidebar-orange) !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-panel > .vq-side-link-main > i:first-child {
  color: rgba(216,221,231,.72) !important;
  background: currentColor !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-panel > .vq-side-link-main.active > i:first-child {
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--surf-sidebar-pink), var(--surf-sidebar-orange)) !important;
  opacity: 1 !important;
}

html[data-bs-theme="dark"] .vq-sidebar .btn-outline-primary,
html[data-bs-theme="dark"] .vq-sidebar .btn.btn-outline-primary {
  --bs-btn-color: #f9b4d8;
  --bs-btn-border-color: rgba(var(--surf-sidebar-pink-rgb), .42);
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: rgba(var(--surf-sidebar-pink-rgb), .18);
  --bs-btn-hover-border-color: rgba(var(--surf-sidebar-pink-rgb), .62);
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: rgba(var(--surf-sidebar-pink-rgb), .24);
  --bs-btn-active-border-color: rgba(var(--surf-sidebar-pink-rgb), .66);
  color: #f9b4d8 !important;
  border-color: rgba(var(--surf-sidebar-pink-rgb), .42) !important;
  background: rgba(var(--surf-sidebar-pink-rgb), .08) !important;
}

html[data-bs-theme="dark"] .vq-sidebar .btn-outline-primary:hover,
html[data-bs-theme="dark"] .vq-sidebar .btn-outline-primary:focus,
html[data-bs-theme="dark"] .vq-sidebar .btn-check:checked + .btn-outline-primary,
html[data-bs-theme="dark"] .vq-sidebar .btn-outline-primary.active {
  color: #ffffff !important;
  border-color: rgba(var(--surf-sidebar-pink-rgb), .66) !important;
  background: linear-gradient(135deg, rgba(var(--surf-sidebar-pink-rgb), .28), rgba(var(--surf-sidebar-orange-rgb), .18)) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-pin-current:hover,
html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-pin-current:focus {
  color: #ffffff !important;
  border-color: rgba(var(--surf-sidebar-amber-rgb), .42) !important;
  background: rgba(var(--surf-sidebar-amber-rgb), .13) !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-pin-current.pinned {
  color: #ffe6ad !important;
  border-color: rgba(var(--surf-sidebar-amber-rgb), .48) !important;
  background: rgba(var(--surf-sidebar-amber-rgb), .16) !important;
}

html[data-bs-theme="dark"] .vq-sidebar::-webkit-scrollbar-track {
  background: rgba(0,0,0,.18) !important;
}

html[data-bs-theme="dark"] .vq-sidebar::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--surf-sidebar-pink), var(--surf-sidebar-orange), var(--surf-sidebar-teal)) !important;
  border: 2px solid var(--surf-sidebar-bg-2) !important;
}

html[data-bs-theme="dark"] .vq-sidebar {
  scrollbar-color: var(--surf-sidebar-pink) var(--surf-sidebar-bg-2);
}

/* ---------- Dark sidebar Velzon Material restore (SurfStats 2026-07-03) ---------- */
/* Restore the dark sidebar to the referenced Velzon Material dark dashboard colors.
   This intentionally overrides the earlier multi-accent sidebar experiment while
   keeping the rest of the Velzon dark-mode theme and content-area styling intact. */
html[data-bs-theme="dark"] {
  --surf-sidebar-bg: #212529;
  --surf-sidebar-bg-2: #212529;
  --surf-sidebar-panel: #262a2f;
  --surf-sidebar-panel-strong: #2a2f35;
  --surf-sidebar-border: #32383e;
  --surf-sidebar-text: #abb9e8;
  --surf-sidebar-muted: #878a99;
  --surf-sidebar-title: #6c757d;
  --surf-sidebar-active: #ffffff;
  --surf-sidebar-active-bg: rgba(64, 81, 137, .18);
  --surf-sidebar-hover-bg: rgba(255, 255, 255, .045);
  --surf-sidebar-primary: #405189;
  --surf-sidebar-primary-rgb: 64,81,137;
}

html[data-bs-theme="dark"] .vq-sidebar,
html[data-bs-theme="dark"] .app-menu,
html[data-bs-theme="dark"] .navbar-menu {
  --bs-primary: #405189;
  --bs-primary-rgb: 64,81,137;
  --bs-primary-bg-subtle: rgba(64,81,137,.18);
  --bs-primary-border-subtle: rgba(64,81,137,.42);
  background: var(--surf-sidebar-bg) !important;
  background-image: none !important;
  color: var(--surf-sidebar-text) !important;
  border-color: var(--surf-sidebar-border) !important;
  box-shadow: inset -1px 0 0 rgba(255,255,255,.025) !important;
  backdrop-filter: none !important;
}

html[data-bs-theme="dark"] .vq-sidebar .fw-semibold,
html[data-bs-theme="dark"] .vq-sidebar .vq-logo,
html[data-bs-theme="dark"] .vq-sidebar .navbar-brand {
  color: #f3f6f9 !important;
}

html[data-bs-theme="dark"] .vq-sidebar .text-secondary,
html[data-bs-theme="dark"] .vq-sidebar .text-muted,
html[data-bs-theme="dark"] .vq-sidebar .text-body-secondary,
html[data-bs-theme="dark"] .vq-sidebar small,
html[data-bs-theme="dark"] .vq-sidebar .small,
html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-smart-title,
html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-empty,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle > .bi-chevron-down,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle > span > i,
html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-mini-link i,
html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-search-wrap > i {
  color: var(--surf-sidebar-muted) !important;
}

html[data-bs-theme="dark"] .vq-sidebar .text-primary,
html[data-bs-theme="dark"] .vq-sidebar .link-primary,
html[data-bs-theme="dark"] .vq-sidebar a.link-primary,
html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-smart-title i {
  color: #6d82bd !important;
}

html[data-bs-theme="dark"] .vq-sidebar-search,
html[data-bs-theme="dark"] .vq-sidebar .form-control,
html[data-bs-theme="dark"] .vq-sidebar .form-select,
html[data-bs-theme="dark"] .vq-sidebar-pin-current,
html[data-bs-theme="dark"] .vq-sidebar-smart-section,
html[data-bs-theme="dark"] .vq-nav-accordion-item {
  background: var(--surf-sidebar-panel) !important;
  background-image: none !important;
  border-color: var(--surf-sidebar-border) !important;
  color: var(--surf-sidebar-text) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-search:focus,
html[data-bs-theme="dark"] .vq-sidebar .form-control:focus,
html[data-bs-theme="dark"] .vq-sidebar .form-select:focus {
  background: var(--surf-sidebar-panel-strong) !important;
  border-color: rgba(64,81,137,.62) !important;
  box-shadow: 0 0 0 .15rem rgba(64,81,137,.16) !important;
  color: #ffffff !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link,
html[data-bs-theme="dark"] .vq-sidebar .nav-link,
html[data-bs-theme="dark"] .vq-sidebar a,
html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-mini-link,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle {
  color: var(--surf-sidebar-text) !important;
  border-color: transparent !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link:hover,
html[data-bs-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link:focus,
html[data-bs-theme="dark"] .vq-sidebar .nav-link:hover,
html[data-bs-theme="dark"] .vq-sidebar .nav-link:focus,
html[data-bs-theme="dark"] .vq-sidebar a:hover,
html[data-bs-theme="dark"] .vq-sidebar a:focus,
html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-mini-link:hover,
html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-mini-link:focus,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle:hover,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle:focus {
  color: #ffffff !important;
  background: var(--surf-sidebar-hover-bg) !important;
  background-image: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open,
html[data-bs-theme="dark"] .vq-sidebar > .nav-item > .nav-link.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-heading.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-top-level.active,
html[data-bs-theme="dark"] .vq-sidebar .nav-link[aria-expanded="true"],
html[data-bs-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link-sub.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link-button.active,
html[data-bs-theme="dark"] .vq-sidebar .dropdown-item.active,
html[data-bs-theme="dark"] .vq-sidebar .dropdown-item:active,
html[data-bs-theme="dark"] .vq-sidebar .list-group-item.active {
  color: var(--surf-sidebar-active) !important;
  background: var(--surf-sidebar-active-bg) !important;
  background-image: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link.active i,
html[data-bs-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link-sub.active i,
html[data-bs-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link-button.active i,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.active i,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open i {
  color: #ffffff !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-panel > .vq-side-link-main > i:first-child {
  color: rgba(171,185,232,.82) !important;
  background: currentColor !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-panel > .vq-side-link-main.active > i:first-child {
  color: #ffffff !important;
  background: currentColor !important;
  opacity: 1 !important;
}

html[data-bs-theme="dark"] .vq-sidebar .btn-outline-primary,
html[data-bs-theme="dark"] .vq-sidebar .btn.btn-outline-primary {
  --bs-btn-color: #abb9e8;
  --bs-btn-border-color: rgba(64,81,137,.55);
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: rgba(64,81,137,.20);
  --bs-btn-hover-border-color: rgba(64,81,137,.75);
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: rgba(64,81,137,.30);
  --bs-btn-active-border-color: rgba(64,81,137,.85);
  color: #abb9e8 !important;
  border-color: rgba(64,81,137,.55) !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-sidebar .btn-outline-primary:hover,
html[data-bs-theme="dark"] .vq-sidebar .btn-outline-primary:focus,
html[data-bs-theme="dark"] .vq-sidebar .btn-check:checked + .btn-outline-primary,
html[data-bs-theme="dark"] .vq-sidebar .btn-outline-primary.active {
  color: #ffffff !important;
  border-color: rgba(64,81,137,.75) !important;
  background: rgba(64,81,137,.20) !important;
  background-image: none !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-pin-current:hover,
html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-pin-current:focus,
html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-pin-current.pinned {
  color: #ffffff !important;
  border-color: rgba(64,81,137,.55) !important;
  background: rgba(64,81,137,.16) !important;
  background-image: none !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-sidebar::-webkit-scrollbar-track {
  background: #212529 !important;
}

html[data-bs-theme="dark"] .vq-sidebar::-webkit-scrollbar-thumb {
  background: #343a40 !important;
  border: 2px solid #212529 !important;
}

html[data-bs-theme="dark"] .vq-sidebar::-webkit-scrollbar-thumb:hover {
  background: #495057 !important;
  border: 2px solid #212529 !important;
}

html[data-bs-theme="dark"] .vq-sidebar {
  scrollbar-color: #343a40 #212529;
}

/* ---------- Dark select background fix (SurfStats 2026-07-03) ---------- */
/* Keep dark-mode select controls on the Velzon card surface (#212529).
   This is intentionally last so older dark select overrides cannot revert the
   visible select surface to #141416 or a darker pre-Velzon color. */
html[data-bs-theme="dark"] select,
html[data-bs-theme="dark"] .form-select,
html[data-bs-theme="dark"] select:not([multiple]):not([size]),
html[data-bs-theme="dark"] .form-select:disabled,
html[data-bs-theme="dark"] select:disabled,
html[data-bs-theme="dark"] select:focus,
html[data-bs-theme="dark"] .form-select:focus,
html[data-bs-theme="dark"] select:not([multiple]):not([size]):focus,
html[data-theme="dark"] select,
html[data-theme="dark"] .form-select,
html[data-theme="dark"] select:not([multiple]):not([size]),
html[data-theme="dark"] .form-select:disabled,
html[data-theme="dark"] select:disabled,
html[data-theme="dark"] select:focus,
html[data-theme="dark"] .form-select:focus,
html[data-theme="dark"] select:not([multiple]):not([size]):focus {
  background-color: #212529 !important;
  color: #ced4da !important;
  border-color: #32383e !important;
}

html[data-bs-theme="dark"] select:not([multiple]):not([size]),
html[data-bs-theme="dark"] .form-select,
html[data-theme="dark"] select:not([multiple]):not([size]),
html[data-theme="dark"] .form-select {
  --bs-form-select-bg-img: var(--slamdunk-select-arrow-light-svg) !important;
  background-image: var(--slamdunk-select-arrow-light-svg) !important;
  background-repeat: no-repeat !important;
  background-position: right .85rem center !important;
  background-size: 1rem .75rem !important;
}

html[data-bs-theme="dark"] .form-select option,
html[data-bs-theme="dark"] select option,
html[data-theme="dark"] .form-select option,
html[data-theme="dark"] select option {
  color: #212529 !important;
  background-color: #ffffff !important;
}

/* ---------- Dark select inactive-state surface fix (SurfStats 2026-07-03) ---------- */
/* Some pages and layout-level select-arrow fixes were still styling the unfocused
   select surface darker than the Velzon card color. Keep all non-active and active
   dark select controls on #212529, while preserving the white dropdown arrow. */
html[data-bs-theme="dark"] select,
html[data-bs-theme="dark"] select.form-select,
html[data-bs-theme="dark"] .form-select,
html[data-bs-theme="dark"] .form-floating > .form-select,
html[data-bs-theme="dark"] .input-group > .form-select,
html[data-bs-theme="dark"] select:not([multiple]):not([size]),
html[data-bs-theme="dark"] select:not([multiple]):not([size]):not(:focus),
html[data-bs-theme="dark"] .form-select:not(:focus),
html[data-bs-theme="dark"] .form-select:not(:disabled):not(:focus),
html[data-bs-theme="dark"] select:not(:disabled):not(:focus),
html[data-bs-theme="dark"] select:focus,
html[data-bs-theme="dark"] .form-select:focus,
html[data-bs-theme="dark"] select:disabled,
html[data-bs-theme="dark"] .form-select:disabled,
html[data-theme="dark"] select,
html[data-theme="dark"] select.form-select,
html[data-theme="dark"] .form-select,
html[data-theme="dark"] .form-floating > .form-select,
html[data-theme="dark"] .input-group > .form-select,
html[data-theme="dark"] select:not([multiple]):not([size]),
html[data-theme="dark"] select:not([multiple]):not([size]):not(:focus),
html[data-theme="dark"] .form-select:not(:focus),
html[data-theme="dark"] .form-select:not(:disabled):not(:focus),
html[data-theme="dark"] select:not(:disabled):not(:focus),
html[data-theme="dark"] select:focus,
html[data-theme="dark"] .form-select:focus,
html[data-theme="dark"] select:disabled,
html[data-theme="dark"] .form-select:disabled {
  background-color: #212529 !important;
  color: #ced4da !important;
  border-color: #32383e !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] select:not([multiple]):not([size]),
html[data-bs-theme="dark"] select.form-select,
html[data-bs-theme="dark"] .form-select,
html[data-theme="dark"] select:not([multiple]):not([size]),
html[data-theme="dark"] select.form-select,
html[data-theme="dark"] .form-select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  color-scheme: dark !important;
  padding-right: 2.75rem !important;
  --bs-form-select-bg-img: var(--slamdunk-select-arrow-light-svg) !important;
  background-image: var(--slamdunk-select-arrow-light-svg) !important;
  background-repeat: no-repeat !important;
  background-position: right .85rem center !important;
  background-size: 1rem .75rem !important;
}

html[data-bs-theme="dark"] .form-select option,
html[data-bs-theme="dark"] select option,
html[data-theme="dark"] .form-select option,
html[data-theme="dark"] select option {
  color: #212529 !important;
  background-color: #ffffff !important;
}


/* ---------- Dark active item background update (SurfStats 2026-07-04) ---------- */
/* In dark mode, use the requested Velzon danger/orange accent for active navigation
   items. This is intentionally last so previous Velzon/sidebar rules cannot override it. */
html[data-bs-theme="dark"],
html[data-theme="dark"] {
  --surf-sidebar-active-bg: var(--ss-home-accent, #2563eb);
}

html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open,
html[data-bs-theme="dark"] .vq-sidebar > .nav-item > .nav-link.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-heading.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-top-level.active,
html[data-bs-theme="dark"] .vq-sidebar .nav-link[aria-expanded="true"],
html[data-bs-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link-sub.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link-button.active,
html[data-bs-theme="dark"] .vq-sidebar .dropdown-item.active,
html[data-bs-theme="dark"] .vq-sidebar .dropdown-item:active,
html[data-bs-theme="dark"] .vq-sidebar .list-group-item.active,
html[data-bs-theme="dark"] .nav-pills .nav-link.active,
html[data-bs-theme="dark"] .list-group-item.active,
html[data-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.active,
html[data-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open,
html[data-theme="dark"] .vq-sidebar > .nav-item > .nav-link.active,
html[data-theme="dark"] .vq-sidebar .vq-nav-heading.active,
html[data-theme="dark"] .vq-sidebar .vq-top-level.active,
html[data-theme="dark"] .vq-sidebar .nav-link[aria-expanded="true"],
html[data-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link.active,
html[data-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link-sub.active,
html[data-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link-button.active,
html[data-theme="dark"] .vq-sidebar .dropdown-item.active,
html[data-theme="dark"] .vq-sidebar .dropdown-item:active,
html[data-theme="dark"] .vq-sidebar .list-group-item.active,
html[data-theme="dark"] .nav-pills .nav-link.active,
html[data-theme="dark"] .list-group-item.active {
  color: #ffffff !important;
  background: var(--ss-home-accent, #2563eb) !important;
  background-image: none !important;
  border-color: var(--ss-home-accent, #2563eb) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link.active i,
html[data-bs-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link-sub.active i,
html[data-bs-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link-button.active i,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.active i,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open i,
html[data-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link.active i,
html[data-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link-sub.active i,
html[data-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link-button.active i,
html[data-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.active i,
html[data-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open i {
  color: #ffffff !important;
}

/* ---------- Dark sidebar parent active background update (SurfStats 2026-07-04) ---------- */
/* Keep the selected child item (for example Batch Planner) on var(--ss-home-accent, #2563eb), but make the
   top-level accordion/header item (for example Main) use the page-dark surface. */
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-heading.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-top-level.active,
html[data-bs-theme="dark"] .vq-sidebar .nav-link[aria-expanded="true"],
html[data-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.active,
html[data-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open,
html[data-theme="dark"] .vq-sidebar .vq-nav-heading.active,
html[data-theme="dark"] .vq-sidebar .vq-top-level.active,
html[data-theme="dark"] .vq-sidebar .nav-link[aria-expanded="true"] {
  color: #ffffff !important;
  background: var(--ss-home-panel, #212529) !important;
  background-image: none !important;
  border-color: var(--ss-home-panel, #212529) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.active i,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open i,
html[data-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.active i,
html[data-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open i {
  color: #ffffff !important;
}

/* Re-assert child/sub-item active backgrounds after the parent override above. */
html[data-bs-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link-sub.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link-button.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-panel .vq-side-link.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-panel .vq-side-link-main.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-panel .dropdown-item.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-panel .dropdown-item:active,
html[data-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link.active,
html[data-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link-sub.active,
html[data-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link-button.active,
html[data-theme="dark"] .vq-sidebar .vq-nav-accordion-panel .vq-side-link.active,
html[data-theme="dark"] .vq-sidebar .vq-nav-accordion-panel .vq-side-link-main.active,
html[data-theme="dark"] .vq-sidebar .vq-nav-accordion-panel .dropdown-item.active,
html[data-theme="dark"] .vq-sidebar .vq-nav-accordion-panel .dropdown-item:active {
  color: #ffffff !important;
  background: var(--ss-home-accent, #2563eb) !important;
  background-image: none !important;
  border-color: var(--ss-home-accent, #2563eb) !important;
  box-shadow: none !important;
}


/* ---------- Prominent logged-in pricing access (SurfStats 2026-08-24) ---------- */
.sd-pricing-topbar-cta,
.sd-pricing-mobile-cta {
  white-space: nowrap;
  color: #ffffff !important;
  background: #F06548 !important;
  border-color: #F06548 !important;
  box-shadow: 0 .2rem .55rem rgba(0, 0, 0, .12);
}

.sd-pricing-topbar-cta:hover,
.sd-pricing-topbar-cta:focus-visible,
.sd-pricing-mobile-cta:hover,
.sd-pricing-mobile-cta:focus-visible {
  color: #ffffff !important;
  background: #F06548 !important;
  border-color: #F06548 !important;
  transform: translateY(-1px);
  filter: brightness(.94);
}

.sd-pricing-dropdown-item {
  background: var(--bs-warning-bg-subtle);
}

.sd-sidebar-pricing-cta {
  display: flex;
  align-items: center;
  gap: .7rem;
  width: 100%;
  margin: 0 0 1rem;
  padding: .72rem .78rem;
  border: 1px solid var(--bs-warning-border-subtle);
  border-radius: .7rem;
  color: var(--bs-body-color);
  background: linear-gradient(135deg, var(--bs-warning-bg-subtle), var(--bs-primary-bg-subtle));
  text-decoration: none;
  box-shadow: 0 .22rem .65rem rgba(0, 0, 0, .09);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.sd-sidebar-pricing-cta:hover,
.sd-sidebar-pricing-cta:focus-visible {
  color: var(--bs-body-color);
  border-color: var(--bs-warning);
  transform: translateY(-1px);
  box-shadow: 0 .32rem .8rem rgba(0, 0, 0, .13);
}

.sd-sidebar-pricing-cta.active {
  border-color: var(--bs-warning);
  box-shadow: 0 0 0 .14rem rgba(var(--bs-warning-rgb), .2), 0 .32rem .8rem rgba(0, 0, 0, .12);
}

.sd-sidebar-pricing-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  border-radius: .55rem;
  background: var(--bs-warning);
  color: var(--bs-dark);
}

.sd-sidebar-pricing-copy {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  line-height: 1.15;
}

.sd-sidebar-pricing-copy strong {
  font-size: .91rem;
}

.sd-sidebar-pricing-copy small {
  margin-top: .18rem;
  color: var(--bs-secondary-color);
  font-size: .74rem;
}

.sd-sidebar-pricing-arrow {
  flex: 0 0 auto;
  font-size: 1.25rem;
}

@media (max-width: 575.98px) {
  .sd-pricing-mobile-cta {
    padding-inline: .55rem;
  }
}

/* ---------- Featured Ask Surfstats sidebar entry (2026-09-09) ----------
   Make the workflow guide the obvious starting point without changing the rest of the navigation. */
.vq-sidebar .vq-side-link.vq-side-link-featured {
  position: relative;
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: .30rem 0 .55rem;
  padding: .60rem .62rem !important;
  border: 1px solid rgba(var(--bs-primary-rgb), .46) !important;
  border-radius: .80rem;
  color: var(--bs-primary-text-emphasis) !important;
  background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), .18), rgba(var(--bs-primary-rgb), .07)) !important;
  box-shadow: 0 .28rem .8rem rgba(var(--bs-primary-rgb), .12) !important;
  font-weight: 700 !important;
  overflow: hidden;
}

.vq-sidebar .vq-side-link.vq-side-link-featured::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 0 38%, rgba(255,255,255,.24) 50%, transparent 62% 100%);
  transform: translateX(-120%);
  transition: transform .55s ease;
}

.vq-sidebar .vq-side-link.vq-side-link-featured:hover::after,
.vq-sidebar .vq-side-link.vq-side-link-featured:focus::after {
  transform: translateX(120%);
}

.vq-sidebar .vq-side-link.vq-side-link-featured:hover,
.vq-sidebar .vq-side-link.vq-side-link-featured:focus {
  color: #fff !important;
  border-color: rgba(var(--bs-primary-rgb), .82) !important;
  background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), .98), rgba(var(--bs-primary-rgb), .78)) !important;
  box-shadow: 0 .42rem 1rem rgba(var(--bs-primary-rgb), .24) !important;
  transform: translateY(-1px);
}

.vq-sidebar .vq-side-link.vq-side-link-featured.active {
  color: #fff !important;
  border-color: rgba(var(--bs-primary-rgb), .95) !important;
  background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 1), rgba(var(--bs-primary-rgb), .80)) !important;
  box-shadow: 0 .45rem 1.05rem rgba(var(--bs-primary-rgb), .28) !important;
}

.vq-sidebar .vq-side-link.vq-side-link-featured .vq-featured-icon {
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .55rem;
  color: var(--bs-primary) !important;
  background: rgba(var(--bs-primary-rgb), .14) !important;
  box-shadow: inset 0 0 0 1px rgba(var(--bs-primary-rgb), .18);
}

.vq-sidebar .vq-side-link.vq-side-link-featured .vq-featured-icon i {
  color: inherit !important;
  font-size: 1rem;
}

.vq-sidebar .vq-side-link.vq-side-link-featured:hover .vq-featured-icon,
.vq-sidebar .vq-side-link.vq-side-link-featured:focus .vq-featured-icon,
.vq-sidebar .vq-side-link.vq-side-link-featured.active .vq-featured-icon {
  color: #fff !important;
  background: rgba(255,255,255,.16) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.20);
}

.vq-sidebar .vq-side-link.vq-side-link-featured .vq-featured-label {
  min-width: 0;
  flex: 1 1 auto;
}

.vq-sidebar .vq-side-link.vq-side-link-featured .vq-featured-badge {
  flex: 0 0 auto;
  padding: .16rem .38rem;
  border-radius: 999px;
  font-size: .62rem;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--bs-primary-text-emphasis);
  background: rgba(var(--bs-primary-rgb), .13);
  border: 1px solid rgba(var(--bs-primary-rgb), .26);
}

.vq-sidebar .vq-side-link.vq-side-link-featured:hover .vq-featured-badge,
.vq-sidebar .vq-side-link.vq-side-link-featured:focus .vq-featured-badge,
.vq-sidebar .vq-side-link.vq-side-link-featured.active .vq-featured-badge {
  color: #fff;
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.26);
}

html[data-bs-theme="dark"] .vq-sidebar .vq-side-link.vq-side-link-featured,
html[data-theme="dark"] .vq-sidebar .vq-side-link.vq-side-link-featured {
  color: #fff !important;
  border-color: rgba(var(--bs-success-rgb), .58) !important;
  background: linear-gradient(135deg, rgba(var(--bs-success-rgb), .46), rgba(var(--bs-success-rgb), .20)) !important;
  box-shadow: 0 .32rem .9rem rgba(0,0,0,.24), 0 0 0 1px rgba(var(--bs-success-rgb), .14) inset !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-side-link.vq-side-link-featured:hover,
html[data-bs-theme="dark"] .vq-sidebar .vq-side-link.vq-side-link-featured:focus,
html[data-bs-theme="dark"] .vq-sidebar .vq-side-link.vq-side-link-featured.active,
html[data-theme="dark"] .vq-sidebar .vq-side-link.vq-side-link-featured:hover,
html[data-theme="dark"] .vq-sidebar .vq-side-link.vq-side-link-featured:focus,
html[data-theme="dark"] .vq-sidebar .vq-side-link.vq-side-link-featured.active {
  color: #fff !important;
  border-color: rgba(var(--bs-success-rgb), .92) !important;
  background: linear-gradient(135deg, rgba(var(--bs-success-rgb), .98), rgba(var(--bs-success-rgb), .72)) !important;
  box-shadow: 0 .45rem 1rem rgba(0,0,0,.30), 0 0 1.1rem rgba(var(--bs-success-rgb), .24) !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-side-link.vq-side-link-featured .vq-featured-icon,
html[data-theme="dark"] .vq-sidebar .vq-side-link.vq-side-link-featured .vq-featured-icon {
  color: #fff !important;
  background: rgba(255,255,255,.12) !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-side-link.vq-side-link-featured .vq-featured-badge,
html[data-theme="dark"] .vq-sidebar .vq-side-link.vq-side-link-featured .vq-featured-badge {
  color: #fff !important;
  background: rgba(255,255,255,.10) !important;
  border-color: rgba(255,255,255,.18) !important;
}

/* Login and signup: keep Google buttons readable above the dark theme's link colours. */
#surfstatsSignup a.vq-google-btn,
#surfstatsSignup a.vq-google-btn:hover,
#surfstatsSignup a.vq-google-btn:focus,
#surfstatsSignup a.vq-google-btn:active,
#surfstatsSignup a.vq-google-btn:visited,
#surfstatsLogin a.vq-google-btn,
#surfstatsLogin a.vq-google-btn:hover,
#surfstatsLogin a.vq-google-btn:focus,
#surfstatsLogin a.vq-google-btn:active,
#surfstatsLogin a.vq-google-btn:visited {
  background-color: #fff !important;
  color: #000 !important;
}
#surfstatsSignup a.vq-google-btn .vq-google-btn__text,
#surfstatsLogin a.vq-google-btn .vq-google-btn__text {
  color: #000 !important;
}
