/*
  DecorVista base styles
  --------------------
  Theme: Bootstrap 5.3.8 defaults for light mode + an OpenArt-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; }
/* 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) 1fr;
  min-height: 100vh;
}
@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: 100vh;
  overflow: auto;
}

.vq-main{ min-width: 0; }
.vq-app-topbar{
  background-color: var(--bs-body-bg);
  position: sticky;
  top: 0;
  z-index: 1020;
}
.vq-app-content{ padding: 0; }


@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: .85;
  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;  */
    }

/* -------------------- OpenArt-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;
}

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);
  }
}


/* ---------- OpenArt-inspired dark mode overrides (DecorVista 2026-04-25) ----------
   These rules intentionally come after the earlier dark-mode section so the
   app feels closer to OpenArt 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;
}

/* ---------- OpenArt-style pink CTA buttons (DecorVista 2026-04-25) ----------
   OpenArt's 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;
}

/* ---------- OpenArt-style pink active tabs and card hover states (DecorVista 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;
}

/* Dark mode checked checkboxes and switches should follow DecorVista's pink/maroon accent, not Bootstrap blue. */
html[data-bs-theme="dark"] .form-check-input {
  accent-color: var(--bs-primary);
}

html[data-bs-theme="dark"] .form-check-input:checked {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
}

html[data-bs-theme="dark"] .form-switch .form-check-input:checked {
  background-color: var(--bs-primary) !important;
  border-color: rgba(255,255,255,.18) !important;
  box-shadow: 0 .5rem 1.25rem rgba(var(--bs-primary-rgb), .20) !important;
}

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

/* Dark mode sliders/ranges should also use DecorVista's pink/maroon accent, not Bootstrap blue. */
html[data-bs-theme="dark"] .form-range {
  accent-color: var(--bs-primary);
}

html[data-bs-theme="dark"] .form-range::-webkit-slider-thumb {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
  box-shadow: 0 .45rem 1.15rem rgba(var(--bs-primary-rgb), .24), 0 0 0 .08rem rgba(255,255,255,.14) !important;
}

html[data-bs-theme="dark"] .form-range::-moz-range-thumb {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
  box-shadow: 0 .45rem 1.15rem rgba(var(--bs-primary-rgb), .24), 0 0 0 .08rem rgba(255,255,255,.14) !important;
}

html[data-bs-theme="dark"] .form-range::-webkit-slider-runnable-track {
  background-color: rgba(var(--bs-primary-rgb), .24) !important;
  border: 1px solid rgba(var(--bs-primary-rgb), .20);
}

html[data-bs-theme="dark"] .form-range::-moz-range-track {
  background-color: rgba(var(--bs-primary-rgb), .24) !important;
  border: 1px solid rgba(var(--bs-primary-rgb), .20);
}

html[data-bs-theme="dark"] .form-range:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 .25rem rgba(var(--bs-primary-rgb), .20), 0 .45rem 1.15rem rgba(var(--bs-primary-rgb), .24) !important;
}

html[data-bs-theme="dark"] .form-range:focus::-moz-range-thumb {
  box-shadow: 0 0 0 .25rem rgba(var(--bs-primary-rgb), .20), 0 .45rem 1.15rem rgba(var(--bs-primary-rgb), .24) !important;
}

/* ---------- Compact All Tools dialog buttons (DecorVista 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 (DecorVista 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 OpenArt-style tabs, cards and buttons (DecorVista 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 (DecorVista 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 purple accent finish (DecorVista 2026-06-01) ----------
   Keep light mode aligned with the DecorVista/HomeDesigns-inspired purple theme.
   This final block intentionally overrides Bootstrap's blue primary accents across
   buttons, pills, tabs, active controls, cards, dropdowns, pagination, badges,
   form controls, progress bars and links. */
html[data-bs-theme="light"] {
  --bs-primary: #8b5cf6;
  --bs-primary-rgb: 139,92,246;
  --bs-primary-bg-subtle: rgba(139,92,246,.11);
  --bs-primary-border-subtle: rgba(139,92,246,.34);
  --bs-primary-text-emphasis: #6d28d9;
  --vq-primary: #8b5cf6;
  --vq-primary-2: #a855f7;
  --bs-link-color: #7c3aed;
  --bs-link-hover-color: #6d28d9;
}

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: #8b5cf6;
  --bs-btn-border-color: #8b5cf6;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #7c3aed;
  --bs-btn-hover-border-color: #7c3aed;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #6d28d9;
  --bs-btn-active-border-color: #6d28d9;
  --bs-btn-disabled-color: rgba(255,255,255,.75);
  --bs-btn-disabled-bg: rgba(139,92,246,.46);
  --bs-btn-disabled-border-color: rgba(139,92,246,.30);
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%) !important;
  border-color: rgba(139,92,246,.64) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(124,58,237,.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, #7c3aed 0%, #9333ea 100%) !important;
  border-color: rgba(124,58,237,.72) !important;
  color: #fff !important;
  box-shadow: 0 12px 30px rgba(124,58,237,.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, #6d28d9 0%, #7e22ce 100%) !important;
  border-color: rgba(109,40,217,.76) !important;
  box-shadow: 0 6px 16px rgba(124,58,237,.18) !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: #6d28d9;
  --bs-btn-border-color: rgba(139,92,246,.48);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #8b5cf6;
  --bs-btn-hover-border-color: #8b5cf6;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #6d28d9;
  --bs-btn-active-border-color: #6d28d9;
  color: #6d28d9 !important;
  background: rgba(139,92,246,.065) !important;
  border-color: rgba(139,92,246,.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: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%) !important;
  border-color: rgba(139,92,246,.66) !important;
  box-shadow: 0 10px 24px rgba(124,58,237,.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: linear-gradient(135deg, #6d28d9 0%, #7e22ce 100%) !important;
  border-color: rgba(109,40,217,.76) !important;
  box-shadow: 0 6px 16px rgba(124,58,237,.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: #5b21b6 !important;
  background: linear-gradient(135deg, rgba(139,92,246,.13) 0%, rgba(168,85,247,.10) 100%) !important;
  border-color: rgba(139,92,246,.44) !important;
  box-shadow: 0 8px 20px rgba(124,58,237,.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(139,92,246,.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: #5b21b6 !important;
  background: rgba(139,92,246,.08) !important;
  border-color: rgba(139,92,246,.34) !important;
  box-shadow: 0 8px 20px rgba(124,58,237,.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(139,92,246,.38) !important;
  box-shadow: 0 14px 32px rgba(124,58,237,.11), 0 0 0 1px rgba(139,92,246,.11) !important;
}

html[data-bs-theme="light"] .vq-all-tools-modal .vq-all-tool-card i,
html[data-bs-theme="light"] .app-sidebar .bi,
html[data-bs-theme="light"] .text-primary {
  color: #7c3aed !important;
}

html[data-bs-theme="light"] .vq-all-tools-modal .vq-all-tool-card i {
  background: rgba(139,92,246,.10) !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: #5b21b6 !important;
  background: linear-gradient(135deg, rgba(139,92,246,.10) 0%, rgba(168,85,247,.08) 100%) !important;
  border-color: rgba(139,92,246,.32) !important;
  box-shadow: 0 10px 24px rgba(124,58,237,.12) !important;
}

html[data-bs-theme="light"] .page-item.active .page-link,
html[data-bs-theme="light"] .badge.text-bg-primary,
html[data-bs-theme="light"] .progress-bar,
html[data-bs-theme="light"] .list-group-item.active {
  color: #fff !important;
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%) !important;
  border-color: rgba(139,92,246,.66) !important;
  box-shadow: 0 8px 20px rgba(124,58,237,.14) !important;
}

html[data-bs-theme="light"] .form-check-input:checked,
html[data-bs-theme="light"] .form-range::-webkit-slider-thumb,
html[data-bs-theme="light"] .form-range::-moz-range-thumb {
  background-color: #8b5cf6 !important;
  border-color: #8b5cf6 !important;
}

html[data-bs-theme="light"] .form-control:focus,
html[data-bs-theme="light"] .form-select:focus,
html[data-bs-theme="light"] .form-check-input:focus {
  border-color: rgba(139,92,246,.55) !important;
  box-shadow: 0 0 0 .25rem rgba(139,92,246,.18) !important;
}

html[data-bs-theme="light"] .border-primary {
  border-color: rgba(139,92,246,.55) !important;
}

html[data-bs-theme="light"] .bg-primary,
html[data-bs-theme="light"] .text-bg-primary {
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%) !important;
  color: #fff !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;
}

/* DecorVista 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: #111112 !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: #141416 !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 (DecorVista 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: 800;
  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;
}


/* Second-level sidebar links use a small circle instead of large Bootstrap icons. */
.vq-nav-accordion-panel .vq-side-link > .vq-subnav-dot {
  flex: 0 0 auto;
  width: .38rem;
  height: .38rem;
  border-radius: 999px;
  background: currentColor;
  opacity: .46;
  margin-left: .18rem;
}

.vq-nav-accordion-panel .vq-side-link:hover > .vq-subnav-dot,
.vq-nav-accordion-panel .vq-side-link:focus > .vq-subnav-dot,
.vq-nav-accordion-panel .vq-side-link.active > .vq-subnav-dot {
  opacity: .85;
}

.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 (DecorVista 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 (DecorVista 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 (DecorVista 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(1040px, 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(4, minmax(0, 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 (DecorVista 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);
  overflow: hidden;
}

.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;
  }
}


/* ---------- HomeDesignsAI-inspired light theme (DecorVista 2026-06-01) ----------
   Light mode now follows the public HomeDesigns.ai visual direction: clean white/off-white
   surfaces, bold black type, rounded cards, soft shadows, and vivid purple AI accents.
   Dark mode remains untouched above.
*/
html[data-bs-theme="light"] {
  color-scheme: light;
  --bs-body-bg: #fbfaf7;
  --bs-body-bg-rgb: 251,250,247;
  --bs-body-color: #111116;
  --bs-body-color-rgb: 17,17,22;
  --bs-emphasis-color: #050507;
  --bs-emphasis-color-rgb: 5,5,7;
  --bs-secondary-color: rgba(17, 17, 22, .94);
  --bs-secondary-rgb: 17,17,22;
  --bs-tertiary-color: rgba(17,17,22,.64);
  --bs-tertiary-bg: #f4f1ec;
  --bs-tertiary-bg-rgb: 244,241,236;
  --bs-secondary-bg: #f0ece6;
  --bs-secondary-bg-rgb: 240,236,230;
  --bs-border-color: rgba(52,43,34,.13);
  --bs-border-color-translucent: rgba(52,43,34,.13);
  --bs-link-color: #634bff;
  --bs-link-hover-color: #5037e6;
  --bs-primary: #684dff;
  --bs-primary-rgb: 104,77,255;
  --bs-primary-bg-subtle: rgba(104,77,255,.105);
  --bs-primary-border-subtle: rgba(104,77,255,.26);
  --bs-success: #22a667;
  --bs-success-rgb: 34,166,103;
  --bs-info: #48b7ff;
  --bs-info-rgb: 72,183,255;
  --bs-warning: #f2b84b;
  --bs-warning-rgb: 242,184,75;
  --bs-border-radius: 1rem;
  --bs-border-radius-sm: .75rem;
  --bs-border-radius-lg: 1.35rem;
  --bs-border-radius-xl: 1.65rem;
  --vq-bg: var(--bs-body-bg);
  --vq-bg-2: #f4f1ec;
  --vq-surface: #ffffff;
  --vq-surface-2: #f7f3ed;
  --vq-surface-solid: #ffffff;
  --vq-surface-elev: #ffffff;
  --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: #7a62ff;
  --vq-radius: 1.25rem;
  --vq-shadow: 0 1rem 2.75rem rgba(48,38,25,.10);
}

html[data-bs-theme="light"],
html[data-bs-theme="light"] body,
html[data-bs-theme="light"] body.vq-body {
  background:
    radial-gradient(900px 520px at 85% -8%, rgba(104,77,255,.105), transparent 56%),
    radial-gradient(720px 430px at 8% 5%, rgba(34,166,103,.10), transparent 52%),
    linear-gradient(180deg, #ffffff 0%, #fbfaf7 48%, #f4f1ec 100%);
  background-attachment: fixed;
  color: var(--bs-body-color);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[data-bs-theme="light"] .text-secondary,
html[data-bs-theme="light"] .small.text-secondary,
html[data-bs-theme="light"] .text-body-secondary,
html[data-bs-theme="light"] .small.text-body-secondary,
html[data-bs-theme="light"] .link-secondary {
  color: rgba(17,17,22,.78) !important;
}

html[data-bs-theme="light"] .vq-nav,
html[data-bs-theme="light"] .navbar.vq-nav,
html[data-bs-theme="light"] .vq-app-topbar,
html[data-bs-theme="light"] footer {
  background: rgba(255,255,255,.86) !important;
  border-color: rgba(52,43,34,.12) !important;
  box-shadow: 0 .75rem 2rem rgba(48,38,25,.055);
  backdrop-filter: blur(18px);
}

html[data-bs-theme="light"] .navbar,
html[data-bs-theme="light"] .nav-link,
html[data-bs-theme="light"] .navbar-brand,
html[data-bs-theme="light"] .dropdown-item {
  color: rgba(17,17,22,.78);
  font-weight: 600;
}

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

html[data-bs-theme="light"] .vq-app-shell {
  background: transparent;
}

html[data-bs-theme="light"] .vq-sidebar {
  background:
    linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(248,245,239,.96) 100%) !important;
  border-color: rgba(52,43,34,.13) !important;
  box-shadow: inset -1px 0 0 rgba(255,255,255,.66), .6rem 0 2.2rem rgba(48,38,25,.045);
}

html[data-bs-theme="light"] .vq-sidebar .fw-semibold,
html[data-bs-theme="light"] .vq-app-topbar-title,
html[data-bs-theme="light"] h1,
html[data-bs-theme="light"] h2,
html[data-bs-theme="light"] h3,
html[data-bs-theme="light"] h4,
html[data-bs-theme="light"] h5,
html[data-bs-theme="light"] h6,
html[data-bs-theme="light"] .display-1,
html[data-bs-theme="light"] .display-2,
html[data-bs-theme="light"] .display-3,
html[data-bs-theme="light"] .display-4,
html[data-bs-theme="light"] .display-5,
html[data-bs-theme="light"] .display-6 {
  color: #050507;
  letter-spacing: -.025em;
}

html[data-bs-theme="light"] .vq-logo,
html[data-bs-theme="light"] .navbar-brand span:last-child {
  color: #050507;
}

html[data-bs-theme="light"] .vq-glass,
html[data-bs-theme="light"] .vq-card,
html[data-bs-theme="light"] .card,
html[data-bs-theme="light"] .modal-content,
html[data-bs-theme="light"] .dropdown-menu,
html[data-bs-theme="light"] .offcanvas,
html[data-bs-theme="light"] .list-group-item,
html[data-bs-theme="light"] .bg-body,
html[data-bs-theme="light"] .bg-body-tertiary,
html[data-bs-theme="light"] .bg-light,
html[data-bs-theme="light"] .dv-decision-card,
html[data-bs-theme="light"] .dv-solution-card,
html[data-bs-theme="light"] .dv-role-card,
html[data-bs-theme="light"] .dv-step-card,
html[data-bs-theme="light"] .dv-proof-card {
  background: rgba(255,255,255,.92) !important;
  border-color: rgba(52,43,34,.13) !important;
  box-shadow: 0 1rem 2.7rem rgba(48,38,25,.085);
}

html[data-bs-theme="light"] .vq-card,
html[data-bs-theme="light"] .card,
html[data-bs-theme="light"] .modal-content,
html[data-bs-theme="light"] .dropdown-menu,
html[data-bs-theme="light"] .dv-decision-card,
html[data-bs-theme="light"] .dv-solution-card,
html[data-bs-theme="light"] .dv-role-card,
html[data-bs-theme="light"] .dv-step-card,
html[data-bs-theme="light"] .dv-proof-card {
  border-radius: 1.35rem;
}

html[data-bs-theme="light"] .dropdown-menu {
  padding: .55rem;
}

html[data-bs-theme="light"] .dropdown-item {
  border-radius: .82rem;
}

html[data-bs-theme="light"] .dropdown-item:hover,
html[data-bs-theme="light"] .dropdown-item:focus {
  background: rgba(104,77,255,.08);
}

html[data-bs-theme="light"] .vq-icon,
html[data-bs-theme="light"] .dv-icon,
html[data-bs-theme="light"] .vq-pill,
html[data-bs-theme="light"] .vq-pill-sm,
html[data-bs-theme="light"] .vq-badge-soft,
html[data-bs-theme="light"] .input-group-text,
html[data-bs-theme="light"] .dv-flow-chip,
html[data-bs-theme="light"] .dv-public-pill,
html[data-bs-theme="light"] .badge.text-bg-light {
  background: rgba(104,77,255,.075) !important;
  border-color: rgba(104,77,255,.17) !important;
  color: #3b2fc4 !important;
}

html[data-bs-theme="light"] .badge.text-bg-success {
  background: rgba(34,166,103,.12) !important;
  border: 1px solid rgba(34,166,103,.24) !important;
  color: #12683f !important;
}

html[data-bs-theme="light"] .badge.text-bg-primary,
html[data-bs-theme="light"] .text-bg-primary {
  background: #684dff !important;
  color: #fff !important;
}

html[data-bs-theme="light"] .form-control,
html[data-bs-theme="light"] .form-select,
html[data-bs-theme="light"] textarea,
html[data-bs-theme="light"] .form-control:disabled,
html[data-bs-theme="light"] .form-select:disabled {
  background-color: rgba(255,255,255,.96);
  border-color: rgba(52,43,34,.16);
  color: #111116;
  border-radius: 1rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}

html[data-bs-theme="light"] .form-control::placeholder,
html[data-bs-theme="light"] .form-select::placeholder,
html[data-bs-theme="light"] textarea::placeholder {
  color: rgba(17,17,22,.42);
  opacity: 1;
}

html[data-bs-theme="light"] .form-control:focus,
html[data-bs-theme="light"] .form-select:focus,
html[data-bs-theme="light"] textarea:focus {
  border-color: rgba(104,77,255,.48);
  box-shadow: 0 0 0 .22rem rgba(104,77,255,.14);
}

html[data-bs-theme="light"] .btn {
  border-radius: .95rem;
  font-weight: 700;
}

html[data-bs-theme="light"] .btn-primary,
html[data-bs-theme="light"] .btn.btn-primary {
  background: linear-gradient(135deg, #5d43f5 0%, #7b61ff 100%);
  border-color: rgba(104,77,255,.72);
  color: #fff;
  box-shadow: 0 .85rem 1.85rem rgba(104,77,255,.27), inset 0 1px 0 rgba(255,255,255,.22);
}

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 {
  background: linear-gradient(135deg, #5339df 0%, #6f55ff 100%);
  border-color: rgba(83,57,223,.84);
  color: #fff;
  box-shadow: 0 1rem 2.2rem rgba(104,77,255,.32), inset 0 1px 0 rgba(255,255,255,.22);
  transform: translateY(-1px);
}

html[data-bs-theme="light"] .btn-outline-secondary,
html[data-bs-theme="light"] .btn-outline-light,
html[data-bs-theme="light"] .btn-outline-primary {
  background: rgba(255,255,255,.82);
  border-color: rgba(52,43,34,.16);
  color: #16161d;
  box-shadow: 0 .55rem 1.2rem rgba(48,38,25,.055);
}

html[data-bs-theme="light"] .btn-outline-secondary:hover,
html[data-bs-theme="light"] .btn-outline-secondary: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-outline-primary:hover,
html[data-bs-theme="light"] .btn-outline-primary:focus {
  background: rgba(104,77,255,.08);
  border-color: rgba(104,77,255,.32);
  color: #3b2fc4;
}

html[data-bs-theme="light"] .vq-sidebar-search {
  background: rgba(255,255,255,.88);
  border-color: rgba(52,43,34,.13);
}

html[data-bs-theme="light"] .vq-nav-accordion-item,
html[data-bs-theme="light"] .vq-sidebar-smart-section,
html[data-bs-theme="light"] .vq-sidebar-pin-current {
  background: rgba(255,255,255,.70);
  border-color: rgba(52,43,34,.105);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}

html[data-bs-theme="light"] .vq-nav-accordion-toggle:hover,
html[data-bs-theme="light"] .vq-nav-accordion-toggle:focus,
html[data-bs-theme="light"] .vq-nav-accordion-toggle.active,
html[data-bs-theme="light"] .vq-navgroup .vq-side-link:hover,
html[data-bs-theme="light"] .vq-navgroup .vq-side-link:focus {
  background: rgba(104,77,255,.075);
  border-color: rgba(104,77,255,.18);
  color: #4b35dc;
}

html[data-bs-theme="light"] .vq-navgroup .vq-side-link.active {
  background: linear-gradient(135deg, rgba(104,77,255,.15), rgba(34,166,103,.08));
  border-color: rgba(104,77,255,.26);
  color: #3123ba;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.76), 0 .65rem 1.4rem rgba(104,77,255,.11);
}

html[data-bs-theme="light"] .vq-navgroup .vq-side-link i,
html[data-bs-theme="light"] .vq-nav-accordion-toggle > span > i,
html[data-bs-theme="light"] .vq-nav-accordion-toggle > .bi-chevron-down {
  color: rgba(104,77,255,.72);
}

html[data-bs-theme="light"] .table,
html[data-bs-theme="light"] .table > :not(caption) > * > * {
  --bs-table-bg: rgba(255,255,255,.66);
  --bs-table-color: #111116;
  --bs-table-border-color: rgba(52,43,34,.12);
}

html[data-bs-theme="light"] .dv-public-hero {
  background:
    radial-gradient(820px 440px at 88% 4%, rgba(104,77,255,.15), transparent 55%),
    radial-gradient(700px 380px at 8% 16%, rgba(34,166,103,.11), transparent 52%),
    linear-gradient(180deg, #ffffff 0%, #fbfaf7 72%, #f5f1eb 100%) !important;
}

html[data-bs-theme="light"] .dv-photo-box,
html[data-bs-theme="light"] .dv-ba-panel {
  background: linear-gradient(135deg, rgba(104,77,255,.08), rgba(34,166,103,.065)), #f7f3ed !important;
  border-color: rgba(52,43,34,.13) !important;
}

html[data-bs-theme="light"] .dv-ba-panel.reimagined {
  background: linear-gradient(135deg, rgba(104,77,255,.17), rgba(34,166,103,.11)), #f7f3ed !important;
}

html[data-bs-theme="light"] .dv-canvas-top {
  background: rgba(247,243,237,.95) !important;
  border-color: rgba(52,43,34,.12) !important;
}

html[data-bs-theme="light"] .dv-solution-card:hover,
html[data-bs-theme="light"] .dv-role-card:hover,
html[data-bs-theme="light"] .dv-step-card:hover,
html[data-bs-theme="light"] .dv-proof-card:hover {
  transform: translateY(-3px);
  border-color: rgba(104,77,255,.30) !important;
  box-shadow: 0 1.25rem 3rem rgba(48,38,25,.12);
}

html[data-bs-theme="light"] .bg-primary {
  background: linear-gradient(135deg, #5d43f5 0%, #7b61ff 100%) !important;
}

html[data-bs-theme="light"] .alert,
html[data-bs-theme="light"] .accordion-item,
html[data-bs-theme="light"] .accordion-button {
  border-color: rgba(52,43,34,.13);
  border-radius: 1.1rem;
}

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

html[data-bs-theme="light"] ::-webkit-scrollbar-track {
  background: rgba(52,43,34,.035);
}

html[data-bs-theme="light"] ::-webkit-scrollbar-thumb {
  background: rgba(104,77,255,.30);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

html[data-bs-theme="light"] ::-webkit-scrollbar-thumb:hover {
  background: rgba(104,77,255,.45);
  border: 2px solid transparent;
  background-clip: padding-box;
}

/* ---------- Vuexy semi-dark inspired light mode for AstruHome (2026-06-26) ----------
   Recreates the Vuexy semi-dark visual direction without importing Pixinvent assets:
   pale app canvas, white elevated cards/topbar, and a semi-dark purple/navy sidebar.
   Dark mode remains controlled by the existing dark-mode rules above.
*/
html[data-bs-theme="light"] {
  color-scheme: light;
  --bs-body-bg: #f8f7fa;
  --bs-body-bg-rgb: 248,247,250;
  --bs-body-color: #5d596c;
  --bs-body-color-rgb: 93,89,108;
  --bs-emphasis-color: #4b465c;
  --bs-emphasis-color-rgb: 75,70,92;
  --bs-secondary-color: #6f6b7d;
  --bs-secondary-rgb: 111,107,125;
  --bs-tertiary-color: #a8aaae;
  --bs-tertiary-bg: #f3f2f5;
  --bs-tertiary-bg-rgb: 243,242,245;
  --bs-secondary-bg: #eeeef2;
  --bs-secondary-bg-rgb: 238,238,242;
  --bs-border-color: #dbdade;
  --bs-border-color-translucent: rgba(75,70,92,.14);
  --bs-link-color: #7367f0;
  --bs-link-hover-color: #685dd8;
  --bs-primary: #7367f0;
  --bs-primary-rgb: 115,103,240;
  --bs-primary-bg-subtle: rgba(115,103,240,.12);
  --bs-primary-border-subtle: rgba(115,103,240,.28);
  --bs-success: #28c76f;
  --bs-success-rgb: 40,199,111;
  --bs-info: #00cfe8;
  --bs-info-rgb: 0,207,232;
  --bs-warning: #ff9f43;
  --bs-warning-rgb: 255,159,67;
  --bs-danger: #ea5455;
  --bs-danger-rgb: 234,84,85;
  --bs-border-radius: .55rem;
  --bs-border-radius-sm: .38rem;
  --bs-border-radius-lg: .75rem;
  --bs-border-radius-xl: 1rem;
  --vq-bg: #f8f7fa;
  --vq-bg-2: #f3f2f5;
  --vq-surface: #ffffff;
  --vq-surface-2: #f8f7fa;
  --vq-surface-solid: #ffffff;
  --vq-surface-elev: #ffffff;
  --vq-text: #5d596c;
  --vq-muted: #6f6b7d;
  --vq-border: rgba(75,70,92,.14);
  --vq-primary: #7367f0;
  --vq-primary-2: #8f85f3;
  --vq-radius: .75rem;
  --vq-shadow: 0 .25rem 1.125rem rgba(75,70,92,.10);
  --vq-menu-bg: #2f3349;
  --vq-menu-bg-2: #25293c;
  --vq-menu-text: rgba(255,255,255,.76);
  --vq-menu-muted: rgba(255,255,255,.56);
  --vq-menu-border: rgba(255,255,255,.08);
}

html[data-bs-theme="light"],
html[data-bs-theme="light"] body,
html[data-bs-theme="light"] body.vq-body {
  background: #f8f7fa !important;
  color: #5d596c;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[data-bs-theme="light"] .text-secondary,
html[data-bs-theme="light"] .small.text-secondary,
html[data-bs-theme="light"] .text-body-secondary,
html[data-bs-theme="light"] .small.text-body-secondary,
html[data-bs-theme="light"] .link-secondary {
  color: #6f6b7d !important;
}

html[data-bs-theme="light"] h1,
html[data-bs-theme="light"] h2,
html[data-bs-theme="light"] h3,
html[data-bs-theme="light"] h4,
html[data-bs-theme="light"] h5,
html[data-bs-theme="light"] h6,
html[data-bs-theme="light"] .display-1,
html[data-bs-theme="light"] .display-2,
html[data-bs-theme="light"] .display-3,
html[data-bs-theme="light"] .display-4,
html[data-bs-theme="light"] .display-5,
html[data-bs-theme="light"] .display-6,
html[data-bs-theme="light"] .vq-app-topbar-title {
  color: #4b465c;
  letter-spacing: -.018em;
}

html[data-bs-theme="light"] .vq-app-shell {
  background: #f8f7fa !important;
}

html[data-bs-theme="light"] .vq-sidebar {
  background: linear-gradient(180deg, var(--vq-menu-bg) 0%, var(--vq-menu-bg-2) 100%) !important;
  border-right: 0 !important;
  box-shadow: 0 .125rem .75rem rgba(47,51,73,.22);
  color: var(--vq-menu-text);
}

html[data-bs-theme="light"] .vq-sidebar .fw-semibold,
html[data-bs-theme="light"] .vq-sidebar h1,
html[data-bs-theme="light"] .vq-sidebar h2,
html[data-bs-theme="light"] .vq-sidebar h3,
html[data-bs-theme="light"] .vq-sidebar h4,
html[data-bs-theme="light"] .vq-sidebar h5,
html[data-bs-theme="light"] .vq-sidebar h6 {
  color: #fff;
}

html[data-bs-theme="light"] .vq-sidebar .text-secondary,
html[data-bs-theme="light"] .vq-sidebar .small,
html[data-bs-theme="light"] .vq-sidebar .small.text-secondary {
  color: var(--vq-menu-muted) !important;
}

html[data-bs-theme="light"] .vq-sidebar-mobile-head {
  background: var(--vq-menu-bg) !important;
  border-color: var(--vq-menu-border) !important;
  color: #fff;
}

html[data-bs-theme="light"] .vq-sidebar-search-wrap > i {
  color: rgba(255,255,255,.54);
}

html[data-bs-theme="light"] .vq-sidebar-search,
html[data-bs-theme="light"] .vq-sidebar-search.form-control {
  background: rgba(255,255,255,.075) !important;
  border-color: rgba(255,255,255,.10) !important;
  color: #fff !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .vq-sidebar-search::placeholder {
  color: rgba(255,255,255,.52) !important;
}

html[data-bs-theme="light"] .vq-sidebar-search:focus {
  background: rgba(255,255,255,.105) !important;
  border-color: rgba(115,103,240,.75) !important;
  box-shadow: 0 0 0 .18rem rgba(115,103,240,.20) !important;
}

html[data-bs-theme="light"] .vq-nav-accordion-item,
html[data-bs-theme="light"] .vq-sidebar-smart-section,
html[data-bs-theme="light"] .vq-sidebar-pin-current {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .vq-nav-accordion-toggle,
html[data-bs-theme="light"] .vq-navgroup .vq-side-link,
html[data-bs-theme="light"] .vq-sidebar-mini-link,
html[data-bs-theme="light"] .vq-sidebar-pin-current {
  color: var(--vq-menu-text) !important;
}

html[data-bs-theme="light"] .vq-nav-accordion-toggle > span > i,
html[data-bs-theme="light"] .vq-nav-accordion-toggle > .bi-chevron-down,
html[data-bs-theme="light"] .vq-navgroup .vq-side-link i,
html[data-bs-theme="light"] .vq-sidebar-mini-link i {
  color: rgba(255,255,255,.58) !important;
}

html[data-bs-theme="light"] .vq-nav-accordion-toggle:hover,
html[data-bs-theme="light"] .vq-nav-accordion-toggle:focus,
html[data-bs-theme="light"] .vq-nav-accordion-toggle.active,
html[data-bs-theme="light"] .vq-navgroup .vq-side-link:hover,
html[data-bs-theme="light"] .vq-navgroup .vq-side-link:focus,
html[data-bs-theme="light"] .vq-sidebar-mini-link:hover,
html[data-bs-theme="light"] .vq-sidebar-mini-link:focus {
  background: rgba(255,255,255,.075) !important;
  border-color: transparent !important;
  color: #fff !important;
}

html[data-bs-theme="light"] .vq-navgroup .vq-side-link.active,
html[data-bs-theme="light"] .vq-nav-accordion-toggle.active {
  background: linear-gradient(135deg, #7367f0 0%, #8f85f3 100%) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 .25rem .85rem rgba(115,103,240,.36);
}

html[data-bs-theme="light"] .vq-navgroup .vq-side-link.active .vq-subnav-dot,
html[data-bs-theme="light"] .vq-navgroup .vq-side-link.active i,
html[data-bs-theme="light"] .vq-nav-accordion-toggle.active > span > i,
html[data-bs-theme="light"] .vq-nav-accordion-toggle.active > .bi-chevron-down,
html[data-bs-theme="light"] .vq-nav-accordion-toggle:hover > span > i,
html[data-bs-theme="light"] .vq-nav-accordion-toggle:focus > span > i,
html[data-bs-theme="light"] .vq-navgroup .vq-side-link:hover i,
html[data-bs-theme="light"] .vq-navgroup .vq-side-link:focus i {
  color: #fff !important;
}

html[data-bs-theme="light"] .vq-nav-accordion-panel .vq-side-link > .vq-subnav-dot {
  background: currentColor;
  opacity: .48;
}

html[data-bs-theme="light"] .vq-nav-accordion-panel .vq-side-link.active > .vq-subnav-dot,
html[data-bs-theme="light"] .vq-nav-accordion-panel .vq-side-link:hover > .vq-subnav-dot,
html[data-bs-theme="light"] .vq-nav-accordion-panel .vq-side-link:focus > .vq-subnav-dot {
  opacity: 1;
}

html[data-bs-theme="light"] .vq-app-topbar,
html[data-bs-theme="light"] .vq-nav,
html[data-bs-theme="light"] .navbar.vq-nav,
html[data-bs-theme="light"] footer {
  background: rgba(255,255,255,.96) !important;
  border-color: rgba(75,70,92,.12) !important;
  box-shadow: 0 .125rem .875rem rgba(75,70,92,.075) !important;
  backdrop-filter: blur(10px);
}

html[data-bs-theme="light"] .navbar,
html[data-bs-theme="light"] .nav-link,
html[data-bs-theme="light"] .navbar-brand,
html[data-bs-theme="light"] .dropdown-item {
  color: #5d596c;
  font-weight: 500;
}

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

html[data-bs-theme="light"] .vq-glass,
html[data-bs-theme="light"] .vq-card,
html[data-bs-theme="light"] .card,
html[data-bs-theme="light"] .modal-content,
html[data-bs-theme="light"] .dropdown-menu,
html[data-bs-theme="light"] .offcanvas,
html[data-bs-theme="light"] .list-group-item,
html[data-bs-theme="light"] .bg-body,
html[data-bs-theme="light"] .bg-body-tertiary,
html[data-bs-theme="light"] .bg-light,
html[data-bs-theme="light"] .dv-decision-card,
html[data-bs-theme="light"] .dv-solution-card,
html[data-bs-theme="light"] .dv-role-card,
html[data-bs-theme="light"] .dv-step-card,
html[data-bs-theme="light"] .dv-proof-card,
html[data-bs-theme="light"] .videoai2-card,
html[data-bs-theme="light"] .title-sug-card,
html[data-bs-theme="light"] .thumb-sug-card {
  background: #ffffff !important;
  border-color: rgba(75,70,92,.14) !important;
  box-shadow: 0 .25rem 1.125rem rgba(75,70,92,.10) !important;
}

html[data-bs-theme="light"] .vq-card,
html[data-bs-theme="light"] .card,
html[data-bs-theme="light"] .modal-content,
html[data-bs-theme="light"] .dropdown-menu,
html[data-bs-theme="light"] .offcanvas,
html[data-bs-theme="light"] .dv-decision-card,
html[data-bs-theme="light"] .dv-solution-card,
html[data-bs-theme="light"] .dv-role-card,
html[data-bs-theme="light"] .dv-step-card,
html[data-bs-theme="light"] .dv-proof-card {
  border-radius: .75rem;
}

html[data-bs-theme="light"] .dropdown-menu {
  padding: .45rem;
}

html[data-bs-theme="light"] .dropdown-item {
  border-radius: .45rem;
}

html[data-bs-theme="light"] .dropdown-item:hover,
html[data-bs-theme="light"] .dropdown-item:focus {
  background: rgba(115,103,240,.08) !important;
}

html[data-bs-theme="light"] .vq-icon,
html[data-bs-theme="light"] .dv-icon,
html[data-bs-theme="light"] .vq-pill,
html[data-bs-theme="light"] .vq-pill-sm,
html[data-bs-theme="light"] .vq-badge-soft,
html[data-bs-theme="light"] .input-group-text,
html[data-bs-theme="light"] .dv-flow-chip,
html[data-bs-theme="light"] .dv-public-pill,
html[data-bs-theme="light"] .badge.text-bg-light {
  background: rgba(115,103,240,.12) !important;
  border-color: rgba(115,103,240,.18) !important;
  color: #7367f0 !important;
}

html[data-bs-theme="light"] .badge.text-bg-success {
  background: rgba(40,199,111,.14) !important;
  border: 1px solid rgba(40,199,111,.24) !important;
  color: #1e8e52 !important;
}

html[data-bs-theme="light"] .badge.text-bg-primary,
html[data-bs-theme="light"] .text-bg-primary,
html[data-bs-theme="light"] .progress-bar,
html[data-bs-theme="light"] .page-item.active .page-link,
html[data-bs-theme="light"] .list-group-item.active {
  background: #7367f0 !important;
  border-color: #7367f0 !important;
  color: #fff !important;
}

html[data-bs-theme="light"] .form-control,
html[data-bs-theme="light"] .form-select,
html[data-bs-theme="light"] textarea,
html[data-bs-theme="light"] .form-control:disabled,
html[data-bs-theme="light"] .form-select:disabled {
  background-color: #fff !important;
  border-color: #dbdade !important;
  color: #5d596c !important;
  border-radius: .5rem !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .form-control::placeholder,
html[data-bs-theme="light"] .form-select::placeholder,
html[data-bs-theme="light"] textarea::placeholder {
  color: #a8aaae !important;
  opacity: 1;
}

html[data-bs-theme="light"] .form-control:focus,
html[data-bs-theme="light"] .form-select:focus,
html[data-bs-theme="light"] textarea:focus,
html[data-bs-theme="light"] .form-check-input:focus {
  border-color: #7367f0 !important;
  box-shadow: 0 0 0 .18rem rgba(115,103,240,.16) !important;
}

html[data-bs-theme="light"] .btn {
  border-radius: .5rem;
  font-weight: 600;
}

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 {
  background: #7367f0 !important;
  border-color: #7367f0 !important;
  color: #fff !important;
  box-shadow: 0 .125rem .375rem rgba(115,103,240,.35) !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 {
  background: #685dd8 !important;
  border-color: #685dd8 !important;
  color: #fff !important;
  box-shadow: 0 .25rem .75rem rgba(115,103,240,.42) !important;
  transform: translateY(-1px);
}

html[data-bs-theme="light"] .btn-outline-secondary,
html[data-bs-theme="light"] .btn-outline-light,
html[data-bs-theme="light"] .btn-outline-primary {
  background: #fff !important;
  border-color: #dbdade !important;
  color: #5d596c !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .btn-outline-secondary:hover,
html[data-bs-theme="light"] .btn-outline-secondary: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-outline-primary:hover,
html[data-bs-theme="light"] .btn-outline-primary:focus {
  background: rgba(115,103,240,.08) !important;
  border-color: rgba(115,103,240,.38) !important;
  color: #7367f0 !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"] .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 {
  background: rgba(115,103,240,.12) !important;
  border-color: rgba(115,103,240,.24) !important;
  color: #7367f0 !important;
}

html[data-bs-theme="light"] .table,
html[data-bs-theme="light"] .table > :not(caption) > * > * {
  --bs-table-bg: #fff;
  --bs-table-color: #5d596c;
  --bs-table-border-color: #dbdade;
}

html[data-bs-theme="light"] .alert,
html[data-bs-theme="light"] .accordion-item,
html[data-bs-theme="light"] .accordion-button {
  border-color: #dbdade !important;
  border-radius: .75rem;
}

html[data-bs-theme="light"] .dv-public-hero {
  background: linear-gradient(180deg, #fff 0%, #f8f7fa 100%) !important;
}

html[data-bs-theme="light"] .dv-photo-box,
html[data-bs-theme="light"] .dv-ba-panel,
html[data-bs-theme="light"] .dv-canvas-top {
  background: #fff !important;
  border-color: rgba(75,70,92,.14) !important;
}

html[data-bs-theme="light"] .dv-ba-panel.reimagined {
  background: linear-gradient(135deg, rgba(115,103,240,.12), rgba(0,207,232,.08)), #fff !important;
}

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

html[data-bs-theme="light"] ::-webkit-scrollbar-track {
  background: rgba(75,70,92,.06);
}

html[data-bs-theme="light"] ::-webkit-scrollbar-thumb {
  background: rgba(75,70,92,.25);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

html[data-bs-theme="light"] ::-webkit-scrollbar-thumb:hover {
  background: rgba(75,70,92,.38);
  border: 2px solid transparent;
  background-clip: padding-box;
}


/* ---------- AstruHome light-mode Vuexy semi-dark sidebar override (2026-06-29) ----------
   Applies only while Bootstrap light mode is active. Dark mode sidebar colours remain untouched.
   Based on the Vuexy semi-dark vertical menu visual direction: navy menu surface,
   muted light menu labels, subtle hover states, and purple active items.
*/
html[data-bs-theme="light"] {
  --ah-vuexy-sidebar-bg: #2f3349;
  --ah-vuexy-sidebar-bg-deep: #25293c;
  --ah-vuexy-sidebar-text: #cfd3ec;
  --ah-vuexy-sidebar-text-muted: #a5a3b6;
  --ah-vuexy-sidebar-icon: rgba(207, 211, 236, .72);
  --ah-vuexy-sidebar-hover-bg: rgba(255, 255, 255, .075);
  --ah-vuexy-sidebar-active: #7367f0;
  --ah-vuexy-sidebar-active-2: #8f85f3;
  --ah-vuexy-sidebar-border: rgba(255, 255, 255, .08);
}

html[data-bs-theme="light"] .vq-sidebar {
  background: linear-gradient(180deg, var(--ah-vuexy-sidebar-bg) 0%, var(--ah-vuexy-sidebar-bg-deep) 100%) !important;
  border-right-color: transparent !important;
  color: var(--ah-vuexy-sidebar-text) !important;
  box-shadow: 0 .125rem .75rem rgba(47, 51, 73, .26) !important;
}

html[data-bs-theme="light"] .vq-sidebar-mobile-head {
  background: var(--ah-vuexy-sidebar-bg) !important;
  border-color: var(--ah-vuexy-sidebar-border) !important;
  color: #fff !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-logo,
html[data-bs-theme="light"] .vq-sidebar .vq-logo span,
html[data-bs-theme="light"] .vq-sidebar .fw-semibold,
html[data-bs-theme="light"] .vq-sidebar h1,
html[data-bs-theme="light"] .vq-sidebar h2,
html[data-bs-theme="light"] .vq-sidebar h3,
html[data-bs-theme="light"] .vq-sidebar h4,
html[data-bs-theme="light"] .vq-sidebar h5,
html[data-bs-theme="light"] .vq-sidebar h6 {
  color: #fff !important;
}

html[data-bs-theme="light"] .vq-sidebar .text-secondary,
html[data-bs-theme="light"] .vq-sidebar .small,
html[data-bs-theme="light"] .vq-sidebar .small.text-secondary,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-smart-title,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-empty {
  color: var(--ah-vuexy-sidebar-text-muted) !important;
}

html[data-bs-theme="light"] .vq-sidebar-search-wrap > i {
  color: rgba(207, 211, 236, .62) !important;
}

html[data-bs-theme="light"] .vq-sidebar-search,
html[data-bs-theme="light"] .vq-sidebar-search.form-control {
  background: rgba(255, 255, 255, .075) !important;
  border-color: var(--ah-vuexy-sidebar-border) !important;
  color: #fff !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .vq-sidebar-search::placeholder {
  color: rgba(207, 211, 236, .52) !important;
}

html[data-bs-theme="light"] .vq-sidebar-search:focus {
  background: rgba(255, 255, 255, .105) !important;
  border-color: rgba(115, 103, 240, .72) !important;
  box-shadow: 0 0 0 .18rem rgba(115, 103, 240, .22) !important;
}

html[data-bs-theme="light"] .vq-sidebar-smart-section,
html[data-bs-theme="light"] .vq-sidebar-pin-current,
html[data-bs-theme="light"] .vq-nav-accordion-item {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .vq-sidebar-pin-current,
html[data-bs-theme="light"] .vq-sidebar-mini-link,
html[data-bs-theme="light"] .vq-nav-accordion-toggle,
html[data-bs-theme="light"] .vq-navgroup .vq-side-link,
html[data-bs-theme="light"] .vq-navgroup .vq-side-link-button,
html[data-bs-theme="light"] .vq-navgroup .vq-side-link-sub {
  color: var(--ah-vuexy-sidebar-text) !important;
  border-color: transparent !important;
  opacity: 1 !important;
}

html[data-bs-theme="light"] .vq-sidebar-pin-current i,
html[data-bs-theme="light"] .vq-sidebar-mini-link i,
html[data-bs-theme="light"] .vq-nav-accordion-toggle > span > i,
html[data-bs-theme="light"] .vq-nav-accordion-toggle > .bi-chevron-down,
html[data-bs-theme="light"] .vq-navgroup .vq-side-link i {
  color: var(--ah-vuexy-sidebar-icon) !important;
}

html[data-bs-theme="light"] .vq-sidebar-pin-current:hover,
html[data-bs-theme="light"] .vq-sidebar-pin-current:focus,
html[data-bs-theme="light"] .vq-sidebar-mini-link:hover,
html[data-bs-theme="light"] .vq-sidebar-mini-link:focus,
html[data-bs-theme="light"] .vq-nav-accordion-toggle:hover,
html[data-bs-theme="light"] .vq-nav-accordion-toggle:focus,
html[data-bs-theme="light"] .vq-navgroup .vq-side-link:hover,
html[data-bs-theme="light"] .vq-navgroup .vq-side-link:focus {
  background: var(--ah-vuexy-sidebar-hover-bg) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .vq-sidebar-pin-current:hover i,
html[data-bs-theme="light"] .vq-sidebar-pin-current:focus i,
html[data-bs-theme="light"] .vq-sidebar-mini-link:hover i,
html[data-bs-theme="light"] .vq-sidebar-mini-link:focus i,
html[data-bs-theme="light"] .vq-nav-accordion-toggle:hover > span > i,
html[data-bs-theme="light"] .vq-nav-accordion-toggle:focus > span > i,
html[data-bs-theme="light"] .vq-nav-accordion-toggle:hover > .bi-chevron-down,
html[data-bs-theme="light"] .vq-nav-accordion-toggle:focus > .bi-chevron-down,
html[data-bs-theme="light"] .vq-navgroup .vq-side-link:hover i,
html[data-bs-theme="light"] .vq-navgroup .vq-side-link:focus i {
  color: #fff !important;
}

html[data-bs-theme="light"] .vq-sidebar-pin-current.pinned,
html[data-bs-theme="light"] .vq-nav-accordion-toggle.active,
html[data-bs-theme="light"] .vq-navgroup .vq-side-link.active {
  background: linear-gradient(72.47deg, var(--ah-vuexy-sidebar-active) 22.16%, var(--ah-vuexy-sidebar-active-2) 76.47%) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 .25rem .85rem rgba(115, 103, 240, .48) !important;
}

html[data-bs-theme="light"] .vq-sidebar-pin-current.pinned i,
html[data-bs-theme="light"] .vq-nav-accordion-toggle.active > span > i,
html[data-bs-theme="light"] .vq-nav-accordion-toggle.active > .bi-chevron-down,
html[data-bs-theme="light"] .vq-navgroup .vq-side-link.active i {
  color: #fff !important;
}

html[data-bs-theme="light"] .vq-nav-accordion-panel .vq-side-link > .vq-subnav-dot {
  background: var(--ah-vuexy-sidebar-text-muted) !important;
  opacity: .75 !important;
}

html[data-bs-theme="light"] .vq-nav-accordion-panel .vq-side-link:hover > .vq-subnav-dot,
html[data-bs-theme="light"] .vq-nav-accordion-panel .vq-side-link:focus > .vq-subnav-dot,
html[data-bs-theme="light"] .vq-nav-accordion-panel .vq-side-link.active > .vq-subnav-dot {
  background: #fff !important;
  opacity: 1 !important;
}

html[data-bs-theme="light"] .vq-sidebar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

html[data-bs-theme="light"] .vq-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

html[data-bs-theme="light"] .vq-sidebar::-webkit-scrollbar-thumb {
  background: rgba(207, 211, 236, .28);
  border: 0;
  border-radius: 999px;
}

html[data-bs-theme="light"] .vq-sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(207, 211, 236, .45);
  border: 0;
}

/* ---------- AstruHome light-mode sidebar open dropdown refinement (2026-06-30) ----------
   Keep second-level active links purple, but make the open/active dropdown header
   a lighter version of the semi-dark sidebar surface instead of using the purple active item colour.
*/
html[data-bs-theme="light"] {
  --ah-vuexy-sidebar-dropdown-active-bg: #3a3f57;
  --ah-vuexy-sidebar-dropdown-active-bg-2: #34394f;
}

html[data-bs-theme="light"] .vq-nav-accordion-toggle.active,
html[data-bs-theme="light"] .vq-nav-accordion-toggle.vq-nav-accordion-open,
html[data-bs-theme="light"] .vq-nav-accordion-toggle[aria-expanded="true"] {
  background: linear-gradient(180deg, var(--ah-vuexy-sidebar-dropdown-active-bg) 0%, var(--ah-vuexy-sidebar-dropdown-active-bg-2) 100%) !important;
  border-color: rgba(255, 255, 255, .07) !important;
  color: #fff !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .045) !important;
}

html[data-bs-theme="light"] .vq-nav-accordion-toggle.active > span > i,
html[data-bs-theme="light"] .vq-nav-accordion-toggle.vq-nav-accordion-open > span > i,
html[data-bs-theme="light"] .vq-nav-accordion-toggle[aria-expanded="true"] > span > i,
html[data-bs-theme="light"] .vq-nav-accordion-toggle.active > .bi-chevron-down,
html[data-bs-theme="light"] .vq-nav-accordion-toggle.vq-nav-accordion-open > .bi-chevron-down,
html[data-bs-theme="light"] .vq-nav-accordion-toggle[aria-expanded="true"] > .bi-chevron-down {
  color: #fff !important;
}


/* ---------- AstruHome narrower scrollbars (2026-06-30) ----------
   Make app scrollbars slimmer across browsers. Sidebar gets an even narrower rail.
*/
html {
  scrollbar-width: thin;
}

html[data-bs-theme="light"] {
  scrollbar-color: rgba(75, 70, 92, .30) rgba(75, 70, 92, .045);
}

html[data-bs-theme="dark"] {
  scrollbar-color: #2a2a2f #0f0f10;
}

html[data-bs-theme="light"] ::-webkit-scrollbar,
html[data-bs-theme="dark"] ::-webkit-scrollbar {
  width: 6px !important;
  height: 6px !important;
}

html[data-bs-theme="light"] ::-webkit-scrollbar-thumb,
html[data-bs-theme="dark"] ::-webkit-scrollbar-thumb {
  border-width: 1px !important;
}

html[data-bs-theme="light"] .vq-sidebar,
html[data-bs-theme="dark"] .vq-sidebar {
  scrollbar-width: thin;
}

html[data-bs-theme="light"] .vq-sidebar::-webkit-scrollbar,
html[data-bs-theme="dark"] .vq-sidebar::-webkit-scrollbar {
  width: 4px !important;
  height: 4px !important;
}

html[data-bs-theme="light"] .vq-sidebar::-webkit-scrollbar-thumb,
html[data-bs-theme="dark"] .vq-sidebar::-webkit-scrollbar-thumb {
  border-width: 0 !important;
}

/* ---------- AstruHome darker light-mode helper text (2026-06-30) ----------
   Darken Bootstrap secondary/helper text in light mode so descriptions such as
   solution leads, card subtitles, and small explanatory copy remain readable.
   Sidebar colours keep their separate Vuexy semi-dark overrides above.
*/
html[data-bs-theme="light"] {
  --bs-secondary-color: #4b465c;
  --bs-secondary-rgb: 75,70,92;
  --vq-muted: #4b465c;
}

html[data-bs-theme="light"] .text-secondary,
html[data-bs-theme="light"] .small.text-secondary,
html[data-bs-theme="light"] .text-body-secondary,
html[data-bs-theme="light"] .small.text-body-secondary,
html[data-bs-theme="light"] .lead.text-secondary,
html[data-bs-theme="light"] .link-secondary,
html[data-bs-theme="light"] .dv-step-heading-note,
html[data-bs-theme="light"] .dv-style-card-body .small {
  color: #4b465c !important;
}

html[data-bs-theme="light"] .dv-interior-page .dv-area-card.active .text-body-secondary,
html[data-bs-theme="light"] .dv-interior-page .dv-style-card.active .text-body-secondary,
html[data-bs-theme="light"] .dv-interior-page .dv-gallery-shot:has(.form-check-input:checked) .text-body-secondary {
  color: rgba(48, 34, 173, .84) !important;
}


/* ---------- Velzon material dashboard dark mode override (AstruHome 2026-07-03) ----------
   Replaces the earlier custom dark mode with a Velzon-inspired Bootstrap dark shell:
   #1a1d21 canvas, #212529 cards/forms, #292e32 topbar, and #405189 sidebar.
   Placed at the end intentionally so it wins over older OpenArt/DecorVista dark rules.
*/
html[data-bs-theme="dark"] {
  color-scheme: dark;
  --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: #878a99;
  --bs-tertiary-bg: #292e32;
  --bs-tertiary-bg-rgb: 41,46,50;
  --bs-secondary-bg: #2a2f34;
  --bs-secondary-bg-rgb: 42,47,52;
  --bs-border-color: #32383e;
  --bs-border-color-translucent: rgba(255,255,255,.08);
  --bs-link-color: #6691e7;
  --bs-link-hover-color: #8eacf0;
  --bs-primary: #405189;
  --bs-primary-rgb: 64,81,137;
  --bs-primary-bg-subtle: rgba(64,81,137,.24);
  --bs-primary-border-subtle: rgba(64,81,137,.50);
  --bs-success: #0ab39c;
  --bs-success-rgb: 10,179,156;
  --bs-info: #299cdb;
  --bs-info-rgb: 41,156,219;
  --bs-warning: #f7b84b;
  --bs-warning-rgb: 247,184,75;
  --bs-danger: #f06548;
  --bs-danger-rgb: 240,101,72;
  --vq-bg: #1a1d21;
  --vq-bg-2: #1f2429;
  --vq-surface: #212529;
  --vq-surface-2: #292e32;
  --vq-surface-solid: #212529;
  --vq-surface-elev: #292e32;
  --vq-text: #ced4da;
  --vq-muted: #878a99;
  --vq-border: #32383e;
  --vq-primary: #405189;
  --vq-primary-2: #0ab39c;
  --vq-shadow: 0 8px 24px rgba(0,0,0,.22);
}

html[data-bs-theme="dark"],
html[data-bs-theme="dark"] body,
html[data-bs-theme="dark"] body.vq-body {
  background: #1a1d21 !important;
  color: #ced4da !important;
}

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"] .container,
html[data-bs-theme="dark"] .container-fluid,
html[data-bs-theme="dark"] .pv-page,
html[data-bs-theme="dark"] .vq-home-page,
html[data-bs-theme="dark"] .vq-public-page {
  background: #1a1d21 !important;
  color: #ced4da !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: #292e32 !important;
  color: #ced4da !important;
  border-color: #32383e !important;
  box-shadow: 0 1px 2px rgba(0,0,0,.18) !important;
  backdrop-filter: none !important;
}

html[data-bs-theme="dark"] .vq-sidebar {
  background: #405189 !important;
  color: #abb9e8 !important;
  border-color: #405189 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

html[data-bs-theme="dark"] .vq-sidebar-mobile-head {
  background: #405189 !important;
  border-color: rgba(255,255,255,.10) !important;
  color: #fff !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-logo,
html[data-bs-theme="dark"] .vq-sidebar .vq-logo span,
html[data-bs-theme="dark"] .vq-sidebar .fw-semibold,
html[data-bs-theme="dark"] .vq-sidebar h1,
html[data-bs-theme="dark"] .vq-sidebar h2,
html[data-bs-theme="dark"] .vq-sidebar h3,
html[data-bs-theme="dark"] .vq-sidebar h4,
html[data-bs-theme="dark"] .vq-sidebar h5,
html[data-bs-theme="dark"] .vq-sidebar h6 {
  color: #fff !important;
  text-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-sidebar .text-secondary,
html[data-bs-theme="dark"] .vq-sidebar .small,
html[data-bs-theme="dark"] .vq-sidebar .small.text-secondary,
html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-smart-title,
html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-empty {
  color: #838fb9 !important;
}

html[data-bs-theme="dark"] .vq-sidebar-search-wrap > i,
html[data-bs-theme="dark"] .vq-navgroup .vq-side-link i,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle > span > i,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle > .bi-chevron-down,
html[data-bs-theme="dark"] .vq-sidebar-mini-link i {
  color: rgba(171,185,232,.84) !important;
}

html[data-bs-theme="dark"] .vq-sidebar-search,
html[data-bs-theme="dark"] .vq-sidebar-search.form-control {
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.12) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-sidebar-search::placeholder {
  color: rgba(171,185,232,.78) !important;
}

html[data-bs-theme="dark"] .vq-sidebar-search:focus {
  background: rgba(255,255,255,.12) !important;
  border-color: rgba(255,255,255,.24) !important;
  box-shadow: 0 0 0 .2rem rgba(255,255,255,.08) !important;
}

html[data-bs-theme="dark"] .vq-sidebar-smart-section,
html[data-bs-theme="dark"] .vq-sidebar-pin-current,
html[data-bs-theme="dark"] .vq-nav-accordion-item {
  background: rgba(255,255,255,.045) !important;
  border-color: rgba(255,255,255,.075) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-sidebar-pin-current,
html[data-bs-theme="dark"] .vq-sidebar-mini-link,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle,
html[data-bs-theme="dark"] .vq-navgroup .vq-side-link,
html[data-bs-theme="dark"] .vq-navgroup .vq-side-link-button,
html[data-bs-theme="dark"] .vq-navgroup .vq-side-link-sub {
  color: #abb9e8 !important;
  background: transparent !important;
  border-color: transparent !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-sidebar-pin-current:hover,
html[data-bs-theme="dark"] .vq-sidebar-pin-current:focus,
html[data-bs-theme="dark"] .vq-sidebar-mini-link:hover,
html[data-bs-theme="dark"] .vq-sidebar-mini-link:focus,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle:hover,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle:focus,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle.active,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle.vq-nav-accordion-open,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle[aria-expanded="true"],
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"] .vq-navgroup .vq-side-link.active {
  color: #fff !important;
  background: rgba(255,255,255,.115) !important;
  border-color: rgba(255,255,255,.10) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-navgroup .vq-side-link.active,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle.active {
  background: rgba(255,255,255,.16) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.14) !important;
}

html[data-bs-theme="dark"] .vq-navgroup .vq-side-link.active .vq-subnav-dot,
html[data-bs-theme="dark"] .vq-navgroup .vq-side-link.active i,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle.active > span > i,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle.active > .bi-chevron-down,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle:hover > span > i,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle:focus > span > i,
html[data-bs-theme="dark"] .vq-navgroup .vq-side-link:hover i,
html[data-bs-theme="dark"] .vq-navgroup .vq-side-link:focus i {
  color: #fff !important;
}

html[data-bs-theme="dark"] .vq-nav-accordion-panel .vq-side-link > .vq-subnav-dot {
  background: rgba(171,185,232,.62) !important;
  border-color: rgba(255,255,255,.24) !important;
}

html[data-bs-theme="dark"] .vq-nav-accordion-panel .vq-side-link.active > .vq-subnav-dot,
html[data-bs-theme="dark"] .vq-nav-accordion-panel .vq-side-link:hover > .vq-subnav-dot,
html[data-bs-theme="dark"] .vq-nav-accordion-panel .vq-side-link:focus > .vq-subnav-dot {
  background: #fff !important;
  border-color: #fff !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"] .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"] .pv-stage,
html[data-bs-theme="dark"] .pv-release-card,
html[data-bs-theme="dark"] .pv-mini-stat,
html[data-bs-theme="dark"] .vq-tool-card,
html[data-bs-theme="dark"] .vq-tools-toolbar .dropdown-menu,
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: #212529 !important;
  color: #ced4da !important;
  border-color: #32383e !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.16) !important;
  backdrop-filter: none !important;
}

html[data-bs-theme="dark"] .vq-card:hover,
html[data-bs-theme="dark"] .card:hover,
html[data-bs-theme="dark"] .vq-tool-card:hover {
  border-color: #3b4249 !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-all-tool-card {
  background: #292e32 !important;
  color: #ced4da !important;
  border-color: #32383e !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .form-control,
html[data-bs-theme="dark"] .form-select,
html[data-bs-theme="dark"] select,
html[data-bs-theme="dark"] textarea,
html[data-bs-theme="dark"] .form-control:disabled,
html[data-bs-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"] .form-control:focus,
html[data-bs-theme="dark"] .form-select:focus,
html[data-bs-theme="dark"] select:focus,
html[data-bs-theme="dark"] textarea:focus {
  background-color: #2a2f34 !important;
  color: #f3f6f9 !important;
  border-color: #405189 !important;
  box-shadow: 0 0 0 .2rem rgba(64,81,137,.22) !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: #878a99 !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: #fff;
  --bs-btn-bg: #405189;
  --bs-btn-border-color: #405189;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #5367a6;
  --bs-btn-hover-border-color: #5367a6;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #364574;
  --bs-btn-active-border-color: #364574;
  background: #405189 !important;
  border-color: #405189 !important;
  color: #fff !important;
  box-shadow: none !important;
  transform: 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,
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: #5367a6 !important;
  border-color: #5367a6 !important;
  color: #fff !important;
  box-shadow: none !important;
  transform: none !important;
}

html[data-bs-theme="dark"] .btn-success,
html[data-bs-theme="dark"] .btn.btn-success {
  background: #0ab39c !important;
  border-color: #0ab39c !important;
  color: #fff !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .btn-outline-primary {
  color: #8eacf0 !important;
  border-color: rgba(64,81,137,.72) !important;
  background: rgba(64,81,137,.18) !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: #405189 !important;
  background: #405189 !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .btn-outline-secondary,
html[data-bs-theme="dark"] .btn-outline-light {
  color: #ced4da !important;
  border-color: #3b4249 !important;
  background: #212529 !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: #405189 !important;
  background: #292e32 !important;
  box-shadow: none !important;
}

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: #ced4da !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: #292e32 !important;
}

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"] .vq-all-tool-card.active {
  background: #405189 !important;
  color: #fff !important;
  border-color: #405189 !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;
  color: #ced4da !important;
  border-color: #32383e !important;
}

html[data-bs-theme="dark"] .alert {
  box-shadow: none !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: #32383e !important;
}

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

html[data-bs-theme="dark"] {
  scrollbar-color: #3b4249 #1a1d21;
}

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

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

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

/* ---------- Velzon material dark final accent cleanup (AstruHome 2026-07-03) ---------- */
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 {
  background: #0cc9af !important;
  border-color: #0cc9af !important;
  color: #fff !important;
  box-shadow: none !important;
  transform: none !important;
}

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: #fff !important;
  background: #405189 !important;
  border-color: #405189 !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .nav-tabs .nav-link.active {
  border-bottom-color: #405189 !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(64,81,137,.28) !important;
  border-color: rgba(64,81,137,.70) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .card:focus-within,
html[data-bs-theme="dark"] .vq-card:focus-within,
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: #3b4249 !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.16) !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: #292e32 !important;
  border-color: #3b4249 !important;
  box-shadow: none !important;
}

/* ---------- AstruHome dark sidebar solid tool-colour override (2026-07-03) ----------
   Keep the Velzon material dark shell, but remove the mainly blue/white sidebar look.
   Sidebar colours now come from the app/toolset right-side palette: dark cards/forms,
   teal success, coral danger/repaint, amber warning, and info accents. All sidebar
   states use solid colours only: no gradients, translucent shading, or glow shadows.
*/
html[data-bs-theme="dark"] {
  --ah-tool-sidebar-bg: #212529;
  --ah-tool-sidebar-panel: #292e32;
  --ah-tool-sidebar-hover: #32383e;
  --ah-tool-sidebar-border: #3b4249;
  --ah-tool-sidebar-text: #ced4da;
  --ah-tool-sidebar-muted: #878a99;
  --ah-tool-sidebar-teal: #0ab39c;
  --ah-tool-sidebar-coral: #f06548;
  --ah-tool-sidebar-amber: #f7b84b;
  --ah-tool-sidebar-info: #299cdb;
  --ah-tool-sidebar-deep: #1a1d21;
}

html[data-bs-theme="dark"] .vq-sidebar {
  background: var(--ah-tool-sidebar-bg) !important;
  color: var(--ah-tool-sidebar-text) !important;
  border-color: var(--ah-tool-sidebar-border) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

html[data-bs-theme="dark"] .vq-sidebar-mobile-head {
  background: var(--ah-tool-sidebar-bg) !important;
  border-color: var(--ah-tool-sidebar-border) !important;
  color: var(--ah-tool-sidebar-text) !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-logo,
html[data-bs-theme="dark"] .vq-sidebar .vq-logo span,
html[data-bs-theme="dark"] .vq-sidebar .fw-semibold,
html[data-bs-theme="dark"] .vq-sidebar h1,
html[data-bs-theme="dark"] .vq-sidebar h2,
html[data-bs-theme="dark"] .vq-sidebar h3,
html[data-bs-theme="dark"] .vq-sidebar h4,
html[data-bs-theme="dark"] .vq-sidebar h5,
html[data-bs-theme="dark"] .vq-sidebar h6 {
  color: var(--ah-tool-sidebar-text) !important;
  text-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-sidebar .text-secondary,
html[data-bs-theme="dark"] .vq-sidebar .small,
html[data-bs-theme="dark"] .vq-sidebar .small.text-secondary,
html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-smart-title,
html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-empty {
  color: var(--ah-tool-sidebar-muted) !important;
}

html[data-bs-theme="dark"] .vq-sidebar-search,
html[data-bs-theme="dark"] .vq-sidebar-search.form-control {
  background: var(--ah-tool-sidebar-panel) !important;
  color: var(--ah-tool-sidebar-text) !important;
  border-color: var(--ah-tool-sidebar-border) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-sidebar-search::placeholder {
  color: var(--ah-tool-sidebar-muted) !important;
}

html[data-bs-theme="dark"] .vq-sidebar-search:focus {
  background: var(--ah-tool-sidebar-hover) !important;
  color: #ffffff !important;
  border-color: var(--ah-tool-sidebar-teal) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-sidebar-search-wrap > i {
  color: var(--ah-tool-sidebar-teal) !important;
}

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

html[data-bs-theme="dark"] .vq-sidebar-pin-current,
html[data-bs-theme="dark"] .vq-sidebar-mini-link,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle,
html[data-bs-theme="dark"] .vq-navgroup .vq-side-link,
html[data-bs-theme="dark"] .vq-navgroup .vq-side-link-button,
html[data-bs-theme="dark"] .vq-navgroup .vq-side-link-sub {
  background: var(--ah-tool-sidebar-panel) !important;
  color: var(--ah-tool-sidebar-text) !important;
  border-color: var(--ah-tool-sidebar-panel) !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

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

html[data-bs-theme="dark"] .vq-navgroup .vq-side-link i,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle > span > i,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle > .bi-chevron-down,
html[data-bs-theme="dark"] .vq-sidebar-mini-link i,
html[data-bs-theme="dark"] .vq-sidebar-pin-current i {
  color: var(--ah-tool-sidebar-teal) !important;
}

html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="start"] .vq-nav-accordion-toggle > span > i,
html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="start"] .vq-side-link i,
html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="start"] .vq-subnav-dot {
  color: var(--ah-tool-sidebar-teal) !important;
  background: var(--ah-tool-sidebar-teal) !important;
  border-color: var(--ah-tool-sidebar-teal) !important;
}

html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="toolset"] .vq-nav-accordion-toggle > span > i,
html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="toolset"] .vq-side-link i,
html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="toolset"] .vq-subnav-dot {
  color: var(--ah-tool-sidebar-coral) !important;
  background: var(--ah-tool-sidebar-coral) !important;
  border-color: var(--ah-tool-sidebar-coral) !important;
}

html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="studio"] .vq-nav-accordion-toggle > span > i,
html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="studio"] .vq-side-link i,
html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="studio"] .vq-subnav-dot {
  color: var(--ah-tool-sidebar-amber) !important;
  background: var(--ah-tool-sidebar-amber) !important;
  border-color: var(--ah-tool-sidebar-amber) !important;
}

html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="present"] .vq-nav-accordion-toggle > span > i,
html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="present"] .vq-side-link i,
html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="present"] .vq-subnav-dot {
  color: var(--ah-tool-sidebar-info) !important;
  background: var(--ah-tool-sidebar-info) !important;
  border-color: var(--ah-tool-sidebar-info) !important;
}

html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="business"] .vq-nav-accordion-toggle > span > i,
html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="business"] .vq-side-link i,
html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="business"] .vq-subnav-dot {
  color: var(--ah-tool-sidebar-amber) !important;
  background: var(--ah-tool-sidebar-amber) !important;
  border-color: var(--ah-tool-sidebar-amber) !important;
}

html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="admin"] .vq-nav-accordion-toggle > span > i,
html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="admin"] .vq-side-link i,
html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="admin"] .vq-subnav-dot {
  color: var(--ah-tool-sidebar-coral) !important;
  background: var(--ah-tool-sidebar-coral) !important;
  border-color: var(--ah-tool-sidebar-coral) !important;
}

html[data-bs-theme="dark"] .vq-nav-accordion-toggle.active,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle.vq-nav-accordion-open,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle[aria-expanded="true"],
html[data-bs-theme="dark"] .vq-navgroup .vq-side-link.active,
html[data-bs-theme="dark"] .vq-sidebar-pin-current.pinned {
  color: #ffffff !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="start"] .vq-nav-accordion-toggle.active,
html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="start"] .vq-nav-accordion-toggle.vq-nav-accordion-open,
html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="start"] .vq-nav-accordion-toggle[aria-expanded="true"],
html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="start"] .vq-side-link.active {
  background: var(--ah-tool-sidebar-teal) !important;
  border-color: var(--ah-tool-sidebar-teal) !important;
  color: #ffffff !important;
}

html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="toolset"] .vq-nav-accordion-toggle.active,
html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="toolset"] .vq-nav-accordion-toggle.vq-nav-accordion-open,
html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="toolset"] .vq-nav-accordion-toggle[aria-expanded="true"],
html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="toolset"] .vq-side-link.active {
  background: var(--ah-tool-sidebar-coral) !important;
  border-color: var(--ah-tool-sidebar-coral) !important;
  color: #ffffff !important;
}

html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="studio"] .vq-nav-accordion-toggle.active,
html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="studio"] .vq-nav-accordion-toggle.vq-nav-accordion-open,
html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="studio"] .vq-nav-accordion-toggle[aria-expanded="true"],
html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="studio"] .vq-side-link.active,
html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="business"] .vq-nav-accordion-toggle.active,
html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="business"] .vq-nav-accordion-toggle.vq-nav-accordion-open,
html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="business"] .vq-nav-accordion-toggle[aria-expanded="true"],
html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="business"] .vq-side-link.active {
  background: var(--ah-tool-sidebar-amber) !important;
  border-color: var(--ah-tool-sidebar-amber) !important;
  color: var(--ah-tool-sidebar-deep) !important;
}

html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="present"] .vq-nav-accordion-toggle.active,
html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="present"] .vq-nav-accordion-toggle.vq-nav-accordion-open,
html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="present"] .vq-nav-accordion-toggle[aria-expanded="true"],
html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="present"] .vq-side-link.active {
  background: var(--ah-tool-sidebar-info) !important;
  border-color: var(--ah-tool-sidebar-info) !important;
  color: #ffffff !important;
}

html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="admin"] .vq-nav-accordion-toggle.active,
html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="admin"] .vq-nav-accordion-toggle.vq-nav-accordion-open,
html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="admin"] .vq-nav-accordion-toggle[aria-expanded="true"],
html[data-bs-theme="dark"] .vq-nav-accordion-item[data-sd-nav-group="admin"] .vq-side-link.active {
  background: var(--ah-tool-sidebar-coral) !important;
  border-color: var(--ah-tool-sidebar-coral) !important;
  color: #ffffff !important;
}

html[data-bs-theme="dark"] .vq-navgroup .vq-side-link.active i,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle.active > span > i,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle.active > .bi-chevron-down,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle.vq-nav-accordion-open > span > i,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle.vq-nav-accordion-open > .bi-chevron-down,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle[aria-expanded="true"] > span > i,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle[aria-expanded="true"] > .bi-chevron-down {
  color: currentColor !important;
  background: transparent !important;
  border-color: currentColor !important;
}

html[data-bs-theme="dark"] .vq-nav-accordion-panel .vq-side-link > .vq-subnav-dot {
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-nav-accordion-panel .vq-side-link.active > .vq-subnav-dot,
html[data-bs-theme="dark"] .vq-nav-accordion-panel .vq-side-link:hover > .vq-subnav-dot,
html[data-bs-theme="dark"] .vq-nav-accordion-panel .vq-side-link:focus > .vq-subnav-dot {
  background: currentColor !important;
  border-color: currentColor !important;
}

html[data-bs-theme="dark"] .vq-sidebar::-webkit-scrollbar-track {
  background: var(--ah-tool-sidebar-bg) !important;
}

html[data-bs-theme="dark"] .vq-sidebar::-webkit-scrollbar-thumb {
  background: var(--ah-tool-sidebar-hover) !important;
  border-color: var(--ah-tool-sidebar-hover) !important;
}

html[data-bs-theme="dark"] .vq-sidebar::-webkit-scrollbar-thumb:hover {
  background: var(--ah-tool-sidebar-coral) !important;
  border-color: var(--ah-tool-sidebar-coral) !important;
}

/* Keep group icons as plain solid-colour glyphs, not filled blocks. */
html[data-bs-theme="dark"] .vq-nav-accordion-toggle > span > i,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle > .bi-chevron-down,
html[data-bs-theme="dark"] .vq-navgroup .vq-side-link i,
html[data-bs-theme="dark"] .vq-sidebar-mini-link i,
html[data-bs-theme="dark"] .vq-sidebar-pin-current i {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* ============================================================================
   AstruHome dark mode: Velzon Material dark dashboard match
   Reference: https://themesbrand.com/velzon/html/material/dashboard-analytics-dark.html
   Purpose: override earlier OpenArt/solid-tool sidebar dark styles with Velzon's
   dark admin palette: #1a1d21 page, #212529 panels/sidebar, #32383e borders,
   muted #878a99 text, and Velzon primary #405189 accents.
   ============================================================================ */
html[data-bs-theme="dark"] {
  --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: #292e33;
  --bs-tertiary-bg-rgb: 41,46,51;
  --bs-secondary-bg: #212529;
  --bs-secondary-bg-rgb: 33,37,41;
  --bs-border-color: #32383e;
  --bs-border-color-translucent: rgba(255,255,255,.10);
  --bs-heading-color: #f3f6f9;
  --bs-link-color: #6ea8fe;
  --bs-link-hover-color: #9ec5fe;
  --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,.34);
  --bs-success: #0ab39c;
  --bs-success-rgb: 10,179,156;
  --bs-info: #299cdb;
  --bs-info-rgb: 41,156,219;
  --bs-warning: #f7b84b;
  --bs-warning-rgb: 247,184,75;
  --bs-danger: #f06548;
  --bs-danger-rgb: 240,101,72;
  --ah-vz-bg: #1a1d21;
  --ah-vz-surface: #212529;
  --ah-vz-surface-raised: #292e33;
  --ah-vz-surface-soft: #252a2f;
  --ah-vz-border: #32383e;
  --ah-vz-muted: #878a99;
  --ah-vz-menu-text: #abb9e8;
  --ah-vz-menu-muted: #7c7f90;
  --ah-vz-menu-hover: #2a2f34;
  --ah-vz-primary: #405189;
  --ah-vz-primary-hover: #364574;
}

html[data-bs-theme="dark"],
html[data-bs-theme="dark"] body,
html[data-bs-theme="dark"] body.vq-body,
html[data-bs-theme="dark"] body.vq-app {
  background: var(--ah-vz-bg) !important;
  color: var(--bs-body-color) !important;
  color-scheme: dark;
}

html[data-bs-theme="dark"] .vq-nav,
html[data-bs-theme="dark"] .navbar.vq-nav,
html[data-bs-theme="dark"] .vq-app-topbar,
html[data-bs-theme="dark"] .vq-sidebar-mobile-head,
html[data-bs-theme="dark"] footer {
  background: var(--ah-vz-surface) !important;
  color: var(--bs-body-color) !important;
  border-color: var(--ah-vz-border) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

html[data-bs-theme="dark"] .vq-sidebar {
  background: var(--ah-vz-surface) !important;
  color: var(--ah-vz-menu-text) !important;
  border-color: var(--ah-vz-border) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

html[data-bs-theme="dark"] .vq-logo,
html[data-bs-theme="dark"] .vq-sidebar .vq-logo,
html[data-bs-theme="dark"] .vq-sidebar .vq-logo span,
html[data-bs-theme="dark"] .vq-sidebar .fw-semibold,
html[data-bs-theme="dark"] .vq-sidebar h1,
html[data-bs-theme="dark"] .vq-sidebar h2,
html[data-bs-theme="dark"] .vq-sidebar h3,
html[data-bs-theme="dark"] .vq-sidebar h4,
html[data-bs-theme="dark"] .vq-sidebar h5,
html[data-bs-theme="dark"] .vq-sidebar h6,
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"] .card-title {
  color: var(--bs-heading-color) !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"] .vq-sidebar .text-secondary,
html[data-bs-theme="dark"] .vq-sidebar .small,
html[data-bs-theme="dark"] .vq-sidebar-smart-title,
html[data-bs-theme="dark"] .vq-sidebar-empty,
html[data-bs-theme="dark"] .breadcrumb-item,
html[data-bs-theme="dark"] .card-text,
html[data-bs-theme="dark"] .form-text {
  color: var(--ah-vz-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"] .bg-body,
html[data-bs-theme="dark"] .bg-body-tertiary,
html[data-bs-theme="dark"] .bg-light,
html[data-bs-theme="dark"] .bg-dark,
html[data-bs-theme="dark"] .toast,
html[data-bs-theme="dark"] .accordion-item,
html[data-bs-theme="dark"] .table-responsive,
html[data-bs-theme="dark"] .vq-sidebar-smart-section,
html[data-bs-theme="dark"] .vq-sidebar-pin-current,
html[data-bs-theme="dark"] .vq-nav-accordion-item {
  background: var(--ah-vz-surface) !important;
  color: var(--bs-body-color) !important;
  border-color: var(--ah-vz-border) !important;
  box-shadow: none !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.text-bg-light,
html[data-bs-theme="dark"] .badge.text-bg-secondary,
html[data-bs-theme="dark"] .btn-light,
html[data-bs-theme="dark"] .btn-outline-light {
  background: var(--ah-vz-surface-raised) !important;
  border-color: var(--ah-vz-border) !important;
  color: var(--bs-body-color) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-sidebar-search,
html[data-bs-theme="dark"] .vq-sidebar-search.form-control,
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-color: var(--ah-vz-surface-raised) !important;
  background-image: none;
  border-color: var(--ah-vz-border) !important;
  color: var(--bs-body-color) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-sidebar-search::placeholder,
html[data-bs-theme="dark"] .form-control::placeholder,
html[data-bs-theme="dark"] .form-select::placeholder,
html[data-bs-theme="dark"] textarea::placeholder {
  color: var(--ah-vz-muted) !important;
  opacity: 1;
}

html[data-bs-theme="dark"] .vq-sidebar-search:focus,
html[data-bs-theme="dark"] .form-control:focus,
html[data-bs-theme="dark"] .form-select:focus,
html[data-bs-theme="dark"] textarea:focus {
  background-color: var(--ah-vz-surface-raised) !important;
  border-color: rgba(64,81,137,.70) !important;
  color: var(--bs-body-color) !important;
  box-shadow: 0 0 0 .15rem rgba(64,81,137,.18) !important;
}

html[data-bs-theme="dark"] .form-select,
html[data-bs-theme="dark"] select:not([multiple]):not([size]):not(.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;
  color-scheme: dark;
}

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

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: var(--bs-body-color) !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 {
  background-color: var(--ah-vz-surface-raised) !important;
  color: #ffffff !important;
}

html[data-bs-theme="dark"] .vq-sidebar-pin-current,
html[data-bs-theme="dark"] .vq-sidebar-mini-link,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle,
html[data-bs-theme="dark"] .vq-navgroup .vq-side-link,
html[data-bs-theme="dark"] .vq-navgroup .vq-side-link-button,
html[data-bs-theme="dark"] .vq-navgroup .vq-side-link-sub {
  background: transparent !important;
  border-color: transparent !important;
  color: var(--ah-vz-menu-text) !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

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

html[data-bs-theme="dark"] .vq-nav-accordion-toggle.active,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle.vq-nav-accordion-open,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle[aria-expanded="true"],
html[data-bs-theme="dark"] .vq-navgroup .vq-side-link.active,
html[data-bs-theme="dark"] .vq-sidebar-pin-current.pinned {
  background: var(--ah-vz-menu-hover) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-navgroup .vq-side-link i,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle > span > i,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle > .bi-chevron-down,
html[data-bs-theme="dark"] .vq-sidebar-mini-link i,
html[data-bs-theme="dark"] .vq-sidebar-pin-current i,
html[data-bs-theme="dark"] .vq-subnav-dot {
  color: var(--ah-vz-menu-text) !important;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-navgroup .vq-side-link:hover i,
html[data-bs-theme="dark"] .vq-navgroup .vq-side-link:focus i,
html[data-bs-theme="dark"] .vq-navgroup .vq-side-link.active i,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle:hover > span > i,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle:focus > span > i,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle.active > span > i,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle.vq-nav-accordion-open > span > i,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle[aria-expanded="true"] > span > i,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle:hover > .bi-chevron-down,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle:focus > .bi-chevron-down,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle.active > .bi-chevron-down,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle.vq-nav-accordion-open > .bi-chevron-down,
html[data-bs-theme="dark"] .vq-nav-accordion-toggle[aria-expanded="true"] > .bi-chevron-down {
  color: #ffffff !important;
  background: transparent !important;
  border-color: transparent !important;
}

html[data-bs-theme="dark"] .vq-nav-accordion-panel .vq-side-link > .vq-subnav-dot {
  width: .36rem;
  height: .36rem;
  border-radius: 999px;
  background: var(--ah-vz-menu-muted) !important;
  border-color: var(--ah-vz-menu-muted) !important;
}

html[data-bs-theme="dark"] .vq-nav-accordion-panel .vq-side-link.active > .vq-subnav-dot,
html[data-bs-theme="dark"] .vq-nav-accordion-panel .vq-side-link:hover > .vq-subnav-dot,
html[data-bs-theme="dark"] .vq-nav-accordion-panel .vq-side-link:focus > .vq-subnav-dot {
  background: #ffffff !important;
  border-color: #ffffff !important;
}

html[data-bs-theme="dark"] .btn-primary,
html[data-bs-theme="dark"] .btn.btn-primary {
  background: var(--ah-vz-primary) !important;
  border-color: var(--ah-vz-primary) !important;
  color: #ffffff !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: var(--ah-vz-primary-hover) !important;
  border-color: var(--ah-vz-primary-hover) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .btn-outline-primary {
  color: #9aa8d6 !important;
  border-color: rgba(64,81,137,.70) !important;
  background: transparent !important;
}

html[data-bs-theme="dark"] .btn-outline-primary:hover,
html[data-bs-theme="dark"] .btn-outline-primary:focus {
  color: #ffffff !important;
  background: var(--ah-vz-primary) !important;
  border-color: var(--ah-vz-primary) !important;
}

html[data-bs-theme="dark"] .btn-outline-secondary,
html[data-bs-theme="dark"] .btn-outline-light {
  color: var(--bs-body-color) !important;
  border-color: var(--ah-vz-border) !important;
  background: transparent !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: #ffffff !important;
  background: var(--ah-vz-surface-raised) !important;
  border-color: var(--ah-vz-border) !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: var(--bs-body-color);
  --bs-table-border-color: var(--ah-vz-border);
  --bs-table-striped-bg: rgba(255,255,255,.025);
  --bs-table-hover-bg: rgba(255,255,255,.04);
  color: var(--bs-body-color) !important;
  border-color: var(--ah-vz-border) !important;
}

html[data-bs-theme="dark"] .border,
html[data-bs-theme="dark"] .border-top,
html[data-bs-theme="dark"] .border-end,
html[data-bs-theme="dark"] .border-bottom,
html[data-bs-theme="dark"] .border-start {
  border-color: var(--ah-vz-border) !important;
}

html[data-bs-theme="dark"] .alert,
html[data-bs-theme="dark"] .alert-secondary {
  color: var(--bs-body-color) !important;
  background: var(--ah-vz-surface-raised) !important;
  border-color: var(--ah-vz-border) !important;
}

html[data-bs-theme="dark"] .alert-primary {
  color: #c9d2f0 !important;
  background: rgba(64,81,137,.18) !important;
  border-color: rgba(64,81,137,.35) !important;
}

html[data-bs-theme="dark"] .alert-success {
  color: #5ee1cf !important;
  background: rgba(10,179,156,.12) !important;
  border-color: rgba(10,179,156,.30) !important;
}

html[data-bs-theme="dark"] .alert-warning {
  color: #ffd27d !important;
  background: rgba(247,184,75,.13) !important;
  border-color: rgba(247,184,75,.30) !important;
}

html[data-bs-theme="dark"] .alert-danger {
  color: #ff9b87 !important;
  background: rgba(240,101,72,.13) !important;
  border-color: rgba(240,101,72,.30) !important;
}

html[data-bs-theme="dark"] .progress,
html[data-bs-theme="dark"] .accordion-button,
html[data-bs-theme="dark"] .accordion-button:not(.collapsed) {
  background: var(--ah-vz-surface-raised) !important;
  color: var(--bs-body-color) !important;
  border-color: var(--ah-vz-border) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .pv-page,
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"] .pv-stage,
html[data-bs-theme="dark"] .pv-release-card,
html[data-bs-theme="dark"] .pv-mini-stat,
html[data-bs-theme="dark"] .pv-video-card,
html[data-bs-theme="dark"] .pv-stage-strip-item,
html[data-bs-theme="dark"] .pv-video-dot {
  background: var(--ah-vz-surface) !important;
  border-color: var(--ah-vz-border) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .pv-kicker,
html[data-bs-theme="dark"] .pv-section-eyebrow,
html[data-bs-theme="dark"] .pv-featured-pill,
html[data-bs-theme="dark"] .pv-release-version,
html[data-bs-theme="dark"] .pv-story-eyebrow,
html[data-bs-theme="dark"] .pv-stage-pill {
  background: var(--ah-vz-surface-raised) !important;
  border-color: var(--ah-vz-border) !important;
  color: var(--bs-body-color) !important;
}

html[data-bs-theme="dark"] ::-webkit-scrollbar-track,
html[data-bs-theme="dark"] .vq-sidebar::-webkit-scrollbar-track {
  background: var(--ah-vz-bg) !important;
}

html[data-bs-theme="dark"] ::-webkit-scrollbar-thumb,
html[data-bs-theme="dark"] .vq-sidebar::-webkit-scrollbar-thumb {
  background: #3a4046 !important;
  border-color: var(--ah-vz-bg) !important;
  border-radius: 999px;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] ::-webkit-scrollbar-thumb:hover,
html[data-bs-theme="dark"] .vq-sidebar::-webkit-scrollbar-thumb:hover {
  background: #4b545c !important;
  border-color: var(--ah-vz-bg) !important;
  box-shadow: none !important;
}

/* ============================================================================
   AstruHome mixed dark mode: keep Velzon dark sidebar, make right-side pages light
   Request: in dark mode, keep the sidebar as-is, but make all pages on the right
   use the same colours as light mode.
   Scope: only the app main/topbar/content column. The .vq-sidebar is intentionally
   not targeted here, so the working Velzon dark sidebar remains unchanged.
============================================================================ */
html[data-bs-theme="dark"] body.vq-app {
  background: #f8f7fa !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main {
  color-scheme: light;
  --bs-body-bg: #f8f7fa;
  --bs-body-bg-rgb: 248,247,250;
  --bs-body-color: #5d596c;
  --bs-body-color-rgb: 93,89,108;
  --bs-emphasis-color: #4b465c;
  --bs-emphasis-color-rgb: 75,70,92;
  --bs-secondary-color: #6f6b7d;
  --bs-secondary-rgb: 111,107,125;
  --bs-tertiary-color: #a8aaae;
  --bs-tertiary-bg: #f3f2f5;
  --bs-tertiary-bg-rgb: 243,242,245;
  --bs-secondary-bg: #eeeef2;
  --bs-secondary-bg-rgb: 238,238,242;
  --bs-border-color: #dbdade;
  --bs-border-color-translucent: rgba(75,70,92,.14);
  --bs-link-color: #7367f0;
  --bs-link-hover-color: #685dd8;
  --bs-primary: #7367f0;
  --bs-primary-rgb: 115,103,240;
  --bs-primary-bg-subtle: rgba(115,103,240,.12);
  --bs-primary-border-subtle: rgba(115,103,240,.28);
  --bs-success: #28c76f;
  --bs-success-rgb: 40,199,111;
  --bs-info: #00cfe8;
  --bs-info-rgb: 0,207,232;
  --bs-warning: #ff9f43;
  --bs-warning-rgb: 255,159,67;
  --bs-danger: #ea5455;
  --bs-danger-rgb: 234,84,85;
  --vq-bg: #f8f7fa;
  --vq-bg-2: #f3f2f5;
  --vq-surface: #ffffff;
  --vq-surface-2: #f8f7fa;
  --vq-surface-solid: #ffffff;
  --vq-surface-elev: #ffffff;
  --vq-text: #5d596c;
  --vq-muted: #6f6b7d;
  --vq-border: rgba(75,70,92,.14);
  --vq-primary: #7367f0;
  --vq-primary-2: #8f85f3;
  --vq-radius: .75rem;
  --vq-shadow: 0 .25rem 1.125rem rgba(75,70,92,.10);
  background: #f8f7fa !important;
  color: #5d596c !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-app-shell,
html[data-bs-theme="dark"] body.vq-app .vq-main,
html[data-bs-theme="dark"] body.vq-app .vq-app-content {
  background: #f8f7fa !important;
  color: #5d596c !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .vq-app-topbar,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-nav,
html[data-bs-theme="dark"] body.vq-app .vq-main .navbar.vq-nav,
html[data-bs-theme="dark"] body.vq-app .vq-main footer {
  background: rgba(255,255,255,.86) !important;
  border-color: rgba(75,70,92,.14) !important;
  color: #5d596c !important;
  box-shadow: 0 .25rem 1.125rem rgba(75,70,92,.10) !important;
  backdrop-filter: blur(18px);
}

html[data-bs-theme="dark"] body.vq-app .vq-main h1,
html[data-bs-theme="dark"] body.vq-app .vq-main h2,
html[data-bs-theme="dark"] body.vq-app .vq-main h3,
html[data-bs-theme="dark"] body.vq-app .vq-main h4,
html[data-bs-theme="dark"] body.vq-app .vq-main h5,
html[data-bs-theme="dark"] body.vq-app .vq-main h6,
html[data-bs-theme="dark"] body.vq-app .vq-main .display-1,
html[data-bs-theme="dark"] body.vq-app .vq-main .display-2,
html[data-bs-theme="dark"] body.vq-app .vq-main .display-3,
html[data-bs-theme="dark"] body.vq-app .vq-main .display-4,
html[data-bs-theme="dark"] body.vq-app .vq-main .display-5,
html[data-bs-theme="dark"] body.vq-app .vq-main .display-6,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-app-topbar-title {
  color: #4b465c !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .text-secondary,
html[data-bs-theme="dark"] body.vq-app .vq-main .small.text-secondary,
html[data-bs-theme="dark"] body.vq-app .vq-main .text-body-secondary,
html[data-bs-theme="dark"] body.vq-app .vq-main .small.text-body-secondary,
html[data-bs-theme="dark"] body.vq-app .vq-main .link-secondary {
  color: #6f6b7d !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .vq-glass,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .card,
html[data-bs-theme="dark"] body.vq-app .vq-main .modal-content,
html[data-bs-theme="dark"] body.vq-app .vq-main .dropdown-menu,
html[data-bs-theme="dark"] body.vq-app .vq-main .offcanvas,
html[data-bs-theme="dark"] body.vq-app .vq-main .list-group-item,
html[data-bs-theme="dark"] body.vq-app .vq-main .accordion-item,
html[data-bs-theme="dark"] body.vq-app .vq-main .accordion-button,
html[data-bs-theme="dark"] body.vq-app .vq-main .bg-body,
html[data-bs-theme="dark"] body.vq-app .vq-main .bg-body-tertiary,
html[data-bs-theme="dark"] body.vq-app .vq-main .bg-light,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-section-shell,
html[data-bs-theme="dark"] body.vq-app .vq-main .tool-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-decision-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-solution-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-role-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-step-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-proof-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-page,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-hero,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-featured-panel,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-cap-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-enterprise,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-stat-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-story-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-stage,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-release-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-mini-stat,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-video-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-stage-strip-item,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-video-dot {
  background: #ffffff !important;
  color: #5d596c !important;
  border-color: rgba(75,70,92,.14) !important;
  box-shadow: 0 .25rem 1.125rem rgba(75,70,92,.10) !important;
  backdrop-filter: none !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .dropdown-item,
html[data-bs-theme="dark"] body.vq-app .vq-main .nav-link,
html[data-bs-theme="dark"] body.vq-app .vq-main .navbar-brand,
html[data-bs-theme="dark"] body.vq-app .vq-main .link-secondary {
  color: #6f6b7d !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .dropdown-item:hover,
html[data-bs-theme="dark"] body.vq-app .vq-main .dropdown-item:focus,
html[data-bs-theme="dark"] body.vq-app .vq-main .nav-link:hover,
html[data-bs-theme="dark"] body.vq-app .vq-main .nav-link:focus,
html[data-bs-theme="dark"] body.vq-app .vq-main .navbar-brand:hover,
html[data-bs-theme="dark"] body.vq-app .vq-main .link-secondary:hover {
  background: rgba(115,103,240,.08) !important;
  color: #4b465c !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .form-control,
html[data-bs-theme="dark"] body.vq-app .vq-main .form-select,
html[data-bs-theme="dark"] body.vq-app .vq-main textarea,
html[data-bs-theme="dark"] body.vq-app .vq-main .input-group-text,
html[data-bs-theme="dark"] body.vq-app .vq-main .form-control:disabled,
html[data-bs-theme="dark"] body.vq-app .vq-main .form-select:disabled {
  background-color: #ffffff !important;
  border-color: rgba(75,70,92,.18) !important;
  color: #5d596c !important;
  box-shadow: none !important;
  color-scheme: light;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .form-control::placeholder,
html[data-bs-theme="dark"] body.vq-app .vq-main textarea::placeholder {
  color: rgba(93,89,108,.48) !important;
  opacity: 1;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .form-control:focus,
html[data-bs-theme="dark"] body.vq-app .vq-main .form-select:focus,
html[data-bs-theme="dark"] body.vq-app .vq-main textarea:focus {
  border-color: rgba(115,103,240,.52) !important;
  box-shadow: 0 0 0 .22rem rgba(115,103,240,.14) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .form-select option,
html[data-bs-theme="dark"] body.vq-app .vq-main select option {
  color: #5d596c !important;
  background-color: #ffffff !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .btn {
  border-radius: .55rem;
  font-weight: 700;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .btn-primary,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn.btn-primary {
  background: #7367f0 !important;
  border-color: #7367f0 !important;
  color: #ffffff !important;
  box-shadow: 0 .25rem .75rem rgba(115,103,240,.28) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .btn-primary:hover,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn-primary:focus,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn.btn-primary:hover,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn.btn-primary:focus {
  background: #685dd8 !important;
  border-color: #685dd8 !important;
  color: #ffffff !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .btn-outline-secondary,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn-outline-light,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn-outline-primary {
  background: #ffffff !important;
  border-color: rgba(75,70,92,.18) !important;
  color: #5d596c !important;
  box-shadow: 0 .25rem .75rem rgba(75,70,92,.08) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .btn-outline-secondary:hover,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn-outline-secondary:focus,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn-outline-light:hover,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn-outline-light:focus,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn-outline-primary:hover,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn-outline-primary:focus {
  background: rgba(115,103,240,.08) !important;
  border-color: rgba(115,103,240,.32) !important;
  color: #7367f0 !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .badge.text-bg-light,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-icon,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-pill,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-pill-sm,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-badge-soft,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-kicker,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-section-eyebrow,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-featured-pill,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-release-version,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-story-eyebrow,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-stage-pill {
  background: rgba(115,103,240,.08) !important;
  border-color: rgba(115,103,240,.18) !important;
  color: #7367f0 !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .badge.text-bg-primary,
html[data-bs-theme="dark"] body.vq-app .vq-main .text-bg-primary {
  background: #7367f0 !important;
  color: #ffffff !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .badge.text-bg-success,
html[data-bs-theme="dark"] body.vq-app .vq-main .text-bg-success {
  background: rgba(40,199,111,.12) !important;
  border: 1px solid rgba(40,199,111,.24) !important;
  color: #188a4d !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .table,
html[data-bs-theme="dark"] body.vq-app .vq-main .table > :not(caption) > * > * {
  --bs-table-bg: transparent;
  --bs-table-color: #5d596c;
  --bs-table-border-color: rgba(75,70,92,.14);
  --bs-table-striped-bg: rgba(75,70,92,.035);
  --bs-table-hover-bg: rgba(115,103,240,.06);
  color: #5d596c !important;
  border-color: rgba(75,70,92,.14) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .border,
html[data-bs-theme="dark"] body.vq-app .vq-main .border-top,
html[data-bs-theme="dark"] body.vq-app .vq-main .border-end,
html[data-bs-theme="dark"] body.vq-app .vq-main .border-bottom,
html[data-bs-theme="dark"] body.vq-app .vq-main .border-start {
  border-color: rgba(75,70,92,.14) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .alert,
html[data-bs-theme="dark"] body.vq-app .vq-main .alert-secondary {
  color: #5d596c !important;
  background: #ffffff !important;
  border-color: rgba(75,70,92,.14) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .alert-primary {
  color: #4f46c6 !important;
  background: rgba(115,103,240,.12) !important;
  border-color: rgba(115,103,240,.28) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .alert-success {
  color: #188a4d !important;
  background: rgba(40,199,111,.12) !important;
  border-color: rgba(40,199,111,.28) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .alert-warning {
  color: #a35f00 !important;
  background: rgba(255,159,67,.14) !important;
  border-color: rgba(255,159,67,.28) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .alert-danger {
  color: #b93839 !important;
  background: rgba(234,84,85,.12) !important;
  border-color: rgba(234,84,85,.28) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main ::-webkit-scrollbar-track {
  background: #f8f7fa !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main ::-webkit-scrollbar-thumb {
  background: #c9c7d3 !important;
  border-color: #f8f7fa !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main ::-webkit-scrollbar-thumb:hover {
  background: #b5b2c2 !important;
  border-color: #f8f7fa !important;
}


/* ============================================================================
   AstruHome dark-sidebar / light-content correction
   Keep the working Velzon dark sidebar, but force the right-side app canvas
   (including app/home container-fluid) back to the same light page background.
============================================================================ */
html[data-bs-theme="dark"] body.vq-app,
html[data-bs-theme="dark"] body.vq-app .vq-app-shell,
html[data-bs-theme="dark"] body.vq-app .vq-main,
html[data-bs-theme="dark"] body.vq-app .vq-app-content,
html[data-bs-theme="dark"] body.vq-app .vq-main > .vq-app-content,
html[data-bs-theme="dark"] body.vq-app .vq-main .container,
html[data-bs-theme="dark"] body.vq-app .vq-main .container-fluid,
html[data-bs-theme="dark"] body.vq-app .vq-main .app-home-latest-page,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-home-page,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-public-page,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-page {
  background-color: #f8f7fa !important;
  background-image: none !important;
  background-attachment: scroll !important;
  color: #5d596c !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .container-fluid.bg-body,
html[data-bs-theme="dark"] body.vq-app .vq-main .container-fluid.bg-body-tertiary,
html[data-bs-theme="dark"] body.vq-app .vq-main .bg-body,
html[data-bs-theme="dark"] body.vq-app .vq-main .bg-body-tertiary,
html[data-bs-theme="dark"] body.vq-app .vq-main .bg-light {
  background-color: #f8f7fa !important;
  background-image: none !important;
  color: #5d596c !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .home-start-card {
  background: linear-gradient(135deg, rgba(115,103,240,.10), rgba(248,247,250,.96)) !important;
  border-color: rgba(115,103,240,.18) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .home-secondary-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-section-shell > .card,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-section-shell .card:not(.bg-transparent) {
  background-color: #ffffff !important;
  background-image: none !important;
  color: #5d596c !important;
  border-color: rgba(75,70,92,.14) !important;
}

/* ============================================================================
   AstruHome logged-in dark mode: landing-page colours on the right side
   Request: keep the working dark sidebar exactly as-is, but make every logged-in
   page on the right use the same off-white/purple/green landing-page palette.
   Scope: only body.vq-app .vq-main and its content. The .vq-sidebar is not
   targeted here, so the Velzon dark sidebar remains unchanged.
============================================================================ */
html[data-bs-theme="dark"] body.vq-app {
  background: #fbfaf7 !important;
  color: #111116 !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-app-shell {
  background: transparent !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main {
  color-scheme: light;
  --bs-body-bg: #fbfaf7;
  --bs-body-bg-rgb: 251,250,247;
  --bs-body-color: #111116;
  --bs-body-color-rgb: 17,17,22;
  --bs-emphasis-color: #050507;
  --bs-emphasis-color-rgb: 5,5,7;
  --bs-secondary-color: rgba(17,17,22,.78);
  --bs-secondary-rgb: 17,17,22;
  --bs-tertiary-color: rgba(17,17,22,.64);
  --bs-tertiary-bg: #f4f1ec;
  --bs-tertiary-bg-rgb: 244,241,236;
  --bs-secondary-bg: #f0ece6;
  --bs-secondary-bg-rgb: 240,236,230;
  --bs-border-color: rgba(52,43,34,.13);
  --bs-border-color-translucent: rgba(52,43,34,.13);
  --bs-link-color: #634bff;
  --bs-link-hover-color: #5037e6;
  --bs-primary: #684dff;
  --bs-primary-rgb: 104,77,255;
  --bs-primary-bg-subtle: rgba(104,77,255,.105);
  --bs-primary-border-subtle: rgba(104,77,255,.26);
  --bs-success: #22a667;
  --bs-success-rgb: 34,166,103;
  --bs-info: #48b7ff;
  --bs-info-rgb: 72,183,255;
  --bs-warning: #f2b84b;
  --bs-warning-rgb: 242,184,75;
  --bs-danger: #ea5455;
  --bs-danger-rgb: 234,84,85;
  --bs-border-radius: 1rem;
  --bs-border-radius-sm: .75rem;
  --bs-border-radius-lg: 1.35rem;
  --bs-border-radius-xl: 1.65rem;
  --vq-bg: #fbfaf7;
  --vq-bg-2: #f4f1ec;
  --vq-surface: #ffffff;
  --vq-surface-2: #f7f3ed;
  --vq-surface-solid: #ffffff;
  --vq-surface-elev: #ffffff;
  --vq-text: #111116;
  --vq-muted: rgba(17,17,22,.78);
  --vq-border: rgba(52,43,34,.13);
  --vq-primary: #684dff;
  --vq-primary-2: #7a62ff;
  --vq-radius: 1.25rem;
  --vq-shadow: 0 1rem 2.75rem rgba(48,38,25,.10);
  background:
    radial-gradient(900px 520px at 85% -8%, rgba(104,77,255,.105), transparent 56%),
    radial-gradient(720px 430px at 8% 5%, rgba(34,166,103,.10), transparent 52%),
    linear-gradient(180deg, #ffffff 0%, #fbfaf7 48%, #f4f1ec 100%) !important;
  background-attachment: fixed !important;
  color: #111116 !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-app-content,
html[data-bs-theme="dark"] body.vq-app .vq-main > .vq-app-content,
html[data-bs-theme="dark"] body.vq-app .vq-main .container,
html[data-bs-theme="dark"] body.vq-app .vq-main .container-fluid,
html[data-bs-theme="dark"] body.vq-app .vq-main .app-home-latest-page,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-home-page,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-public-page,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-page,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-interior-page {
  background: transparent !important;
  color: #111116 !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .vq-app-topbar,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-nav,
html[data-bs-theme="dark"] body.vq-app .vq-main .navbar.vq-nav,
html[data-bs-theme="dark"] body.vq-app .vq-main footer {
  background: rgba(255,255,255,.86) !important;
  border-color: rgba(52,43,34,.12) !important;
  color: #111116 !important;
  box-shadow: 0 .75rem 2rem rgba(48,38,25,.055) !important;
  backdrop-filter: blur(18px) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main h1,
html[data-bs-theme="dark"] body.vq-app .vq-main h2,
html[data-bs-theme="dark"] body.vq-app .vq-main h3,
html[data-bs-theme="dark"] body.vq-app .vq-main h4,
html[data-bs-theme="dark"] body.vq-app .vq-main h5,
html[data-bs-theme="dark"] body.vq-app .vq-main h6,
html[data-bs-theme="dark"] body.vq-app .vq-main .display-1,
html[data-bs-theme="dark"] body.vq-app .vq-main .display-2,
html[data-bs-theme="dark"] body.vq-app .vq-main .display-3,
html[data-bs-theme="dark"] body.vq-app .vq-main .display-4,
html[data-bs-theme="dark"] body.vq-app .vq-main .display-5,
html[data-bs-theme="dark"] body.vq-app .vq-main .display-6,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-app-topbar-title,
html[data-bs-theme="dark"] body.vq-app .vq-main .navbar-brand {
  color: #050507 !important;
  letter-spacing: -.025em;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .text-secondary,
html[data-bs-theme="dark"] body.vq-app .vq-main .small.text-secondary,
html[data-bs-theme="dark"] body.vq-app .vq-main .text-body-secondary,
html[data-bs-theme="dark"] body.vq-app .vq-main .small.text-body-secondary,
html[data-bs-theme="dark"] body.vq-app .vq-main .link-secondary,
html[data-bs-theme="dark"] body.vq-app .vq-main .form-text,
html[data-bs-theme="dark"] body.vq-app .vq-main .text-muted {
  color: rgba(17,17,22,.78) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .vq-glass,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .card,
html[data-bs-theme="dark"] body.vq-app .vq-main .modal-content,
html[data-bs-theme="dark"] body.vq-app .vq-main .dropdown-menu,
html[data-bs-theme="dark"] body.vq-app .vq-main .offcanvas,
html[data-bs-theme="dark"] body.vq-app .vq-main .list-group-item,
html[data-bs-theme="dark"] body.vq-app .vq-main .accordion-item,
html[data-bs-theme="dark"] body.vq-app .vq-main .accordion-button,
html[data-bs-theme="dark"] body.vq-app .vq-main .bg-body,
html[data-bs-theme="dark"] body.vq-app .vq-main .bg-body-tertiary,
html[data-bs-theme="dark"] body.vq-app .vq-main .bg-light,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-section-shell,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-secondary-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .tool-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-tool-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-all-tool-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-decision-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-solution-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-role-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-step-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-proof-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-featured-panel,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-cap-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-enterprise,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-stat-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-story-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-stage,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-release-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-mini-stat,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-video-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-video-dot {
  background: rgba(255,255,255,.92) !important;
  color: #111116 !important;
  border-color: rgba(52,43,34,.13) !important;
  box-shadow: 0 1rem 2.7rem rgba(48,38,25,.085) !important;
  backdrop-filter: none !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .vq-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .card,
html[data-bs-theme="dark"] body.vq-app .vq-main .modal-content,
html[data-bs-theme="dark"] body.vq-app .vq-main .dropdown-menu,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-decision-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-solution-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-role-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-step-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-proof-card {
  border-radius: 1.35rem !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .home-start-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-photo-box,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-ba-panel,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-latest-placeholder,
html[data-bs-theme="dark"] body.vq-app .vq-main .placeholder-media,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-hero {
  background: linear-gradient(135deg, rgba(104,77,255,.08), rgba(34,166,103,.065)), #f7f3ed !important;
  border-color: rgba(52,43,34,.13) !important;
  color: #111116 !important;
  box-shadow: 0 1rem 2.7rem rgba(48,38,25,.085) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .home-hero,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-hero,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-public-hero,
html[data-bs-theme="dark"] body.vq-app .vq-main .sd-onboarding-hero,
html[data-bs-theme="dark"] body.vq-app .vq-main .sd-auth-hero,
html[data-bs-theme="dark"] body.vq-app .vq-main .sd-upload-hero,
html[data-bs-theme="dark"] body.vq-app .vq-main .clip2-hero {
  background:
    radial-gradient(820px 440px at 88% 4%, rgba(104,77,255,.15), transparent 55%),
    radial-gradient(700px 380px at 8% 16%, rgba(34,166,103,.11), transparent 52%),
    linear-gradient(180deg, #ffffff 0%, #fbfaf7 72%, #f5f1eb 100%) !important;
  border-color: rgba(52,43,34,.13) !important;
  color: #111116 !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .dv-ba-panel.reimagined,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-canvas-top,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-start-card:hover,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-start-card:focus {
  background: linear-gradient(135deg, rgba(104,77,255,.17), rgba(34,166,103,.11)), #f7f3ed !important;
  border-color: rgba(104,77,255,.26) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .dropdown-menu {
  padding: .55rem !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .dropdown-item,
html[data-bs-theme="dark"] body.vq-app .vq-main .nav-link,
html[data-bs-theme="dark"] body.vq-app .vq-main .navbar-brand,
html[data-bs-theme="dark"] body.vq-app .vq-main .link-secondary {
  color: rgba(17,17,22,.78) !important;
  font-weight: 600;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .dropdown-item {
  border-radius: .82rem !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .dropdown-item:hover,
html[data-bs-theme="dark"] body.vq-app .vq-main .dropdown-item:focus,
html[data-bs-theme="dark"] body.vq-app .vq-main .nav-link:hover,
html[data-bs-theme="dark"] body.vq-app .vq-main .nav-link:focus,
html[data-bs-theme="dark"] body.vq-app .vq-main .navbar-brand:hover,
html[data-bs-theme="dark"] body.vq-app .vq-main .link-secondary:hover {
  background: rgba(104,77,255,.08) !important;
  color: #050507 !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .vq-icon,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-icon,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-pill,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-pill-sm,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-badge-soft,
html[data-bs-theme="dark"] body.vq-app .vq-main .input-group-text,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-flow-chip,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-public-pill,
html[data-bs-theme="dark"] body.vq-app .vq-main .badge.text-bg-light,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-kicker,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-section-eyebrow,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-featured-pill,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-release-version,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-story-eyebrow,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-stage-pill {
  background: rgba(104,77,255,.075) !important;
  border-color: rgba(104,77,255,.17) !important;
  color: #3b2fc4 !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .badge.text-bg-primary,
html[data-bs-theme="dark"] body.vq-app .vq-main .text-bg-primary {
  background: #684dff !important;
  color: #ffffff !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .badge.text-bg-success,
html[data-bs-theme="dark"] body.vq-app .vq-main .text-bg-success {
  background: rgba(34,166,103,.12) !important;
  border: 1px solid rgba(34,166,103,.24) !important;
  color: #12683f !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .form-control,
html[data-bs-theme="dark"] body.vq-app .vq-main .form-select,
html[data-bs-theme="dark"] body.vq-app .vq-main select,
html[data-bs-theme="dark"] body.vq-app .vq-main textarea,
html[data-bs-theme="dark"] body.vq-app .vq-main .form-control:disabled,
html[data-bs-theme="dark"] body.vq-app .vq-main .form-select:disabled {
  background-color: rgba(255,255,255,.96) !important;
  border-color: rgba(52,43,34,.16) !important;
  color: #111116 !important;
  border-radius: 1rem !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72) !important;
  color-scheme: light !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .form-control::placeholder,
html[data-bs-theme="dark"] body.vq-app .vq-main textarea::placeholder {
  color: rgba(17,17,22,.42) !important;
  opacity: 1;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .form-control:focus,
html[data-bs-theme="dark"] body.vq-app .vq-main .form-select:focus,
html[data-bs-theme="dark"] body.vq-app .vq-main textarea:focus {
  border-color: rgba(104,77,255,.48) !important;
  box-shadow: 0 0 0 .22rem rgba(104,77,255,.14) !important;
}

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

html[data-bs-theme="dark"] body.vq-app .vq-main .btn {
  border-radius: .95rem !important;
  font-weight: 700 !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .btn-primary,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn.btn-primary,
html[data-bs-theme="dark"] body.vq-app .vq-main .bg-primary {
  background: linear-gradient(135deg, #5d43f5 0%, #7b61ff 100%) !important;
  border-color: rgba(104,77,255,.72) !important;
  color: #ffffff !important;
  box-shadow: 0 .85rem 1.85rem rgba(104,77,255,.27), inset 0 1px 0 rgba(255,255,255,.22) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .btn-primary:hover,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn-primary:focus,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn.btn-primary:hover,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn.btn-primary:focus {
  background: linear-gradient(135deg, #5339df 0%, #6f55ff 100%) !important;
  border-color: rgba(83,57,223,.84) !important;
  color: #ffffff !important;
  box-shadow: 0 1rem 2.2rem rgba(104,77,255,.32), inset 0 1px 0 rgba(255,255,255,.22) !important;
  transform: translateY(-1px);
}

html[data-bs-theme="dark"] body.vq-app .vq-main .btn-outline-secondary,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn-outline-light,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn-outline-primary {
  background: rgba(255,255,255,.82) !important;
  border-color: rgba(52,43,34,.16) !important;
  color: #16161d !important;
  box-shadow: 0 .55rem 1.2rem rgba(48,38,25,.055) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .btn-outline-secondary:hover,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn-outline-secondary:focus,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn-outline-light:hover,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn-outline-light:focus,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn-outline-primary:hover,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn-outline-primary:focus {
  background: rgba(104,77,255,.08) !important;
  border-color: rgba(104,77,255,.32) !important;
  color: #3b2fc4 !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .btn-outline-danger {
  background: rgba(255,255,255,.82) !important;
  border-color: rgba(234,84,85,.32) !important;
  color: #b93839 !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .table,
html[data-bs-theme="dark"] body.vq-app .vq-main .table > :not(caption) > * > * {
  --bs-table-bg: rgba(255,255,255,.66);
  --bs-table-color: #111116;
  --bs-table-border-color: rgba(52,43,34,.12);
  --bs-table-striped-bg: rgba(52,43,34,.035);
  --bs-table-hover-bg: rgba(104,77,255,.06);
  color: #111116 !important;
  border-color: rgba(52,43,34,.12) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .border,
html[data-bs-theme="dark"] body.vq-app .vq-main .border-top,
html[data-bs-theme="dark"] body.vq-app .vq-main .border-end,
html[data-bs-theme="dark"] body.vq-app .vq-main .border-bottom,
html[data-bs-theme="dark"] body.vq-app .vq-main .border-start,
html[data-bs-theme="dark"] body.vq-app .vq-main .alert,
html[data-bs-theme="dark"] body.vq-app .vq-main .accordion-item,
html[data-bs-theme="dark"] body.vq-app .vq-main .accordion-button {
  border-color: rgba(52,43,34,.13) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .alert,
html[data-bs-theme="dark"] body.vq-app .vq-main .alert-secondary {
  color: #111116 !important;
  background: rgba(255,255,255,.92) !important;
  border-color: rgba(52,43,34,.13) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .alert-primary {
  color: #3b2fc4 !important;
  background: rgba(104,77,255,.105) !important;
  border-color: rgba(104,77,255,.26) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .alert-success {
  color: #12683f !important;
  background: rgba(34,166,103,.12) !important;
  border-color: rgba(34,166,103,.24) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .alert-warning {
  color: #7f5700 !important;
  background: rgba(242,184,75,.16) !important;
  border-color: rgba(242,184,75,.28) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .alert-danger {
  color: #b93839 !important;
  background: rgba(234,84,85,.12) !important;
  border-color: rgba(234,84,85,.28) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main ::-webkit-scrollbar-track {
  background: rgba(52,43,34,.035) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main ::-webkit-scrollbar-thumb {
  background: rgba(104,77,255,.30) !important;
  border-radius: 999px;
  border: 2px solid transparent !important;
  background-clip: padding-box;
}

html[data-bs-theme="dark"] body.vq-app .vq-main ::-webkit-scrollbar-thumb:hover {
  background: rgba(104,77,255,.45) !important;
  border: 2px solid transparent !important;
  background-clip: padding-box;
}

/* ============================================================================
   AstruHome logged-in dark mode: Velzon material dark content area
   Request: use the Velzon material dashboard dark theme for logged-in pages,
   but keep the existing working sidebar unchanged. This block is intentionally
   scoped to body.vq-app .vq-main and does not target .vq-sidebar.
============================================================================ */
html[data-bs-theme="dark"] body.vq-app {
  background: #1a1d21 !important;
  color: #ced4da !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-app-shell {
  background: #1a1d21 !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main {
  color-scheme: dark;
  --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-heading-color: #f3f6f9;
  --bs-secondary-color: #878a99;
  --bs-secondary-rgb: 135,138,153;
  --bs-tertiary-color: #6c757d;
  --bs-tertiary-bg: #292e33;
  --bs-tertiary-bg-rgb: 41,46,51;
  --bs-secondary-bg: #212529;
  --bs-secondary-bg-rgb: 33,37,41;
  --bs-border-color: #32383e;
  --bs-border-color-translucent: rgba(255,255,255,.10);
  --bs-link-color: #6ea8fe;
  --bs-link-hover-color: #9ec5fe;
  --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,.34);
  --bs-success: #0ab39c;
  --bs-success-rgb: 10,179,156;
  --bs-info: #299cdb;
  --bs-info-rgb: 41,156,219;
  --bs-warning: #f7b84b;
  --bs-warning-rgb: 247,184,75;
  --bs-danger: #f06548;
  --bs-danger-rgb: 240,101,72;
  --vq-bg: #1a1d21;
  --vq-bg-2: #1a1d21;
  --vq-surface: #212529;
  --vq-surface-2: #292e33;
  --vq-surface-solid: #212529;
  --vq-surface-elev: #292e33;
  --vq-text: #ced4da;
  --vq-muted: #878a99;
  --vq-border: #32383e;
  --vq-primary: #405189;
  --vq-primary-2: #364574;
  --vq-radius: .625rem;
  --vq-shadow: none;
  background: #1a1d21 !important;
  background-image: none !important;
  background-attachment: scroll !important;
  color: #ced4da !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-app-content,
html[data-bs-theme="dark"] body.vq-app .vq-main > .vq-app-content,
html[data-bs-theme="dark"] body.vq-app .vq-main .container,
html[data-bs-theme="dark"] body.vq-app .vq-main .container-fluid,
html[data-bs-theme="dark"] body.vq-app .vq-main .app-home-latest-page,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-home-page,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-public-page,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-page,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-interior-page {
  background: transparent !important;
  background-image: none !important;
  color: #ced4da !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .vq-app-topbar,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-nav,
html[data-bs-theme="dark"] body.vq-app .vq-main .navbar.vq-nav,
html[data-bs-theme="dark"] body.vq-app .vq-main footer {
  background: #212529 !important;
  background-image: none !important;
  border-color: #32383e !important;
  color: #ced4da !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main h1,
html[data-bs-theme="dark"] body.vq-app .vq-main h2,
html[data-bs-theme="dark"] body.vq-app .vq-main h3,
html[data-bs-theme="dark"] body.vq-app .vq-main h4,
html[data-bs-theme="dark"] body.vq-app .vq-main h5,
html[data-bs-theme="dark"] body.vq-app .vq-main h6,
html[data-bs-theme="dark"] body.vq-app .vq-main .display-1,
html[data-bs-theme="dark"] body.vq-app .vq-main .display-2,
html[data-bs-theme="dark"] body.vq-app .vq-main .display-3,
html[data-bs-theme="dark"] body.vq-app .vq-main .display-4,
html[data-bs-theme="dark"] body.vq-app .vq-main .display-5,
html[data-bs-theme="dark"] body.vq-app .vq-main .display-6,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-app-topbar-title,
html[data-bs-theme="dark"] body.vq-app .vq-main .navbar-brand,
html[data-bs-theme="dark"] body.vq-app .vq-main .card-title {
  color: #f3f6f9 !important;
  text-shadow: none !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main,
html[data-bs-theme="dark"] body.vq-app .vq-main p,
html[data-bs-theme="dark"] body.vq-app .vq-main li,
html[data-bs-theme="dark"] body.vq-app .vq-main label,
html[data-bs-theme="dark"] body.vq-app .vq-main .card-text {
  color: #ced4da !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .text-secondary,
html[data-bs-theme="dark"] body.vq-app .vq-main .small.text-secondary,
html[data-bs-theme="dark"] body.vq-app .vq-main .text-body-secondary,
html[data-bs-theme="dark"] body.vq-app .vq-main .small.text-body-secondary,
html[data-bs-theme="dark"] body.vq-app .vq-main .link-secondary,
html[data-bs-theme="dark"] body.vq-app .vq-main .form-text,
html[data-bs-theme="dark"] body.vq-app .vq-main .text-muted,
html[data-bs-theme="dark"] body.vq-app .vq-main .small {
  color: #878a99 !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .vq-glass,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .card,
html[data-bs-theme="dark"] body.vq-app .vq-main .modal-content,
html[data-bs-theme="dark"] body.vq-app .vq-main .dropdown-menu,
html[data-bs-theme="dark"] body.vq-app .vq-main .offcanvas,
html[data-bs-theme="dark"] body.vq-app .vq-main .list-group-item,
html[data-bs-theme="dark"] body.vq-app .vq-main .accordion-item,
html[data-bs-theme="dark"] body.vq-app .vq-main .accordion-button,
html[data-bs-theme="dark"] body.vq-app .vq-main .bg-body,
html[data-bs-theme="dark"] body.vq-app .vq-main .bg-body-tertiary,
html[data-bs-theme="dark"] body.vq-app .vq-main .bg-light,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-section-shell,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-secondary-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .tool-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-tool-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-all-tool-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-decision-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-solution-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-role-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-step-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-proof-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-featured-panel,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-cap-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-enterprise,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-stat-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-story-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-stage,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-release-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-mini-stat,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-video-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-video-dot {
  background: #212529 !important;
  background-image: none !important;
  color: #ced4da !important;
  border-color: #32383e !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .vq-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .card,
html[data-bs-theme="dark"] body.vq-app .vq-main .modal-content,
html[data-bs-theme="dark"] body.vq-app .vq-main .dropdown-menu,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-decision-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-solution-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-role-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-step-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-proof-card {
  border-radius: .625rem !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .home-start-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-photo-box,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-ba-panel,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-latest-placeholder,
html[data-bs-theme="dark"] body.vq-app .vq-main .placeholder-media,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-hero,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-hero,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-hero,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-public-hero,
html[data-bs-theme="dark"] body.vq-app .vq-main .sd-onboarding-hero,
html[data-bs-theme="dark"] body.vq-app .vq-main .sd-auth-hero,
html[data-bs-theme="dark"] body.vq-app .vq-main .sd-upload-hero,
html[data-bs-theme="dark"] body.vq-app .vq-main .clip2-hero,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-ba-panel.reimagined,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-canvas-top {
  background: #212529 !important;
  background-image: none !important;
  border-color: #32383e !important;
  color: #ced4da !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .dropdown-menu {
  padding: .55rem !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .dropdown-item,
html[data-bs-theme="dark"] body.vq-app .vq-main .nav-link,
html[data-bs-theme="dark"] body.vq-app .vq-main .navbar-brand,
html[data-bs-theme="dark"] body.vq-app .vq-main .link-secondary {
  color: #ced4da !important;
  font-weight: 500;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .dropdown-item {
  border-radius: .35rem !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .dropdown-item:hover,
html[data-bs-theme="dark"] body.vq-app .vq-main .dropdown-item:focus,
html[data-bs-theme="dark"] body.vq-app .vq-main .nav-link:hover,
html[data-bs-theme="dark"] body.vq-app .vq-main .nav-link:focus,
html[data-bs-theme="dark"] body.vq-app .vq-main .navbar-brand:hover,
html[data-bs-theme="dark"] body.vq-app .vq-main .link-secondary:hover {
  background: #292e33 !important;
  color: #ffffff !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .vq-icon,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-icon,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-pill,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-pill-sm,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-badge-soft,
html[data-bs-theme="dark"] body.vq-app .vq-main .input-group-text,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-flow-chip,
html[data-bs-theme="dark"] body.vq-app .vq-main .dv-public-pill,
html[data-bs-theme="dark"] body.vq-app .vq-main .badge.text-bg-light,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-kicker,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-section-eyebrow,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-featured-pill,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-release-version,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-story-eyebrow,
html[data-bs-theme="dark"] body.vq-app .vq-main .pv-stage-pill {
  background: #292e33 !important;
  border-color: #32383e !important;
  color: #ced4da !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .badge.text-bg-primary,
html[data-bs-theme="dark"] body.vq-app .vq-main .text-bg-primary {
  background: #405189 !important;
  color: #ffffff !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .badge.text-bg-success,
html[data-bs-theme="dark"] body.vq-app .vq-main .text-bg-success {
  background: rgba(10,179,156,.14) !important;
  border: 1px solid rgba(10,179,156,.28) !important;
  color: #0ab39c !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .form-control,
html[data-bs-theme="dark"] body.vq-app .vq-main .form-select,
html[data-bs-theme="dark"] body.vq-app .vq-main select,
html[data-bs-theme="dark"] body.vq-app .vq-main textarea,
html[data-bs-theme="dark"] body.vq-app .vq-main .form-control:disabled,
html[data-bs-theme="dark"] body.vq-app .vq-main .form-select:disabled {
  background-color: #292e33 !important;
  background-image: var(--slamdunk-select-arrow-dark) !important;
  border-color: #32383e !important;
  color: #ced4da !important;
  border-radius: .35rem !important;
  box-shadow: none !important;
  color-scheme: dark !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .form-control::placeholder,
html[data-bs-theme="dark"] body.vq-app .vq-main textarea::placeholder {
  color: #878a99 !important;
  opacity: 1;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .form-control:focus,
html[data-bs-theme="dark"] body.vq-app .vq-main .form-select:focus,
html[data-bs-theme="dark"] body.vq-app .vq-main textarea:focus {
  background-color: #292e33 !important;
  border-color: rgba(64,81,137,.70) !important;
  color: #ced4da !important;
  box-shadow: 0 0 0 .15rem rgba(64,81,137,.18) !important;
}

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

html[data-bs-theme="dark"] body.vq-app .vq-main .btn {
  border-radius: .35rem !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .btn-primary,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn.btn-primary,
html[data-bs-theme="dark"] body.vq-app .vq-main .bg-primary {
  background: #405189 !important;
  background-image: none !important;
  border-color: #405189 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .btn-primary:hover,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn-primary:focus,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn.btn-primary:hover,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn.btn-primary:focus {
  background: #364574 !important;
  border-color: #364574 !important;
  color: #ffffff !important;
  transform: none !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .btn-outline-secondary,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn-outline-light,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn-outline-primary {
  background: #292e33 !important;
  border-color: #32383e !important;
  color: #ced4da !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .btn-outline-secondary:hover,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn-outline-secondary:focus,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn-outline-light:hover,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn-outline-light:focus,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn-outline-primary:hover,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn-outline-primary:focus {
  background: #32383e !important;
  border-color: #405189 !important;
  color: #ffffff !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .btn-outline-danger {
  background: #292e33 !important;
  border-color: rgba(240,101,72,.46) !important;
  color: #f06548 !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .table,
html[data-bs-theme="dark"] body.vq-app .vq-main .table > :not(caption) > * > * {
  --bs-table-bg: #212529;
  --bs-table-color: #ced4da;
  --bs-table-border-color: #32383e;
  --bs-table-striped-bg: #252a2f;
  --bs-table-hover-bg: #292e33;
  color: #ced4da !important;
  border-color: #32383e !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .border,
html[data-bs-theme="dark"] body.vq-app .vq-main .border-top,
html[data-bs-theme="dark"] body.vq-app .vq-main .border-end,
html[data-bs-theme="dark"] body.vq-app .vq-main .border-bottom,
html[data-bs-theme="dark"] body.vq-app .vq-main .border-start,
html[data-bs-theme="dark"] body.vq-app .vq-main .alert,
html[data-bs-theme="dark"] body.vq-app .vq-main .accordion-item,
html[data-bs-theme="dark"] body.vq-app .vq-main .accordion-button {
  border-color: #32383e !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .alert,
html[data-bs-theme="dark"] body.vq-app .vq-main .alert-secondary {
  color: #ced4da !important;
  background: #212529 !important;
  border-color: #32383e !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .alert-primary {
  color: #9aa7df !important;
  background: rgba(64,81,137,.18) !important;
  border-color: rgba(64,81,137,.34) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .alert-success {
  color: #0ab39c !important;
  background: rgba(10,179,156,.14) !important;
  border-color: rgba(10,179,156,.28) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .alert-warning {
  color: #f7b84b !important;
  background: rgba(247,184,75,.14) !important;
  border-color: rgba(247,184,75,.28) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .alert-danger {
  color: #f06548 !important;
  background: rgba(240,101,72,.14) !important;
  border-color: rgba(240,101,72,.28) !important;
}

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

html[data-bs-theme="dark"] body.vq-app .vq-main ::-webkit-scrollbar-thumb {
  background: #32383e !important;
  border-radius: 999px;
  border: 2px solid #1a1d21 !important;
  background-clip: padding-box;
}

html[data-bs-theme="dark"] body.vq-app .vq-main ::-webkit-scrollbar-thumb:hover {
  background: #405189 !important;
  border: 2px solid #1a1d21 !important;
  background-clip: padding-box;
}

/* ============================================================================
   AstruHome dark sidebar top-level active contrast fix
   Request: keep the current dark sidebar, but when a top-level section and a
   sublevel page are both active, make only the top-level background 50% darker.
   Text colours are intentionally left unchanged from the existing sidebar rules.
============================================================================ */
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="start"] .vq-nav-accordion-toggle.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="start"] .vq-nav-accordion-toggle.vq-nav-accordion-open,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="start"] .vq-nav-accordion-toggle[aria-expanded="true"] {
  background: #055a4e !important;
  border-color: #055a4e !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="toolset"] .vq-nav-accordion-toggle.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="toolset"] .vq-nav-accordion-toggle.vq-nav-accordion-open,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="toolset"] .vq-nav-accordion-toggle[aria-expanded="true"] {
  background: #783224 !important;
  border-color: #783224 !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="studio"] .vq-nav-accordion-toggle.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="studio"] .vq-nav-accordion-toggle.vq-nav-accordion-open,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="studio"] .vq-nav-accordion-toggle[aria-expanded="true"],
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="business"] .vq-nav-accordion-toggle.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="business"] .vq-nav-accordion-toggle.vq-nav-accordion-open,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="business"] .vq-nav-accordion-toggle[aria-expanded="true"] {
  background: #7c5c26 !important;
  border-color: #7c5c26 !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="present"] .vq-nav-accordion-toggle.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="present"] .vq-nav-accordion-toggle.vq-nav-accordion-open,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="present"] .vq-nav-accordion-toggle[aria-expanded="true"] {
  background: #154e6e !important;
  border-color: #154e6e !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="admin"] .vq-nav-accordion-toggle.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="admin"] .vq-nav-accordion-toggle.vq-nav-accordion-open,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="admin"] .vq-nav-accordion-toggle[aria-expanded="true"] {
  background: #783224 !important;
  border-color: #783224 !important;
}

/* AstruHome dark mode form arrow cleanup - final override
   Fixes repeated select-arrow icons appearing across ordinary .form-control inputs
   on pages such as app/frametovideo. Keep the Velzon dark colors and sidebar as-is,
   but only apply the dropdown arrow to real select controls. */
html[data-bs-theme="dark"] body.vq-app .vq-main .form-control:not(select),
html[data-bs-theme="dark"] body.vq-app .vq-main input.form-control,
html[data-bs-theme="dark"] body.vq-app .vq-main textarea.form-control,
html[data-bs-theme="dark"] body.vq-app .vq-main textarea,
html[data-bs-theme="dark"] body.vq-app .vq-main input[type="text"].form-control,
html[data-bs-theme="dark"] body.vq-app .vq-main input[type="number"].form-control,
html[data-bs-theme="dark"] body.vq-app .vq-main input[type="url"].form-control,
html[data-bs-theme="dark"] body.vq-app .vq-main input[type="email"].form-control,
html[data-bs-theme="dark"] body.vq-app .vq-main input[type="search"].form-control,
html[data-bs-theme="dark"] body.vq-app .vq-main input[type="password"].form-control,
html[data-bs-theme="dark"] body.vq-app .vq-main input[type="file"].form-control {
  background-image: none !important;
  background-repeat: no-repeat !important;
  background-position: initial !important;
  background-size: auto !important;
}

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

html[data-bs-theme="dark"] body.vq-app .vq-main select[multiple],
html[data-bs-theme="dark"] body.vq-app .vq-main select[size] {
  background-image: none !important;
}

/* ============================================================================
   AstruHome dark mode hover readability fix
   Keep the sidebar and Velzon dark theme unchanged. Some right-side app tiles,
   such as app/home "Decor Studio", were still picking up an older light hover
   background while retaining light dark-mode text. Force those hover states back
   to Velzon dark surfaces and readable text.
============================================================================ */
html[data-bs-theme="dark"] body.vq-app .vq-main .home-start-card:hover,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-start-card:focus,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-start-card:focus-visible,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-secondary-card:hover,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-secondary-card:focus,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-secondary-card:focus-visible,
html[data-bs-theme="dark"] body.vq-app .vq-main a.vq-tool-card:hover,
html[data-bs-theme="dark"] body.vq-app .vq-main a.vq-tool-card:focus,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-tool-card:hover,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-tool-card:focus-within,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-all-tool-card:hover,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-all-tool-card:focus {
  background: #292e33 !important;
  background-image: none !important;
  border-color: #405189 !important;
  color: #ced4da !important;
  box-shadow: 0 0 0 1px rgba(64, 81, 137, .35) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .home-start-card:hover h1,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-start-card:hover h2,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-start-card:hover h3,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-start-card:hover h4,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-start-card:hover h5,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-start-card:hover h6,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-start-card:focus h1,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-start-card:focus h2,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-start-card:focus h3,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-start-card:focus h4,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-start-card:focus h5,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-start-card:focus h6,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-secondary-card:hover h1,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-secondary-card:hover h2,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-secondary-card:hover h3,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-secondary-card:hover h4,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-secondary-card:hover h5,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-secondary-card:hover h6,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-tool-card:hover h1,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-tool-card:hover h2,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-tool-card:hover h3,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-tool-card:hover h4,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-tool-card:hover h5,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-tool-card:hover h6,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-all-tool-card:hover span,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-all-tool-card:focus span,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-start-card:hover .card-title,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-secondary-card:hover .card-title,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-tool-card:hover .card-title {
  color: #f3f6f9 !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .home-start-card:hover p,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-start-card:hover .text-secondary,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-start-card:hover .text-body-secondary,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-start-card:focus p,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-start-card:focus .text-secondary,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-start-card:focus .text-body-secondary,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-secondary-card:hover p,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-secondary-card:hover .text-secondary,
html[data-bs-theme="dark"] body.vq-app .vq-main .home-secondary-card:hover .text-body-secondary,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-tool-card:hover p,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-tool-card:hover .text-secondary,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-tool-card:hover .text-body-secondary {
  color: #ced4da !important;
}

/* ============================================================================
   AstruHome dark sidebar top-level selected background fix
   Request: when a top-level sidebar item such as Toolset is open/selected while
   a second-level item is active, keep the second-level color unchanged but make
   the top-level background match the Velzon page base (#1A1D21). Text colours
   are intentionally not changed here.
============================================================================ */
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group] .vq-nav-accordion-toggle.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group] .vq-nav-accordion-toggle.vq-nav-accordion-open,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group] .vq-nav-accordion-toggle[aria-expanded="true"] {
  background: #1A1D21 !important;
  background-color: #1A1D21 !important;
  border-color: #1A1D21 !important;
}

/* ============================================================================
   AstruHome dark mode neutral shadow fix
   Keep the dark sidebar as-is. Earlier OpenArt/DecorVista rules used pink/maroon
   glow shadows on cards and hover states, which looked wrong on Velzon dark pages
   such as /login. These final overrides keep shadows neutral and theme-fitting.
============================================================================ */
html[data-bs-theme="dark"] body:not(.vq-app) .vq-glass,
html[data-bs-theme="dark"] body:not(.vq-app) .vq-card,
html[data-bs-theme="dark"] body:not(.vq-app) .card,
html[data-bs-theme="dark"] body:not(.vq-app) .modal-content,
html[data-bs-theme="dark"] body:not(.vq-app) .dropdown-menu,
html[data-bs-theme="dark"] body:not(.vq-app) .offcanvas,
html[data-bs-theme="dark"] body:not(.vq-app) .list-group-item,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-glass,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-card,
html[data-bs-theme="dark"] body.vq-app .vq-main .card,
html[data-bs-theme="dark"] body.vq-app .vq-main .modal-content,
html[data-bs-theme="dark"] body.vq-app .vq-main .dropdown-menu,
html[data-bs-theme="dark"] body.vq-app .vq-main .offcanvas,
html[data-bs-theme="dark"] body.vq-app .vq-main .list-group-item {
  box-shadow: 0 12px 32px rgba(0, 0, 0, .26) !important;
}

html[data-bs-theme="dark"] body:not(.vq-app) .vq-card:hover,
html[data-bs-theme="dark"] body:not(.vq-app) .vq-card:focus-within,
html[data-bs-theme="dark"] body:not(.vq-app) .card:hover,
html[data-bs-theme="dark"] body:not(.vq-app) .card:focus-within,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-card:hover,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-card:focus-within,
html[data-bs-theme="dark"] body.vq-app .vq-main .card:hover,
html[data-bs-theme="dark"] body.vq-app .vq-main .card:focus-within,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-tool-card:hover,
html[data-bs-theme="dark"] body.vq-app .vq-main .vq-tool-card:focus-within {
  box-shadow: 0 16px 40px rgba(0, 0, 0, .32), 0 0 0 1px rgba(64, 81, 137, .16) !important;
  border-color: #3b4249 !important;
}

html[data-bs-theme="dark"] body:not(.vq-app) .btn,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn,
html[data-bs-theme="dark"] body:not(.vq-app) .page-link,
html[data-bs-theme="dark"] body.vq-app .vq-main .page-link,
html[data-bs-theme="dark"] body:not(.vq-app) .nav-link,
html[data-bs-theme="dark"] body.vq-app .vq-main .nav-link {
  box-shadow: none !important;
}

html[data-bs-theme="dark"] body:not(.vq-app) .btn-primary,
html[data-bs-theme="dark"] body:not(.vq-app) .btn.btn-primary,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn-primary,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn.btn-primary,
html[data-bs-theme="dark"] body:not(.vq-app) .btn-success,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn-success {
  box-shadow: 0 10px 24px rgba(0, 0, 0, .24) !important;
}

html[data-bs-theme="dark"] body:not(.vq-app) .btn-primary:hover,
html[data-bs-theme="dark"] body:not(.vq-app) .btn-primary:focus,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn-primary:hover,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn-primary:focus,
html[data-bs-theme="dark"] body:not(.vq-app) .btn-success:hover,
html[data-bs-theme="dark"] body.vq-app .vq-main .btn-success:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, .30), 0 0 0 .18rem rgba(64, 81, 137, .16) !important;
}

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

/* Login and signup cards get a slightly deeper neutral lift without any maroon/pink glow. */
html[data-bs-theme="dark"] body:not(.vq-app) .container[style*="max-width: 560px"] > .vq-card,
html[data-bs-theme="dark"] body:not(.vq-app) form.vq-card {
  box-shadow: 0 18px 45px rgba(0, 0, 0, .34) !important;
}


/* ============================================================================
   AstruHome light mode right-side text contrast fix
   Request: keep sidebar colours exactly as they are, but make text on the
   right-side logged-in content area 50% darker in light mode.
   Scope intentionally starts at body.vq-app .vq-main and never targets .vq-sidebar.
============================================================================ */
html[data-bs-theme="light"] body.vq-app .vq-main {
  --bs-body-color: #2f2d36;
  --bs-body-color-rgb: 47,45,54;
  --bs-secondary-color: #26232e;
  --bs-secondary-rgb: 38,35,46;
  --bs-tertiary-color: #545557;
  --vq-text: #2f2d36;
  --vq-muted: #26232e;
  color: #2f2d36 !important;
}

html[data-bs-theme="light"] body.vq-app .vq-main p,
html[data-bs-theme="light"] body.vq-app .vq-main li,
html[data-bs-theme="light"] body.vq-app .vq-main label,
html[data-bs-theme="light"] body.vq-app .vq-main .form-label,
html[data-bs-theme="light"] body.vq-app .vq-main .form-check-label,
html[data-bs-theme="light"] body.vq-app .vq-main .card-text,
html[data-bs-theme="light"] body.vq-app .vq-main .table,
html[data-bs-theme="light"] body.vq-app .vq-main .table td,
html[data-bs-theme="light"] body.vq-app .vq-main .table th,
html[data-bs-theme="light"] body.vq-app .vq-main .dropdown-item,
html[data-bs-theme="light"] body.vq-app .vq-main .accordion-button,
html[data-bs-theme="light"] body.vq-app .vq-main .list-group-item,
html[data-bs-theme="light"] body.vq-app .vq-main .modal-body,
html[data-bs-theme="light"] body.vq-app .vq-main .offcanvas-body {
  color: #2f2d36 !important;
}

html[data-bs-theme="light"] body.vq-app .vq-main .text-secondary,
html[data-bs-theme="light"] body.vq-app .vq-main .small.text-secondary,
html[data-bs-theme="light"] body.vq-app .vq-main .text-body-secondary,
html[data-bs-theme="light"] body.vq-app .vq-main .small.text-body-secondary,
html[data-bs-theme="light"] body.vq-app .vq-main .lead.text-secondary,
html[data-bs-theme="light"] body.vq-app .vq-main .link-secondary,
html[data-bs-theme="light"] body.vq-app .vq-main .form-text,
html[data-bs-theme="light"] body.vq-app .vq-main .text-muted,
html[data-bs-theme="light"] body.vq-app .vq-main .small,
html[data-bs-theme="light"] body.vq-app .vq-main small,
html[data-bs-theme="light"] body.vq-app .vq-main .card-subtitle,
html[data-bs-theme="light"] body.vq-app .vq-main .home-start-card p,
html[data-bs-theme="light"] body.vq-app .vq-main .home-secondary-card p,
html[data-bs-theme="light"] body.vq-app .vq-main .vq-tool-card p,
html[data-bs-theme="light"] body.vq-app .vq-main .vq-all-tool-card .small,
html[data-bs-theme="light"] body.vq-app .vq-main .dv-step-heading-note,
html[data-bs-theme="light"] body.vq-app .vq-main .dv-style-card-body .small {
  color: #26232e !important;
}

html[data-bs-theme="light"] body.vq-app .vq-main .form-control,
html[data-bs-theme="light"] body.vq-app .vq-main .form-select,
html[data-bs-theme="light"] body.vq-app .vq-main textarea,
html[data-bs-theme="light"] body.vq-app .vq-main input,
html[data-bs-theme="light"] body.vq-app .vq-main select {
  color: #2f2d36 !important;
}

html[data-bs-theme="light"] body.vq-app .vq-main .form-control::placeholder,
html[data-bs-theme="light"] body.vq-app .vq-main textarea::placeholder,
html[data-bs-theme="light"] body.vq-app .vq-main input::placeholder {
  color: #545557 !important;
  opacity: 1 !important;
}

/* App credits guide route/layout update: make /app/credits fill the right-side app canvas like /app/billing. */
body.vq-app .vq-main .vq-credits-guide-page {
  width: 100%;
  max-width: none;
}
body.vq-app .vq-main .vq-credits-guide-page .vq-card {
  min-width: 0;
}

/* ============================================================================
   AstruHome app/home dark-mode latest-work card fix
   Keep the sidebar unchanged. The latest-work sections on app/home (Image AI,
   Video AI, Video Studio, Thumbnails) were still able to inherit older light
   card rules in dark mode. Force those app/home cards to match the dark
   Velzon-style cards used by the top start tiles such as Decor Studio.
============================================================================ */
html[data-bs-theme="dark"] body.vq-app .vq-main .app-home-latest-page .home-latest-work .home-section-shell,
html[data-bs-theme="dark"] body.vq-app .vq-main .app-home-latest-page .home-latest-work .home-section-shell > .card,
html[data-bs-theme="dark"] body.vq-app .vq-main .app-home-latest-page .home-latest-work .card[data-loaded-home-section],
html[data-bs-theme="dark"] body.vq-app .vq-main .app-home-latest-page .home-latest-work .home-section-skeleton,
html[data-bs-theme="dark"] body.vq-app .vq-main .app-home-latest-page .home-latest-work .card[data-loaded-home-section] .card,
html[data-bs-theme="dark"] body.vq-app .vq-main .app-home-latest-page .home-latest-work .home-section-shell > .card .card:not(.bg-transparent) {
  background: #212529 !important;
  background-image: none !important;
  border-color: #32383e !important;
  color: #ced4da !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .app-home-latest-page .home-latest-work .card-header,
html[data-bs-theme="dark"] body.vq-app .vq-main .app-home-latest-page .home-latest-work .card-body,
html[data-bs-theme="dark"] body.vq-app .vq-main .app-home-latest-page .home-latest-work .card-footer {
  background: transparent !important;
  background-image: none !important;
  border-color: #32383e !important;
  color: #ced4da !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .app-home-latest-page .home-latest-work .fw-semibold,
html[data-bs-theme="dark"] body.vq-app .vq-main .app-home-latest-page .home-latest-work .card-title,
html[data-bs-theme="dark"] body.vq-app .vq-main .app-home-latest-page .home-latest-work h1,
html[data-bs-theme="dark"] body.vq-app .vq-main .app-home-latest-page .home-latest-work h2,
html[data-bs-theme="dark"] body.vq-app .vq-main .app-home-latest-page .home-latest-work h3,
html[data-bs-theme="dark"] body.vq-app .vq-main .app-home-latest-page .home-latest-work h4,
html[data-bs-theme="dark"] body.vq-app .vq-main .app-home-latest-page .home-latest-work h5,
html[data-bs-theme="dark"] body.vq-app .vq-main .app-home-latest-page .home-latest-work h6 {
  color: #f3f6f9 !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .app-home-latest-page .home-latest-work .text-secondary,
html[data-bs-theme="dark"] body.vq-app .vq-main .app-home-latest-page .home-latest-work .text-body-secondary,
html[data-bs-theme="dark"] body.vq-app .vq-main .app-home-latest-page .home-latest-work .small.text-secondary,
html[data-bs-theme="dark"] body.vq-app .vq-main .app-home-latest-page .home-latest-work .small.text-body-secondary,
html[data-bs-theme="dark"] body.vq-app .vq-main .app-home-latest-page .home-latest-work small {
  color: #878a99 !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-main .app-home-latest-page .home-latest-work .home-latest-media,
html[data-bs-theme="dark"] body.vq-app .vq-main .app-home-latest-page .home-latest-work .home-latest-placeholder,
html[data-bs-theme="dark"] body.vq-app .vq-main .app-home-latest-page .home-latest-work .placeholder-media,
html[data-bs-theme="dark"] body.vq-app .vq-main .app-home-latest-page .home-latest-work .placeholder-line {
  background: #292e33 !important;
  background-image: none !important;
  border-color: #32383e !important;
  color: #878a99 !important;
}

/* ============================================================================
   AstruHome dark sidebar selected top-level text contrast fix
   Keep the current #1A1D21 selected/open top-level background and keep all
   second-level items as-is. Decor Studio and Business previously inherited the
   amber active text colour, which became too dark on the dark top-level panel.
============================================================================ */
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="studio"] .vq-nav-accordion-toggle.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="studio"] .vq-nav-accordion-toggle.vq-nav-accordion-open,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="studio"] .vq-nav-accordion-toggle[aria-expanded="true"],
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="business"] .vq-nav-accordion-toggle.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="business"] .vq-nav-accordion-toggle.vq-nav-accordion-open,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="business"] .vq-nav-accordion-toggle[aria-expanded="true"] {
  color: #f3f6f9 !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="studio"] .vq-nav-accordion-toggle.active > span,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="studio"] .vq-nav-accordion-toggle.vq-nav-accordion-open > span,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="studio"] .vq-nav-accordion-toggle[aria-expanded="true"] > span,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="business"] .vq-nav-accordion-toggle.active > span,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="business"] .vq-nav-accordion-toggle.vq-nav-accordion-open > span,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="business"] .vq-nav-accordion-toggle[aria-expanded="true"] > span,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="studio"] .vq-nav-accordion-toggle.active > span > i,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="studio"] .vq-nav-accordion-toggle.vq-nav-accordion-open > span > i,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="studio"] .vq-nav-accordion-toggle[aria-expanded="true"] > span > i,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="business"] .vq-nav-accordion-toggle.active > span > i,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="business"] .vq-nav-accordion-toggle.vq-nav-accordion-open > span > i,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="business"] .vq-nav-accordion-toggle[aria-expanded="true"] > span > i,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="studio"] .vq-nav-accordion-toggle.active > .bi-chevron-down,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="studio"] .vq-nav-accordion-toggle.vq-nav-accordion-open > .bi-chevron-down,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="studio"] .vq-nav-accordion-toggle[aria-expanded="true"] > .bi-chevron-down,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="business"] .vq-nav-accordion-toggle.active > .bi-chevron-down,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="business"] .vq-nav-accordion-toggle.vq-nav-accordion-open > .bi-chevron-down,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="business"] .vq-nav-accordion-toggle[aria-expanded="true"] > .bi-chevron-down {
  color: #f3f6f9 !important;
  background: transparent !important;
  border-color: #f3f6f9 !important;
}

/* ============================================================================
   AstruHome dark sidebar Decor Studio / Business active marker fix
   Keep the existing selected top-level background (#1A1D21), the very light text,
   and all second-level item styling. Replace the visible glyph icon on the
   selected/open Decor Studio and Business level-1 buttons with the same solid
   rectangular accent marker used by the other active level-1 groups.
============================================================================ */
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="studio"] .vq-nav-accordion-toggle.active > span > i,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="studio"] .vq-nav-accordion-toggle.vq-nav-accordion-open > span > i,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="studio"] .vq-nav-accordion-toggle[aria-expanded="true"] > span > i,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="business"] .vq-nav-accordion-toggle.active > span > i,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="business"] .vq-nav-accordion-toggle.vq-nav-accordion-open > span > i,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="business"] .vq-nav-accordion-toggle[aria-expanded="true"] > span > i {
  display: inline-block !important;
  flex: 0 0 .64rem !important;
  width: .64rem !important;
  min-width: .64rem !important;
  height: 1.18rem !important;
  border-radius: .22rem !important;
  background: var(--ah-tool-sidebar-amber, #f7b84b) !important;
  border: 0 !important;
  color: transparent !important;
  line-height: 1 !important;
  font-size: 0 !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="studio"] .vq-nav-accordion-toggle.active > span > i::before,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="studio"] .vq-nav-accordion-toggle.vq-nav-accordion-open > span > i::before,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="studio"] .vq-nav-accordion-toggle[aria-expanded="true"] > span > i::before,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="business"] .vq-nav-accordion-toggle.active > span > i::before,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="business"] .vq-nav-accordion-toggle.vq-nav-accordion-open > span > i::before,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-item[data-sd-nav-group="business"] .vq-nav-accordion-toggle[aria-expanded="true"] > span > i::before {
  content: "" !important;
  display: none !important;
}

/* ============================================================================
   AstruHome light-mode 50%-darker text completion
   Extends the 50%-darker neutral text treatment to public/light pages and to
   remaining shared components in the logged-in content column. The semi-dark
   sidebar and white text on solid accent controls are intentionally preserved.
============================================================================ */
html[data-bs-theme="light"] body:not(.vq-app),
html[data-bs-theme="light"] body.vq-app .vq-main {
  --bs-body-color: #2f2d36;
  --bs-body-color-rgb: 47,45,54;
  --bs-emphasis-color: #25232b;
  --bs-emphasis-color-rgb: 37,35,43;
  --bs-heading-color: #25232b;
  --bs-secondary-color: #26232e;
  --bs-secondary-rgb: 38,35,46;
  --bs-tertiary-color: #545557;
  --vq-text: #2f2d36;
  --vq-muted: #26232e;
  color: #2f2d36 !important;
}

html[data-bs-theme="light"] body:not(.vq-app) h1,
html[data-bs-theme="light"] body:not(.vq-app) h2,
html[data-bs-theme="light"] body:not(.vq-app) h3,
html[data-bs-theme="light"] body:not(.vq-app) h4,
html[data-bs-theme="light"] body:not(.vq-app) h5,
html[data-bs-theme="light"] body:not(.vq-app) h6,
html[data-bs-theme="light"] body.vq-app .vq-main h1,
html[data-bs-theme="light"] body.vq-app .vq-main h2,
html[data-bs-theme="light"] body.vq-app .vq-main h3,
html[data-bs-theme="light"] body.vq-app .vq-main h4,
html[data-bs-theme="light"] body.vq-app .vq-main h5,
html[data-bs-theme="light"] body.vq-app .vq-main h6 {
  color: #25232b !important;
}

html[data-bs-theme="light"] body:not(.vq-app) p,
html[data-bs-theme="light"] body:not(.vq-app) li,
html[data-bs-theme="light"] body:not(.vq-app) label,
html[data-bs-theme="light"] body:not(.vq-app) .form-label,
html[data-bs-theme="light"] body:not(.vq-app) .form-check-label,
html[data-bs-theme="light"] body:not(.vq-app) .card-text,
html[data-bs-theme="light"] body:not(.vq-app) .table,
html[data-bs-theme="light"] body:not(.vq-app) .table td,
html[data-bs-theme="light"] body:not(.vq-app) .table th,
html[data-bs-theme="light"] body:not(.vq-app) .navbar,
html[data-bs-theme="light"] body:not(.vq-app) .nav-link,
html[data-bs-theme="light"] body:not(.vq-app) .navbar-brand,
html[data-bs-theme="light"] body:not(.vq-app) .dropdown-item,
html[data-bs-theme="light"] body:not(.vq-app) .accordion-button,
html[data-bs-theme="light"] body:not(.vq-app) .list-group-item,
html[data-bs-theme="light"] body:not(.vq-app) .modal-body,
html[data-bs-theme="light"] body:not(.vq-app) .offcanvas-body,
html[data-bs-theme="light"] body.vq-app .vq-main .navbar,
html[data-bs-theme="light"] body.vq-app .vq-main .nav-link,
html[data-bs-theme="light"] body.vq-app .vq-main .navbar-brand,
html[data-bs-theme="light"] body.vq-app .vq-main .dropdown-item,
html[data-bs-theme="light"] body.vq-app .vq-main .accordion-button,
html[data-bs-theme="light"] body.vq-app .vq-main .list-group-item,
html[data-bs-theme="light"] body.vq-app .vq-main .modal-body,
html[data-bs-theme="light"] body.vq-app .vq-main .offcanvas-body {
  color: #2f2d36 !important;
}

html[data-bs-theme="light"] body:not(.vq-app) .text-secondary,
html[data-bs-theme="light"] body:not(.vq-app) .small.text-secondary,
html[data-bs-theme="light"] body:not(.vq-app) .text-body-secondary,
html[data-bs-theme="light"] body:not(.vq-app) .small.text-body-secondary,
html[data-bs-theme="light"] body:not(.vq-app) .lead.text-secondary,
html[data-bs-theme="light"] body:not(.vq-app) .link-secondary,
html[data-bs-theme="light"] body:not(.vq-app) .form-text,
html[data-bs-theme="light"] body:not(.vq-app) .text-muted,
html[data-bs-theme="light"] body:not(.vq-app) .card-subtitle,
html[data-bs-theme="light"] body.vq-app .vq-main .text-secondary,
html[data-bs-theme="light"] body.vq-app .vq-main .small.text-secondary,
html[data-bs-theme="light"] body.vq-app .vq-main .text-body-secondary,
html[data-bs-theme="light"] body.vq-app .vq-main .small.text-body-secondary,
html[data-bs-theme="light"] body.vq-app .vq-main .lead.text-secondary,
html[data-bs-theme="light"] body.vq-app .vq-main .link-secondary,
html[data-bs-theme="light"] body.vq-app .vq-main .form-text,
html[data-bs-theme="light"] body.vq-app .vq-main .text-muted,
html[data-bs-theme="light"] body.vq-app .vq-main .card-subtitle {
  color: #26232e !important;
}

html[data-bs-theme="light"] body:not(.vq-app) .form-control,
html[data-bs-theme="light"] body:not(.vq-app) .form-select,
html[data-bs-theme="light"] body:not(.vq-app) textarea,
html[data-bs-theme="light"] body:not(.vq-app) input,
html[data-bs-theme="light"] body:not(.vq-app) select,
html[data-bs-theme="light"] body.vq-app .vq-main .form-control,
html[data-bs-theme="light"] body.vq-app .vq-main .form-select,
html[data-bs-theme="light"] body.vq-app .vq-main textarea,
html[data-bs-theme="light"] body.vq-app .vq-main input,
html[data-bs-theme="light"] body.vq-app .vq-main select,
html[data-bs-theme="light"] body:not(.vq-app) .btn-outline-secondary,
html[data-bs-theme="light"] body:not(.vq-app) .btn-outline-light,
html[data-bs-theme="light"] body.vq-app .vq-main .btn-outline-secondary,
html[data-bs-theme="light"] body.vq-app .vq-main .btn-outline-light {
  color: #2f2d36 !important;
}

html[data-bs-theme="light"] body:not(.vq-app) .form-control::placeholder,
html[data-bs-theme="light"] body:not(.vq-app) textarea::placeholder,
html[data-bs-theme="light"] body:not(.vq-app) input::placeholder,
html[data-bs-theme="light"] body.vq-app .vq-main .form-control::placeholder,
html[data-bs-theme="light"] body.vq-app .vq-main textarea::placeholder,
html[data-bs-theme="light"] body.vq-app .vq-main input::placeholder {
  color: #545557 !important;
  opacity: 1 !important;
}

html[data-bs-theme="light"] body:not(.vq-app) .table,
html[data-bs-theme="light"] body.vq-app .vq-main .table {
  --bs-table-color: #2f2d36;
}

/* Retain deliberate white labels on solid accent surfaces. */
html[data-bs-theme="light"] body:not(.vq-app) .text-white,
html[data-bs-theme="light"] body:not(.vq-app) .btn-primary,
html[data-bs-theme="light"] body:not(.vq-app) .btn-dark,
html[data-bs-theme="light"] body:not(.vq-app) .text-bg-primary,
html[data-bs-theme="light"] body:not(.vq-app) .badge.text-bg-primary,
html[data-bs-theme="light"] body:not(.vq-app) .list-group-item.active,
html[data-bs-theme="light"] body.vq-app .vq-main .text-white,
html[data-bs-theme="light"] body.vq-app .vq-main .btn-primary,
html[data-bs-theme="light"] body.vq-app .vq-main .btn-dark,
html[data-bs-theme="light"] body.vq-app .vq-main .text-bg-primary,
html[data-bs-theme="light"] body.vq-app .vq-main .badge.text-bg-primary,
html[data-bs-theme="light"] body.vq-app .vq-main .list-group-item.active {
  color: #ffffff !important;
}

