/* /accounting-software-guide/ only. Loaded via `extra: mid, p-accounting-software-guide`. Every class is scoped with .pasg- */
.pasg-hero, .pasg-short, .pasg-need, .pasg-type, .pasg-fit, .pasg-cost, .pasg-steps, .pasg-fair, .pasg-switch, .pasg-trust, .pasg-start {
  --pasg-ink: #082238; --pasg-body: #334155; --pasg-muted: #475569; --pasg-line: #E2E8F0; --pasg-blue: #0A6FA8;
  --pasg-green: #1E8C5A; --pasg-green-bg: #ECF8F2; --pasg-amber: #FFB81C; --pasg-paper: #F7FAFB;
}
.pasg-short a, .pasg-type__more a, .pasg-cost__more a, .pasg-fair__more a, .pasg-switch a, .pasg-trust a:not(.fee-link):not(.pg-link), .pasg-four__next a, .pasg-note a { color: var(--pasg-blue); font-weight: 600; }

/* ---------- hero meta ---------- */
.pasg-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; font: 600 13.5px/1.4 var(--f-body); color: #475569; }
.pasg-meta span { display: inline-flex; align-items: center; gap: 8px; }
.pasg-meta span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #00A3D9; }

/* ---------- hero: bank feed panel ---------- */
.pasg-feed { position: relative; margin: 0; padding: 18px; border-radius: 24px; background: #fff; border: 1px solid var(--pasg-line); box-shadow: 0 50px 90px -48px rgba(8,34,56,.55); }
.pasg-feed::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; border-radius: 24px 24px 0 0; background: linear-gradient(90deg, #1D3F8F, #00A3D9 40%, #00B2A9 70%, #3FB97A); }
.pasg-feed__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 2px 12px; border-bottom: 1px solid var(--pasg-line); }
.pasg-feed__bank { display: flex; align-items: center; gap: 8px; margin: 0; font: 700 14px/1.3 var(--f-display); color: var(--pasg-ink); }
.pasg-feed__dot { width: 9px; height: 9px; border-radius: 50%; background: #3FB97A; box-shadow: 0 0 0 4px rgba(63,185,122,.18); }
.pasg-feed__tag { margin: 0; padding: 3px 9px; border-radius: 999px; background: #F3F7F9; border: 1px solid var(--pasg-line); font: 700 11px/1.3 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--pasg-muted); }
.pasg-feed__rows { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.pasg-line { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-areas: "d t a" "d t c"; column-gap: 12px; row-gap: 4px; align-items: center; padding: 12px 6px; border-bottom: 1px dashed var(--pasg-line); }
.pasg-line:last-child { border-bottom: 0; }
.pasg-line__d { grid-area: d; white-space: nowrap; font: 700 12px/1.2 var(--f-body); color: var(--pasg-muted); text-transform: uppercase; letter-spacing: .03em; }
.pasg-line__t { grid-area: t; min-width: 0; }
.pasg-line__t b { display: block; font: 700 14.5px/1.3 var(--f-display); color: var(--pasg-ink); overflow-wrap: anywhere; }
.pasg-line__t small { display: block; margin-top: 2px; font: 500 12.5px/1.35 var(--f-body); color: var(--pasg-muted); opacity: .35; transition: opacity 400ms, color 400ms; }
.pasg-line__amt { grid-area: a; justify-self: end; font: 700 14.5px/1 var(--f-display); font-style: normal; color: var(--pasg-ink); white-space: nowrap; }
.pasg-line__amt--in { color: var(--pasg-green); }
.pasg-line__chip { grid-area: c; justify-self: end; padding: 3px 9px; border-radius: 999px; font: 700 11px/1.3 var(--f-body); font-style: normal; letter-spacing: .03em; background: #F3F7F9; color: #94A3B8; border: 1px solid var(--pasg-line); transform: scale(.85); opacity: .5; transition: transform 380ms cubic-bezier(.3,1.4,.5,1), opacity 300ms, background 300ms, color 300ms, border-color 300ms; }
.pasg-line.is-on .pasg-line__t small { opacity: 1; }
.pasg-line.is-on .pasg-line__chip { transform: scale(1); opacity: 1; background: var(--pasg-green-bg); color: #146B43; border-color: #A9DCC3; }
.pasg-line.is-on[data-kind="ask"] .pasg-line__chip { background: #FFF6DD; color: #7A5200; border-color: #F1D79A; }
.pasg-line.is-on[data-kind="ask"] .pasg-line__t small { color: #7A5200; }
.pasg-feed__foot { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: #F3F7F9; }
.pasg-feed__count { margin: 0; font: 600 14px/1.2 var(--f-body); color: var(--pasg-body); white-space: nowrap; }
.pasg-feed__count b { font: 800 20px/1 var(--f-display); color: var(--pasg-ink); }
.pasg-feed__bar { display: block; height: 8px; border-radius: 99px; background: #E2E8F0; overflow: hidden; }
.pasg-feed__bar i { display: block; height: 100%; width: 80%; border-radius: inherit; background: linear-gradient(90deg, #00A3D9, #3FB97A); transition: width 500ms ease; }
.pasg-feed__cap { margin: 12px 2px 0; font: 500 13px/1.5 var(--f-body); color: var(--pasg-muted); }

/* ---------- shortlist cards ---------- */
.pasg-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.pasg-card { display: grid; align-content: start; gap: 10px; min-width: 0; padding: 20px; border-radius: 20px; background: #fff; border: 1px solid var(--pasg-line); }
.pasg-card--zb { border-color: #9FC7DF; box-shadow: inset 0 4px 0 #00A3D9; }
.pasg-card p { margin: 0; }
.pasg-card__head { display: flex; align-items: center; gap: 12px; }
.pasg-card__head img, .pasg-card__mono { flex: none; width: 34px; height: 34px; object-fit: contain; }
.pasg-card__mono { display: grid; place-items: center; border-radius: 9px; background: #E7F0FA; color: #1D3F8F; font: 800 13px/1 var(--f-display); }
.pasg-card__head b { display: block; font: 700 17px/1.25 var(--f-display); color: var(--pasg-ink); }
.pasg-card__head small { display: block; font: 500 12.5px/1.3 var(--f-body); color: var(--pasg-muted); }
.pasg-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.pasg-card__price b { font: 800 30px/1 var(--f-display); letter-spacing: -.03em; color: var(--pasg-ink); }
.pasg-card__price span { font: 600 13px/1.3 var(--f-body); color: var(--pasg-muted); }
.pasg-card__alt { font-size: 13.5px; line-height: 1.45; color: var(--pasg-body); }
.pasg-card__fit, .pasg-card__watch { font-size: 14.5px; line-height: 1.5; color: var(--pasg-body); padding-top: 10px; border-top: 1px dashed var(--pasg-line); }
.pasg-card em { display: block; margin-bottom: 3px; font: 700 11.5px/1.3 var(--f-body); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--pasg-green); }
.pasg-card__watch em { color: #9A5B00; }
.pasg-note { margin: 18px 0 0; max-width: 92ch; font-size: 14px; line-height: 1.6; color: var(--pasg-muted); }
.pasg-type__more, .pasg-cost__more, .pasg-fair__more { margin: 22px 0 0; max-width: 80ch; font-size: 15px; line-height: 1.6; color: var(--pasg-body); }

/* ---------- plan finder (dark band) ---------- */
.pasg-fit__box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 20px; margin-top: 30px; align-items: start; }
.pasg-fit__in, .pasg-fit__out { min-width: 0; padding: 24px; border-radius: 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.pasg-fit__in { display: grid; gap: 18px; }
.pasg-r > span, .pasg-f > span { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; font: 600 14.5px/1.3 var(--f-body); color: #E2EEF6; }
.pasg-r output { flex: none; font: 800 15px/1.3 var(--f-display); color: #fff; }
.pasg-r input[type="range"] { width: 100%; height: 28px; accent-color: #FFB81C; cursor: pointer; }
.pasg-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.pasg-seg button { min-height: 40px; padding: 8px 14px; border: 0; border-radius: 10px; background: transparent; font: 600 14px/1.2 var(--f-body); color: #E2EEF6; cursor: pointer; transition: background 220ms, color 220ms; }
.pasg-seg button.is-on { background: #FFB81C; color: #082238; }
.pasg-seg button:focus-visible, .pasg-r input:focus-visible, .pasg-needs input:focus-visible { outline: 2px solid #9BE3F7; outline-offset: 2px; }
.pasg-needs { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.pasg-needs legend { margin-bottom: 8px; padding: 0; font: 600 14.5px/1.3 var(--f-body); color: #E2EEF6; }
.pasg-needs label { display: flex; align-items: flex-start; gap: 10px; min-height: 40px; padding: 9px 12px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); font: 500 14.5px/1.4 var(--f-body); color: #E2EEF6; cursor: pointer; }
.pasg-needs input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: #FFB81C; }
.pasg-fit__lbl, .pasg-fit__wl { margin: 0; font: 700 12px/1.3 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: #9BE3F7; }
.pasg-fit__wl { margin-top: 18px; }
.pasg-res { margin: 12px 0 0; padding: 0; list-style: none; }
.pasg-res li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px dashed rgba(255,255,255,.18); }
.pasg-res li span { min-width: 0; }
.pasg-res b { display: block; font: 700 15px/1.3 var(--f-display); color: #fff; }
.pasg-res small { display: block; font: 500 13px/1.4 var(--f-body); color: #C7DCEA; }
.pasg-res em { flex: none; font: 800 17px/1 var(--f-display); font-style: normal; color: #fff; }
.pasg-res li.is-low em { color: #FFD36B; }
.pasg-res li.is-low b::after { content: "Lowest"; margin-left: 8px; padding: 2px 7px; border-radius: 99px; background: #FFB81C; color: #082238; font: 700 10.5px/1.4 var(--f-body); letter-spacing: .04em; text-transform: uppercase; vertical-align: 2px; }
.pasg-res li.is-no em { font-size: 13px; color: #FFB3A1; }
.pasg-fit__say { margin: 14px 0 0; font: 600 14.5px/1.55 var(--f-body); color: #9BE3F7; }
.pasg-chk { display: grid; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.pasg-chk li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.5; color: #E2EEF6; }
.pasg-chk li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #FFB81C; }
.pasg-fit__out .btn { margin-top: 18px; }
.pasg-fit__fine { margin: 18px 0 0; max-width: 84ch; font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.82); }

/* ---------- switching ---------- */
.pasg-switch__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px 48px; align-items: start; }
.pasg-switch__grid > div > p:not(.pg-answer):not(.hp-kick) { margin: 16px 0 0; font-size: 16px; line-height: 1.65; color: var(--pasg-body); }
.pasg-keep { padding: 24px; border-radius: 22px; background: #EEF6FB; border: 1px solid #C9E0EE; }
.pasg-keep h3 { margin: 0; font: 700 19px/1.3 var(--f-display); color: var(--pasg-ink); letter-spacing: -.01em; }
.pasg-keep p { margin: 12px 0 0; font-size: 15px; line-height: 1.65; color: var(--pasg-body); }

/* ---------- trust ---------- */
.pasg-trust__box { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px 40px; align-items: start; }
.pasg-trust__box > div > p:not(.pg-answer):not(.hp-kick) { margin: 16px 0 0; font-size: 16px; line-height: 1.6; color: var(--pasg-body); }
.pasg-trust__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.pasg-trust__facts li { padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--pasg-line); }
.pasg-trust__facts b { display: block; font: 800 clamp(22px, 1rem + 1vw, 28px)/1.1 var(--f-display); color: var(--pasg-ink); letter-spacing: -.02em; }
.pasg-trust__facts span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--pasg-muted); }
.pasg-trust__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.pasg-trust__foot .pg-trustnote, .pasg-trust__more { margin: 0; }

/* ---------- start steps ---------- */
.pasg-four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; counter-reset: pasg4; }
.pasg-four li { counter-increment: pasg4; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--pasg-line); border-top: 4px solid #00B2A9; font-size: 14.5px; line-height: 1.5; color: var(--pasg-muted); }
.pasg-four li::before { content: counter(pasg4, decimal-leading-zero); display: block; margin-bottom: 10px; font: 800 14px/1 var(--f-display); color: #00807A; }
.pasg-four b { display: block; margin-bottom: 4px; font: 700 16.5px/1.3 var(--f-display); color: var(--pasg-ink); }
.pasg-four__next { margin: 18px 0 0; font-size: 15px; color: var(--pasg-body); }

@media (max-width: 1080px) {
  .pasg-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pasg-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .pasg-fit__box, .pasg-switch__grid, .pasg-trust__box { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .pasg-feed { padding: 14px; }
  .pasg-line { grid-template-columns: 50px minmax(0, 1fr) auto; column-gap: 8px; padding: 10px 2px; }
  .pasg-line__t b { font-size: 13.5px; }
  .pasg-line__amt { font-size: 13.5px; }
  .pasg-list, .pasg-four, .pasg-trust__facts { grid-template-columns: minmax(0, 1fr); }
  .pasg-fit__in, .pasg-fit__out { padding: 18px; }
  .pasg-seg { display: flex; }
  .pasg-seg button { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .pasg-line__chip, .pasg-line__t small, .pasg-feed__bar i { transition: none; }
}
