/* Accounting home (team switch acctSimple; public/js/acct-simple.js). WatchFlow's own look: theme tokens only (navy / blue accent on the default theme),
   the app font (Absans via var(--font-body)), 44px targets, 8px spacing steps. Home inside #page-accounting; the check screen is a full-screen layer. */
.acs, .acs-check, .acs-check button, .acs-check input, .acs-check textarea, .acs-check select, .acs button, .acs textarea { font-family: var(--font-body); }
.acs { --acs-accent: var(--accent, var(--gold)); --acs-easy: var(--green, #1d7a52); --acs-look: var(--amber, #b7791f); display: flex; flex-direction: column; gap: 32px; }
.acs .acs-empty, .acs-check .acs-empty { padding: 24px 18px; text-align: center; font-size: 14px; line-height: 1.5; color: var(--off-white); border: 1px dashed var(--border); border-radius: 14px; }

/* three small live number cards */
.acs-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 760px; }
.acs-card { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 14px 16px; border: 1px solid var(--border-light, var(--border)); border-radius: 14px; background: var(--bg-raised); }
.acs-card-l { font-size: 12px; font-weight: 600; color: var(--off-white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acs-card-v { font-size: 26px; line-height: 32px; font-weight: 700; color: var(--white); font-variant-numeric: tabular-nums; }
.acs-card-s { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* sections */
.acs-sec { display: flex; flex-direction: column; gap: 12px; }
.acs-sec-h { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.acs-sec-t { margin: 0; font-size: 18px; line-height: 24px; font-weight: 700; color: var(--white); display: inline-flex; align-items: center; gap: 8px; }
.acs-sec-s { font-size: 13px; font-weight: 400; color: var(--muted); }
.acs-legend { margin: 0; font-size: 13.5px; line-height: 20px; color: var(--off-white); }
.acs-legend .acs-part b { font-weight: 700; }
.acs-note { margin: 0; padding: 10px 14px; border-radius: 10px; font-size: 14px; line-height: 20px; color: var(--white); background: color-mix(in srgb, var(--accent, var(--gold)) 10%, transparent); }
.acs-count { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 8px; border-radius: 999px; background: var(--acs-accent); color: var(--bg-void, #fff); font-size: 13px; font-weight: 700; }

/* "What needs you": one plain sentence + a count + Start */
.acs-needs, .acs-qs, .acs-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.acs-need { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--border-light, var(--border)); border-radius: 14px; background: var(--bg-raised); }
.acs-need-ic { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; min-width: 40px; border-radius: 50%; aspect-ratio: 1 / 1; background: color-mix(in srgb, var(--acs-accent) 12%, transparent); color: var(--acs-accent); }
.acs-need-ic svg { width: 20px; height: 20px; }
.acs-need-main { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.acs-need-t { font-size: 16px; line-height: 22px; font-weight: 700; color: var(--white); }
.acs-need-h { font-size: 13px; line-height: 18px; color: var(--off-white); }
.acs-need-parts { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; line-height: 18px; color: var(--off-white); }
.acs-part b { font-weight: 600; }
.acs-part.is-easy b { color: var(--acs-easy); }
.acs-part.is-look b { color: var(--acs-look); }
.acs-start { min-width: 104px; height: 44px; justify-content: center; }
.acs-clear { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 14px; background: color-mix(in srgb, var(--acs-easy, #1d7a52) 9%, var(--bg-raised)); border: 1px solid color-mix(in srgb, var(--acs-easy, #1d7a52) 30%, var(--border)); }
.acs-clear > svg { flex: 0 0 28px; width: 28px; height: 28px; color: var(--green, #1d7a52); }
.acs-clear b { display: block; font-size: 16px; color: var(--white); }
.acs-clear span { display: block; font-size: 13.5px; color: var(--off-white); margin-top: 2px; }

/* the owner's questions */
.acs-q { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; border: 1px solid var(--border-light, var(--border)); border-radius: 14px; background: var(--bg-raised); }
.acs-q.is-answered { border-color: color-mix(in srgb, var(--green, #1d7a52) 35%, var(--border)); }
.acs-q-t { font-size: 15px; line-height: 22px; font-weight: 600; color: var(--white); }
.acs-q-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.acs-q-chips span { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: color-mix(in srgb, var(--muted) 12%, transparent); font-size: 12.5px; font-weight: 600; color: var(--off-white); }
.acs-q-note, .acs-q-reply { font-size: 14px; line-height: 20px; color: var(--off-white); }
.acs-q-reply b { color: var(--green, #1d7a52); }
.acs-q-meta { font-size: 12.5px; color: var(--muted); }
.acs-row-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.acs-row-acts.is-center { justify-content: center; margin-top: 16px; }
.acs-btn { min-height: 40px; }
.acs-answer { display: flex; flex-direction: column; gap: 8px; }

/* Recent */
.acs-rec { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--border-light, var(--border)); border-radius: 12px; background: var(--bg-raised); }
.acs-rec-main { min-width: 0; flex: 1 1 auto; }
.acs-rec-t { font-size: 14px; line-height: 20px; color: var(--white); overflow-wrap: anywhere; }
.acs-rec-s { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.acs-rec.is-undone .acs-rec-t { color: var(--muted); text-decoration: line-through; }
.acs-undone { flex: 0 0 auto; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.acs-rec .acs-btn { flex: 0 0 auto; }

/* Other tools (the old tabs, folded away) */
.acs-tools { border-top: 1px solid var(--border); padding-top: 16px; }
.acs-tools summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--off-white); }
.acs-tools-in { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.acs-tool { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--border); border-radius: 10px; color: var(--white); font-size: 14px; font-weight: 600; text-decoration: none; background: var(--bg-raised); }
.acs-tool:hover { border-color: var(--acs-accent); }

/* fields + inputs (the Adjust Pricing standard: inputs on --bg-void, 1.5px border) */
.acs-lbl { display: block; font-size: 12px; font-weight: 600; letter-spacing: .4px; color: var(--off-white); margin: 4px 0 6px; }
.acs-in { width: 100%; box-sizing: border-box; min-height: 44px; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 8px; background: var(--bg-void); color: var(--white); font-size: 15px; line-height: 20px; }
.acs-in:focus { outline: none; border-color: var(--accent, var(--gold)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent, var(--gold)) 15%, transparent); }
textarea.acs-in { resize: vertical; min-height: 64px; }

/* ═════ the check screen ═════ */
body.acs-lock { overflow: hidden; }
.acs-check { --acs-accent: var(--accent, var(--gold)); --acs-easy: var(--green, #1d7a52); --acs-look: var(--amber, #b7791f); position: fixed; inset: 0; z-index: 2400; background: var(--bg-void); color: var(--white); }
.acs-check[hidden] { display: none; }
.acs-ck-shell { --acs-pad: max(24px, calc((100% - 1132px) / 2)); display: flex; flex-direction: column; height: 100%; }
.acs-ck-top { flex: 0 0 auto; display: flex; align-items: center; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--border); background: var(--bg-void); }
.acs-back { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px 0 12px; font-size: 15px; font-weight: 600; }
.acs-back svg { width: 18px; height: 18px; }
.acs-ck-tt { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 16px; }
.acs-ck-t { margin: 0; font-size: 18px; line-height: 24px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acs-ck-prog { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.acs-ck-pos { font-size: 15px; color: var(--off-white); white-space: nowrap; font-variant-numeric: tabular-nums; }
.acs-ck-pos b { color: var(--white); }
.acs-ck-bar { display: block; width: 160px; height: 6px; border-radius: 999px; background: color-mix(in srgb, var(--muted) 18%, transparent); overflow: hidden; }
.acs-ck-bar i { display: block; height: 100%; border-radius: inherit; background: var(--acs-accent); transition: width .25s; }
.acs-ck-body { flex: 1 1 auto; overflow-y: auto; padding: 20px var(--acs-pad) 24px; display: flex; flex-direction: column; gap: 16px; }
.acs-sec-tag { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-radius: 10px; font-size: 14px; line-height: 20px; color: var(--off-white); }
.acs-sec-tag b { font-size: 13px; font-weight: 700; letter-spacing: .3px; }
.acs-sec-tag.is-easy { background: color-mix(in srgb, var(--acs-easy) 9%, transparent); }
.acs-sec-tag.is-easy b { color: var(--acs-easy); }
.acs-sec-tag.is-look { background: color-mix(in srgb, var(--acs-look) 10%, transparent); }
.acs-sec-tag.is-look b { color: var(--acs-look); }
.acs-owner { padding: 12px 14px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--green, #1d7a52) 35%, var(--border)); font-size: 14.5px; line-height: 20px; color: var(--white); }
.acs-owner b { color: var(--green, #1d7a52); }
.acs-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.acs-side { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 18px 20px; border: 1px solid var(--border-light, var(--border)); border-radius: 16px; background: var(--bg-raised); }
.acs-side.is-wf { border-color: color-mix(in srgb, var(--acs-accent) 35%, var(--border)); }
.acs-side-h { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--off-white); }
.acs-side-ic { display: flex; width: 20px; height: 20px; color: var(--acs-accent); }
.acs-side-ic svg { width: 20px; height: 20px; }
.acs-guess-l { font-size: 12.5px; font-weight: 600; color: var(--acs-accent); margin-top: 4px; }
.acs-side-t { font-size: 20px; line-height: 26px; font-weight: 700; color: var(--white); overflow-wrap: anywhere; }
.acs-side-t.is-none { color: var(--off-white); }
.acs-side-s { font-size: 14px; color: var(--off-white); overflow-wrap: anywhere; }
.acs-f { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; margin: 6px 0 0; font-size: 14px; line-height: 20px; }
.acs-f > div { display: contents; }
.acs-f dt { color: var(--muted); }
.acs-f dd { margin: 0; color: var(--white); overflow-wrap: anywhere; }
.acs-lines { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 13.5px; }
.acs-lines th { text-align: left; font-size: 12px; font-weight: 600; color: var(--off-white); padding: 6px 0; border-bottom: 1px solid var(--border); }
.acs-lines th:last-child, .acs-lines td:last-child { text-align: right; white-space: nowrap; padding-left: 12px; }
.acs-lines td { padding: 7px 0; border-bottom: 1px solid var(--border-light, var(--border)); color: var(--white); vertical-align: top; overflow-wrap: anywhere; }
.acs-lines tr.is-mine td { font-weight: 600; }
.acs-why, .acs-does { font-size: 14px; line-height: 21px; color: var(--white); }
.acs-why { padding-top: 8px; border-top: 1px solid var(--border-light, var(--border)); margin-top: 4px; }
.acs-does { color: var(--off-white); }
.acs-warn { font-size: 14px; line-height: 20px; color: var(--white); padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--acs-look) 10%, transparent); }
.acs-warn b { color: var(--acs-look); }
.acs-warn ul { margin: 4px 0 0; padding-left: 18px; }
.acs-warn li + li { margin-top: 2px; }
.acs-panel { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg-raised); }
.acs-panel-h { font-size: 16px; font-weight: 700; color: var(--white); }
.acs-hint { font-size: 13.5px; line-height: 20px; color: var(--off-white); margin: 0; }
.acs-opts { display: flex; flex-direction: column; gap: 8px; }
.acs-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; min-height: 48px; padding: 10px 14px; text-align: left; border: 1.5px solid var(--border); border-radius: 12px; background: var(--bg-void); color: var(--white); cursor: pointer; }
.acs-opt:hover, .acs-opt:focus-visible { border-color: var(--acs-accent); outline: none; }
.acs-opt-t { font-size: 15px; font-weight: 600; }
.acs-opt-s, .acs-opt-w { font-size: 13px; color: var(--off-white); }
.acs-opt-x { font-size: 13px; color: var(--acs-look); }
.acs-search { position: relative; }
.acs-search .acs-in { padding-left: 38px; }
.acs-search-ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); display: flex; }
.acs-catrow { display: flex; gap: 8px; }
.acs-catrow .acs-in { flex: 1 1 auto; }
.acs-catrow .acs-btn { flex: 0 0 auto; min-height: 44px; }
.acs-bar { flex: 0 0 auto; display: flex; gap: 10px; padding: 14px var(--acs-pad); border-top: 1px solid var(--border); background: var(--bg-void); }
.acs-act { height: 48px; padding: 0 20px; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; }
.acs-act.is-yes { min-width: 180px; }
.acs-act svg { width: 18px; height: 18px; }
.acs-act[aria-expanded="true"] { border-color: var(--acs-accent); color: var(--acs-accent); }
.acs-act[data-acs="skip"] { margin-left: auto; }
.acs-toast-host { position: fixed; left: 50%; bottom: 88px; transform: translateX(-50%); z-index: 2410; width: max-content; max-width: calc(100vw - 32px); pointer-events: none; }
.acs .acs-toast-host { bottom: 24px; }
.acs-toast { display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 16px; border-radius: 12px; background: var(--white); color: var(--bg-void); font-size: 14px; line-height: 20px; box-shadow: 0 10px 30px rgba(15, 24, 34, .2); pointer-events: auto; }
.acs-toast-b { flex: 0 0 auto; height: 36px; padding: 0 14px; border: 0; border-radius: 8px; background: color-mix(in srgb, var(--bg-void) 16%, transparent); color: inherit; font-weight: 700; font-size: 14px; cursor: pointer; font-family: var(--font-body); }
.acs-clear.is-big { margin: 32px auto 0; max-width: 520px; }

/* hub: the tab strip gives way to a Back to Accounting link while the home is on */
.acct-backbar { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px 0 10px; margin: 0 0 16px; border: 1px solid var(--border); border-radius: 10px; color: var(--white); font-family: var(--font-body); font-size: 14px; font-weight: 600; text-decoration: none; background: var(--bg-raised); }
.acct-backbar svg { width: 16px; height: 16px; }
.acct-tabs.is-simple { background: none; padding: 0; margin: 0; }

@media (max-width: 760px) {
  .acs { gap: 24px; }
  .acs-cards { gap: 8px; }
  .acs-card { padding: 12px; }
  .acs-card-v { font-size: 22px; line-height: 28px; }
  .acs-card-l { white-space: normal; line-height: 16px; }
  .acs-card-s { display: none; }
  .acs-need { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .acs-start { grid-column: 1 / -1; width: 100%; }
  .acs-rec { align-items: flex-start; }
  .acs-ck-body { padding-bottom: 32px; }
  .acs-ck-top { padding: 10px 14px; gap: 10px; }
  .acs-ck-tt { flex-direction: column; align-items: flex-end; gap: 4px; }
  .acs-ck-t { font-size: 15px; line-height: 20px; max-width: 100%; }
  .acs-ck-prog { margin-left: 0; gap: 8px; }
  .acs-ck-pos { font-size: 13.5px; }
  .acs-ck-bar { width: 80px; }
  .acs-ck-body { padding: 14px 14px 20px; gap: 12px; }
  .acs-pair { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .acs-side { padding: 14px 16px; }
  .acs-side-t { font-size: 18px; line-height: 24px; }
  .acs-in { font-size: 16px; }
  .acs-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); }
  .acs-act { height: 46px; padding: 0 10px; font-size: 14.5px; }
  .acs-act.is-yes { grid-column: 1 / -1; min-width: 0; }
  .acs-act[data-acs="skip"] { margin-left: 0; grid-column: 1 / -1; height: 40px; }
  .acs-check .acs-toast-host { top: 76px; bottom: auto; } /* under the header: never over the buttons or an open panel */
  .acs .acs-toast-host { bottom: 16px; }
  .acs-catrow { flex-direction: column; }
}

/* ═════ v2 color pass (Hal 2026-11-04: "QuickBooks branded with the QuickBooks color, WatchFlow obvious, buttons always highlighted") ═════
   QuickBooks = green #2CA01C (text #1E7A12 on its tint), WatchFlow = navy #0f1822 + blue #2967b0 (the house-style tokens).
   Tints are mixed with the theme surface, so a dark theme keeps its contrast. */
.acs, .acs-check {
  --qb: #2CA01C; --qb-ink: #1E7A12; --qb-tint: color-mix(in srgb, #2CA01C 8%, var(--bg-raised));
  --wf-navy: #0f1822; --wf-blue: #2967b0; --wf-blue-dark: #1f5391; --wf-ink: color-mix(in srgb, #2967b0 75%, var(--white)); --wf-tint: color-mix(in srgb, #2967b0 6%, var(--bg-raised));
  --ok: #1d7a52; --ok-tint: color-mix(in srgb, #1d7a52 10%, var(--bg-raised)); --bad: #c0392b; --bad-tint: color-mix(in srgb, #c0392b 9%, var(--bg-raised));
  --amb: #b7791f; --amb-ink: #6b4508; --amb-tint: color-mix(in srgb, #e0a13a 16%, var(--bg-raised));
}
/* brand pills */
.acs-pill-qb { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; height: 20px; padding: 0 7px; border-radius: 6px; background: var(--qb); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .2px; line-height: 1; text-transform: lowercase; }
.acs-pill-wf { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; height: 20px; padding: 0 7px 0 4px; border-radius: 6px; background: var(--wf-navy); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .6px; line-height: 1; }
.acs-wfmark { display: inline-block; width: 14px; height: 14px; background: #fff; -webkit-mask: url(/brand/watchflow-mark.svg) center / contain no-repeat; mask: url(/brand/watchflow-mark.svg) center / contain no-repeat; }
.acs-pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; line-height: 1; white-space: nowrap; }
.acs-pill.is-easy { background: var(--ok-tint); color: var(--ok); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ok) 30%, transparent); }
.acs-pill.is-look { background: var(--amb-tint); color: var(--amb-ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--amb) 35%, transparent); }
.acs-amt { font-weight: 700; font-variant-numeric: tabular-nums; }
.acs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* number cards: a colored accent each, the number bold */
.acs-card { position: relative; overflow: hidden; padding-left: 20px; }
.acs-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--wf-blue); }
.acs-card[data-k="done"]::before { background: var(--ok); }
.acs-card[data-k="questions"]::before { background: var(--amb); }
.acs-card-v { font-weight: 800; color: var(--wf-navy); }
.acs-card[data-k="left"] .acs-card-v { color: var(--wf-blue); }
.acs-card[data-k="done"] .acs-card-v { color: var(--ok); }
.acs-card[data-k="questions"] .acs-card-v { color: var(--amb-ink); }

/* home rows: a colored icon chip per kind; Start always solid blue */
.acs-need { transition: border-color .15s, box-shadow .15s; }
.acs-need:hover { border-color: color-mix(in srgb, var(--wf-blue) 40%, var(--border)); box-shadow: 0 4px 14px rgba(15, 24, 34, .06); }
.acs-need-ic { --k: var(--wf-blue); background: color-mix(in srgb, var(--k) 13%, var(--bg-raised)); color: var(--k); }
.acs-need[data-s="vendors"] .acs-need-ic { --k: #6b4fc8; }
.acs-need[data-s="invoices"] .acs-need-ic { --k: var(--qb); }
.acs-need[data-s="payments"] .acs-need-ic { --k: #0f8a7a; }
.acs-need[data-s="lines"] .acs-need-ic { --k: #b7791f; }
.acs-need-parts { gap: 6px; margin-top: 2px; }
.acs-legend .acs-pill { height: 20px; padding: 0 8px; font-size: 12px; vertical-align: 1px; margin: 0 2px; }
.acs-start, .acs-btn.is-blue { background: var(--wf-blue); color: #fff; border: 1.5px solid var(--wf-blue); font-weight: 700; }
.acs-start { font-size: 15px; }
.acs-start:hover, .acs-btn.is-blue:hover { background: var(--wf-blue-dark); border-color: var(--wf-blue-dark); color: #fff; }
.acs-btn { display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .12s, border-color .12s, box-shadow .12s, transform .06s; }
.acs-btn.is-line { background: var(--bg-raised); color: var(--wf-blue); border: 1.5px solid color-mix(in srgb, var(--wf-blue) 55%, var(--border)); }
.acs-btn.is-line:hover { background: var(--wf-tint); border-color: var(--wf-blue); }
.acs-btn.is-quiet { background: transparent; color: var(--off-white); border: 1.5px solid transparent; }
.acs-btn.is-quiet:hover { background: color-mix(in srgb, var(--muted) 12%, transparent); color: var(--white); }
.acs-btn.is-amber { background: var(--amb-tint); color: var(--amb-ink); border: 1.5px solid color-mix(in srgb, var(--amb) 55%, transparent); font-weight: 700; }
.acs-btn.is-amber:hover { background: color-mix(in srgb, #e0a13a 26%, var(--bg-raised)); }
.acs-btn:active, .acs-start:active, .acs-act:active { transform: translateY(1px); }
.acs-btn:focus-visible, .acs-start:focus-visible, .acs-act:focus-visible, .acs-back:focus-visible, .acs-opt:focus-visible { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--wf-blue) 35%, transparent); }

/* questions + Recent: the QuickBooks name in green, the WatchFlow name in navy */
.acs-q { border-left: 4px solid var(--amb); }
.acs-q.is-answered { border-left-color: var(--ok); }
.acs-q-who, .acs-rec-t { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.acs-q-who { font-size: 13.5px; font-weight: 600; color: var(--white); }
.acs-q-arrow { color: var(--muted); }
.acs-rec-n { font-size: 12.5px; font-weight: 700; color: var(--off-white); margin-right: 2px; }
.acs-rec-v { font-size: 12.5px; color: var(--muted); }

/* the check screen: two branded sides */
.acs-ck-main { display: flex; flex-direction: column; gap: 16px; }
.acs-side { padding: 0; gap: 0; overflow: hidden; border-width: 1px; border-top-width: 4px; }
.acs-side-in { display: flex; flex-direction: column; gap: 8px; padding: 16px 20px 18px; }
.acs-side-h { gap: 8px; padding: 10px 20px; font-size: 12.5px; letter-spacing: .6px; border-bottom: 1px solid var(--border-light, var(--border)); }
.acs-side.is-qb { border-color: color-mix(in srgb, var(--qb) 35%, var(--border)); border-top-color: var(--qb); background: var(--bg-raised); }
.acs-side.is-qb .acs-side-h { background: var(--qb-tint); color: var(--qb-ink); border-bottom-color: color-mix(in srgb, var(--qb) 25%, var(--border)); }
.acs-side.is-wf { border-color: color-mix(in srgb, var(--wf-blue) 35%, var(--border)); border-top-color: var(--wf-blue); background: var(--bg-raised); }
.acs-side.is-wf .acs-side-h { background: var(--wf-tint); color: var(--wf-ink); border-bottom-color: color-mix(in srgb, var(--wf-blue) 22%, var(--border)); }
.acs-guess-l { color: var(--wf-blue); font-weight: 700; margin-top: 0; }
.acs-lines th { color: var(--qb-ink); border-bottom-color: color-mix(in srgb, var(--qb) 40%, var(--border)); }
.acs-lines tbody tr:nth-child(odd) td { background: color-mix(in srgb, var(--qb) 4%, transparent); }
.acs-lines td { padding-left: 6px; padding-right: 6px; }
.acs-lines tr.is-mine td { background: var(--qb-tint); }
.acs-checks { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 4px 0 0; padding: 0; }
.acs-chk { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.acs-chk.is-ok { background: var(--ok-tint); color: var(--ok); }
.acs-chk.is-bad { background: var(--bad-tint); color: var(--bad); }
.acs-warn { background: var(--amb-tint); }
.acs-warn b { color: var(--amb-ink); }
.acs-warn li.is-money { color: var(--bad); }
.acs-warn li.is-money .acs-amt { color: var(--bad); }
.acs-sec-tag { align-items: center; gap: 10px; }
.acs-sec-tag.is-easy { background: color-mix(in srgb, var(--ok) 7%, transparent); }
.acs-sec-tag.is-look { background: color-mix(in srgb, var(--amb) 9%, transparent); }
.acs-back { color: var(--wf-blue); border: 1.5px solid color-mix(in srgb, var(--wf-blue) 45%, var(--border)); background: var(--bg-raised); }
.acs-back:hover { background: var(--wf-tint); border-color: var(--wf-blue); }
.acs-ck-bar i { background: var(--wf-blue); }
.acs-panel { border-top: 4px solid var(--wf-blue); }
.acs-panel.is-ask { border-top-color: var(--amb); background: color-mix(in srgb, #e0a13a 6%, var(--bg-raised)); }
.acs-opt:hover, .acs-opt:focus-visible { border-color: var(--wf-blue); background: var(--wf-tint); }
/* other possible matches: fills the space under the pair */
.acs-others { border: 1px solid var(--border-light, var(--border)); border-radius: 14px; background: var(--bg-raised); overflow: hidden; }
.acs-others-h { display: flex; align-items: center; gap: 8px; padding: 10px 18px; font-size: 12.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--off-white); border-bottom: 1px solid var(--border-light, var(--border)); }
.acs-others ul { list-style: none; margin: 0; padding: 0; }
.acs-others li { display: flex; align-items: center; gap: 12px; padding: 10px 18px; }
.acs-others li + li { border-top: 1px solid var(--border-light, var(--border)); }
.acs-others-m { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; color: var(--off-white); }
.acs-others-m b { font-size: 14.5px; color: var(--white); }
.acs-others-w { color: var(--muted); }
.acs-others .acs-btn { flex: 0 0 auto; min-height: 40px; }

/* the action bar: fixed places, one clear main button */
.acs-act { position: relative; border-radius: 12px; border: 1.5px solid transparent; transition: background .12s, border-color .12s, box-shadow .12s, transform .06s; }
.acs-act.is-yes { background: var(--wf-blue); border-color: var(--wf-blue); color: #fff; font-size: 16px; font-weight: 800; height: 52px; min-width: 240px; padding: 0 22px; box-shadow: 0 4px 14px color-mix(in srgb, var(--wf-blue) 35%, transparent); }
.acs-act.is-yes:hover { background: var(--wf-blue-dark); border-color: var(--wf-blue-dark); }
.acs-act.is-yes[disabled] { opacity: .45; box-shadow: none; }
.acs-act.is-no { background: var(--bg-raised); border-color: var(--wf-blue); color: var(--wf-blue); font-weight: 700; }
.acs-act.is-no:hover, .acs-act.is-no[aria-expanded="true"] { background: var(--wf-tint); }
.acs-act.is-ask { background: var(--amb-tint); border-color: color-mix(in srgb, var(--amb) 55%, transparent); color: var(--amb-ink); font-weight: 700; }
.acs-act.is-ask:hover, .acs-act.is-ask[aria-expanded="true"] { background: color-mix(in srgb, #e0a13a 28%, var(--bg-raised)); border-color: var(--amb); }
.acs-act.is-skip { background: transparent; color: var(--off-white); font-weight: 600; }
.acs-act.is-skip:hover { background: color-mix(in srgb, var(--muted) 12%, transparent); color: var(--white); }
.acs-act[aria-expanded="true"] { color: inherit; }
.acs-act.is-no[aria-expanded="true"] { color: var(--wf-blue); }
.acs-act.is-ask[aria-expanded="true"] { color: var(--amb-ink); }
.acs-kbd { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: 5px; font-family: var(--font-body); font-size: 11px; font-weight: 700; line-height: 1; background: color-mix(in srgb, currentColor 14%, transparent); color: inherit; opacity: .85; }

@media (min-width: 761px) {
  /* short items sit in the middle of the screen instead of leaving a blank lower half */
  .acs-ck-body { justify-content: safe center; }
}
@media (max-width: 760px) {
  .acs-side-h { padding: 9px 16px; }
  .acs-side-in { padding: 14px 16px 16px; }
  .acs-kbd { display: none; }
  .acs-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); box-shadow: 0 -6px 18px rgba(15, 24, 34, .08); }
  .acs-act.is-yes { grid-column: 1 / -1; height: 52px; font-size: 16px; min-width: 0; }
  .acs-act { height: 48px; padding: 0 6px; font-size: 13.5px; line-height: 16px; white-space: normal; text-align: center; }
  .acs-act[data-acs="skip"] { grid-column: auto; height: 48px; }
  .acs-others li { flex-wrap: wrap; padding: 10px 14px; }
  .acs-others .acs-btn { width: 100%; }
}
/* the "Saved / Undo that" note sits under the header on every screen size: never over a button or an open panel */
.acs-check .acs-toast-host { top: 84px; bottom: auto; }
/* "Send to JJ" is the main action of its panel: solid amber, dark text */
.acs-btn.is-amber { background: #e0a13a; border-color: #c98a26; color: #3d2600; }
.acs-btn.is-amber:hover { background: #d1912c; border-color: #b87b1d; }

/* ═════ v3 (Hal 2026-11-04): clear tabs again, "To check" first; every Accounting tab in the same look ═════
   ONE token set for every tab (html.acs-skin is set by accounting-hub.js while the switch is on). */
html.acs-skin { --qb: #2CA01C; --qb-ink: #1E7A12; --qb-tint: color-mix(in srgb, #2CA01C 8%, var(--bg-raised));
  --wf-navy: #0f1822; --wf-blue: #2967b0; --wf-blue-dark: #1f5391; --wf-tint: color-mix(in srgb, #2967b0 6%, var(--bg-raised));
  --ok: #1d7a52; --ok-tint: color-mix(in srgb, #1d7a52 10%, var(--bg-raised)); --bad: #c0392b; --bad-tint: color-mix(in srgb, #c0392b 9%, var(--bg-raised));
  --amb: #b7791f; --amb-ink: #6b4508; --amb-tint: color-mix(in srgb, #e0a13a 16%, var(--bg-raised)); }

/* the tab bar: one flat row, sticky, scrolls sideways when it does not fit (the active tab is scrolled into view) */
html.acs-skin .acct-tabs.is-simple { position: sticky; top: 0; z-index: 30; display: flex; width: 100%; max-width: 100%; margin: 0 0 12px; padding: 8px 0; border-radius: 0;
  background: var(--bg-void); border-bottom: 1px solid var(--border); box-shadow: 0 6px 12px -10px rgba(15, 24, 34, .25); }
html.acs-skin .acct-tabs.is-simple .acct-tabs-in { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
html.acs-skin .acct-tabs.is-simple .acct-tabs-in::-webkit-scrollbar { display: none; }
html.acs-skin .acct-tabs.is-simple .acct-more { display: none !important; }
html.acs-skin .acct-tabs.is-simple .acct-tab { height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--bg-raised); color: var(--off-white); font-weight: 600; box-shadow: none; }
html.acs-skin .acct-tabs.is-simple .acct-tab:hover { border-color: var(--wf-blue); color: var(--wf-blue); }
html.acs-skin .acct-tabs.is-simple .acct-tab.active { background: var(--wf-navy); border-color: var(--wf-navy); color: #fff; }
html.acs-skin .acct-tabs.is-simple .acct-tab:focus-visible { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--wf-blue) 35%, transparent); }

/* whose data this tab shows */
.acs-brandline { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 10px 14px; border-radius: 10px; font-family: var(--font-body); font-size: 14px; line-height: 20px; color: var(--white); }
.acs-brandline[data-brand="qb"] { background: var(--qb-tint); box-shadow: inset 4px 0 0 var(--qb); }
.acs-brandline[data-brand="wf"] { background: var(--wf-tint); box-shadow: inset 4px 0 0 var(--wf-blue); }
.acs-brandline .acs-pill-qb, .acs-brandline .acs-pill-wf, .acs-card-l .acs-pill-qb, .acs-card-l .acs-pill-wf { vertical-align: -4px; }
.acs-card-l .acs-pill-qb, .acs-card-l .acs-pill-wf { margin-right: 4px; }

/* the brand pills and pills, outside the home too (every tab) */
html.acs-skin .acs-pill-qb { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; height: 20px; padding: 0 7px; border-radius: 6px; background: var(--qb); color: #fff; font-size: 12px; font-weight: 800; line-height: 1; }
html.acs-skin .acs-pill-wf { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; height: 20px; padding: 0 7px 0 4px; border-radius: 6px; background: var(--wf-navy); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .6px; line-height: 1; }
html.acs-skin .acs-wfmark { display: inline-block; width: 14px; height: 14px; background: #fff; -webkit-mask: url(/brand/watchflow-mark.svg) center / contain no-repeat; mask: url(/brand/watchflow-mark.svg) center / contain no-repeat; }
.acs-pill.is-wait { background: color-mix(in srgb, var(--muted) 14%, var(--bg-raised)); color: var(--off-white); }
.acs-pill.is-run { background: var(--wf-tint); color: var(--wf-blue); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wf-blue) 35%, transparent); }
.acs-pill.is-bad { background: var(--bad-tint); color: var(--bad); }

/* tab views (Banks & cards, QuickBooks sync) */
.acs-tabview { gap: 24px; }
.acs-tabview .acs-cards { max-width: none; }
.acs-tabview .acs-sec-h { align-items: center; }
.acs-reread { margin-left: auto; gap: 6px; min-height: 40px; }
.acs-reread svg { width: 16px; height: 16px; }
.acs-card[data-k="cash"]::before, .acs-card[data-k="owed"]::before { background: var(--qb); }
.acs-card[data-k="cash"] .acs-card-v, .acs-card[data-k="owed"] .acs-card-v { color: var(--qb-ink); }
.acs-card-when { font-size: 22px; }
.acs-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.acs-tile { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; border: 1px solid var(--border-light, var(--border)); border-radius: 14px; background: var(--bg-raised); border-top: 4px solid var(--qb); }
.acs-tile-h { display: flex; align-items: center; gap: 10px; }
.acs-tile-ic { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; min-width: 36px; border-radius: 50%; aspect-ratio: 1 / 1; background: var(--qb-tint); color: var(--qb-ink); }
.acs-tile-ic svg { width: 18px; height: 18px; }
.acs-tile-n { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.acs-tile-n b { font-size: 15.5px; color: var(--white); overflow-wrap: anywhere; }
.acs-tile-n span { font-size: 12.5px; color: var(--muted); }
.acs-tile-bal { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--qb-tint); }
.acs-tile-bl { font-size: 13px; color: var(--qb-ink); font-weight: 600; }
.acs-tile-bal strong { margin-left: auto; font-size: 20px; color: var(--white); }
.acs-tile-s { font-size: 12.5px; color: var(--muted); }
.acs-tile-a { display: flex; flex-wrap: wrap; gap: 8px; }
.acs-tile-a .acs-btn { min-height: 40px; }
.acs-quiet { margin: 0; font-size: 13.5px; line-height: 20px; color: var(--off-white); }
.acs-link { padding: 0; border: 0; background: none; color: var(--wf-blue); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.acs-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.acs-step { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto 120px; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--border-light, var(--border)); border-radius: 14px; background: var(--bg-raised); }
.acs-step-n { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; min-width: 36px; border-radius: 50%; aspect-ratio: 1 / 1; background: var(--qb-tint); color: var(--qb-ink); font-weight: 800; font-size: 15px; }
.acs-step-m { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.acs-step-m > b { font-size: 15.5px; color: var(--white); }
.acs-step-m > span { font-size: 13.5px; color: var(--off-white); }
.acs-step-a { display: flex; justify-content: flex-end; }
.acs-step-a .acs-btn { min-width: 104px; min-height: 40px; }
.acs-detail-h { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--border); }
#acs-sync { margin-bottom: 8px; }

/* the shared look on the older tab bodies (Bookkeeping, Uploaded statements, the sync detail, QuickBooks payments, QuickBooks settings,
   the registers): one button set, colored status pills, bold money, the app font */
html.acs-skin :is(#page-accounting, #page-qb-bank, #page-bookkeeping, #page-statement-lines, #page-qb-sync, #page-qb-payments, #page-quickbooks) { font-family: var(--font-body); }
html.acs-skin :is(#page-qb-bank, #page-bookkeeping, #page-statement-lines, #page-qb-sync, #page-qb-payments, #page-quickbooks) :is(.btn-gold, .btn-primary) { background: var(--wf-blue); border-color: var(--wf-blue); color: #fff; font-weight: 700; }
html.acs-skin :is(#page-qb-bank, #page-bookkeeping, #page-statement-lines, #page-qb-sync, #page-qb-payments, #page-quickbooks) :is(.btn-gold, .btn-primary):hover { background: var(--wf-blue-dark); border-color: var(--wf-blue-dark); }
html.acs-skin :is(#page-qb-bank, #page-bookkeeping, #page-statement-lines, #page-qb-sync, #page-qb-payments, #page-quickbooks) .btn-outline { border: 1.5px solid color-mix(in srgb, var(--wf-blue) 55%, var(--border)); color: var(--wf-blue); background: var(--bg-raised); font-weight: 600; }
html.acs-skin :is(#page-qb-bank, #page-bookkeeping, #page-statement-lines, #page-qb-sync, #page-qb-payments, #page-quickbooks) .btn-outline:hover { background: var(--wf-tint); border-color: var(--wf-blue); }
html.acs-skin :is(#page-qb-bank, #page-bookkeeping, #page-statement-lines, #page-qb-sync, #page-qb-payments, #page-quickbooks) :is(.btn, button):focus-visible { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--wf-blue) 35%, transparent); }
html.acs-skin :is(#page-qb-bank, #page-bookkeeping, #page-statement-lines, #page-qb-sync, #page-qb-payments, #page-quickbooks) .pay-kpi { position: relative; overflow: hidden; border-radius: 14px; background: var(--bg-raised); border: 1px solid var(--border-light, var(--border)); box-shadow: inset 4px 0 0 var(--wf-blue); }
html.acs-skin :is(#page-qb-bank, #page-bookkeeping, #page-statement-lines, #page-qb-sync, #page-qb-payments, #page-quickbooks) .pay-kpi-value { font-weight: 800; color: var(--wf-navy); }
html.acs-skin :is(#page-qb-bank, #page-bookkeeping, #page-statement-lines, #page-qb-sync, #page-qb-payments, #page-quickbooks) :is(.mono, .qbb-mono, .qbc-num, .money, [class*="-amt"], [class*="amount"]) { font-weight: 700; font-variant-numeric: tabular-nums; }
/* status pills on the older screens: green done, amber needs you, blue ready/running, grey waiting */
html.acs-skin #page-qb-sync .qsy-pill { border-radius: 999px; font-weight: 700; }
html.acs-skin #page-qb-sync .qsy-pill[data-tone="need"], html.acs-skin #page-qb-sync .qsy-pill[data-tone="amber"] { background: var(--amb-tint); color: var(--amb-ink); }
html.acs-skin #page-qb-sync .qsy-pill[data-tone="green"], html.acs-skin #page-qb-sync .qsy-pill[data-tone="done"] { background: var(--ok-tint); color: var(--ok); }
html.acs-skin #page-qb-sync .qsy-pill[data-tone="blue"] { background: var(--wf-tint); color: var(--wf-blue); }
html.acs-skin #page-qb-sync .qsy-pill[data-tone="grey"] { background: color-mix(in srgb, var(--muted) 14%, var(--bg-raised)); color: var(--off-white); }
html.acs-skin :is(#page-bookkeeping, #page-statement-lines, #page-qb-payments) :is(.badge, .status-badge, .bk-state, .bkc-pill) { border-radius: 999px; font-weight: 700; }
/* the older page headers repeat the page name under the tabs: keep them, quieter */
html.acs-skin :is(#page-qb-bank, #page-bookkeeping, #page-statement-lines, #page-qb-sync, #page-qb-payments, #page-quickbooks) .inv-header-eyebrow { color: var(--muted); }

@media (max-width: 760px) {
  html.acs-skin .acct-tabs.is-simple { padding: 6px 0; margin-bottom: 10px; }
  html.acs-skin .acct-tabs.is-simple .acct-tab { height: 38px; padding: 0 14px; font-size: 14px; }
  .acs-brandline { font-size: 13.5px; align-items: flex-start; }
  .acs-tiles { grid-template-columns: minmax(0, 1fr); }
  .acs-step { grid-template-columns: 36px minmax(0, 1fr); row-gap: 10px; }
  .acs-step > .acs-pill { grid-column: 2; justify-self: start; }
  .acs-step-a { grid-column: 1 / -1; }
  .acs-step-a .acs-btn { width: 100%; }
  .acs-step-a:empty { display: none; }
  .acs-reread { margin-left: 0; width: 100%; }
}
/* v3 fixes: the tab and its brand line already name the page, so the old title-only headers step aside (their buttons stay) */
html.acs-skin #page-qb-bank > .page-content > .inv-header { display: none; }
html.acs-skin #page-qb-sync .inv-header-left { display: none; }
html.acs-skin #page-qb-sync .inv-header { justify-content: flex-end; }
.acs-tile-bal strong { white-space: nowrap; }
.acs-tile-bal strong.is-neg { color: var(--bad); }
.acs-tile-bl { white-space: nowrap; }
@media (max-width: 760px) {
  .acs-tabview .acs-cards { grid-template-columns: minmax(0, 1fr); }
  .acs-tabview .acs-card { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 10px; }
  .acs-tabview .acs-card-l { flex: 1 0 100%; }
  .acs-tabview .acs-card-s { display: block; }
  .acs-tile-bal { flex-wrap: wrap; }
  .acs-tile-bal strong { margin-left: 0; flex: 1 0 100%; }
}

.acs-tile-s.is-neg { color: var(--bad); font-weight: 600; }
/* phone: the tab row fades at the edge, so it reads as "more tabs this way" */
@media (max-width: 760px) {
  html.acs-skin .acct-tabs.is-simple .acct-tabs-in { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 28px; }
}

/* QuickBooks sync: the older step-by-step page folds behind "Show full sync detail" (closed by default; its buttons still work when open) */
html.acs-skin #page-qb-sync:not(.acs-detail-open) > .page-content > :not(.acct-tabs):not(.acs-brandline):not(#acs-sync) { display: none !important; }
.acs-detail-toggle { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border); }
.acs-step.is-sub { margin-left: 28px; border-style: dashed; }
.acs-step.is-sub .acs-step-n { background: var(--amb-tint); color: var(--amb-ink); }
/* Banks & cards: the QuickBooks numbers are QuickBooks' books, not the bank's */
.acs-qbnote { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 10px 14px; border-radius: 10px; background: var(--qb-tint); font-size: 14px; line-height: 20px; color: var(--white); }
.acs-qbnote b { font-weight: 700; }
@media (max-width: 760px) { .acs-step.is-sub { margin-left: 0; } }
/* the QuickBooks balance: label on top, the amount on its own line (never spills out of the box) */
.acs-tile-bal { flex-wrap: wrap; row-gap: 4px; }
.acs-tile-bal strong { margin-left: 0; flex: 1 0 100%; font-size: 21px; }
/* v4 polish (2026-11-04): Bookkeeping's tile notes wrap instead of cutting off */
html.acs-skin #page-bookkeeping .bkc-kpis .pay-kpi-sub { white-space: normal; overflow: visible; text-overflow: clip; }
/* QuickBooks settings: connection and options first; the invoice list waits behind its own button */
html.acs-skin #page-quickbooks:not(.acs-inv-open) #qb-kpis,
html.acs-skin #page-quickbooks:not(.acs-inv-open) #qb-work { display: none !important; }
.acs-qbset { margin: 8px 0 20px; }
.acs-qbopts { display: flex; flex-wrap: wrap; gap: 10px; }
.acs-qbopt { display: inline-flex; align-items: center; gap: 8px; }
.acs-qbopt svg { width: 16px; height: 16px; flex: none; }
.acs-qbopt.is-danger { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 45%, transparent); }
@media (max-width: 760px) { .acs-qbopts .acs-qbopt { flex: 1 0 100%; justify-content: center; } }
.acs-qbset > .acs > * + * { margin-top: 16px; } .acs-qbset { margin-top: 20px; }
/* the "…" menu holds the same options now shown as buttons */
html.acs-skin #page-quickbooks #qb-head-acts .wfil-popwrap { display: none; }
@media (max-width: 760px) { html.acs-skin #page-quickbooks #qb-sum .qb-ro { flex: 0 0 auto; width: auto; } }

/* ═══ Banks & cards v5 (Hal 2026-11-04): one account list for banks and cards; the ones that need you highlighted ═══ */
.acs-bc .acs-bc-sum { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; }
.acs-bc-reread { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; align-self: flex-start; font-size: 13.5px; }
.acs-bc-reread svg { width: 15px; height: 15px; }
.acs-bc .acs-qbnote { font-size: 13px; line-height: 18px; padding: 8px 12px; }
.acs-acg { display: flex; flex-direction: column; gap: 12px; }
.acs-acl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.acs-ac { position: relative; border: 1px solid var(--border-light, var(--border)); border-radius: 14px; background: var(--bg-raised); overflow: hidden; }
.acs-ac.is-need { border-color: color-mix(in srgb, var(--wf-blue) 30%, var(--border)); box-shadow: inset 4px 0 0 var(--wf-blue), 0 1px 2px rgba(15, 24, 34, .05); }
.acs-ac.is-done { background: color-mix(in srgb, var(--bg-raised) 70%, var(--bg-void)); }
.acs-ac-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) 240px 180px 264px; align-items: center; gap: 20px; padding: 14px 16px 14px 20px; }
.acs-ac-ic { width: 36px; height: 36px; min-width: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--wf-tint); color: var(--wf-blue); aspect-ratio: 1 / 1; box-sizing: border-box; }
.acs-ac-ic svg { width: 18px; height: 18px; }
.acs-ac.is-done .acs-ac-ic { background: var(--ok-tint); color: var(--ok); }
.acs-ac-n { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.acs-ac-n b { font-size: 15.5px; font-weight: 700; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acs-ac-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--off-white); }
.acs-ac-who { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.acs-ac-who > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acs-ac-prog { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.acs-bar-t { height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--wf-blue) 12%, var(--bg-void)); overflow: hidden; }
.acs-bar-t > i { display: block; height: 100%; border-radius: inherit; background: var(--wf-blue); }
.acs-ac.is-done .acs-bar-t > i { background: var(--ok); }
.acs-ac-pl { font-size: 13px; color: var(--off-white); white-space: nowrap; }
.acs-ac-pl b { color: var(--white); }
.acs-ac-bal { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; min-width: 0; text-align: right; }
.acs-ac-bl { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--off-white); white-space: nowrap; }
.acs-ac-bal strong { font-size: 17px; font-weight: 800; color: var(--white); white-space: nowrap; }
.acs-ac-bal strong.is-neg, .acs-ac-negn { color: var(--bad); }
.acs-ac-negn { font-size: 12px; font-weight: 600; }
.acs-ac-a { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.acs-ac-more { display: inline-flex; align-items: center; gap: 4px; }
.acs-ac-more svg { width: 16px; height: 16px; transition: transform .15s; }
.acs-ac.is-open .acs-ac-more svg { transform: rotate(180deg); }
.acs-ac-latest { border-top: 1px solid var(--border-light, var(--border)); padding: 10px 16px 12px 20px; background: color-mix(in srgb, var(--wf-tint) 60%, var(--bg-raised)); }
.acs-lt { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.acs-lt-r { display: grid; grid-template-columns: 56px auto minmax(0, 1fr) auto minmax(0, 1.2fr); align-items: center; gap: 10px; padding: 8px 0; font-size: 13.5px; }
.acs-lt-r + .acs-lt-r { border-top: 1px dashed var(--border-light, var(--border)); }
.acs-lt-d { color: var(--off-white); white-space: nowrap; }
.acs-lt-n { color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.acs-lt-amt { font-weight: 700; white-space: nowrap; color: var(--ok); }
.acs-lt-amt.is-out { color: var(--white); }
.acs-lt-m { display: flex; align-items: center; gap: 6px; min-width: 0; }
.acs-lt-wf { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; color: var(--white); font-weight: 600; }
.acs-lt-note { color: var(--off-white); }
.acs-lt-foot { margin: 6px 0 0; font-size: 13px; }
.acs-acdone { border: 1px dashed var(--border); border-radius: 14px; padding: 0 12px; }
.acs-acdone[open] { padding-bottom: 12px; }
.acs-acdone > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--white); }
.acs-acdone > summary::-webkit-details-marker { display: none; }
.acs-acdone > summary svg { width: 16px; height: 16px; margin-left: auto; transition: transform .15s; }
.acs-acdone[open] > summary svg { transform: rotate(180deg); }
.acs-acdone-n { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--ok-tint); color: var(--ok); font-size: 12.5px; }
@media (max-width: 1240px) {
  .acs-ac-row { grid-template-columns: 36px minmax(0, 1fr) auto; grid-template-areas: "ic n bal" "ic prog prog" "ic a a"; row-gap: 10px; }
  .acs-ac-ic { grid-area: ic; align-self: start; } .acs-ac-n { grid-area: n; } .acs-ac-bal { grid-area: bal; } .acs-ac-prog { grid-area: prog; } .acs-ac-a { grid-area: a; justify-content: flex-start; }
}
@media (max-width: 760px) {
  .acs-bc .acs-bc-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acs-ac-row { padding: 12px 12px 12px 16px; column-gap: 12px; }
  .acs-ac-a { flex-wrap: wrap; }
  .acs-ac-a .acs-btn.is-blue { flex: 1 1 auto; }
  .acs-lt-r { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "d n amt" "m m m"; row-gap: 4px; }
  html.acs-skin .acs-lt-r > .acs-pill-qb { display: none; }
  .acs-lt-d { grid-area: d; } .acs-lt-n { grid-area: n; } .acs-lt-amt { grid-area: amt; } .acs-lt-m { grid-area: m; }
  .acs-ac-latest { padding: 8px 12px 10px 16px; }
}
@media (max-width: 760px) {
  .acs-ac-n b { white-space: normal; overflow: visible; }
  .acs-bc .acs-card-s, .acs-bc .acs-card-l { white-space: normal; overflow: visible; text-overflow: clip; }
}

/* ═══ v6 (Hal 2026-11-04): To check rows you can scan; ONE mirrored breakdown on every check card ═══ */
/* one colour per kind: a solid icon tile and a matching left edge */
.acs-need[data-kind] { --k: var(--wf-blue); position: relative; box-shadow: inset 4px 0 0 var(--k); padding-left: 22px; }
.acs-need[data-kind="contacts"] { --k: #2967b0; }
.acs-need[data-kind="vendors"] { --k: #6b4fc8; }
.acs-need[data-kind="invoices"] { --k: #0f7f8c; }
.acs-need[data-kind="payments"] { --k: #c2570c; }
.acs-need[data-kind="lines"] { --k: #1f3a5f; }
.acs-need[data-kind="buys"] { --k: #b8456a; }
.acs-need[data-kind="books"] { --k: #475569; }
.acs-need[data-kind] .acs-need-ic { background: var(--k); color: #fff; }
.acs-need[data-kind]:hover { box-shadow: inset 4px 0 0 var(--k), 0 4px 14px rgba(15, 24, 34, .07); }
/* Easy / Needs a look at a glance: a two-colour bar and the two numbers */
.acs-need-parts { align-items: center; gap: 10px; }
.acs-split { display: inline-flex; width: 140px; height: 8px; border-radius: 999px; overflow: hidden; background: var(--bg-void); flex: 0 0 auto; }
.acs-split > i { display: block; height: 100%; }
.acs-split > i.is-easy { background: var(--acs-easy, #1d7a52); }
.acs-split > i.is-look { background: var(--amb, #b7791f); }
.acs-split-w { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--off-white); }
.acs-split-w b { color: var(--white); font-weight: 700; }
.acs-split-sep { color: var(--muted); }
.acs-dot { display: inline-block; width: 9px; height: 9px; min-width: 9px; border-radius: 50%; aspect-ratio: 1 / 1; }
.acs-dot.is-easy { background: var(--acs-easy, #1d7a52); } .acs-dot.is-look { background: var(--amb, #b7791f); }
.acs-group-h { display: flex; align-items: center; gap: 8px; margin: 6px 0 8px; font-size: 14px; font-weight: 700; color: var(--white); }
.acs-group-h + .acs-needs + .acs-group-h { margin-top: 18px; }
.acs-proven { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 13.5px; color: var(--off-white); }
.acs-proven svg { width: 16px; height: 16px; color: var(--acs-easy, #1d7a52); flex: 0 0 auto; }
.acs-proven b { color: var(--white); }
.acs-sec-tag.is-books { background: var(--wf-tint); align-items: center; }
.acs-sec-tag.is-books b { color: var(--wf-navy); }

/* the mirrored breakdown: label | QuickBooks | marker | WatchFlow */
.acs-cmp { display: flex; flex-direction: column; gap: 10px; }
.acs-cmp-sum { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; background: var(--amb-tint); color: var(--amb-ink); font-size: 15px; font-weight: 700; line-height: 21px; }
.acs-cmp-sum.is-all { background: var(--ok-tint); color: var(--ok); }
.acs-cmp-sum svg { width: 18px; height: 18px; flex: 0 0 auto; }
.acs-cmp-sum .acs-amt { font-weight: 800; }
.acs-cmp-does { font-size: 14px; color: var(--off-white); line-height: 20px; }
.acs-cmp-does b { color: var(--wf-navy); }
.acs-cmp-t { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; border: 1px solid var(--border-light, var(--border)); border-radius: 14px; overflow: hidden; background: var(--bg-raised); }
.acs-cmp-t th, .acs-cmp-t td { padding: 11px 14px; text-align: left; vertical-align: top; font-size: 14px; line-height: 20px; border-top: 1px solid var(--border-light, var(--border)); overflow-wrap: anywhere; }
.acs-cmp-t thead th { border-top: 0; padding-top: 12px; padding-bottom: 12px; }
.acs-cmp-l { width: 130px; color: var(--off-white); font-weight: 600; font-size: 13px !important; }
.acs-cmp-m { width: 150px; text-align: center !important; }
.acs-cmp-c.is-qb { background: color-mix(in srgb, var(--qb) 5%, var(--bg-raised)); }
.acs-cmp-c.is-wf { background: color-mix(in srgb, var(--wf-blue) 5%, var(--bg-raised)); }
thead .acs-cmp-c.is-qb { background: var(--qb-tint); box-shadow: inset 0 -2px 0 var(--qb); }
thead .acs-cmp-c.is-wf { background: var(--wf-tint); box-shadow: inset 0 -2px 0 var(--wf-blue); }
.acs-cmp-hh { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--off-white); }
.acs-cmp-c.is-qb .acs-cmp-hh { color: var(--qb-ink); } .acs-cmp-c.is-wf .acs-cmp-hh { color: var(--wf-navy); }
.acs-cmp-ht { display: block; margin-top: 4px; font-size: 15px; font-weight: 700; color: var(--white); line-height: 20px; }
.acs-cmp-none { color: var(--muted); font-style: italic; }
.acs-cmp-t tr.is-diff td.acs-cmp-c { color: var(--amb-ink); font-weight: 600; }
.acs-cmp-t tr.is-diff td.acs-cmp-c.is-qb, .acs-cmp-t tr.is-diff td.acs-cmp-c.is-wf { background: color-mix(in srgb, #e0a13a 10%, var(--bg-raised)); }
.acs-mk { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.acs-mk.is-ok { width: 26px; height: 26px; min-width: 26px; min-height: 26px; padding: 0; border-radius: 50%; aspect-ratio: 1 / 1; box-sizing: border-box; background: var(--ok); color: #fff; }
.acs-mk.is-ok svg { width: 15px; height: 15px; }
.acs-mk.is-diff { background: var(--amb-tint); color: var(--amb-ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--amb) 40%, transparent); }
.acs-mk.is-only { background: color-mix(in srgb, var(--muted) 14%, var(--bg-raised)); color: var(--off-white); white-space: normal; line-height: 15px; padding: 4px 9px; }
.acs-cmp-open { align-self: flex-start; font-size: 14px; }
@media (max-width: 760px) {
  .acs-need[data-kind] { padding-left: 18px; }
  .acs-split { width: 96px; }
  .acs-cmp-t, .acs-cmp-t thead, .acs-cmp-t tbody { display: block; }
  .acs-cmp-t tr { display: grid; grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr); grid-template-areas: "l l l" "q m w"; border-top: 1px solid var(--border-light, var(--border)); }
  .acs-cmp-t thead tr { grid-template-areas: "q m w"; border-top: 0; }
  .acs-cmp-t thead .acs-cmp-l { display: none; }
  .acs-cmp-t th, .acs-cmp-t td { border-top: 0; padding: 8px 10px; font-size: 13.5px; }
  .acs-cmp-l { grid-area: l; width: auto; padding-bottom: 0 !important; background: none; }
  .acs-cmp-c.is-qb { grid-area: q; } .acs-cmp-c.is-wf { grid-area: w; } .acs-cmp-m { grid-area: m; width: auto; display: flex; align-items: flex-start; justify-content: center; }
  .acs-cmp-ht { font-size: 13.5px; }
  .acs-mk.is-only { font-size: 11.5px; padding: 3px 6px; }
}
/* v6 fixes: the kind colour wins over the older per-list tint; table text is the app's own (no site-wide th caps); words never split */
.acs-need[data-kind][data-s] .acs-need-ic { --k: inherit; }
.acs-cmp-t th, .acs-cmp-t td { text-transform: none !important; letter-spacing: normal !important; overflow-wrap: break-word !important; word-break: normal !important; }
.acs-cmp-t th.acs-cmp-l { width: 150px; font-size: 13px !important; font-weight: 700; color: var(--off-white); }
.acs-cmp-t thead th { font-weight: 400; }
@media (max-width: 760px) { .acs-cmp-t th.acs-cmp-l { width: auto; } }
@media (max-width: 760px) { .acs-cmp-hh > span:last-child { display: none; } .acs-cmp-t thead th { padding: 10px; } }
/* v6b: the one banner carries the Easy / Needs-a-look pill */
.acs-cmp-sum { flex-wrap: wrap; row-gap: 6px; }
.acs-cmp-sum .acs-pill { flex: 0 0 auto; }
.acs-cmp-does { font-size: 14.5px; color: var(--white); }
/* a payment bigger than the invoice owes: the banner says what to do; a pick that cannot take it is shown but off */
.acs-cmp-sum.is-block { background: var(--bad-tint); color: var(--bad); }
.acs-opt.is-off { opacity: .6; cursor: not-allowed; }
/* v6c: the source tag under each value */
.acs-src { display: block; margin-top: 4px; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--off-white); overflow-wrap: break-word; }
.acs-cmp-c.is-qb .acs-src { color: var(--qb-ink); }
.acs-src.is-ph { color: var(--amb-ink); font-weight: 600; } /* plain words, not a badge (Hal 2026-11-05) */
.acs-src.is-none { color: var(--muted); font-style: italic; }
.acs-cmp-t tr.is-diff td.acs-cmp-c .acs-src { font-weight: 500; }
/* v6d: "Make this a standard", Matched automatically, Your standards */
.acs-std { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.acs-std.is-open { flex-direction: column; align-items: stretch; padding: 14px 16px; border: 1.5px solid color-mix(in srgb, var(--wf-blue) 40%, var(--border)); border-radius: 14px; background: var(--wf-tint); }
.acs-std-t { margin: 0; font-size: 15.5px; font-weight: 700; color: var(--white); line-height: 2; }
.acs-std-sel { display: inline-block; width: 72px; min-height: 40px; margin: 0 4px; padding: 0 8px; font-size: 16px; font-weight: 700; }
.acs-std-h { font-size: 13px; color: var(--off-white); margin: 0; }
.acs-auto-a { display: flex; gap: 8px; flex: 0 0 auto; }
.acs-rec.is-auto .acs-rec-t { align-items: center; gap: 8px; }
.acs-switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; flex: 0 0 auto; }
.acs-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.acs-switch-t { position: relative; width: 44px; min-width: 44px; height: 26px; border-radius: 999px; background: color-mix(in srgb, var(--muted) 35%, var(--bg-raised)); transition: background .15s; }
.acs-switch-t::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .15s; }
.acs-switch input:checked + .acs-switch-t { background: var(--wf-blue); }
.acs-switch input:checked + .acs-switch-t::after { transform: translateX(18px); }
.acs-switch input:focus-visible + .acs-switch-t { box-shadow: 0 0 0 3px color-mix(in srgb, var(--wf-blue) 35%, transparent); }
.acs-switch-l { font-size: 13px; font-weight: 700; color: var(--off-white); min-width: 24px; }
@media (max-width: 760px) { .acs-auto-a { width: 100%; } .acs-auto-a .acs-btn { flex: 1 1 0; } }
/* Prepared questions (utils/acctQuestions.js; Hal 2026-11-04): "Questions for Ana" / "Questions for JJ" on To check, and the question card */
.acs-sec-go { margin-left: auto; }
.acs-qrows .acs-need-h { overflow-wrap: anywhere; }
.acs-qrows .acs-q-chips { margin-top: 4px; }
.acs-count.is-quiet { background: color-mix(in srgb, var(--muted) 22%, var(--bg-raised)); color: var(--white); }
.acs-decide { margin: 0; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 12px; border: 1.5px solid color-mix(in srgb, var(--wf-blue) 35%, var(--border)); background: var(--wf-tint); }
.acs-decide-l { font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--wf-blue); }
.acs-decide-t { font-size: 16px; line-height: 22px; font-weight: 700; color: var(--white); }
.acs-quick { display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; border: 1px solid var(--border-light, var(--border)); border-radius: 14px; background: var(--bg-raised); }
.acs-quick-h { font-size: 16px; font-weight: 700; color: var(--white); }
.acs-quick-bs { display: flex; flex-wrap: wrap; gap: 8px; }
.acs-quick-b { min-height: 44px; padding: 0 16px; font-weight: 700; }
.acs-qc { display: flex; flex-direction: column; gap: 16px; }
.acs-qc-for { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.acs-qc-k { font-size: 13.5px; font-weight: 600; color: var(--off-white); }
.acs-qc-t { margin: 0; font-size: 20px; line-height: 28px; font-weight: 700; color: var(--white); }
.acs-qc-why { margin: 0; font-size: 14px; line-height: 20px; color: var(--off-white); }
.acs-qc-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
.acs-qc-safe { margin: 0; padding: 10px 14px; border-radius: 10px; font-size: 13.5px; line-height: 20px; color: var(--off-white); background: color-mix(in srgb, var(--muted) 9%, transparent); }
.acs-qc-hist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.acs-qf-t .acs-cmp-l { width: 150px; }
.acs-qf-t .acs-cmp-l .acs-mk { display: flex; width: max-content; margin-top: 6px; }
.acs-qf-t thead .acs-cmp-c { background: var(--wf-tint); }
.acs-qf-t tr.is-diff td.acs-cmp-c { background: color-mix(in srgb, #e0a13a 10%, var(--bg-raised)); color: var(--amb-ink); font-weight: 600; }
.acs-pill-sheet { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; background: #1e7b45; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .4px; line-height: 1; }
.acs-qbar { flex-wrap: wrap; }
.acs-act.is-choice { background: var(--bg-raised); border: 1.5px solid color-mix(in srgb, var(--wf-blue) 45%, var(--border)); color: var(--white); font-weight: 700; min-width: 120px; }
.acs-act.is-choice.is-first { background: var(--wf-blue); border-color: var(--wf-blue); color: #fff; }
.acs-act.is-choice .acs-kbd { opacity: .7; }
@media (max-width: 760px) {
  .acs-sec-go { margin-left: 0; width: 100%; }
  .acs-qc-t { font-size: 17px; line-height: 24px; }
  .acs-qf-t tr { grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); grid-template-areas: none; }
  .acs-qf-t tbody .acs-cmp-l { grid-row: 1 !important; grid-column: 1 / -1 !important; padding-bottom: 0 !important; }
  .acs-qf-t thead .acs-cmp-l { display: none; }
  .acs-qf-t tbody .acs-cmp-c { grid-row: 2 !important; grid-column: auto !important; }
  .acs-qf-t thead .acs-cmp-c { grid-row: 1 !important; grid-column: auto !important; }
  .acs-qf-t .acs-cmp-l .acs-mk { display: inline-flex; margin: 0 0 0 8px; vertical-align: 1px; }
  .acs-qbar { gap: 6px; }
  .acs-qbar .acs-act { height: 42px; font-size: 14px; }
  .acs-qbar .acs-act[data-acs="skip"] { height: 36px; }
  .acs-qbar { display: grid; grid-template-columns: 1fr 1fr; }
  .acs-act.is-choice { min-width: 0; }
  .acs-qbar .acs-act[data-acs="skip"] { grid-column: 1 / -1; }
  .acs-quick-b { width: 100%; justify-content: center; }
}
/* Hal 2026-11-04 ("no text blobs"): a short title, bullets, the question on its own line; View in QuickBooks / View in WatchFlow; quick answers */
.acs-head { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; border-radius: 14px; border: 1.5px solid color-mix(in srgb, var(--wf-blue) 30%, var(--border)); background: var(--wf-tint); }
.acs-head-t { margin: 0; font-size: 19px; line-height: 26px; font-weight: 700; color: var(--white); }
.acs-bul { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 22px; color: var(--off-white); }
.acs-bul li::marker { color: var(--wf-blue); }
.acs-ask { margin: 0; font-size: 16px; line-height: 22px; font-weight: 800; color: var(--white); }
.acs-qrows .acs-bul { margin-top: 6px; font-size: 13.5px; line-height: 20px; gap: 4px; }
.acs-qrows .acs-ask { margin-top: 8px; font-size: 14px; line-height: 20px; }
.acs-views { display: flex; flex-wrap: wrap; gap: 10px; }
.acs-view { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; font-weight: 700; }
.acs-qa { gap: 14px; }
.acs-qa .acs-quick-b.is-first { background: var(--wf-blue); border-color: var(--wf-blue); color: #fff; }
.acs-qa-row { display: flex; gap: 10px; align-items: stretch; }
.acs-qa-row .acs-in { flex: 1 1 auto; min-height: 48px; }
.acs-qa-send { flex: 0 0 auto; min-width: 96px; min-height: 48px; }
.acs-head + .acs-views { margin-top: -4px; }
@media (max-width: 760px) {
  .acs-head { padding: 14px 16px; }
  .acs-head-t { font-size: 17px; line-height: 24px; }
  .acs-bul { font-size: 14px; line-height: 21px; }
  .acs-views .acs-view { flex: 1 1 100%; justify-content: center; }
  .acs-qa-row { flex-direction: column; }
  .acs-qa-send { width: 100%; }
  .acs-qbar { grid-template-columns: 1fr 1fr; }
  .acs-qbar .acs-act[data-acs="skip"] { grid-column: auto; height: 46px; }
}
/* ═══ To check polish (Hal 2026-11-05, from JJ's screens) ═══ */
/* desktop: the floating eye + bell (top 12px, right 16px, ~84px wide) never sit on the page's right-hand buttons once it scrolls */
@media (min-width: 1025px) {
  .main-content > #page-accounting > .page-content { padding-right: 112px; }
}
/* question titles fill the line: the app-wide heading rule (html[data-remodel="2"] h3: text-wrap balance, line-height 1.08) broke
   "JJ-2378: sale price / differs from QuickBooks" early and squeezed the two lines together */
.acs-check .acs-head-t { text-wrap: wrap; line-height: 26px; }
/* the forwarded "Asked by JJ" questions are question cards too: the same blue edge as the other question cards, not orange */
.acs-q { border-left: 1px solid var(--border-light, var(--border)); box-shadow: inset 4px 0 0 var(--wf-blue); padding-left: 22px; }
.acs-q.is-answered { border-left-color: var(--border-light, var(--border)); box-shadow: inset 4px 0 0 var(--ok); }
@media (max-width: 760px) {
  /* the three number boxes: one row each, label (and its small line) on the left, the number on the right; nothing wraps or hides */
  .acs-cards { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .acs-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "l v" "s v"; align-items: center; column-gap: 12px; row-gap: 2px; padding: 10px 14px 10px 18px; }
  .acs-card-l { grid-area: l; white-space: nowrap; font-size: 13px; line-height: 18px; }
  .acs-card-s { grid-area: s; display: block; font-size: 12px; line-height: 16px; }
  .acs-card-v { grid-area: v; font-size: 24px; line-height: 30px; }
  /* question cards: a small icon beside the title, then the bullets, the question and the button at full width (no empty gutter) */
  .acs-qrows .acs-need { grid-template-columns: 28px minmax(0, 1fr); column-gap: 10px; row-gap: 6px; align-items: start; padding: 14px 14px 14px 18px; }
  .acs-qrows .acs-need-main { display: contents; }
  .acs-qrows .acs-need-ic { grid-column: 1; grid-row: 1; width: 28px; height: 28px; min-width: 28px; min-height: 28px; max-width: 28px; max-height: 28px; flex: 0 0 28px; aspect-ratio: 1 / 1; box-sizing: border-box; padding: 0; line-height: 0; }
  .acs-qrows .acs-need-ic svg { width: 16px; height: 16px; }
  .acs-qrows .acs-need-t { grid-column: 2; grid-row: 1; align-self: center; font-size: 15.5px; line-height: 21px; }
  .acs-qrows .acs-need-main > :not(.acs-need-t) { grid-column: 1 / -1; margin-top: 0; }
  .acs-qrows .acs-bul { padding-left: 18px; }
  .acs-qrows .acs-start { margin-top: 4px; }
  .acs-check .acs-head-t { line-height: 24px; }
  /* the check card's bar: "No, pick another" and "I don't know" stay on one line */
  .acs-bar:not(.acs-qbar) { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .8fr); }
  .acs-bar:not(.acs-qbar) .acs-act { padding: 0 4px; }
  .acs-bar .acs-act.is-no, .acs-bar .acs-act.is-ask { white-space: nowrap; }
}
