/* =========================================================
   QUANTAPS TR — FREE TOOLS SHARED LAYOUT
   Hub + 24 tool pages
========================================================= */

:root{
  --qt-tool-max:1320px;
  --qt-tool-pad:clamp(14px,2vw,24px);
  --qt-tool-line:#e5eaf2;
  --qt-tool-soft:#f6f8fc;
  --qt-tool-ink:#172033;
  --qt-tool-muted:#647087;
  --qt-tool-brand:#5b4cf0;
  --qt-tool-brand-soft:#eeecff;
  --qt-tool-radius:20px;
  --qt-tool-shadow:0 16px 44px rgba(26,37,64,.08);
}

body.qt-tools-page{
  background:#f7f9fc;
  color:var(--qt-tool-ink);
}

body.qt-tools-page :where(input,select,textarea,button){font:inherit}
body.qt-tools-page :where(a,button){-webkit-tap-highlight-color:transparent}
body.qt-tools-page :where(a,button,input,select,textarea):focus-visible{
  outline:3px solid rgba(91,76,240,.22);
  outline-offset:2px;
}

/* Shared outer frame for every existing tool prefix. */
body.qt-tool-page > main,
body.qt-tool-page main[class^="qt-"]{
  width:100%;
  padding:18px 0 56px;
}

body.qt-tool-page main > section[class$="-shell"],
body.qt-tool-page main > .qt-tool-shell{
  width:min(var(--qt-tool-max),calc(100% - (var(--qt-tool-pad) * 2)));
  margin-inline:auto;
}

body.qt-tool-page nav[class$="-breadcrumb"],
.qt-tool-breadcrumb,
.qt-tools-breadcrumb{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  min-height:32px;
  margin:0 0 12px;
  color:var(--qt-tool-muted);
  font-size:13px;
}

body.qt-tool-page nav[class$="-breadcrumb"] a,
.qt-tools-breadcrumb a{color:inherit;text-decoration:none}
body.qt-tool-page nav[class$="-breadcrumb"] a:hover,
.qt-tools-breadcrumb a:hover{color:var(--qt-tool-brand)}

body.qt-tool-page div[class$="-layout"]{
  display:grid;
  grid-template-columns:minmax(0,1fr) 286px;
  align-items:start;
  gap:20px;
}

body.qt-tool-page section[class$="-main"]{min-width:0}

/* Compact hero, while preserving each page's own mark. */
body.qt-tool-page section[class$="-hero"]{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  min-height:150px;
  margin:0 0 14px;
  padding:clamp(20px,3vw,32px);
  border:1px solid var(--qt-tool-line);
  border-radius:var(--qt-tool-radius);
  background:
    radial-gradient(circle at 92% 15%,rgba(91,76,240,.12),transparent 34%),
    linear-gradient(135deg,#fff 0%,#f7f7ff 100%);
  box-shadow:0 10px 30px rgba(26,37,64,.055);
  overflow:hidden;
}

body.qt-tool-page section[class$="-hero"] > div:first-child{max-width:780px}
body.qt-tool-page section[class$="-hero"] :where(.qt-char-kicker,[class$="-kicker"]){
  display:block;
  margin:0 0 7px;
  color:var(--qt-tool-brand);
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
body.qt-tool-page section[class$="-hero"] h1{
  margin:0;
  color:var(--qt-tool-ink);
  font-size:clamp(28px,4vw,44px);
  line-height:1.08;
  letter-spacing:-.035em;
}
body.qt-tool-page section[class$="-hero"] h1 + p,
body.qt-tool-page section[class$="-hero"] > div:first-child > p:last-child{
  max-width:760px;
  margin:11px 0 0;
  color:var(--qt-tool-muted);
  font-size:15px;
  line-height:1.7;
}
body.qt-tool-page section[class$="-hero"] > div:last-child:not(:first-child){flex:0 0 auto}

/* Workspace card and universal form controls. */
body.qt-tool-page section[class$="-tool"],
body.qt-tool-page section.qt-yp-result{
  margin:0 0 14px;
  padding:clamp(18px,2.5vw,28px);
  border:1px solid var(--qt-tool-line);
  border-radius:var(--qt-tool-radius);
  background:#fff;
  box-shadow:var(--qt-tool-shadow);
}

body.qt-tool-page section[class$="-tool"] :where(label){
  color:#303a4e;
  font-size:13px;
  font-weight:750;
}
body.qt-tool-page section[class$="-tool"] :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea){
  width:100%;
  min-height:46px;
  border:1px solid #dbe1eb;
  border-radius:12px;
  background:#fff;
  color:var(--qt-tool-ink);
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
body.qt-tool-page section[class$="-tool"] :where(input:not([type="checkbox"]):not([type="radio"]),select){padding:0 13px}
body.qt-tool-page section[class$="-tool"] textarea{padding:12px 13px;line-height:1.58;resize:vertical}
body.qt-tool-page section[class$="-tool"] :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea):focus{
  border-color:rgba(91,76,240,.72);
  box-shadow:0 0 0 4px rgba(91,76,240,.10);
  outline:0;
}
body.qt-tool-page section[class$="-tool"] button{
  min-height:43px;
  border-radius:11px;
  font-weight:750;
  cursor:pointer;
}

/* Guide and related areas. */
body.qt-tool-page :where(section[class$="-guide"],section.qt-char-miniGuide){
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin:0 0 14px;
}
body.qt-tool-page :where(section[class$="-guide"],section.qt-char-miniGuide) > div{
  min-width:0;
  padding:16px;
  border:1px solid var(--qt-tool-line);
  border-radius:15px;
  background:#fff;
}
body.qt-tool-page :where(section[class$="-guide"],section.qt-char-miniGuide) b{
  display:block;
  margin:0 0 5px;
  font-size:14px;
}
body.qt-tool-page :where(section[class$="-guide"],section.qt-char-miniGuide) span{
  color:var(--qt-tool-muted);
  font-size:13px;
  line-height:1.55;
}

body.qt-tool-page section[class$="-related"]{
  margin:0 0 14px;
  padding:20px;
  border:1px solid var(--qt-tool-line);
  border-radius:var(--qt-tool-radius);
  background:#fff;
}
body.qt-tool-page section[class$="-related"] [class$="-sectionHead"]{margin-bottom:12px}
body.qt-tool-page section[class$="-related"] [class$="-sectionHead"] p{
  margin:0 0 4px;
  color:var(--qt-tool-brand);
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
}
body.qt-tool-page section[class$="-related"] [class$="-sectionHead"] h2{
  margin:0;
  font-size:clamp(20px,3vw,27px);
  letter-spacing:-.025em;
}
body.qt-tool-page section[class$="-related"] [class$="-relatedGrid"]{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
body.qt-tool-page section[class$="-related"] [class$="-relatedItem"]{
  display:flex;
  flex-direction:column;
  gap:5px;
  min-height:118px;
  padding:15px;
  border:1px solid var(--qt-tool-line);
  border-radius:14px;
  color:inherit;
  text-decoration:none;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
body.qt-tool-page section[class$="-related"] [class$="-relatedItem"]:hover{
  transform:translateY(-2px);
  border-color:rgba(91,76,240,.36);
  box-shadow:0 10px 24px rgba(26,37,64,.07);
}
body.qt-tool-page section[class$="-related"] [class$="-relatedItem"] span{
  color:var(--qt-tool-brand);
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
}
body.qt-tool-page section[class$="-related"] [class$="-relatedItem"] b{font-size:14px}
body.qt-tool-page section[class$="-related"] [class$="-relatedItem"] em{
  color:var(--qt-tool-muted);
  font-size:12px;
  font-style:normal;
  line-height:1.5;
}

/* Shared follow-up block. */
.qt-tool-followup{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(300px,.85fr) auto;
  align-items:center;
  gap:18px;
  margin:0;
  padding:20px;
  border:1px solid #dfe3ff;
  border-radius:var(--qt-tool-radius);
  background:linear-gradient(135deg,#f7f7ff,#fff);
}
.qt-tool-followup__copy span{color:var(--qt-tool-brand);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.qt-tool-followup__copy h2{margin:5px 0 6px;font-size:20px;letter-spacing:-.02em}
.qt-tool-followup__copy p{margin:0;color:var(--qt-tool-muted);font-size:13px;line-height:1.55}
.qt-tool-followup__links{display:grid;gap:6px}
.qt-tool-followup__links a{
  display:flex;align-items:center;gap:9px;padding:8px 10px;border-radius:10px;color:inherit;text-decoration:none;background:rgba(255,255,255,.72)
}
.qt-tool-followup__links a:hover{background:#fff}
.qt-tool-followup__links span{display:grid;place-items:center;width:26px;height:26px;color:var(--qt-tool-brand)}
.qt-tool-followup__links svg{width:18px;height:18px}
.qt-tool-followup__links b{font-size:12px}
.qt-tool-followup__all{
  display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 14px;border-radius:11px;background:var(--qt-tool-brand);color:#fff;text-decoration:none;font-size:13px;font-weight:800;white-space:nowrap
}

/* Shared sidebar. */
.qt-tools-side{position:sticky;top:92px;display:grid;gap:12px;min-width:0}
.qt-tools-sidePanel,.qt-tools-sideCta{border:1px solid var(--qt-tool-line);border-radius:18px;background:#fff;overflow:hidden}
.qt-tools-sideHero{padding:17px;border-bottom:1px solid var(--qt-tool-line);background:linear-gradient(145deg,#fff,#f5f4ff)}
.qt-tools-sideHero > span{display:block;color:var(--qt-tool-brand);font-size:10px;font-weight:850;letter-spacing:.09em;text-transform:uppercase}
.qt-tools-sideHero > strong{display:block;margin:5px 0 6px;font-size:19px;letter-spacing:-.02em}
.qt-tools-sideHero > p{margin:0;color:var(--qt-tool-muted);font-size:12px;line-height:1.52}
.qt-tools-sideAll{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding:10px 11px;border-radius:11px;background:var(--qt-tool-brand);color:#fff;text-decoration:none;font-size:12px;font-weight:800}
.qt-tools-sideAll b{display:grid;place-items:center;min-width:26px;height:24px;padding:0 6px;border-radius:8px;background:rgba(255,255,255,.18)}
.qt-tools-sideSearch{padding:12px 13px 8px}
.qt-tools-sideSearch label{display:block;margin-bottom:5px;color:var(--qt-tool-muted);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.07em}
.qt-tools-sideSearch input{width:100%;height:38px;padding:0 11px;border:1px solid var(--qt-tool-line);border-radius:10px;background:var(--qt-tool-soft);font-size:12px}
.qt-tools-sideList{display:grid;gap:3px;padding:5px 8px 9px}
.qt-tools-sideItem{display:grid;grid-template-columns:30px minmax(0,1fr) 15px;align-items:center;gap:8px;padding:8px;border-radius:10px;color:inherit;text-decoration:none}
.qt-tools-sideItem:hover{background:var(--qt-tool-soft)}
.qt-tools-sideItem.is-active{background:var(--qt-tool-brand-soft);color:#4738d5}
.qt-tools-sideItem__icon{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#f0f2f8;color:#59637a}
.qt-tools-sideItem.is-active .qt-tools-sideItem__icon{background:#fff;color:var(--qt-tool-brand)}
.qt-tools-sideItem__icon svg{width:17px;height:17px}
.qt-tools-sideItem__body{min-width:0}
.qt-tools-sideItem__body strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.qt-tools-sideItem__body small{display:block;margin-top:2px;color:var(--qt-tool-muted);font-size:10px}
.qt-tools-sideItem__go{color:#9ba4b7;font-size:18px}
.qt-tools-sideMore{width:calc(100% - 16px);min-height:36px;margin:0 8px 10px;border:0;border-radius:10px;background:var(--qt-tool-soft);color:#4f5a70;font-size:11px;font-weight:800;cursor:pointer}
.qt-tools-sideCta{padding:15px}
.qt-tools-sideCta span{display:block;font-size:13px;font-weight:800}
.qt-tools-sideCta p{margin:5px 0 10px;color:var(--qt-tool-muted);font-size:12px;line-height:1.5}
.qt-tools-sideCta a{color:var(--qt-tool-brand);font-size:12px;font-weight:800;text-decoration:none}

/* Hub. */
.qt-tools-hub{padding:18px 0 58px}
.qt-tools-shell{width:min(var(--qt-tool-max),calc(100% - (var(--qt-tool-pad) * 2)));margin-inline:auto}
.qt-tools-hubHero__grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:stretch}
.qt-tools-hubHero__copy,.qt-tools-hubSummary{
  border:1px solid var(--qt-tool-line);border-radius:var(--qt-tool-radius);background:#fff;box-shadow:0 12px 35px rgba(26,37,64,.055)
}
.qt-tools-hubHero__copy{padding:clamp(22px,4vw,38px);background:radial-gradient(circle at 92% 12%,rgba(91,76,240,.13),transparent 34%),#fff}
.qt-tools-kicker{display:block;margin-bottom:8px;color:var(--qt-tool-brand);font-size:11px;font-weight:850;letter-spacing:.09em;text-transform:uppercase}
.qt-tools-hubHero h1{max-width:820px;margin:0;font-size:clamp(31px,4.4vw,52px);line-height:1.05;letter-spacing:-.045em}
.qt-tools-hubHero h1 + p{max-width:760px;margin:13px 0 0;color:var(--qt-tool-muted);font-size:15px;line-height:1.68}
.qt-tools-hubSearch{max-width:680px;margin-top:20px}
.qt-tools-hubSearch > label{display:block;margin-bottom:6px;font-size:12px;font-weight:800}
.qt-tools-hubSearch > div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:6px;border:1px solid var(--qt-tool-line);border-radius:14px;background:var(--qt-tool-soft)}
.qt-tools-hubSearch input{min-width:0;height:43px;padding:0 11px;border:0;background:transparent;outline:0}
.qt-tools-hubSearch button{height:43px;padding:0 14px;border:0;border-radius:10px;background:#fff;color:#526078;font-weight:750;cursor:pointer}
.qt-tools-hubSummary{display:grid;grid-template-rows:repeat(3,1fr);padding:10px}
.qt-tools-hubSummary > div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px;border-bottom:1px solid var(--qt-tool-line)}
.qt-tools-hubSummary > div:last-child{border-bottom:0}
.qt-tools-hubSummary b{font-size:25px;letter-spacing:-.03em;color:var(--qt-tool-brand)}
.qt-tools-hubSummary span{max-width:120px;color:var(--qt-tool-muted);font-size:12px;text-align:right}
.qt-tools-featureStrip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:10px}
.qt-tools-featureStrip a{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px 12px;border:1px solid var(--qt-tool-line);border-radius:13px;background:#fff;color:inherit;text-decoration:none}
.qt-tools-featureStrip a:hover{border-color:rgba(91,76,240,.35)}
.qt-tools-featureStrip span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--qt-tool-brand-soft);color:var(--qt-tool-brand)}
.qt-tools-featureStrip svg{width:19px;height:19px}
.qt-tools-featureStrip b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.qt-tools-featureStrip em{color:var(--qt-tool-brand);font-size:11px;font-style:normal;font-weight:800}
.qt-tools-catalog{padding-top:28px}
.qt-tools-catalogHead{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:13px}
.qt-tools-catalogHead > div > span{color:var(--qt-tool-brand);font-size:11px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.qt-tools-catalogHead h2{margin:5px 0 5px;font-size:clamp(25px,3.4vw,36px);letter-spacing:-.035em}
.qt-tools-catalogHead p{margin:0;color:var(--qt-tool-muted);font-size:14px}
.qt-tools-catalogHead > span{flex:0 0 auto;padding:8px 11px;border-radius:10px;background:var(--qt-tool-brand-soft);color:#4b3bd8;font-size:12px;font-weight:800}
.qt-tools-catRail{display:flex;gap:7px;overflow-x:auto;padding:2px 0 10px;scrollbar-width:thin}
.qt-tools-catRail button{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:0 11px;border:1px solid var(--qt-tool-line);border-radius:11px;background:#fff;color:#566177;font-size:12px;font-weight:750;white-space:nowrap;cursor:pointer}
.qt-tools-catRail button b{display:grid;place-items:center;min-width:22px;height:21px;padding:0 5px;border-radius:7px;background:var(--qt-tool-soft);font-size:10px}
.qt-tools-catRail button.is-active{border-color:var(--qt-tool-brand);background:var(--qt-tool-brand);color:#fff}
.qt-tools-catRail button.is-active b{background:rgba(255,255,255,.18)}
.qt-tools-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.qt-tools-card{display:grid;grid-template-columns:42px minmax(0,1fr) 18px;align-items:start;gap:12px;min-height:142px;padding:17px;border:1px solid var(--qt-tool-line);border-radius:16px;background:#fff;color:inherit;text-decoration:none;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.qt-tools-card:hover{transform:translateY(-2px);border-color:rgba(91,76,240,.34);box-shadow:0 13px 28px rgba(26,37,64,.07)}
.qt-tools-cardIcon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--qt-tool-brand-soft);color:var(--qt-tool-brand)}
.qt-tools-cardIcon svg{width:22px;height:22px}
.qt-tools-cardBody{min-width:0}
.qt-tools-cardBody small{display:block;margin-bottom:5px;color:var(--qt-tool-brand);font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.07em}
.qt-tools-cardBody strong{display:block;margin-bottom:6px;font-size:15px}
.qt-tools-cardBody > span{display:block;color:var(--qt-tool-muted);font-size:12px;line-height:1.55}
.qt-tools-cardGo{align-self:center;color:#a0a8ba;font-size:22px}
.qt-tools-empty{padding:30px;border:1px dashed #cdd4e2;border-radius:16px;background:#fff;text-align:center}
.qt-tools-empty b,.qt-tools-empty span{display:block}.qt-tools-empty span{margin-top:5px;color:var(--qt-tool-muted);font-size:13px}
.qt-tools-hubNote{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-top:18px;padding:20px 22px;border:1px solid #dfe3ff;border-radius:18px;background:linear-gradient(135deg,#f6f5ff,#fff)}
.qt-tools-hubNote span{color:var(--qt-tool-brand);font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.qt-tools-hubNote h2{margin:5px 0 6px;font-size:21px;letter-spacing:-.025em}
.qt-tools-hubNote p{max-width:790px;margin:0;color:var(--qt-tool-muted);font-size:13px;line-height:1.55}
.qt-tools-hubNote a{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 15px;border-radius:11px;background:var(--qt-tool-brand);color:#fff;text-decoration:none;font-size:12px;font-weight:800}

@media (max-width:1080px){
  body.qt-tool-page div[class$="-layout"]{grid-template-columns:minmax(0,1fr) 255px;gap:14px}
  .qt-tool-followup{grid-template-columns:1fr}.qt-tool-followup__links{grid-template-columns:repeat(3,minmax(0,1fr))}
  .qt-tools-hubHero__grid{grid-template-columns:minmax(0,1fr) 260px}
  .qt-tools-featureStrip{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:860px){
  body.qt-tool-page > main,body.qt-tool-page main[class^="qt-"]{padding-top:10px}
  body.qt-tool-page div[class$="-layout"]{display:flex;flex-direction:column}
  body.qt-tool-page section[class$="-main"]{width:100%}
  .qt-tools-side{position:static;width:100%;order:2}
  .qt-tools-sidePanel{display:grid;grid-template-columns:230px minmax(0,1fr);align-items:start}
  .qt-tools-sideHero{height:100%;border-right:1px solid var(--qt-tool-line);border-bottom:0}
  .qt-tools-sideSearch{grid-column:2;padding-bottom:5px}
  .qt-tools-sideList{grid-column:2;grid-template-columns:repeat(2,minmax(0,1fr));max-height:310px;overflow:auto}
  .qt-tools-sideMore{grid-column:2}
  .qt-tools-sideCta{display:flex;align-items:center;justify-content:space-between;gap:15px}.qt-tools-sideCta p{margin:0;flex:1}
  .qt-tools-hubHero__grid{grid-template-columns:1fr}.qt-tools-hubSummary{grid-template-columns:repeat(3,1fr);grid-template-rows:none}.qt-tools-hubSummary > div{border-right:1px solid var(--qt-tool-line);border-bottom:0}.qt-tools-hubSummary > div:last-child{border-right:0}
  .qt-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:640px){
  :root{--qt-tool-pad:12px;--qt-tool-radius:16px}
  body.qt-tool-page section[class$="-hero"]{min-height:0;padding:18px}
  body.qt-tool-page section[class$="-hero"] > div:last-child:not(:first-child){display:none}
  body.qt-tool-page section[class$="-hero"] h1{font-size:29px}
  body.qt-tool-page section[class$="-tool"]{padding:15px}
  body.qt-tool-page :where(section[class$="-guide"],section.qt-char-miniGuide){grid-template-columns:1fr}
  body.qt-tool-page section[class$="-related"]{padding:15px}
  body.qt-tool-page section[class$="-related"] [class$="-relatedGrid"]{grid-template-columns:1fr}
  .qt-tool-followup{padding:16px}.qt-tool-followup__links{grid-template-columns:1fr}.qt-tool-followup__all{width:100%}
  .qt-tools-sidePanel{display:block}.qt-tools-sideHero{border-right:0;border-bottom:1px solid var(--qt-tool-line)}
  .qt-tools-sideSearch{padding:10px 12px 5px}
  .qt-tools-sideList{display:flex;overflow-x:auto;max-height:none;padding:6px 10px 10px;scroll-snap-type:x proximity}
  .qt-tools-sideItem{flex:0 0 210px;scroll-snap-align:start;border:1px solid var(--qt-tool-line)}
  .qt-tools-sideCta{display:block}.qt-tools-sideCta p{margin:5px 0 9px}
  .qt-tools-hub{padding-top:10px}
  .qt-tools-hubHero__copy{padding:20px}.qt-tools-hubHero h1{font-size:34px}.qt-tools-hubHero h1 + p{font-size:14px}
  .qt-tools-hubSearch > div{grid-template-columns:1fr}.qt-tools-hubSearch button{display:none}
  .qt-tools-hubSummary{grid-template-columns:1fr}.qt-tools-hubSummary > div{border-right:0;border-bottom:1px solid var(--qt-tool-line);padding:11px 13px}.qt-tools-hubSummary b{font-size:20px}
  .qt-tools-featureStrip{display:flex;overflow-x:auto;padding-bottom:3px}.qt-tools-featureStrip a{flex:0 0 238px}
  .qt-tools-catalog{padding-top:22px}.qt-tools-catalogHead{display:block}.qt-tools-catalogHead > span{display:inline-flex;margin-top:10px}
  .qt-tools-grid{grid-template-columns:1fr}.qt-tools-card{min-height:0;padding:15px}
  .qt-tools-hubNote{display:block;padding:17px}.qt-tools-hubNote a{width:100%;margin-top:13px}
}

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

/* =========================================================
   MOBILE HARDENING — 24 TOOL AUDIT
   Loaded after every tool-specific stylesheet.
========================================================= */
body.qt-tool-page{
  overflow-x:clip;
}

body.qt-tool-page :where(*, *::before, *::after){
  box-sizing:border-box;
}

body.qt-tool-page :where(
  main,
  section,
  article,
  aside,
  form,
  fieldset,
  div,
  nav
){
  min-width:0;
}

body.qt-tool-page :where(img,svg,canvas,video,iframe){
  max-width:100%;
}

body.qt-tool-page :where(pre,code,.qt-wa-output,.qt-qr-output,.qt-nick-item,.qt-user-card){
  overflow-wrap:anywhere;
  word-break:break-word;
}

body.qt-tool-page :where(
  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea,
  button
){
  max-width:100%;
}

.qt-tools-sideToggle{
  display:none;
  width:100%;
  min-height:44px;
  padding:0 13px;
  border:0;
  border-top:1px solid var(--qt-tool-line);
  border-bottom:1px solid var(--qt-tool-line);
  background:#fff;
  color:var(--qt-tool-ink);
  cursor:pointer;
}

.qt-tools-sideToggle span,
.qt-tools-sideToggle b{
  font-size:12px;
}

.qt-tools-sideToggle span{font-weight:800}
.qt-tools-sideToggle b{color:var(--qt-tool-brand)}
.qt-tools-sideBody{min-width:0}

/* Tablet: tool first, supporting navigation second. */
@media (max-width:980px){
  body.qt-tool-page > main,
  body.qt-tool-page main[class^="qt-"]{
    padding-bottom:38px;
  }

  body.qt-tool-page main > section[class$="-shell"],
  body.qt-tool-page main > .qt-tool-shell{
    width:min(var(--qt-tool-max),calc(100% - 24px));
  }

  body.qt-tool-page div[class$="-layout"]{
    display:grid;
    grid-template-columns:minmax(0,1fr)!important;
    gap:14px!important;
  }

  body.qt-tool-page section[class$="-main"]{
    width:100%;
  }

  .qt-tools-side{
    position:static;
    top:auto;
    width:100%;
    order:2;
  }

  .qt-tools-sidePanel{
    display:block;
  }

  .qt-tools-sideHero{
    height:auto;
    border-right:0;
    border-bottom:1px solid var(--qt-tool-line);
  }

  .qt-tools-sideSearch,
  .qt-tools-sideList,
  .qt-tools-sideMore{
    grid-column:auto;
  }

  .qt-tools-sideList{
    grid-template-columns:repeat(3,minmax(0,1fr));
    max-height:none;
    overflow:visible;
  }

  /* Wide workspaces and preview combinations. */
  body.qt-tool-page :where(
    .qt-pfr-work,
    .qt-qr-work,
    .qt-imgc-work,
    .qt-yt-work,
    .qt-wa-topGrid,
    .qt-yp-inputGrid,
    .qt-bio-preview,
    .qt-tbio-preview,
    .qt-give-output
  ){
    grid-template-columns:minmax(0,1fr)!important;
  }

  body.qt-tool-page :where(
    .qt-bio-phone,
    .qt-tbio-phone,
    .qt-wa-phone,
    .qt-qr-preview,
    .qt-imgc-preview
  ){
    width:min(100%,430px);
    margin-inline:auto;
  }

  body.qt-tool-page :where(
    .qt-poll-formGrid,
    .qt-cap-form,
    .qt-give-form,
    .qt-hash-form,
    .qt-bio-form,
    .qt-time-form,
    .qt-user-form,
    .qt-reels-formGrid,
    .qt-tbio-form,
    .qt-tth-formGrid,
    .qt-yt-title-formGrid,
    .qt-cal-form
  ){
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  body.qt-tool-page :where(
    .qt-poll-output,
    .qt-reels-results,
    .qt-user-results,
    .qt-tth-results,
    .qt-yt-title-results
  ){
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

/* Phone and narrow tablet: compact, touch-safe single-column UI. */
@media (max-width:760px){
  :root{
    --qt-tool-pad:10px;
    --qt-tool-radius:15px;
  }

  body.qt-tool-page > main,
  body.qt-tool-page main[class^="qt-"]{
    padding:8px 0 30px;
  }

  body.qt-tool-page main > section[class$="-shell"],
  body.qt-tool-page main > .qt-tool-shell{
    width:calc(100% - 20px)!important;
    padding-left:0!important;
    padding-right:0!important;
  }

  body.qt-tool-page nav[class$="-breadcrumb"],
  .qt-tool-breadcrumb,
  .qt-tools-breadcrumb{
    flex-wrap:nowrap;
    overflow-x:auto;
    white-space:nowrap;
    min-height:28px;
    margin-bottom:9px;
    padding:0 1px 3px;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }

  body.qt-tool-page nav[class$="-breadcrumb"]::-webkit-scrollbar,
  .qt-tools-breadcrumb::-webkit-scrollbar{
    display:none;
  }

  body.qt-tool-page section[class$="-hero"]{
    display:block!important;
    min-height:0!important;
    margin-bottom:10px;
    padding:16px!important;
    border-radius:15px!important;
  }

  body.qt-tool-page section[class$="-hero"] > div:first-child{
    max-width:none;
  }

  body.qt-tool-page section[class$="-hero"] > div:last-child:not(:first-child){
    display:none!important;
  }

  body.qt-tool-page section[class$="-hero"] h1{
    font-size:clamp(25px,8vw,31px)!important;
    line-height:1.08!important;
    overflow-wrap:anywhere;
  }

  body.qt-tool-page section[class$="-hero"] h1 + p,
  body.qt-tool-page section[class$="-hero"] > div:first-child > p:last-child{
    margin-top:8px;
    font-size:13px!important;
    line-height:1.55!important;
  }

  body.qt-tool-page section[class$="-tool"],
  body.qt-tool-page section.qt-yp-result{
    margin-bottom:10px;
    padding:13px!important;
    border-radius:15px!important;
    box-shadow:0 9px 25px rgba(26,37,64,.06);
  }

  body.qt-tool-page section[class$="-tool"] :where(
    input:not([type="checkbox"]):not([type="radio"]),
    select,
    textarea
  ){
    min-height:44px;
    font-size:16px;
  }

  body.qt-tool-page section[class$="-tool"] textarea{
    min-height:118px;
  }

  body.qt-tool-page section[class$="-tool"] button,
  body.qt-tool-page :where([class$="-actions"],[class$="-headActions"]) :where(button,a){
    min-height:44px;
  }

  /* Every multi-field form becomes one clear mobile flow. */
  body.qt-tool-page :where(
    .qt-poll-formGrid,
    .qt-cap-form,
    .qt-give-form,
    .qt-hash-form,
    .qt-bio-form,
    .qt-time-form,
    .qt-user-form,
    .qt-reels-formGrid,
    .qt-tbio-form,
    .qt-tth-formGrid,
    .qt-yt-title-formGrid,
    .qt-cal-form,
    .qt-qr-settings,
    .qt-pfr-gridControls,
    .qt-wa-form
  ){
    grid-template-columns:minmax(0,1fr)!important;
  }

  /* Option/stat blocks remain scannable without horizontal overflow. */
  body.qt-tool-page :where(
    .qt-cap-switches,
    .qt-give-checks,
    .qt-clean-options,
    .qt-user-options,
    .qt-wa-options,
    .qt-tth-switches,
    .qt-yt-title-switches,
    .qt-char-stats,
    .qt-clean-stats,
    .qt-wa-miniStats,
    .qt-yp-stats,
    .qt-cap-summary,
    .qt-hash-summary,
    .qt-imgc-summary,
    .qt-reels-summary,
    .qt-time-slots,
    .qt-time-plan,
    .qt-tth-score,
    .qt-yt-title-score,
    .qt-imgc-controls,
    .qt-imgc-grid
  ){
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  body.qt-tool-page :where(
    .qt-poll-output,
    .qt-reels-results,
    .qt-user-results,
    .qt-tth-results,
    .qt-yt-title-results,
    .qt-nick-results
  ){
    grid-template-columns:minmax(0,1fr)!important;
  }

  /* Input + button rows. */
  body.qt-tool-page :where(
    .qt-nick-inputWrap,
    .qt-yt-inputWrap,
    .qt-emoji-searchBox,
    .qt-emoji-builderActions,
    .qt-give-result,
    .qt-tbio-result,
    .qt-bio-item,
    .qt-user-card,
    .qt-prof-scoreCard
  ){
    grid-template-columns:minmax(0,1fr)!important;
  }

  body.qt-tool-page :where(
    .qt-nick-inputWrap,
    .qt-yt-inputWrap,
    .qt-emoji-searchBox,
    .qt-emoji-builderActions,
    .qt-give-result,
    .qt-tbio-result,
    .qt-bio-item,
    .qt-user-card
  ) :where(button,a){
    width:100%;
  }

  /* Action groups become thumb-friendly. */
  body.qt-tool-page :where(
    .qt-bio-actions,
    .qt-cal-actions,
    .qt-cap-actions,
    .qt-clean-actions,
    .qt-clean-headActions,
    .qt-emoji-builderActions,
    .qt-give-actions,
    .qt-give-previewActions,
    .qt-hash-actions,
    .qt-imgc-actions,
    .qt-pfr-actions,
    .qt-poll-actions,
    .qt-prof-scoreActions,
    .qt-qr-actions,
    .qt-reels-actions,
    .qt-tbio-actions,
    .qt-time-actions,
    .qt-tth-actions,
    .qt-user-actions,
    .qt-wa-actions,
    .qt-yp-actions,
    .qt-yp-headActions,
    .qt-yt-previewActions,
    .qt-yt-title-actions
  ){
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:8px!important;
  }

  body.qt-tool-page :where(
    .qt-bio-actions,
    .qt-cal-actions,
    .qt-cap-actions,
    .qt-clean-actions,
    .qt-clean-headActions,
    .qt-emoji-builderActions,
    .qt-give-actions,
    .qt-give-previewActions,
    .qt-hash-actions,
    .qt-imgc-actions,
    .qt-pfr-actions,
    .qt-poll-actions,
    .qt-prof-scoreActions,
    .qt-qr-actions,
    .qt-reels-actions,
    .qt-tbio-actions,
    .qt-time-actions,
    .qt-tth-actions,
    .qt-user-actions,
    .qt-wa-actions,
    .qt-yp-actions,
    .qt-yp-headActions,
    .qt-yt-previewActions,
    .qt-yt-title-actions
  ) :where(button,a){
    width:100%!important;
    min-width:0!important;
  }

  /* Special rows that otherwise keep desktop columns. */
  body.qt-tool-page :where(
    .qt-cal-day,
    .qt-imgc-drop,
    .qt-imgc-row,
    .qt-prof-top
  ){
    grid-template-columns:minmax(0,1fr)!important;
  }

  body.qt-tool-page :where(.qt-pfr-move,.qt-pfr-presets,.qt-clean-presetRow,.qt-nick-chipRow){
    display:flex!important;
    flex-wrap:nowrap!important;
    max-width:100%;
    overflow-x:auto;
    padding-bottom:4px;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }

  body.qt-tool-page :where(.qt-pfr-move,.qt-pfr-presets,.qt-clean-presetRow,.qt-nick-chipRow)::-webkit-scrollbar{
    display:none;
  }

  body.qt-tool-page :where(.qt-pfr-move,.qt-pfr-presets,.qt-clean-presetRow,.qt-nick-chipRow) > *{
    flex:0 0 auto;
  }

  .qt-emoji-grid{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }

  body.qt-tool-page :where(.qt-bio-phone,.qt-tbio-phone,.qt-wa-phone){
    width:min(100%,360px)!important;
  }

  body.qt-tool-page :where(canvas,.qt-imgc-preview img,.qt-yt-mainImage,.qt-give-previewBox){
    height:auto!important;
  }

  body.qt-tool-page :where(section[class$="-guide"],section.qt-char-miniGuide){
    display:flex!important;
    grid-template-columns:none!important;
    gap:8px;
    max-width:100%;
    overflow-x:auto;
    padding-bottom:3px;
    scroll-snap-type:x proximity;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }

  body.qt-tool-page :where(section[class$="-guide"],section.qt-char-miniGuide)::-webkit-scrollbar{
    display:none;
  }

  body.qt-tool-page :where(section[class$="-guide"],section.qt-char-miniGuide) > div{
    flex:0 0 min(78vw,250px);
    min-width:0!important;
    min-height:auto!important;
    padding:13px;
    scroll-snap-align:start;
  }

  body.qt-tool-page section[class$="-related"]{
    margin-bottom:10px;
    padding:14px!important;
    border-radius:15px!important;
  }

  body.qt-tool-page section[class$="-related"] [class$="-relatedGrid"]{
    grid-template-columns:minmax(0,1fr)!important;
  }

  body.qt-tool-page section[class$="-related"] [class$="-relatedItem"]{
    min-height:0;
    padding:13px;
  }

  .qt-tool-followup{
    grid-template-columns:minmax(0,1fr)!important;
    gap:13px;
    padding:15px;
    border-radius:15px;
  }

  .qt-tool-followup__links{
    grid-template-columns:minmax(0,1fr)!important;
  }

  .qt-tool-followup__all{
    width:100%;
  }

  /* Compact collapsible tool navigator on phones. */
  .qt-tools-sidePanel{
    border-radius:15px;
  }

  .qt-tools-sideHero{
    padding:14px;
  }

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

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

  .qt-tools-sideAll{
    min-height:40px;
  }

  .qt-tools-sideToggle{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
  }

  html.qt-tools-js .qt-tools-sideBody{
    display:none;
  }

  html.qt-tools-js .qt-tools-sidePanel.is-open .qt-tools-sideBody{
    display:block;
  }

  .qt-tools-sideSearch{
    padding:11px 12px 6px;
  }

  .qt-tools-sideSearch input{
    height:42px;
    font-size:16px;
  }

  .qt-tools-sideList{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:4px;
    max-height:360px;
    overflow-y:auto;
    overflow-x:hidden;
    padding:6px 9px 10px;
  }

  .qt-tools-sideItem{
    width:100%;
    min-width:0;
    flex-basis:auto;
    border:0;
  }

  .qt-tools-sideMore{
    min-height:40px;
  }

  .qt-tools-sideCta{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:8px 12px;
    padding:13px;
  }

  .qt-tools-sideCta span,
  .qt-tools-sideCta p{
    grid-column:1;
  }

  .qt-tools-sideCta p{
    margin:2px 0 0;
  }

  .qt-tools-sideCta a{
    grid-column:2;
    grid-row:1 / span 2;
  }

  /* Hub refinements. */
  .qt-tools-hub{
    padding:8px 0 38px;
  }

  .qt-tools-shell{
    width:calc(100% - 20px);
  }

  .qt-tools-hubHero__copy{
    padding:18px;
    border-radius:15px;
  }

  .qt-tools-hubHero h1{
    font-size:clamp(29px,9vw,38px);
    line-height:1.08;
  }

  .qt-tools-hubHero h1 + p{
    margin-top:9px;
    font-size:13px;
    line-height:1.55;
  }

  .qt-tools-hubSummary{
    grid-template-columns:repeat(3,minmax(0,1fr));
    padding:7px;
    border-radius:15px;
  }

  .qt-tools-hubSummary > div{
    display:grid;
    justify-items:center;
    gap:3px;
    padding:10px 6px;
    border-right:1px solid var(--qt-tool-line);
    border-bottom:0;
    text-align:center;
  }

  .qt-tools-hubSummary > div:last-child{
    border-right:0;
  }

  .qt-tools-hubSummary b{
    font-size:19px;
  }

  .qt-tools-hubSummary span{
    max-width:none;
    font-size:10px;
    text-align:center;
  }

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

  .qt-tools-card{
    min-height:0;
    padding:14px;
    border-radius:14px;
  }

  .qt-tools-hubNote{
    display:block;
    padding:15px;
    border-radius:15px;
  }

  .qt-tools-hubNote a{
    width:100%;
    margin-top:12px;
  }
}

@media (max-width:460px){
  body.qt-tool-page main > section[class$="-shell"],
  body.qt-tool-page main > .qt-tool-shell,
  .qt-tools-shell{
    width:calc(100% - 16px)!important;
  }

  body.qt-tool-page section[class$="-hero"]{
    padding:14px!important;
  }

  body.qt-tool-page section[class$="-tool"],
  body.qt-tool-page section.qt-yp-result{
    padding:11px!important;
  }

  body.qt-tool-page :where(
    .qt-cap-switches,
    .qt-give-checks,
    .qt-clean-options,
    .qt-user-options,
    .qt-wa-options,
    .qt-tth-switches,
    .qt-yt-title-switches,
    .qt-clean-stats,
    .qt-cap-summary,
    .qt-hash-summary,
    .qt-imgc-summary,
    .qt-reels-summary,
    .qt-time-slots,
    .qt-time-plan,
    .qt-imgc-controls,
    .qt-imgc-grid
  ){
    grid-template-columns:minmax(0,1fr)!important;
  }

  body.qt-tool-page :where(
    .qt-char-stats,
    .qt-wa-miniStats,
    .qt-yp-stats,
    .qt-tth-score,
    .qt-yt-title-score
  ){
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  .qt-emoji-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }

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

  .qt-tools-sideCta a{
    grid-column:1;
    grid-row:auto;
  }

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

  .qt-tools-hubSummary > div{
    grid-template-columns:auto minmax(0,1fr);
    justify-items:start;
    text-align:left;
    border-right:0;
    border-bottom:1px solid var(--qt-tool-line);
  }

  .qt-tools-hubSummary > div:last-child{
    border-bottom:0;
  }

  .qt-tools-hubSummary span{
    text-align:left;
  }
}

@supports (padding:max(0px)){
  @media (max-width:760px){
    body.qt-tool-page main > section[class$="-shell"],
    body.qt-tool-page main > .qt-tool-shell,
    .qt-tools-shell{
      width:calc(100% - max(20px,env(safe-area-inset-left) + env(safe-area-inset-right)))!important;
    }
  }
}

/* ===== QFT VISUAL PARITY v2.21C ===== */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.qft-sidebar :where(button,input){font:inherit}

:root{
  --qft-max:1320px;
  --qft-pad:clamp(12px,2vw,24px);
  --qft-ink:#172033;
  --qft-muted:#667188;
  --qft-line:#e3e8f1;
  --qft-soft:#f5f7fb;
  --qft-brand:#5b4cf0;
  --qft-brand-dark:#4637d9;
  --qft-brand-soft:#efedff;
  --qft-radius:20px;
  --qft-shadow:0 18px 48px rgba(27,38,72,.08);
}
.qft{width:100%;padding:16px 0 58px;background:#f7f9fc;color:var(--qft-ink)}
.qft *{box-sizing:border-box}
.qft :where(a,button,input,select,textarea){font:inherit}
.qft :where(a,button){-webkit-tap-highlight-color:transparent}
.qft :where(a,button,input,select,textarea):focus-visible{outline:3px solid rgba(91,76,240,.22);outline-offset:2px}
.qft-shell{width:min(var(--qft-max),calc(100% - (var(--qft-pad) * 2)));margin-inline:auto;min-width:0}
.qft-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:7px;min-height:32px;margin:0 0 12px;color:var(--qft-muted);font-size:13px}
.qft-breadcrumb a{color:inherit;text-decoration:none}.qft-breadcrumb a:hover{color:var(--qft-brand)}
.qft-kicker,.qft-sectionHead>div>span{display:block;color:var(--qft-brand);font-size:11px;font-weight:850;letter-spacing:.085em;text-transform:uppercase}

/* Hub */
.qft-hubHero{overflow:hidden;border:1px solid var(--qft-line);border-radius:24px;background:radial-gradient(circle at 92% 8%,rgba(91,76,240,.16),transparent 33%),linear-gradient(135deg,#fff 0%,#f6f5ff 100%);box-shadow:0 12px 36px rgba(27,38,72,.06)}
.qft-hubHeroGrid{display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:center;gap:30px;padding:clamp(24px,4vw,46px)}
.qft-hubCopy h1{max-width:850px;margin:8px 0 12px;font-size:clamp(32px,4.5vw,56px);line-height:1.04;letter-spacing:-.045em}
.qft-hubCopy>p{max-width:760px;margin:0;color:var(--qft-muted);font-size:15px;line-height:1.7}
.qft-searchBox{position:relative;display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:10px;max-width:720px;margin-top:22px;padding:5px 6px 5px 15px;border:1px solid #dbe1ec;border-radius:15px;background:#fff;box-shadow:0 10px 24px rgba(29,39,72,.055)}
.qft-searchBox>i,.qft-sidebarSearch>i{width:15px;height:15px;border:2px solid #8a94aa;border-radius:50%;position:relative}
.qft-searchBox>i:after,.qft-sidebarSearch>i:after{content:"";position:absolute;width:6px;height:2px;right:-5px;bottom:-2px;border-radius:2px;background:#8a94aa;transform:rotate(45deg)}
.qft-searchBox input{width:100%;min-width:0;height:44px;border:0;background:transparent;color:var(--qft-ink);outline:0}
.qft-searchBox button{min-height:38px;padding:0 13px;border:0;border-radius:10px;background:var(--qft-soft);color:#4f5970;font-size:12px;font-weight:800;cursor:pointer}
.qft-statGrid{display:grid;gap:9px}
.qft-statGrid>div{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:66px;padding:13px 15px;border:1px solid rgba(219,224,238,.9);border-radius:15px;background:rgba(255,255,255,.78);backdrop-filter:blur(8px)}
.qft-statGrid b{font-size:25px;letter-spacing:-.03em}.qft-statGrid span{color:var(--qft-muted);font-size:12px;text-align:right}
.qft-featureRail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--qft-line);background:rgba(255,255,255,.78)}
.qft-featureRail a{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr) 18px;grid-template-rows:auto auto;align-items:center;column-gap:11px;min-width:0;padding:15px 17px;color:inherit;text-decoration:none;border-right:1px solid var(--qft-line);transition:background .18s ease,transform .18s ease}
.qft-featureRail a:last-child{border-right:0}.qft-featureRail a:hover{background:#fff}
.qft-featureRail a>span{grid-row:1/3;display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:var(--qft-brand-soft);color:var(--qft-brand)}
.qft-featureRail svg{width:21px;height:21px}.qft-featureRail b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.qft-featureRail small{color:var(--qft-muted);font-size:11px}.qft-featureRail i{grid-column:3;grid-row:1/3;color:#8a93a8;font-size:20px;font-style:normal}
.qft-catalog{margin-top:18px;padding:clamp(20px,3vw,30px);border:1px solid var(--qft-line);border-radius:var(--qft-radius);background:#fff;box-shadow:var(--qft-shadow)}
.qft-sectionHead{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:15px}
.qft-sectionHead h2{margin:5px 0 6px;font-size:clamp(23px,3vw,32px);letter-spacing:-.035em}.qft-sectionHead p{max-width:720px;margin:0;color:var(--qft-muted);font-size:13px;line-height:1.6}
.qft-sectionHead>b{flex:0 0 auto;padding:8px 11px;border-radius:10px;background:var(--qft-soft);color:#4e5870;font-size:12px}
.qft-filterRail{display:flex;gap:7px;overflow-x:auto;padding:2px 0 11px;scrollbar-width:none}.qft-filterRail::-webkit-scrollbar{display:none}
.qft-filterRail button{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;min-height:38px;padding:0 12px;border:1px solid var(--qft-line);border-radius:11px;background:#fff;color:#535d74;font-size:12px;font-weight:750;cursor:pointer}
.qft-filterRail button b{display:grid;place-items:center;min-width:22px;height:21px;padding:0 5px;border-radius:7px;background:var(--qft-soft);font-size:10px}.qft-filterRail button.is-active{border-color:var(--qft-brand);background:var(--qft-brand);color:#fff}.qft-filterRail button.is-active b{background:rgba(255,255,255,.18)}
.qft-cardGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.qft-cardGrid article{min-width:0}.qft-cardGrid article[hidden]{display:none!important}
.qft-cardGrid a{display:grid;grid-template-columns:48px minmax(0,1fr) 20px;align-items:center;gap:12px;min-height:118px;padding:15px;border:1px solid var(--qft-line);border-radius:15px;color:inherit;text-decoration:none;background:#fff;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.qft-cardGrid a:hover{transform:translateY(-2px);border-color:rgba(91,76,240,.34);box-shadow:0 12px 25px rgba(27,38,72,.07)}
.qft-cardIcon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:var(--qft-brand-soft);color:var(--qft-brand)}.qft-cardIcon svg{width:23px;height:23px}
.qft-cardText{min-width:0}.qft-cardText small{display:block;margin-bottom:3px;color:var(--qft-brand);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.qft-cardText b{display:block;font-size:14px}.qft-cardText em{display:-webkit-box;overflow:hidden;margin-top:4px;color:var(--qft-muted);font-size:12px;font-style:normal;line-height:1.5;-webkit-line-clamp:2;-webkit-box-orient:vertical}.qft-cardArrow{color:#8d95a8;font-size:21px}
.qft-empty{padding:28px;border:1px dashed #d8deea;border-radius:15px;background:#fafbfe;text-align:center}.qft-empty b,.qft-empty span{display:block}.qft-empty span{margin-top:5px;color:var(--qft-muted);font-size:13px}
.qft-note{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:18px;padding:22px 24px;border:1px solid #dfe3ff;border-radius:var(--qft-radius);background:linear-gradient(135deg,#f7f7ff,#fff)}
.qft-note span{color:var(--qft-brand);font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.08em}.qft-note h2{margin:5px 0 6px;font-size:21px;letter-spacing:-.025em}.qft-note p{margin:0;color:var(--qft-muted);font-size:13px;line-height:1.6}.qft-note>a{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:0 15px;border-radius:11px;background:var(--qft-brand);color:#fff;text-decoration:none;font-size:12px;font-weight:800}

/* Tool pages */
.qft-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 300px!important;align-items:start!important;gap:20px!important;min-width:0}
.qft-main{min-width:0}
.qft-toolHero{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:22px!important;min-height:154px!important;margin:0 0 14px!important;padding:clamp(20px,3vw,32px)!important;border:1px solid var(--qft-line)!important;border-radius:var(--qft-radius)!important;background:radial-gradient(circle at 92% 12%,rgba(91,76,240,.13),transparent 34%),linear-gradient(135deg,#fff 0%,#f7f7ff 100%)!important;box-shadow:0 10px 30px rgba(26,37,64,.055)!important;overflow:hidden!important}
.qft-toolHero>div:first-child{max-width:790px}.qft-toolHero h1{margin:7px 0 9px!important;color:var(--qft-ink)!important;font-size:clamp(28px,4vw,44px)!important;line-height:1.08!important;letter-spacing:-.04em!important}.qft-toolHero>div:first-child>p{max-width:760px;margin:0!important;color:var(--qft-muted)!important;font-size:15px!important;line-height:1.68!important}
.qft-toolHero>div:last-child:not(:first-child),.qft-toolHeroIcon{display:grid!important;place-items:center!important;flex:0 0 auto!important;width:78px!important;height:78px!important;border:1px solid #dedcff!important;border-radius:22px!important;background:rgba(255,255,255,.8)!important;color:var(--qft-brand)!important;box-shadow:0 10px 24px rgba(50,42,154,.08)!important}.qft-toolHero>div:last-child svg,.qft-toolHeroIcon svg{width:36px!important;height:36px!important}
.qft-trustRow{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}.qft-trustRow span{padding:6px 9px;border:1px solid #dfdff2;border-radius:999px;background:rgba(255,255,255,.75);color:#5c6479;font-size:11px;font-weight:750}
.qft-workspace{min-width:0;margin:0 0 14px!important;padding:clamp(17px,2.5vw,27px)!important;border:1px solid var(--qft-line)!important;border-radius:var(--qft-radius)!important;background:#fff!important;box-shadow:var(--qft-shadow)!important;overflow:hidden}
.qft-workspace :where(input:not([type=checkbox]):not([type=radio]),select,textarea){max-width:100%;border-color:#dbe1eb!important;border-radius:12px!important;background:#fff!important}.qft-workspace :where(input:not([type=checkbox]):not([type=radio]),select){min-height:46px}.qft-workspace textarea{line-height:1.58}.qft-workspace :where(button,.qt-en-tool-button){min-height:43px;border-radius:11px;font-weight:750;cursor:pointer}
.qft-workspace :where(canvas,img,svg,video){max-width:100%;height:auto}.qft-workspace :where(table){max-width:100%}
.qft-guide{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;margin:0 0 14px!important}
.qft-guide>div{min-width:0;padding:16px!important;border:1px solid var(--qft-line)!important;border-radius:15px!important;background:#fff!important}.qft-guide b{display:block;margin:0 0 5px;font-size:14px}.qft-guide span{color:var(--qft-muted);font-size:13px;line-height:1.55}
.qft-legacyRelated[hidden]{display:none!important}

/* Related */
.qft-related{display:block!important;margin:0!important;padding:20px!important;border:1px solid var(--qft-line)!important;border-radius:var(--qft-radius)!important;background:#fff!important;box-shadow:none!important}
.qft-related .qft-sectionHead{align-items:center;margin-bottom:13px}.qft-related .qft-sectionHead>a{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:39px;padding:0 12px;border:1px solid var(--qft-line);border-radius:10px;color:#4e5870;text-decoration:none;font-size:12px;font-weight:800}.qft-relatedGrid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;margin:0!important}.qft-relatedCard{display:grid!important;grid-template-columns:42px minmax(0,1fr) 17px!important;align-items:center!important;gap:10px!important;min-height:106px!important;padding:13px!important;border:1px solid var(--qft-line)!important;border-radius:14px!important;color:inherit!important;text-decoration:none!important;background:#fff!important}.qft-relatedCard:hover{border-color:rgba(91,76,240,.34)!important;box-shadow:0 10px 22px rgba(27,38,72,.06)!important}.qft-relatedIcon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--qft-brand-soft);color:var(--qft-brand)}.qft-relatedIcon svg{width:21px;height:21px}.qft-relatedCard>span:nth-child(2){min-width:0}.qft-relatedCard small{display:block;color:var(--qft-brand);font-size:10px;font-weight:800;text-transform:uppercase}.qft-relatedCard b{display:block;margin-top:2px;font-size:13px}.qft-relatedCard em{display:-webkit-box;overflow:hidden;margin-top:3px;color:var(--qft-muted);font-size:11px;font-style:normal;line-height:1.45;-webkit-line-clamp:2;-webkit-box-orient:vertical}.qft-relatedCard>i{color:#8d95a8;font-size:20px;font-style:normal}

/* Sidebar */
.qft-sidebar{position:sticky!important;top:92px!important;min-width:0}
.qft-sidebarToggle{display:none;width:100%;align-items:center;justify-content:space-between;gap:16px;padding:13px 14px;border:1px solid var(--qft-line);border-radius:14px;background:#fff;color:var(--qft-ink);text-align:left;cursor:pointer}.qft-sidebarToggle span{min-width:0}.qft-sidebarToggle b,.qft-sidebarToggle small{display:block}.qft-sidebarToggle b{font-size:13px}.qft-sidebarToggle small{margin-top:3px;color:var(--qft-muted);font-size:11px}.qft-sidebarToggle i{position:relative;width:18px;height:18px;border:1px solid var(--qft-line);border-radius:6px;background:var(--qft-soft)}.qft-sidebarToggle i:before,.qft-sidebarToggle i:after{content:"";position:absolute;left:4px;right:4px;top:8px;height:2px;border-radius:2px;background:#69738a}.qft-sidebarToggle i:after{transform:rotate(90deg);transition:transform .18s ease}.qft-sidebar.is-open .qft-sidebarToggle i:after{transform:rotate(0)}
.qft-sidebarPanel{overflow:hidden;border:1px solid var(--qft-line);border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(27,38,84,.055)}
.qft-sidebarHead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px;border-bottom:1px solid var(--qft-line);background:linear-gradient(145deg,#fff,#f6f5ff)}.qft-sidebarHead span{display:block;color:var(--qft-brand);font-size:10px;font-weight:850;letter-spacing:.085em;text-transform:uppercase}.qft-sidebarHead h2{margin:5px 0 4px;font-size:19px;letter-spacing:-.025em}.qft-sidebarHead p{margin:0;color:var(--qft-muted);font-size:11px;line-height:1.48}.qft-sidebarHead>b{display:grid;place-items:center;flex:0 0 auto;min-width:34px;height:34px;padding:0 7px;border-radius:10px;background:var(--qft-brand);color:#fff;font-size:12px}
.qft-sidebarSearch{position:relative;display:block;margin:12px 12px 7px}.qft-sidebarSearch input{width:100%;height:40px;padding:0 35px 0 11px;border:1px solid var(--qft-line);border-radius:11px;background:var(--qft-soft);font-size:12px;outline:0}.qft-sidebarSearch>i{position:absolute;right:13px;top:12px;transform:scale(.78)}
.qft-sidebarList{display:grid;gap:3px;max-height:456px;overflow:auto;padding:4px 8px 8px;scrollbar-width:thin}.qft-sidebarItem{display:grid;grid-template-columns:32px minmax(0,1fr) 14px;align-items:center;gap:9px;min-width:0;padding:8px;border:1px solid transparent;border-radius:11px;color:#3c455d;text-decoration:none}.qft-sidebarItem:hover{background:#f7f8fd}.qft-sidebarItem.is-active{border-color:#cfd4fb;background:#f0f1ff;color:#29399a}.qft-sidebarItem[hidden]{display:none!important}.qft-sidebarIcon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#f0f2fb;color:#6675d9}.qft-sidebarIcon svg{width:17px;height:17px}.qft-sidebarText{min-width:0}.qft-sidebarText b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.qft-sidebarText small{display:block;margin-top:2px;color:#8a92a6;font-size:10px}.qft-sidebarArrow{color:#949bad;font-size:18px}
.qft-sidebarEmpty{margin:5px 12px 10px;padding:13px;border:1px dashed #d8deea;border-radius:11px;color:var(--qft-muted);font-size:11px;text-align:center}
.qft-sidebarMore{display:flex;align-items:center;justify-content:center;width:calc(100% - 24px);min-height:38px;margin:3px 12px 9px;border:1px solid var(--qft-line);border-radius:10px;background:#fff;color:#4f5870;font-size:11px;font-weight:800;cursor:pointer}.qft-sidebarAll{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 12px 10px;padding:10px 11px;border-radius:11px;background:var(--qft-brand);color:#fff;text-decoration:none;font-size:11px;font-weight:800}.qft-sidebarAll b{display:grid;place-items:center;min-width:25px;height:23px;padding:0 5px;border-radius:7px;background:rgba(255,255,255,.18)}.qft-sidebarSuggest{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:10px 12px;border-top:1px solid var(--qft-line);background:#fafbfe;color:var(--qft-muted);font-size:10px}.qft-sidebarSuggest a{color:var(--qft-brand);font-weight:800;text-decoration:none}

@media (max-width:1100px){.qft-cardGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.qft-featureRail{grid-template-columns:repeat(2,minmax(0,1fr))}.qft-featureRail a:nth-child(2){border-right:0}.qft-featureRail a:nth-child(-n+2){border-bottom:1px solid var(--qft-line)}.qft-layout{grid-template-columns:minmax(0,1fr) 270px!important}}
@media (max-width:900px){.qft-hubHeroGrid{grid-template-columns:1fr}.qft-statGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.qft-layout{grid-template-columns:minmax(0,1fr)!important}.qft-sidebar{position:relative!important;top:auto!important;order:-1}.qft-sidebarToggle{display:flex}.qft-js .qft-sidebarPanel{display:none;margin-top:8px}.qft-js .qft-sidebar.is-open .qft-sidebarPanel{display:block}.qft-sidebarList{max-height:330px}.qft-guide,.qft-relatedGrid{grid-template-columns:repeat(3,minmax(220px,1fr))!important;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:4px}.qft-guide>*,.qft-relatedGrid>*{scroll-snap-align:start}}
@media (max-width:700px){.qft{padding-top:11px;padding-bottom:42px}.qft-shell{width:calc(100% - 22px)}.qft-breadcrumb{margin-bottom:9px;font-size:12px}.qft-hubHero,.qft-catalog,.qft-note,.qft-toolHero,.qft-workspace,.qft-related{border-radius:18px!important}.qft-hubHeroGrid{padding:21px 16px}.qft-hubCopy h1{font-size:clamp(30px,9.5vw,42px)}.qft-hubCopy>p,.qft-toolHero>div:first-child>p{font-size:14px!important;line-height:1.62!important}.qft-searchBox{grid-template-columns:18px minmax(0,1fr);padding:4px 12px}.qft-searchBox button{display:none}.qft-statGrid{grid-template-columns:1fr;gap:6px}.qft-statGrid>div{min-height:48px}.qft-statGrid b{font-size:20px}.qft-featureRail{grid-template-columns:1fr}.qft-featureRail a{border-right:0!important;border-bottom:1px solid var(--qft-line)!important}.qft-featureRail a:last-child{border-bottom:0!important}.qft-catalog{padding:17px 13px}.qft-sectionHead{align-items:flex-start;flex-direction:column}.qft-sectionHead>b{align-self:flex-start}.qft-filterRail{margin-right:-13px;padding-right:13px}.qft-cardGrid{grid-template-columns:1fr}.qft-cardGrid a{min-height:106px;padding:13px}.qft-note{align-items:flex-start;flex-direction:column;padding:18px}.qft-note>a{width:100%}.qft-toolHero{align-items:flex-start!important;min-height:0!important;padding:20px 16px!important}.qft-toolHero>div:last-child:not(:first-child),.qft-toolHeroIcon{display:none!important}.qft-trustRow{gap:5px}.qft-trustRow span{font-size:10px}.qft-workspace{padding:15px 12px!important}.qft-workspace :where([class*="grid"],[class*="Grid"],[class*="cols"],[class*="Cols"],[class*="twoCol"],[class*="threeCol"]){min-width:0}.qft-workspace :where(button,.qt-en-tool-button){width:100%;min-height:45px}.qft-guide,.qft-relatedGrid{grid-template-columns:repeat(3,minmax(78vw,1fr))!important;margin-right:-11px;padding-right:11px}.qft-related{padding:16px 12px!important}.qft-related .qft-sectionHead>a{width:100%}.qft-sidebarPanel{border-radius:15px}.qft-sidebarHead{padding:14px}.qft-sidebarSuggest{align-items:flex-start;flex-direction:column}}
@media (max-width:420px){.qft-shell{width:calc(100% - 18px)}.qft-hubHeroGrid,.qft-toolHero{padding-left:14px!important;padding-right:14px!important}.qft-cardGrid a{grid-template-columns:43px minmax(0,1fr) 16px;gap:10px}.qft-cardIcon{width:43px;height:43px}.qft-sidebarPanel{padding-bottom:1px}}
@media (prefers-reduced-motion:reduce){.qft *{scroll-behavior:auto!important;transition:none!important}}
