/* The two fonts are served by Bookhand itself (public/fonts, SIL Open Font License), not Google: no wait on another
   site before the page can draw, and no visitor's address sent to it */
@font-face{font-family:'Figtree';font-style:normal;font-display:swap;font-weight:300 900;src:url(fonts/figtree-latin-ext-wght-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Figtree';font-style:normal;font-display:swap;font-weight:300 900;src:url(fonts/figtree-latin-wght-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Gabarito';font-style:normal;font-display:swap;font-weight:400 900;src:url(fonts/gabarito-latin-ext-wght-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Gabarito';font-style:normal;font-display:swap;font-weight:400 900;src:url(fonts/gabarito-latin-wght-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
*{box-sizing:border-box}
html,body{height:100%;margin:0}
@supports (height:100dvh){html,body{height:100dvh}} /* a phone's toolbars come and go: the app fits what is on screen */
button,input{font:inherit;color:inherit}
button{cursor:pointer}
:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.dots i{display:inline-block;width:7px;height:7px;margin:0 2px;border-radius:50%;background:currentColor;opacity:.4;animation:d 1s infinite}
.dots i:nth-child(2){animation-delay:.15s}.dots i:nth-child(3){animation-delay:.3s}
@keyframes d{0%,60%,100%{opacity:.25}30%{opacity:1}}
#log>.msg{animation:rise .2s ease-out}@keyframes rise{from{opacity:0}} /* a page or answer eases in; off for anyone who turns motion off (below) */
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
#log{overflow-y:auto}

:root{--canvas:#EFF5F3;--surface:#FBFDFC;--text:#102624;--edge:#C4D6D1;--shade:#D1E0DC;--shade-me:#D1E0DC;--logo:#1F5E5B;--mark:#1F5E5B;--mark-page:#FBFDFC;
 --accent:#1F5E5B;--accent-hi:#1A4F4D;--on-accent:#EEF6F3;--on-solid:#EEF6F3;--big:#102624;--hover:#E2ECE9;--line:rgba(16,38,36,.12);--ph:#61756F;--focus:#B87413;
 --note:#D9EBE7;--quote:#DCE9E5;--me:#1F5E5B;--avatar:#EEF6F3;--side-btn:#F2A93B;--side-btn-hi:#F6B95A;
 --t1:#E6EFEC;--t2:#D9EBE7;--t3:#F3DDD5;--t4:#E3E4EF;--t5:#DCE9E5;--t6:#F6E6C4;
 --coral:#D9705A;--sun:#F2A93B;--mint:#A9D6CC;--sticker:#102624;
 --k:1;--wt:400;--muted:#4C5F5B;color-scheme:light;
 --raise:0 1px 2px rgba(16,38,36,.05),0 6px 20px rgba(16,38,36,.07);--float:0 10px 32px rgba(16,38,36,.18);--fill:#E3ECE9;--sep:rgba(16,38,36,.10);--tint:#1F5E5B;--tint-soft:#DCEBE7;--warm-ink:#8A5A12;
 --card:#FFFFFF;--hair:#E3ECE9;--field-edge:#D6E3DF;--soft:0 1px 2px rgba(16,38,36,.05),0 8px 24px rgba(16,38,36,.06);--box-shadow:0 6px 20px rgba(16,38,36,.06);
 --out-bg:#FCEFD9;--out-ink:#8A520A;--in-bg:#DDF0EA;--in-ink:#1F5E5B;--how-bg:#EAEFEE;--how-ink:#4C5F5B;--late-bg:#FDECE3;--late-ink:#A1401A;--bar-hi:#2A7A75;--bar-lo:#1F5E5B;--off-dot:#8A8982;--on-accent-box:rgba(238,246,243,.14);--scrim:rgba(10,20,18,.38);
 --font:'Figtree','Segoe UI',system-ui,sans-serif;
 --display:'Gabarito','Figtree','Segoe UI',system-ui,sans-serif}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){ --canvas:#0D1F1D;--surface:#102624;--text:#EFF5F3;--edge:#2A4744;--shade:#091614;--shade-me:#091614;--logo:#EFF5F3;--mark:#1F5E5B;--mark-page:#EFF5F3;
 --accent:#1F5E5B;--accent-hi:#256B67;--on-accent:#EFF5F3;--on-solid:#EFF5F3;--big:#EFF5F3;--hover:#1B3633;--line:rgba(239,245,243,.12);--ph:#8FA6A1;--focus:#F2A93B;
 --note:#173A36;--quote:#183330;--me:#1F5E5B;--avatar:#EFF5F3;--side-btn:#F2A93B;--side-btn-hi:#F6B95A;
 --t1:#183330;--t2:#173A36;--t3:#3A2620;--t4:#252A3D;--t5:#183330;--t6:#3A2E17;
 --coral:#D9705A;--sun:#F2A93B;--mint:#5EA399;--sticker:#102624;
 --k:1;--wt:400;--muted:#A9BCB7;color-scheme:dark;
 --raise:none;--float:0 10px 32px rgba(3,10,9,.6);--fill:#1B3633;--sep:rgba(239,245,243,.10);--tint:#7FC2B6;--tint-soft:#173A36;--warm-ink:#F2C47A;
 --card:#16302D;--hair:#213D3A;--field-edge:#2E4B47;--soft:none;--box-shadow:none;
 --out-bg:#3A2E17;--out-ink:#F2C47A;--in-bg:#173A36;--in-ink:#7FC2B6;--how-bg:#1B3633;--how-ink:#B4C7C2;--late-bg:#3A2620;--late-ink:#F2A88A;--bar-hi:#7FC2B6;--bar-lo:#5EA399;--off-dot:#8FA6A1;--on-accent-box:rgba(0,0,0,.18);--scrim:rgba(0,0,0,.55)}}
body{background:var(--canvas);color:var(--text);font:calc(1rem*var(--k))/1.5 var(--font);font-weight:var(--wt)}
.app{display:flex;height:100%}
aside{width:260px;flex-shrink:0;background:var(--surface);color:var(--text);border-right:1px solid var(--hair);padding:22px 16px 14px;display:flex;flex-direction:column;gap:16px;overflow-y:auto}
.logo{display:flex;align-items:center;gap:10px;font-family:var(--display);font-weight:700;font-size:1.5rem;letter-spacing:-.03em;line-height:1;color:var(--logo)}
aside .logo{padding:0 8px}
.mark{width:32px;height:32px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.mark svg{width:100%;height:100%}
/* the bubble is always the brand teal with light pages, as on the app icon; only the word (--logo) turns light in dark mode */
.mark .lb{fill:var(--mark)}.mark .li{stroke:var(--mark)}.mark .lp{fill:var(--mark-page)}.mark .ls{stroke:var(--mark-page)}
.tagline{margin:-10px 0 0 50px;font-size:0.8125rem;font-weight:600;color:var(--muted)}
.grow{flex:1}
/* The starting actions (chips() in chat/ui.js): Money out, Money in, How am I doing?, each row with a small tinted tile */
/* The five places (James, 2026-11-28: simpler, like the mockups): the sidebar on a computer, the tab bar on a phone */
.places{display:flex;flex-direction:column;gap:2px}
.places .place{display:flex;align-items:center;gap:12px;min-height:46px;padding:0 14px;border:0;border-radius:12px;background:none;color:var(--text);font:inherit;font-size:calc(.9375rem*var(--k));font-weight:600;text-align:left;cursor:pointer}
.places .place svg{flex:none;color:var(--muted)}
.places .place:hover{background:var(--hover)}
.places .place[aria-current="page"]{background:var(--accent);color:var(--on-accent)}.places .place[aria-current="page"] svg{color:var(--on-accent)}
.places[data-only-today] .place:not([data-place="today"]),.tabs[data-only-today] .place:not([data-place="today"]){display:none}
.tabs{display:none}
@media (max-width:860px){.tabs{display:grid;width:100%;align-self:stretch;box-sizing:border-box;grid-template-columns:repeat(5,minmax(0,1fr));background:var(--surface);border-top:1px solid var(--hair);padding:0 0 env(safe-area-inset-bottom,0px)}
 .tabs[data-only-today]{display:none}
 .tabs .place{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:58px;border:0;background:none;color:var(--muted);font:inherit;font-size:calc(.75rem*var(--k));font-weight:600;cursor:pointer;padding:4px 0}
 .tabs .place[aria-current="page"]{color:var(--tint);font-weight:700}
 .tabs .place svg{width:22px;height:22px}
 .touring .tabs{display:none} /* the guided tour keeps a phone's room for the chat and its tip */
 .touring .comp,.joining .comp{padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))}
 main:has(.tabs[data-only-today]) .comp{padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))}} /* its own rule: a browser without :has() drops only this one */ /* no tab bar under the box: it keeps clear of the home bar itself */
.sideacts[hidden]{display:none}
.psub{margin:6px 0 0;color:var(--muted);font-size:calc(.9375rem*var(--k));line-height:1.45;max-width:60ch}
.placepage .folders-home .nh,.placepage .folders-home .fsub{display:none} /* the page's own heading says it */
.sideacts{display:flex;flex-direction:column;gap:14px}
.sideacts .grp h4{margin:0 0 4px;padding:0 8px;font-family:var(--font);font-size:0.75rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.sideacts .list{display:flex;flex-direction:column}
.sideacts .b.chip{min-height:44px;padding:0 8px;gap:10px;border-radius:10px;background:none;font-size:calc(.9375rem*var(--k));font-weight:500;box-shadow:none}
.sideacts .b.chip+.b.chip{box-shadow:none}
.sideacts .chip .ico{width:28px;height:28px}.sideacts .chip .ico svg{width:16px;height:16px}
.sideacts .chip .chev{display:none}
/* The company switcher at the foot of the sidebar: initials, name and a chevron. With 2+ companies it opens the list
   (chat/companies.js); with one it shows the connection note and Disconnect. Not connected: the note and Connect, open. */
.qb{display:flex;flex-direction:column;gap:2px;background:var(--canvas);border-radius:12px;font-size:0.8125rem}
.qbhead{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:6px 10px;border:0;border-radius:12px;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}
.qbhead:disabled{cursor:default}
.qbhead:not(:disabled):hover{background:var(--hover)}
.qbn{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.25}
.qbn b{font-size:calc(.875rem*var(--k));font-weight:600;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.qbn small{font-size:calc(.8125rem*var(--k));color:var(--muted)}.qbn small:empty{display:none}
.qbhead .chev{display:none;color:var(--muted)}
.qb.fold .qbhead .chev{display:inline-flex}
.qbmore{display:flex;flex-direction:column;gap:6px;padding:0 10px 10px;line-height:1.4}
.qb:not(.open) .qbmore{display:none}
.qb.off:not(.open) .qbmore{display:flex}.qb.off:not(.open) #qbtext,.qb.off:not(.open) .colist{display:none}
.qb .colist{display:flex;flex-direction:column;gap:2px;margin:0 -6px 4px}.qb .colist[hidden]{display:none}
.cav.off{background:var(--fill)}.cav.off::after{content:'';width:9px;height:9px;border-radius:50%;background:var(--off-dot)}
.cav.big{width:30px;height:30px;font-size:.75rem}
.b{border:0;background:var(--fill);color:var(--text);border-radius:14px;font-weight:600;font-size:calc(0.9375rem*var(--k));padding:10px 18px;min-height:46px;transition:transform .12s,background .12s}
.b:hover{background:var(--hover)}
.b.pri{background:var(--accent);color:var(--on-accent)}
.b.pri:hover{background:var(--accent-hi)}
.b:active{transform:scale(.97)}
.b:disabled{opacity:.55}
aside .b.pri{background:var(--side-btn);color:#102624}
aside .b.pri:hover{background:var(--side-btn-hi)}
.lnk{border:0;background:none;color:var(--tint);font-weight:600;font-size:0.875rem;text-decoration:underline;text-decoration-thickness:1px;text-decoration-color:color-mix(in srgb,currentColor 60%,transparent);text-underline-offset:4px;min-height:44px;padding:0;text-align:left;cursor:pointer}
.lnk:hover{text-decoration-color:currentColor} /* a quiet link in the app's colour: a light underline that firms up on hover (polish audit, 2026-11-28) */
.kv .lnk{white-space:nowrap}
aside .lnk{color:var(--muted);padding:0 10px}
aside #reset{text-decoration:none;font-weight:500;border-radius:12px}aside #reset:hover{background:var(--hover);color:var(--text)} /* a quiet row, like Settings above it */
main{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center}
.top{display:none}
#log{width:100%;max-width:736px;flex:1;min-height:0;padding:40px 28px 12px;display:flex;flex-direction:column;gap:20px}
/* "Today" above every page but the Today page (homeShown() in chat/ui.js): the way back, always in the same place */
.backbar{width:100%;max-width:736px;padding:16px 28px 0;display:flex;align-items:center}.backbar[hidden],#log .msg[hidden]{display:none}
.backbar .lnk{display:inline-flex;align-items:center;gap:6px;min-height:44px;color:var(--tint);font-weight:700;text-decoration:none}.backbar .lnk:hover{text-decoration:underline}
main.vxon .backbar{display:none}
.msg{display:flex;gap:12px;align-items:flex-start}
.msg.mine{justify-content:flex-end}
.col{display:flex;flex-direction:column;gap:12px;min-width:0;flex:1}
.bub{align-self:flex-start;max-width:100%;padding:2px 2px} /* what Bookhand says is plain text on the page, not a chat bubble (polish audit, 2026-11-28) */
.bub .t{font-family:var(--display);font-size:1.625rem;line-height:1.1;font-weight:700;letter-spacing:-.03em;margin-bottom:6px}
.me{max-width:82%;background:var(--tint-soft);color:var(--text);border-radius:18px;padding:10px 16px;overflow-wrap:anywhere} /* an answer typed during a task: a quiet note on the right */
.card{background:var(--surface);border-radius:22px;box-shadow:var(--raise);padding:18px 20px;width:100%;max-width:600px}
.ch{display:flex;justify-content:space-between;align-items:center;gap:8px}
.ch>b:first-child{font-size:calc(0.9375rem*var(--k));font-weight:600;color:var(--muted)}
.big{font-family:var(--display);font-variant-numeric:tabular-nums;font-size:2.875rem;font-weight:700;letter-spacing:-.03em;line-height:1.1;color:var(--big);padding:6px 0 4px}
.kv{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 0;border-top:1px solid var(--sep);font-size:calc(0.9375rem*var(--k))}
.kv span{color:var(--muted)}
.kv b{font-weight:600;flex-shrink:0;max-width:70%;overflow-wrap:anywhere;text-align:right} /* the value keeps its width (no "$30.0 0"); only very long ones wrap */
.mean{color:var(--muted);margin:12px 0 14px;font-size:calc(0.9375rem*var(--k))}
.will{background:var(--canvas);border-radius:16px;padding:12px 14px;margin:0 0 14px;font-size:calc(0.9375rem*var(--k))}
.will ul{margin:6px 0 8px;padding-left:20px}.will li{margin:3px 0}
.will .nomove{color:var(--muted);margin:0 0 6px}.will .nomove b,.mean b{color:var(--text)}
.will .why{margin:8px 0 0}.will .why summary{cursor:pointer;list-style:none;font-weight:700;text-decoration:underline;text-underline-offset:3px;color:var(--text)}.will .why summary::-webkit-details-marker{display:none}
.will .why .mean{margin:6px 0 0}.will .why .mean p{margin:6px 0 0}
.card>.why{margin:0 0 12px}.card>.why summary{cursor:pointer;list-style:none;text-decoration:underline;text-underline-offset:3px;color:var(--text)}.card>.why summary::-webkit-details-marker{display:none}.card>.why .mean{margin:6px 0 0}
.will .once{color:var(--muted);font-size:calc(0.875rem*var(--k))}.will .once b{color:var(--text)}
.will b.pl,.will .nomove b,.will .once b,.will .why summary{font-weight:inherit}
.acts{display:flex;flex-wrap:wrap;gap:10px;align-items:center;min-height:46px}
/* The start screen (home version E, James 2026-11-12): the date and a greeting, the month card, "Needs you". The starting
   actions live in the sidebar on a computer, and in the quick row above the message box on a phone (chat/ui.js). */
.bub:has(.t){background:none;box-shadow:none;padding:2px 2px 0;color:var(--muted)}
.bub .t.hi{font-size:2rem;margin-bottom:0;color:var(--text)}
.bub .t .day{display:block;font-family:var(--font);font-size:calc(0.875rem*var(--k));font-weight:400;letter-spacing:0;color:var(--muted);margin-bottom:4px}
@media (max-width:860px){.bub .t.hi{font-size:1.625rem}.bub .t .day{font-size:calc(.8125rem*var(--k))}}
.msg.home .col{gap:24px}
.msg.pg .bub .t{color:var(--text)}h1.t{margin:0 0 6px}.msg.pg .col{gap:20px;width:100%}.msg.pg .placepage{width:100%} /* a place's page (chat/places.js): full width, like Today */
.msg.pg .card.taxpage,.placepage .card.taxpage{max-width:none;width:100%;box-sizing:border-box}
.msg.ptrow{display:block}.ptitle{margin:4px 2px 0;overflow-wrap:anywhere;font-family:var(--display);font-size:1.625rem;line-height:1.15;font-weight:700;letter-spacing:-.03em;color:var(--text)} /* a task's page: what was pressed, as its title */
@media (max-width:860px){.ptitle{font-size:1.375rem}}
.chips,.needs-home{display:flex;flex-direction:column;gap:18px;width:100%;max-width:560px}
.needs-home{gap:10px;max-width:none}.needs-home[hidden]{display:none}
.done-home{display:flex;flex-direction:column;gap:8px;width:100%}.done-home[hidden]{display:none}
.done-home .dlist,.donepage .dlist{list-style:none;margin:0;padding:6px 18px;background:var(--card);border-radius:18px;box-shadow:var(--soft)}
.done-home .dlist li,.donepage .dlist li{display:flex;align-items:baseline;gap:10px;padding:10px 0;border-bottom:1px solid var(--sep);font-size:calc(.9375rem*var(--k));line-height:1.4}.done-home .dlist li:last-child,.donepage .dlist li:last-child{border-bottom:0}
.taxpage .taxgo{display:flex;flex-direction:column;gap:8px;margin:4px 0 8px}.taxpage .tgo{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-height:56px;padding:10px 16px;text-align:left;border-radius:14px}.taxpage .tgo small{color:var(--muted);font-weight:500}
.craletter .clist{margin:4px 0 10px;padding-left:20px}.craletter .clist li{margin:0 0 4px}
.done-home .dtick,.donepage .dtick{color:var(--tint);font-weight:800}.done-home .dtx,.donepage .dtx{flex:1;min-width:0}.done-home .dwhen,.donepage .dwhen{color:var(--muted);font-size:calc(.8125rem*var(--k));white-space:nowrap}
/* The drop folders on the start screen (chat/folders.js): seven tiles (From the CRA across the bottom), files wait in the tray until Read and match */
.folders-home{display:flex;flex-direction:column;gap:10px;width:100%}.folders-home[hidden]{display:none}
.folders-home .nh{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:0 4px}
.folders-home .nh h4{margin:0;font-family:var(--font);font-size:calc(1.0625rem*var(--k));font-weight:700}
.folders-home .fsub,.folders-home .fnote{margin:0 4px;color:var(--muted);font-size:calc(.875rem*var(--k));line-height:1.45}
.folders-home .fnote.fwait{color:var(--warm-ink);font-weight:600}
.fgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.fold.wide{grid-column:1/-1}
.fold{display:flex;align-items:center;gap:10px;min-height:64px;padding:10px 12px;border:1px solid var(--sep);border-radius:14px;background:var(--card);color:var(--text);font:inherit;text-align:left;cursor:pointer}
.fold:hover{background:var(--hover)}
.fold .fic2{flex-shrink:0;width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:var(--how-bg);color:var(--how-ink)}
.fold.in .fic2{background:var(--in-bg);color:var(--in-ink)}.fold.out .fic2{background:var(--out-bg);color:var(--out-ink)}
.fold .ftx{min-width:0;display:flex;flex-direction:column;gap:1px}
.fold .ftx b{font-weight:700;font-size:calc(.9375rem*var(--k))}.fold .ftx span{color:var(--muted);font-size:calc(.8125rem*var(--k))}
.fold.has{border-color:var(--tint)}.fold.has .ftx span{color:var(--tint);font-weight:600}
body.dragging .fold{border-style:dashed;border-color:var(--tint)}
.fold.over{background:var(--tint-soft);border-style:solid;box-shadow:0 0 0 2px var(--tint)}
.ftray .fsay{flex:1;min-width:0}
.ftray{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 16px;background:var(--card);border-radius:14px;box-shadow:var(--soft)}
.ftray .facts{display:flex;flex-direction:row;align-items:center;gap:16px}.ftray .facts>*{flex:none;width:auto;margin:0}.ftray .lnk{color:var(--tint)}
@media (max-width:860px){.fgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.fold{min-height:56px;padding:8px 10px}.fold .ftx span{display:none}.fold.has .ftx span{display:block}.fold .ftx .fst{display:flex}}
.today{display:flex;flex-direction:column;gap:24px;width:100%}.today .tmain,.today .tside{display:flex;flex-direction:column;gap:24px;min-width:0}
/* Today's side cards (Not yours to spend, Coming up with the CRA, Done lately): beside Needs you on a wide screen, under it otherwise */
.side[hidden]{display:none}
.side h4{margin:0 0 8px;font-size:calc(.9375rem*var(--k));font-weight:700;color:var(--text)}
.trust-home,.cra-home{width:100%;box-sizing:border-box;padding:16px 18px;background:var(--card);border-radius:18px;box-shadow:var(--soft);color:var(--text);font-size:calc(.9375rem*var(--k));line-height:1.45}
.trust-home .tbig{margin:0 0 8px;font-size:calc(1.625rem*var(--k));font-weight:800;letter-spacing:-.01em}
.trust-home .tpart{display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-top:1px solid var(--sep);font-size:calc(.875rem*var(--k))}.trust-home .tpart .num{font-weight:700}
.trust-home .tnote{margin:8px 0 0;color:var(--muted);font-size:calc(.8125rem*var(--k))}
.cra-home .clist{list-style:none;margin:0 0 8px;padding:0}
.cra-home .clist li{display:flex;gap:12px;padding:8px 0;border-top:1px solid var(--sep);font-size:calc(.875rem*var(--k))}.cra-home .clist li:first-child{border-top:0}
.cra-home .clist b{flex:none;width:52px;font-weight:700}.cra-home .clist span{min-width:0}.cra-home .clist small{color:var(--muted)}.cra-home .cmoved{display:block}
.cra-home .lnk,.trust-home .lnk{color:var(--tint);font-weight:600}
.done-home .nh{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:0 4px}.done-home.side .nh h4{margin:0}
.done-home .dtx small,.donepage .dtx small{display:block;color:var(--muted);font-size:calc(.8125rem*var(--k));margin-top:2px}
.donepage .dfix{white-space:nowrap}
.donepage .dlist li{flex-wrap:wrap}.donepage .dkids{flex-basis:100%;margin:4px 0 0 22px}.donepage .dkids summary{cursor:pointer;color:var(--tint);font-weight:600;font-size:calc(.875rem*var(--k))}
.donepage .dkids .dlist{background:none;box-shadow:none;padding:0 0 0 2px}
.donepage .dnone{color:var(--muted);margin:0}
.pkg .msum{font-weight:600}
.bub .t .needn{display:block;margin-top:4px;font-size:calc(1.0625rem*var(--k));font-weight:600;color:var(--muted);letter-spacing:0}.bub .t .needn[hidden]{display:none}
.fold .ftx .fst{display:flex;align-items:center;gap:5px}.fold .ftx .fst i{flex:none;width:8px;height:8px;border-radius:50%;background:var(--out-ink);font-style:normal}
.fold .ftx .fst.ok{color:var(--tint);font-weight:600}.fold .ftx .fst.ok i{width:auto;height:auto;background:none;font-weight:800}
.places .place .pcount{margin-left:auto;min-width:22px;padding:1px 7px;border-radius:999px;background:var(--tint-soft);color:var(--tint);font-size:calc(.75rem*var(--k));font-weight:700;text-align:center}
.places .place[aria-current="page"] .pcount{background:var(--on-accent);color:var(--accent)}
.tabs .place{position:relative}.tabs .place .pcount{position:absolute;top:5px;left:calc(50% + 6px);min-width:16px;padding:0 4px;border-radius:999px;background:var(--accent);color:var(--on-accent);font-size:calc(.6875rem*var(--k));font-weight:700;line-height:16px;text-align:center}
@media (min-width:1300px){body.ontoday #log{max-width:1100px}body.ontoday #log>.msg:not(.home){width:100%;max-width:680px;align-self:center}
 .today{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:start}}
.grp h4,.needs-home h4{margin:0 0 6px 14px;font-family:var(--display);font-size:calc(1rem*var(--k));font-weight:600;color:var(--text)}
.chips .list{background:var(--surface);border-radius:16px;box-shadow:var(--raise);overflow:hidden}
.b.chip{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:8px 14px;border-radius:0;background:none;text-align:left;font-size:calc(1.03125rem*var(--k));font-weight:500;line-height:1.2}
.chip .chev{margin-left:auto;padding-left:8px;color:var(--ph);font-size:1.25rem;line-height:1}
.b.chip+.b.chip,.need+.need{box-shadow:inset 0 1px 0 var(--sep)}
.b.chip:hover{background:var(--hover)}.b.chip:active{transform:none;background:var(--hover)}
.chip .ico{width:30px;height:30px;border-radius:8px;background:var(--in-bg);color:var(--in-ink);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.chip .ico svg{width:18px;height:18px}
.grp.out .ico,.qk.out .ico{background:var(--out-bg);color:var(--out-ink)}
.grp.how .ico,.grp.ask .ico,.qk.how .ico{background:var(--how-bg);color:var(--how-ink)}
.needs-home .nh{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:0 4px}
.needs-home .nh h4{margin:0;font-family:var(--font);font-size:calc(1.0625rem*var(--k));font-weight:700}
.needs-home .nh .lnk{min-height:44px;margin:-12px 0;color:var(--tint);font-weight:600;font-size:calc(.875rem*var(--k));text-decoration:none}.needs-home .nh .lnk:hover{text-decoration:underline}.needs-home .nh .lnk[hidden]{display:none}
.needs-home .list{background:var(--card);border-radius:22px;box-shadow:var(--soft);overflow:hidden}
/* The quick row above the message box, on a phone's start screen only: Send an invoice, I bought something, More */
.quick{display:none}
.qbtn{flex:none;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border-radius:999px;border:1px solid var(--field-edge);background:var(--card);color:var(--text);font:inherit;font-size:calc(.9375rem*var(--k));font-weight:600;cursor:pointer;white-space:nowrap}
.qbtn .ico{width:22px;height:22px;border-radius:7px;background:var(--in-bg);color:var(--in-ink);display:inline-flex;align-items:center;justify-content:center}
.qbtn .ico svg{width:13px;height:13px}
.qbtn:active{transform:scale(.97)}
@media (max-width:860px){.comp.home .quick:not([hidden]),.touring .comp .quick:not([hidden]){display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 -12px;padding:2px 12px} /* the guided tour's receipt step lights its first button */
 .quick::-webkit-scrollbar{display:none}}
@media (max-width:420px){.qbtn{gap:5px;padding:0 9px 0 6px;font-size:calc(.875rem*var(--k))}.qbtn .ico{width:20px;height:20px}.comp.home .quick:not([hidden]),.touring .comp .quick:not([hidden]){gap:5px;padding-right:8px}}
/* The month card (chat/month.js): "November's books", the big %, a thick bar and "See steps"; opened, the steps that need
   attention, each with a small count and one button. Folded every time the app is opened (the demo starts open on
   a computer); See steps opens it until the page is loaded again. Calm: no badges or streaks. */
.month-home{display:flex;flex-direction:column;gap:10px;width:100%}.month-home[hidden]{display:none}
.touring .month-home{display:none} /* the guided tour plays the same as before */
.month-home .nh{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:0 4px}
.month-home h4{margin:0 0 6px;font-family:var(--font);font-size:calc(1rem*var(--k));font-weight:700;color:var(--text)}
.month-home .list{background:var(--card);border-radius:18px;box-shadow:var(--soft);overflow:hidden}
.mcard{background:var(--card);border-radius:22px;box-shadow:var(--soft);overflow:hidden;display:flex;flex-direction:column}
.mcard p{margin:0}
.mhead{padding:20px 24px 4px;display:flex;flex-direction:column;gap:12px;cursor:pointer}
.mcard.munread .mhead,.mcard.shut .mhead{cursor:default}
.mtitle{display:flex;align-items:baseline;gap:12px}
.mlabel{flex:1;font-size:calc(1.0625rem*var(--k));font-weight:700;color:var(--text)}
.mpct{font-family:var(--display);font-size:1.875rem;font-weight:700;line-height:1;letter-spacing:-.01em;color:var(--big);font-variant-numeric:tabular-nums}
.mbar{height:12px;border-radius:999px;background:var(--hair);overflow:hidden}
.mbar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--bar-hi),var(--bar-lo));transition:width .5s ease}
.mtoggle{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;margin:0;padding:4px 24px 12px;border:0;background:none;color:var(--muted);font:inherit;font-size:calc(.9375rem*var(--k));text-align:left;cursor:pointer}
.mtoggle .mleft{flex:1;min-width:0}
.mtoggle .msee{flex-shrink:0;display:inline-flex;align-items:center;gap:6px;color:var(--tint);font-weight:700}
.mtoggle .msee svg{transition:transform .15s}.mtoggle[aria-expanded="true"] .msee svg{transform:rotate(180deg)}
.mtoggle:hover .msee{text-decoration:underline;text-underline-offset:3px}
.mleft{color:var(--muted)}.mgaps{color:var(--muted);font-size:calc(.875rem*var(--k));padding:0 24px 12px;margin-top:-6px!important}
.mcached{color:var(--muted);font-size:calc(.8125rem*var(--k));padding:0 24px 12px;margin-top:-6px!important}.mcard.shut .mcached{padding:0;margin-top:6px!important}.mgo:disabled{opacity:.5;cursor:default}.needs-home .ncached{padding:0 0 8px;margin-top:0!important}
.mcard.shut{background:var(--accent);color:var(--on-accent);gap:12px;padding:20px 24px}
.mcard.shut h3{margin:0;font-family:var(--display);font-size:1.625rem;font-weight:700}
.mcard.shut p{color:var(--on-accent)}
.mcard.shut .mbar{background:rgba(238,246,243,.22)}.mcard.shut .mbar i{background:var(--sun)}
.mcard.munread{padding:16px 24px}
.mbadge{width:44px;height:44px;border-radius:50%;background:var(--sun);color:var(--sticker);display:inline-flex;align-items:center;justify-content:center}.mbadge svg{width:24px;height:24px}
.mwhen{font-weight:600}
.mcard.shut .lnk{color:var(--on-accent);text-decoration:underline}
.mchanged{background:var(--on-accent-box);border-radius:12px;padding:10px 12px}
.mprev{margin:0 4px;color:var(--muted);font-size:calc(.9375rem*var(--k))}.mprev .lnk{color:var(--tint);font-weight:600}
.msteps{padding:0 24px 8px}.msteps[hidden],.mmore[hidden]{display:none}
.mstep{display:flex;align-items:center;gap:14px;padding:12px 0;box-shadow:inset 0 1px 0 var(--hair)}
.mstep .tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.mstep .tx b{font-weight:600;font-size:calc(.9375rem*var(--k))}.mstep .tx span{color:var(--muted);font-size:calc(.8125rem*var(--k))}
.mstep.done .tx b{color:var(--muted);font-weight:500}
.mdot{width:32px;height:32px;flex-shrink:0;border-radius:10px;background:var(--out-bg);color:var(--out-ink);display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:calc(.875rem*var(--k));font-variant-numeric:tabular-nums}
.mdot.unk{background:var(--how-bg);color:var(--how-ink)}.mdot.ok{background:var(--in-bg);color:var(--in-ink)}.mdot.lock{background:var(--how-bg);color:var(--how-ink)}.mdot svg{width:16px;height:16px}
.mgo{flex-shrink:0;min-height:44px;min-width:72px;padding:0 16px;border:0;border-radius:999px;background:var(--tint-soft);color:var(--tint);font:inherit;font-weight:700;font-size:calc(.875rem*var(--k));cursor:pointer}
.mgo.close{background:var(--accent);color:var(--on-accent)}
.mgo:hover{filter:brightness(.97)}
.mlock{flex-shrink:0;color:var(--muted);font-size:calc(.8125rem*var(--k))}
.mco{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;padding:11px 16px;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}
.mco+.mco{box-shadow:inset 0 1px 0 var(--hair)}.mco:hover{background:var(--hover)}.mco.on{cursor:default}.mco.on .cn{font-weight:700}
.mco .cn{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
.mmini{width:72px;height:6px;border-radius:999px;background:var(--hair);overflow:hidden;flex-shrink:0}.mmini i{display:block;height:100%;border-radius:999px}
.mnav{display:flex;justify-content:space-between;align-items:center;margin:-8px 0 -4px}.mnav .lnk{min-height:44px;color:var(--tint);font-weight:600;text-decoration:none}.mnav .lnk:hover{text-decoration:underline}
.mcard.shut .mnav{margin:-12px 0 0}.mcard.shut .mnav .lnk{color:var(--on-accent)}
.mmore{display:flex;flex-direction:column;gap:12px;padding:4px 0 0}
.month-home .mearly .nh .lnk{min-height:44px;margin:-12px 0;color:var(--tint);font-weight:600}
.mearlyb{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;padding:10px 16px;border:0;border-radius:16px;background:var(--card);box-shadow:var(--soft);color:inherit;font:inherit;text-align:left;cursor:pointer}
.mearlyb span:first-child{flex:1;font-weight:600}.mearlyb b{color:var(--muted);font-weight:600}.mearlyb .chev{color:var(--ph);font-size:1.25rem}.mearlyb:hover{background:var(--hover)}
.mco b{min-width:3.2em;text-align:right;font-weight:600}.mna{color:var(--muted);font-size:calc(.875rem*var(--k))}
@media (max-width:860px){.mhead{padding:16px 16px 2px;gap:10px}.mpct{font-size:1.5rem}.mbar{height:10px}.mlabel{font-size:calc(1rem*var(--k))}
 .mtoggle{padding:4px 16px 10px;font-size:calc(.875rem*var(--k))}.msteps{padding:0 16px 6px}.mstep{gap:12px;padding:10px 0}.mdot{width:30px;height:30px;border-radius:9px}
 .mgaps,.mcached{padding:0 16px 10px}.mcard.shut{padding:16px}.mcard.munread{padding:14px 16px}}
/* The sort card (chat/sort.js): one row per Uncategorized line, its account a tap away */
.srt{padding:10px 0}.srt+.srt{box-shadow:inset 0 1px 0 var(--sep)}
.srt-h{display:flex;justify-content:space-between;gap:10px}.srt-h b:first-child{font-weight:600;min-width:0;overflow-wrap:anywhere}
.srt-s{margin:2px 0 6px;color:var(--muted);font-size:calc(.875rem*var(--k))}
.srt .srow{width:100%;border:0;padding:6px 0}.srt .srow small{color:var(--muted);font-weight:400;margin-left:4px}
.srt.skip .srt-h{color:var(--muted)}
.srt-cant{margin-top:6px;padding-top:6px;box-shadow:inset 0 1px 0 var(--sep)}
.rcacts{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}.rcacts .lnk{color:var(--muted)}
.rwgst{color:var(--muted)}
.need{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px 10px 14px;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}.need:hover{background:var(--hover)}
.need .tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px;padding-left:16px;position:relative}
.need .tx b{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.need .tx::before{content:'';position:absolute;left:0;top:.5em;width:8px;height:8px;border-radius:50%;background:var(--sun)}
.need.late .tx::before{background:var(--coral)}
.need .tx span{color:var(--muted);font-size:calc(0.875rem*var(--k))}
.need .go{flex-shrink:0;display:inline-flex;align-items:center;min-height:34px;padding:4px 12px;border-radius:14px;font-weight:600;font-size:calc(0.8125rem*var(--k));background:var(--tint-soft);color:var(--tint)}
/* Who owes me money? uses the same rows inside its card, with two buttons each */
.owes{margin:0 -6px}.need.owe{padding:10px 6px;cursor:default}.need.owe:hover{background:none}
.need.owe:not(.late) .tx::before{background:var(--ph)}
/* "Make a deposit": each waiting payment is a tick (chat/deposits.js) */
.need.dep{padding:10px 6px}.need.dep[hidden]{display:none}.need.dep .tx{padding-left:26px}.need.dep .amt{flex-shrink:0;font-weight:600}
.need.dep .tx::before{left:0;top:.2em;width:16px;height:16px;border-radius:5px;background:none;box-shadow:inset 0 0 0 2px var(--ph)}
.need.dep[aria-pressed="true"] .tx::before{background:var(--tint);box-shadow:none}
.need.dep[aria-pressed="true"] .tx::after{content:'';position:absolute;left:6px;top:.38em;width:4px;height:8px;border:solid var(--surface);border-width:0 2px 2px 0;transform:rotate(45deg)}
.need.owe{gap:8px}.need.owe .tx b{white-space:normal}.need.owe .tx i{font-style:normal;white-space:nowrap}
.need.owe .go{border:0;cursor:pointer;font-family:inherit;padding:4px 10px}.need.owe .go+.go{margin-left:-2px}
.need .chev{flex-shrink:0;padding:0 6px;color:var(--ph);font-size:1.25rem;line-height:1}
.needs-home .need{gap:14px;min-height:66px;padding:12px 20px}
.needs-home .need+.need{box-shadow:inset 0 1px 0 var(--hair)}
.needs-home .need .tx{padding-left:0;gap:2px}.needs-home .need .tx::before{display:none}
.needs-home .need .tx b{font-size:calc(1rem*var(--k))}
.needs-home .need .tx span{font-size:calc(.875rem*var(--k))}.needs-home .need.late .tx span{color:var(--late-ink)}
.nav2{flex-shrink:0;width:38px;height:38px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:calc(.875rem*var(--k));font-weight:700;background:var(--out-bg);color:var(--out-ink)}
.need.late .nav2{background:var(--late-bg);color:var(--late-ink)}.need.date .nav2,.need.dep2 .nav2{background:var(--in-bg);color:var(--in-ink)}
.needs-home .need .amt{flex-shrink:0;font-weight:600;font-size:calc(1rem*var(--k));font-variant-numeric:tabular-nums;text-align:right}.needs-home .need.late .amt,.needs-home .need.late .tx .ph{color:var(--warm-ink)}
.needs-home .need .go{min-height:38px;min-width:96px;justify-content:center;padding:0 14px;border-radius:999px;font-weight:700;font-size:calc(.875rem*var(--k))}
.needs-home .need .tx .ph{display:none}
@media (max-width:600px){.needs-home .need{gap:10px;padding:11px 12px 11px 14px}.nav2{width:34px;height:34px;font-size:calc(.75rem*var(--k))}
 .needs-home .need .amt{display:none}.needs-home .need .tx .ph{display:inline}.needs-home .need .tx b{font-size:calc(.9375rem*var(--k))}.needs-home .need .tx span{font-size:calc(.8125rem*var(--k))}
 .needs-home .need .go{min-height:44px;min-width:0;padding:0 12px}.needs-home .need .tx .lg2{display:none}}
.pill{display:inline-block;font-weight:700;font-size:calc(0.8125rem*var(--k));background:var(--mint);color:var(--sticker);padding:3px 12px;border-radius:99px;white-space:nowrap}
.pill.warn{background:var(--fill);color:var(--muted)} /* waiting: not saved, not sent, editing */
.pill.bad{background:var(--coral)}
.kv .pill{color:var(--sticker)}
.acts .pill{animation:pop .28s cubic-bezier(.2,.9,.3,1.4)}
@keyframes pop{from{transform:scale(.6);opacity:0}to{transform:scale(1);opacity:1}}
.card .sub{margin:12px 0 2px;font-size:calc(0.84375rem*var(--k));font-weight:700;color:var(--muted)}
.quote{background:var(--quote);border-radius:14px;padding:12px 14px}
.comp{width:100%;max-width:736px;padding:8px 28px 18px;display:flex;flex-direction:column;gap:8px}
/* The message box: white, a hairline edge and one soft shadow, with the paperclip, mic and send buttons */
.box{position:relative;display:flex;align-items:center;gap:6px;background:var(--card);border:1px solid var(--field-edge);border-radius:20px;box-shadow:var(--box-shadow);padding:6px 6px 6px 6px}
#inp{flex:1;min-width:0;border:0;outline:0;background:transparent;color:var(--text);font-size:calc(1rem*var(--k));font-weight:500;min-height:44px}
#inp::placeholder{color:var(--ph);font-weight:400}
#inp{text-overflow:ellipsis}
.kbd{display:none}
/* A computer: the box is a quiet bar at the top of every page, "Tell Bookhand what happened" (Ctrl K or Cmd K puts the
   cursor in it). It comes before the page in the HTML too, so Tab and a screen reader meet it where it is seen. A phone
   keeps it at the bottom, over the tab bar, where a thumb reaches it; the guided tour and an invite keep it at the bottom
   too (the tour's tip docks at the top): there `order` moves it under the chat. */
main>.comp{order:1}main>.tabs{order:2}
@media (min-width:861px){
 html:not(.touring):not(.joining) main>.comp{order:0;padding:18px 28px 4px}
 html:not(.touring):not(.joining) .comp .notes{justify-content:flex-start;padding:0 8px}
 html:not(.touring):not(.joining) #log{padding-top:20px}
 .kbd{display:inline-flex;align-items:center;flex:none;font:inherit;font-size:calc(.8125rem*var(--k));color:var(--muted);border:1px solid var(--field-edge);border-radius:6px;padding:1px 8px;margin-right:4px}
 .box:focus-within .kbd,#inp:not(:placeholder-shown)+.kbd{display:none}}
@media (min-width:1300px){html:not(.touring):not(.joining) body.ontoday main>.comp{max-width:1100px}}
.box:focus-within{border-color:var(--tint)}
.cav{flex:none;width:24px;height:24px;border-radius:50%;display:inline-grid;place-items:center;font-family:var(--font);font-size:.6875rem;font-weight:700;color:var(--on-solid);letter-spacing:.02em}
/* The company list (chat/companies.js): in the sidebar's switcher on a computer, in the top bar's sheet on a phone */
.cit{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:8px 10px;border:0;border-radius:10px;background:transparent;color:var(--text);font:inherit;font-size:calc(0.9375rem*var(--k));text-align:left;cursor:pointer}
.cit:hover{background:var(--hover)}.cit.on{background:var(--tint-soft)}
.cit .cn{flex:1;min-width:0;overflow-wrap:anywhere}
.cit .ctick{color:var(--tint);font-weight:700}
.card .steps{margin:0 0 8px;padding-left:22px;display:grid;gap:6px}
.forco{display:flex;align-items:center;gap:6px;margin:12px 0 0;font-size:calc(0.8125rem*var(--k));color:var(--muted)}
.forco .cav{width:20px;height:20px;font-size:.5625rem}
#go{width:44px;height:44px;flex-shrink:0;border:0;border-radius:12px;background:var(--accent);color:var(--on-solid);display:flex;align-items:center;justify-content:center}
#go:active{transform:scale(.94)}
.note{margin:0;text-align:center;font-size:calc(0.8125rem*var(--k));color:var(--muted)}
@media (max-width:860px){aside{display:none}
.top{display:flex;width:100%;align-items:center;justify-content:space-between;gap:8px;background:var(--surface);color:var(--text);border-bottom:1px solid var(--hair);padding:10px 12px 10px 16px}
.top .logo{font-size:1.3125rem}.top .logo .mark{width:28px;height:28px}
#log{padding:16px 14px 8px}.backbar{display:none!important} /* a phone's tab bar has Today always; the room is for the card */.comp{padding:8px 12px 14px}.me{max-width:92%}.big{font-size:2.375rem}
.top{padding-top:calc(10px + env(safe-area-inset-top,0px))}.comp{padding-bottom:10px}} /* clear of the notch and the home bar */

.qb .b{width:100%;margin-top:4px;min-height:44px;font-size:0.875rem}
.qbacts{display:flex;flex-direction:column;gap:8px}
/* Phone top bar: the logo, the company's initials (amber "Connect" when not connected), Settings and Today (the house). The initials
   open the sheet below the bar: the company list (with 2+), the connection note and Disconnect. */
.tacts{display:flex;gap:4px;align-items:center;min-width:0}
.qbchip{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:0;max-width:170px;min-height:44px;padding:4px 14px;border-radius:99px;font:700 .875rem var(--font);cursor:pointer;background:var(--side-btn);color:#102624;border:0}
.qbchip .lbl{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.top .logo{flex-shrink:0}.tacts>.b{flex-shrink:0}
.qbchip .sh{display:none}
@media (max-width:440px){.qbchip .lg{display:none}.qbchip .sh{display:inline}}
.qbchip.on{width:44px;padding:0;border-radius:50%;background:none;color:var(--text)}
.qbchip.on .cav{width:30px;height:30px;font-size:.6875rem}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.qbsheet .dot{width:9px;height:9px;border-radius:50%;flex-shrink:0;background:#8A8982}.qbsheet .dot.on{background:#7FA896}
.qbsheet{position:fixed;left:12px;right:12px;top:calc(72px + env(safe-area-inset-top,0px));z-index:20;background:var(--surface);color:var(--text);border-radius:18px;box-shadow:var(--float);padding:14px 16px 16px;display:flex;flex-direction:column;gap:8px}
.qbsheet[hidden]{display:none}
.qbsheet .qbs-h{display:flex;align-items:center;gap:8px;font-size:1rem}
.qbsheet .qbs-h b{flex:1;min-width:0;overflow-wrap:anywhere}
.qbsheet .x{background:none;border:0;color:var(--text);font-size:1.625rem;line-height:1;cursor:pointer;padding:0 4px;min-width:44px;min-height:44px}
.qbsheet p{margin:0;font-size:0.9375rem;line-height:1.45}
.qbsheet .b{width:100%;min-height:46px}
.qbsheet .colist{display:flex;flex-direction:column;gap:2px;margin:0 -6px 4px;padding-bottom:8px;box-shadow:inset 0 -1px 0 var(--hair)}
@media (max-width:340px){.top .logo .mark{display:none}}
/* Guardrail warnings on draft cards (possible repeat, very large amount, more than one amount in a message) */
.caution{background:var(--t3);border-left:4px solid var(--coral);border-radius:14px;padding:10px 14px;margin:0 0 14px;font-size:calc(0.9375rem*var(--k))}
.caution p{margin:0}.caution p+p{margin-top:6px}
/* "Did you mean...?" choices, each with the reason it was suggested */
.pick{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:0 0 10px}
.pick small{color:var(--muted);font-size:calc(0.875rem*var(--k))}
/* Details form for a new customer or supplier, inside its draft card */
.form{border:1px solid var(--sep);border-radius:14px;padding:10px 14px 4px;margin:0 0 14px;display:grid;grid-template-columns:1fr 1fr;gap:8px 12px}
.form legend{font-weight:800;padding:0 6px}.form legend span{font-weight:500;color:var(--muted)}
.form label{display:flex;flex-direction:column;gap:2px;font-size:calc(0.875rem*var(--k));font-weight:700;min-width:0}
.form label.wide{grid-column:1/-1}
.form input{border:2px solid var(--edge);border-radius:10px;background:var(--canvas);color:var(--text);padding:8px 10px;min-height:44px;font-weight:600;width:100%}
.form input:disabled{opacity:.7}
.form .hint{grid-column:1/-1;margin:2px 0 6px;color:var(--muted);font-size:calc(0.875rem*var(--k))}
label.fbk{display:block;margin:0 0 6px}
textarea.fbk{display:block;width:100%;min-height:110px;resize:vertical;border:2px solid var(--edge);border-radius:12px;background:var(--canvas);color:var(--text);padding:10px 12px;font:inherit;font-weight:500}
textarea.fbk:disabled{opacity:.7}
.card>.hint{margin:8px 0 12px;color:var(--muted);font-size:calc(0.875rem*var(--k))}
.acl{margin:6px 0 12px;padding-left:22px}.acl li{margin:6px 0;line-height:1.4}.acl .lnk{margin-left:6px;font-size:calc(0.8125rem*var(--k))}
.kv small{display:block;font-weight:400;color:var(--muted);font-size:calc(0.8125rem*var(--k));margin-top:2px}
.kv.rc span{flex:1;min-width:0}.kv.rc .b{flex-shrink:0}
.rcthumb{display:block;max-width:160px;max-height:200px;border-radius:12px;margin:10px 0}
@media (max-width:520px){.form{grid-template-columns:1fr}}
/* dropped receipts, bills and invoices */
#att{width:44px;height:44px;flex-shrink:0;border:0;border-radius:50%;background:transparent;color:var(--muted);display:flex;align-items:center;justify-content:center}
#att:hover{color:var(--text)}
#mic{width:44px;height:44px;flex-shrink:0;border:0;border-radius:50%;background:transparent;color:var(--muted);display:flex;align-items:center;justify-content:center}
#mic[hidden]{display:none}
#mic:hover{color:var(--text)}
#mic.on{color:var(--canvas);background:var(--focus);animation:listen 1.4s ease-in-out infinite}
@keyframes listen{50%{box-shadow:0 0 0 6px color-mix(in srgb,var(--focus) 30%,transparent)}}
.me.file{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.me.file .fname{max-width:100%;min-width:0}
.thumb{display:block;max-width:220px;max-height:220px;border-radius:12px;border:2px solid var(--edge)}
.fic{font-weight:700;font-size:0.75rem;padding:6px 10px;border-radius:8px;border:2px solid var(--edge);background:var(--surface);color:var(--text)}
.drop{position:fixed;inset:0;z-index:10;display:none;align-items:center;justify-content:center;padding:16px;background:color-mix(in srgb,var(--canvas) 85%,transparent);pointer-events:none}
.drop div{border:3px dashed var(--edge);border-radius:24px;padding:48px 40px;background:var(--surface);color:var(--text);box-shadow:var(--float);font-weight:700;font-size:1.125rem;text-align:center}
body.dragging .drop{display:flex}
body.dragging.onfold .drop,body.dragging.hasfold .drop{display:none} /* the start screen's drop folders are the targets: they light up instead (chat/folders.js) */
/* Draft cards: short by default, with the details one tap away */
.will p{margin:0 0 8px}
.feednote{color:var(--muted);margin:6px 4px 0;font-size:calc(0.875rem*var(--k))}
.feednote details.more summary{list-style:none;cursor:pointer;display:inline;font-weight:700;text-decoration:underline;text-underline-offset:3px;margin-left:4px}
.feednote details.more summary::-webkit-details-marker{display:none}
.feednote details.more[open] summary{display:block;margin:4px 0}
.mean details.more summary,details.kvd>summary,details.formd>summary{list-style:none;cursor:pointer}
.mean details.more summary::-webkit-details-marker,details.kvd>summary::-webkit-details-marker,details.formd>summary::-webkit-details-marker{display:none}
.mean details.more summary{display:inline;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.mean details.more[open] summary{display:block;margin:4px 0}
details.kvd>summary span{text-decoration:underline dotted 2px;text-underline-offset:5px}
details.kvd>summary span::after{content:" \25BE"}details.kvd[open]>summary span::after{content:" \25B4"}
details.kvd>.kv:not(summary){border-top:0;padding:3px 0 3px 14px;font-size:calc(0.875rem*var(--k))}
details.kvd>.kv:not(summary):last-child{padding-bottom:9px}
details.formd{background:var(--canvas);border-radius:14px;padding:12px 14px;margin:0 0 14px;font-size:calc(0.9375rem*var(--k))}
/* A reminder's email, one tap away (chat/reminders.js) */
details.mail{margin:6px 0 12px;font-size:calc(0.875rem*var(--k))}
details.mail>summary{cursor:pointer;font-weight:700;text-decoration:underline;text-underline-offset:3px;list-style:none}
details.mail>summary::-webkit-details-marker{display:none}
.kv .acts.who{flex-wrap:nowrap;flex-shrink:0;min-height:0;gap:8px} /* a customer's own reminders switch, beside their name */
details.mail[open]{background:var(--canvas);border-radius:12px;padding:10px 12px}
details.mail[open]>summary{margin-bottom:6px}
details.mail p{margin:6px 0;overflow-wrap:anywhere}
details.formd>summary{font-weight:700}details.formd>summary span{font-weight:500;color:var(--muted)}
details.formd>summary::before{content:"+ "}details.formd[open]>summary::before{content:"\2212  "}
.formd .form{border:0;padding:0;margin:10px 0 0}.formd .form legend{display:none}
/* Draft buttons: big Save and its way out, then smaller ones for changes. Underlined text only shows or hides information. */
/* The change bubbles come first; Save and its way out sit in a bar at the end of the card that stays pinned to the
   bottom of the screen while the card is on it (.dacts gives no box, so the bar sticks within the whole card) */
.dacts:has(.savebar){display:contents}
.savebar{position:sticky;bottom:0;z-index:2;display:flex;gap:10px;align-items:center;margin:14px -20px -18px;padding:12px 20px 14px;background:var(--surface);border-top:1px solid var(--sep);border-radius:0 0 22px 22px}
.savebar .b.pri{flex:1;min-height:50px;font-size:calc(1.0625rem*var(--k));white-space:nowrap}
.savebar .b:not(.pri){background:none;color:var(--tint);padding:6px 10px;white-space:nowrap}
.savebar .b:not(.pri):hover{background:var(--hover)}
.acts .links{flex-basis:100%;display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:4px}
.dacts .links{margin-top:14px}.links .lnk{min-height:40px;margin-left:8px}
.lk-q{flex-basis:100%;color:var(--muted);font-size:calc(0.875rem*var(--k))}
.b.sm,.links .b.opt{min-height:40px;padding:6px 14px;font-size:calc(0.875rem*var(--k))}.links .b{background:var(--tint-soft);color:var(--tint)}.links .b:hover{background:var(--hover)}
.card.off{opacity:.6}
.pick-acct{width:100%}.pick-acct p{margin:0 0 8px}
.pick-q{border:1px solid var(--edge);border-radius:10px;background:var(--canvas);color:var(--text);padding:8px 10px;min-height:44px;font-weight:600;width:100%}
.pick-list{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0;max-height:320px;overflow:auto;padding:2px 4px 4px 2px}
.pick-more{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 10px}
.pick-list .b{min-height:40px;padding:6px 14px;font-size:calc(0.875rem*var(--k))}
.askbox .form{border:0;padding:0;margin:0 0 10px}.askbox.used button:not(.picked),.askbox.used input,.askbox.used label span{opacity:.6}.askbox.used .picked{opacity:1;background:var(--accent);border-color:var(--accent);color:var(--on-accent);font-weight:600} /* the pressed answer stays marked, the rest dims (no :has(), so every browser) */
.pick-list .b small{font-weight:400;opacity:.8}
.form .pick-list.wide{grid-column:1/-1;margin:0 0 4px;max-height:none} /* the km log's "Where to" bubbles (chat/mileage.js) */
.prod-new .pick-list,.due-pick .pick-list{max-height:none}
/* A due date: the usual terms as bubbles, then a calendar */
.due-cal{display:flex;flex-direction:column;gap:4px;margin:0 0 10px;font-size:calc(0.875rem*var(--k));font-weight:700}
.due-cal input{border:2px solid var(--edge);border-radius:10px;background:var(--canvas);color:var(--text);padding:8px 10px;min-height:44px;font-weight:600;max-width:240px;font:inherit;color-scheme:light dark}
/* "Create your own" product: which income account counts it, as radios */
.radios{grid-column:1/-1;display:flex;flex-direction:column;gap:2px;margin:4px 0}
.radios .rq{font-size:calc(0.875rem*var(--k));font-weight:700;margin-bottom:2px}
.form label.radio{flex-direction:row;align-items:center;gap:10px;font-weight:500;min-height:40px;cursor:pointer}
.form label.radio small{color:var(--muted);font-weight:400}
.form input[type=radio]{width:20px;height:20px;min-height:0;padding:0;flex:none;accent-color:var(--tint)}
.radios [data-p="inc"]{margin:0 0 4px 30px;width:calc(100% - 30px)}
/* Demo on bookhand.ca (window.BH_DEMO): a slim note above the chat */
.demo-bar{align-self:stretch;width:100%;box-sizing:border-box;background:var(--sun);color:var(--sticker);font-size:0.8125rem;font-weight:600;padding:8px 16px;text-align:center;border-bottom:2px solid var(--edge)}
.demo-bar a{color:inherit;font-weight:800}
/* The demo's guided tour (js/tour.js): a ring around the one thing to press, the rest dimmed, and a tip beside or above it */
#tourring{position:fixed;z-index:60;border-radius:18px;pointer-events:none;box-shadow:0 0 0 3px var(--sun),0 0 0 200vmax rgba(6,20,18,.42);transition:left .2s,top .2s,width .2s,height .2s;animation:tourpulse 1.6s ease-in-out infinite}
#tourring.full{left:0!important;top:0!important;width:0!important;height:0!important;animation:none}
#tourring.nudge{animation:tournudge .5s ease-out}
#tourring[hidden]{display:none}
@keyframes tourpulse{0%,100%{box-shadow:0 0 0 3px var(--sun),0 0 0 200vmax rgba(6,20,18,.42)}50%{box-shadow:0 0 0 7px var(--sun),0 0 0 200vmax rgba(6,20,18,.42)}}
@keyframes tournudge{0%,100%{transform:none}25%{transform:translateX(-6px)}75%{transform:translateX(6px)}}
#tour{position:fixed;z-index:61;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:18px;box-shadow:var(--float);padding:14px 16px;font-size:calc(0.9375rem*var(--k));transition:left .2s,top .2s}
#tour p{margin:4px 0 10px}
#tour .tour-n{display:flex;align-items:center;gap:8px;font-size:0.75rem;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
#tour .tour-dots{display:inline-flex;gap:4px}
#tour .tour-dots i{width:7px;height:7px;border-radius:50%;background:var(--sep)}
#tour .tour-dots i.did{background:var(--tint)}
#tour .tour-dots i.now{background:var(--sun)}
#tour .tour-list{margin:6px 0 10px;padding:0 0 0 22px;font-weight:600}
#tour .tour-list li{margin:2px 0}
#tour .tour-list.done{list-style:none;padding:0}
#tour .tour-list.done li::before{content:"\2713";color:var(--tint);font-weight:700;margin-right:8px}
#tour .tour-acts{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
#tour .tour-acts [hidden]{display:none}
#tour .tour-end{border:0;background:none;color:var(--tint);font-weight:600;padding:8px 4px;margin-left:auto;text-decoration:underline;text-underline-offset:3px}
#tour{max-height:calc(100% - 16px);max-height:calc(100dvh - 16px);overflow:auto;box-sizing:border-box}
#tour a.tour-end{font-size:inherit}
/* On a phone the tip is compact and docked at the top, over the app's own bars and clear of the notch: what to do in one
   line, "Why?" for the rest, and its one button full width for a thumb (js/tour.js place()) */
#tour.dock{left:max(8px,env(safe-area-inset-left,0px));right:max(8px,env(safe-area-inset-right,0px));top:calc(var(--vvtop,0px) + env(safe-area-inset-top,0px) + 6px);width:auto!important;padding:10px 14px 12px;transition:none}
#tour.dock p{margin:4px 0 8px}
#tour.dock p:last-child{margin-bottom:0}
#tour .tour-n .tour-end{text-transform:none;letter-spacing:0;font-size:0.875rem;padding:6px 2px;min-height:32px}
#tour.dock .tour-acts .b{flex:1;min-height:46px}
#tour .tour-why{border:0;background:none;color:var(--tint);font:inherit;font-weight:600;padding:2px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
#tour .tour-more{color:var(--muted)}
#tour .tour-more[hidden]{display:none}
.tour-say{position:fixed;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
#tour .tour-echo{background:var(--canvas);border-radius:12px;padding:8px 12px;margin:0 0 8px;font-weight:600;min-height:1.5em;overflow-wrap:anywhere}
@media (max-width:599px){.touring .notes{display:none}} /* Help is locked during the tour: its room goes to the chat */
/* In a cramped frame (a phone or a short frame on the home page) the tour isn't run there: one button opens it full screen */
#touroffer{position:fixed;inset:0;z-index:62;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(6,20,18,.42)}
#touroffer>div{background:var(--surface);color:var(--text);border-radius:18px;box-shadow:var(--float);padding:16px 18px 18px;max-width:360px}
#touroffer .tour-n{font-size:0.75rem;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
#touroffer .b{display:flex;align-items:center;justify-content:center;min-height:50px;text-decoration:none}
/* Sign-in screen while invite-only (signin.js): covers the app until someone signs in with Intuit */
.signin{position:fixed;inset:0;z-index:20;display:flex;align-items:center;justify-content:center;padding:16px;background:var(--canvas);overflow-y:auto}
.signin-card{max-width:440px;width:100%;background:var(--surface);color:var(--text);border-radius:24px;box-shadow:var(--raise);padding:32px 28px;text-align:center}
.signin-logo{display:flex;align-items:center;justify-content:center;gap:10px;font-family:var(--display);font-weight:700;font-size:1.875rem;color:var(--text)}
.signin-logo .mark{display:inline-flex;width:40px;height:40px}
/* on the page background too: the brand teal bubble with light pages */
.signin-logo .mark .lb,.start .brand .lb{fill:var(--mark)}.signin-logo .mark .li,.start .brand .li{stroke:var(--mark)}.signin-logo .mark .lp,.start .brand .lp{fill:var(--mark-page)}.signin-logo .mark .ls,.start .brand .ls{stroke:var(--mark-page)}
.signin .tagline{margin:4px 0 20px;color:var(--text);opacity:.8}
.signin h1{font-family:var(--display);font-size:1.5rem;margin:0 0 12px}
.signin p{line-height:1.5}
.signin-why{background:var(--note);border-radius:12px;padding:12px 14px;text-align:left}
.signin-go{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;margin:8px 0 16px;text-decoration:none;font-size:1rem}
.signin .fine{font-size:0.875rem}.signin .fine a{color:inherit;font-weight:700}
.side-link{display:block;color:inherit;font-size:0.8125rem;font-weight:700}
/* Settings: one gear button (bottom of the sidebar, top bar on a phone) opens the light/dark switch and Sign out */
.setbtn{display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}
aside .b.setbtn{background:none;color:var(--muted);font-size:0.875rem;min-height:44px;justify-content:flex-start;padding:0 10px}
aside .b.setbtn:hover{background:var(--hover);color:var(--text)}
.top .b.setbtn,.top .b.icobtn{background:none;color:var(--muted);padding:0;width:44px;min-height:44px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center}
.acctmenu{position:fixed;left:22px;bottom:96px;width:228px;z-index:20;background:var(--surface);color:var(--text);border-radius:18px;box-shadow:var(--float);padding:6px;display:flex;flex-direction:column;gap:2px}
.acctmenu[hidden],#signoutbox[hidden]{display:none}
.acctmenu .b{display:flex;align-items:center;width:100%;min-height:44px;font-size:0.9375rem;font-weight:500;background:none;color:var(--text);justify-content:flex-start;text-align:left;padding:8px 12px;border-radius:10px}
.acctmenu .b:hover{background:var(--hover)} /* a menu of plain rows, like any app's account menu (polish audit, 2026-11-28) */
.acctmenu p{margin:0 12px 6px;font-size:0.8125rem;line-height:1.4;color:var(--muted)}
.billnote{margin:8px 0 0;color:var(--warm-ink)}.billnote:empty{display:none}
@media (max-width:860px){.acctmenu{left:auto;right:12px;bottom:auto;top:calc(72px + env(safe-area-inset-top,0px));width:min(260px,calc(100vw - 24px))}}

/* Hide numbers (Settings): the start screen's amounts (Needs you) become dots, e.g. while sharing the screen; on a phone too */
.acctmenu .numbtn::before{content:'';display:inline-block;width:18px;height:12px;margin-right:8px;vertical-align:-1px;box-sizing:border-box;border-radius:50%/60%;border:2px solid currentColor;background:radial-gradient(circle,currentColor 2.5px,transparent 3px)}
.numhide .needs-home .need .amt,.numhide .needs-home .need .tx .ph{font-size:0;letter-spacing:0}
.numhide .needs-home .need .amt::after{content:'••••';font-size:1rem;letter-spacing:.08em}
.numhide .needs-home .need .tx .ph::before{content:'••••';font-size:calc(.8125rem*var(--k));letter-spacing:.08em}
.numhide .mstep .num{font-size:0;letter-spacing:0}.numhide .mstep .num::before{content:'••••';font-size:calc(.8125rem*var(--k));letter-spacing:.08em} /* the GST step's amounts */
.numhide .trust-home .num{font-size:0;letter-spacing:0}.numhide .trust-home .num::before{content:'••••';font-size:calc(.9375rem*var(--k));letter-spacing:.08em} /* the tax held, Not yours to spend */

/* Getting started: the setup checklist, the no-QuickBooks guide, and help */
.setup{list-style:none;margin:6px 0 10px;padding:0;display:flex;flex-direction:column;gap:10px}
.setup li{display:flex;gap:10px;align-items:flex-start;line-height:1.45}
.setup a,.guide a:not(.b),.mean a{color:inherit;font-weight:700}
.ic{flex-shrink:0;width:24px;height:24px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:800;font-size:0.875rem;margin-top:1px}
.ic.ok{background:var(--accent);color:var(--on-accent)}
.ic.fx{background:var(--side-btn);color:#102624}
.ic.inf{background:var(--t4);color:var(--text);border:2px solid var(--edge)}
.setup li>span:not(.ic){flex:1;min-width:0}.setup .acts{margin-top:8px}.setup .how{margin-top:4px}.setup p.how{margin-bottom:0}.setup .how summary{cursor:pointer;font-weight:700;text-decoration:underline;text-underline-offset:3px;min-height:32px;display:inline-flex;align-items:center}
.guide p{margin:0 0 10px}.guide .fine{font-size:0.875rem;color:var(--muted);margin:10px 0 0}
.guide .steps{margin:0 0 12px;padding-left:22px}.guide .steps li{margin:4px 0}
.guide a.b{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
/* First run (connection.js welcome(), help.js readyCard()): one card, one next step */
.card.welcome .lead,.card.ready .lead{margin:0 0 10px}.card.ready .setup{margin-bottom:10px}
.signin-what{font-size:1.0625rem;font-weight:600}
.signin .signin-safe{font-size:0.875rem;color:var(--muted);margin:0 0 14px}
.signin .guide{text-align:left}.signin .guide .acts{display:flex;flex-wrap:wrap;gap:8px}
.signin-noqb{min-height:46px}
.signin-install{margin:4px 0 10px}.signin-install .lnk{font-size:15px}.signin-install p{font-size:14px;margin:6px 0 0}.installnote[hidden],[data-install][hidden]{display:none}
.helps{display:flex;flex-direction:column;gap:8px}.helps .b{text-align:left}
.notes{display:flex;justify-content:center;align-items:center;gap:12px}
.helplnk{min-height:40px;font-size:calc(0.84375rem*var(--k));color:var(--muted)}
.kv[hidden],.need[hidden]{display:none} /* .kv is flex, which beats the browser's own [hidden] */
.kv .fxd{font-size:.85em;color:var(--muted)} /* a saved record's second line in Fix: what it was for, the account, what paid */
.kv b small.sub{display:block;font-weight:400;font-size:.85em;color:var(--muted)} /* the product under "For", when it reads differently */

/* Saved: the card's "Not saved yet" badge turns into a tick and the result, and the card settles */
.pill.ok{display:inline-flex;align-items:center;gap:5px;background:var(--tint-soft);color:var(--tint)}
.pill.ok svg{width:14px;height:14px}.pill.ok path{stroke-dasharray:24;stroke-dashoffset:24;animation:draw .45s .1s ease-out forwards}
@keyframes draw{to{stroke-dashoffset:0}}
.card.done{animation:settle .4s cubic-bezier(.2,.9,.3,1.3)}
.card .fsum{display:none}.card.folded .fsum{display:inline;margin-left:auto;font-weight:600;font-variant-numeric:tabular-nums}
.card.folded{padding-top:14px;padding-bottom:14px}.card.folded>:not(.ch){display:none}
.card .ch[data-act]{cursor:pointer;border-radius:10px}.card .ch[data-act]:focus-visible{outline:2px solid var(--tint);outline-offset:4px}
@keyframes settle{from{transform:scale(.985)}to{transform:scale(1)}}
.card>details.why{margin-top:10px}
/* A tax question on a draft card (cardAsk in chat/ui.js): one line and equal bubbles, the draft already made with the usual tax */
.cardask{margin:10px 0 4px}.cardask p{margin:0}
.cardask .ask-b{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.cardask .ask-b .b{background:var(--surface);color:var(--tint)}.cardask .ask-b .b:hover{background:var(--hover)}
/* The not-understood reply: one card, the team folded under it */
.card.caught p{margin:0}.card.caught details.miss{margin-top:10px}.card.caught details.miss summary{cursor:pointer;list-style:none;color:var(--tint);font-weight:600}
.card.caught details.miss summary::-webkit-details-marker{display:none}.card.caught details.miss .acts{margin-top:8px}
/* Every draft card (chat/small.js): who, what and when on one line, rows that open their picker with a tap, one sentence,
   "Why?" for the rest */
.card.small .big{padding-bottom:0}
.srows{display:flex;flex-direction:column;align-items:stretch;margin:2px 0 6px}
.splus,.srow,.sbit{border:0;background:none;font:inherit;color:inherit;text-align:left;padding:0;cursor:pointer;overflow-wrap:anywhere;max-width:100%}
.splus{align-self:flex-start;color:var(--muted);font-size:calc(0.9375rem*var(--k));min-height:32px;font-variant-numeric:tabular-nums}
.sline{margin:6px 0 4px;font-size:calc(1.0625rem*var(--k));font-weight:600;line-height:1.4}
.sline .sbit{font-weight:600;min-height:32px;text-decoration:underline dotted 2px;text-decoration-color:var(--line);text-underline-offset:5px}
.sline span.sbit{text-decoration:none;cursor:default}.sdot{color:var(--muted)}
.srow{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:46px;padding:8px 0;border-top:1px solid var(--sep);color:var(--muted);font-size:calc(0.9375rem*var(--k))}
.srow b{color:var(--text);font-weight:600}.srow .chev,.splus .chev{color:var(--tint);font-size:1.25rem;line-height:1;margin-left:6px}
span.srow{cursor:default}
.srow:disabled,.sbit:disabled,.splus:disabled{cursor:default;opacity:.7}.srow:disabled .chev,.splus:disabled .chev{visibility:hidden}
.ssay{margin:10px 0 6px;color:var(--text)}
.card.small>details.swhy{margin:0 0 4px}.card.small>details.swhy summary{cursor:pointer;list-style:none;color:var(--tint);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.card.small>details.swhy summary::-webkit-details-marker{display:none}.swhy .mean p{margin:6px 0}.swhy .will{margin:8px 0 0}
.card.small .links .lnk{margin-left:0;color:var(--tint)}
.big.bigtext{font-size:2.25rem;letter-spacing:-.02em;overflow-wrap:anywhere}
/* The tour's Done beat: a tick and what just happened */
#tour .tour-did{display:flex;gap:10px;align-items:flex-start;font-weight:600}
#tour .tour-did .tick{flex:none;width:24px;height:24px;border-radius:50%;background:var(--tint);color:var(--on-accent);display:inline-flex;align-items:center;justify-content:center;font-size:.8rem}
.will .nmore{margin:0 0 6px;color:var(--muted)}
/* One card per task (chat/task.js): the details known so far as filled-in rows (a tick, the value, Change), then the
   question in the same card; "My guess" marks what Bookhand filled in itself, quietly */
.card.task .big{padding-bottom:0}
.card.task .tsub{margin:0 0 4px;color:var(--muted);font-size:calc(0.9375rem*var(--k))}
.trows{margin:6px 0 0}
.trow{display:flex;align-items:center;gap:10px;padding:6px 0;border-top:1px solid var(--sep)}
.trow .tick{flex:none;width:26px;height:26px;border-radius:50%;background:var(--accent);color:var(--on-accent);display:inline-flex;align-items:center;justify-content:center}
.trow .tick svg{width:14px;height:14px}
.trow .tv{flex:1;min-width:0;display:flex;flex-direction:column}
.trow .tv small{color:var(--muted);font-size:calc(0.8125rem*var(--k))}
.trow .tv b{font-weight:600;overflow-wrap:anywhere}
.trow .tv .guess{margin:0}
.trow .tchg{flex:none;min-height:44px;min-width:44px;padding:0 6px;color:var(--tint);text-align:center}
.tq{border-top:1px solid var(--sep);padding-top:12px;margin-top:6px}
.card.task .ch+.tq{border-top:0;padding-top:4px}
.tq-q{margin:0 0 8px;font-size:calc(1.0625rem*var(--k));font-weight:700;line-height:1.35}
.tq .pick-list .b,.tq .acts .b,.tq .pick-more .b{min-height:44px}
.tacts{margin-top:4px}.tacts .b.tno{background:none;color:var(--tint);padding:6px 10px;min-height:44px}.tacts .b.tno:hover{background:var(--hover)}
.guess{display:inline-block;white-space:nowrap;color:var(--muted);font-weight:400;font-size:calc(0.8125rem*var(--k));text-decoration:none}
.tq-err{margin:4px 0 8px;font-weight:600}
.snw{white-space:nowrap}
/* Several receipts at once (chat/batch.js): one card, a small row per file, then one draft at a time */
.card.batch .bsum{margin:4px 0 10px;color:var(--muted);font-size:calc(.9375rem*var(--k))}
.card.batch .bfiles>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:var(--tint);font-weight:600;list-style:none}.card.batch .bfiles>summary::-webkit-details-marker{display:none}
.card.batch .bfiles[open]>summary{color:var(--muted);font-weight:400;font-size:calc(.875rem*var(--k));min-height:32px}
.blist{list-style:none;margin:0;padding:0}
.bf{display:flex;align-items:center;gap:12px;min-height:52px;padding:6px 0}.bf+.bf{box-shadow:inset 0 1px 0 var(--hair)}
.bth{flex-shrink:0;width:40px;height:40px;border-radius:8px;overflow:hidden;background:var(--fill);display:flex;align-items:center;justify-content:center}
.bth img{width:100%;height:100%;object-fit:cover;display:block}
.bpdf{font-weight:700;font-size:calc(.6875rem*var(--k));color:var(--muted)}
.bt{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.bt b{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bt small{color:var(--muted);font-size:calc(.8125rem*var(--k));overflow-wrap:anywhere}
.bst{flex-shrink:0;display:inline-flex;align-items:center;gap:4px;font-size:calc(.8125rem*var(--k));font-weight:600;color:var(--muted)}
.bst svg{width:14px;height:14px}
.bf.s-ready .bst,.bf.s-checking .bst,.bf.s-saved .bst{color:var(--tint)}
.bf.s-failed .bst,.bf.s-limit .bst,.bf.s-room .bst{color:var(--late-ink)}
.bf.s-reading .bst::before{content:'';width:12px;height:12px;border-radius:50%;border:2px solid var(--hair);border-top-color:var(--tint);animation:bspin .9s linear infinite}
.bf.s-skipped,.bf.s-other{opacity:.7}
@keyframes bspin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.bf.s-reading .bst::before{animation:none}}
.needs-home .need.bwait .tx b{white-space:normal}

/* Matching a statement (chat/statements.js): the result card, a line's question card, the personal account's list */
.b.pri .guess{color:inherit;opacity:.85;margin-left:4px}
.stmt-p{margin:6px 0;line-height:1.45}
.stmt-x .kv{align-items:center}
.stmt-x .kv .lnk{min-height:44px;min-width:44px}
.stmt-biz .srow{width:100%;background:none;border-left:0;border-right:0;border-bottom:0;text-align:left;cursor:pointer;color:var(--text);font:inherit}
.stmt-biz .srow b{font-weight:600;overflow-wrap:anywhere}
.stmt-biz .srow .pill{flex:none}
.card select{font:inherit;min-height:44px;width:100%;border:1px solid var(--field-edge);border-radius:10px;background:var(--card);color:var(--text);padding:0 10px}
/* GST/HST return figures (chat/gstreturn.js): the period, the balance big, then one row per CRA line that opens to say what it means */
.gstret .gper{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:2px 0 0;flex-wrap:wrap}.gstret .gper span{color:var(--muted);font-size:calc(.875rem*var(--k))}
.gstret .gout{margin:0 0 10px;color:var(--muted)}
.gstret .glines{margin:8px 0}
.gstret details.gline>summary{min-height:44px}
.gstret details.gline>summary span{text-decoration:none}.gstret details.gline>summary span::after{content:none}
.gstret details.gline>summary small{display:block;font-size:calc(.75rem*var(--k));color:var(--muted);letter-spacing:.02em}
.gstret details.gline>summary span{color:var(--text)}
.gstret details.gline.gbig>summary b{font-weight:700}
.gstret .gmean{margin:0 0 10px;color:var(--muted);font-size:calc(.875rem*var(--k))}
.gstret .gmean ul{margin:6px 0;padding-left:20px}
.gstret .gblank{color:var(--muted);font-weight:400}
.gstret .gnote{font-weight:400;color:var(--muted);font-size:calc(.875rem*var(--k))}
.gstret .gok{display:flex;align-items:center;gap:6px;color:var(--tint)}.gstret .gok svg{width:18px;height:18px;flex:none}
.gstret details.gdiff{margin:8px 0}.gstret details.gdiff>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:var(--warm-ink);font-weight:600}
.gstret .gform .form{margin:8px 0}
.gstret .acts .b,.gstret .cardask .b,.gstret .lnk{min-height:44px}
/* The documents vault's own page (chat/vaultpage.js): it takes the chat's place in the main column. Three columns on a
   wide screen (the tree, the files, the picked file); the picked file opens over the list on a narrower one, and fills the
   screen on a phone, where the tree is one list of dates. Colours are the theme's tokens only. */
main.vxon #log,main.vxon .comp{display:none!important}
main.vxon{align-items:stretch}
.vx{flex:1;min-height:0;display:flex;flex-direction:column;width:100%}
.vxhead{display:flex;align-items:center;gap:16px;padding:22px 28px 14px}
.vxback{display:inline-flex;align-items:center;gap:6px;border:0;background:none;color:var(--muted);font-weight:600;font-size:calc(.9375rem*var(--k));padding:0 6px 0 0;min-height:44px;align-self:flex-start}
.vxback:hover{color:var(--text)}
.vxtitle{flex:1;min-width:0}
.vxtitle h1{margin:0;font-family:var(--display);font-weight:700;font-size:1.625rem;letter-spacing:-.02em;color:var(--big);display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.vxtitle h1:focus{outline:none}
.vxtitle p{margin:2px 0 0;color:var(--muted);font-size:calc(.875rem*var(--k))}
.lock{display:inline-flex;align-items:center;gap:5px;font-family:var(--font);font-size:.75rem;font-weight:700;background:var(--in-bg);color:var(--in-ink);padding:3px 10px;border-radius:99px;letter-spacing:0}
.vxbar{display:flex;gap:10px;align-items:center;padding:0 28px 12px;flex-wrap:wrap}
.vxsearch{flex:1;min-width:240px;display:flex;align-items:center;gap:10px;background:var(--card);border:1px solid var(--field-edge);border-radius:14px;padding:0 14px;min-height:46px;box-shadow:var(--box-shadow);color:var(--muted)}
.vxsearch:focus-within{outline:3px solid var(--focus);outline-offset:2px}
.vxsearch input{flex:1;min-width:0;border:0;background:none;outline:none;font-size:calc(1rem*var(--k));min-height:44px;color:var(--text)}
.vxsearch input::placeholder{color:var(--ph)}
.vxchips{display:flex;gap:6px;flex-wrap:wrap}
.vxchip{border:1px solid var(--field-edge);background:var(--surface);color:var(--text);border-radius:99px;font-weight:600;font-size:calc(.875rem*var(--k));padding:0 14px;min-height:44px}
.vxchip:hover{background:var(--hover)}
.vxchip.on{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
.vxdate{display:none;min-height:44px;border:1px solid var(--field-edge);border-radius:12px;background:var(--card);color:var(--text);font:inherit;padding:0 10px}
.vxsay{margin:0;padding:0 28px;color:var(--muted);font-size:calc(.875rem*var(--k))}
.vxsay:not(:empty){padding-bottom:10px}
.vxbody{flex:1;min-height:0;display:grid;grid-template-columns:220px minmax(0,1fr);border-top:1px solid var(--hair)}
.vxrail{padding:16px 12px;border-right:1px solid var(--hair);overflow:auto}
.vxtabs{display:flex;background:var(--fill);border-radius:10px;padding:3px;margin:0 4px 12px}
.vxtabs button{flex:1;border:0;background:none;border-radius:8px;font-weight:600;font-size:calc(.8125rem*var(--k));min-height:44px;color:var(--muted)}
.vxtabs button.on{background:var(--card);color:var(--text);box-shadow:var(--raise)}
.tree{display:flex;flex-direction:column;gap:1px}
.vxrow{display:flex;align-items:center;gap:8px;width:100%;border:0;background:none;color:var(--text);text-align:left;font-size:calc(.9375rem*var(--k));min-height:44px;padding:0 8px;border-radius:9px}
.vxrow span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vxrow small{color:var(--muted);font-size:calc(.8125rem*var(--k));font-variant-numeric:tabular-nums}
.vxrow:hover{background:var(--hover)}
.vxrow.yr{font-weight:700}.vxrow.mo{padding-left:46px}
.vxrow.on{background:var(--tint-soft);color:var(--in-ink);font-weight:700}.vxrow.on small{color:var(--in-ink)}
.vxyr{display:flex;align-items:center}.vxyr .vxrow{flex:1}
.vxfold{flex:none;width:44px;min-height:44px;border:0;background:none;color:var(--muted);border-radius:8px;display:grid;place-items:center}
.vxfold:hover{background:var(--hover)}
.vxnone{color:var(--muted);font-size:calc(.875rem*var(--k));padding:0 8px}
.vxlist{overflow:auto;padding:4px 24px 24px}
.vmh{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 4px 8px}
.vmh h2{margin:0;font-family:var(--display);font-size:1.0625rem;font-weight:700;color:var(--big)}
.vmh h2 span{font-family:var(--font);font-weight:500;color:var(--muted);font-size:calc(.875rem*var(--k));margin-left:4px}
.vmh .lnk{flex:none;min-height:44px;font-size:calc(.8125rem*var(--k));color:var(--muted)}
.frow{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:12px;align-items:center;width:100%;padding:10px 14px 10px 12px;border-radius:12px;background:var(--card);margin-bottom:6px;box-shadow:var(--soft);border:1px solid var(--hair);text-align:left;color:var(--text);font-size:calc(.9375rem*var(--k))}
.frow:hover{border-color:var(--edge)}
.frow.sel{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.ftype{width:36px;height:36px;border-radius:9px;display:grid;place-items:center;font-size:.625rem;font-weight:800;letter-spacing:.04em}
.ftype.img{background:var(--in-bg);color:var(--in-ink)}
.ftype.pdf{background:var(--out-bg);color:var(--out-ink)}
.fwho{min-width:0;display:flex;flex-direction:column;line-height:1.3}
.fwho b{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fwho small{color:var(--muted);font-size:calc(.8125rem*var(--k))}
.famt{font-weight:700;font-variant-numeric:tabular-nums;text-align:right}
.vxmore{display:flex;align-items:center;gap:12px;padding:10px 4px}.vxmore p{margin:0;color:var(--muted);font-size:calc(.875rem*var(--k))}
.vxmeans{max-width:640px;padding:8px 4px 0}
.vxlabel{margin:12px 4px 0;color:var(--muted);font-size:calc(.875rem*var(--k))}
body.vxsheet{overflow:hidden}body.vxsheet .vx{overflow:hidden}
body.vxsheet::before{content:'';position:fixed;inset:0;background:var(--scrim);z-index:29} /* the page behind the picked file is dimmed; a tap on it puts the file away */
.vxsay:focus{outline:none}
.vxempty{max-width:480px;padding:32px 8px}.vxempty p{color:var(--muted)}
.vxprev>*{flex-shrink:0}
.vxprev{display:none;flex-direction:column;gap:14px;padding:18px 20px;overflow:auto;background:var(--surface)}
.vxprev.open{display:flex;position:fixed;top:0;right:0;bottom:0;width:min(420px,100%);z-index:30;box-shadow:var(--float);border-left:1px solid var(--hair)}
.vxpick{color:var(--muted);text-align:center;margin:auto 0;padding:24px 8px}.vxpick b{display:block;color:var(--text);margin-bottom:4px}
.paperwrap{background:var(--fill);border-radius:14px;padding:12px;display:flex;justify-content:center;align-items:center;min-height:200px}
.paperwrap .vxpick{margin:0}
.vximg{display:block;max-width:100%;max-height:min(440px,50vh);object-fit:contain;border-radius:6px;background:var(--card)}
.vxpdf{display:block;width:100%;height:480px;border:0;border-radius:6px;background:var(--card)}
.pv h2{margin:0;font-family:var(--display);font-size:1.25rem;font-weight:700;color:var(--big);overflow-wrap:anywhere}
.pv h2:focus{outline:none}
.pv .sub{color:var(--muted);font-size:calc(.875rem*var(--k));margin:2px 0 0}
.facts{display:flex;flex-direction:column;font-size:calc(.875rem*var(--k))}
.facts div{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-top:1px solid var(--sep)}
.facts span{color:var(--muted);flex:none}
.facts b{font-weight:600;text-align:right;overflow-wrap:anywhere}
.pvacts{display:flex;gap:10px;align-items:center}.pvacts .b{flex:1}
.vxdel{color:var(--muted);min-height:44px;align-self:flex-start}
.note2{font-size:calc(.8125rem*var(--k));color:var(--muted);margin:0;line-height:1.45}
.vx .foot{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 28px;border-top:1px solid var(--hair);color:var(--muted);font-size:calc(.8125rem*var(--k));background:var(--surface)}
.vx .foot .lnk{flex:none;min-height:44px;font-size:calc(.8125rem*var(--k));color:var(--muted)}
.vxscrim{position:fixed;inset:0;background:var(--scrim);display:flex;z-index:60;overflow:auto;overscroll-behavior:contain;
 padding:max(16px,env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) max(16px,env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px))}
.vxscrim .dlg{margin:auto;width:100%;max-width:440px;box-shadow:var(--float);display:flex;flex-direction:column;gap:10px} /* margin:auto centres it and still scrolls from the top when it is taller than the screen */
.vxscrim .dlg p{margin:0}.vxscrim .dlg .will{margin:0}.vxscrim .dlg .acts .b{flex:1}
@media (min-width:1200px){
 .vxbody{grid-template-columns:220px minmax(0,1fr) 360px}
 .vxprev,.vxprev.open{display:flex;position:static;width:auto;box-shadow:none;z-index:auto;border-left:1px solid var(--hair)}}
@media (max-width:860px){
 .vx{overflow:auto}.vxhead{padding:8px 16px 8px;gap:0 10px;flex-wrap:wrap}.vxhead #vxall{margin-left:auto}.vxhead #vxall .b{min-height:44px;padding:6px 14px}
 .vxtitle{order:2;flex-basis:100%}.vxtitle h1{font-size:1.375rem}
 .vxbar{padding:0 16px 10px}.vxsearch{min-width:0;flex-basis:100%}
 .vxchips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;flex:1;min-width:0}
 .vxdate{display:block;flex-basis:100%}
 .vxsay{padding:0 16px}
 .vxbody{display:block;flex:none;overflow:visible;border-top:0}
 .vxrail{display:none}
 .vxlist{padding:0 16px 20px;overflow:visible}
 .vxprev.open{width:100%;border-left:0;padding:14px 16px calc(20px + env(safe-area-inset-bottom,0px))}
 .vxprev.open>.vxback{display:inline-flex}
 .vx .foot{flex-direction:column;align-items:flex-start;gap:4px;padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px))}}
/* The receipt inbox card (chat/inbox.js) */
.card.inbox .inaddr{margin:.4rem 0}
.card.inbox .inaddr code{display:block;overflow-wrap:anywhere;font-size:1rem;font-weight:600;background:var(--fill);border-radius:10px;padding:10px 12px;color:var(--text)}
.card.inbox .insend{margin:.2rem 0 .6rem;padding-left:1.1rem}
.card.inbox .insend li{margin:.25rem 0;overflow-wrap:anywhere}
.card.inbox .insend small{color:var(--muted)}
.card .inadd{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end;margin:.5rem 0}
.card .inadd label{flex-basis:100%;margin:0}
.card .inadd input{flex:1 1 10rem;min-width:0;border:2px solid var(--field-edge);border-radius:12px;background:var(--canvas);color:var(--text);padding:9px 12px;font:inherit}
/* A month's package (chat/package.js): what arrived, then one review list of the lines to record */
.pkg .sub{margin:14px 0 4px;font-weight:600}
.pkg .sub .qnum{color:var(--muted);font-weight:600}.pkg .sub .qdots{display:inline-flex;gap:4px;margin-left:10px;vertical-align:middle}.pkg .sub .qdots i{width:18px;height:5px;border-radius:3px;background:var(--fill)}.pkg .sub .qdots i.on{background:var(--tint)}
.pkg-l{list-style:none;margin:0;padding:0}.pkg-l li{padding:8px 0;line-height:1.45}.pkg-l li+li{box-shadow:inset 0 1px 0 var(--hair)}
.pkg-l li span{color:var(--muted);font-size:calc(.875rem*var(--k))}.pkg-l .pwarn{color:var(--late-ink)}
.pkg-l .pick-list{margin-top:6px}
.pkg-l img.chq{display:block;width:100%;max-width:220px;height:auto;margin:0 0 6px;border-radius:8px}
.prows{list-style:none;margin:0;padding:0}.prow+.prow{box-shadow:inset 0 1px 0 var(--hair)}
.prow-b{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:6px 0;border:0;background:none;color:var(--text);font:inherit;text-align:left;cursor:pointer}
.prow-b:disabled{cursor:default}.prow-b:hover:not(:disabled){background:var(--hover)}
.prow .pd{flex:none;width:3.6em;color:var(--muted);font-size:calc(.8125rem*var(--k))}
.prow .pw{flex:1;min-width:0;display:flex;flex-direction:column}.prow .pw b{font-weight:600;overflow-wrap:anywhere}
.prow .pw small{color:var(--muted);font-size:calc(.8125rem*var(--k));overflow-wrap:anywhere}
.prow .pa{flex:none;font-weight:600}
.prow .pc{flex:none;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;font-size:.8125rem;font-weight:700}
.pkgr .stmt-p>svg{width:1em;height:1em;vertical-align:-.15em}.prow .pc svg{width:14px;height:14px}.prow .pc.sure{color:var(--tint)}.prow .pc.guess{background:var(--hover);color:var(--muted)}.prow .pc.ask{background:var(--out-bg);color:var(--out-ink)}
.prow.c-skip .pw b,.prow.c-pers .pw b{color:var(--muted);font-weight:500}.prow.c-saved .pw b{color:var(--muted)}
.prow .perr{margin:0 0 8px;color:var(--late-ink);font-size:calc(.875rem*var(--k))}
.pedit{padding:4px 0 12px}.pedit .form{margin:0 0 8px}
.pq{margin:12px 0 16px;padding-top:12px;box-shadow:inset 0 1px 0 var(--hair)}.pq .tq-q{margin:0 0 4px}.pq .stmt-p{margin:0 0 8px}.pq .pick-list{margin:0}
.pedit .kv{padding:4px 0}.pedit .pwarn{color:var(--late-ink)}
.card.cli .pwarn{color:var(--late-ink);font-weight:600} /* a client invite's warning (chat/clients.js) */
.pedit .remember{display:flex;align-items:center;gap:8px;min-height:44px;margin:0 0 6px;color:var(--text)}.pedit .remember input{width:20px;height:20px;accent-color:var(--tint)}
.pkgr .fewer{margin:4px 0 6px;font-weight:600;color:var(--tint)}
/* Starting from your statements (chat/startup.js): the accounts and people cards, the catch-up lines */
.pkg .pcatch{margin:4px 0 8px;font-weight:600;color:var(--tint)}
.st-acct label{display:flex;flex-direction:column;gap:4px;font-weight:600;font-size:calc(.875rem*var(--k))}
.st-acct label span{color:var(--muted);font-weight:500}
.st-acct input[data-f]{border:2px solid var(--field-edge);border-radius:12px;background:var(--canvas);color:var(--text);padding:9px 12px;font:inherit;font-weight:600;min-height:44px;width:100%;min-width:0}
.st-acct input[data-f]:disabled{opacity:.7}
.st-acct.off label,.st-acct.off>span{opacity:.6}
.st-acct .perr{margin:6px 0 0;color:var(--late-ink);font-size:calc(.875rem*var(--k))}
.st-accts .savebar,.st-people .savebar{position:static} /* never over the card's own Save sentence on a phone */
.st-acct .cardask{margin:0 0 8px}
.card.start .pkg-steps{margin:.4rem 0 .6rem;padding-left:1.3rem;line-height:1.5}
.month-home .mcatch{margin:8px 4px 0;font-weight:600;color:var(--muted)}
.month-home .mcatch .lnk{color:var(--tint);font-weight:600;min-height:44px}
/* The setup interview (chat/setup.js) and My rules (chat/rules.js) */
.card.setupq .ch+.tq{border-top:0;padding-top:4px}.card.setupq .tq-q{margin:.2rem 0 .2rem}.card.setupq .setup-why{margin:0 0 10px;color:var(--muted);line-height:1.45}
.card.setupq .setup-skip{margin:10px 0 0}.card.setupq .setup-skip .lnk{min-height:44px}
.card.setupq .pick-list .b[aria-pressed="true"]::before{content:'✓ '}
/* a draft set aside by going to another place (chat/places.js asideNote): a quiet card at the top of the new page */
.msg.asidenote{margin:0 0 14px}.asidenote .card{border-left:4px solid var(--accent)}.asidenote .card p{margin:0 0 8px}
/* Getting started (chat/firstrun.js): a progress bar, then four steps; only the step to do now is bright and has a button */
.frpage{max-width:640px}.frbar{height:8px;border-radius:99px;background:var(--fill);overflow:hidden;margin:4px 0 6px}.frbar span{display:block;height:100%;background:var(--tint);border-radius:99px;transition:width .3s ease}
.frcount{margin:0 0 14px;color:var(--muted);font-size:.92rem}
.frsteps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.frs{display:flex;gap:14px;align-items:flex-start;padding:14px 16px;border-radius:14px;border:1px solid var(--hair);background:var(--card)}
.frs .frn{flex:none;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-weight:700;background:var(--fill);color:var(--muted)}
.frs .frn svg{width:16px;height:16px}.frs.done .frn{background:var(--tint-soft);color:var(--tint)}.frs.now .frn{background:var(--accent);color:var(--on-accent)}
.frs .frb{min-width:0;flex:1}.frs h2{margin:3px 0 4px;font-size:1.02rem}.frs p{margin:0 0 6px;line-height:1.45}.frs .acts{margin-top:10px}
.frs.now{border-color:var(--tint);box-shadow:var(--soft)}.frs.later{background:transparent}.frs.later h2,.frs.later p{color:var(--muted)}.frs.later .how{display:none}
.frs.done p{color:var(--muted)}.frs .frsaid{margin:0;padding-left:1.1rem;color:var(--muted);line-height:1.45}.frs ul.setup{margin:6px 0 0}
.frskip{margin:14px 0 0}.frskip .lnk{min-height:44px}.frpage>.acts{margin-top:14px}
.setup-acc li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}.setup-acc .ask-b{display:flex;flex-wrap:wrap;gap:6px}
.rulesc .sub{margin:14px 0 4px;font-weight:600}
.rules{list-style:none;margin:0;padding:0}.rule{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 0}.rule+.rule{box-shadow:inset 0 1px 0 var(--hair)}
.rule .rule-t{flex:1 1 12rem;min-width:0;display:flex;flex-direction:column}.rule .rule-t b{font-weight:600;overflow-wrap:anywhere}.rule .rule-t small{color:var(--muted);font-size:calc(.8125rem*var(--k))}
.rule .ask-b{display:flex;gap:6px}.rule .pedit{flex-basis:100%}.rule.gone .rule-t small{color:var(--late-ink)}
/* Bookkeepers and helpers (chat/helpers.js): the invite link to copy, who did what */
.hlink{border:2px solid var(--edge);border-radius:10px;background:var(--canvas);color:var(--text);padding:8px 10px;min-height:44px;width:100%;font:inherit;font-size:.875rem;margin:8px 0}
.hlog li{font-size:.875rem}
.hans{margin:8px 0 0}
.itick svg{width:1em;height:1em;vertical-align:-.15em;color:var(--tint)}
/* A question Save waits for (ui.js cardAsk gate): pressing Save shows it, with one plain line */
.cardask .gatehint{margin:8px 0 0;font-weight:600;color:var(--out-ink)}
.cardask.gate.nudge{animation:gatenudge .7s ease-out}
@keyframes gatenudge{0%{box-shadow:0 0 0 0 var(--focus)}40%{box-shadow:0 0 0 4px var(--focus)}100%{box-shadow:0 0 0 0 transparent}}
@media (prefers-reduced-motion:reduce){.cardask.gate.nudge{animation:none;outline:2px solid var(--focus)}}
/* The package review's Save bar on a phone: two Save buttons side by side, Don't save a small line under them, so the bar
   stays under about a fifth of the screen and the rows show above it (ease-of-use audit, H9) */
@media (max-width:600px){
 .pkgr .savebar{flex-wrap:wrap;gap:6px 8px;padding:8px 14px 8px}
 .pkgr .savebar .b{flex:1 1 40%;min-height:44px;white-space:normal;line-height:1.2;font-size:.9375rem;padding:6px 10px}
 .pkgr .savebar .b[data-act="pkgDrop"]{flex:1 1 100%;order:3;min-height:32px;padding:2px 8px;font-size:.875rem}
}
/* The not-understood card's buttons (counts.js notCaught) */
.card.caught .pick-list{margin:10px 0 6px}
.pkg-wrong.nudge{animation:gatenudge .7s ease-out}
@media (prefers-reduced-motion:reduce){.pkg-wrong.nudge{animation:none;outline:2px solid var(--focus)}}
/* A bookkeeper's invite link opened before they sign in (chat/connection.js): only the invite card, no practice books */
.joining #sideacts,.joining #quick,.joining #places .place:not([data-place="today"]),.joining #tabs,.joining #qbcard,.joining #reset,.joining #qbpill{display:none!important}
