/* Blog: QuickBooks Online to Zoho Books (.pqb-) */
.pqb-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pqb-hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.pqb-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 18px 0 0; font: 500 13.5px/1.4 var(--f-body); color: #475569; }
.pqb-meta span { padding: 4px 10px; border-radius: 999px; background: #EEF3F7; }

/* hero: cutover ticket */
.pqb-ticket { position: relative; margin: 0; border-radius: 22px; background: #fff; border: 1px solid #DCE5EC; box-shadow: 0 34px 60px -40px rgba(8,34,56,.55); overflow: hidden; }
.pqb-ticket__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; background: linear-gradient(135deg, #061A2E, #0A3A63 55%, #07605E); color: #fff; font: 700 12px/1.3 var(--f-body); letter-spacing: .08em; text-transform: uppercase; }
.pqb-ticket__head em { font-style: normal; padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,.14); letter-spacing: .04em; }
.pqb-ticket__route { display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); align-items: center; gap: 8px; padding: 18px 20px 14px; }
.pqb-ticket__route p { margin: 0; min-width: 0; }
.pqb-ticket__route p:last-child { text-align: right; }
.pqb-ticket__route small { display: block; font: 700 11px/1.3 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: #475569; }
.pqb-ticket__route b { display: block; margin: 2px 0; font: 800 17px/1.25 var(--f-display); color: #082238; }
.pqb-ticket__route span { font-size: 13px; color: #475569; }
.pqb-ticket__route i { position: relative; height: 3px; border-radius: 3px; background: #E2E8F0; overflow: hidden; }
.pqb-ticket__route i::after { content: ""; position: absolute; inset: 0; width: 0; background: linear-gradient(90deg, #1D3F8F, #00A3D9, #3FB97A); transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.pqb-ticket.is-on .pqb-ticket__route i::after { width: 100%; }
.pqb-ticket__rows { margin: 0; padding: 4px 20px 10px; list-style: none; display: grid; gap: 6px; }
.pqb-ticket__rows li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: #F3F7F9; font-size: 14px; line-height: 1.35; color: #334155; opacity: 1; transform: translateY(0); transition: transform .5s ease; }
.pqb-ticket__rows b { flex: none; padding: 4px 9px; border-radius: 7px; font: 700 12px/1 var(--f-body); }
.pqb-ticket__rows .is-go b { background: #E7F6EE; color: #166534; }
.pqb-ticket__rows .is-shape b { background: #E8F5FC; color: #0B5E8C; }
.pqb-ticket__rows .is-redo b { background: #FFF4DB; color: #7A4B00; }
.pqb-ticket__stub { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin: 6px 0 0; padding: 14px 20px 16px; border-top: 2px dashed #DCE5EC; font-size: 13.5px; color: #475569; }
.pqb-ticket__stub b { font: 700 14px/1.3 var(--f-display); color: #082238; }

/* article */
.pqb-art { padding-top: clamp(24px, 4vw, 48px); }
.pqb-art__grid { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: clamp(28px, 5vw, 72px); align-items: start; }
.pqb-body { max-width: 76ch; font-size: 17.5px; line-height: 1.72; color: #334155; min-width: 0; }
.pqb-body > p { margin: 0 0 18px; }
.pqb-body a { color: #0A6FA8; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pqb-body b { color: #082238; }
.pqb-h2 { margin: 56px 0 0; font: 700 clamp(25px, 1rem + 1.2vw, 33px)/1.25 var(--f-display); letter-spacing: -.02em; color: #082238; scroll-margin-top: 100px; text-wrap: balance; }
.pqb-h2:first-child { margin-top: 0; }
.pqb-body .pqb-answer { margin: 18px 0 22px; padding: 16px 20px; border-radius: 14px; background: #F3F7F9; border: 1px solid #DCE5EC; box-shadow: inset 5px 0 0 #00B2A9; font-weight: 500; color: #082238; }
.pqb-list { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 10px; }
.pqb-list li { position: relative; padding: 12px 16px 12px 42px; border-radius: 12px; background: #fff; border: 1px solid #E2E8F0; }
.pqb-list li::before { content: ""; position: absolute; left: 16px; top: 21px; width: 12px; height: 3px; border-radius: 2px; background: #00A3D9; }
.pqb-steps { margin: 0 0 20px; padding: 0; list-style: none; counter-reset: pqb; display: grid; gap: 10px; }
.pqb-steps li { counter-increment: pqb; position: relative; padding: 12px 16px 12px 58px; border-radius: 12px; background: #fff; border: 1px solid #E2E8F0; }
.pqb-steps li::before { content: counter(pqb, decimal-leading-zero); position: absolute; left: 14px; top: 13px; font: 800 17px/1.4 var(--f-display); color: #0B5E8C; }

/* tables */
.pqb-tablewrap { margin: 0 0 18px; overflow-x: auto; border-radius: 16px; border: 1px solid #DCE5EC; background: #fff; }
.pqb-tablewrap:focus-visible { outline: 3px solid #00A3D9; outline-offset: 2px; }
.pqb-table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.pqb-table caption { padding: 12px 16px; text-align: left; font: 700 13px/1.4 var(--f-body); letter-spacing: .04em; text-transform: uppercase; color: #0B5E8C; background: #F3F7F9; border-bottom: 1px solid #E2E8F0; }
.pqb-table th, .pqb-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid #E2E8F0; }
.pqb-table thead th { font: 700 13px/1.3 var(--f-body); color: #082238; }
.pqb-table tbody th { font: 700 14.5px/1.35 var(--f-display); color: #082238; }
.pqb-table tbody tr:last-child th, .pqb-table tbody tr:last-child td { border-bottom: 0; }
.pqb-table--price td:nth-child(2), .pqb-table--price td:nth-child(3), .pqb-table--price td:nth-child(4) { white-space: nowrap; font-weight: 600; color: #082238; }
.pqb-tag { display: inline-block; padding: 4px 9px; border-radius: 7px; font: 700 12.5px/1.2 var(--f-body); white-space: nowrap; }
.pqb-tag.is-go { background: #E7F6EE; color: #166534; }
.pqb-tag.is-shape { background: #E8F5FC; color: #0B5E8C; }
.pqb-tag.is-redo { background: #FFF4DB; color: #7A4B00; }

/* side */
.pqb-side { position: sticky; top: 100px; }
.pqb-side__card { padding: 18px; border-radius: 18px; background: #F3F7F9; }
.pqb-side__t { margin: 0 0 8px; font: 700 12px/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: #0B5E8C; }
.pqb-side ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.pqb-side li a { display: block; padding: 8px 10px; border-left: 3px solid #CBD5E1; color: #082238; font: 600 14.5px/1.35 var(--f-body); text-decoration: none; }
.pqb-side li a:hover { border-color: #00A3D9; background: #fff; }

/* planner */
.pqb-plan__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 4vw, 44px); align-items: start; margin-top: 30px; }
.pqb-plan__form { display: grid; gap: 14px; min-width: 0; }
.pqb-q { margin: 0; padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid #E2E8F0; min-width: 0; }
.pqb-q legend { float: left; width: 100%; margin: 0 0 10px; padding: 0; font: 700 16.5px/1.35 var(--f-display); color: #082238; }
.pqb-sel { clear: both; display: block; }
.pqb-sel select { width: 100%; max-width: 320px; min-height: 44px; padding: 8px 12px; border-radius: 10px; border: 1px solid #CBD5E1; background: #fff; font: 500 16px/1.3 var(--f-body); color: #082238; }
.pqb-sel select:focus-visible { outline: 3px solid #00A3D9; outline-offset: 2px; }
.pqb-chips { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.pqb-chips label { position: relative; cursor: pointer; }
.pqb-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pqb-chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid #CBD5E1; background: #fff; font: 600 14.5px/1.2 var(--f-body); color: #334155; transition: background-color .2s, border-color .2s, color .2s; }
.pqb-chips input:checked + span { background: #082238; border-color: #082238; color: #fff; }
.pqb-chips input:focus-visible + span { outline: 3px solid #00A3D9; outline-offset: 2px; }
.pqb-plan__out { position: sticky; top: 100px; padding: 24px; border-radius: 22px; background: linear-gradient(135deg, #061A2E, #0A3A63 55%, #07605E); color: #D3E2EC; }
.pqb-plan__t { margin: 0; font: 700 12px/1.4 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: #FFB81C; }
.pqb-plan__date { margin: 6px 0 8px; font: 800 clamp(30px, 1.2rem + 1.8vw, 42px)/1.1 var(--f-display); letter-spacing: -.02em; color: #fff; }
.pqb-plan__why { margin: 0 0 14px; font-size: 15px; line-height: 1.55; }
.pqb-plan__list { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 8px; }
.pqb-plan__list li { padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.08); font-size: 14.5px; line-height: 1.5; color: #E6EEF4; }
.pqb-plan__list li b { color: #fff; }
.pqb-plan__go.pg-btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.pqb-plan__go.pg-btn-ghost:hover { background: #fff; color: #082238; }

@media (max-width: 1000px) {
  .pqb-hero__grid, .pqb-art__grid { grid-template-columns: minmax(0, 1fr); }
  .pqb-side { display: none; }
}
@media (max-width: 800px) {
  .pqb-plan__grid { grid-template-columns: minmax(0, 1fr); }
  .pqb-plan__out { position: static; }
}
@media (max-width: 640px) {
  .pqb-body { font-size: 16.5px; }
  .pqb-ticket__route { grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr); padding: 16px; }
  .pqb-ticket__route b { font-size: 15px; }
  .pqb-ticket__rows { padding: 4px 16px 10px; }
  .pqb-ticket__stub { padding: 12px 16px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .pqb-ticket__route i::after { width: 100%; transition: none; }
  .pqb-chips span { transition: none; }
}
