/* QuickBooks alternative page (/alternatives/quickbooks): quick verdict, difference toggle, cost calculator, sticky CTA.
   Loaded only by content/tools/quickbooks-alternative.html. Everything is prefixed .vsq- so nothing leaks to other pages. */

.vsq-tldr { --g1: #2ca01c; --g2: #6c2bf2; position: relative; margin: 0 0 2.4em; padding: 28px; border-radius: 26px; background: #fff;
  border: 1px solid #e6e1f5; box-shadow: 0 40px 80px -60px rgba(40, 20, 90, .55); overflow: hidden; isolation: isolate; }
.vsq-tldr::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, #6c2bf2, #e9388e, #ff5a1f); }
.vsq-tldr::after { content: ""; position: absolute; z-index: -1; right: -120px; top: -140px; width: 360px; height: 300px; border-radius: 50%; background: #efe7ff; filter: blur(50px); }
.vsq-tldr__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 20px; }
.vsq-tldr__tag { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 99px; background: #14113a; color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.vsq-tldr .vsq-tldr__title { margin: 0; font-size: 22px; line-height: 1.3; font-weight: 800; color: #14113a; letter-spacing: -.01em; }
.vsq-tldr__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 22px; }
.vsq-tldr .vsq-tldr__label { margin: 0 0 10px; font-size: 13px; font-weight: 800; color: #6b6890; text-transform: uppercase; letter-spacing: .06em; }
.vsq-tldr .vsq-tldr__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vsq-tldr .vsq-tldr__list li { position: relative; margin: 0; padding: 12px 14px 12px 44px; border-radius: 14px; font-size: 15.5px; line-height: 1.5; color: #1b1744; background: #f6f3ff; }
.vsq-tldr .vsq-tldr__list li::marker { content: ""; }
.vsq-tldr .vsq-tldr__list li::before { content: "✓"; position: absolute; left: 12px; top: 12px; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: 13px; font-weight: 900; color: #fff; background: #6c2bf2; }
.vsq-tldr .vsq-tldr__list li.vsq-them { background: #effaf0; }
.vsq-tldr .vsq-tldr__list li.vsq-them::before { content: "→"; background: #2ca01c; }
.vsq-snap { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid #e6e1f5; border-radius: 16px; overflow: hidden; background: #fff; font-size: 14.5px; }
.vsq-snap th, .vsq-snap td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #f0edf8; vertical-align: top; min-width: 0 !important; }
.vsq-snap th { background: #f5f1ff; font-size: 12.5px; font-weight: 800; color: #14113a; }
.vsq-snap tr:last-child td { border-bottom: 0; }
.vsq-snap td { color: #1b1744; font-weight: 700; }
.vsq-snap td:first-child { font-weight: 600; color: #4b4870; }
.vsq-snap td:last-child { color: #5b21b6; }
.vsq-snap small { display: block; font-size: 12px; font-weight: 600; color: #8a87a8; }
.vsq-tldr__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; }
.vsq-tldr__foot .btn { text-decoration: none; }
.vsq-tldr__foot span { font-size: 13px; color: #7a7799; }
.vsq-tldr a.vsq-link { font-weight: 750; color: #5b21b6; }

/* When the script lifts the verdict under the hero */
.vsq-lifted { padding: 34px 16px 0; }
.vsq-lifted .vsq-tldr { max-width: 1120px; margin: 0 auto; }

/* Comparison table with the difference toggle */
.vsq-cmp { margin: 1.6em 0 0; }
.vsq-cmp__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 14px; }
.vsq-cmp__bar[hidden] { display: none; }
.vsq-toggle { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px 0 8px; border-radius: 99px; border: 1px solid #ddd5f5; background: #fff; color: #14113a; font: inherit; font-size: 14.5px; font-weight: 750; cursor: pointer; }
.vsq-toggle__knob { position: relative; width: 40px; height: 24px; border-radius: 99px; background: #e4e0f0; transition: background .2s; }
.vsq-toggle__knob::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(20, 17, 58, .25); transition: transform .2s; }
.vsq-toggle[aria-pressed="true"] .vsq-toggle__knob { background: #6c2bf2; }
.vsq-toggle[aria-pressed="true"] .vsq-toggle__knob::after { transform: translateX(16px); }
.vsq-toggle:focus-visible { outline: 3px solid #c4b5fd; outline-offset: 2px; }
.vsq-cmp__count { font-size: 13.5px; color: #6b6890; }
.bprose .vsq-table td:nth-child(2) { background: #faf7ff; color: #2e1065; font-weight: 600; }
.bprose .vsq-table tr.vsq-group td { background: #14113a; color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; padding: 9px 16px; }
.vsq-cmp.is-diff tr[data-same] { display: none; }
.bprose .vsq-table tr[data-same] td:first-child::after { content: "Both"; margin-left: 8px; padding: 1px 7px; border-radius: 6px; font-size: 11px; font-weight: 800; color: #4b4870; background: #eeebf7; vertical-align: 1px; }

/* Cost calculator */
.vsq-calc { margin: 1.6em 0 0; padding: 26px; border-radius: 24px; background: #0f0b2e; color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 26px; box-shadow: 0 34px 60px -40px rgba(20, 10, 60, .9); }
.vsq-calc[hidden] { display: none; }
.vsq-calc__controls { display: grid; gap: 14px; align-content: start; }
.vsq-calc__range span { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; font-weight: 700; color: rgba(255, 255, 255, .86); }
.vsq-calc__range b { font-size: 30px; font-weight: 800; color: #fff; }
.vsq-calc input[type="range"] { width: 100%; margin-top: 10px; accent-color: #a78bfa; height: 28px; }
.vsq-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; color: rgba(255, 255, 255, .82); cursor: pointer; }
.vsq-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: #a78bfa; flex: none; }
.vsq-calc__out { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.vsq-calc__card { display: grid; gap: 2px; padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); min-width: 0; }
.vsq-calc__card small { font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, .6); text-transform: uppercase; letter-spacing: .05em; }
.vsq-calc__card b { font-size: 16px; font-weight: 750; color: #fff; }
.vsq-calc__card strong { font-size: 34px; line-height: 1.1; font-weight: 800; color: #fff; letter-spacing: -.02em; margin-top: 6px; }
.vsq-calc__card span { font-size: 13px; color: rgba(255, 255, 255, .6); }
.vsq-calc__card--us { background: linear-gradient(150deg, rgba(108, 43, 242, .45), rgba(233, 56, 142, .3)); border-color: rgba(196, 181, 253, .4); }
.vsq-bar { display: block; height: 8px; margin-top: 12px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.vsq-bar > i { display: block; height: 100%; width: 0; border-radius: inherit; background: #4ade80; transition: width .35s ease; }
.vsq-calc__card--us .vsq-bar > i { background: linear-gradient(90deg, #a78bfa, #f472b6); }
.vsq-calc .vsq-calc__verdict { grid-column: 1 / -1; margin: 0 !important; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .08); font-size: 15px !important; line-height: 1.5; color: #fff !important; }

/* Numbered switch steps */
.bprose ol.vsq-steps { list-style: none; padding: 0; counter-reset: vsq; gap: 14px; }
.bprose ol.vsq-steps > li { counter-increment: vsq; position: relative; padding: 18px 20px 18px 74px; border-radius: 18px; background: #fff; border: 1px solid #ebe7f6; }
.bprose ol.vsq-steps > li::before { content: counter(vsq); position: absolute; left: 18px; top: 18px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 18px; color: #fff; background: linear-gradient(140deg, #6c2bf2, #e9388e); }
.bprose ol.vsq-steps > li::marker { content: ""; }

/* Other comparisons */
.vsq-more { margin: 2em 0 0; padding: 24px; border-radius: 22px; background: #f7f5fd; border: 1px solid #ebe7f6; }
.bprose .vsq-more__title { margin: 0 0 14px; font-size: 18px; font-weight: 800; color: #14113a; }
.bprose ul.vsq-more__list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bprose ul.vsq-more__list li { padding: 0; margin: 0; }
.bprose ul.vsq-more__list li::marker { content: ""; }
.bprose .vsq-more__list a { display: grid; gap: 2px; height: 100%; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid #e6e1f5; text-decoration: none; transition: border-color .2s, transform .2s; }
.bprose .vsq-more__list a:hover { border-color: #c4b5fd; transform: translateY(-2px); }
.vsq-more__list b { font-size: 15.5px; color: #14113a; }
.vsq-more__list span { font-size: 13.5px; font-weight: 500; color: #6b6890; }

/* Sticky CTA */
.vsq-sticky { position: fixed; z-index: 60; left: 50%; bottom: 16px; width: min(680px, calc(100vw - 32px)); transform: translate(-50%, 140%); display: flex; align-items: center; gap: 14px;
  padding: 12px 12px 12px 20px; border-radius: 18px; background: rgba(15, 11, 46, .94); color: #fff; box-shadow: 0 24px 50px -20px rgba(15, 11, 46, .8); transition: transform .35s ease; backdrop-filter: blur(10px); }
.vsq-sticky[hidden] { display: none; }
.vsq-sticky.is-on { transform: translate(-50%, 0); }
.bprose .vsq-sticky p, .vsq-sticky p { margin: 0; flex: 1; min-width: 0; font-size: 14.5px; line-height: 1.4; color: rgba(255, 255, 255, .8); }
.vsq-sticky p b { color: #fff; }
.vsq-sticky .btn { flex: none; text-decoration: none; }
.vsq-sticky__x { flex: none; width: 32px; height: 32px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .1); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }

@media (max-width: 820px) {
  .vsq-tldr { padding: 22px 18px; }
  .vsq-tldr .vsq-tldr__title { font-size: 19px; }
  .vsq-tldr__grid, .vsq-calc { grid-template-columns: 1fr; }
  .bprose ul.vsq-more__list { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .vsq-calc { padding: 20px 16px; }
  .vsq-calc__card { padding: 14px; }
  .vsq-calc__card strong { font-size: 26px; }
  .vsq-sticky p span { display: none; }
  .bprose ol.vsq-steps > li { padding: 64px 16px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .vsq-sticky, .vsq-bar > i, .vsq-toggle__knob, .vsq-toggle__knob::after { transition: none; }
}

/* Phones: the comparison table becomes stacked cards (feature, then each tool with its name) */
@media (max-width: 600px) {
  .bprose .vsq-table { display: block; border: 0; background: transparent; overflow: visible; }
  .bprose .vsq-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .bprose .vsq-table tbody { display: grid; gap: 10px; }
  .bprose .vsq-table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid #e6e1f5; border-radius: 16px; overflow: hidden; background: #fff; }
  .bprose .vsq-table td { min-width: 0; border-bottom: 0; padding: 10px 12px; font-size: 14px; overflow-wrap: anywhere; }
  .bprose .vsq-table td:first-child { grid-column: 1 / -1; font-weight: 800; color: #14113a; background: #f7f5fd; border-bottom: 1px solid #efecf7; }
  .bprose .vsq-table td:nth-child(2)::before, .bprose .vsq-table td:nth-child(3)::before { display: block; margin-bottom: 3px; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #8a87a8; }
  .bprose .vsq-table td:nth-child(2)::before { content: "Invoice Studio"; color: #6c2bf2; }
  .bprose .vsq-table td:nth-child(3)::before { content: "QuickBooks"; }
  .bprose .vsq-table td:nth-child(3) { border-left: 1px solid #efecf7; }
  .bprose .vsq-table tr.vsq-group { display: block; border: 0; background: transparent; margin-top: 8px; }
  .bprose .vsq-table tr.vsq-group td { display: block; border-radius: 12px; }
}

/* Phones: keep the sticky bar clear of the chat button in the bottom-right corner */
@media (max-width: 600px) {
  .vsq-sticky { left: 12px; right: 84px; width: auto; transform: translateY(140%); padding: 10px 10px 10px 14px; gap: 8px; }
  .vsq-sticky.is-on { transform: translateY(0); }
  .vsq-sticky__x { display: none; }
}
