:root {
  --navy: #13284C; --navy-2: #274872; --ink: #1b2430; --muted: #5d6b7a; --line: #dde3ea;
  --bg: #f3f5f8; --card: #fff; --accent: #2a7a5f; --danger: #b3261e; --focus: #3b82f6;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ink); background: var(--bg); }
@font-face { font-family: "GnuMICR"; src: url("fonts/GnuMICR.woff2") format("woff2"), url("fonts/GnuMICR.otf") format("opentype"); font-display: block; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
a { color: var(--navy-2); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
[hidden] { display: none !important; }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 16px; padding: 10px 20px; padding-top: max(10px, env(safe-area-inset-top)); background: var(--navy); color: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand img { border-radius: 8px; }
.brand strong { display: block; font-size: 16px; letter-spacing: .2px; }
.brand span { display: block; font-size: 12px; opacity: .75; }
.tabs { display: flex; gap: 4px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { appearance: none; border: 0; background: transparent; color: #dbe5f1; font: inherit; font-weight: 600; padding: 9px 14px; border-radius: 8px; cursor: pointer; white-space: nowrap; min-height: 40px; }
.tab:hover { background: rgba(255,255,255,.08); color: #fff; }
.tab.is-active { background: #fff; color: var(--navy); }
.topbar .install-btn { color: #fff; border: 1px solid rgba(255,255,255,.45); background: transparent; }

main { max-width: 1280px; margin: 0 auto; padding: 20px; }
.view { display: none; }
.view.is-active { display: block; }
.view-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 14px; }
h1 { font-size: 22px; margin: 0; }
h2 { font-size: 17px; margin: 0 0 10px; }
h3 { font-size: 14px; margin: 18px 0 8px; color: var(--navy); text-transform: uppercase; letter-spacing: .5px; }
h3 small { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 400; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: 0 1px 2px rgba(16,24,40,.04); min-width: 0; }

.demo-banner { background: #fff7e0; border: 1px solid #f0d58a; color: #6b5310; padding: 10px 14px; border-radius: 10px; margin-bottom: 14px; }

/* layout */
.write-grid { display: grid; grid-template-columns: minmax(340px, 440px) minmax(0, 1fr); gap: 20px; align-items: start; }
.preview-col { position: sticky; top: 76px; display: grid; gap: 16px; min-width: 0; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; align-items: start; }

/* forms */
.form { display: grid; gap: 12px; }
.row { display: grid; gap: 12px; }
.row.two { grid-template-columns: minmax(0, 1fr) 150px; }
.field { display: grid; gap: 5px; font-size: 13px; font-weight: 600; color: #34404d; }
.field small { font-weight: 400; color: var(--muted); }
.field.inline { display: flex; align-items: center; gap: 10px; }
input, select, textarea { min-width: 0; font: inherit; font-size: 16px; color: var(--ink); width: 100%; min-height: 44px; padding: 9px 11px; border: 1px solid #c9d2dc; border-radius: 9px; background: #fff; }
textarea { resize: vertical; min-height: 70px; }
input:focus, select:focus, textarea:focus { border-color: var(--focus); outline: 2px solid rgba(59,130,246,.25); }
input.bad { border-color: var(--danger); background: #fff6f5; }
.hint { font-weight: 500; font-size: 12px; min-height: 16px; }
.hint.ok { color: var(--accent); } .hint.err { color: var(--danger); }
.money-input { display: flex; align-items: center; border: 1px solid #c9d2dc; border-radius: 9px; background: #fff; padding-left: 12px; }
.money-input span { font-size: 22px; font-weight: 700; color: var(--muted); }
.money-input input { border: 0; font-size: 26px; font-weight: 700; min-height: 54px; outline: none; }
.money-input:focus-within { border-color: var(--focus); outline: 2px solid rgba(59,130,246,.25); }
.words-preview { font-size: 14px; color: var(--navy); background: #f1f5fa; border-radius: 8px; padding: 8px 11px; min-height: 38px; }
.check-line { display: flex; align-items: center; gap: 9px; font-size: 14px; min-height: 36px; cursor: pointer; }
.check-line input { width: 20px; height: 20px; min-height: 0; margin: 0; accent-color: var(--navy); }
.toggles { grid-template-columns: 1fr 1fr; }
.more { border: 1px solid var(--line); border-radius: 10px; padding: 4px 12px; }
.more summary { cursor: pointer; font-weight: 600; font-size: 14px; padding: 8px 0; color: var(--navy-2); }
.more[open] { display: grid; gap: 10px; padding-bottom: 12px; }
.printopts { border: 0; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; }
.printopts legend { font-size: 13px; font-weight: 600; color: #34404d; margin-bottom: 6px; padding: 0; }
.seg { display: flex; background: #eef2f6; border-radius: 10px; padding: 3px; gap: 3px; }
.seg button { flex: 1; appearance: none; border: 0; background: transparent; font: inherit; font-size: 14px; font-weight: 600; color: #46515e; padding: 8px 6px; border-radius: 8px; cursor: pointer; min-height: 40px; }
.seg button.is-on { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn { appearance: none; display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 600; font-size: 15px; padding: 10px 16px; min-height: 44px; border-radius: 10px; border: 1px solid #c3ccd6; background: #fff; color: var(--ink); cursor: pointer; text-decoration: none; }
.btn:hover { background: #f5f7fa; }
.btn-primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: rgba(0,0,0,.05); }
.topbar .btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-danger { color: var(--danger); border-color: #e7b4b0; background: #fff; }
.btn-danger:hover { background: #fff2f1; }
.btn-sm { min-height: 34px; padding: 6px 11px; font-size: 13px; }
#printBtn { flex: 1 1 160px; font-size: 16px; min-height: 50px; }
.form-error { color: var(--danger); font-weight: 600; margin: 0; min-height: 1em; }

/* preview */
.preview-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.preview-head h2 { margin: 0; }
.pill { font-size: 12px; font-weight: 600; background: #eef2f6; color: var(--muted); border-radius: 99px; padding: 3px 10px; }
.check-preview { position: relative; width: 100%; overflow: hidden; border-radius: 6px; }
.check-preview .scaler { transform-origin: 0 0; position: absolute; left: 0; top: 0; }
.check-preview .chk { box-shadow: 0 0 0 1px #c9d3dd, 0 6px 18px rgba(16,24,40,.10); background: linear-gradient(135deg, #f7fbf8 0%, #eef6f2 100%); }
.check-preview.preprinted .chk { background: repeating-linear-gradient(45deg, #eef3fb, #eef3fb 6px, #e8eef8 6px, #e8eef8 12px); }
.micr-human { font-size: 12px; color: var(--muted); margin: 10px 0 0; word-break: break-all; }
.batch-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.batch-list li { display: flex; align-items: center; gap: 10px; justify-content: space-between; border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; font-size: 14px; }
.batch-list li b { font-variant-numeric: tabular-nums; }

/* register */
.filters { display: grid; grid-template-columns: minmax(0, 1fr) 220px 130px; gap: 10px; }
.totals { color: var(--muted); font-size: 13px; margin: 10px 0; }
.table-wrap { overflow-x: auto; }
.reg-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.reg-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); padding: 8px; border-bottom: 1px solid var(--line); }
.reg-table td { padding: 9px 8px; border-bottom: 1px solid #edf0f4; vertical-align: middle; }
.reg-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.reg-table tr.void td { color: #98a2ad; }
.reg-table tr.void .amt { text-decoration: line-through; }
.reg-table .acts { white-space: nowrap; text-align: right; }
.reg-table .acts .btn { margin-left: 4px; }
.status { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: #e6f3ee; color: var(--accent); white-space: nowrap; }
.status.void { background: #fbeaea; color: var(--danger); }
.empty { color: var(--muted); text-align: center; padding: 20px 0; margin: 0; }

/* lists */
.list { list-style: none; margin: 12px 0 0; padding: 0; }
.list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 6px; border-bottom: 1px solid #edf0f4; cursor: pointer; border-radius: 6px; }
.list li:hover { background: #f6f8fb; }
.list li small { display: block; color: var(--muted); }
.acct-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.acct-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: flex; gap: 12px; justify-content: space-between; align-items: center; }
.acct-item h4 { margin: 0 0 2px; font-size: 15px; }
.acct-item p { margin: 0; font-size: 13px; color: var(--muted); }
.tag { display: inline-block; font-size: 11px; font-weight: 700; background: #fff1c7; color: #7a5a00; padding: 1px 7px; border-radius: 99px; margin-left: 6px; vertical-align: middle; }
.micr-sample { font-family: "GnuMICR"; font-size: 20px; background: #f6f7f9; border-radius: 8px; padding: 10px 12px; overflow-x: auto; white-space: nowrap; min-height: 44px; }
.img-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.img-box { border: 1px dashed #c3ccd6; border-radius: 10px; padding: 10px; display: grid; gap: 8px; font-size: 13px; font-weight: 600; align-content: start; min-width: 0; }
.img-box img { max-width: 100%; max-height: 70px; object-fit: contain; background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 50% / 14px 14px; border-radius: 6px; }
.img-box input[type=file] { font-size: 13px; min-height: 0; padding: 6px; }

/* setup */
.offset-table { width: 100%; border-collapse: collapse; margin: 6px 0; }
.offset-table th { text-align: left; font-size: 12px; color: var(--muted); text-transform: uppercase; padding: 6px 4px; }
.offset-table td { padding: 5px 4px; }
.offset-table input { max-width: 110px; }
.tips { padding-left: 18px; margin: 0; font-size: 14px; }
.tips li { margin-bottom: 6px; }
.privacy-big { background: #eaf5f0; border: 1px solid #bfe0d2; border-radius: 10px; padding: 12px 14px; font-size: 14px; }
.privacy-note { text-align: center; color: var(--muted); font-size: 13px; padding: 10px 16px 24px; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #18212c; color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.25); z-index: 50; max-width: calc(100% - 32px); }

/* ===== the check itself (same markup on screen and on paper) ===== */
.chk, .stub { position: relative; width: 8.5in; overflow: hidden; background: #fff; color: #000; font-family: Helvetica, Arial, "Liberation Sans", sans-serif; }
.ab { position: absolute; white-space: nowrap; line-height: 1.15; }
.lbl { font-size: 6.5pt; font-weight: 700; letter-spacing: .3pt; color: #222; }
.rule { position: absolute; height: 0; border-top: 0.75pt solid #000; }
.co-name { font-size: 11pt; font-weight: 700; }
.co-line { font-size: 8.5pt; }
.bank-name { font-size: 9pt; font-weight: 700; }
.bank-line { font-size: 7.5pt; }
.chk-no { font-size: 12pt; font-weight: 700; text-align: right; }
.v { font-size: 11pt; }
.v-payee { font-size: 11.5pt; font-weight: 600; overflow: hidden; text-overflow: clip; }
.v-amount { font-size: 11.5pt; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; letter-spacing: .3pt; }
.v-words { font-size: 10pt; overflow: hidden; }
.v-words .fill { letter-spacing: 1pt; }
.v-addr { font-size: 9pt; line-height: 0.14in; white-space: pre; }
.v-memo { font-size: 9.5pt; overflow: hidden; }
.amt-box { position: absolute; border: 1pt solid #000; }
.sig-img { position: absolute; object-fit: contain; object-position: center bottom; }
.logo { position: absolute; object-fit: contain; object-position: left top; }
.micr-svg { position: absolute; left: 0; bottom: 0; overflow: visible; }
.micr-svg text { font-family: "GnuMICR"; }
.stub .sb-co { font-size: 10pt; font-weight: 700; }
.stub .sb-no { font-size: 10pt; font-weight: 700; text-align: right; }
.stub table { position: absolute; border-collapse: collapse; font-size: 9.5pt; table-layout: fixed; }
.stub th { font-size: 7pt; text-align: left; border-bottom: 0.75pt solid #000; padding: 0 0 2pt; letter-spacing: .3pt; }
.stub td { padding: 3pt 4pt 0 0; vertical-align: top; overflow: hidden; white-space: nowrap; }
.stub .r { text-align: right; padding-right: 0; }
.stub .sb-note { font-size: 9pt; white-space: pre-wrap; line-height: 1.3; }
.stub .sb-bank, .stub .sb-foot { font-size: 7pt; color: #444; }
/* v7: stubs are plain text + thin rules on white. Class names are sb-* so the marketing site's .s-* rules (e.g. the navy .s-foot footer) can never leak in again. */
.stub div, .stub table, .stub tr, .stub th, .stub td { background: transparent !important; box-shadow: none !important; }

/* alignment test marks */
.al-box { position: absolute; border: 0.75pt dashed #000; font-size: 7pt; color: #000; padding: 1pt 2pt; }
.al-slot { position: absolute; left: 0; width: 8.5in; border-top: 0.75pt dotted #666; }
.al-tick { position: absolute; background: #000; }
.al-num { position: absolute; font-size: 7pt; }
.al-cross-h, .al-cross-v { position: absolute; background: #000; }
.al-text { position: absolute; font-size: 9pt; line-height: 1.4; white-space: normal; }
.al-square { position: absolute; width: 1in; height: 1in; border: 0.75pt solid #000; font-size: 7pt; display: flex; align-items: center; justify-content: center; }

/* print */
#print-root { display: none; }
@page { size: letter; margin: 0; }
@media print {
  html, body { margin: 0 !important; padding: 0 !important; background: #fff !important; }
  body > .app { display: none !important; }
  body > *:not(#print-root), .toast, .s-nav, .share-overlay, .plans-overlay, button, nav { display: none !important; }
  #print-root { display: block !important; }
  .page { position: relative; width: 8.5in; height: 11in; overflow: hidden; page-break-after: always; break-after: page; }
  .page:last-child { page-break-after: auto; break-after: auto; }
  .page-inner { position: absolute; left: 0; top: 0; width: 8.5in; height: 11in; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* share: button, sheet, offscreen PDF renderer */
.btn .ico { flex: 0 0 auto; margin-right: 6px; }
.btn-share { gap: 0; }
.preview-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.toast-act { appearance: none; margin-left: 10px; background: #fff; color: #18212c; border: 0; border-radius: 8px; padding: 6px 12px; font: inherit; font-weight: 700; cursor: pointer; }
html.share-open, html.share-open body { overflow: hidden; }
.share-overlay { position: fixed; inset: 0; z-index: 110; background: rgba(15, 23, 35, .5); display: flex; align-items: center; justify-content: center; padding: 16px; }
.share-sheet { background: #fff; border-radius: 16px; width: min(420px, 100%); padding: 16px 16px 12px; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.share-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.share-head h2 { margin: 0; font-size: 18px; }
.share-sub { margin: 3px 0 0; font-size: 12px; color: var(--muted); word-break: break-all; }
.share-opts { display: grid; gap: 8px; }
.share-opt { appearance: none; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.share-opt:hover { background: #f5f7fa; }
.share-opt:disabled { opacity: .5; cursor: default; }
.share-opt b { display: block; font-size: 16px; }
.share-opt small { display: block; color: var(--muted); font-size: 13px; }
.share-ico { flex: 0 0 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: #eef2f6; color: var(--navy); }
#shShare .share-ico { background: var(--navy); color: #fff; }
.share-status { margin: 10px 2px 0; font-size: 13px; color: var(--muted); min-height: 1.2em; }
.share-status.err { color: var(--danger); font-weight: 600; }
@media (max-width: 720px) {
  .share-overlay { align-items: flex-end; padding: 0; }
  .share-sheet { width: 100%; border-radius: 18px 18px 0 0; padding-bottom: max(14px, env(safe-area-inset-bottom)); }
}
.pdf-host { position: fixed; left: -12000px; top: 0; width: 8.5in; pointer-events: none; z-index: -1; -webkit-text-size-adjust: none; text-size-adjust: none; }
.pdf-host .page { position: relative; width: 8.5in; height: 11in; overflow: hidden; background: #fff; }
.pdf-host .page-inner { position: absolute; left: 0; top: 0; width: 8.5in; height: 11in; }
@media print { .pdf-host, .share-overlay { display: none !important; } }

/* responsive */
@media (max-width: 1020px) {
  .write-grid { grid-template-columns: minmax(0, 1fr); }
  .preview-col { position: static; order: -1; }
  .two-col { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .topbar { position: static; padding: 8px 14px; padding-top: max(8px, env(safe-area-inset-top)); gap: 8px; }
  .tabs { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -2px 10px rgba(16,24,40,.06); padding: 0 0 env(safe-area-inset-bottom); overflow: visible; }
  .tab { color: #5d6b7a; border-radius: 0; min-height: 58px; padding: 6px 2px; font-size: 13px; border-top: 3px solid transparent; }
  .tab:hover { background: transparent; color: var(--navy); }
  .tab.is-active { background: #fff; color: var(--navy); border-top-color: var(--navy); }
  .toast { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .install-btn { margin-left: auto; min-height: 36px; padding: 6px 12px; }
  main { padding: 14px 12px; }
  .card { padding: 14px; }
  .row.two { grid-template-columns: minmax(0, 1fr) 120px; }
  .toggles { grid-template-columns: 1fr; }
  .payee-row { grid-template-columns: minmax(0, 1fr) !important; }
  input[type=date] { -webkit-appearance: none; appearance: none; display: block; }
  .seg button { font-size: 13px; padding: 8px 4px; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters input[type=search] { grid-column: 1 / -1; }
  .img-row { grid-template-columns: 1fr; }
  .view-head h1 { font-size: 20px; }
  /* register as cards */
  .reg-table thead { display: none; }
  .reg-table, .reg-table tbody, .reg-table tr, .reg-table td { display: block; width: 100%; }
  .reg-table tr { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin-bottom: 10px; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; }
  .reg-table td { border: 0; padding: 2px 0; }
  .reg-table td.c-no { font-weight: 700; }
  .reg-table td.c-no::before { content: "#"; }
  .reg-table td.c-date { text-align: right; color: var(--muted); }
  .reg-table td.c-payee { font-weight: 600; }
  .reg-table td.num { text-align: right; font-size: 16px; font-weight: 700; }
  .reg-table td.c-memo, .reg-table td.c-acct { color: var(--muted); font-size: 13px; grid-column: 1 / -1; }
  .reg-table td.c-memo:empty { display: none; }
  .reg-table td.acts { grid-column: 1 / -1; text-align: left; display: flex; gap: 8px; align-items: center; padding-top: 6px; }
  .reg-table td.acts .btn { margin: 0; }
  .reg-table td.c-status { display: none; }
  .m-only { display: inline-block !important; }
}
.m-only { display: none; }

/* signatures */
@font-face { font-family: "Great Vibes"; src: url("fonts/sig/GreatVibes.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Dancing Script"; src: url("fonts/sig/DancingScript.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Allura"; src: url("fonts/sig/Allura.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Sacramento"; src: url("fonts/sig/Sacramento.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Mrs Saint Delafield"; src: url("fonts/sig/MrsSaintDelafield.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Homemade Apple"; src: url("fonts/sig/HomemadeApple.woff2") format("woff2"); font-display: swap; }
.aa { font-family: "Great Vibes", cursive; font-size: 1.25em; line-height: 1; }
.sig-pick { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.toggles.one { grid-template-columns: minmax(0, 1fr); }
.sig-pick .hint { grid-column: 1 / -1; margin: 0; font-size: 12px; color: var(--muted); }
.sig-actions { display: flex; gap: 6px; }
.sig-actions .btn { flex: 1 1 0; text-align: center; line-height: 1.2; }
.img-row { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.sig-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sig-list li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 4px 10px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 8px; background: #fff; }
.sig-list li.is-def { border-color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); }
.sig-list img { width: 120px; height: 46px; object-fit: contain; background: #fff; border-bottom: 1px solid #c3ccd6; grid-row: span 2; }
.sig-list .nm { font-weight: 700; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sig-list .nm .tag { background: #def3ea; color: #1f5f49; }
.sig-list .acts { display: flex; flex-wrap: wrap; gap: 4px; }
.sig-list .acts .btn { min-height: 32px; padding: 4px 9px; font-size: 12.5px; }
.sig-empty { margin: 0; font-weight: 400; }
.sig-new { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sig-opt { appearance: none; font: inherit; display: grid; justify-items: center; align-content: center; gap: 2px; text-align: center; min-height: 86px; padding: 10px 6px; border: 1px solid #c3ccd6; border-radius: 10px; background: #f8fafc; color: var(--ink); cursor: pointer; }
.sig-opt:hover { background: #eef3f9; border-color: var(--navy-2); }
.sig-opt .ic { font-size: 22px; line-height: 1.1; }
.sig-opt b { font-size: 13.5px; line-height: 1.25; }
.sig-opt small { font-size: 11.5px; font-weight: 400; color: var(--muted); }

html.sigpad-open, html.sigpad-open body { overflow: hidden; overscroll-behavior: none; }
.sigpad-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(15, 23, 35, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.sigpad { background: #fff; border-radius: 14px; width: min(880px, 100%); max-height: 100%; display: flex; flex-direction: column; gap: 10px; padding: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.3); overflow: auto; }
.sigdraw { height: min(560px, 100%); overflow: hidden; }
.sigpad-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sigpad-head h2 { margin: 0; }
.sigpad-hint { margin: 0; font-size: 13px; color: var(--muted); }
.sigpad-wrap { position: relative; flex: 1 1 auto; min-height: 150px; border: 1px solid #c3ccd6; border-radius: 10px; background: #fff; overflow: hidden; }
.sigpad-canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; -ms-touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; cursor: crosshair; z-index: 1; }
.sigpad-line { position: absolute; left: 6%; right: 6%; bottom: 26%; border-bottom: 2px dashed #b9c4d0; pointer-events: none; }
.sigpad-line span { position: absolute; left: 0; bottom: 4px; color: #8a97a6; font-size: 18px; }
.sigpad-empty { position: absolute; left: 0; right: 0; top: 38%; text-align: center; color: #b3bdc8; font-size: 22px; pointer-events: none; }
.sigpad-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sigpad-bar .sigpad-ink { flex: 0 0 auto; }
.sigpad-bar .sigpad-ink button { flex: 0 0 auto; padding: 6px 12px; }
.sigpad-bar [data-sp=save] { margin-left: auto; }
.sigpad-bar .btn:disabled, .sigconfirm .btn:disabled { opacity: .45; cursor: default; }
.sigtype-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.sigtype-tile { appearance: none; font: inherit; display: grid; gap: 4px; justify-items: center; padding: 10px; min-height: 96px; border: 1px solid #c3ccd6; border-radius: 10px; background: #fff; cursor: pointer; }
.sigtype-tile:hover { border-color: var(--navy-2); background: #f5f8fc; }
.sigtype-tile img { max-width: 100%; height: 60px; object-fit: contain; }
.sigtype-tile span { font-size: 11.5px; color: var(--muted); }
.sigtype-empty { grid-column: 1 / -1; margin: 6px 0; }
.sigconfirm { width: min(620px, 100%); }
.sc-preview { position: relative; background: #fff; border: 1px solid #c3ccd6; border-radius: 10px; height: 150px; display: flex; align-items: flex-end; justify-content: center; padding: 10px 24px 34px; }
.sc-preview img { max-width: 100%; max-height: 100%; object-fit: contain; position: relative; z-index: 1; }
.sc-line { position: absolute; left: 24px; right: 24px; bottom: 36px; border-bottom: 1.5px solid #34404d; }
.sc-photo { display: grid; gap: 4px; }
.sc-photo input[type=range] { width: 100%; min-height: 32px; padding: 0; accent-color: var(--navy); }
.sc-keep { font-size: 15px; }
.sc-opts { display: grid; gap: 6px; }
.sigconfirm .form-error:empty { display: none; }
@media (max-width: 720px), (max-height: 520px) {
  .sigpad-overlay { padding: 0; }
  .sigpad { width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; border-radius: 0; padding: 12px; padding-top: max(12px, env(safe-area-inset-top)); padding-bottom: max(12px, env(safe-area-inset-bottom)); padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right)); }
  .sigdraw { height: 100vh; height: 100dvh; }
  .sigpad-bar .btn { min-height: 44px; }
  .sigpad-bar [data-sp=save] { flex: 1 1 100%; order: 9; }
  .sig-actions .btn { flex: 1 1 0; padding: 6px 4px; min-height: 40px; }
  .img-row { grid-template-columns: minmax(0, 1fr); }
  .sig-new { gap: 6px; }
  .sig-opt { min-height: 96px; padding: 8px 4px; }
  .sig-opt b { font-size: 12.5px; }
  .sig-list li { grid-template-columns: 96px minmax(0, 1fr); }
  .sig-list img { width: 96px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .sigpad-hint { display: none; }
  .sigpad-bar [data-sp=save] { flex: 0 0 auto; order: 0; }
  .sigpad { gap: 6px; }
}
@media (max-width: 720px) and (orientation: portrait) {
  .sigdraw { justify-content: center; }
  .sigdraw .sigpad-head { position: absolute; top: max(12px, env(safe-area-inset-top)); left: 12px; right: 12px; }
  .sigdraw .sigpad-wrap { flex: 0 0 auto; height: min(62vw, 60vh); }
}


/* ===== Quick Check Writer: watermark, plans, hero ===== */
.qcw-sample { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 20; }
.qcw-sample-in { position: absolute; left: 50%; top: 50%; display: flex; flex-direction: column; align-items: center; white-space: nowrap; color: rgba(200, 16, 16, .38); font-family: Helvetica, Arial, sans-serif; font-weight: 700; line-height: 1; transform-origin: 50% 50%; }
.qcw-sample-in span { display: block; }
.qcw-sample-in small { display: block; font-size: .22em; margin-top: .25em; font-weight: 700; }
@media print { .qcw-sample-in { color: rgba(200, 16, 16, .38) !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; } }

.topbar .plan-btn { flex: none; color: var(--navy); background: #ffd166; border-color: #ffd166; min-height: 36px; padding: 6px 12px; font-size: 13.5px; }
.topbar .plan-btn.is-paid { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.free-banner { background: #e9f6ef; border: 1px solid #b6dfc8; color: #1d5a41; padding: 10px 14px; border-radius: 10px; margin-bottom: 14px; }
.free-banner.used { background: #fdeceb; border-color: #f2c1bd; color: #7d1d17; }
.linklike { appearance: none; background: none; border: 0; padding: 0; font: inherit; color: var(--navy-2); text-decoration: underline; cursor: pointer; font-weight: 600; }
.free-banner .linklike { color: inherit; }

.plans-sheet { width: min(620px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 18px 18px 14px; }
.plans-sheet .share-head h2 { font-size: 20px; }
.plan-current { margin: 4px 0 12px; font-size: 13px; color: var(--muted); }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.plan-card { position: relative; border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 14px 14px; display: flex; flex-direction: column; }
.plan-card.best { border-color: var(--navy); box-shadow: 0 6px 18px rgba(29,53,87,.12); }
.plan-card.is-current { border-color: var(--accent); }
.plan-card h3 { margin: 0 0 4px; font-size: 15px; }
.plan-card .price { margin: 0 0 8px; color: var(--ink); }
.plan-card .price b { font-size: 28px; letter-spacing: -.5px; }
.plan-card .price span { color: var(--muted); font-size: 14px; }
.plan-card ul { list-style: none; margin: 0 0 14px; padding: 0; font-size: 14px; flex: 1; }
.plan-card li { padding: 3px 0 3px 22px; position: relative; }
.plan-card li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 9px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plan-card .btn { width: 100%; }
.plan-tag { position: absolute; top: -10px; left: 12px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 99px; }
.cancel-anytime { display: flex; gap: 8px; align-items: flex-start; background: #e9f6ef; color: #1d5a41; border-radius: 10px; padding: 10px 12px; margin: 14px 0 8px; font-size: 14.5px; }
.cancel-anytime svg { flex: none; margin-top: 2px; color: var(--accent); }
.plan-how { font-size: 12.5px; color: var(--muted); margin: 0 0 10px; }
.plan-continue { margin: 2px 0 10px; color: #7d1d17; border-color: #e6b4b0; }
.plan-code { margin: 6px 0; font-size: 14px; }
.plan-code summary { cursor: pointer; color: var(--navy-2); font-weight: 600; padding: 6px 0; }
.code-form { display: flex; gap: 8px; margin-top: 6px; }
.code-form input { flex: 1; min-width: 0; font: inherit; padding: 10px 12px; border: 1px solid #c3ccd6; border-radius: 10px; }
.plan-dev { margin: 10px 0 4px; padding: 10px; border: 1px dashed #c3ccd6; border-radius: 10px; font-size: 13px; }
.plan-dev small { color: var(--muted); }
.plan-dev-btns { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.plan-msg { min-height: 1.2em; font-size: 14px; margin: 8px 0 2px; }
.plan-msg.ok { color: var(--accent); font-weight: 600; }
.plan-msg.err { color: var(--danger); }
.plan-fine { font-size: 13px; margin: 4px 0 0; display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 720px) {
  .plans-sheet { max-height: 92vh; }
  .plan-grid { grid-template-columns: 1fr; gap: 16px; }
  .plan-card .price b { font-size: 24px; }
}

@media print { .site, .auth, .plans-overlay { display: none !important; } }
.plans-sheet .share-sub { word-break: normal; overflow-wrap: break-word; white-space: normal; }


/* ===================================================================
   v6: website / sign-in / app modes, marketing landing, app polish
   =================================================================== */
html.site-mode #app, html.site-mode #auth { display: none !important; }
html.app-mode #site, html.app-mode #auth { display: none !important; }
html.auth-mode #site, html.auth-mode #app { display: none !important; }
/* first run (v17): Welcome -> Plans, shown only in html.fr-welcome / html.fr-plans */
.fr { display: none; }
html.fr-mode #site, html.fr-mode #app, html.fr-mode #auth { display: none !important; }
html.fr-welcome #frWelcome, html.fr-plans #frPlans { display: block; }
html.in-app .home-link, html.in-app .auth-back { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
:root { --gold: #f6c453; --gold-2: #ffd77a; --navy-3: #0f2140; --ink-2: #0f1b2d; }
.btn { transition: background-color .15s, border-color .15s, box-shadow .15s, transform .05s; letter-spacing: .1px; }
.btn:active { transform: translateY(1px); }
.btn-primary { box-shadow: 0 1px 2px rgba(15,33,64,.25); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--navy-3); }
.btn-gold:hover { background: var(--gold-2); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-outline-dark { background: #fff; color: var(--navy); border: 1.5px solid #c4cfdc; }
.btn-outline-dark:hover { background: #f3f6fa; }

/* ---------- landing ---------- */
.site { background: #fff; color: var(--ink-2); font-size: 16px; }
.site main { max-width: none; margin: 0; padding: 0; }   /* the app's main{} padding must not touch the landing page */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: #fff; color: var(--navy); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
.s-wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.s-nav { position: sticky; top: 0; z-index: 30; background: rgba(15,33,64,.92); -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px); color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); padding-top: env(safe-area-inset-top); }
.s-nav-in { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.s-logo { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -.1px; }
.s-logo img { border-radius: 9px; }
.s-links { display: flex; gap: 4px; margin-left: auto; }
.s-links a { color: #d6e0ee; text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
.s-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.s-nav-cta { background: var(--gold); border-color: var(--gold); color: var(--navy-3); min-height: 40px; padding: 8px 16px; }
.s-nav-cta:hover { background: var(--gold-2); }

.s-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1000px 500px at 85% -10%, rgba(66,120,196,.45), transparent 60%), radial-gradient(700px 400px at -10% 110%, rgba(42,122,95,.35), transparent 60%), linear-gradient(170deg, #13284d 0%, #1d3557 55%, #1f3d66 100%); }
.s-hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 72px 20px 84px; }
.s-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 12px 6px 10px; border-radius: 99px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-size: 14px; font-weight: 600; color: #f3f6fb; }
.s-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #5fd4a0; box-shadow: 0 0 0 4px rgba(95,212,160,.2); }
.s-hero h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.04; letter-spacing: -1.4px; margin: 0 0 18px; font-weight: 800; }
.s-lede { font-size: clamp(17px, 1.6vw, 19.5px); line-height: 1.55; color: #d3ddeb; margin: 0 0 28px; max-width: 540px; }
.s-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.s-cta.center { justify-content: center; }
.s-hero .btn-primary, .s-final .btn-primary { background: var(--gold); border-color: var(--gold); color: var(--navy-3); box-shadow: 0 8px 24px rgba(246,196,83,.25); }
.s-hero .btn-primary:hover, .s-final .btn-primary:hover { background: var(--gold-2); }
.s-ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 26px 0 0; padding: 0; font-size: 15px; color: #d3ddeb; }
.s-ticks li { display: inline-flex; align-items: center; gap: 7px; }
.s-ticks svg { color: #5fd4a0; width: 18px; height: 18px; }

.s-hero-art { position: relative; padding: 24px 6px; }
.mock-check { position: relative; aspect-ratio: 8.5 / 3.5; width: 100%; max-width: 560px; margin-left: auto; background: linear-gradient(135deg, #f7fbff 0%, #eaf2fb 100%); color: #1b2430; border-radius: 10px; padding: 4.2% 4.6% 3%; box-shadow: 0 30px 60px rgba(4,12,28,.45), 0 0 0 1px rgba(255,255,255,.6) inset; transform: rotate(-2.5deg); font-family: Georgia, "Times New Roman", serif; font-size: clamp(8px, 1.15vw, 13px); display: flex; flex-direction: column; justify-content: space-between; }
.mock-check::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(45deg, rgba(29,53,87,.035) 0 2px, transparent 2px 9px); pointer-events: none; }
.mock-check u { text-decoration: none; border-bottom: 1px solid #8a97a8; }
.mock-check small { display: block; font-size: .82em; color: #5d6b7a; font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.mc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.mc-co { display: flex; gap: .8em; align-items: center; }
.mc-co b { font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 1.1em; }
.mc-logo { display: grid; place-items: center; width: 2.9em; height: 2.9em; border-radius: .5em; background: #1d3557; color: #fff; font: 800 .82em/1 -apple-system, "Segoe UI", Arial, sans-serif; letter-spacing: .5px; }
.mc-no { text-align: right; } .mc-no b { font-family: -apple-system, "Segoe UI", Arial, sans-serif; font-size: 1.15em; }
.mc-pay { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .8em; align-items: end; }
.mc-pay > span:first-child { font-size: .78em; line-height: 1.1; color: #5d6b7a; font-family: -apple-system, Arial, sans-serif; }
.mc-payee { font-size: 1.25em; font-style: italic; }
.mc-amt { border: 1px solid #8a97a8; border-radius: 4px; padding: .25em .6em; font-weight: 700; font-family: -apple-system, Arial, sans-serif; background: #fff; }
.mc-words { display: flex; gap: .6em; align-items: end; } .mc-words u { flex: 1; font-style: italic; }
.mc-words span { font-size: .85em; color: #5d6b7a; font-family: -apple-system, Arial, sans-serif; }
.mc-bot { display: flex; justify-content: space-between; align-items: end; gap: 1em; }
.mc-memo { font-size: .9em; color: #5d6b7a; font-family: -apple-system, Arial, sans-serif; } .mc-memo u { color: #1b2430; font-family: Georgia, serif; padding: 0 .6em; }
.mc-sig { position: relative; width: 38%; text-align: center; } .mc-sig svg { position: absolute; left: 6%; bottom: 1.3em; width: 88%; height: auto; }
.mc-sig u { display: block; height: 1.6em; }
.mc-micr { font-family: "GnuMICR", monospace; font-size: 1.45em; letter-spacing: .02em; color: #111; white-space: nowrap; overflow: hidden; }
.s-float { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--ink-2); border-radius: 12px; padding: 10px 14px; box-shadow: 0 14px 30px rgba(4,12,28,.3); font-size: 13px; }
.s-float svg { color: var(--accent); flex: none; }
.s-float b { display: block; font-size: 14px; } .s-float small { color: var(--muted); }
.s-float-a { left: -4px; bottom: -6px; } .s-float-b { right: -6px; top: -8px; }

.s-strip { background: #f5f8fc; border-bottom: 1px solid #e3e9f1; }
.s-strip-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; padding: 20px; }
.s-strip span { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: #2a3a52; }
.s-strip svg { color: var(--navy); }

.s-sec { padding: 88px 0; }
.s-alt { background: #f5f8fc; }
.s-kicker { margin: 0 0 10px; color: #2a7a5f; font-weight: 700; font-size: 14px; letter-spacing: 1.2px; text-transform: uppercase; }
.s-sec h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -.8px; margin: 0 0 14px; color: var(--ink-2); font-weight: 800; }
.s-sub { color: #4c5b6e; font-size: 17.5px; margin: 0 0 8px; max-width: 620px; }
.s-sec h3 { text-transform: none; letter-spacing: -.2px; color: var(--ink-2); font-size: 19px; margin: 0 0 8px; }
.s-sec p { line-height: 1.6; }

.s-steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.s-steps li { position: relative; background: #fff; border: 1px solid #e3e9f1; border-radius: 18px; padding: 28px 24px; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.s-steps .n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 18px; }
.s-steps p { margin: 0; color: #4c5b6e; font-size: 16px; }

.s-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.s-feat { background: #fff; border: 1px solid #e3e9f1; border-radius: 18px; padding: 26px 24px; transition: box-shadow .2s, transform .2s; }
.s-feat:hover { box-shadow: 0 12px 30px rgba(16,24,40,.08); transform: translateY(-2px); }
.s-feat .ic, .s-who .ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #e8eef7; color: var(--navy); margin-bottom: 16px; }
.s-feat p, .s-who p { margin: 0; color: #4c5b6e; font-size: 15.5px; }

.s-who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.s-who article { border-top: 3px solid var(--navy); padding: 26px 4px 0; }
.s-who .ic { background: #e6f4ee; color: #1f6b52; }

.s-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; align-items: stretch; }
.s-price { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #dfe6ef; border-radius: 20px; padding: 30px 26px 26px; }
.s-price.best { background: linear-gradient(170deg, #17305a, #1d3557); color: #fff; border-color: #1d3557; box-shadow: 0 24px 48px rgba(29,53,87,.28); }
.s-price.best h3, .s-price.best .amt { color: #fff; }
.s-price .tag { position: absolute; top: -13px; left: 26px; background: var(--gold); color: var(--navy-3); font-size: 12.5px; font-weight: 800; padding: 5px 11px; border-radius: 99px; letter-spacing: .2px; }
.s-price h3 { font-size: 18px; margin: 0 0 6px; }
.s-price .amt { margin: 0; color: var(--ink-2); } .s-price .amt b { font-size: 46px; letter-spacing: -1.5px; font-weight: 800; } .s-price .amt span { font-size: 16px; opacity: .7; margin-left: 2px; }
.s-price .for { margin: 2px 0 18px; color: #5d6b7a; font-size: 15px; } .s-price.best .for { color: #c5d2e4; }
.s-price ul { list-style: none; margin: 0 0 24px; padding: 18px 0 0; border-top: 1px solid #e8edf3; flex: 1; }
.s-price.best ul { border-top-color: rgba(255,255,255,.14); }
.s-price li { position: relative; padding: 6px 0 6px 28px; font-size: 15.5px; }
.s-price li::before { content: ""; position: absolute; left: 3px; top: 12px; width: 11px; height: 6px; border-left: 2.5px solid #2a7a5f; border-bottom: 2.5px solid #2a7a5f; transform: rotate(-45deg); }
.s-price.best li::before { border-color: #6fe0ae; }
.s-price .btn { min-height: 50px; font-size: 16px; }
.s-cancel { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 28px auto 0; color: #1d5a41; font-size: 16px; text-align: center; }
.s-cancel svg { flex: none; color: #2a7a5f; }

.s-faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 48px; align-items: start; }
.s-faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid #e3e9f1; border-radius: 14px; padding: 0 20px; }
.faq-item[open] { box-shadow: 0 8px 24px rgba(16,24,40,.06); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 16.5px; color: var(--ink-2); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #eef2f8; color: var(--navy); font-size: 20px; font-weight: 600; line-height: 1; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 0 0 18px; color: #4c5b6e; font-size: 15.5px; }

.s-final { background: linear-gradient(160deg, #13284d, #1d3557 60%, #23466f); color: #fff; text-align: center; padding: 80px 0; }
.s-final h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.8px; margin: 0 0 12px; font-weight: 800; }
.s-final p { color: #d3ddeb; font-size: 18px; margin: 0 0 28px; }
.play-badge { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; text-decoration: none; border-radius: 10px; padding: 7px 14px; min-height: 52px; border: 1px solid #5f6b78; }
.play-badge small { display: block; font-size: 10px; letter-spacing: .6px; opacity: .85; }
.play-badge b { display: block; font-size: 17px; line-height: 1.1; }
.play-badge .soon { font-style: normal; font-size: 11px; font-weight: 700; background: var(--gold); color: var(--navy-3); border-radius: 99px; padding: 2px 7px; }

.site .s-foot, footer.s-foot { background: #0d1c36; color: #b9c6d8; padding: 48px 0 calc(32px + env(safe-area-inset-bottom)); font-size: 15px; }
.s-foot-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; }
.s-foot .s-logo { color: #fff; }
.s-foot-brand p { margin: 10px 0 0; max-width: 360px; }
.s-foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; align-content: flex-start; justify-content: flex-end; max-width: 560px; }
.s-foot-links a { color: #dbe4f0; text-decoration: none; } .s-foot-links a:hover { color: #fff; text-decoration: underline; }
.s-copy { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; color: #93a3b8; }
.site a:focus-visible, .site button:focus-visible, .site summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

@media (max-width: 980px) {
  .s-hero-in { grid-template-columns: 1fr; gap: 36px; padding: 48px 20px 64px; }
  .mock-check { margin: 0 auto; }
  .s-feats, .s-who { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-faq-wrap { grid-template-columns: 1fr; gap: 20px; }
  .s-links { display: none; }
  .s-nav-cta { margin-left: auto; }
}
@media (max-width: 720px) {
  .s-steps, .s-feats, .s-who, .s-prices { grid-template-columns: 1fr; }
  .s-sec { padding: 60px 0; }
  .s-prices { gap: 26px; }
  .s-foot-in { grid-template-columns: 1fr; }
  .s-foot-links { justify-content: flex-start; flex-direction: column; gap: 12px; }
  .s-strip-in { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .s-strip span { font-size: 14px; align-items: flex-start; }
}
@media (max-width: 480px) {
  .s-wrap { padding: 0 18px; }
  .s-hero-in { padding: 36px 18px 52px; gap: 28px; }
  .s-hero h1 { letter-spacing: -1px; }
  .s-cta .btn-lg { width: 100%; }
  .s-cta .play-badge { width: 100%; justify-content: center; }
  .s-hero-art { padding: 14px 0 26px; }
  .mock-check { transform: rotate(-1.5deg); font-size: 2.3vw; }
  .s-float { padding: 7px 10px; font-size: 11.5px; gap: 7px; } .s-float b { font-size: 12px; } .s-float svg { width: 18px; height: 18px; }
  .s-float-a { left: -2px; bottom: -4px; } .s-float-b { right: -2px; top: -4px; }
  .s-logo span { font-size: 16px; }
  .s-price { padding: 26px 20px 22px; }
  .s-cancel { align-items: flex-start; text-align: left; }
}

/* ---------- sign-in screen ---------- */
.auth { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; padding-top: max(24px, env(safe-area-inset-top)); background: radial-gradient(800px 400px at 50% -10%, rgba(66,120,196,.25), transparent 70%), #f3f6fa; }
.auth-card { position: relative; width: min(420px, 100%); background: #fff; border: 1px solid #e1e7ef; border-radius: 22px; padding: 32px 26px 24px; box-shadow: 0 24px 60px rgba(16,24,40,.1); }
.auth-back { position: absolute; top: 14px; left: 16px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--navy-2); padding: 6px; }
.auth-brand { text-align: center; margin: 8px 0 12px; } .auth-brand img { border-radius: 12px; }
.auth h1 { text-align: center; font-size: 22px; letter-spacing: -.3px; margin: 0 0 6px; }
.auth-sub { text-align: center; color: var(--muted); font-size: 14.5px; margin: 0 0 20px; }
.auth-off { background: #fff7e0; border: 1px solid #f0d58a; color: #6b5310; padding: 12px 14px; border-radius: 12px; font-size: 14.5px; margin-bottom: 8px; }
.auth-google { gap: 10px; min-height: 50px; font-size: 15.5px; border-color: #c9d2dc; }
.auth-or { display: flex; align-items: center; gap: 12px; color: #8592a3; font-size: 13px; margin: 16px 0; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: #e3e8ef; }
.auth-form { gap: 12px; }
.auth-form .btn-primary { min-height: 50px; font-size: 16px; }
.auth-alt { text-align: center; font-size: 14px; margin: 4px 0 0; color: var(--muted); }
.auth-msg { text-align: center; margin: 12px 0 0; min-height: 1.2em; }
.auth-msg.ok { color: var(--accent); font-weight: 600; }
.auth-fine { text-align: center; font-size: 12.5px; color: var(--muted); margin: 14px 0 0; line-height: 1.5; }

/* ---------- app polish ---------- */
.topbar { background: linear-gradient(180deg, #1d3557, #1a3050); gap: 12px; min-height: 60px; }
.home-link { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: #fff; flex: none; margin-right: -4px; }
.home-link:hover { background: rgba(255,255,255,.1); }
.card { border-radius: 14px; border-color: #e1e7ef; box-shadow: 0 1px 3px rgba(16,24,40,.05); }
main { padding: 24px 20px 32px; }
.field { color: #2b3746; }
input, select, textarea { border-color: #cdd6e0; transition: border-color .15s, box-shadow .15s; }
.view-head h1 { letter-spacing: -.3px; }
.acct-menu { position: relative; flex: none; }
.acct-btn { padding: 3px; min-height: 36px; width: 36px; border-radius: 50%; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.acct-btn:hover { background: rgba(255,255,255,.2); }
.avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--navy-3); font-weight: 800; font-size: 14px; }
.acct-pop { position: absolute; right: 0; top: calc(100% + 8px); width: 250px; background: #fff; color: var(--ink); border: 1px solid #e1e7ef; border-radius: 14px; box-shadow: 0 18px 40px rgba(16,24,40,.18); padding: 8px; z-index: 40; }
.acct-who { margin: 0; padding: 8px 10px 10px; border-bottom: 1px solid #eef1f5; margin-bottom: 4px; overflow-wrap: anywhere; }
.acct-who b { display: block; font-size: 14.5px; } .acct-who small { color: var(--muted); font-size: 12.5px; }
.acct-item-btn { display: block; width: 100%; text-align: left; appearance: none; background: none; border: 0; font: inherit; font-size: 14.5px; padding: 10px; border-radius: 8px; cursor: pointer; color: var(--ink); }
.acct-item-btn:hover { background: #f2f5f9; }
.acct-item-btn.danger { color: var(--danger); }
.onboard { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: linear-gradient(135deg, #eef4fb, #f7fafd); border: 1px solid #cfdcec; color: #1f3350; padding: 14px 16px; border-radius: 14px; margin-bottom: 16px; font-size: 14.5px; }
.onboard .btn { flex: none; }
/* Test unlock: small and out of the way (preview only, removed at launch) */
.plan-dev { margin: 14px 0 2px; padding: 6px 8px; border: 0; border-top: 1px dashed #d7dee7; border-radius: 0; font-size: 11.5px; color: #8592a3; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; opacity: .8; }
.plan-dev b { font-weight: 600; } .plan-dev small { font-size: 11px; }
.plan-dev-btns { margin: 0; gap: 4px; }
.plan-dev .btn-sm { min-height: 26px; padding: 2px 8px; font-size: 11.5px; font-weight: 500; color: #6b7889; }
@media (max-width: 720px) {
  .topbar { padding-left: 10px; padding-right: 10px; gap: 8px; }
  .onboard { flex-direction: column; align-items: stretch; }
  .acct-pop { position: fixed; right: 10px; top: calc(56px + env(safe-area-inset-top)); }
}

.pill:empty { display: none; }
@media (max-width: 480px) { .mc-micr { font-size: 1.2em; } .mock-check { padding: 4.2% 4% 3%; } }

/* hero mock check: keep the whole MICR line and check number visible */
.mc-micr { font-size: 1.15em; letter-spacing: 0; text-align: center; }
.s-float-b { top: -26px; right: -10px; }
@media (max-width: 480px) { .mc-micr { font-size: .98em; } .s-float-b { top: -30px; } }

/* ---------- v8: pricing page, plan teaser, Billing & Subscription ---------- */
html.pricing-page #site { display: block !important; }
html.pricing-page body { background: #f4f7fb; }
.pr-hero { padding: 56px 0 72px; background: linear-gradient(180deg, #eef3fa 0%, #f7f9fc 60%, #fff 100%); }
.pr-hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.1; letter-spacing: -1px; margin: 0 0 12px; color: var(--navy-3, #10213f); }
.pr-hero .s-sub { margin-bottom: 4px; }
.pr-yearly { margin: 12px 0 8px; font-size: 14.5px; text-align: center; }
.pr-yearly .pr-save { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 99px; background: #e3f3eb; color: #1d5a41; font-weight: 700; font-size: 12.5px; }
.pr-card [data-yearly] { margin-top: 0; }
.pr-current { display: inline-block; margin: 14px 0 0; padding: 6px 12px; border-radius: 99px; background: #e3f3eb; color: #1d5a41; font-weight: 700; font-size: 14.5px; }
.s-prices.pr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; }
.pr-card[hidden] { display: none !important; }
.pr-card.is-current { outline: 3px solid #2a7a5f; outline-offset: 3px; }
.pr-card .btn[disabled] { opacity: .7; cursor: default; }
.pr-msg { min-height: 1.4em; margin: 18px 0 0; text-align: center; font-weight: 600; color: #4c5b6e; }
.pr-msg.err { color: var(--danger, #c0392b); } .pr-msg.ok { color: #1d5a41; }
.pr-manage { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 36px auto 0; max-width: 820px; background: #fff; border: 1px solid #dfe6ef; border-radius: 18px; padding: 22px 24px; box-shadow: 0 6px 18px rgba(16,24,40,.05); }
.pr-manage[hidden] { display: none; }
.pr-manage h2 { font-size: 19px; margin: 0 0 4px; color: var(--navy-3, #10213f); }
.pr-manage p { margin: 0; color: #4c5b6e; font-size: 15px; }
.pr-manage .btn { flex: none; white-space: nowrap; }
.pr-free { text-align: center; margin: 26px 0 0; font-size: 16px; color: #4c5b6e; }
.pr-fine { text-align: center; margin: 10px auto 0; max-width: 640px; font-size: 13.5px; color: #6b7889; }
.s-links a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.s-plans-teaser { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: 30px; }
.s-plan-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.s-plan-chips li { display: flex; flex-direction: column; align-items: center; min-width: 116px; padding: 14px 18px; background: #fff; border: 1px solid #dfe6ef; border-radius: 16px; }
.s-plan-chips b { font-size: 16px; color: var(--navy-3, #10213f); } .s-plan-chips span { font-size: 15px; color: #4c5b6e; }
.s-plans-cta { min-width: 220px; min-height: 50px; font-size: 17px; }
.plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plan-card[hidden] { display: none !important; }
.acct-pop { width: 280px; }
.acct-billing { border-bottom: 1px solid #eef1f5; margin: 0 0 4px; padding: 2px 0 6px; }
.acct-sec { margin: 6px 10px 2px; font-size: 12px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: #6b7889; }
.acct-plan, .bill-plan { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; padding: 6px 10px 8px; font-size: 14.5px; }
.bill-plan { padding: 0; margin: 0 0 8px; font-size: 16px; }
.plan-pill { display: inline-block; padding: 3px 10px; border-radius: 99px; background: #eef1f5; color: #3b4a5c; font-size: 13.5px; font-weight: 800; }
.plan-pill.is-paid { background: #e3f3eb; color: #1d5a41; }
a.acct-item-btn { text-decoration: none; box-sizing: border-box; }
a.acct-item-btn[hidden] { display: none; }
.billing-card .actions a[hidden] { display: none; }
@media (max-width: 980px) {
  .s-prices.pr-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; gap: 28px; }
}
@media (max-width: 720px) {
  .plan-grid { grid-template-columns: 1fr; }
  .pr-hero { padding: 36px 0 52px; }
  .pr-manage { flex-direction: column; align-items: stretch; text-align: left; padding: 20px; }
  .pr-manage .btn { width: 100%; white-space: normal; }
  .s-plan-chips li { min-width: 0; flex: 1 1 40%; }
  .acct-pop { width: auto; left: 10px; right: 10px; }
}

/* v9: billing menu – Upgrade stands out */
#acctUpgrade { color: #1d3557; font-weight: 700; }

/* v14: phone menu (hamburger) on every page with the site header – nav.js */
.s-burger { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0 -6px 0 0; padding: 0; border: 0; border-radius: 10px; background: transparent; color: #fff; cursor: pointer; flex: none; }
.s-burger:hover { background: rgba(255,255,255,.08); }
.s-burger:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.s-burger .b-close { display: none; }
.s-burger[aria-expanded="true"] .b-open { display: none; }
.s-burger[aria-expanded="true"] .b-close { display: inline; }
.s-menu { position: absolute; left: 0; right: 0; top: 100%; background: #0f2140; border-bottom: 1px solid rgba(255,255,255,.1); box-shadow: 0 14px 30px rgba(8,20,40,.35); padding: 6px 0 12px; }
.s-menu[hidden] { display: none; }
.s-menu a { display: block; max-width: 1160px; margin: 0 auto; padding: 14px 20px; color: #e8eef7; text-decoration: none; font-weight: 600; font-size: 17px; border-top: 1px solid rgba(255,255,255,.06); }
.s-menu a:first-child { border-top: 0; }
.s-menu a:hover, .s-menu a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.06); }
.s-menu a:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.s-menu a[data-menu-signin] { color: var(--gold); }
@media (max-width: 980px) {
  .s-burger { display: inline-flex; }
  .s-nav-in { gap: 12px; }
}
@media (min-width: 981px) { .s-menu { display: none !important; } }
@media (max-width: 400px) {
  .s-nav-in { gap: 8px; }
  .s-logo { gap: 8px; } .s-logo span { font-size: 15px; }
  .s-nav-cta { padding: 8px 12px; font-size: 14px; }
}
/* v14: /pricing – sign in first, shared plan line, trust row */
.pr-signin { text-align: center; margin: 22px auto 0; max-width: 640px; font-size: 15.5px; font-weight: 600; color: #1d3557; }
.pr-every { text-align: center; margin: 8px auto 0; max-width: 640px; font-size: 15.5px; color: #4c5b6e; }
.pr-trust { list-style: none; margin: 22px auto 0; padding: 0; max-width: 900px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pr-trust li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #f5f8fc; border: 1px solid #e3e9f1; border-radius: 12px; font-size: 14.5px; font-weight: 600; color: #22344d; }
.pr-trust svg { flex: none; color: #2a7a5f; }
.pr-quotes[hidden] { display: none; }
.plan-every { margin: 10px 0 0; font-size: 14.5px; color: #4c5b6e; text-align: center; }
.auth-buy { margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; background: #fff7e0; border: 1px solid #f1d58a; color: #5a4300; font-size: 14.5px; font-weight: 600; }
.auth-buy[hidden] { display: none; }
@media (max-width: 720px) { .pr-trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 380px) { .pr-trust { grid-template-columns: 1fr; } }

/* v15: Export Checks to QuickBooks (Pro) */
.qb-bar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin: 0 0 14px; }
.qb-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.btn-qb { gap: 8px; background: #2a7a5f; border-color: #2a7a5f; color: #fff; }
.btn-qb:hover { background: #23684f; }
.pro-badge { display: inline-flex; align-items: center; gap: 4px; background: #f6c453; color: #0f2140; font-size: 11.5px; font-weight: 800; letter-spacing: .3px; padding: 3px 8px; border-radius: 99px; line-height: 1; }
.qb-how { color: var(--navy-2); text-decoration: underline; gap: 6px; }
.qb-q { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 2px solid currentColor; font-size: 12px; font-weight: 800; text-decoration: none; }
.qb-help { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.qb-sheet, .qb-help-sheet { max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; }
.qb-help-sheet { width: min(560px, 100%); }
.qb-form { display: grid; gap: 12px; }
.fld { display: grid; gap: 5px; font-size: 13px; font-weight: 600; color: var(--ink); }
.qb-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qb-kind { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.qb-kind legend { font-size: 13px; font-weight: 600; padding: 0; margin-bottom: 5px; }
.qb-radio { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.qb-radio input { width: 18px; min-height: 18px; height: 18px; margin: 2px 0 0; flex: none; }
.qb-radio b { display: block; font-size: 14px; } .qb-radio small { display: block; color: var(--muted); font-size: 12.5px; }
.qb-radio:has(input:checked) { border-color: #2a7a5f; background: #f1f8f5; }
.qb-desk { display: grid; gap: 10px; }
.qb-desk p { margin: 0; }
.qb-sum { margin: 0; font-size: 14px; font-weight: 600; }
.qb-sum.warn { color: var(--danger); }
.qb-foot { margin: 0; text-align: center; }
.qb-ask { font-size: 16px; font-weight: 600; margin: 4px 0 12px; }
.qb-ask-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.qb-ask-btns .btn { flex: 1 1 140px; }
.qb-dont { display: flex; align-items: center; gap: 8px; margin: 14px 0 4px; font-size: 14px; color: var(--muted); }
.qb-dont input { width: 18px; min-height: 18px; height: 18px; margin: 0; }
.qbg-steps { margin: 0; padding: 0; list-style: none; counter-reset: qbs; display: grid; gap: 18px; }
.qbg-steps > li { counter-increment: qbs; }
.qbg-steps > li > p, .qbg-desk > p { margin: 0 0 8px; padding-left: 36px; position: relative; font-size: 15px; line-height: 1.45; }
.qbg-steps > li > p::before { content: counter(qbs); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%; background: #e8590c; color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.qbg-desk { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.qbg-desk > p { padding-left: 0; }
.qbg figure { margin: 0; }
.qbg img { display: block; width: 100%; max-width: 560px; height: auto; border-radius: 10px; border: 1px solid var(--line); background: #f4f6f9; }
.qbg-steps img[src$=".webp"] { max-width: 320px; }
.qbg figcaption { font-size: 12px; color: var(--muted); margin-top: 4px; }
.help-qb { max-width: 760px; margin: 0 auto; padding: 0 20px 40px; }
.help-qb h1 { font-size: clamp(26px, 4vw, 36px); line-height: 1.15; margin: 18px 0 10px; }
.help-qb .lead { color: var(--muted); font-size: 16px; margin: 0 0 20px; }
.help-qb h2 { font-size: 21px; margin: 28px 0 12px; }
.qb-sheet .share-sub, .qb-help-sheet .share-sub { word-break: normal; overflow-wrap: anywhere; }

/* ---------- first run (v17): Welcome + Plans ---------- */
.fr { min-height: 100vh; min-height: 100dvh; color: var(--ink-2, #0f1b2d); }
.fr-welcome-screen { background: radial-gradient(700px 520px at 50% 0%, rgba(66,120,196,.22), transparent 72%), linear-gradient(180deg, #f6f8fc 0%, #ffffff 70%); }
.fr-w-in { width: min(440px, 100%); margin: 0 auto; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: max(40px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom)); }
.fr-logo { width: 132px; height: 132px; border-radius: 34px; background: #fff; display: grid; place-items: center; box-shadow: 0 18px 44px rgba(15,33,64,.18), 0 2px 6px rgba(15,33,64,.08); margin-bottom: 22px; }
.fr-logo img { width: 112px; height: 112px; border-radius: 26px; display: block; }
.fr-name { font-size: 30px; line-height: 1.1; letter-spacing: -.6px; margin: 0 0 10px; color: var(--navy-3, #0f2140); }
.fr-tagline { text-wrap: balance; font-size: 19px; line-height: 1.35; color: #34465e; margin: 0 0 22px; max-width: 22em; font-weight: 500; }
.fr-ticks { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; text-align: left; }
.fr-ticks li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; color: #2c3b4f; }
.fr-ticks svg, .fr-plan li svg { flex: none; color: var(--accent); background: #e4f3ec; border-radius: 50%; padding: 3px; width: 22px; height: 22px; }
.fr-actions { width: 100%; display: grid; gap: 14px; }
.btn-block { width: 100%; }
.fr-cta { min-height: 56px; font-size: 18px; border-radius: 14px; box-shadow: 0 8px 20px rgba(200,150,30,.28); font-weight: 700; }
.fr-signin { color: var(--navy-2); text-decoration: none; font-size: 15px; padding: 8px; }
.fr-signin b { text-decoration: underline; text-underline-offset: 3px; }
.fr-fine { margin: 26px 0 0; font-size: 13px; color: #6a7789; }
.fr-fine a { color: #55657a; padding: 4px; }

.fr-plans-screen { background: #f3f6fa; }
.fr-p-head { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 10px 14px; padding-top: max(10px, env(safe-area-inset-top)); background: var(--navy); color: #fff; font-weight: 700; font-size: 16px; }
.fr-p-head img { border-radius: 8px; }
.fr-back { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: #fff; }
.fr-back:hover { background: rgba(255,255,255,.1); }
.fr-p-in { width: min(520px, 100%); margin: 0 auto; padding: 20px 16px max(28px, env(safe-area-inset-bottom)); }
.fr-p-in h1 { font-size: 26px; letter-spacing: -.4px; margin: 4px 0 4px; color: var(--navy-3, #0f2140); }
.fr-p-sub { color: var(--muted); margin: 0 0 16px; font-size: 15.5px; }
.fr-plan { position: relative; background: #fff; border: 1.5px solid #dde4ee; border-radius: 16px; padding: 16px; margin-bottom: 12px; }
.fr-plan-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.fr-plan h2 { font-size: 18px; margin: 0; }
.fr-price { margin: 0; white-space: nowrap; }
.fr-price b { font-size: 24px; letter-spacing: -.4px; }
.fr-price span { color: var(--muted); font-size: 14px; }
.fr-plan ul { list-style: none; padding: 0; margin: 8px 0 14px; display: grid; gap: 6px; }
.fr-plan li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: #34465e; }
.fr-plan li svg { width: 20px; height: 20px; }
.fr-plan .btn { min-height: 48px; font-size: 16px; border-radius: 12px; }
.fr-free { border: 2px solid var(--gold, #f6c453); background: linear-gradient(180deg, #fffaf0, #fff); box-shadow: 0 8px 22px rgba(200,150,30,.14); }
.fr-free .btn { font-weight: 700; }
.fr-plan-lead { margin: 6px 0 14px; color: #34465e; font-size: 15px; }
.fr-best { border-color: var(--navy); }
.fr-tag { position: absolute; top: -11px; right: 14px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.fr-yearly { margin-top: 8px; }
.fr-plan.is-current { border-color: var(--accent); }
.fr-p-note { color: var(--muted); font-size: 13.5px; text-align: center; margin: 14px 0 4px; }
.fr-p-msg { text-align: center; min-height: 0; }
.fr-p-msg.ok { color: var(--accent); }
.fr-p-alt { text-align: center; margin: 10px 0 0; font-size: 15px; }
.fr-p-alt a { text-decoration: none; color: var(--navy-2); padding: 8px; display: inline-block; }
.fr-p-alt b { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 760px) { .fr-name { font-size: 36px; } }

/* =====================================================================
   v18 (Oct 28, 2026): modern app redesign of the workspace (#app).
   Light + dark (prefers-color-scheme), app header, bottom tab bar with icons,
   grouped form sections with floating labels, check preview on top, sticky
   "Print / Share check" button, friendly empty states, list rows.
   Website pages (html.site-mode) are not touched by these rules.
   ===================================================================== */
:root {
  --a-bg: #f2f4f8; --a-surface: #ffffff; --a-surface-2: #f6f8fb; --a-text: #0f1b2d; --a-text-2: #5b6878; --a-hair: rgba(15,27,45,.09);
  --a-field: #f5f7fa; --a-field-line: #dbe2ea; --a-brand: #13284C; --a-brand-2: #274872; --a-brand-ink: #fff; --a-tint: #e9eff8; --a-tint-ink: #13284C;
  --a-ring: rgba(59,130,246,.24); --a-shadow: 0 1px 2px rgba(16,24,40,.04), 0 6px 20px rgba(16,24,40,.06); --a-shadow-lg: 0 14px 36px rgba(16,24,40,.16);
  --a-r: 20px; --a-r-sm: 14px; --a-good: #1f8a5b; --a-good-bg: #e5f4ec; --a-danger: #c0362c; --a-gold: #f6c453;
  --a-ease: cubic-bezier(.2,.8,.2,1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --a-bg: #0b1119; --a-surface: #141c27; --a-surface-2: #1a2431; --a-text: #e8eef6; --a-text-2: #9babbe; --a-hair: rgba(255,255,255,.08);
    --a-field: #1a2431; --a-field-line: #2c3949; --a-brand: #4d7fd0; --a-brand-2: #6290dc; --a-tint: #1c293b; --a-tint-ink: #b9cff0;
    --a-ring: rgba(98,144,220,.35); --a-shadow: 0 1px 2px rgba(0,0,0,.35); --a-shadow-lg: 0 18px 40px rgba(0,0,0,.55);
    --a-good: #53c793; --a-good-bg: #143026; --a-danger: #ff8a80;
  }
  html.app-mode, html.fr-mode, html.auth-mode { color-scheme: dark; }
}
/* paper output never follows the screen theme */
#print-root, .pdf-host { color: #000; background: #fff; color-scheme: light; }

html.app-mode body { background: var(--a-bg); }
.app { color: var(--a-text); font-size: 15.5px; -webkit-tap-highlight-color: transparent; }
.app h1, .app h2, .app h3 { color: var(--a-text); }
.app .muted, .app .small.muted { color: var(--a-text-2); }
.app a { color: var(--a-brand-2); }

/* header */
.app .topbar { background: color-mix(in srgb, var(--a-surface) 86%, transparent); color: var(--a-text); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 1px 0 var(--a-hair); min-height: 60px; padding: 8px 16px; padding-top: max(8px, env(safe-area-inset-top)); gap: 12px; position: sticky; top: 0; z-index: 30; }
@supports not (background: color-mix(in srgb, red 50%, blue)) { .app .topbar { background: var(--a-surface); } }
.app .home-link { color: var(--a-text); }
.app .home-link:hover { background: var(--a-surface-2); }
.app .brand img { border-radius: 10px; box-shadow: 0 2px 6px rgba(15,33,64,.18); }
.app .brand strong { font-size: 16.5px; font-weight: 750; letter-spacing: -.2px; color: var(--a-text); }
.app .brand span { color: var(--a-text-2); opacity: 1; font-size: 12px; }
.app .plan-btn { border-radius: 999px; border: 0; background: var(--a-tint); color: var(--a-tint-ink); font-weight: 700; padding: 6px 14px; min-height: 36px; }
.app .plan-btn:hover { background: var(--a-tint); filter: brightness(.97); }
.app .plan-btn:not(.is-paid) { background: linear-gradient(135deg, #ffd77a, var(--a-gold)); color: #0f2140; box-shadow: 0 2px 8px rgba(200,150,30,.28); }
.app .acct-btn { background: var(--a-surface-2); border: 1px solid var(--a-hair); }
.app .acct-btn:hover { background: var(--a-tint); }
.app .install-btn { color: var(--a-text); border: 1px solid var(--a-field-line); background: transparent; }
.app .acct-pop { background: var(--a-surface); color: var(--a-text); border-color: var(--a-hair); border-radius: 18px; box-shadow: var(--a-shadow-lg); }
.app .acct-who { border-bottom-color: var(--a-hair); }
.app .acct-who small, .app .acct-sec { color: var(--a-text-2); }
.app .acct-item-btn { color: var(--a-text); border-radius: 10px; }
.app .acct-item-btn:hover { background: var(--a-surface-2); }
.app .acct-item-btn.danger { color: var(--a-danger); }

/* desktop tabs: a segmented pill in the header */
.app .tabs { background: var(--a-surface-2); border: 1px solid var(--a-hair); border-radius: 14px; padding: 4px; gap: 2px; }
.app .tab { display: inline-flex; align-items: center; gap: 7px; color: var(--a-text-2); border-radius: 10px; padding: 7px 13px; min-height: 38px; font-weight: 650; transition: background-color .2s var(--a-ease), color .2s var(--a-ease); }
.app .tab .tab-ic { width: 19px; height: 19px; flex: none; }
.app .tab:hover { background: transparent; color: var(--a-text); }
.app .tab.is-active { background: var(--a-surface); color: var(--a-brand); box-shadow: 0 1px 3px rgba(16,24,40,.12); }

/* page */
.app main { max-width: 1180px; padding: 22px 20px 40px; }
.app .view.is-active { animation: qcwViewIn .32s var(--a-ease) both; }
@keyframes qcwViewIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.app .view-head { margin: 2px 2px 16px; }
.app .view-head h1, .app #h-write { font-size: 28px; font-weight: 800; letter-spacing: -.6px; line-height: 1.15; }
.app .card { background: var(--a-surface); border: 1px solid var(--a-hair); border-radius: var(--a-r); box-shadow: var(--a-shadow); padding: 18px; }
.app h2 { font-size: 17px; font-weight: 750; letter-spacing: -.2px; }
.app h3 { color: var(--a-text-2); font-size: 12.5px; letter-spacing: .7px; font-weight: 700; margin: 6px 2px 8px; }
.app h3 small { color: var(--a-text-2); }

/* buttons */
.app .btn { border-radius: 14px; border: 1px solid var(--a-field-line); background: var(--a-surface); color: var(--a-text); min-height: 46px; font-weight: 650;
  transition: background-color .18s var(--a-ease), border-color .18s, box-shadow .18s, transform .12s var(--a-ease); }
.app .btn:hover { background: var(--a-surface-2); }
.app .btn:active { transform: scale(.98); }
.app .btn-sm { min-height: 38px; border-radius: 12px; padding: 6px 13px; font-size: 13.5px; }
.app .btn-primary { background: var(--a-brand); border-color: var(--a-brand); color: var(--a-brand-ink); box-shadow: 0 4px 14px rgba(29,53,87,.24); }
.app .btn-primary:hover { background: var(--a-brand-2); border-color: var(--a-brand-2); }
.app .btn-ghost { background: transparent; border-color: transparent; color: var(--a-text-2); }
.app .btn-ghost:hover { background: var(--a-surface-2); }
.app .btn-danger { color: var(--a-danger); background: transparent; border-color: color-mix(in srgb, var(--a-danger) 35%, transparent); }
.app .btn-danger:hover { background: color-mix(in srgb, var(--a-danger) 8%, transparent); }
.app .btn-xl { min-height: 56px; font-size: 17px; font-weight: 750; border-radius: 18px; gap: 10px; letter-spacing: .1px; }
.app .btn-xl .ico { margin: 0; }
.app .linklike { color: var(--a-brand-2); }

/* free-check banner: a soft chip instead of a green box */
.app .free-banner { display: flex; align-items: flex-start; gap: 10px; background: var(--a-good-bg); color: var(--a-text); border: 0; border-radius: 16px; padding: 12px 14px; margin: 0 0 16px; font-size: 14px; line-height: 1.45; }
.app .free-banner::before { content: ""; flex: none; width: 28px; height: 28px; border-radius: 9px; margin-top: -2px; background: var(--a-good) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11h16v9H4zM3 7h18v4H3zM12 7v13M12 7c-1.5-3-5-3.5-5-1s3.5 1 5 1c1.5 0 5 1.5 5-1s-3.5-2-5 1'/%3E%3C/svg%3E") center / 18px no-repeat; }
.app .free-banner.used { background: color-mix(in srgb, var(--a-gold) 18%, var(--a-surface)); }
.app .free-banner.used::before { background-color: #b7861a; }
.app .free-banner .linklike { font-weight: 700; color: var(--a-brand-2); }

/* write: preview on a navy stage, form in grouped sections */
.app .write-grid { grid-template-columns: minmax(0, 1fr) minmax(360px, 440px); gap: 22px; }
.app .write-grid > .preview-col { order: 2; top: 84px; }
.app .write-grid > .write-form { order: 1; }
.app .preview-card { background: radial-gradient(120% 140% at 0% 0%, #2f5590 0%, #1d3557 55%, #142843 100%); border: 0; color: #fff; padding: 14px 14px 12px; box-shadow: 0 10px 30px rgba(20,40,67,.28); }
.app .preview-card .preview-head { margin-bottom: 12px; }
.app .preview-card h2 { color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .2px; opacity: .92; }
.app .preview-card .pill { background: rgba(255,255,255,.14); color: #e4ecf7; }
.app .preview-card .btn-share { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.2); color: #fff; min-height: 36px; }
.app .preview-card .btn-share:hover { background: rgba(255,255,255,.22); }
.app .check-preview { border-radius: 10px; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 18px 34px rgba(0,0,0,.32); }
.app .check-preview .chk { box-shadow: none; background:
  radial-gradient(circle at 18% 30%, rgba(42,122,95,.07) 0 22%, transparent 23%),
  repeating-radial-gradient(circle at 85% 120%, rgba(42,122,95,.06) 0 2px, transparent 2px 9px),
  linear-gradient(135deg, #f9fcfa 0%, #edf6f1 55%, #e6f1ec 100%); }
.app .check-preview.preprinted .chk { background: repeating-linear-gradient(45deg, #eef3fb, #eef3fb 6px, #e8eef8 6px, #e8eef8 12px); }
.app .check-preview.is-example .chk > * { opacity: .55; }
.app .example-tag { position: absolute; top: 8px; right: 8px; z-index: 25; background: rgba(15,33,64,.82); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.app .check-preview > .empty { color: #dbe5f1; }
.app .preview-card .micr-human { color: #c6d4e8; font-size: 12px; margin: 10px 2px 0; }
.app .batch-card .batch-list li { border-color: var(--a-hair); border-radius: 12px; background: var(--a-surface-2); }

.app .write-form { gap: 16px; }
.app .fgroup { background: var(--a-surface); border: 1px solid var(--a-hair); border-radius: var(--a-r); box-shadow: var(--a-shadow); padding: 16px; display: grid; gap: 12px; min-width: 0; }
.app .fgroup-title { margin: 0 2px 0; font-size: 12.5px; text-transform: uppercase; letter-spacing: .8px; color: var(--a-text-2); font-weight: 750; }
.app form .fgroup { margin: 0; }
.app #acctForm .fgroup { box-shadow: none; background: var(--a-surface-2); border: 0; padding: 14px; }
.app #acctForm .fgroup h3 { margin-top: 0; }

/* floating-label fields */
.app input, .app select, .app textarea { color: var(--a-text); background: var(--a-field); border: 1px solid var(--a-field-line); border-radius: 14px; min-height: 50px; padding: 12px 14px; }
.app input:focus, .app select:focus, .app textarea:focus { border-color: var(--a-brand-2); outline: 0; box-shadow: 0 0 0 4px var(--a-ring); }
.app input[type=checkbox], .app input[type=file] { min-height: 0; }
.app input[type=file] { background: transparent; border: 0; padding: 4px 0; }
.app input::placeholder, .app textarea::placeholder { color: color-mix(in srgb, var(--a-text-2) 75%, transparent); }
.app .fl-field { position: relative; display: block; margin: 0; background: var(--a-field); border: 1px solid var(--a-field-line); border-radius: 14px; transition: border-color .18s var(--a-ease), box-shadow .18s var(--a-ease); }
.app .fl-field:focus-within { border-color: var(--a-brand-2); box-shadow: 0 0 0 4px var(--a-ring); }
.app .fl-field > .fl { position: absolute; left: 15px; top: 8px; right: 12px; z-index: 1; font-size: 12px; line-height: 1.2; font-weight: 650; color: var(--a-text-2); pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: top .18s var(--a-ease), font-size .18s var(--a-ease), color .18s; }
.app .fl-field > .fl small { font-weight: 500; }
.app .fl-field:focus-within > .fl { color: var(--a-brand-2); }
.app .fl-field > input, .app .fl-field > select, .app .fl-field > textarea { display: block; width: 100%; border: 0; background: transparent; box-shadow: none !important; border-radius: 14px; padding: 25px 14px 8px; min-height: 58px; font-size: 16.5px; }
.app .fl-field > textarea { padding-top: 27px; min-height: 92px; }
.app .fl-field > select { -webkit-appearance: none; appearance: none; padding-right: 40px; background: no-repeat right 14px center / 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b8797' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
.app .fl-field > input[type=date] { -webkit-appearance: none; appearance: none; min-height: 58px; }
/* resting state: label sits inside the empty field like a placeholder, floats up on focus or once there is a value */
.app .fl-field:has(> input:placeholder-shown:not(:focus)) > .fl, .app .fl-field:has(> textarea:placeholder-shown:not(:focus)) > .fl { top: 19px; font-size: 16.5px; font-weight: 500; }
.app .fl-field:has(> input:placeholder-shown:not(:focus)) > input::placeholder, .app .fl-field:has(> textarea:placeholder-shown:not(:focus)) > textarea::placeholder { color: transparent; }
.app .fl-field > .hint { display: block; padding: 0 14px 8px; margin-top: -4px; min-height: 0; font-size: 12px; }
.app .fl-field > .hint:empty { display: none; }
.app .fl-field.narrow { max-width: none; }

.app .amount-field { display: block; position: relative; background: var(--a-field); border: 1px solid var(--a-field-line); border-radius: 16px; padding: 8px 14px 4px; transition: border-color .18s, box-shadow .18s; }
.app .amount-field:focus-within { border-color: var(--a-brand-2); box-shadow: 0 0 0 4px var(--a-ring); }
.app .amount-field > .fl { display: block; font-size: 12px; font-weight: 650; color: var(--a-text-2); }
.app .money-input { border: 0; background: transparent; padding: 0; outline: 0 !important; box-shadow: none; }
.app .money-input span { font-size: 30px; font-weight: 750; color: var(--a-text-2); }
.app .money-input input { background: transparent; border: 0; box-shadow: none !important; font-size: 34px; font-weight: 800; letter-spacing: -.5px; min-height: 52px; padding: 0 6px; font-variant-numeric: tabular-nums; }
.app .words-preview { background: var(--a-tint); color: var(--a-tint-ink); border-radius: 12px; font-size: 13.5px; padding: 9px 12px; margin-top: -4px; }
.app .row.two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.app .payee-row { grid-template-columns: minmax(0, 1fr) !important; }

.app .sig-pick { display: grid; gap: 10px; }
.app .sig-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.app .sig-actions .btn { flex: 1 1 0; min-width: 96px; min-height: 42px; border-radius: 12px; background: var(--a-surface-2); }
.app .hint { color: var(--a-text-2); }
.app .hint.ok { color: var(--a-good); } .app .hint.err { color: var(--a-danger); }

.app .printopts legend { color: var(--a-text-2); font-size: 13px; font-weight: 650; }
.app .seg { background: var(--a-surface-2); border: 1px solid var(--a-hair); border-radius: 14px; padding: 4px; }
.app .seg button { color: var(--a-text-2); border-radius: 10px; min-height: 42px; transition: background-color .2s var(--a-ease), color .2s, box-shadow .2s; }
.app .seg button.is-on { background: var(--a-surface); color: var(--a-brand); box-shadow: 0 1px 4px rgba(16,24,40,.14); }
.app .check-line { font-size: 14.5px; min-height: 44px; color: var(--a-text); }
/* checkboxes as iOS-style switches */
.app .check-line.switch { justify-content: space-between; flex-direction: row-reverse; gap: 14px; }
.app .check-line.switch input { -webkit-appearance: none; appearance: none; flex: none; width: 46px; height: 28px; border-radius: 999px; background: var(--a-field-line); border: 0; padding: 0; position: relative; cursor: pointer; transition: background-color .2s var(--a-ease); }
.app .check-line.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s var(--a-ease); }
.app .check-line.switch input:checked { background: var(--a-good); }
.app .check-line.switch input:checked::after { transform: translateX(18px); }
.app .check-line.switch input:focus-visible { box-shadow: 0 0 0 4px var(--a-ring); }
.app .more { border: 0; background: var(--a-surface-2); border-radius: 14px; padding: 2px 14px; }
.app .more summary { color: var(--a-brand-2); min-height: 44px; display: flex; align-items: center; }
.app .more[open] { padding-bottom: 14px; }
.app .form-actions { gap: 10px; }
.app .form-actions #printBtn { flex: 1 1 160px; }
.app .form-error { color: var(--a-danger); }

/* sticky primary action (phones: fixed above the tab bar) */
.action-bar { display: none; }

/* empty states */
.app .empty-state { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 30px 20px 26px; background: var(--a-surface); border: 1px solid var(--a-hair); border-radius: var(--a-r); box-shadow: var(--a-shadow); list-style: none; }
.app .empty-state[hidden] { display: none !important; }
.app .card .empty-state { border: 0; box-shadow: none; background: transparent; padding: 26px 8px 14px; }
.app .empty-state h2 { margin: 8px 0 0; font-size: 19px; }
.app .empty-state p { margin: 0 0 10px; color: var(--a-text-2); max-width: 30em; font-size: 14.5px; line-height: 1.5; }
.app .empty-state .btn { min-width: 220px; }
.app .es-art { width: 84px; height: 84px; border-radius: 28px; display: grid; place-items: center; color: var(--a-brand);
  background: radial-gradient(circle at 30% 25%, #ffffff 0, transparent 55%), linear-gradient(145deg, var(--a-tint), color-mix(in srgb, var(--a-gold) 26%, var(--a-tint)));
  box-shadow: 0 10px 24px rgba(29,53,87,.14), inset 0 0 0 1px var(--a-hair); position: relative; }
.app .es-art::after { content: ""; position: absolute; right: -6px; top: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--a-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f2140' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 13px no-repeat; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
@media (prefers-color-scheme: dark) { .app .es-art { background: linear-gradient(145deg, #1f2e44, #2a2f3a); color: #b9cff0; } }
.app .onboard.es-inline { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; text-align: left; gap: 4px 16px; padding: 18px; margin: 0; background: var(--a-surface); border: 1px solid var(--a-hair); border-radius: var(--a-r); box-shadow: var(--a-shadow); color: var(--a-text); font-size: 14.5px; }
.app .onboard.es-inline .es-art { width: 64px; height: 64px; border-radius: 22px; grid-row: span 1; }
.app .onboard.es-inline .es-art svg { width: 30px; height: 30px; }
.app .onboard.es-inline h2 { margin: 0 0 2px; font-size: 17px; }
.app .onboard.es-inline p { margin: 0; color: var(--a-text-2); font-size: 13.5px; line-height: 1.45; }
.app .onboard.es-inline .btn { grid-column: 1 / -1; margin-top: 12px; width: 100%; }

/* register */
.app .qb-bar { background: var(--a-surface); border: 1px solid var(--a-hair); border-radius: var(--a-r); box-shadow: var(--a-shadow); padding: 14px; margin-bottom: 14px; }
.app .qb-help { color: var(--a-text-2); }
.app .filters input, .app .filters select, .app #payeeSearch { min-height: 46px; }
.app .filters input[type=search], .app #payeeSearch { padding-left: 40px; background: var(--a-field) no-repeat 13px center / 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b8797' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E"); }
.app .filters select { -webkit-appearance: none; appearance: none; padding-right: 34px; background: var(--a-field) no-repeat right 12px center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b8797' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
.app .totals { color: var(--a-text-2); }
.app .reg-table th { color: var(--a-text-2); border-bottom-color: var(--a-hair); }
.app .reg-table td { border-bottom-color: var(--a-hair); }
.app .reg-table tr.void td { color: var(--a-text-2); }
.app .status { background: var(--a-good-bg); color: var(--a-good); }
.app .status.void { background: color-mix(in srgb, var(--a-danger) 14%, transparent); color: var(--a-danger); }

/* payees: avatar list rows */
.app .list { margin-top: 10px; }
.app .list li { gap: 12px; padding: 12px 8px; border-bottom: 1px solid var(--a-hair); border-radius: 12px; min-height: 64px; transition: background-color .15s; }
.app .list li:last-child { border-bottom: 0; }
.app .list li:hover { background: var(--a-surface-2); }
.app .list li .av { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 16px; color: var(--a-tint-ink); background: var(--a-tint); }
.app .list li .li-main { flex: 1; min-width: 0; }
.app .list li .li-main b { display: block; font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app .list li small { color: var(--a-text-2); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.app .list li .chev { color: var(--a-text-2); font-size: 22px; line-height: 1; }

/* accounts: cards with a bank badge */
.app .acct-list { gap: 12px; }
.app .acct-item { background: var(--a-surface); border: 1px solid var(--a-hair); border-radius: var(--a-r); box-shadow: var(--a-shadow); padding: 16px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: center; }
.app .acct-item .acct-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(145deg, #2f5590, #1d3557); color: #fff; box-shadow: 0 6px 14px rgba(29,53,87,.25); }
.app .acct-item h4 { font-size: 16px; color: var(--a-text); }
.app .acct-item p { color: var(--a-text-2); font-size: 13.5px; }
.app .acct-item .acct-nums { font-variant-numeric: tabular-nums; }
.app .acct-item .actions { grid-column: 1 / -1; margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.app .acct-item .actions .btn { min-height: 44px; }
.app .micr-sample { background: var(--a-surface); border: 1px dashed var(--a-field-line); border-radius: 12px; color: var(--a-text); }
.app .img-box { border-color: var(--a-field-line); background: var(--a-surface); border-radius: 14px; color: var(--a-text); }
.app .sig-opt { background: var(--a-surface); color: var(--a-text); border-color: var(--a-field-line); border-radius: 14px; }
.app .sig-opt small { color: var(--a-text-2); }

/* setup */
.app .offset-table th { color: var(--a-text-2); }
.app .offset-table input { min-height: 44px; }
.app .privacy-big { background: var(--a-good-bg); border: 0; border-radius: 14px; color: var(--a-text); }
.app .billing-card .plan-pill, .app .acct-plan .plan-pill { border-radius: 999px; }
.app .tips li { color: var(--a-text); }
.app .privacy-note { color: var(--a-text-2); font-size: 12.5px; max-width: 640px; margin: 0 auto; line-height: 1.5; }
.app .privacy-note a, .app .privacy-note .linklike { color: var(--a-text-2); }

/* sheets and dialogs that belong to the app */
html.app-mode .share-sheet, html.app-mode .sigpad, html.fr-mode .share-sheet { background: var(--a-surface); color: var(--a-text); border-radius: 24px; }
html.app-mode .share-head h2, html.app-mode .sigpad-head h2, html.app-mode .share-sheet h3 { color: var(--a-text); }
html.app-mode .share-opt { background: var(--a-surface-2); border-color: var(--a-hair); color: var(--a-text); border-radius: 16px; }
html.app-mode .share-opt:hover { background: var(--a-tint); }
html.app-mode .share-opt small, html.app-mode .share-sub, html.app-mode .share-status { color: var(--a-text-2); }
html.app-mode .share-ico { background: var(--a-tint); color: var(--a-tint-ink); }
html.app-mode #shShare .share-ico { background: var(--a-brand); color: #fff; }
html.app-mode .share-overlay, html.app-mode .sigpad-overlay { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
html.app-mode .share-sheet .btn, html.app-mode .sigpad .btn { border-radius: 14px; }
html.app-mode .toast { background: #18212c; border-radius: 16px; }
@media (prefers-color-scheme: dark) {
  html.app-mode .toast { background: #2a3646; }
  html.app-mode .share-sheet .btn, html.app-mode .sigpad .btn { background: var(--a-surface-2); color: var(--a-text); border-color: var(--a-field-line); }
  html.app-mode .share-sheet .btn-primary, html.app-mode .sigpad .btn-primary { background: var(--a-brand); border-color: var(--a-brand); color: #fff; }
  html.app-mode .share-sheet input, html.app-mode .share-sheet select, html.app-mode .sigpad input, html.app-mode .sigpad select { background: var(--a-field); color: var(--a-text); border-color: var(--a-field-line); }
  html.app-mode .plan-card, html.app-mode .qbg-step, html.app-mode .qb-desk { background: var(--a-surface-2); color: var(--a-text); border-color: var(--a-hair); }
  html.app-mode .plan-card p, html.app-mode .plan-card li, html.app-mode .share-sheet .muted { color: var(--a-text-2); }
  html.app-mode .sigpad canvas, html.app-mode .sc-preview { background: #fff; }   /* the signature pad stays paper-white */
}

/* phones: bottom tab bar with icons, fixed primary button above it */
@media (max-width: 720px) {
  html.app-mode body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  html.app-mode[data-view="write"] body, html.app-mode:not([data-view]) body { padding-bottom: calc(152px + env(safe-area-inset-bottom)); }
  .app .topbar { position: sticky; padding: 8px 12px; padding-top: max(8px, env(safe-area-inset-top)); min-height: 58px; gap: 8px; }
  .app .brand span { display: none; }
  .app .brand strong { font-size: 16px; }
  .app .tabs { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 0; border: 0; border-radius: 0;
    background: color-mix(in srgb, var(--a-surface) 92%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
    box-shadow: 0 -1px 0 var(--a-hair); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .app .tab { flex-direction: column; justify-content: center; gap: 3px; min-height: 58px; padding: 4px 2px; border: 0; border-radius: 14px; font-size: 11.5px; font-weight: 650; letter-spacing: .1px; color: var(--a-text-2); background: transparent; box-shadow: none; }
  .app .tab .tab-ic { width: 24px; height: 24px; padding: 0; transition: transform .25s var(--a-ease); }
  .app .tab.is-active { background: transparent; color: var(--a-brand); box-shadow: none; border: 0; }
  .app .tab.is-active .tab-ic { background: var(--a-tint); border-radius: 999px; width: 54px; height: 30px; padding: 3px 15px; transform: translateY(-1px); }
  .app .tab:hover { background: transparent; }
  .app .tab .tab-lb { line-height: 1.1; }
  .app main { padding: 14px 14px 18px; }
  .app .view-head { margin: 4px 2px 14px; }
  .app .view-head h1, .app #h-write { font-size: 26px; }
  .app .view-head .btn-sm { min-height: 40px; }
  .app .write-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .app .write-grid > .preview-col { order: 0; position: static; }
  .app .write-grid > .write-form { order: 1; }
  .app .card { padding: 14px; border-radius: 18px; }
  .app .fgroup { padding: 14px; border-radius: 18px; }
  .app .form-actions #printBtn, .app .form-actions #shareBtn { display: none; }
  .app .form-actions .btn { flex: 1 1 0; }
  .app .row.two { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .app .seg button { font-size: 13px; padding: 8px 4px; }
  .app .action-bar { display: block; position: fixed; z-index: 35; left: 0; right: 0; bottom: calc(70px + env(safe-area-inset-bottom)); padding: 10px 14px 8px;
    background: linear-gradient(180deg, transparent, var(--a-bg) 38%); pointer-events: none; }
  .app .action-bar .btn { width: 100%; pointer-events: auto; box-shadow: 0 10px 26px rgba(29,53,87,.35); }
  .toast { bottom: calc(150px + env(safe-area-inset-bottom)) !important; }
  html.app-mode:not([data-view="write"]) .toast { bottom: calc(86px + env(safe-area-inset-bottom)) !important; }
  .app .acct-pop { top: calc(62px + env(safe-area-inset-top)); border-radius: 18px; }
  .app .reg-table tr { background: var(--a-surface); border: 1px solid var(--a-hair); border-radius: 16px; padding: 12px 14px; margin-bottom: 10px; box-shadow: var(--a-shadow); grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; }
  .app .reg-card { background: transparent; border: 0; box-shadow: none; padding: 0; }
  .app .reg-card .filters { margin-bottom: 4px; }
  .app .reg-table td.c-payee { font-size: 16px; font-weight: 700; grid-row: 1; grid-column: 1; }
  .app .reg-table td.num { grid-row: 1; grid-column: 2; font-size: 17px; font-weight: 800; }
  .app .reg-table td.c-no { grid-row: 2; grid-column: 1; font-weight: 600; color: var(--a-text-2); font-size: 13px; }
  .app .reg-table td.c-date { grid-row: 2; grid-column: 2; font-size: 13px; }
  .app .reg-table td.acts { border-top: 1px solid var(--a-hair); margin-top: 8px; padding-top: 10px; flex-wrap: wrap; }
  .app .reg-table td.acts .btn { min-height: 36px; }
  .app .reg-table td.acts .m-only { margin-right: auto; }
  .app .qb-bar { padding: 12px; }
}
@media (min-width: 721px) {
  .app .form-actions { position: sticky; bottom: 0; z-index: 5; background: color-mix(in srgb, var(--a-bg) 88%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: 12px 0; margin-top: -4px; }
}
@media (max-width: 1020px) and (min-width: 721px) {
  .app .write-grid { grid-template-columns: minmax(0, 1fr); }
  .app .write-grid > .preview-col { order: 0; position: static; }
}
@media (prefers-reduced-motion: reduce) {
  .app .view.is-active { animation: none; }
  .app .btn, .app .tab, .app .tab .tab-ic, .app .fl-field > .fl, .check-line.switch input::after { transition: none !important; }
}

/* first-run screens + sign-in: same type, radius and header as the app (v18 harmonize), with dark mode */
html.fr-mode body, html.auth-mode body { background: var(--a-bg); }
.fr-p-head { background: color-mix(in srgb, var(--a-surface) 90%, transparent); color: var(--a-text); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); box-shadow: 0 1px 0 var(--a-hair); min-height: 58px; }
.fr-back { color: var(--a-text); }
.fr-back:hover { background: var(--a-surface-2); }
.fr-p-head img { box-shadow: 0 2px 6px rgba(15,33,64,.18); border-radius: 10px; }
.fr-plans-screen { background: var(--a-bg); }
.fr-plan { border-radius: 20px; border-color: var(--a-hair); background: var(--a-surface); box-shadow: var(--a-shadow); }
.fr-plan .btn { border-radius: 14px; min-height: 50px; }
.fr-free { border-color: var(--gold, #f6c453); }
.fr-best { border-color: var(--a-brand); }
.fr-cta { border-radius: 18px; }
@media (prefers-color-scheme: dark) {
  .fr { color: var(--a-text); }
  .fr-welcome-screen { background: radial-gradient(700px 520px at 50% 0%, rgba(77,127,208,.28), transparent 72%), linear-gradient(180deg, #0f1724 0%, #0b1119 70%); }
  .fr-logo { background: #182233; box-shadow: 0 18px 44px rgba(0,0,0,.5); }
  .fr-name, .fr-p-in h1 { color: #f1f5fb; }
  .fr-tagline, .fr-ticks li, .fr-plan li, .fr-plan-lead { color: #c3cfde; }
  .fr-ticks svg, .fr-plan li svg { background: #143026; color: #53c793; }
  .fr-fine, .fr-fine a, .fr-p-sub, .fr-p-note, .fr-price span { color: var(--a-text-2); }
  .fr-signin, .fr-p-alt a { color: #9cbcf0; }
  .fr-plan h2, .fr-price b { color: var(--a-text); }
  .fr-free { background: linear-gradient(180deg, #2a2516, var(--a-surface)); }
  .fr-plan .btn:not(.btn-primary):not(.btn-gold) { background: var(--a-surface-2); color: var(--a-text); border-color: var(--a-field-line); }
  .fr-plan .btn-primary { background: var(--a-brand); border-color: var(--a-brand); }
  .fr-tag { background: var(--a-brand); }
  html.auth-mode .auth-card { background: var(--a-surface); color: var(--a-text); border-color: var(--a-hair); }
  html.auth-mode .auth-card input { background: var(--a-field); color: var(--a-text); border-color: var(--a-field-line); }
  html.auth-mode .auth-card .btn:not(.btn-primary) { background: var(--a-surface-2); color: var(--a-text); border-color: var(--a-field-line); }
  html.auth-mode .auth-card p, html.auth-mode .auth-card small { color: var(--a-text-2); }
}

/* v18 (owner request, Oct 28): "No credit card required for your first check" right under Get started */
.fr-nocard { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin: -4px auto 0; padding: 7px 14px; border-radius: 999px; background: #e5f4ec; color: #17603f; font-size: 14.5px; font-weight: 650; }
.fr-nocard svg { flex: none; }
@media (prefers-color-scheme: dark) { .fr-nocard { background: #143026; color: #7fdcae; } }

/* v18 fixes: no backdrop-filter / transform on ancestors of the fixed tab bar and action bar (they would pin them to the header) */
@keyframes qcwFadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 720px) {
  .app .topbar { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--a-surface); }
  .app .view.is-active { animation: qcwFadeIn .28s var(--a-ease) both; }
  .app .preview-tools { flex-wrap: nowrap; min-width: 0; }
  .app .preview-card .preview-head { gap: 8px; }
  .app .preview-card .pill { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; font-size: 11.5px; }
  .app .preview-card .btn-share { flex: none; padding: 6px 12px; }
}
.app .free-banner { display: block; position: relative; padding: 12px 14px 12px 54px; }
.app .free-banner::before { position: absolute; left: 14px; top: 12px; margin: 0; }

.fr-actions .fr-nocard { justify-self: center; }
@media (max-width: 400px) { .fr-nocard { font-size: 13.5px; padding: 7px 12px; } }
.app .acct-btn { width: 40px; height: 40px; min-height: 40px; padding: 0; border-radius: 50%; display: grid; place-items: center; }
.app .acct-btn .avatar { width: 30px; height: 30px; }
.app .view-head .btn { white-space: nowrap; flex: none; }
.app .view-head h1 { min-width: 0; }
.app .offset-table td:last-child .btn { min-height: 40px; padding: 6px 10px; font-size: 13px; }
@media (max-width: 720px) {
  .app .tabs { background: var(--a-surface); }
  .app #h-accounts { font-size: 23px; }
  .app .reg-table td.c-memo, .app .reg-table td.c-acct { padding: 0; line-height: 1.45; }
  .app .qb-row { display: flex; flex-wrap: wrap; gap: 8px; }
  .app .qb-row .btn-qb { flex: 1 1 100%; justify-content: center; }
  .app .offset-table th:first-child, .app .offset-table td:first-child { font-size: 14px; }
  .app .offset-table input { max-width: 72px; padding: 8px 10px; }
}
@media (max-width: 720px) {
  .app .tab .tab-ic { width: 54px; height: 30px; padding: 3px 15px; border-radius: 999px; transition: background-color .25s var(--a-ease); }
  .app .tab.is-active .tab-ic { transform: none; }
}

/* v19: 7-day free trial on Pro (hidden for an account that already used it, on the web) */
.trial-pill{display:inline-block;margin:.35rem 0 .25rem;padding:.22rem .65rem;border-radius:999px;background:#e7f6ec;color:#146c2e;font-weight:700;font-size:.86rem;line-height:1.3}
.trial-then{margin:.1rem 0 .4rem;font-size:.86rem;color:#5b6472}
.trial-fine{margin:.35rem 0 0;font-size:.78rem;color:#6b7280}
.qcw-trial-used [data-trial]{display:none!important}
.pr-card.best .trial-then,.pr-card.best .trial-fine{color:#d9e1ee}

/* v23: routing lookup + optional bank logo */
.app .hint.ok.warn { color: #9a6700; }
.app .bank-logo-box { margin: 4px 0 12px; }
.app .bank-logo-box img { max-height: 54px; justify-self: start; }
@keyframes qcwAutofill { from { background-color: #e6f4ee; } to { background-color: transparent; } }
.app input.autofilled { animation: qcwAutofill 1.6s ease-out; }
.chk .bank-logo { object-position: left top; }
.app .bank-logo-offer { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--a-field-line, #c3ccd6); border-radius: 12px; background: #fff; font-weight: 600; cursor: pointer; }
.app .bank-logo-offer[hidden] { display: none; }
.app .bank-logo-offer img { width: 66px; height: 50px; object-fit: contain; background: #fff; border-radius: 4px; }
.app .bank-logo-offer input[type=checkbox] { appearance: none; -webkit-appearance: none; width: 46px; height: 28px; border-radius: 14px; background: #c3ccd6; position: relative; cursor: pointer; transition: background .2s; margin: 0; min-height: 0; padding: 0; border: 0; }
.app .bank-logo-offer input[type=checkbox]::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.app .bank-logo-offer input[type=checkbox]:checked { background: var(--a-good, #1f6b52); }
.app .bank-logo-offer input[type=checkbox]:checked::after { transform: translateX(18px); }
.app .bank-logo-offer input[type=checkbox]:focus-visible { outline: 3px solid var(--gold, #f2b705); outline-offset: 2px; }

/* ---------- v24: one-page first check, More options, VOID check, stub photo, alignment checklist ---------- */
.app .inline-bank .ib-note { margin: -4px 2px 0; font-size: 13.5px; color: var(--a-text-2); }
.app .inline-bank .ib-sub { margin: 6px 2px -2px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .8px; color: var(--a-text-2); font-weight: 750; }
.app .fl-field:has(input.bad) { border-color: var(--a-danger); box-shadow: 0 0 0 3px color-mix(in srgb, var(--a-danger) 18%, transparent); }
.app .save-bank { background: var(--a-good-bg); border-radius: 16px; padding: 10px 14px; align-items: center; }
.app .save-bank > span { display: grid; gap: 2px; font-weight: 650; }
.app .save-bank small { font-weight: 500; font-size: 12.5px; color: var(--a-text-2); }
.app .extra-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 10px; margin: 2px 0 0; font-size: 13.5px; color: var(--a-text-2); }
.app .linkish { background: none; border: 0; padding: 8px 2px; min-height: 40px; font: inherit; font-weight: 600; color: var(--a-brand-2); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); }
.app .stub-img { display: grid; gap: 8px; }
.app .stub-img .si-lbl { font-size: 14px; font-weight: 600; }
.app .stub-img .si-lbl small { font-weight: 500; color: var(--a-text-2); }
.app .stub-img img { max-width: 100%; max-height: 160px; width: auto; justify-self: start; border-radius: 10px; border: 1px solid var(--a-hair); background: #fff; }
.app .stub-img .si-row { display: flex; gap: 8px; }
.app .stub-img .hint:empty { display: none; }
.app .qb-soon { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0 2px; border-top: 1px solid var(--a-hair); opacity: .75; }
.app .qb-soon > span { display: grid; gap: 2px; font-size: 14px; }
.app .qb-soon small { font-size: 12.5px; color: var(--a-text-2); }
.app .qb-soon .soon { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--a-tint); color: var(--a-tint-ink); font-size: 11px; font-weight: 750; letter-spacing: .4px; text-transform: uppercase; vertical-align: 1px; }
.app .qb-soon input { -webkit-appearance: none; appearance: none; flex: none; width: 46px; height: 28px; border-radius: 999px; background: var(--a-field-line); border: 0; padding: 0; position: relative; cursor: not-allowed; }
.app .qb-soon input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.align-sheet .align-steps { margin: 6px 0 16px; padding-left: 22px; display: grid; gap: 10px; font-size: 15px; line-height: 1.45; }
.align-sheet .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.chk .void-mark { position: absolute; left: 0; top: 0; width: 8.5in; height: calc(100% - .62in); display: flex; align-items: center; justify-content: center; pointer-events: none; }
.chk .void-mark span { font: 800 72pt/1 Helvetica, Arial, "Liberation Sans", sans-serif; letter-spacing: 18pt; padding: 4pt 2pt 4pt 20pt; color: #c0362c; border: 5pt solid #c0362c; border-radius: 10pt; transform: rotate(-8deg); }
.stub .sb-void { font-size: 11pt; font-weight: 700; color: #c0362c; }
.stub .sb-img { position: absolute; object-fit: contain; }
@media print { .chk .void-mark span, .stub .sb-void { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }

/* ---------- v24: new minimal homepage (Simon, Oct 29 11:15 PM: new design, less wording; the long content moved to /features) ---------- */
.h24 { position: relative; overflow: hidden; color: var(--ink); background: radial-gradient(900px 520px at 100% -10%, #d9e6fa 0, rgba(217,230,250,0) 62%), radial-gradient(700px 460px at -10% 110%, #e2f3ea 0, rgba(226,243,234,0) 60%), #f7f9fc; }
.h24-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; min-height: calc(100svh - 64px - env(safe-area-inset-top)); padding: 56px 20px 64px; }
.h24 h1 { margin: 0 0 16px; font-size: clamp(38px, 5.6vw, 64px); line-height: 1.02; letter-spacing: -1.6px; font-weight: 850; color: var(--navy); }
.h24-sub { margin: 0 0 28px; max-width: 30em; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: #4a5868; }
.h24 .h24-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 30px; border-radius: 999px; font-size: 18px; font-weight: 750; background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 14px 32px rgba(29,53,87,.28); }
.h24 .h24-cta:hover { background: var(--navy-2); border-color: var(--navy-2); }
.h24-pts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; }
.h24-pts li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 11px; border-radius: 999px; background: #fff; border: 1px solid rgba(29,53,87,.1); box-shadow: 0 2px 8px rgba(16,24,40,.05); font-size: 14.5px; font-weight: 650; color: var(--navy); }
.h24-pts svg { flex: none; width: 20px; height: 20px; color: #1f8a5b; }
.h24-more { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 22px 0 0; font-size: 15px; color: #6b7886; }
.h24-more a { color: var(--navy-2); font-weight: 600; }
.h24-art { position: relative; padding: 10px 0; }
.h24-art .mock-check { box-shadow: 0 30px 60px rgba(16,32,64,.22), 0 0 0 1px rgba(29,53,87,.08); transform: rotate(-3deg); }
@media (max-width: 860px) {
  .h24-in { grid-template-columns: minmax(0, 1fr); gap: 34px; min-height: 0; padding: 34px 20px 44px; text-align: center; }
  .h24-sub { margin-left: auto; margin-right: auto; }
  .h24 .h24-cta { width: 100%; max-width: 420px; }
  .h24-pts, .h24-more { justify-content: center; }
  .h24-art .mock-check { margin: 0 auto; font-size: clamp(7px, 2.05vw, 12px); }
}
@media (max-width: 380px) { .h24 h1 { font-size: 34px; } .h24-pts li { font-size: 13.5px; } }

/* ---------- v24: slide-out menu ---------- */
.menu-btn { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-left: -6px; border: 0; border-radius: 12px; background: transparent; color: inherit; cursor: pointer; }
.menu-btn:hover { background: rgba(255,255,255,.12); }
.drawer-scrim { position: fixed; inset: 0; z-index: 90; background: rgba(8,16,30,.45); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.drawer { position: fixed; z-index: 91; top: 0; bottom: 0; left: 0; width: min(86vw, 330px); display: flex; flex-direction: column; gap: 6px; overflow-y: auto; overscroll-behavior: contain;
  padding: max(14px, env(safe-area-inset-top)) 14px max(18px, env(safe-area-inset-bottom)); background: #fff; color: #0f1b2d; box-shadow: 18px 0 50px rgba(8,16,30,.25);
  transform: translateX(-104%); visibility: hidden; transition: transform .26s cubic-bezier(.2,.8,.2,1), visibility 0s linear .26s; font-family: inherit; }
.drawer-open .drawer { transform: none; visibility: visible; transition: transform .26s cubic-bezier(.2,.8,.2,1); }
.drawer-open, .drawer-open body { overflow: hidden; }
.dr-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 4px 10px; border-bottom: 1px solid rgba(15,27,45,.08); margin-bottom: 4px; }
.dr-logo { display: inline-flex; align-items: center; gap: 10px; color: #1d3557; text-decoration: none; font-size: 16.5px; }
.dr-logo img { border-radius: 10px; }
.dr-close { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 12px; background: #f2f4f8; color: #1d3557; cursor: pointer; }
.dr-nav { display: grid; gap: 2px; }
.dr-row { display: flex; align-items: center; gap: 14px; min-height: 48px; padding: 0 14px; border-radius: 14px; color: #1b2430; text-decoration: none; font-size: 16px; font-weight: 600; }
.dr-row svg { color: #5b6878; flex: none; }
.dr-row:hover { background: #f2f5fa; }
.dr-row.is-active { background: #e9eff8; color: #1d3557; }
.dr-row.is-active svg { color: #1d3557; }
.dr-box { display: grid; gap: 12px; margin: 8px 0 4px; padding: 14px; border-radius: 16px; background: #f6f8fb; }
.dr-plan { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: #5b6878; }
.dr-plan .plan-pill { padding: 3px 10px; border-radius: 999px; background: #1d3557; color: #fff; font-size: 12.5px; letter-spacing: .3px; }
.dr-link { margin-left: auto; border: 0; background: none; padding: 6px 2px; font: inherit; font-weight: 650; color: #274872; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.dr-acct { display: grid; gap: 6px; font-size: 13px; font-weight: 650; color: #5b6878; }
.dr-acct select { min-height: 44px; border-radius: 12px; border: 1px solid #dbe2ea; background: #fff; padding: 0 12px; font: inherit; font-size: 15px; color: #0f1b2d; }
.dr-signin { min-height: 46px; display: flex; align-items: center; justify-content: center; border-radius: 12px; text-decoration: none; font-weight: 700; }
.dr-signin:not(.btn-primary) { background: #fff; border: 1px solid #dbe2ea; color: #1d3557; }
.dr-info { display: grid; gap: 0; margin-top: 4px; padding-top: 8px; border-top: 1px solid rgba(15,27,45,.08); }
.dr-info a { display: flex; align-items: center; min-height: 42px; padding: 0 14px; border-radius: 12px; color: #3d4a5a; text-decoration: none; font-size: 15px; }
.dr-info a:hover { background: #f2f5fa; }
.dr-info .dr-legal { display: flex; align-items: center; gap: 2px; padding: 4px 0 0; color: #8a96a3; font-size: 13.5px; }
.dr-info .dr-legal a { min-height: 40px; padding: 0 12px; font-size: 13.5px; color: #6b7886; }
@media (prefers-reduced-motion: reduce) { .drawer, .drawer-open .drawer { transition: none; } }
@media print { .drawer, .drawer-scrim, .menu-btn { display: none !important; } }
.site .s-burger[data-drawer-open] { display: inline-flex; }
@media (max-width: 600px) { .app .topbar .home-link { display: none; } .app .topbar .menu-btn { margin-left: -8px; } }
@media (max-width: 900px) { html.site-mode body { padding-bottom: 0; } html.site-mode .s-foot { padding-bottom: calc(32px + env(safe-area-inset-bottom)); } }

/* v24+ logo 5A (Oct 30, 2026): navy #13284C app-icon square with a gold pen nib + check. Lockup = icon + outlined wordmark (icons/logo-lockup*.svg). */
img[src$="icons/logo.svg"] { border-radius: 20%; }
.s-logo img[src*="logo-lockup"], .dr-logo img[src*="logo-lockup"] { border-radius: 0; box-shadow: none; height: 30px; width: auto; display: block; }
.dr-logo img[src*="logo-lockup"] { height: 32px; }
.s-foot .s-logo img[src*="logo-lockup"] { height: 28px; }
@media (max-width: 359px) { .s-logo img[src*="logo-lockup"] { height: 26px; } }
.fr-logo { background: none; box-shadow: none; }
.fr-logo img { width: 120px; height: 120px; border-radius: 20%; box-shadow: 0 18px 44px rgba(15,33,64,.22), 0 2px 6px rgba(15,33,64,.10); }
@media (prefers-color-scheme: dark) { .fr-logo { background: none; box-shadow: none; } .fr-logo img { box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 18px 44px rgba(0,0,0,.5); } }

/* ===== v26: check styles (print-safe; see checkstyle.js for the bank rules) ===== */
.cs-layer { position: absolute; display: block; pointer-events: none; }
.cs-frame { position: absolute; box-sizing: border-box; pointer-events: none; }
.chk .cs-lock { position: absolute; display: block; }
.micro-svg { position: absolute; overflow: visible; }
.micro-svg text { font-family: Helvetica, Arial, "Liberation Sans", sans-serif; font-weight: 700; }
.chk.cs-blue .lbl, .chk.cs-blue .co-name, .chk.cs-blue .bank-name, .chk.cs-blue .chk-no { color: #1d3f7a; }
.chk.cs-blue .rule { border-top-color: #1d3f7a; } .chk.cs-blue .amt-box { border-color: #1d3f7a; }
.chk.cs-green .lbl, .chk.cs-green .co-name, .chk.cs-green .bank-name, .chk.cs-green .chk-no { color: #1c5a3e; }
.chk.cs-green .rule { border-top-color: #1c5a3e; } .chk.cs-green .amt-box { border-color: #1c5a3e; }
.chk.cs-elegant .lbl, .chk.cs-elegant .co-name, .chk.cs-elegant .bank-name, .chk.cs-elegant .chk-no { color: #6b1e2f; }
.chk.cs-elegant .rule { border-top-color: #6b1e2f; } .chk.cs-elegant .amt-box { border-color: #6b1e2f; }
.chk.cs-elegant .lbl, .chk.cs-elegant .co-name, .chk.cs-elegant .co-line, .chk.cs-elegant .bank-name, .chk.cs-elegant .bank-line, .chk.cs-elegant .chk-no { font-family: Georgia, "Times New Roman", Times, serif; }
.chk.cs-elegant .co-name { font-size: 12pt; letter-spacing: .2pt; }
/* payee, amount, words, date, memo, address: always plain black, plain font, whatever the style */
.chk .v, .chk .v-payee, .chk .v-amount, .chk .v-words, .chk .v-memo, .chk .v-addr { color: #000 !important; font-family: Helvetica, Arial, "Liberation Sans", sans-serif !important; }
.chk .rule.sig-rule { border-top-color: #000; }
.chk .void-mark.wallet { width: 6in; }
.chk .void-mark.wallet span { font-size: 46pt; letter-spacing: 12pt; border-width: 4pt; }
.stub-wallet .sb-no { font-size: 9.5pt; }
.stub-wallet .sb-lbl { font-size: 5.5pt; font-weight: 700; letter-spacing: .3pt; color: #222; }
.stub-wallet .sb-val { font-size: 8.5pt; }
.stub-wallet .rule { border-top-width: 0.5pt; }

/* the picker (Write > Print options > Check style) */
.style-box summary .style-cur { margin-left: auto; padding-left: 10px; font-weight: 600; font-size: 13px; color: var(--muted, #5b6878); }
.app .style-box summary .style-cur { color: var(--a-text-2); }
.style-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 2px; }
@media (min-width: 900px) { .style-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.style-card { appearance: none; position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 8px; min-height: 44px; border: 1.5px solid var(--a-field-line, #dbe2ea); border-radius: 12px; background: var(--a-surface, #fff); color: var(--a-text, #0f1b2d); font: inherit; text-align: left; cursor: pointer; }
.style-card b { font-size: 13px; font-weight: 650; line-height: 1.2; }
.style-card.is-on { border-color: var(--a-brand-2, #274872); box-shadow: 0 0 0 3px var(--a-ring, rgba(59,130,246,.24)); }
.style-card:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--a-ring, rgba(59,130,246,.24)); }
.style-card .pro-badge { position: absolute; top: 5px; right: 5px; font-size: 10px; padding: 2px 6px; }
.sw { position: relative; display: block; width: 100%; aspect-ratio: 17 / 6; border-radius: 6px; background: #fff; border: 1px solid #d5dbe2; overflow: hidden; }
.sw i { position: absolute; left: 9%; height: 0; border-top: 1.5px solid #333; }
.sw i:nth-child(1) { top: 22%; width: 34%; border-top-width: 3px; }
.sw i:nth-child(2) { top: 50%; width: 64%; }
.sw i:nth-child(3) { top: 70%; width: 82%; }
.sw-blue { box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4.5px #1d3f7a; } .sw-blue i { border-color: #1d3f7a; }
.sw-green { background: repeating-linear-gradient(0deg, #f1f5f3 0 3px, #e3ece7 3px 4px); box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4.5px #1c5a3e; } .sw-green i { border-color: #1c5a3e; }
.sw-elegant { background: #fbf7f8; box-shadow: inset 0 0 0 3px #fbf7f8, inset 0 0 0 5px #6b1e2f, inset 0 0 0 6.5px #fbf7f8, inset 0 0 0 7.2px #6b1e2f; } .sw-elegant i { border-color: #6b1e2f; }
.style-lbl { margin: 6px 0 -2px; font-size: 13px; font-weight: 650; color: var(--a-text-2, #5b6878); }
.style-box .hint { margin: -4px 0 0; color: var(--a-text-2, #5b6878); }
.style-box .check-line > span small { display: block; font-size: 12.5px; font-weight: 500; color: var(--a-text-2, #5b6878); }
.style-box .check-line .pro-badge { margin-left: 4px; font-size: 10px; padding: 2px 6px; vertical-align: 1px; }
.beta { display: inline-block; margin-left: 4px; font-size: 10px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; background: #fff1c7; color: #7a5a00; padding: 1px 6px; border-radius: 99px; vertical-align: 1px; }
.app .example-tag.pro-tag { top: auto; bottom: 8px; background: #f6c453; color: #0f2140; }
/* with a printed security background the preview shows plain paper (white bank-line strip), not the simulated check stock */
.app .check-preview .chk.cs-paper, .check-preview .chk.cs-paper { background: #fff; }

/* ---------- v30: landing page for paid visitors (Simon, Nov 2 10:38 AM "improve landing page") ---------- */
.h30-offer { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: -8px 0 18px; font-size: 16px; color: #3f4d5c; }
.h30-offer b { color: #1f7a50; font-weight: 750; }
.h30-note { margin: 10px 0 0; font-size: 14px; color: #5a6878; }
.h30-trust { list-style: none; display: grid; gap: 8px; margin: 20px 0 0; padding: 0; font-size: 15px; font-weight: 600; color: var(--navy); text-align: left; }
.h30-trust li { display: flex; align-items: flex-start; gap: 8px; line-height: 1.35; }
.h30-trust svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: #1f8a5b; }
.h30-check { margin: 0; }
.h30-check img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 24px 50px rgba(16,32,64,.2), 0 0 0 1px rgba(29,53,87,.08); }
.h30-check figcaption { margin-top: 10px; font-size: 13px; color: #5a6878; text-align: center; }
.h30-how, .h30-faq, .h30-final { padding: 56px 0; }
.h30-how { background: #fff; }
.h30-how h2, .h30-faq h2, .h30-final h2 { margin: 0 0 22px; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; letter-spacing: -.5px; color: var(--navy); }
.h30-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; }
.h30-steps li { display: flex; gap: 14px; padding: 18px; border-radius: 16px; background: #f7f9fc; border: 1px solid rgba(29,53,87,.08); }
.h30-n { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; }
.h30-steps h3 { margin: 4px 0 4px; font-size: 17px; line-height: 1.3; letter-spacing: -.1px; text-transform: none; color: var(--navy); }
.h30-steps p { margin: 0; font-size: 15px; line-height: 1.45; color: #4a5868; }
.h30-faq { background: #f7f9fc; }
.h30-faq details { max-width: 760px; border-bottom: 1px solid rgba(29,53,87,.12); }
.h30-faq summary { cursor: pointer; padding: 15px 0; font-size: 17px; font-weight: 700; color: var(--navy); }
.h30-faq details p { margin: 0 0 16px; font-size: 15.5px; line-height: 1.55; color: #4a5868; }
.h30-more { display: flex; gap: 10px; margin: 18px 0 0; font-size: 15px; }
.h30-more a { color: var(--navy-2); font-weight: 650; }
.h30-final { background: #fff; text-align: center; }
.h30-final p { margin: -10px 0 20px; font-size: 16px; color: #4a5868; }
.h30-final .h24-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 30px; border-radius: 999px; font-size: 18px; font-weight: 750; background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 14px 32px rgba(29,53,87,.28); }
.h30-sticky { display: none; }
@media (max-width: 860px) {
  .h30-offer { justify-content: center; }
  .h30-trust { max-width: 420px; margin-left: auto; margin-right: auto; }
  .h24-art .h30-check { max-width: 520px; margin: 0 auto; }
  .h30-how, .h30-faq, .h30-final { padding: 40px 0; }
  .h30-steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .h30-final .h24-cta { width: 100%; max-width: 420px; }
  html.site-mode .h30-sticky.on { display: block; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); box-shadow: 0 -6px 20px rgba(16,24,40,.12); }
  .h30-sticky .btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; border-radius: 999px; font-size: 17px; font-weight: 750; background: var(--navy); border-color: var(--navy); color: #fff; }
}
html.in-app .h30-sticky { display: none !important; }

/* v30: watermark upsell in the share sheet (open model: unpaid output is never blocked) */
.share-upsell { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin: 12px 0 0; padding: 12px 14px; border-radius: 14px; background: #fff7e6; border: 1px solid #f1d9a6; color: #5b4310; font-size: 14.5px; }
.share-upsell[hidden] { display: none; }
.share-upsell p { margin: 0; }

/* v31: saved payees - Pay-to suggestions, "Save to my payee list", Payees screen rows (tap = new check, pencil = edit) */
.payee-box { position: relative; }
.payee-box .payee-field > input { padding-right: 56px; }
.payee-pick { position: absolute; top: 7px; right: 7px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 12px; background: var(--a-tint); color: var(--a-tint-ink); cursor: pointer; padding: 0; }
.payee-pick:focus-visible { outline: 3px solid var(--a-ring); }
.payee-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; margin: 0; padding: 6px; list-style: none; max-height: 300px; overflow-y: auto; background: var(--a-surface); border: 1px solid var(--a-field-line); border-radius: 14px; box-shadow: var(--a-shadow-lg); }
.payee-suggest[hidden] { display: none; }
.payee-suggest li { display: flex; align-items: center; gap: 12px; padding: 9px 10px; min-height: 52px; border-radius: 10px; cursor: pointer; }
.payee-suggest li:hover, .payee-suggest li.is-on { background: var(--a-surface-2); }
.payee-suggest .av { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: var(--a-tint-ink); background: var(--a-tint); }
.payee-suggest .li-main b { font-size: 15.5px; }
.payee-suggest small { display: block; color: var(--a-text-2); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.payee-suggest .ps-empty { display: block; color: var(--a-text-2); font-size: 14px; cursor: default; }
.payee-suggest .ps-manage { justify-content: center; min-height: 44px; font-weight: 700; color: var(--a-brand-2); border-top: 1px solid var(--a-hair); border-radius: 0 0 10px 10px; }
.payee-save { margin: -2px 2px 0; }
.payee-save .check-line[hidden], .payee-known[hidden] { display: none; }
.payee-known { display: flex; align-items: center; gap: 6px; min-height: 44px; margin: 0; font-size: 14.5px; color: var(--a-text-2); }
.payee-known .pk-ok { color: var(--a-good); font-weight: 800; }
.payee-known a { font-weight: 700; color: var(--a-brand-2); }
.count-pill { display: inline-grid; place-items: center; min-width: 28px; height: 26px; padding: 0 8px; margin-left: 6px; border-radius: 999px; font-size: 14px; font-weight: 750; letter-spacing: 0; vertical-align: 4px; color: var(--a-tint-ink); background: var(--a-tint); }
.count-pill[hidden] { display: none; }
.payee-tip { margin: 10px 4px 2px; font-size: 13.5px; }
.payee-tip[hidden], #payeeNoMatch[hidden] { display: none; }
.list.payee-list li { padding: 0; gap: 0; cursor: default; }
.payee-list .pl-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 12px 4px 12px 6px; min-height: 64px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; border-radius: 12px; }
.payee-list .pl-main:focus-visible, .payee-list .pl-edit:focus-visible { outline: 3px solid var(--a-ring); }
.payee-list .av { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 16px; color: var(--a-tint-ink); background: var(--a-tint); }
#payeeListEl li .li-main b { white-space: normal; overflow-wrap: anywhere; line-height: 1.25; }
#payeeListEl li .li-main small { white-space: normal; text-overflow: clip; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; line-height: 1.3; margin-top: 2px; }
.payee-list .pl-meta { font-size: 12.5px; }
.payee-list .pl-go { flex: none; padding: 6px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 750; white-space: nowrap; color: #fff; background: var(--a-brand); }
.payee-list .pl-edit { flex: none; width: 42px; height: 44px; margin-right: 0; display: grid; place-items: center; border: 0; border-radius: 12px; background: none; color: var(--a-text-2); cursor: pointer; }
.payee-list .pl-edit:hover { background: var(--a-surface-2); }
@media (max-width: 380px) { .payee-list .pl-go { padding: 6px 8px; font-size: 12px; } .payee-list .av { width: 36px; height: 36px; font-size: 14px; } }

/* v32 (Nov 3, 2026): Android app — every plan needs a subscription to print; trial line + "Look around first" */
.fr-p-look { margin: 14px 0 4px; text-align: center; font-size: 14.5px; color: var(--muted); }
.fr-p-look .linklike { font-weight: 700; font-size: 15px; }
.fr-p-look span { display: block; margin-top: 4px; }

/* v34 (Nov 3, 2026): Android app — sign-in first; no print preview without a plan (locked preview card) */
html.qcw-play .auth-back { display: none !important; }
.check-preview.app-locked { min-height: 150px; }
.check-preview.app-locked .scaler { filter: blur(5px) grayscale(.35); opacity: .55; pointer-events: none; user-select: none; }
.check-preview .app-lock { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px 14px; text-align: center; background: rgba(255,255,255,.55); }
.check-preview .app-lock b { font-size: 16px; color: #14213d; }
.check-preview .app-lock span { font-size: 13.5px; line-height: 1.3; color: #334155; max-width: 300px; }
.check-preview .app-lock .btn { margin-top: 2px; min-height: 40px; }
@media (prefers-color-scheme: dark) { .check-preview .app-lock { background: rgba(13,20,31,.55); } .check-preview .app-lock b { color: #f1f5f9; } .check-preview .app-lock span { color: #cbd5e1; } }

/* v37 (Nov 3, 2026): the app header button now reads "Start free trial now"; on phones keep the brand name on two lines */
@media (max-width: 430px) { html.qcw-play .app .topbar .plan-btn { padding: 6px 10px; font-size: 12.5px; } html.qcw-play .app .topbar .brand { gap: 8px; } html.qcw-play .app .topbar .brand strong { font-size: 15.5px; } }

/* v37 (Nov 3, 2026): FREE stands out where the Pro trial is offered (pill, price line, trial buttons) */
.trial-pill{font-size:1rem;padding:.3rem .8rem;letter-spacing:.1px}
.trial-pill b,.trial-then b{font-weight:900}
.trial-then b{color:#146c2e}
.pr-card.best .trial-then b{color:#7ee2a0}
[data-buy="pro"] b,[data-fr-buy="pro"] b,#planBtn b{font-weight:900;letter-spacing:.02em}
/* v37: yearly = best value, discount shown; monthly stays first */
.best-value{display:inline-block;margin:0 6px 4px 0;padding:2px 8px;border-radius:99px;background:#ffd166;color:#0f2140;font-weight:800;font-size:11.5px;letter-spacing:.06em;vertical-align:middle}
.pr-yearly .pr-mo{font-size:12.5px;opacity:.85;white-space:nowrap}
.fr-yearly-note{margin:10px 0 0;font-size:13.5px;text-align:center;color:#5b6472}
.fr-yearly-note b{color:inherit;white-space:nowrap}
.pr-yearly b{white-space:nowrap}
.eco-plan{margin:10px 0 6px;text-align:center;line-height:1.25}
.eco-flag{display:inline-block;padding:3px 10px;border-radius:99px;background:#e7f6ec;color:#146c2e;font-weight:800;font-size:12.5px;letter-spacing:.03em}
.eco-sub{display:block;margin-top:3px;font-size:12.5px;color:#5b6472}
.pr-card.best .eco-sub{color:#d9e1ee}
/* v37: yearly sits at the bottom of the Pro card, secondary (Simon 8:52 PM) */
.pr-yearly,.fr-yearly-note{margin:16px 0 6px;padding-top:12px;border-top:1px dashed rgba(127,127,127,.35);font-size:13px}
.btn.btn-yearly-alt{font-size:14px;padding:7px 12px;min-height:0;font-weight:600}
.btn.btn-yearly-alt b{font-weight:800}
/* v37: MOST POPULAR on Basic (Simon 9:05 PM; all paying customers are on Basic) */
.s-price .tag.tag-pop,.plan-tag.plan-tag-pop,.fr-tag.fr-tag-pop{background:#1e8e4e;color:#fff;letter-spacing:.04em}
.fr-tag.fr-tag-pop{left:14px;right:auto}
.fr-plan[data-fr-plan="basic"]{margin-top:14px}
/* v37 (Simon 9:38 PM): the 7-day FREE trial is the hero of the Pro card */
.trial-hero{margin:.2rem 0 .5rem;padding:.55rem .7rem;border-radius:12px;background:#1e8e4e;color:#fff;font-weight:900;font-size:1.32rem;line-height:1.15;letter-spacing:.02em;text-align:center}
.trial-hero b{color:#ffe066;font-weight:900;font-size:1.12em}
.s-price .tag.tag-trial,.plan-tag.plan-tag-trial,.fr-tag.fr-tag-trial{background:#ffd166;color:#0f2140;font-weight:900;letter-spacing:.05em}
.btn[data-buy="pro"]:not([data-yearly]),.btn[data-fr-buy="pro"]:not([data-yearly]){font-size:1.06rem;font-weight:800;padding-top:.8rem;padding-bottom:.8rem}
.h30-offer .h37-free{color:#146c2e;font-weight:900}
.fr-plan.fr-best{margin-top:16px}
@media (max-width:380px){.btn[data-buy="pro"]:not([data-yearly]),.btn[data-fr-buy="pro"]:not([data-yearly]){font-size:.97rem;padding-left:.5rem;padding-right:.5rem}}
.trial-hero{font-size:clamp(1rem,5.2vw,1.3rem);white-space:nowrap;padding-left:.4rem;padding-right:.4rem}
/* v37 v6 (Simon 10:10 PM): Basic $1.99 and Pro $4.99 side by side, equal, nothing is priority; Personal + yearly below */
.s-prices.pr-v6{display:block;max-width:620px;margin-left:auto;margin-right:auto}
.pr-v6 .pr-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:stretch}
.pr-v6 .pr-card{margin:0}
.pr-v6 .pr-eq{display:flex;flex-direction:column;padding:16px 12px 14px;text-align:center}
.pr-v6 .pr-eq h3{font-size:1.15rem;margin:0 0 2px}
.pr-v6 .pr-eq .amt{margin:0 0 6px}
.pr-v6 .pr-eq .amt b{font-size:1.9rem}
.pr-v6 .pr-line{font-size:.88rem;line-height:1.3;margin:0 0 8px;color:#475467}
.pr-v6 .pr-eq .trial-then{font-size:.86rem;line-height:1.3;margin:0 0 10px;color:#475467}
.pr-v6 .pr-eq .trial-then b{color:#146c2e;font-weight:900;font-size:1.06em}
.pr-v6 .pr-eq .btn{margin-top:auto;font-size:.95rem;font-weight:700;padding:.65rem .4rem;white-space:normal;line-height:1.2;min-height:2.9rem}
.pr-v6 .pr-yearly-row{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px 10px;margin:10px 0 0;font-size:.86rem;color:#475467}
.pr-v6 .pr-yearly-row .pr-yearly{margin:0;font-size:.86rem}
.pr-v6 .pr-yearly-row[hidden]{display:none}
.pr-v6 .pr-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;padding:10px 12px;text-align:left}
.pr-v6 .pr-row h3{font-size:1rem;margin:0;display:inline}
.pr-v6 .pr-row .amt{display:inline;margin:0 0 0 6px}
.pr-v6 .pr-row .amt b{font-size:1.1rem}
.pr-v6 .pr-row .pr-line{margin:2px 0 0;font-size:.82rem}
.pr-v6 .pr-row .btn{flex:none;font-size:.9rem;padding:.5rem .8rem}
.pr-v6 .trial-fine{text-align:center;margin-top:10px}
.pr-v6 .pr-eq{position:relative;padding-top:22px}
.pr-v6 .pr-eq .tag{position:absolute;top:-11px;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:11.5px;padding:4px 10px;margin:0}
.s-price .tag.tag-trial{background:#1e8e4e;color:#fff;font-weight:900;letter-spacing:.04em}
.pr-v6 .pr-pair{margin-top:14px}
.pr-v6 .pr-row{flex-direction:row;text-align:left}
.pr-v6 .pr-row .pr-row-l{flex:1;min-width:0}
.pr-v6 .pr-row .btn{margin:0}
.pr-v6 .pr-yearly-row .pr-yearly{border-top:0;padding-top:0}
.pr-v6 .pr-yearly-row{border-top:1px dashed rgba(127,127,127,.35);padding-top:10px}
/* Simon 10:15 PM: Pro trial badge = "FREE TRIAL" bold caps on top, "FOR 7 DAYS" smaller underneath */
.tag.tag-2l{display:flex;flex-direction:column;align-items:center;line-height:1.05;padding:5px 14px 4px;border-radius:14px}
.tag.tag-2l b{font-size:14px;font-weight:900;letter-spacing:.05em}
.tag.tag-2l small{font-size:10.5px;font-weight:700;letter-spacing:.08em;opacity:.95}
.pr-v6 .pr-eq .tag.tag-2l{top:-20px}
.pr-v6 .pr-pair{margin-top:22px}
.trial-hero.trial-2l{display:flex;flex-direction:column;align-items:center;gap:2px;width:max-content;max-width:100%;margin:.1rem auto .55rem;padding:.4rem 1.1rem;border-radius:14px;line-height:1.05;white-space:nowrap}
.trial-hero.trial-2l b{color:#fff;font-size:1.3rem;font-weight:900;letter-spacing:.05em}
.trial-hero.trial-2l small{font-size:.8rem;font-weight:800;letter-spacing:.1em}
/* v37 v6 in the app: Basic $1.99 | Pro $4.99 side by side, equal; yearly + fine print under the pair; Personal full width */
html.qcw-pair .fr-p-in{display:grid;grid-template-columns:1fr 1fr;column-gap:10px;align-items:stretch}
html.qcw-pair .fr-p-in>*{grid-column:1/-1;order:5}
html.qcw-pair .fr-p-in>h1,html.qcw-pair .fr-p-in>.fr-p-sub,html.qcw-pair .fr-p-in>.fr-free{order:0}
html.qcw-pair .fr-p-in>[data-fr-plan="basic"]{grid-column:auto;order:1}
html.qcw-pair .fr-p-in>[data-fr-plan="pro"]{grid-column:auto;order:2}
html.qcw-pair .fr-p-in>.fr-yearly-row{order:3}
html.qcw-pair .fr-p-in>[data-fr-plan="personal"]{order:4}
html.qcw-pair [data-fr-plan="basic"],html.qcw-pair [data-fr-plan="pro"]{display:flex;flex-direction:column;margin:22px 0 0;padding:26px 10px 12px;text-align:center}
html.qcw-pair [data-fr-plan="basic"] .fr-plan-top,html.qcw-pair [data-fr-plan="pro"] .fr-plan-top{display:block}
html.qcw-pair [data-fr-plan="basic"] h2,html.qcw-pair [data-fr-plan="pro"] h2{font-size:1.1rem;margin:0}
html.qcw-pair [data-fr-plan="basic"] .fr-price,html.qcw-pair [data-fr-plan="pro"] .fr-price{margin:2px 0 6px}
html.qcw-pair [data-fr-plan="basic"] ul,html.qcw-pair [data-fr-plan="pro"] ul{font-size:.8rem;text-align:left;margin:0 0 8px;padding:0}
html.qcw-pair [data-fr-plan="basic"] li,html.qcw-pair [data-fr-plan="pro"] li{font-size:.8rem;line-height:1.25;margin:0 0 4px}
html.qcw-pair [data-fr-plan="basic"] li svg,html.qcw-pair [data-fr-plan="pro"] li svg{width:14px;height:14px}
html.qcw-pair [data-fr-plan="pro"] .trial-then{font-size:.78rem;line-height:1.25;margin:0 0 6px}
html.qcw-pair [data-fr-plan="pro"] .eco-plan{margin:0 0 8px}
html.qcw-pair [data-fr-plan="pro"] .eco-flag{font-size:10.5px;padding:2px 7px}
html.qcw-pair [data-fr-plan="pro"] .eco-sub{font-size:10.5px}
html.qcw-pair [data-fr-plan="basic"] .btn,html.qcw-pair [data-fr-plan="pro"] .btn{margin-top:auto;font-size:.9rem;padding:.6rem .35rem;white-space:normal;line-height:1.2;min-height:2.9rem}
html.qcw-pair .fr-tag{left:50%;right:auto;transform:translateX(-50%);white-space:nowrap;font-size:10.5px;top:-11px}
html.qcw-pair [data-fr-plan="pro"] .fr-tag:not(.fr-tag-pop){position:static;transform:none;display:inline-block;align-self:center;margin:0 0 6px;background:#eef2f7;color:#34465e;font-size:10px;white-space:normal}
html.qcw-pair [data-fr-plan="pro"] .trial-hero.trial-2l{position:absolute;top:-22px;left:50%;transform:translateX(-50%);margin:0;padding:.3rem .9rem;z-index:1}
html.qcw-pair [data-fr-plan="pro"] .trial-hero.trial-2l b{font-size:1rem}
html.qcw-pair [data-fr-plan="pro"] .trial-hero.trial-2l small{font-size:.66rem}
html.qcw-pair [data-fr-plan="pro"]{padding-top:30px}
html.qcw-pair .fr-yearly-row{text-align:center;margin:10px 0 4px}
html.qcw-pair .fr-yearly-row .fr-yearly-note{margin:8px 0 6px}
html.qcw-pair .fr-yearly-row .btn{width:auto;display:inline-block;padding:.45rem 1.2rem}
html.qcw-pair .fr-yearly-row .trial-fine{margin:6px 0 0}
html.qcw-pair [data-fr-plan="personal"]{margin-top:12px}
html.qcw-play #plansSheet .plan-grid.plan-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px 10px;align-items:stretch}
html.qcw-play #plansSheet .plan-pair>.plan-card{order:3;grid-column:1/-1}
html.qcw-play #plansSheet .plan-pair>[data-plan="basic"]{order:1;grid-column:auto}
html.qcw-play #plansSheet .plan-pair>[data-plan="pro"]{order:2;grid-column:auto}
html.qcw-play #plansSheet .plan-pair>[data-plan="basic"],html.qcw-play #plansSheet .plan-pair>[data-plan="pro"]{padding:26px 10px 12px;text-align:center;margin-top:14px}
html.qcw-play #plansSheet .plan-pair ul{font-size:.8rem;text-align:left;padding-left:1rem}
html.qcw-play #plansSheet .plan-pair>[data-plan="basic"] .btn,html.qcw-play #plansSheet .plan-pair>[data-plan="pro"] .btn{margin-top:auto;font-size:.88rem;white-space:normal;line-height:1.2;padding:.55rem .35rem}
html.qcw-play #plansSheet .plan-pair .plan-tag{left:50%;transform:translateX(-50%);white-space:nowrap;font-size:10px}
html.qcw-play #plansSheet .plan-pair>[data-plan="pro"] .plan-tag:not(.plan-tag-pop){position:static;transform:none;display:inline-block;align-self:center;margin:0 0 6px;background:#eef2f7;color:#34465e;white-space:normal}
html.qcw-play #plansSheet .plan-pair>[data-plan="pro"] .trial-hero.trial-2l{position:absolute;top:-22px;left:50%;transform:translateX(-50%);margin:0;padding:.3rem .9rem}
html.qcw-play #plansSheet .plan-pair>[data-plan="pro"] .trial-hero.trial-2l b{font-size:1rem}
html.qcw-play #plansSheet .plan-pair>[data-plan="pro"] .trial-hero.trial-2l small{font-size:.66rem}
html.qcw-play #plansSheet .plan-pair .trial-then,html.qcw-play #plansSheet .plan-pair .trial-fine,html.qcw-play #plansSheet .plan-pair .eco-plan{font-size:.75rem}
.pr-v6 .pr-line.pr-unl{margin:0 0 2px;color:#0f2140;font-size:.92rem}
.pr-v6 .pr-line.pr-unl b{font-weight:800}

/* v37.2 (Simon 10:30 PM "Set the box nicer"): Basic + Pro cards: soft shadow, rounded 16px, even padding, green ✓ checklist */
.ck-list{list-style:none;margin:6px 0 12px;padding:0;text-align:left;display:grid;gap:7px;flex:none}
.ck-list li{position:relative;margin:0;padding:0 0 0 25px;font-size:.88rem;line-height:1.3;color:#34465e}
.ck-list li b{color:#13284C;font-weight:800}
.pr-v6 .ck-list li::before,#plansSheet .ck-list li::before{content:"";position:absolute;left:0;top:-.5px;width:18px;height:18px;border:0;border-radius:50%;transform:none;background:#1e8e4e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px 12px no-repeat}
.fr-plan .ck-list li{display:flex;align-items:flex-start;gap:7px;padding:0;margin:0;font-size:.86rem}
.fr-plan .ck-list li svg,html.qcw-pair .fr-plan .ck-list li svg{flex:none;width:18px;height:18px;padding:3px;margin-top:-.5px;border-radius:50%;background:#1e8e4e;color:#fff}
html.qcw-pair [data-fr-plan] .ck-list{margin:6px 0 12px}
html.qcw-pair [data-fr-plan] .ck-list li{font-size:.82rem;line-height:1.3;margin:0}
html.qcw-play #plansSheet .plan-pair ul.ck-list{padding-left:0;margin:6px 0 12px;flex:none}
html.qcw-play #plansSheet .plan-pair .ck-list li{font-size:.82rem;padding:0 0 0 24px}
.pr-v6 .pr-eq,
html.qcw-pair [data-fr-plan="basic"],html.qcw-pair [data-fr-plan="pro"],
html.qcw-play #plansSheet .plan-pair>[data-plan="basic"],html.qcw-play #plansSheet .plan-pair>[data-plan="pro"]{background:#fff;border:1px solid #e2e8f1;border-radius:16px;box-shadow:0 1px 2px rgba(19,40,76,.05),0 8px 24px rgba(19,40,76,.09)}
.pr-v6 .pr-eq{padding:28px 12px 14px}
.pr-v6 .pr-eq h3{color:#13284C}
.pr-v6 .pr-eq .amt{color:#13284C;margin:0 0 4px}
.pr-v6 .pr-eq .amt b{color:#13284C;font-size:2.15rem;font-weight:900;letter-spacing:-1px}
.pr-v6 .pr-eq .trial-then{margin:0 0 12px}
.pr-v6 .pr-eq .btn{border-radius:12px}
html.qcw-pair [data-fr-plan="basic"] .fr-price b,html.qcw-pair [data-fr-plan="pro"] .fr-price b,
html.qcw-play #plansSheet .plan-pair>[data-plan="basic"] .price b,html.qcw-play #plansSheet .plan-pair>[data-plan="pro"] .price b{color:#13284C;font-size:1.9rem;font-weight:900;letter-spacing:-.5px}
html.qcw-pair [data-fr-plan="basic"],html.qcw-pair [data-fr-plan="pro"]{padding-left:12px;padding-right:12px}
html.qcw-play #plansSheet .plan-pair>[data-plan="basic"],html.qcw-play #plansSheet .plan-pair>[data-plan="pro"]{padding-left:12px;padding-right:12px}
@media (prefers-color-scheme: dark){
  html.app-mode .ck-list li,.fr-plan .ck-list li{color:var(--a-text-2,#c3cfde)}
  html.app-mode .ck-list li b,.fr-plan .ck-list li b{color:var(--a-text,#f1f5fb)}
  html.qcw-pair [data-fr-plan="basic"],html.qcw-pair [data-fr-plan="pro"],
  html.qcw-play #plansSheet .plan-pair>[data-plan="basic"],html.qcw-play #plansSheet .plan-pair>[data-plan="pro"]{background:var(--a-surface-2,#182233);border-color:var(--a-hair,#2a3646);box-shadow:0 1px 2px rgba(0,0,0,.35)}
  html.qcw-pair [data-fr-plan="basic"] .fr-price b,html.qcw-pair [data-fr-plan="pro"] .fr-price b,
  html.qcw-play #plansSheet .plan-pair>[data-plan="basic"] .price b,html.qcw-play #plansSheet .plan-pair>[data-plan="pro"] .price b{color:var(--a-text,#f1f5fb)}
}
.pr-v6 .pr-eq ul.ck-list,.fr-plan ul.ck-list,#plansSheet .plan-card ul.ck-list{flex:0 0 auto;align-content:start}
html.qcw-play #plansSheet .plan-pair>[data-plan="pro"]>.btn{order:2}
html.qcw-play #plansSheet .plan-pair>[data-plan="pro"]>.trial-fine{order:1;margin:0 0 8px}
.pr-v6 .pr-eq .trial-then{font-size:.8rem;color:#5b6472}
html:not(.qcw-trial-used).qcw-pair [data-fr-plan="pro"] .eco-sub,html:not(.qcw-trial-used).qcw-play #plansSheet .plan-pair>[data-plan="pro"] .eco-sub{display:none}   /* v37.2: "Cancel anytime" is already on the line under the price */

/* v37.3: Basic lists logo, signature and designs; lists a touch tighter so both cards stay compact side by side */
.pr-v6 .pr-eq .ck-list{gap:5px;margin:4px 0 10px}
.pr-v6 .pr-eq .ck-list li{font-size:.8rem;line-height:1.25;padding-left:22px}
.pr-v6 .pr-eq .ck-list li::before{width:16px;height:16px;top:0;background-size:11px 11px}
html.qcw-play #plansSheet .plan-pair ul.ck-list,html.qcw-pair [data-fr-plan] .ck-list{gap:5px}
html.qcw-play #plansSheet .plan-pair .ck-list li,html.qcw-pair [data-fr-plan] .ck-list li{font-size:.78rem;line-height:1.25}

/* v37.4b (Simon 6:40 AM Nov 4: "The word most popular should be same size of free trial"): Basic MOST POPULAR badge = Pro FREE TRIAL / FOR 7 DAYS badge,
   same font size/weight/letter-spacing for the main word, same padding, same box height, same corner radius, same top position. Applies to the app plans sheet,
   the app plans screen and the website /pricing cards. */
/* app plans sheet + app plans screen: main word 16px/900/.05em, box 40px high, radius 14px, top -22px */
html.qcw-play #plansSheet .plan-pair .plan-tag.plan-tag-pop,
html.qcw-pair .fr-tag.fr-tag-pop,
html.qcw-play #plansSheet .plan-pair>[data-plan="pro"] .trial-hero.trial-2l,
html.qcw-pair [data-fr-plan="pro"] .trial-hero.trial-2l{box-sizing:border-box;height:40px;min-height:40px;padding:0 14px;border-radius:14px;top:-22px;z-index:1;line-height:1.05}
html.qcw-play #plansSheet .plan-pair .plan-tag.plan-tag-pop,
html.qcw-pair .fr-tag.fr-tag-pop{display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:900;letter-spacing:.05em;white-space:nowrap}
html.qcw-play #plansSheet .plan-pair>[data-plan="pro"] .trial-hero.trial-2l,
html.qcw-pair [data-fr-plan="pro"] .trial-hero.trial-2l{justify-content:center;gap:2px}
html.qcw-play #plansSheet .plan-pair>[data-plan="pro"] .trial-hero.trial-2l b,
html.qcw-pair [data-fr-plan="pro"] .trial-hero.trial-2l b{font-size:16px;font-weight:900;letter-spacing:.05em}
/* website /pricing: main word 14px/900/.05em, box 36px high, radius 14px, top -20px */
.pr-v6 .pr-eq .tag.tag-pop,.pr-v6 .pr-eq .tag.tag-2l{box-sizing:border-box;height:36px;padding:0 14px;border-radius:14px;top:-20px;line-height:1.05}
.pr-v6 .pr-eq .tag.tag-pop{display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:900;letter-spacing:.05em}
.pr-v6 .pr-eq .tag.tag-2l{justify-content:center}
@media (max-width:374px){
  html.qcw-play #plansSheet .plan-pair .plan-tag.plan-tag-pop,html.qcw-pair .fr-tag.fr-tag-pop,
  html.qcw-play #plansSheet .plan-pair>[data-plan="pro"] .trial-hero.trial-2l b,html.qcw-pair [data-fr-plan="pro"] .trial-hero.trial-2l b{font-size:14.5px}
  html.qcw-play #plansSheet .plan-pair .plan-tag.plan-tag-pop,html.qcw-pair .fr-tag.fr-tag-pop,
  html.qcw-play #plansSheet .plan-pair>[data-plan="pro"] .trial-hero.trial-2l,html.qcw-pair [data-fr-plan="pro"] .trial-hero.trial-2l{padding:0 11px}
}

/* ===== v45 clean demo (Nov 6, 2026): short main screen + "Options & design" sheet. QCW navy #13284C, no purple. ===== */
:root { --qcw-navy: #13284C; }
.cd-bank { display: flex; align-items: center; gap: 12px; margin: -2px 0 14px; padding: 10px 12px; border: 1px solid #d6dde7; border-radius: 12px; background: #f7f9fc; }
.cd-bank[hidden] { display: none; }
.cd-bank-logo { flex: 0 0 auto; display: none; width: 64px; height: 40px; align-items: center; justify-content: center; background: #fff; border-radius: 8px; border: 1px solid #e3e8ef; overflow: hidden; }
.cd-bank.has-logo .cd-bank-logo { display: flex; }
.cd-bank-logo img { max-width: 58px; max-height: 34px; object-fit: contain; }
.cd-bank-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.cd-bank-txt b { color: var(--qcw-navy); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cd-bank-txt small { color: var(--muted); font-size: 12.5px; }
.cd-link { flex: 0 0 auto; background: none; border: 0; padding: 8px 4px; color: var(--qcw-navy); font: 600 14px/1 inherit; font-family: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cd-numrow { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.cd-numrow .narrow { max-width: none; }
.cd-opts-btn { display: flex; align-items: center; gap: 12px; width: 100%; margin: 6px 0 16px; padding: 14px 14px; border: 1.5px solid var(--qcw-navy); border-radius: 14px; background: #fff; color: var(--qcw-navy); text-align: left; font: inherit; cursor: pointer; }
.cd-opts-btn:hover { background: #f4f7fb; }
.cd-opts-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.cd-opts-ic { flex: 0 0 auto; display: inline-flex; width: 38px; height: 38px; border-radius: 10px; align-items: center; justify-content: center; background: var(--qcw-navy); color: #fff; }
.cd-opts-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.cd-opts-txt b { font-size: 16px; }
.cd-opts-txt small { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cd-opts-go { font-size: 26px; line-height: 1; color: var(--qcw-navy); }
.opt-sheet { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: flex-end; justify-content: center; }
.opt-sheet[hidden] { display: none; }
.opt-backdrop { position: absolute; inset: 0; background: rgba(19, 40, 76, .45); }
.opt-panel { position: relative; width: 100%; max-width: 620px; max-height: 88vh; max-height: 88dvh; display: flex; flex-direction: column; background: #fff; border-radius: 18px 18px 0 0; box-shadow: 0 -8px 30px rgba(19, 40, 76, .25); outline: none; transform: translateY(16px); transition: transform .18s ease-out; }
.opt-sheet.is-open .opt-panel { transform: none; }
.opt-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 12px; border-bottom: 1px solid #e6ebf1; }
.opt-head::before { content: ""; position: absolute; top: 6px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: #cfd7e2; }
.opt-head h2 { margin: 0; font-size: 18px; color: var(--qcw-navy); }
.opt-done { padding: 9px 18px; border: 0; border-radius: 10px; background: var(--qcw-navy); color: #fff; font: 600 15px/1 inherit; font-family: inherit; cursor: pointer; }
.opt-body { overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 6px 16px calc(20px + env(safe-area-inset-bottom)); overscroll-behavior: contain; }
.opt-sec { padding: 14px 0 6px; border-bottom: 1px solid #eef1f5; scroll-margin-top: 8px; }
.opt-sec:last-child { border-bottom: 0; }
.opt-sec[hidden] { display: none; }
.opt-h { margin: 0 0 10px; font-size: 15px; color: var(--qcw-navy); }
.opt-h small { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.opt-sec .more { margin-top: 12px; }
html.opt-open, html.opt-open body { overflow: hidden; }
@media (min-width: 760px) {
  .opt-sheet { align-items: center; }
  .opt-panel { border-radius: 18px; max-height: 84vh; }
  .opt-head::before { display: none; }
}
@media print { .opt-sheet, .cd-opts-btn, .cd-bank { display: none !important; } }
.app .opt-sec { display: grid; gap: 10px; }
.app .opt-sec > .opt-h { margin: 0 0 2px; }
.app .opt-sec > .hint { margin: 0; }
.app .inline-bank, .app .opt-sec { grid-template-columns: minmax(0, 1fr); }
.app .inline-bank > *, .app .opt-sec > * { min-width: 0; }
.app .cd-bank { margin: 0; }
.cd-hide { display: none !important; }
.cd-bank-txt b { white-space: normal; overflow: visible; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ===== v46 clean demo (Nov 6, 2026, Simon 9:44 AM): address & phone toggle under the name, "Bank details ›" screen, Save this account,
   saved-accounts picker on top. QCW navy #13284C, no purple. ===== */
.cd-more-btn { display: inline-flex; align-items: center; gap: 8px; margin: -4px 0 12px; padding: 8px 2px; background: none; border: 0; color: var(--qcw-navy); font: 600 14.5px/1.2 inherit; font-family: inherit; cursor: pointer; text-align: left; }
.cd-more-btn small { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.cd-more-ic { display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 50%; border: 1.5px solid var(--qcw-navy); font-size: 16px; line-height: 1; transition: transform .15s; }
.cd-more-btn.is-open .cd-more-ic { transform: rotate(45deg); }
.cd-more { margin: 0 0 14px; padding: 12px 12px 4px; border-left: 3px solid var(--qcw-navy); background: #f7f9fc; border-radius: 0 12px 12px 0; }
.cd-more[hidden] { display: none; }
.cd-more .field:last-of-type { margin-bottom: 4px; }
.cd-more-hint { margin: 0 0 8px; }
.cd-row { display: flex; align-items: center; gap: 12px; width: 100%; margin: 4px 0 12px; padding: 12px 14px; border: 1px solid #d6dde7; border-radius: 14px; background: #fff; color: var(--qcw-navy); text-align: left; font: inherit; cursor: pointer; }
.cd-row:hover { background: #f4f7fb; }
.cd-row:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.cd-row-ic { flex: 0 0 auto; display: inline-flex; width: 36px; height: 36px; border-radius: 10px; align-items: center; justify-content: center; background: #e8edf5; color: var(--qcw-navy); }
.cd-row-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.cd-row-txt b { font-size: 15.5px; }
.cd-row-txt small { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cd-row-go { font-size: 26px; line-height: 1; color: var(--qcw-navy); }
.cd-save { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 10px; margin: 2px 0 4px; }
.cd-save .save-bank { margin: 0; }
.cd-save .save-bank[hidden] { display: none; }
.cd-save-now { white-space: nowrap; border: 1.5px solid var(--qcw-navy); color: var(--qcw-navy); background: #fff; }
.cd-save #saveAcctHint { grid-column: 1 / -1; margin: 0; }
.cd-save #saveAcctHint:empty { display: none; }
.cd-manage { display: inline-block; margin: -4px 0 4px; padding: 6px 2px; }
.acct-pick[hidden] { display: none; }
.bank-screen { position: fixed; inset: 0; z-index: 1250; display: flex; flex-direction: column; background: #fff; outline: none; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.bank-screen[hidden] { display: none; }
.bs-head { position: sticky; top: 0; z-index: 1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 10px 12px; padding-top: calc(10px + env(safe-area-inset-top)); background: var(--qcw-navy); color: #fff; }
.bs-head h2 { margin: 0; font-size: 18px; text-align: center; color: #fff; }
.bs-back { display: inline-flex; align-items: center; gap: 4px; min-width: 76px; padding: 9px 10px 9px 4px; background: none; border: 0; color: #fff; font: 600 16px/1 inherit; font-family: inherit; cursor: pointer; }
.bs-back span { font-size: 28px; line-height: .7; margin-top: -3px; }
.bs-sp { min-width: 76px; }
.bs-body { width: 100%; max-width: 620px; margin: 0 auto; box-sizing: border-box; padding: 16px 16px calc(28px + env(safe-area-inset-bottom)); }
.bs-note { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.bs-logo { margin: 8px 0 18px; padding: 14px 0 0; border-top: 1px solid #eef1f5; display: grid; gap: 10px; }
.bs-logo .opt-h { margin: 0; }
.bs-own { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.bs-own img { max-width: 120px; max-height: 60px; object-fit: contain; border: 1px solid #e3e8ef; border-radius: 8px; padding: 4px; background: #fff; }
.bs-own input[type=file] { max-width: 100%; font-size: 14px; }
.bs-own .btn[hidden] { display: none; }
.bs-done { width: 100%; }
html.bank-open, html.bank-open body { overflow: hidden; }
@media print { .bank-screen, .cd-row, .cd-more-btn, .cd-save { display: none !important; } }

/* v46 spacing: the account card is a grid with its own gap */
#inlineBank > .cd-more-btn { margin: -6px 0 -4px; justify-self: start; }
#inlineBank > .cd-more { margin: 0; display: grid; gap: 10px; padding: 12px 12px 10px; }
#inlineBank > .cd-more .cd-more-hint { margin: -2px 0 0; }
#inlineBank > .cd-row { margin: 0; }
#inlineBank > .cd-bank { margin: -4px 0 0; }
#inlineBank > .cd-save { margin: 0; grid-template-columns: 1fr; }
.cd-save .cd-save-now { width: 100%; min-height: 44px; font-weight: 650; }
.cd-save .save-bank[hidden] + .cd-save-now { display: none; }
.bs-up { position: relative; overflow: hidden; border: 1.5px solid var(--qcw-navy); color: var(--qcw-navy); background: #fff; cursor: pointer; }
.bs-up input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; font-size: 0; }
.bs-up:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ===== v47 (Simon, Nov 6 10:18-10:26 AM): business logo in "Address, phone & logo", payee details, one save switch,
   the top check preview hides once typing starts, and the full printed page shows at the bottom once the form is complete ===== */
#view-write.is-typing .preview-card { display: none; }
.cd-biz-logo { margin: 4px 0 2px; }
.cd-biz-lbl { display: block; font-size: 13px; font-weight: 600; color: #13284C; margin: 0 0 6px; }
.cd-biz-lbl small { font-weight: 400; color: #5b6b82; }
.cd-biz-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cd-biz-thumb { width: 72px; height: 48px; border: 1px dashed #b9c4d4; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: #fff; overflow: hidden; flex: none; }
.cd-biz-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cd-biz-empty { font-size: 11px; color: #8a97aa; }
.cd-biz-up { position: relative; overflow: hidden; cursor: pointer; }
.cd-biz-up input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.cd-payee-more { margin-top: 2px; }
#payeeMore textarea { min-height: 64px; }
.page-preview-box { margin: 16px 0 8px; padding: 12px; background: #eef2f7; border-radius: 12px; border: 1px solid #dde4ee; }
.page-preview-box .fgroup-title { margin: 0 0 2px; }
.pp-sub { margin: 0 0 10px; }
.page-preview { position: relative; overflow: hidden; width: 100%; background: #fff; color: #000; color-scheme: light; border-radius: 2px;
  box-shadow: 0 1px 2px rgba(19,40,76,.18), 0 6px 16px rgba(19,40,76,.12); }
.pp-scaler { position: absolute; left: 0; top: 0; width: 8.5in; height: 11in; transform-origin: 0 0; pointer-events: none; }
.page-preview .page { position: relative; width: 8.5in; height: 11in; overflow: hidden; background: #fff; }
.page-preview .page-inner { position: absolute; left: 0; top: 0; width: 8.5in; height: 11in; }
.page-preview-box:not([hidden]) { animation: qcwPageIn .35s ease-out both; }
@keyframes qcwPageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .page-preview-box:not([hidden]) { animation: none; } }
@media print { .page-preview-box, .cd-biz-logo { display: none !important; } }

/* v49: Bank line height control (Options & design) */
.micr-pos { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin: 12px 0 4px; }
.micr-pos[hidden] { display: none; }
.micr-pos-lbl { font-weight: 600; display: flex; flex-direction: column; gap: 2px; }
.micr-pos-lbl small { font-weight: 400; opacity: .75; }
.micr-pos-btns { display: inline-flex; gap: 8px; }
.micr-pos-btns .btn { min-width: 76px; min-height: 40px; }
.micr-pos .hint { flex-basis: 100%; margin: 0; }
