/* /public_html/components/css/tools/tools-common.css */

.qt-tools-side,
.qt-tools-side *{
  box-sizing:border-box;
}

.qt-tools-side{
  --qts-ink:#101526;
  --qts-ink2:#1d2250;
  --qts-muted:#64708a;
  --qts-lav:#6a7eff;
  --qts-lav2:#8ea2ff;
  --qts-line:rgba(106,126,255,.15);
  --qts-line2:rgba(106,126,255,.25);
  --qts-soft:rgba(106,126,255,.075);
  --qts-card:rgba(255,255,255,.94);
  --qts-shadow:0 10px 26px rgba(24,32,64,.065);

  width:100%;
  min-width:0;
  max-width:100%;
  display:grid;
  gap:12px;
  align-self:start;
  color:var(--qts-ink);
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}

.qt-tools-side a{
  color:inherit;
  text-decoration:none;
}

.qt-tools-sidePanel{
  min-width:0;
  max-width:100%;
  display:grid;
  gap:10px;
}

.qt-tools-sideHero,
.qt-tools-sideBlock,
.qt-tools-sideCta{
  min-width:0;
  max-width:100%;
  border:1px solid var(--qts-line);
  border-radius:20px;
  box-shadow:var(--qts-shadow);
  overflow:hidden;
}

.qt-tools-sideHero{
  padding:14px;
  background:
    radial-gradient(240px 100px at 0 0,rgba(106,126,255,.10),transparent 68%),
    linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,250,255,.95));
}

.qt-tools-sideHero > span{
  display:inline-flex;
  align-items:center;
  max-width:100%;
  min-height:22px;
  padding:0 8px;
  border-radius:999px;
  color:var(--qts-lav);
  background:rgba(106,126,255,.085);
  font-size:9.5px;
  line-height:1;
  font-weight:1000;
  letter-spacing:.08em;
  text-transform:uppercase;
  white-space:nowrap;
}

.qt-tools-sideHero strong{
  display:block;
  margin-top:9px;
  color:var(--qts-ink2);
  font-size:19px;
  line-height:1.05;
  font-weight:1000;
  letter-spacing:-.035em;
}

.qt-tools-sideHero p{
  margin:8px 0 0;
  color:var(--qts-muted);
  font-size:12px;
  line-height:1.45;
  font-weight:700;
  overflow-wrap:anywhere;
}

.qt-tools-sideStats{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px;
  margin-top:11px;
}

.qt-tools-sideStats div{
  min-width:0;
  min-height:54px;
  display:grid;
  align-content:center;
  padding:8px 9px;
  border:1px solid rgba(106,126,255,.12);
  border-radius:14px;
  background:#fff;
}

.qt-tools-sideStats b{
  display:block;
  color:var(--qts-ink2);
  font-size:22px;
  line-height:1;
  font-weight:1000;
  letter-spacing:-.04em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.qt-tools-sideStats small{
  display:block;
  margin-top:5px;
  color:var(--qts-muted);
  font-size:10px;
  line-height:1;
  font-weight:900;
  text-transform:uppercase;
  white-space:nowrap;
}

.qt-tools-sideBlock{
  padding:12px;
  background:
    radial-gradient(220px 90px at 0 0,rgba(106,126,255,.055),transparent 70%),
    rgba(255,255,255,.95);
}

.qt-tools-sideBlock--soft{
  background:
    radial-gradient(240px 100px at 0 0,rgba(106,126,255,.08),transparent 68%),
    linear-gradient(180deg,rgba(255,255,255,.96),rgba(248,250,255,.93));
}

.qt-tools-sideHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin:0 0 9px;
}

.qt-tools-sideHead span{
  min-width:0;
  color:var(--qts-lav);
  font-size:10.5px;
  line-height:1;
  font-weight:1000;
  letter-spacing:.08em;
  text-transform:uppercase;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.qt-tools-sideHead a{
  flex:0 0 auto;
  min-height:24px;
  display:inline-flex;
  align-items:center;
  padding:0 8px;
  border-radius:999px;
  color:var(--qts-lav);
  background:rgba(106,126,255,.08);
  font-size:10.5px;
  line-height:1;
  font-weight:950;
  white-space:nowrap;
}

.qt-tools-sideCats{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  min-width:0;
  max-width:100%;
}

.qt-tools-sideCat{
  min-width:0;
  min-height:30px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:0 8px;
  border:1px solid rgba(106,126,255,.10);
  border-radius:999px;
  color:var(--qts-ink2);
  background:rgba(106,126,255,.055);
  transition:transform .15s ease,background .15s ease,border-color .15s ease,color .15s ease;
}

.qt-tools-sideCat:hover{
  transform:translateX(1px);
  border-color:rgba(106,126,255,.24);
  background:rgba(106,126,255,.095);
  color:var(--qts-lav);
}

.qt-tools-sideCat span{
  display:block;
  max-width:95px;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:10.8px;
  line-height:1;
  font-weight:850;
}

.qt-tools-sideCat b{
  flex:0 0 auto;
  min-width:20px;
  min-height:19px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 6px;
  border-radius:999px;
  color:var(--qts-lav);
  background:#fff;
  font-size:9.5px;
  line-height:1;
  font-weight:1000;
}

.qt-tools-sideList,
.qt-tools-sideSoon{
  display:grid;
  gap:6px;
  min-width:0;
  max-width:100%;
}

.qt-tools-sideList.is-expanded{
  max-height:360px;
  overflow:auto;
  padding-right:2px;
  scrollbar-width:thin;
  scrollbar-color:rgba(106,126,255,.26) transparent;
}

.qt-tools-sideList.is-expanded::-webkit-scrollbar{
  width:5px;
}

.qt-tools-sideList.is-expanded::-webkit-scrollbar-track{
  background:transparent;
}

.qt-tools-sideList.is-expanded::-webkit-scrollbar-thumb{
  border-radius:999px;
  background:rgba(106,126,255,.24);
}

.qt-tools-sideItem{
  min-width:0;
  min-height:39px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
  padding:6px 8px;
  border:1px solid rgba(106,126,255,.10);
  border-radius:13px;
  color:var(--qts-ink2);
  background:
    radial-gradient(160px 70px at 0 0,rgba(106,126,255,.06),transparent 70%),
    rgba(255,255,255,.82);
  transition:transform .15s ease,background .15s ease,border-color .15s ease,box-shadow .15s ease;
}

.qt-tools-sideItem:hover{
  transform:translateX(1px);
  border-color:rgba(106,126,255,.24);
  background:#fff;
  box-shadow:0 8px 18px rgba(24,32,64,.055);
}

.qt-tools-sideItem.is-active{
  color:#fff;
  border-color:transparent;
  background:
    radial-gradient(120px 70px at 15% 0,rgba(255,255,255,.22),transparent 70%),
    linear-gradient(135deg,var(--qts-lav),var(--qts-lav2));
  box-shadow:0 12px 24px rgba(106,126,255,.18);
}

.qt-tools-sideItem__num{
  flex:0 0 auto;
  width:25px;
  height:25px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:9px;
  color:var(--qts-lav);
  background:rgba(106,126,255,.09);
  font-size:9.5px;
  line-height:1;
  font-weight:1000;
}

.qt-tools-sideItem.is-active .qt-tools-sideItem__num{
  color:var(--qts-lav);
  background:#fff;
}

.qt-tools-sideItem__body{
  min-width:0;
  display:block;
}

.qt-tools-sideItem__body strong{
  display:block;
  min-width:0;
  color:inherit;
  font-size:11.4px;
  line-height:1.18;
  font-weight:950;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.qt-tools-sideItem__body small{
  display:block;
  margin-top:3px;
  color:var(--qts-muted);
  font-size:9.7px;
  line-height:1;
  font-weight:850;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.qt-tools-sideItem.is-active .qt-tools-sideItem__body small{
  color:rgba(255,255,255,.80);
}

.qt-tools-sideItem__go{
  flex:0 0 auto;
  width:20px;
  height:20px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  color:var(--qts-lav);
  background:#fff;
  font-size:15px;
  line-height:1;
  font-weight:900;
}

.qt-tools-sideSoon a{
  min-width:0;
  min-height:39px;
  display:block;
  padding:7px 8px;
  border:1px solid rgba(106,126,255,.10);
  border-radius:13px;
  background:rgba(106,126,255,.05);
  transition:transform .15s ease,background .15s ease,border-color .15s ease;
}

.qt-tools-sideSoon a:hover{
  transform:translateX(1px);
  border-color:rgba(106,126,255,.22);
  background:#fff;
}

.qt-tools-sideSoon strong{
  display:block;
  color:var(--qts-ink2);
  font-size:11.2px;
  line-height:1.18;
  font-weight:950;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.qt-tools-sideSoon small{
  display:block;
  margin-top:3px;
  color:var(--qts-muted);
  font-size:9.5px;
  line-height:1;
  font-weight:850;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.qt-tools-sideMore{
  min-height:32px;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  margin-top:7px;
  border:1px solid rgba(106,126,255,.18);
  border-radius:999px;
  background:#fff;
  color:var(--qts-lav);
  font-size:11px;
  line-height:1;
  font-weight:950;
  cursor:pointer;
  transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease;
}

.qt-tools-sideMore:hover{
  transform:translateY(-1px);
  border-color:rgba(106,126,255,.32);
  box-shadow:0 8px 18px rgba(106,126,255,.08);
}

.qt-tools-sideCta{
  padding:13px;
  color:#fff;
  border-color:rgba(255,255,255,.20);
  background:
    radial-gradient(220px 100px at 0 0,rgba(255,255,255,.18),transparent 64%),
    linear-gradient(135deg,var(--qts-lav),var(--qts-lav2));
  box-shadow:0 14px 34px rgba(106,126,255,.20);
}

.qt-tools-sideCta span{
  display:block;
  color:#fff;
  font-size:10px;
  line-height:1;
  font-weight:1000;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.qt-tools-sideCta p{
  margin:8px 0 11px;
  color:rgba(255,255,255,.90);
  font-size:11.8px;
  line-height:1.45;
  font-weight:750;
  overflow-wrap:anywhere;
}

.qt-tools-sideCta a{
  min-height:35px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  max-width:100%;
  padding:0 14px;
  border-radius:999px;
  color:var(--qts-lav) !important;
  background:#fff;
  font-size:11.5px;
  line-height:1;
  font-weight:1000;
  box-shadow:0 8px 18px rgba(24,32,64,.14);
  transition:transform .15s ease,background .15s ease;
  white-space:nowrap;
}

.qt-tools-sideCta a:hover{
  transform:translateY(-1px);
  background:#f8faff;
}

@media (max-width:1120px){
  .qt-tools-side{
    display:grid;
    gap:10px;
  }

  .qt-tools-sidePanel{
    grid-template-columns:repeat(3,minmax(0,1fr));
    align-items:start;
  }

  .qt-tools-sideHero{
    height:100%;
  }

  .qt-tools-sideCta{
    grid-column:1 / -1;
  }

  .qt-tools-sideList.is-expanded{
    max-height:260px;
  }
}

@media (max-width:900px){
  .qt-tools-side{
    margin-top:4px;
  }

  .qt-tools-sidePanel{
    grid-template-columns:1fr;
  }

  .qt-tools-sideHero,
  .qt-tools-sideBlock,
  .qt-tools-sideCta{
    border-radius:17px;
  }

  .qt-tools-sideCats{
    flex-wrap:nowrap;
    overflow-x:auto;
    padding-bottom:2px;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }

  .qt-tools-sideCats::-webkit-scrollbar{
    display:none;
  }

  .qt-tools-sideCat{
    flex:0 0 auto;
  }

  .qt-tools-sideList{
    max-height:230px;
    overflow:auto;
    padding-right:2px;
    scrollbar-width:thin;
    scrollbar-color:rgba(106,126,255,.26) transparent;
  }

  .qt-tools-sideSoon{
    max-height:190px;
    overflow:auto;
    padding-right:2px;
    scrollbar-width:thin;
    scrollbar-color:rgba(106,126,255,.26) transparent;
  }

  .qt-tools-sideList::-webkit-scrollbar,
  .qt-tools-sideSoon::-webkit-scrollbar{
    width:5px;
  }

  .qt-tools-sideList::-webkit-scrollbar-thumb,
  .qt-tools-sideSoon::-webkit-scrollbar-thumb{
    border-radius:999px;
    background:rgba(106,126,255,.22);
  }
}

@media (max-width:520px){
  .qt-tools-sideHero{
    padding:12px;
  }

  .qt-tools-sideHero strong{
    font-size:18px;
  }

  .qt-tools-sideHero p{
    font-size:11.8px;
  }

  .qt-tools-sideBlock,
  .qt-tools-sideCta{
    padding:11px;
  }

  .qt-tools-sideStats{
    gap:6px;
  }

  .qt-tools-sideStats div{
    min-height:50px;
    border-radius:13px;
  }

  .qt-tools-sideStats b{
    font-size:20px;
  }

  .qt-tools-sideItem{
    min-height:40px;
    border-radius:13px;
  }

  .qt-tools-sideItem__body strong{
    font-size:11.5px;
  }

  .qt-tools-sideCat span{
    font-size:11.3px;
  }
}

@media (max-width:360px){
  .qt-tools-sideStats{
    grid-template-columns:1fr;
  }

  .qt-tools-sideItem{
    grid-template-columns:auto minmax(0,1fr);
  }

  .qt-tools-sideItem__go{
    display:none;
  }
}

@media (prefers-reduced-motion:reduce){
  .qt-tools-side *,
  .qt-tools-side *::before,
  .qt-tools-side *::after{
    transition:none !important;
    scroll-behavior:auto !important;
  }
}