/* The client's call, the document list and the eight stages (loaded after app.css by index.html and client.html). */
/* The client's call with the CPA (client.js callCard, bookDialog) */
.cl-call .lbl { font-size: 13px; font-weight: 700; color: var(--violet); margin-top: 4px; }
.cl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cl-chips .chip { flex-direction: column; align-items: center; justify-content: center; gap: 0; min-width: 76px; text-align: center; }
.cl-chips .chip small { font-size: 12px; font-weight: 500; color: var(--muted); }
.cl-chips .chip[disabled] { opacity: .35; cursor: default; text-decoration: line-through; }
.cl-call textarea.input { min-height: 72px; resize: vertical; font: inherit; }
/* The document list on her Files (files.js docList) and the client's things to send (client.js) */
.doclist .dhead { font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); background: none; border: none; padding: 6px 0; min-height: 36px; text-align: left; cursor: pointer; width: 100%; }
.doclist .dbody, .doclist .dsec { display: flex; flex-direction: column; gap: 4px; padding-left: 12px; }
.ditem { display: grid; grid-template-columns: 34px 1fr auto; gap: 6px; align-items: baseline; font-size: 13px; padding: 4px 0; border-bottom: 1px solid var(--line); }
.ditem .dn { color: var(--muted); font-variant-numeric: tabular-nums; }
.ditem .ds { font-weight: 700; color: var(--muted); white-space: nowrap; }
.ditem.in .ds { color: var(--ok, #1a7f4b); }
.ditem .why { grid-column: 2 / 4; color: var(--muted); font-size: 12px; }
.ditem .dfile { grid-column: 2 / 4; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.dfile { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; }
/* the checklist's rows (newsite/checklist_view.py): the document and its state on one line, then why, the upload, a mark */
.ditem.chk { grid-template-columns: 1fr auto; }
.ditem.chk .dl { grid-column: 1; }
.ditem.chk .dpart, .ditem.chk .tlink { grid-column: 1 / 3; justify-self: start; text-align: left; }
.ditem.chk .dpart.to-answer { color: var(--ink); }
.dmove { font: inherit; font-size: 12px; max-width: 220px; }
.dq { display: flex; flex-direction: column; gap: 6px; font-size: 13px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.cl-need { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.cl-need .nm { flex: 1; font-size: 14px; font-weight: 500; overflow-wrap: anywhere; min-width: 0; }
.cl-need .ok { color: var(--ok, #1a7f4b); font-weight: 700; font-size: 13px; white-space: nowrap; }
.cl-needs .lbl { font-size: 13px; font-weight: 700; color: var(--violet); margin-top: 6px; }
/* The eight stages a person can tap (js/stages.js) */
button.bar8 { border: none; background: none; padding: 4px 0; cursor: pointer; width: 100%; }
button.stageline { font: inherit; font-size: 13px; color: var(--muted); background: none; border: none; padding: 0; text-align: left; cursor: pointer; }
button.stageline .more { color: var(--violet); font-weight: 700; }
.stg { border-bottom: 1.5px solid var(--line); }
.stg-h, .stp-h { font: inherit; width: 100%; display: flex; align-items: center; gap: 10px; background: none; border: none; padding: 10px 2px; cursor: pointer; text-align: left; color: var(--text); }
.stg-n { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex: none; }
.stg.done .stg-n { background: var(--ink); color: var(--card); border-color: var(--ink); }
.stg.now .stg-n { background: var(--yellow); border-color: var(--ink); }
.stg-name { flex: 1; font-weight: 800; color: var(--ink); font-size: 15px; }
.stg-st { font-size: 12px; font-weight: 700; color: var(--muted); }
.stg.now .stg-st { color: var(--ink); }
.stg-b { display: flex; flex-direction: column; gap: 6px; padding: 0 2px 12px 34px; }
.stg-w { display: flex; flex-direction: column; gap: 2px; }
.stg-w .lbl { font-size: 12px; font-weight: 700; color: var(--violet); }
.stp { border-top: 1px solid var(--line); }
.stp-h { padding: 8px 0; gap: 8px; }
.stp-name { flex: 1; font-size: 14px; color: var(--ink); }
.stp.done .stp-name { color: var(--muted); }
.stp-st { color: var(--green, #1a7f4b); font-weight: 800; }
.who { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; border: 1.5px solid var(--ink); white-space: nowrap; }
.who-agent, .who-fintelli { background: var(--lilac); }
.who-you, .who-yourcpa { background: var(--card); }
.who-client { background: var(--yellow); }
.stp-b { display: flex; flex-direction: column; gap: 4px; padding: 0 0 10px 4px; }
.stp-r { display: grid; grid-template-columns: 130px 1fr; gap: 8px; font-size: 13px; }
.stp-r .k { color: var(--muted); }
.cl-stages { display: flex; flex-direction: column; background: var(--card); border: 2px solid var(--line); border-radius: 12px; padding: 4px 12px; }
.cl-track-btn { font: inherit; background: none; border: none; padding: 0; cursor: pointer; width: 100%; text-align: left; }
@media (max-width: 480px) { .stp-r { grid-template-columns: 1fr; gap: 0; } .stg-b { padding-left: 8px; } }
.dpart { display: block; grid-column: 2 / 4; font-size: 12px; color: var(--muted); font-weight: 400; }
.dpart.added { color: var(--ink); }
.dpart.left-out { text-decoration: line-through; }
.tap.named { background: var(--yellow); }
.tap.on { background: var(--yellow); }   /* the picked way of a two-way fact (Your profile, the tax-year rule) */
.cl-track button.stage { font: inherit; background: none; border: none; padding: 0; cursor: pointer; }
.cl-now-stage { display: none; font-size: 13px; font-weight: 700; color: var(--ink); margin-top: 6px; }
@media (max-width: 560px) {
  .cl-track .stage { width: 30px; flex: 0 0 30px; }
  .cl-track .stage .sl { display: none; }
  .cl-track .circle { width: 28px; height: 28px; font-size: 12px; }
  .cl-now-stage { display: block; }
}
.wf-md { max-height: 420px; overflow: auto; white-space: pre-wrap; font-size: 12px; }
/* The card waiting on her, in the dock above the input (case.js waitCard): on the first screen at every width */
.waitcard { flex-basis: 100%; background: var(--card); border: 3px solid var(--ink); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.waitcard .wc-h { display: flex; align-items: center; gap: 8px; }
.waitcard .lbl { font-size: 13px; font-weight: 700; color: var(--violet); flex: 1; min-width: 0; overflow-wrap: anywhere; }
.waitcard .wc-n { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.waitcard .wc-q { font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--ink); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.waitcard .wc-q.more { display: block; max-height: 40vh; overflow: auto; }
.waitcard .wc-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ctxpill.bound { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 480px) { .waitcard .wc-q { -webkit-line-clamp: 3; font-size: 14px; } }

/* The boxes a stopped run still had staged, not saved (js/msg.js staged; core rc10 staged_named) */
.staged { display: flex; flex-direction: column; gap: 2px; margin: 6px 0 2px; }
.staged .lbl { font-size: 11px; color: var(--muted); text-transform: none; }

/* A box a letter paragraph names that is still empty (js/files.js): the blank with its label and marks */
.pblank { display: inline-block; margin: 2px 6px 4px 0; padding: 1px 6px; border: 1px dashed var(--line); border-radius: 6px; font-size: 12px; color: var(--muted); }

/* A call the client booked from the phone link (js/msg.js call) */
.m-call { display: flex; flex-direction: column; gap: 4px; align-self: flex-start; max-width: 520px; }
.callcard { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1.5px solid var(--ink); border-radius: 10px; background: var(--card); }
.callcard .nm { font-weight: 700; color: var(--ink); }
.cal-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 14px; }
.cal-links .tlink.ics { font-size: 12px; font-weight: 400; color: var(--muted); }

/* The forms overview at the top of her client page (js/caseforms.js): one line per form, its why at a second tap */
.caseforms { flex: 0 0 auto; padding: 8px max(16px, 2.5vw) 6px; border-bottom: 2px solid var(--line); display: flex; flex-direction: column; gap: 4px; max-height: 42vh; overflow-y: auto; }
.caseforms .fo-t { font-size: 12px; font-weight: 800; color: var(--violet); }
.caseforms .fo-sub { font-weight: 400; color: var(--muted); }
.caseforms .fo-l { display: flex; flex-direction: column; }
.fline { border-top: 1px solid var(--line); }
.fline:first-child { border-top: none; }
.fline .fl-h { font: inherit; background: none; border: none; width: 100%; display: flex; align-items: baseline; gap: 10px; padding: 5px 0; cursor: pointer; text-align: left; min-width: 0; }
.fline .fl-n { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fline .fl-s { flex: 0 1 auto; min-width: 0; max-width: 62%; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fline .fl-st { color: var(--ink); }
.fline .fl-st.ok { color: var(--green, #1a7f4b); }
.fline .fl-st.you, .fline .fl-st.new { background: var(--yellow); padding: 0 5px; border-radius: 6px; }
.fline .fl-mk { color: var(--violet); font-weight: 700; }
.fline .fl-b { display: flex; flex-direction: column; gap: 4px; padding: 0 0 8px; font-size: 13px; color: var(--ink); align-items: flex-start; }
.fline .fl-b .fl-k { font-size: 12px; color: var(--muted); }
.fline.fdocs .fl-n, .fline.fmore .fl-n { font-weight: 700; color: var(--violet); }
@media (max-width: 480px) { .caseforms { max-height: 34vh; } }

/* The planner's settled rows on her forms card (js/forms.js): an asked row with its two answers, the left-off list */
.m-forms .frm.ask .f { color: var(--violet); }
.m-forms .frm.off .f { color: var(--muted); font-weight: 700; }
.m-forms .offl { display: flex; flex-direction: column; }
/* The approval waiting on her, in the dock above the input (js/approvedock.js): its title, the lines to look at, and
   Approve on the first screen at every width; a long list scrolls inside, under the title, so Approve stays in view. */
.approvedock { box-shadow: 6px 6px 0 var(--yellow); gap: 8px; }
.approvedock .ttl { font-size: 17px; font-weight: 800; line-height: 1.3; color: var(--ink); overflow-wrap: anywhere; }
.approvedock .ad-lines { display: flex; flex-direction: column; gap: 4px; max-height: 22vh; overflow: auto; }
.approvedock .ad-lines .lbl { flex: none; }
.approvedock .ad-more { align-self: stretch; text-align: left; font: inherit; font-size: 14px; font-weight: 700; color: var(--violet); background: none; border: none; border-top: 1.5px solid var(--line); padding: 8px 2px 0; min-height: 36px; cursor: pointer; }
.ad-back { align-self: flex-start; }
/* the approval's version line, the core's own sentence (newsite/send_since.py): what changed since the version last sent, a
   quiet line under the title, beside the one strong button */
.approvedock .since, .m-approve .since { font-size: 14px; font-weight: 400; color: var(--muted); line-height: 1.35; overflow-wrap: anywhere; }
/* why a document row waits (newsite/row_waits.py), one quiet line under the row */
.ditem .dpart.waits { color: var(--muted); }
@media (max-width: 480px) { .approvedock .ttl { font-size: 15px; } .approvedock .ad-lines { max-height: 18vh; } }

/* ---- Files and Documents, Chat and Files (the firm's call notes of 2026-11-19: the lists in tabs of their own) ---- */
.ptabs { display: flex; gap: 8px; flex-wrap: wrap; }
.m-chase .quote { margin: 0; padding-left: 12px; border-left: 3px solid var(--line); }
.m-chase .quote.clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.m-chase .taps { display: flex; gap: 0 18px; flex-wrap: wrap; }
.cl-tabs { display: flex; gap: 8px; padding: 10px 16px 0; }
.cl-tabs:empty { display: none; }
.cl-panes { flex: 1; min-height: 0; display: flex; }
.cl-panes > .cl-body { flex: 1; min-width: 0; }
.cl-body.off { display: none; }
.cl-fileline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 15px; color: var(--text); }
@media (min-width: 1100px) {
  .cl.two { max-width: 1080px; }
  .cl.two .cl-tabs { display: none; }
  .cl.two .cl-body.off { display: flex; }
  .cl.two .cl-files { flex: 0 0 440px; border-left: 3px solid var(--ink); background: var(--card); }
  .cl.two .cl-fileline { display: none; }
}

/* ---- one focal point per screen (the firm's call notes of 2026-11-19: less bold type; Tobin:
   much bold type and dense information): the page's title and its one solid button keep the weight; names and titles read at
   600, the rest at 500 or the body's own ---- */
.case-title h1, .cl h1, .h1, .headline h1, .mc-head h1 { font-weight: 700; }
.btn.solid, .big-btn.solid { font-weight: 700; }
.btn, .big-btn, .m-approve .ttl, .m-forms .ttl, .m-firm .ttl, .m-run .run-ttl, .approvedock .ttl, .p2 .ttl, .docs .ttl,
.narrow-files .ttl, .h2, .qcard .q, .picker .head, .caseforms .fo-t, .grp .gh, .stg-name, .rgroup, .crow .top, .thr.on,
.todo .tchip, .brief .g .task, .err, .count, .circle, .dot { font-weight: 600; }
.m-card .q, .waitcard .wc-q, .tlink, .frow3 .nm, .frow3 .open, .fline .fl-n, .fline .fl-mk, .fline.fdocs .fl-n,
.fline.fmore .fl-n, .ditem .ds, .doclist .dhead, .who-tag, .m-card .lbl, .rec, .ok, .tag, .pill, .tap, .vers, .pdfl,
.fact .k, .fold-row, .fold-row .n, .srow .n, .sec, .art .nm, .art .go, .dcard .nm, .agent .nm, .frm .f, .opt.on, .opt .bx,
.fromdoc .q, .fromdoc .a, .arow .qq, .arow .aa, .stg-n, .stg-st, .stp-st, .who, .mrow, .p2 .lead2, .grp .gh .ln,
.grp .gh .n, .rw.gap .k, .newt, .callq .lbl, .cl-needs .lbl, .cl-need .ok, .cl-call .lbl, .callcard .nm, .waitcard .lbl,
.waitcard .wc-n, .cl-now-stage, .track-now b, .step.now .t, .step.live .stime, .m-card .qlist b, .rbtn .n, .rgroup .n,
.rlabel, .form label, .picker .nm, .fold-mini, .row .who, .band, .vdoc, .frow .k, .m-approve.later .ttl, .stage .sl,
.cl-track .sl, .fact .src.new, .ctxpill, .pop .hd, .res .nm, .me.prof .psub, .brief .g .task .n, .todo .tchip.quiet,
.drop .all, .cpill, .thr, button.stageline .more, .approvedock .ad-more, .m-forms .frm.off .f, .invite-why,
.cl-now b, .fline .fl-st, button.stageline b { font-weight: 500; }
.m-card .q { font-size: 16px; }
.qcard .qback { align-self: flex-start; min-height: 30px; font-size: 14px; }
/* the agent's replies and everyone's messages read at the body's weight (FinTelli worker, 2026-11-19: "the
   conversation renders reply text at normal weight") */
.m-agent, .bubble, .bubble-you, .m-agent b, .m-agent strong { font-weight: 400; }
