/* css/tc-full-file.css -- the full file (2026-11-26).
   See js/transaction-coordinator/full-file.js. One column, four segments,
   one labeled action per row. Late is a burnt sienna label, never a fill. */

.tc-ff{--tc-ff-late:#9C3A1A;--tc-ff-late-bg:#F6E3DA;--tc-ff-card:#fff;padding-bottom:40px;max-width:1200px}
.tc-ff-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.tc-ff-head .tc-record-head-actions{flex-wrap:nowrap}
.tc-ff-title{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:14px;flex-wrap:wrap}
.tc-ff-title h2{margin:0;font-size:24px;font-weight:850;letter-spacing:-.02em;color:var(--ink)}
.tc-ff-title p{margin:4px 0 0;font-size:14.5px;color:var(--slate)}
.tc-ff-title-actions{display:flex;gap:8px;flex-wrap:wrap}

.tc-ff-seg{display:flex;gap:22px;border-bottom:1px solid var(--border);margin-bottom:16px}
.tc-ff-seg button{border:0;background:none;padding:10px 0 11px;font:inherit;font-size:15px;font-weight:600;color:var(--slate);border-bottom:3px solid transparent;cursor:pointer;margin-bottom:-1px}
.tc-ff-seg button span{display:inline-block;min-width:18px;padding:1px 6px;margin-left:4px;border-radius:999px;background:var(--light-gray);font-size:12px;font-weight:800;color:var(--slate)}
.tc-ff-seg button.on{color:var(--ink);font-weight:800;border-bottom-color:var(--coral)}
.tc-ff-seg button.on span{background:var(--coral-50);color:var(--coral)}

.tc-ff-body{display:flex;flex-direction:column;gap:14px}
.tc-ff-group{background:var(--tc-ff-card);border:1px solid var(--border);border-radius:14px;overflow:visible}
.tc-ff-group-head{display:flex;align-items:center;gap:8px;padding:12px 16px}
.tc-ff-group-head h4{margin:0;font-size:15px;font-weight:800;color:var(--ink)}
.tc-ff-needs .tc-ff-group-head h4{color:var(--coral)}
.tc-ff-done .tc-ff-group-head h4{color:var(--teal-700)}
.tc-ff-count{font-size:13px;font-weight:700;color:var(--slate)}
.tc-ff-hint{font-size:13px;color:var(--slate)}
.tc-ff-empty{padding:0 16px 14px;margin:0}

.tc-ff-row,.tc-ff-date-row{display:flex;align-items:center;gap:12px;padding:11px 16px;border-top:1px solid var(--light-gray)}
.tc-ff-icon{flex:none;width:30px;height:30px;border-radius:8px;display:grid;place-items:center;background:var(--light-gray);color:var(--slate);font-size:16px}
.tc-ff-icon.attached{background:var(--teal-100);color:var(--teal-700)}
.tc-ff-main{flex:1;min-width:0}
.tc-ff-name{display:block;max-width:100%;border:0;background:none;padding:0;font:inherit;font-size:14.5px;font-weight:650;color:var(--ink);text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
button.tc-ff-name{cursor:pointer}
button.tc-ff-name:hover{color:var(--coral);text-decoration:underline;text-underline-offset:2px}
.tc-ff-sub{margin-top:2px;font-size:13px;color:var(--slate);line-height:1.4}
.tc-ff-actions{flex:none;display:flex;align-items:center;gap:6px}
.tc-ff-btn{height:32px;padding:0 12px;font-size:13px;white-space:nowrap}
.tc-ff .lw-primary-btn:hover{transform:none}

/* Dates */
.tc-ff-date-day{flex:none;width:96px;font-size:13.5px;font-weight:700;color:var(--ink)}
.tc-ff-date-row.done .tc-ff-date-day,.tc-ff-date-row.done .tc-ff-plain{color:var(--slate)}
.tc-ff-date-row.late .tc-ff-sub{color:var(--tc-ff-late);font-weight:700}
.tc-ff-plain{cursor:default}
.tc-ff-date-edit{display:none;align-items:center;gap:8px;margin-top:8px;flex-wrap:wrap}
.tc-ff-date-row.editing .tc-ff-date-edit{display:flex}
.tc-ff-date-row .tc-nbp-callout{margin-top:10px}

/* Tasks: late is a label, not a pink card */
.tc-ff .tc-task-list{padding:0 12px 12px}
.tc-ff .tc-task.overdue{background:var(--tc-ff-card);border-color:var(--border)}
.tc-ff .tc-task.overdue .tc-task-due{color:var(--tc-ff-late);font-weight:700}

/* Reports keep their own card */
.tc-ff-body > #tc-reports-section{margin:0}

/* Phones */
html.ascent-phone .tc-ff{padding:0 14px 24px}
html.ascent-phone .tc-ff-row,html.ascent-phone .tc-ff-date-row{flex-wrap:wrap}
html.ascent-phone .tc-ff-actions{width:100%;justify-content:flex-end}
html.ascent-phone .tc-ff-date-day{width:auto}
html.ascent-phone .tc-ff-seg{gap:16px;overflow-x:auto}
html.ascent-phone.ascent-night .tc-ff{--tc-ff-card:var(--card-white,#1C1C1E);--tc-ff-late:#E6906E;--tc-ff-late-bg:#3A2219}
html.ascent-phone.ascent-night .tc-ff-row,html.ascent-phone.ascent-night .tc-ff-date-row{border-top-color:rgba(255,255,255,.08)}
html.ascent-phone.ascent-night .tc-ff-icon,html.ascent-phone.ascent-night .tc-ff-seg button span{background:rgba(255,255,255,.08)}
.tc-ff-date-row{align-items:flex-start}
.tc-ff-date-row .tc-ff-date-day,.tc-ff-date-row .tc-ff-actions{padding-top:2px}

/* Preview pane (Idea 4) */
.tc-ff.has-preview{max-width:none}
.tc-ff-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(380px,44%);gap:16px;align-items:start}
.tc-ff-pv{position:sticky;top:12px;display:flex;flex-direction:column;gap:10px;padding:14px;background:var(--tc-ff-card);border:1px solid var(--border);border-radius:14px;max-height:calc(100vh - 24px)}
.tc-ff-pv-head{display:flex;align-items:center;gap:10px}
.tc-ff-pv-head b{flex:1;min-width:0;font-size:15.5px;font-weight:800;color:var(--ink)}
.tc-ff-pv-x{flex:none;width:30px;height:30px;border:0;border-radius:8px;background:none;color:var(--slate);font-size:18px;cursor:pointer}
.tc-ff-pv-x:hover{background:var(--light-gray);color:var(--ink)}
.tc-ff-pv-acts{display:flex;gap:6px;flex-wrap:wrap}
.tc-ff-pv-frame{width:100%;height:60vh;min-height:360px;border:1px solid var(--border);border-radius:10px;background:var(--off-white)}
.tc-ff-pv-msg{display:grid;place-items:center;min-height:240px;border:1px dashed var(--border);border-radius:10px;font-size:14px;color:var(--slate);text-align:center;padding:16px}
.tc-ff-pv-hist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.tc-ff-pv-hist li{display:flex;align-items:center;gap:10px;font-size:13.5px;color:var(--ink)}
.tc-ff-pv-hist li span{width:9px;height:9px;border-radius:50%;background:#D5D8DD;flex:none}
.tc-ff-pv-hist li.done span{background:var(--teal-500)}
.tc-ff-pv-hist time{margin-left:auto;color:var(--slate);font-size:12.5px}
.tc-ff-row.previewing{background:#FFF8F5}
/* Document source tags (2026-11-26): every line names where it comes from.
   Filled = in hand; outlined/dashed = not in yet. */
.tc-ff-nameline{display:flex;align-items:center;gap:8px;min-width:0}
.tc-ff-nameline .tc-ff-name{flex:0 1 auto;min-width:0}
.tc-ff-src{flex:none;display:inline-flex;align-items:center;gap:4px;height:20px;padding:0 7px;border-radius:999px;font-size:11.5px;font-weight:700;line-height:1;white-space:nowrap;border:1px solid transparent}
.tc-ff-src i{font-size:13px}
.tc-ff-src.lw{background:var(--ink);color:#fff;border-color:var(--ink)}
.tc-ff-src.lw-todo{background:transparent;color:var(--ink);border-color:var(--ink)}
.tc-ff-src.out{background:#EDE6DD;color:#5A4633;border-color:#EDE6DD}
.tc-ff-src.out-todo{background:transparent;color:#5A4633;border:1px dashed #B9A794}
.tc-ff-src.up{background:transparent;color:var(--slate);border-color:var(--border)}
.tc-ff-pv-head .tc-ff-src{margin-left:8px}
/* Source tiles above the checklist */
.tc-ff-srckey{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 16px}
.tc-ff-srctile{display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid var(--border);border-radius:12px;background:#fff}
.tc-ff-srctile-icon{flex:none;width:38px;height:38px;border-radius:10px;display:grid;place-items:center;font-size:20px}
.tc-ff-srctile.lw .tc-ff-srctile-icon{background:var(--ink);color:#fff}
.tc-ff-srctile.out .tc-ff-srctile-icon{background:#EDE6DD;color:#5A4633}
.tc-ff-srctile>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.tc-ff-srctile strong{font-size:14.5px;font-weight:800;color:var(--ink)}
.tc-ff-srctile>div>span{font-size:12.5px;color:var(--slate)}
.tc-ff-srctile>b{flex:none;font-size:24px;font-weight:800;color:var(--ink);line-height:1}
.tc-ff-srctile>b small{font-size:13px;font-weight:700;color:var(--slate)}
html.ascent-phone .tc-ff-srckey{grid-template-columns:minmax(0,1fr)}
html.ascent-phone.ascent-night .tc-ff-srctile{background:transparent}
html.ascent-phone.ascent-night .tc-ff-src.lw,html.ascent-phone.ascent-night .tc-ff-srctile.lw .tc-ff-srctile-icon{background:#F2EEE8;color:#1B1B1F;border-color:#F2EEE8}
html.ascent-phone.ascent-night .tc-ff-src.lw-todo{color:#F2EEE8;border-color:#F2EEE8}
