
/* Finance › Books › Checks (owner, Nov 4 2026) */
.bk .cqhead{display:flex;justify-content:space-between;align-items:flex-start;gap:12px 18px;flex-wrap:wrap}.bk .cqhead h2{margin:0 0 4px}.bk .cqhead .hint{margin:0;max-width:720px}
.bk .cqsteps{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}
.bk .cqsteps li{display:flex;align-items:center;justify-content:space-between;gap:10px 16px;flex-wrap:wrap;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2)}
.bk .cqsteps li>span{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1 1 260px}.bk .cqsteps small{color:var(--muted)}
.bk .cqtwo{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:16px}
.bk .cqacl{list-style:none;margin:0;padding:0}.bk .cqacl li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.bk .cqacl li:last-child{border-bottom:0}
.bk .cqacl li>span{display:flex;flex-direction:column;min-width:0}.bk .cqacl small{color:var(--muted);overflow-wrap:anywhere}
.cqsigbox{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px;display:flex;justify-content:center;align-items:center;min-height:90px}.cqsigbox img{max-width:100%;max-height:90px}
.cqf{max-width:1180px;margin:0 auto;width:100%}
.cqgrid{display:grid;grid-template-columns:minmax(0,440px) minmax(0,1fr);gap:22px;align-items:start}
.cqfields{display:flex;flex-direction:column;gap:12px;min-width:0}
.cqside{position:sticky;top:0;display:flex;flex-direction:column;gap:8px;min-width:0}.cqside .hint{margin:0}
.cqpv{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;box-shadow:0 2px 10px rgba(14,27,66,.08);min-height:120px;display:flex;align-items:center;justify-content:center}
.cqpv svg{display:block;width:100%;height:auto}.cqpv>.hint{padding:14px;margin:0;color:#4a5268}
.cqwords{color:var(--muted)}
.cqfrom{margin:0}
.cqf .cqlines{border:1px solid var(--line);border-radius:12px;padding:10px 12px;display:flex;flex-direction:column;gap:8px;margin:0}
.cqf .cqlines legend,.cqacct legend{font-weight:700;font-size:14px;padding:0 4px}
.cqsl{display:grid;grid-template-columns:minmax(0,1fr) 64px 96px 32px;gap:6px;align-items:center}
.cqla{display:flex;align-items:center;justify-content:space-between;gap:8px}
.cqwkh{margin:-4px 0 0}
.cqcl{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.cqcl li{display:grid;grid-template-columns:110px minmax(0,1fr);gap:2px 12px;padding:8px 0;border-bottom:1px solid var(--line);align-items:baseline}.cqcl li:last-child{border-bottom:0}
.cqcl li>span{color:var(--muted);font-size:13px;font-weight:700}.cqcl li>b{overflow-wrap:anywhere}.cqcl li>small,.cqcl li>button{grid-column:2;justify-self:start}.cqcl small{color:var(--muted)}
.cqhist{margin:0;padding-left:18px;color:var(--muted);font-size:13px}
.cqpadw{position:relative;background:#fff;border:1px solid var(--line);border-radius:12px}
.cqpad{display:block;width:100%;height:190px;touch-action:none;cursor:crosshair}
.cqpadw::after{content:'';position:absolute;left:8%;right:8%;bottom:44px;border-bottom:1.5px solid #9AA3B8;pointer-events:none}
.cqpadx{position:absolute;left:5%;bottom:46px;color:#9AA3B8;font-size:16px;pointer-events:none}
.cqpadb{display:flex;gap:8px;flex-wrap:wrap}
.cqacct fieldset{border:1px solid var(--line);border-radius:12px;padding:10px 12px;display:flex;flex-direction:column;gap:8px;margin:0}
.bk .bkwk,.bkf .bkwkh b{color:var(--accent)}
.bk .bkshops{display:flex;flex-wrap:wrap;gap:4px 18px;margin:6px 0}
@media (max-width:900px){.cqgrid{grid-template-columns:minmax(0,1fr)}.cqside{position:static}}
@media (max-width:520px){.cqsl{grid-template-columns:minmax(0,1fr) 54px 78px 30px}.cqcl li{grid-template-columns:minmax(0,1fr)}.cqcl li>small,.cqcl li>button{grid-column:1}}


/* Books › Pay a bill (owner, Nov 4 2026): the Zelle / wire details with Copy buttons, Open my bank, Write and email the check,
   the biller's website for a card; a vendor's "How to pay this vendor". The look of Books (navy and gold), light and dark,
   big buttons, no sideways scroll on a phone */
.bkf .bphow{display:flex;flex-direction:column;gap:12px;min-width:0}
.bkf .note.bpsafe{margin:0;padding:12px 14px;border-radius:12px;border:1.5px solid color-mix(in srgb,var(--warn) 45%,transparent);background:var(--warn-bg);color:var(--ink);font-size:15px;font-weight:500;line-height:1.45}
.bkf .note.bpsafe b{color:var(--warn);font-weight:800}
.bkf .bpsteps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.bkf .bpsteps>li{display:grid;grid-template-columns:32px minmax(0,1fr);gap:10px;align-items:start}
.bkf .bpn{width:32px;height:32px;border-radius:50%;background:#16295f;color:#ffc83d;display:grid;place-items:center;font:800 16px/1 var(--font-display);box-shadow:0 0 0 1px #ffc83d40}
.bkf .bpst{display:flex;flex-direction:column;gap:8px;min-width:0}
.bkf .bpst>b{font-size:16px;line-height:1.3;padding-top:5px}
.bkf .bpst>small{color:var(--muted);font-size:14px;margin-top:-4px}
.bkf .bpdl{margin:0;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:12px;background:var(--surface);overflow:hidden}
.bkf .bprow{display:grid;grid-template-columns:116px minmax(0,1fr);gap:2px 10px;align-items:center;padding:7px 8px 7px 12px;border-bottom:1px solid var(--line)}
.bkf .bprow:last-child{border-bottom:0}
.bkf .bprow dt{color:var(--muted);font-size:13px;font-weight:700}
.bkf .bprow dd{margin:0;display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;min-height:38px}
.bkf .bpv{min-width:0;overflow-wrap:anywhere;font-weight:800;font-size:16px;font-variant-numeric:tabular-nums}
.bkf .bpnote .bpv{font-weight:500;font-size:14px}
.bkf .bpcopy{flex:none;min-height:38px;min-width:78px;font-weight:700}
.bkf .bpcopy.done{background:var(--good-bg);color:var(--good);border-color:var(--good)}
.bkf .bpbig{display:flex;width:100%;min-height:52px;padding:10px 16px;font-size:17px;font-weight:800;text-decoration:none;border-radius:12px;justify-content:center;align-items:center;gap:8px;text-align:center}
.bkf a.bpbank{background:#16295f;color:#ffc83d;border:1px solid #16295f}
.bkf a.bpbank:hover{filter:brightness(1.2)}
.bkf a.bpbank:focus-visible,.bkf a.bpsite:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.bkf .bpbanks{display:flex;flex-direction:column;gap:8px}
.bkf .bpcard{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2)}
.bkf .bpcard .hint{margin:0}
.bkf .bpnone{margin:0;padding:10px 12px;border-radius:10px;background:var(--surface-2);font-weight:600;line-height:1.45}
.bkf .bpnone .linkbtn{font-size:15px;font-weight:800}
.bkf .bpor{display:flex;flex-direction:column;gap:6px;padding:12px;border:1px dashed color-mix(in srgb,var(--muted) 45%,transparent);border-radius:12px}
.bkf .bpor>small{color:var(--muted)}
.bkf .bpl4e{color:var(--bad)!important;font-weight:700!important}
.bkf .bkpgo{min-width:150px}
/* a vendor's "How to pay this vendor" (the owner's alone) */
.bkf .bphowf{border:2px solid color-mix(in srgb,var(--accent) 30%,var(--line));border-radius:14px;padding:10px 14px 14px;margin:4px 0 0;min-width:0}
.bkf .bphowf legend{font-weight:800;font-size:16px;padding:0 6px}
.bkf .bphowf legend small{font-weight:600;color:var(--muted);font-size:13px}
.bkf .bpvw,.bkf .bpvf{display:flex;flex-direction:column;gap:10px;min-width:0}
.bkf .bpq{margin:0;font-weight:700;font-size:14px}
.bkf #bkvp-wswift:not(:placeholder-shown){text-transform:uppercase}
table.bkt tbody th small.bkhow{color:var(--accent);font-weight:700}
.cqf .cqbill{margin:0}.cqf .cqbill>b{color:var(--ink)}
@media (max-width:520px){.bkf .bprow{grid-template-columns:minmax(0,1fr);padding:7px 8px 7px 10px}.bkf .bpv{font-size:15px}.bkf .bpcopy{min-width:66px}.bkf .bpsteps>li{grid-template-columns:28px minmax(0,1fr);gap:8px}.bkf .bpn{width:28px;height:28px;font-size:14px}.bkf .bphowf{padding:8px 10px 12px}}


/* Shop Manager → Chesed → Chesed items: the owner's own page (navy and gold like Books and Donations, light and dark, phone) */
.chz{gap:16px}
.chz .chhero{display:flex;justify-content:space-between;align-items:center;gap:14px 18px;flex-wrap:wrap;padding:16px 18px;border-radius:16px;background:linear-gradient(135deg,#1a2f6b,#0e1b42);color:#fff;box-shadow:0 8px 24px rgba(14,27,66,.22)}
.chz .chhl{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1 1 260px}
.chz .chkey{font:800 12px/1 var(--font-body);letter-spacing:.12em;text-transform:uppercase;color:#ffd66b}
.chz .chhl h2{margin:0;font:800 24px/1.15 var(--font-display);color:#fff}
.chz .chhl small{color:#ffffffc4;font-size:13.5px}
.chz .chlock{font-size:13px}
.chz .chacts{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.chz .chacts .btn{min-height:46px;border-radius:12px;font-weight:800}
.chz .chacts .btn.primary{background:#ffc83d;color:#16295f;border-color:#ffc83d;font-size:17px;padding:10px 22px}
.chz .chacts .btn:not(.primary){background:#ffffff1a;color:#fff;border-color:#ffffff47}
.chz .chacts .omore>summary{width:46px;height:46px;background:#ffffff1a;color:#fff;border-color:#ffffff47;border-radius:12px}
.chz .chacts .omenu{color:var(--ink)}
.chz .chtiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:12px}
.chz .chk{display:flex;flex-direction:column;gap:2px;background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);padding:14px 16px;min-width:0}
.chz .chk small{color:var(--muted);font-weight:700;font-size:12px;text-transform:uppercase;letter-spacing:.06em}
.chz .chk strong{font:800 clamp(19px,1.75vw,26px)/1.2 var(--font-display);white-space:nowrap;font-variant-numeric:tabular-nums}
.chz .chk em{font-style:normal;color:var(--muted);font-size:13px}
.chz .chk.t-good strong{color:var(--good)}.chz .chk.t-accent strong{color:var(--accent)}
.chz .chv{margin-top:-4px}
.chz .chslow{border-left:4px solid #ffc83d}
.chz .chslow h2{margin:0 0 2px}
.chz .chsl{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column}
.chz .chsl li{display:flex;align-items:center;gap:10px 12px;padding:9px 0;border-bottom:1px solid var(--line);flex-wrap:wrap}.chz .chsl li:last-child{border-bottom:0}
.chz .chsl .chsn{flex:1 1 200px;min-width:0;display:flex;flex-direction:column}.chz .chsl small{color:var(--muted)}
.chz .chsl b{overflow-wrap:anywhere}
.chz .chth{width:44px;height:44px;flex:none;border-radius:10px;object-fit:cover;background:var(--surface-2);display:grid;place-items:center;font-size:22px;border:1px solid var(--line)}
.chz .chtools{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.chz .chq{flex:1 1 240px;min-width:0}.chz .chq input{width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);font:inherit;font-size:16px;min-height:44px}
.chz .chchips{display:flex;gap:6px;flex-wrap:wrap}
.chz .chchips .chip{padding:7px 12px;font-size:14px;background:var(--surface);color:var(--ink);border:1px solid var(--line);min-height:38px}
.chz .chchips .chip[aria-pressed="true"]{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}
.chz .chsort{display:flex;flex-direction:row!important;align-items:center;gap:6px;font-size:13px;font-weight:700;color:var(--muted)}
.chz .chsort select{padding:8px 10px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--ink);font:inherit;min-height:40px}
.chz .chgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,330px),1fr));gap:14px}
.chz .chc{display:flex;flex-direction:column;background:var(--surface);border-radius:16px;box-shadow:var(--shadow);overflow:hidden;min-width:0;border:1px solid transparent}
.chz .chc.st-out{opacity:.86}
.chz .chtop{display:flex;gap:12px;padding:14px 14px 10px;min-width:0}
.chz .chimg{width:92px;height:92px;flex:none;border-radius:12px;background:var(--surface-2);border:1px solid var(--line);display:grid;place-items:center;font-size:38px;padding:0;overflow:hidden}
.chz button.chimg{cursor:zoom-in}.chz .chimg img{width:100%;height:100%;object-fit:cover;display:block}
.chz .chmeta{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.chz .chmeta h3{margin:0;font:800 18px/1.2 var(--font-display);overflow-wrap:anywhere}
.chz .chmeta small{color:var(--muted);font-size:13px;overflow-wrap:anywhere}
.chz .chleft{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin-top:2px}
.chz .chleft strong{font:800 34px/1 var(--font-display);font-variant-numeric:tabular-nums;color:var(--ink)}
.chz .chleft span{font-weight:700;color:var(--muted);font-size:14px}
.chz .chc.st-low .chleft strong{color:var(--warn)}.chz .chc.st-out .chleft strong{color:var(--muted)}
.chz .chbar{height:6px;margin:0 14px;border-radius:99px;background:var(--surface-2);overflow:hidden}
.chz .chbar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#1E4FD6,#ffc83d)}
.chz .chfacts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 10px;padding:10px 14px 4px;margin:0}
.chz .chfacts div{min-width:0}.chz .chfacts dt{font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}
.chz .chfacts dd{margin:0;font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.chz .chwhere{padding:4px 14px 0;font-size:13.5px;color:var(--muted);overflow-wrap:anywhere}
.chz .chwhere b{color:var(--ink)}
.chz .chbtns{display:flex;gap:6px;padding:12px 14px 14px;margin-top:auto;flex-wrap:wrap;align-items:center}
.chz .chbtns .btn{min-height:42px;font-weight:700;flex:1 1 auto}
.chz .chbtns .btn.primary{flex:2 1 auto}
.chz .chbtns .omore{flex:none}
.chz .chempty{text-align:center;padding:26px 14px;display:flex;flex-direction:column;align-items:center;gap:8px}
.chz .chempty .actions{justify-content:center}
.chz .chload{display:flex;align-items:center;gap:10px}
.chz .chhist{list-style:none;margin:0;padding:0}
.chz .chhist li{display:flex;gap:10px;align-items:flex-start;padding:10px 0;border-bottom:1px solid var(--line)}.chz .chhist li:last-child{border-bottom:0}
.chz .chhist li.undone{opacity:.55}.chz .chhist li.undone .chwhat{text-decoration:line-through}
.chz .chhi{flex:none;width:32px;height:32px;border-radius:10px;display:grid;place-items:center;font-size:16px;background:var(--surface-2)}
.chz .chhi.give{background:var(--good-bg)}.chz .chhi.sell{background:var(--info-bg)}.chz .chhi.count{background:var(--warn-bg)}
.chz .chhb{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.chz .chhb small{color:var(--muted)}
.chz .chwhat{font-weight:700;overflow-wrap:anywhere}
.chz .chhtools{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-end;margin-bottom:8px}
.chz .chhtools label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:700;color:var(--muted);flex:1 1 200px;min-width:0}
.chz .chhtools select,.chz .chhtools input{padding:9px 10px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--ink);font:inherit;min-height:42px;width:100%}
.chz .chmore{display:flex;justify-content:center;margin-top:10px}
/* the windows (Give out, Sell, Count, Move, Add item, Import) use the Books window look (.bkf) */
.chf .chfi{display:flex;gap:12px;align-items:center;padding:10px 12px;border-radius:12px;background:var(--surface-2)}
.chf .chfi img,.chf .chfi .chth{width:52px;height:52px;border-radius:10px;object-fit:cover;flex:none;background:var(--surface);display:grid;place-items:center;font-size:24px}
.chf .chfi span{display:flex;flex-direction:column;min-width:0}.chf .chfi b{overflow-wrap:anywhere}.chf .chfi small{color:var(--muted)}
.chf .chsum{font-weight:800;font-size:15px}
.chf .chph{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.chf .chph img,.chf .chph .chth{width:96px;height:96px;border-radius:12px;object-fit:cover;border:1px solid var(--line);background:var(--surface-2);display:grid;place-items:center;font-size:40px}
.chf .chph .btn{min-height:46px;font-weight:700;cursor:pointer}
.chf .chph input[type=file]{position:absolute;width:1px;height:1px;opacity:0}
.chf .chimp{font:13px/1.45 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;min-height:180px!important}
.chf .chprev{display:flex;flex-direction:column;gap:6px;padding:10px 12px;border-radius:12px;background:var(--surface-2);max-height:260px;overflow:auto}
.chf .chprev ul{margin:0;padding-left:18px}.chf .chprev li{overflow-wrap:anywhere}
.chf .chprev .bad{color:var(--bad)}.chf .chprev .warn{color:var(--warn)}
.chf .chfmt{font-size:13px;color:var(--muted)}.chf .chfmt code{font-size:12.5px;overflow-wrap:anywhere}
.chf .chwr{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr) minmax(0,.8fr);gap:8px}
.chz .chowechip{all:unset;cursor:pointer;font-weight:800;color:#ffd66b;text-decoration:underline;text-underline-offset:3px}.chz .chowechip.due{color:#ffb3a8}
.chz .chowechip:focus-visible{outline:2px solid #ffd66b;outline-offset:2px}
.chz .chat .chowe strong{font-size:clamp(28px,3vw,36px)}.chz .chk.t-bad strong{color:var(--bad)}.chz .chk.chowe.t-bad{border:2px solid var(--bad);background:var(--bad-bg)}
.chz .chaacts{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.chz .chaacts .btn{min-height:44px;font-weight:700}
.chz .chph2{display:flex;justify-content:space-between;align-items:center;gap:8px 12px;flex-wrap:wrap;margin-bottom:8px}.chz .chph2 h2{margin:0}
.chz .chcp{color:var(--muted);font-size:13px;text-align:right}.chz .chph2 .pill,.chz .chaw .pill{white-space:normal}.chz .chcp b{color:var(--good)}.chz .chcp .bkneg{color:var(--bad)}.chz .chconf{font-size:11.5px;padding:1px 8px;vertical-align:1px}
.chz .chbil,.chz .chnb{font-size:12px}
.chf details summary{cursor:pointer;font-weight:700;padding:4px 0}.chf .chprev li.bad{color:var(--bad)}
.chz .chpt td,.chz .chpt th{font-variant-numeric:tabular-nums}.chz .chpt .r{text-align:right}.chz .chpt tfoot td{font-weight:800;border-top:2px solid var(--line)}
.chz .chacct{list-style:none;margin:0;padding:0}
.chz .chacct li{display:grid;grid-template-columns:100px minmax(0,1fr) minmax(0,auto) auto auto;gap:6px 12px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}.chz .chacct li:last-child{border-bottom:0}
.chz .chad{color:var(--muted);font-size:13.5px}.chz .chad i{font-style:normal;opacity:.8}
.chz .chaw{display:flex;flex-direction:column;min-width:0}.chz .chaw b{overflow-wrap:anywhere}.chz .chaw small{color:var(--muted);overflow-wrap:anywhere}
.chz .chaa{display:flex;flex-direction:column;align-items:flex-end;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}.chz .chaa.in{color:var(--good)}.chz .chaa small{font-weight:600;color:var(--muted);font-size:12px}
@media (max-width:600px){
  .chz .chprof .tablewrap{overflow:visible}.chz .chpt thead{display:none}.opmain table.chpt,.chz .chpt,.chz .chpt tbody,.chz .chpt tfoot{display:block;min-width:0;width:100%}
  .chz .chpt tr{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px 8px;padding:10px 0;border-bottom:1px solid var(--line)}
  .chz .chpt td{display:block;border:0;padding:0;text-align:left!important;font-size:14px}.chz .chpt td:first-child{grid-column:1/-1;font-weight:700;margin-bottom:4px}
  .chz .chpt td[data-l]::before{content:attr(data-l);display:block;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}
  .chz .chacct li{grid-template-columns:minmax(0,1fr) auto}.chz .chacct .chad{grid-column:1/-1}.chz .chacct .chcp{grid-column:1/-1;text-align:left}.chz .chacct .chcp:empty{display:none}.chz .chacct li>.btn{grid-column:1/-1;justify-self:start}
  .chz .chat{grid-template-columns:1fr 1fr}.chz .chat .chowe{grid-column:1/-1}.chz .chtiles.chat .chk:first-child{grid-column:auto}
  .chz .chhero{padding:14px}
  .chz .chacts{width:100%}.chz .chacts .btn.primary{flex:1}
  .chz .chtiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .chz .chtiles .chk:first-child{grid-column:1/-1}
  .chz .chk{padding:12px}
  .chz .chimg{width:76px;height:76px}
  .chz .chleft strong{font-size:30px}
  .chz .chsort{width:100%}.chz .chsort select{flex:1}
  .chf .chwr{grid-template-columns:1fr 1fr}.chf .chwr label:first-child{grid-column:1/-1}
}
