/* pure-txn-ui.css - styles for the transaction UI components (pass 22, Mike 9/29/26).
 * BRAND TOKENS ONLY. Every color below is an existing PURE token (pure-shell-tokens.css / pure-ui.css) or a color-mix() tint of one:
 * navy #172E55 structure, gold #DCCAAF the single accent, green #117F39 confirm, red #ED1C24 warning (small red text uses the AA ink #CC171E),
 * text #000 / #404040 / #8E8E8E, hairline #E3DDD2, cream #F8F4EF. Open Sans only. One shadow: 5px 5px 10px rgba(0,0,0,.10).
 * Status color lives in pills, light chips and 3px accent bars, never in large fields. Cards get a top accent bar, never a left-border stripe.
 * Light and dark: the tokens below flip under [data-theme="dark"] and under prefers-color-scheme when the page has not chosen light.
 */
.tx, .tx-overlay, .tx-toasts, .tx-veil {
  --tx-navy: var(--pure-navy, #172E55); --tx-gold: var(--pure-gold, #DCCAAF); --tx-green: var(--pure-good, #117F39); --tx-red: var(--pure-problem, #CC171E);
  --tx-red-ink: var(--pure-problem, #CC171E); --tx-amber: var(--pure-attention, #9A6A12); --tx-blue: var(--pure-info, #2D5A9E);   /* 10/12/2026 E2: the four status colors are the shared tokens */ --tx-purp: #5B4B8A;
  --tx-bg: var(--pure-cream, #F8F4EF); --tx-panel: #fff; --tx-ink: #000; --tx-ink2: #404040; --tx-ink3: #8E8E8E;
  --tx-line: var(--pure-hair, #E3DDD2); --tx-border: var(--pure-border, #BFBFBF); --tx-primary: var(--tx-navy); --tx-on-primary: #fff; --tx-accent-ink: #172E55;
  --tx-shadow: var(--pure-shadow, 5px 5px 10px rgba(0,0,0,.10)); --tx-ease: var(--pure-ease, cubic-bezier(.2,.7,.2,1));
  font-family: var(--pure-font, "Open Sans", system-ui, sans-serif); color: var(--tx-ink); font-size: 14px; line-height: 19px;
  -webkit-text-size-adjust: 100%;
}
[data-theme="dark"] .tx, [data-theme="dark"].tx, [data-theme="dark"] .tx-overlay, [data-theme="dark"] .tx-toasts, [data-theme="dark"] .tx-veil {
  --tx-bg: #0E1C33; --tx-panel: #16233C; --tx-ink: #EEF2F8; --tx-ink2: #C3CCDD; --tx-ink3: #9AA6BD; --tx-line: #26344F; --tx-border: #3A4A69;
  --tx-primary: var(--pure-gold, #DCCAAF); --tx-on-primary: #172E55; --tx-red-ink: #FF6B71; --tx-amber: #E0B25A; --tx-blue: #7FB0F0; --tx-purp: #B7A7E6; --tx-green: #3FBF72; --tx-accent-ink: #DCCAAF;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tx, :root:not([data-theme="light"]) .tx-overlay, :root:not([data-theme="light"]) .tx-toasts, :root:not([data-theme="light"]) .tx-veil {
    --tx-bg: #0E1C33; --tx-panel: #16233C; --tx-ink: #EEF2F8; --tx-ink2: #C3CCDD; --tx-ink3: #9AA6BD; --tx-line: #26344F; --tx-border: #3A4A69;
    --tx-primary: var(--pure-gold, #DCCAAF); --tx-on-primary: #172E55; --tx-red-ink: #FF6B71; --tx-amber: #E0B25A; --tx-blue: #7FB0F0; --tx-purp: #B7A7E6; --tx-green: #3FBF72; --tx-accent-ink: #DCCAAF;
  }
}
.tx *, .tx *::before, .tx *::after, .tx-overlay *, .tx-toasts *, .tx-veil * { box-sizing: border-box; }
.tx a, .tx-overlay a { color: var(--tx-accent-ink); text-decoration: underline; }
.tx a:hover, .tx-overlay a:hover { color: var(--tx-ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tx :focus-visible, .tx-overlay :focus-visible, .tx-toasts :focus-visible { outline: 2px solid var(--tx-primary); outline-offset: 2px; border-radius: 5px; }
.tx-ic { flex: 0 0 auto; vertical-align: -3px; }

/* ---- type ---- */
.tx-eyebrow { font-size: 12px; line-height: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--tx-ink2); }
.tx-h2 { margin: 2px 0 4px; font-size: 25px; line-height: 34px; font-weight: 600; letter-spacing: -.005em; }
.tx-h3 { margin: 0; font-size: 18px; line-height: 25px; font-weight: 600; }
.tx-h4 { margin: 0 0 8px; font-size: 14px; line-height: 19px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.tx-muted { color: var(--tx-ink2); font-size: 12px; line-height: 16px; }
.tx-num { font-variant-numeric: tabular-nums; }
.tx-lbl { display: block; font-size: 12px; line-height: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--tx-ink2); margin: 0 0 4px; }
.tx-t-err { color: var(--tx-red-ink); } .tx-t-ok { color: var(--tx-green); } .tx-t-warn { color: var(--tx-amber); } .tx-t-info { color: var(--tx-ink2); }
.tx-link { background: none; border: 0; padding: 0; font: inherit; font-size: 12px; color: var(--tx-accent-ink); text-decoration: underline; cursor: pointer; }
.tx-list { margin: 8px 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.tx-list li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* ---- card with a 3px accent bar ---- */
.tx-card { position: relative; background: var(--tx-panel); border: 1px solid var(--tx-line); border-radius: 16px; padding: 20px 20px 18px; overflow: hidden; margin: 0 0 16px; }
.tx-bar { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--tx-gold); }
.tx-bar-green { background: var(--tx-green); } .tx-bar-red { background: var(--tx-red); } .tx-bar-amber { background: var(--tx-amber); } .tx-bar-navy { background: var(--tx-navy); } .tx-bar-gold { background: var(--tx-gold); }
.tx-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 12px; }
.tx-head-r { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tx-sec { margin: 16px 0 0; }
.tx-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.tx-grid2 { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; align-items: start; }
.tx-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .tx-row-between { justify-content: space-between; } .tx-row-end { justify-content: space-between; margin-top: 8px; }
.tx-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--tx-line); }
.tx-foot-col { display: grid; gap: 10px; align-items: stretch; }
.tx-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tx-count { display: inline-block; min-width: 20px; padding: 1px 7px; border-radius: 360px; font-size: 12px; line-height: 16px; font-weight: 600; text-align: center; background: color-mix(in srgb, var(--tx-navy) 10%, var(--tx-panel)); color: var(--tx-ink); }
[data-theme="dark"] .tx-count { background: color-mix(in srgb, var(--tx-gold) 18%, var(--tx-panel)); }

/* ---- buttons and inputs ---- */
.tx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 16px; border-radius: 8px; border: 1px solid transparent; font: 600 13px/16px var(--pure-font, "Open Sans", sans-serif);
  cursor: pointer; text-decoration: none; transition: background .16s var(--tx-ease), border-color .16s var(--tx-ease), color .16s var(--tx-ease); white-space: nowrap; }
.tx-btn-primary, .tx a.tx-btn-primary { background: var(--tx-primary); color: var(--tx-on-primary); text-decoration: none; }
.tx-btn-primary:hover { background: color-mix(in srgb, var(--tx-primary) 88%, #000); color: var(--tx-on-primary); }
.tx-btn-ghost { background: transparent; color: var(--tx-ink); border-color: var(--tx-border); } .tx-btn-ghost:hover { border-color: var(--tx-primary); background: color-mix(in srgb, var(--tx-gold) 22%, transparent); }
.tx-btn-gold { background: var(--tx-gold); color: #172E55; } .tx-btn-gold:hover { background: color-mix(in srgb, var(--tx-gold) 85%, #000); }
.tx-btn-danger { background: var(--tx-red); color: #fff; } .tx-btn-danger:hover { background: var(--tx-red-ink); }
.tx-btn-sm { min-height: 28px; padding: 0 10px; font-size: 12px; border-radius: 5px; }
.tx-btn:disabled, .tx-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.tx-iconbtn { display: inline-grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 360px; background: transparent; color: var(--tx-ink2); cursor: pointer; }
.tx-iconbtn:hover { background: color-mix(in srgb, var(--tx-gold) 30%, transparent); color: var(--tx-ink); }
.tx-in { width: 100%; min-height: 36px; padding: 7px 10px; border: 1px solid var(--tx-border); border-radius: 8px; background: var(--tx-panel); color: var(--tx-ink); font: 400 14px/19px var(--pure-font, "Open Sans", sans-serif); }
.tx-in:focus { outline: 2px solid var(--tx-primary); outline-offset: 0; border-color: var(--tx-primary); }
textarea.tx-in { resize: vertical; min-height: 60px; }
.tx-in-sm { min-height: 28px; padding: 3px 8px; font-size: 12px; border-radius: 5px; } .tx-in-inline { min-height: 30px; width: 190px; max-width: 60vw; }
.tx-editrow { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tx-seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--tx-border); border-radius: 360px; padding: 2px; gap: 2px; margin: 0 0 12px; }
.tx-head-r .tx-seg { margin: 0; }
.tx-seg button { border: 0; background: transparent; color: var(--tx-ink); padding: 5px 12px; border-radius: 360px; font: 600 12px/16px var(--pure-font, "Open Sans", sans-serif); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.tx-seg button.on { background: var(--tx-primary); color: var(--tx-on-primary); } .tx-seg button.on .tx-count { background: color-mix(in srgb, var(--tx-on-primary) 22%, transparent); color: var(--tx-on-primary); }
.tx-tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border: 1px solid var(--tx-border); border-radius: 360px; background: transparent; color: var(--tx-ink); font: 600 12px/16px var(--pure-font, "Open Sans", sans-serif); cursor: pointer; }
.tx-tag:hover, .tx-tag.on { border-color: var(--tx-primary); background: color-mix(in srgb, var(--tx-gold) 28%, transparent); }

/* ---- pills and chips: status is small, tinted, never a field ---- */
.tx-pill { display: inline-flex; align-items: center; gap: 4px; padding: 1px 9px; border-radius: 360px; font-size: 12px; line-height: 16px; font-weight: 600; white-space: nowrap; background: color-mix(in srgb, var(--tx-navy) 10%, var(--tx-panel)); color: var(--tx-ink); }
[data-theme="dark"] .tx-pill { background: color-mix(in srgb, var(--tx-ink) 12%, var(--tx-panel)); }
.tx-pill-done, .tx-pill-green { background: color-mix(in srgb, var(--tx-green) 14%, var(--tx-panel)); color: var(--tx-green); }
.tx-pill-overdue, .tx-pill-red { background: color-mix(in srgb, var(--tx-red) 12%, var(--tx-panel)); color: var(--tx-red-ink); }
.tx-pill-soon, .tx-pill-amber { background: color-mix(in srgb, var(--tx-amber) 16%, var(--tx-panel)); color: var(--tx-amber); }
.tx-pill-gold { background: color-mix(in srgb, var(--tx-gold) 55%, var(--tx-panel)); color: #172E55; }
.tx-pill-navy { background: color-mix(in srgb, var(--tx-navy) 12%, var(--tx-panel)); color: var(--tx-accent-ink); }
[data-theme="dark"] .tx-pill-navy { background: color-mix(in srgb, var(--tx-gold) 20%, var(--tx-panel)); }
.tx-pill-upcoming, .tx-pill-na { background: color-mix(in srgb, var(--tx-ink3) 20%, var(--tx-panel)); color: var(--tx-ink2); }
.tx-sample { display: inline-block; padding: 1px 9px; border-radius: 360px; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; background: color-mix(in srgb, var(--tx-amber) 16%, var(--tx-panel)); color: var(--tx-amber); cursor: help; }
.tx-st-done { --st: var(--tx-green); } .tx-st-overdue { --st: var(--tx-red); } .tx-st-soon { --st: var(--tx-amber); } .tx-st-upcoming { --st: var(--tx-navy); } .tx-st-na { --st: var(--tx-ink3); }
[data-theme="dark"] .tx-st-upcoming { --st: var(--tx-gold); }
.tx-callout { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 8px; margin: 10px 0; font-size: 13px; line-height: 18px; background: color-mix(in srgb, var(--tx-navy) 7%, var(--tx-panel)); border: 1px solid var(--tx-line); }
.tx-callout .tx-ic { margin-top: 1px; }
.tx-callout-red { background: color-mix(in srgb, var(--tx-red) 8%, var(--tx-panel)); border-color: color-mix(in srgb, var(--tx-red) 35%, var(--tx-line)); }
.tx-callout-gold { background: color-mix(in srgb, var(--tx-gold) 32%, var(--tx-panel)); border-color: var(--tx-gold); }
.tx-callout-green { background: color-mix(in srgb, var(--tx-green) 9%, var(--tx-panel)); border-color: color-mix(in srgb, var(--tx-green) 35%, var(--tx-line)); }
.tx-note { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0; font-size: 12px; line-height: 16px; color: var(--tx-ink2); } .tx-note-gold { padding: 6px 10px; border-radius: 8px; background: color-mix(in srgb, var(--tx-gold) 32%, var(--tx-panel)); color: var(--tx-ink); }
.tx-banner { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: 16px; margin: 0 0 16px; color: #fff; border-top: 3px solid var(--tx-gold);
  background: linear-gradient(135deg, #172E55, #0A162D); }
.tx-banner span { color: #DCCAAF; } .tx-banner .tx-ic { color: var(--tx-gold); margin-top: 2px; }

/* ---- loading / empty / error ---- */
.tx-state { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px 16px; text-align: center; color: var(--tx-ink2); }
.tx-state strong { color: var(--tx-ink); font-size: 14px; } .tx-state span { max-width: 46ch; font-size: 13px; }
.tx-state-err strong { color: var(--tx-red-ink); }
.tx-spin { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--tx-line); border-top-color: var(--tx-primary); animation: tx-rot .8s linear infinite; }
@keyframes tx-rot { to { transform: rotate(360deg); } }

/* ---- toasts, dialog ---- */
.tx-toasts { position: fixed; z-index: 2147483000; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; max-width: min(380px, calc(100vw - 32px)); font-family: var(--pure-font, "Open Sans", sans-serif); }
.tx-toast { position: relative; display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px 11px 14px; background: var(--tx-panel); color: var(--tx-ink); border: 1px solid var(--tx-line); border-top: 3px solid var(--tx-green); border-radius: 8px; box-shadow: var(--tx-shadow);
  font-size: 13px; line-height: 18px; opacity: 0; transform: translateY(8px); transition: opacity .18s var(--tx-ease), transform .18s var(--tx-ease); }
.tx-toast.in { opacity: 1; transform: none; } .tx-toast-warn { border-top-color: var(--tx-amber); } .tx-toast-err { border-top-color: var(--tx-red); }
.tx-toast-ic { margin-top: 1px; color: var(--tx-green); } .tx-toast-warn .tx-toast-ic { color: var(--tx-amber); } .tx-toast-err .tx-toast-ic { color: var(--tx-red-ink); }
.tx-toast-msg { flex: 1; } .tx-toast-undo { border: 0; background: transparent; color: var(--tx-accent-ink); font: 600 12px/16px var(--pure-font, "Open Sans", sans-serif); text-decoration: underline; cursor: pointer; padding: 2px 4px; }
.tx-overlay { position: fixed; inset: 0; z-index: 2147482000; display: grid; place-items: center; padding: 16px; background: rgba(10, 22, 45, .55); }
.tx-overlay-top { align-items: start; padding-top: 12vh; }
.tx-dialog { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; box-shadow: var(--tx-shadow); margin: 0; padding: 22px; background: var(--tx-panel); color: var(--tx-ink); }
.tx-dialog-body { margin: 12px 0 0; font-size: 14px; line-height: 20px; } .tx-dialog-body p { margin: 0 0 10px; }
.tx-dialog-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.tx-tone-danger .tx-bar { background: var(--tx-red); }
.tx-move { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: 8px; background: color-mix(in srgb, var(--tx-gold) 26%, var(--tx-panel)); margin-bottom: 10px; }
.tx-preview { padding: 10px 12px; border: 1px solid var(--tx-line); border-radius: 8px; margin: 10px 0; }
.tx-preview .tx-list li { justify-content: flex-start; } .tx-preview .tx-list li > :first-child { flex: 1 1 140px; }

/* ---- definition lists, facts ---- */
.tx-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 16px; margin: 10px 0; }
.tx-dl > div { min-width: 0; } .tx-dl dt { font-size: 12px; line-height: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--tx-ink2); } .tx-dl dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.tx-dl-t { grid-template-columns: 1fr; gap: 0; } .tx-dl-t > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--tx-line); align-items: baseline; } .tx-dl-t dd { margin: 0; text-align: right; }
.tx-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 20px; margin: 8px 0 0; }
.tx-fact { padding: 9px 0; border-bottom: 1px solid var(--tx-line); min-width: 0; } .tx-fact dt { font-size: 12px; line-height: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--tx-ink2); }
.tx-fact dd { margin: 3px 0 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-weight: 600; }
.tx-fv { border-radius: 5px; padding: 1px 3px; margin: 0 -3px; cursor: text; overflow-wrap: anywhere; } .tx-fv:hover { background: color-mix(in srgb, var(--tx-gold) 26%, transparent); } .tx-fv-empty { color: var(--tx-ink3); font-weight: 400; }
.tx-fs { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.tx-src { display: inline-flex; align-items: center; gap: 3px; padding: 0 8px; border-radius: 360px; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; border: 0; }
.tx-src-document { background: color-mix(in srgb, var(--tx-navy) 12%, var(--tx-panel)); color: var(--tx-accent-ink); } .tx-src-mls { background: color-mix(in srgb, var(--tx-blue) 14%, var(--tx-panel)); color: var(--tx-blue); }
.tx-src-deal { background: color-mix(in srgb, var(--tx-gold) 50%, var(--tx-panel)); color: #172E55; } .tx-src-zoho { background: color-mix(in srgb, var(--tx-purp) 14%, var(--tx-panel)); color: var(--tx-purp); }
.tx-src-staff { background: color-mix(in srgb, var(--tx-green) 14%, var(--tx-panel)); color: var(--tx-green); } .tx-src-conflict { background: color-mix(in srgb, var(--tx-red) 12%, var(--tx-panel)); color: var(--tx-red-ink); cursor: pointer; }
[data-theme="dark"] .tx-src-document { background: color-mix(in srgb, var(--tx-gold) 20%, var(--tx-panel)); }
.tx-picks { display: grid; gap: 8px; margin: 10px 0; } .tx-pick { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--tx-border); border-radius: 8px; cursor: pointer; } .tx-pick:has(input:checked) { border-color: var(--tx-primary); background: color-mix(in srgb, var(--tx-gold) 24%, transparent); }
.tx-pick-b { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .tx-pick-v { font-weight: 600; }
.tx-flash { animation: tx-flash 2.2s var(--tx-ease); } @keyframes tx-flash { 0%, 40% { box-shadow: 0 0 0 3px var(--tx-gold); background: color-mix(in srgb, var(--tx-gold) 40%, transparent); } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ---- deal home shell ---- */
.tx-hd { padding-bottom: 14px; } .tx-hd-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; } .tx-hd-m { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tx-hd-c { min-width: 140px; } .tx-hd-c strong { font-size: 25px; line-height: 30px; display: block; } .tx-hd-c .tx-meter { margin-top: 4px; }
.tx-links { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--tx-line); } .tx-lk { padding: 3px 12px; border: 1px solid var(--tx-border); border-radius: 360px; font-size: 12px; text-decoration: none !important; color: var(--tx-ink) !important; } .tx-lk:hover { border-color: var(--tx-primary); background: color-mix(in srgb, var(--tx-gold) 26%, transparent); }
.tx-tabs { display: flex; gap: 2px; overflow-x: auto; margin: 0 0 16px; border-bottom: 1px solid var(--tx-line); scrollbar-width: none; } .tx-tabs::-webkit-scrollbar { display: none; }
/* Shattique 10/4: 17 tabs ran off the right edge with the scrollbar hidden - no way to reach them with a mouse.
   Desktop: the tabs WRAP onto a second row, every tab visible. Phone: one swipeable row with a thin visible scrollbar. */
.tx-tabs { flex-wrap: wrap; overflow-x: visible; row-gap: 0; }
@media (max-width: 760px) { .tx-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .tx-tabs::-webkit-scrollbar { display: block; height: 4px; } .tx-tabs::-webkit-scrollbar-thumb { background: #DCCAAF; border-radius: 4px; } }
.tx-tabs button { display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; background: transparent; color: var(--tx-ink2); font: 600 13px/18px var(--pure-font, "Open Sans", sans-serif); cursor: pointer; white-space: nowrap; }
/* pass26-integrate: on a phone the tab strip scrolls instead of squeezing labels over each other */
.tx-tabs > button { flex: none; }
/* pass26-integrate: the shells give every button a 40-44px touch minimum at phone width, which turned the 18px date markers into ovals.
   The marker keeps its drawn size; a transparent ring gives the finger the same 44px target. */
.tx .tx-mk { min-width: 0 !important; min-height: 0 !important; width: 18px; height: 18px; }
.tx .tx-mk::before { content: ""; position: absolute; inset: -13px; border-radius: 50%; }
.tx-tabs button:hover { color: var(--tx-ink); } .tx-tabs button.on { color: var(--tx-ink); border-bottom-color: var(--tx-gold); } .tx-tabs button.on .tx-ic { color: var(--tx-primary); }
.tx [hidden], .tx-overlay [hidden] { display: none !important; }
.tx-meter { height: 6px; border-radius: 360px; background: color-mix(in srgb, var(--tx-ink3) 25%, var(--tx-panel)); overflow: hidden; } .tx-meter span { display: block; height: 100%; border-radius: 360px; background: var(--tx-green); transition: width .22s var(--tx-ease); } .tx-meter-l { flex: 1; height: 8px; }
.tx-pctrow { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }

/* ---- the 7 flow milestones ---- */
.tx-flow { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--tx-line); } .tx-flow-l { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; counter-reset: fm; }
.tx-fm { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; position: relative; padding-top: 12px; min-width: 0; }
.tx-fm::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 3px; background: var(--tx-line); } .tx-fm-done::before { background: var(--tx-green); } .tx-fm-current::before { background: var(--tx-gold); height: 4px; top: -1px; }
.tx-fm-dot { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: 12px; line-height: 1; font-weight: 600; background: color-mix(in srgb, var(--tx-ink3) 22%, var(--tx-panel)); color: var(--tx-ink2); }
.tx-fm-done .tx-fm-dot { background: var(--tx-green); color: #fff; } .tx-fm-current .tx-fm-dot { background: var(--tx-navy); color: #fff; } [data-theme="dark"] .tx-fm-current .tx-fm-dot { background: var(--tx-gold); color: #172E55; }
.tx-fm-l { font-size: 12px; line-height: 15px; font-weight: 600; color: var(--tx-ink2); overflow-wrap: anywhere; } .tx-fm-current .tx-fm-l { color: var(--tx-ink); }
.tx-flow-t { margin-top: 8px; background: none; border: 0; padding: 0; color: var(--tx-accent-ink); font: 600 12px/16px var(--pure-font, "Open Sans", sans-serif); text-decoration: underline; cursor: pointer; }
.tx-flow-d { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font-size: 12px; } .tx-flow-d li { display: flex; align-items: center; gap: 6px; } .tx-flow-d li.done { color: var(--tx-ink2); }
.tx-flow-c .tx-fm-l { font-size: 12px; }

/* ---- timeline ---- */
.tx-track-wrap { margin: 20px 4px 4px; } .tx-track { position: relative; height: 6px; border-radius: 360px; background: color-mix(in srgb, var(--tx-ink3) 25%, var(--tx-panel)); margin: 26px 12px 10px; touch-action: none; }
.tx-track-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 360px; background: var(--tx-navy); } [data-theme="dark"] .tx-track-fill { background: var(--tx-gold); }
.tx-today { position: absolute; top: -22px; width: 0; height: 34px; border-left: 2px solid var(--tx-gold); } .tx-today em { position: absolute; top: -2px; left: 4px; font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--tx-ink2); }
.tx-mk { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; padding: 0; border-radius: 50%; border: 3px solid var(--st, var(--tx-navy)); background: var(--tx-panel); cursor: grab; touch-action: none; transition: transform .12s var(--tx-ease); }
.tx-mk[data-fixed] { cursor: pointer; background: var(--st, var(--tx-navy)); } .tx-mk:hover, .tx-mk.on { transform: scale(1.25); z-index: 2; } .tx-mk.drag { cursor: grabbing; z-index: 3; transform: scale(1.35); } .tx-mk.hol::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px dashed var(--tx-gold); }
.tx-ghost { position: absolute; bottom: 20px; transform: translateX(-50%); padding: 3px 9px; border-radius: 5px; background: var(--tx-navy); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; pointer-events: none; box-shadow: var(--tx-shadow); z-index: 4; }
.tx-axis { display: flex; justify-content: space-between; gap: 12px; margin: 0 12px; font-size: 12px; color: var(--tx-ink2); }
/* 10/20/2026: the two axis labels never run into each other on a phone; each keeps its half and the second reads right-aligned */
.tx-axis > span { flex: 0 1 48%; min-width: 0; overflow-wrap: anywhere; } .tx-axis > span:last-child { text-align: right; }
.tx-chips { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.tx-chip { width: 100%; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; text-align: left; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--tx-line); background: color-mix(in srgb, var(--st, var(--tx-navy)) 8%, var(--tx-panel)); color: var(--tx-ink); font: 400 13px/17px var(--pure-font, "Open Sans", sans-serif); cursor: pointer; }
.tx-chip.on, .tx-chip:hover { border-color: var(--st, var(--tx-primary)); } .tx-chip-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--st, var(--tx-navy)); flex: 0 0 auto; } .tx-chip-l { flex: 1 1 90px; font-weight: 600; } .tx-chip-d { font-variant-numeric: tabular-nums; color: var(--tx-ink2); }
.tx-detail { margin-top: 14px; padding: 14px; border: 1px solid var(--tx-line); border-radius: 8px; background: color-mix(in srgb, var(--tx-gold) 10%, var(--tx-panel)); } .tx-detail:empty { display: none; }
.tx-detail-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; } .tx-detail-t { font-size: 16px; line-height: 22px; }
.tx-propose { margin-top: 12px; } .tx-propose .tx-row { flex-wrap: nowrap; } .tx-propose .tx-in { max-width: 200px; }
.tx-derived { margin-top: 14px; border-top: 1px solid var(--tx-line); padding-top: 10px; } .tx-derived summary { cursor: pointer; font-weight: 600; font-size: 13px; display: flex; gap: 8px; align-items: center; }
.tx-dv { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; } .tx-dv li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .tx-dv li .tx-chip-dot { background: var(--st, var(--tx-navy)); }
/* 10/20/2026 the Key dates card (pure-deal-timeline.js) has its own class, tx-kd. It used to share .tx-tl with the stage strip
   (further down), whose grid rule (grid-auto-flow: column) laid the card's head, track, chips and detail panel out as side-by-side
   columns at desk width. From 900 px the chips sit left and the chosen date's panel right; below that everything stacks. A second or
   third marker row (dates within days of each other) gets room above the axis. */
.tx-kd { display: block; }
@media (min-width: 900px) {
  .tx-kd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: 0 20px; align-items: start; }
  .tx-kd > .tx-head, .tx-kd > .tx-track-wrap { grid-column: 1 / -1; }
  .tx-kd > .tx-chips, .tx-kd > .tx-derived { grid-column: 1; }
  .tx-kd > .tx-detail { grid-column: 2; grid-row: 3 / span 2; }
}
.tx-kd .tx-chips { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.tx-track.tx-track-r1 { margin-bottom: 28px; } .tx-track.tx-track-r2 { margin-bottom: 44px; }

/* ---- next actions ---- */
.tx-actions { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; } .tx-act { display: grid; gap: 8px; padding: 12px 14px; border: 1px solid var(--tx-line); border-radius: 8px; }
.tx-act-t { font-weight: 600; font-size: 14px; line-height: 19px; } .tx-act-why { margin: 2px 0 6px; color: var(--tx-ink2); font-size: 13px; line-height: 18px; } .tx-act-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tx-act-btns { display: flex; gap: 8px; flex-wrap: wrap; } .tx-act-help { margin: 0; }

/* ---- checklist ---- */
.tx-ck { list-style: none; margin: 0; padding: 0; } .tx-ckr { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--tx-line); }
.tx-ckr-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 12px; font-weight: 600; color: var(--st, var(--tx-ink2)); background: color-mix(in srgb, var(--st, var(--tx-ink3)) 14%, var(--tx-panel)); }
.tx-ckr-t { font-weight: 600; font-size: 14px; } .tx-ckr-done .tx-ckr-t, .tx-ckr-na .tx-ckr-t { color: var(--tx-ink2); } .tx-ckr-na .tx-ckr-t { text-decoration: line-through; text-decoration-color: var(--tx-ink3); } .tx-ckr-m { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: 4px; } .tx-ckr-n { margin: 4px 0 0; }
.tx-ckr-a { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }

/* ---- documents, upload ---- */
.tx-docs { list-style: none; margin: 0; padding: 0; } .tx-doc { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto auto auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--tx-line); } .tx-doc-ic { color: var(--tx-ink2); }
/* 10/14/2026 (Mike, decision 11): a voice note's transcript opens under the file, across the whole row */
.tx-tr-act { margin-top: 4px; } .tx-tr { grid-column: 1 / -1; margin: 2px 0 4px 40px; padding: 12px 14px; border: 1px solid var(--tx-line); border-radius: 10px; background: var(--tx-bg); cursor: auto; font-size: 13px; line-height: 1.55; color: var(--tx-ink2); }
.tx-tr h4 { margin: 0 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--tx-ink); } .tx-tr p { margin: 0 0 10px; } .tx-tr ul { margin: 0 0 10px; padding-left: 18px; }
.tx-tr-words { white-space: pre-wrap; max-height: 320px; overflow: auto; margin: 0 0 8px; padding: 10px 12px; border-radius: 8px; background: var(--tx-panel); border: 1px solid var(--tx-line); color: var(--tx-ink); }
@media (max-width: 640px) { .tx-tr { margin-left: 0; } }
/* 9/29: filed documents drill down to their own review page (pure-doc-view.html) */
.tx-doc-live { cursor: pointer; border-radius: 8px; transition: background .14s var(--tx-ease); } .tx-doc-live:hover { background: color-mix(in srgb, var(--tx-gold) 14%, var(--tx-panel)); }
.tx-doc-a { color: var(--tx-primary); text-decoration: none; font-weight: 600; } a.tx-doc-a:hover, a.tx-doc-a:focus-visible { text-decoration: underline; text-underline-offset: 2px; }
.tx-doc-q { width: 100%; box-sizing: border-box; margin: 0 0 10px; padding: 8px 12px; border: 1px solid var(--tx-border); border-radius: 360px; font: inherit; background: var(--tx-panel); color: inherit; }
.tx-drop { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 26px 16px; border: 2px dashed var(--tx-border); border-radius: 16px; background: color-mix(in srgb, var(--tx-gold) 10%, var(--tx-panel)); transition: border-color .16s var(--tx-ease), background .16s var(--tx-ease); cursor: pointer; }
.tx-drop.over { border-color: var(--tx-primary); background: color-mix(in srgb, var(--tx-gold) 34%, var(--tx-panel)); } .tx-drop-c { padding: 14px 12px; border-radius: 8px; } .tx-drop-t { font-weight: 600; } .tx-drop-ic { color: var(--tx-primary); } .tx-drop-off { opacity: .6; cursor: not-allowed; }
.tx-uplist { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; } .tx-up { padding: 10px 12px; border: 1px solid var(--tx-line); border-radius: 8px; background: var(--tx-panel); }
.tx-up-h { display: flex; justify-content: space-between; gap: 10px; align-items: center; } .tx-up-n { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; } .tx-up-s { font-size: 12px; font-weight: 600; white-space: nowrap; }
.tx-prog { height: 4px; border-radius: 4px; background: var(--tx-line); margin-top: 8px; overflow: hidden; } .tx-prog span { display: block; height: 100%; width: 0; background: var(--tx-navy); transition: width .12s linear; } [data-theme="dark"] .tx-prog span { background: var(--tx-gold); }
.tx-ask { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 8px 0; } .tx-ask .tx-lbl { margin: 0 6px 0 0; }
.tx-veil { position: fixed; inset: 0; z-index: 2147481000; display: grid; place-items: center; background: rgba(10, 22, 45, .72); } .tx-veil[hidden] { display: none; }
.tx-veil-b { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; max-width: 420px; padding: 32px; border: 3px dashed var(--tx-gold); border-radius: 24px; color: #fff; } .tx-veil-b span { color: #DCCAAF; font-size: 13px; }

/* ---- money ---- */
.tx-lines { list-style: none; margin: 8px 0 0; padding: 0; } .tx-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--tx-line); align-items: baseline; }
.tx-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; } .tx-group { border: 1px solid var(--tx-line); border-radius: 8px; padding: 12px; } .tx-group-h { display: flex; justify-content: space-between; margin-bottom: 6px; } .tx-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; } .tx-group li { display: flex; justify-content: space-between; color: var(--tx-ink2); }
.tx-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; } .tx-checks li { display: flex; align-items: center; gap: 8px; } .tx-checks .ok .tx-ic { color: var(--tx-green); } .tx-checks .bad { color: var(--tx-red-ink); } .tx-checks .bad .tx-ic { color: var(--tx-red-ink); }
.tx-table { width: 100%; border-collapse: collapse; font-size: 13px; } .tx-table th, .tx-table td { padding: 9px 10px; border-bottom: 1px solid var(--tx-line); text-align: left; vertical-align: top; } .tx-table thead th { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--tx-ink2); } .tx-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.tx .pt { --pt-navy: var(--tx-navy); --pt-ink: var(--tx-ink); --pt-panel: var(--tx-panel); --pt-line: var(--tx-line); --pt-soft: var(--tx-ink2); --pt-bg: var(--tx-bg); font-family: inherit; }

/* ---- parties, comments, presence ---- */
.tx-parties { list-style: none; margin: 0; padding: 0; } .tx-party { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--tx-line); } .tx-party-c { display: grid; gap: 2px; text-align: right; font-size: 13px; }
.tx-av { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--tx-navy); color: #fff; font-size: 12px; font-weight: 600; border: 2px solid var(--tx-panel); margin-left: -6px; } .tx-av:first-child { margin-left: 0; } .tx-av-l { width: 36px; height: 36px; font-size: 12px; margin: 0; }
[data-theme="dark"] .tx-av { background: var(--tx-gold); color: #172E55; }
.tx-pres { display: inline-flex; align-items: center; gap: 8px; } .tx-pres .tx-av:nth-child(2n) { background: var(--tx-gold); color: #172E55; }
.tx-cm, .tx-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; } .tx-c { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; } .tx-c-h { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .tx-c-t { margin: 3px 0 0; font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
.tx-mention { color: var(--tx-accent-ink); font-weight: 600; background: color-mix(in srgb, var(--tx-gold) 40%, transparent); border-radius: 3px; padding: 0 2px; }
.tx-tf { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 12px; }
.tx-comp { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--tx-line); display: grid; gap: 8px; } .tx-comp select { max-width: 320px; } .tx-mwrap { position: relative; }
.tx-mlist { position: absolute; left: 0; bottom: 100%; z-index: 5; margin: 0 0 4px; padding: 4px; list-style: none; min-width: 220px; background: var(--tx-panel); border: 1px solid var(--tx-border); border-radius: 8px; box-shadow: var(--tx-shadow); } .tx-mlist[hidden] { display: none; }
.tx-mlist li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 5px; cursor: pointer; } .tx-mlist li.on { background: color-mix(in srgb, var(--tx-gold) 34%, transparent); } .tx-mlist .tx-av { margin: 0; }
.tx-fi { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; } .tx-fi-ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: color-mix(in srgb, var(--tx-navy) 10%, var(--tx-panel)); color: var(--tx-ink2); }

/* ---- kanban ---- */
.tx-board-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 12px; flex-wrap: wrap; }
.tx-filters { display: flex; gap: 10px 12px; flex-wrap: wrap; align-items: flex-end; padding: 12px; background: var(--tx-panel); border: 1px solid var(--tx-line); border-radius: 16px; margin-bottom: 14px; } .tx-fl { display: block; min-width: 140px; flex: 1 1 140px; } .tx-fl-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.tx-cols { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; }
.tx-col { scroll-snap-align: start; background: color-mix(in srgb, var(--tx-navy) 5%, var(--tx-bg)); border: 1px solid var(--tx-line); border-radius: 16px; display: flex; flex-direction: column; min-height: 220px; }
.tx-col-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 14px 8px; } .tx-col-t { font-size: 12px; line-height: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--tx-ink2); }
.tx-col-b { display: grid; gap: 8px; align-content: start; padding: 4px 10px 12px; flex: 1; border-radius: 0 0 16px 16px; } .tx-col-b.over { background: color-mix(in srgb, var(--tx-gold) 32%, transparent); outline: 2px dashed var(--tx-gold); outline-offset: -4px; } .tx-col-empty { padding: 18px 6px; text-align: center; font-size: 12px; color: var(--tx-ink3); }
.tx-kc { position: relative; background: var(--tx-panel); border: 1px solid var(--tx-line); border-radius: 8px; padding: 14px 12px 10px; display: grid; gap: 6px; cursor: grab; overflow: hidden; } .tx-kc .tx-bar { height: 3px; }
.tx-kc.dragging { opacity: .5; box-shadow: var(--tx-shadow); } .tx-kc-top { display: flex; gap: 6px; align-items: flex-start; } .tx-grip { color: var(--tx-ink3); margin-top: 1px; } .tx-kc-t { font-weight: 600; font-size: 14px; }
.tx-kc-m { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 12px; } .tx-kc-f { display: flex; gap: 4px; flex-wrap: wrap; } .tx-kc-mv { display: block; margin-top: 2px; }
.tx-bar-red { background: var(--tx-red); }

/* ---- command bar ---- */
.tx-cb-wrap { width: min(640px, 100%); padding: 0; overflow: hidden; margin: 0; box-shadow: var(--tx-shadow); background: var(--tx-panel); color: var(--tx-ink); }
.tx-cb { display: flex; flex-direction: column; background: var(--tx-panel); } .tx-cb-in { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--tx-line); color: var(--tx-ink2); }
.tx-cb-input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--tx-ink); font: 400 16px/22px var(--pure-font, "Open Sans", sans-serif); } .tx-cb-input:focus { outline: none; }
.tx-cb-l { list-style: none; margin: 0; padding: 6px; max-height: min(52vh, 420px); overflow-y: auto; } .tx-cb-g { padding: 8px 10px 4px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--tx-ink2); }
.tx-cb-r { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 8px 10px; border-radius: 8px; cursor: pointer; } .tx-cb-r.on { background: color-mix(in srgb, var(--tx-gold) 34%, transparent); }
.tx-cb-rm { display: grid; min-width: 0; } .tx-cb-rt { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tx-cb-rs { display: flex; gap: 8px; align-items: center; } .tx-cb-a { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; }
.tx-cb-a .tx-btn.on { border-color: var(--tx-primary); background: var(--tx-primary); color: var(--tx-on-primary); }
.tx-cb-empty { padding: 22px 14px; text-align: center; color: var(--tx-ink2); } .tx-cb-f { display: flex; gap: 14px; flex-wrap: wrap; padding: 8px 16px; border-top: 1px solid var(--tx-line); font-size: 12px; color: var(--tx-ink2); } .tx-cb-s { margin-left: auto; }
.tx-kbd { display: inline-block; padding: 0 6px; border: 1px solid var(--tx-border); border-bottom-width: 2px; border-radius: 5px; font: 600 12px/16px var(--pure-font, "Open Sans", sans-serif); color: var(--tx-ink2); }
.tx .tx-cb-wrap, .tx.tx-cbhost .tx-cb { border-radius: 16px; }

/* ---- today queue, offers, from-contract, portal ---- */
.tx-tq { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; } .tx-tqi { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 10px 12px; border: 1px solid var(--tx-line); border-radius: 8px; }
.tx-tqi-ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: color-mix(in srgb, var(--tx-navy) 10%, var(--tx-panel)); color: var(--tx-ink2); } .tx-tq-overdue .tx-tqi-ic { background: color-mix(in srgb, var(--tx-red) 12%, var(--tx-panel)); color: var(--tx-red-ink); }
.tx-tqi-t { font-weight: 600; } .tx-tqi-m { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 12px; margin-top: 2px; } .tx-tqi-w { margin: 4px 0 0; }
.tx-cmp th[scope="row"] { position: sticky; left: 0; background: var(--tx-panel); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--tx-ink2); min-width: 120px; white-space: nowrap; } .tx-cmp td, .tx-cmp thead th:not(:first-child) { min-width: 150px; }
.tx-cmp-h { display: grid; gap: 4px; } .tx-best { background: color-mix(in srgb, var(--tx-gold) 20%, transparent); font-weight: 600; }
.tx-fc { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; } .tx-fcr { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; padding: 12px; border: 1px solid var(--tx-line); border-radius: 8px; } .tx-fcr.low { border-color: var(--tx-amber); background: color-mix(in srgb, var(--tx-amber) 6%, var(--tx-panel)); }
.tx-fcr-s { margin: 0; padding: 8px 12px; border-radius: 8px; background: color-mix(in srgb, var(--tx-navy) 5%, var(--tx-panel)); font-size: 12px; line-height: 17px; color: var(--tx-ink2); } .tx-fcr-s p { margin: 2px 0 0; }
.tx-mark { background: color-mix(in srgb, var(--tx-gold) 70%, transparent); color: var(--tx-ink); padding: 0 2px; border-radius: 3px; font-weight: 700; }
.tx-pl, .tx-pd { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; } .tx-pli { padding: 12px 14px; border: 1px solid var(--tx-line); border-radius: 8px; } .tx-pli-h { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 4px; } .tx-pli-t { font-weight: 600; }
.tx-portal-msg { margin: 12px 0 0; } .tx-slot { margin-top: 8px; } .tx-pd li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px solid var(--tx-line); } .tx-pd-l { flex: 1 1 140px; } .tx-portal-msg { margin: 8px 0 0; font-size: 14px; line-height: 20px; }

/* ---- narrow screens (390px) ---- */
@media (max-width: 760px) {
  .tx-grid2, .tx-two, .tx-fcr { grid-template-columns: 1fr; }
  .tx-card { padding: 16px 14px 14px; border-radius: 16px; } .tx-h2 { font-size: 20px; line-height: 27px; }
  .tx-flow-l { grid-template-columns: repeat(7, minmax(64px, 1fr)); overflow-x: auto; padding-bottom: 4px; } .tx-fm-l { font-size: 12px; line-height: 13px; }
  .tx-ckr { grid-template-columns: 30px minmax(0, 1fr); } .tx-ckr-a { grid-column: 2; justify-content: flex-start; }
  .tx-doc { grid-template-columns: 26px minmax(0, 1fr) auto; } .tx-doc .tx-iconbtn { grid-column: 3; } .tx-doc [data-open] { grid-column: 2; justify-self: start; }
  .tx-party { grid-template-columns: 40px minmax(0, 1fr); } .tx-party-c { grid-column: 2; text-align: left; }
  .tx-btn { min-height: 44px; } .tx-btn-sm { min-height: 36px; } .tx-in { min-height: 44px; font-size: 16px; } .tx-in-sm { min-height: 36px; font-size: 14px; } .tx-iconbtn { width: 36px; height: 36px; }
  .tx-tabs button { padding: 12px 12px; } .tx-cols { grid-auto-columns: minmax(78vw, 1fr); }
  .tx-propose .tx-row { flex-wrap: wrap; } .tx-toasts { left: 16px; right: 16px; bottom: 12px; max-width: none; } .tx-overlay-top { padding-top: 8vh; }
  .tx-dialog-foot .tx-btn { flex: 1 1 auto; } .tx-in-inline { width: 100%; max-width: 100%; } .tx-cb-f span:not(.tx-cb-s):not(:first-child) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .tx *, .tx-toast, .tx-flash, .tx-spin { animation-duration: .01ms !important; transition-duration: .01ms !important; } .tx-spin { animation: none; } }

/* ---- txn-page 10/2/26: the one Transaction page, header facts, stage timeline, people, CDA math, notes (pure-deal-home.js) ---- */
.tx-hd-main { min-width: 0; flex: 1 1 420px; }
button.tx-hd-c { display: block; text-align: left; background: transparent; border: 1px solid var(--tx-line); border-radius: 8px; padding: 8px 12px; color: inherit; font: inherit; cursor: pointer; }
button.tx-hd-c:hover { border-color: var(--tx-gold); background: color-mix(in srgb, var(--tx-gold) 14%, var(--tx-panel)); }
.tx-hd-c .tx-eyebrow { display: block; }
.tx-sum-st { font-size: 13px; line-height: 18px; padding: 3px 12px; gap: 6px; }
.tx-sum-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px 20px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--tx-line); }
.tx-sum-facts > div { min-width: 0; } .tx-sum-facts dt { font-size: 12px; line-height: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--tx-ink2); }
.tx-sum-facts dd { margin: 3px 0 0; font-weight: 600; overflow-wrap: anywhere; display: flex; flex-direction: column; gap: 2px; }
.tx-sum-gf { font-weight: 400; font-size: 12px; line-height: 16px; }
.tx-sum-lic { align-self: flex-start; font-weight: 600; } .tx-sum-lic:empty { display: none; }
.tx-tl-wrap { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--tx-line); }
.tx-tl-h { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; margin-bottom: 8px; }
.tx-tl { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.tx-tl-s { position: relative; padding-top: 12px; min-width: 0; }
.tx-tl-s::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 4px; background: var(--tx-line); }
.tx-tl-done::before { background: var(--tx-green); } .tx-tl-current::before { background: var(--tx-gold); height: 6px; top: -1px; }
.tx-tl-b { display: flex; align-items: center; gap: 7px; width: 100%; background: none; border: 0; padding: 4px 2px; margin: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; border-radius: 8px; min-height: 36px; }
.tx-tl-b:hover { background: color-mix(in srgb, var(--tx-gold) 18%, var(--tx-panel)); }
.tx-tl-dot { display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: 600; background: color-mix(in srgb, var(--tx-ink3) 22%, var(--tx-panel)); color: var(--tx-ink2); }
.tx-tl-done .tx-tl-dot { background: var(--tx-green); color: #fff; } .tx-tl-current .tx-tl-dot { background: var(--tx-navy); color: #fff; }
.tx-tl-done.tx-tl-current .tx-tl-dot { background: var(--tx-green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tx-gold) 70%, transparent); }
[data-theme="dark"] .tx-tl-current .tx-tl-dot { background: var(--tx-gold); color: #172E55; }
.tx-tl-l { font-size: 12.5px; line-height: 16px; font-weight: 600; color: var(--tx-ink2); overflow-wrap: anywhere; } .tx-tl-current .tx-tl-l, .tx-tl-done .tx-tl-l { color: var(--tx-ink); }
.tx-tl-ds { list-style: none; margin: 4px 0 0; padding: 0 2px; display: grid; gap: 3px; font-size: 12px; line-height: 15px; color: var(--tx-ink2); }
.tx-tl-dl { font-weight: 600; color: var(--tx-ink); } .tx-tl-w { color: var(--tx-ink2); font-style: italic; }
.tx-tl-doc { font-weight: 600; }
.tx-sum-more { margin-top: 10px; font-size: 12px; } .tx-sum-more summary { cursor: pointer; color: var(--tx-accent-ink); font-weight: 600; text-decoration: underline; }
.tx-sum-more .tx-flow { margin-top: 8px; }
.tx-sum-ps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 4px 16px; }
.tx-sum-p { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--tx-line); }
.tx-sum-p .tx-av { width: 32px; height: 32px; font-size: 12px; margin: 0; } .tx-sum-pn { font-weight: 600; overflow-wrap: anywhere; }
.tx-sum-cks { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; }
.tx-sum-ck { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; align-items: start; font-size: 13px; line-height: 18px; }
.tx-sum-ck-i { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-weight: 600; background: color-mix(in srgb, var(--tx-ink3) 20%, var(--tx-panel)); color: var(--tx-ink2); }
.tx-sum-ck.ok .tx-sum-ck-i { background: color-mix(in srgb, var(--tx-green) 16%, var(--tx-panel)); color: var(--tx-green); }
.tx-sum-ck.bad .tx-sum-ck-i { background: color-mix(in srgb, var(--tx-amber) 20%, var(--tx-panel)); color: var(--tx-amber); }
.tx-sum-ck .tx-muted { font-size: 12.5px; }
.tx-sum-acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.tx a.tx-btn { text-decoration: none; } .tx a.tx-btn-ghost { color: var(--tx-ink); }
.tx-sum-nb { position: relative; } .tx-sum-nb .tx-mlist { top: 100%; bottom: auto; margin: 4px 0 0; }
.tx-sum-notes { list-style: none; margin: 12px 0 8px; padding: 0; display: grid; gap: 10px; }
.tx-sum-notes > li { padding: 9px 11px; border: 1px solid var(--tx-line); border-radius: 8px; background: color-mix(in srgb, var(--tx-navy) 3%, var(--tx-panel)); }
.tx-sum-nh { font-size: 12.5px; } .tx-sum-nt { font-weight: 600; font-size: 13px; margin-top: 2px; } .tx-sum-nx { font-size: 13px; line-height: 18px; white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 3px; }
.tx-sum-dc { margin: 0 0 10px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: 13px; }
@media (max-width: 760px) {
  .tx-tl { grid-auto-flow: row; grid-template-columns: 1fr; gap: 0; } .tx-tl-s { padding: 2px 0 8px 14px; } .tx-tl-s::before { top: 0; bottom: 0; left: 0; right: auto; width: 4px; height: auto; }
  .tx-tl-current::before { width: 6px; left: -1px; top: 0; height: auto; } .tx-tl-ds { padding-left: 31px; }
  .tx-sum-facts { grid-template-columns: 1fr 1fr; } .tx-tl-b { min-height: 44px; }
}
/* Contact info check in the People card (Ginger data quality, 10/2/26) */
.tx-dq { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--tx-border); }
.tx-dq-ps, .tx-dq-fixes { list-style: none; margin: 6px 0 0; padding: 0; }
.tx-dq-p { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; padding: 6px 0; border-bottom: 1px solid var(--tx-border); font-size: 13px; }
.tx-dq-p:last-child { border-bottom: 0; }
.tx-dq-p > ul { flex-basis: 100%; }
.tx-dq-fix { font-size: 12.5px; line-height: 18px; padding: 2px 0; color: var(--tx-ink); overflow-wrap: anywhere; }

/* People v2 (10/2/26, standard.parties): the Parties tab grouped by side, each value with the paper it came from */
.tx-p2-lede { margin: 0 0 12px; }
.tx-p2 { display: grid; gap: 18px; }
.tx-p2-g { min-width: 0; }
.tx-p2-h { margin: 0 0 6px; font: 600 13px/1.3 "Open Sans", system-ui, sans-serif; color: var(--tx-ink); text-transform: uppercase; letter-spacing: .04em; display: flex; align-items: center; gap: 8px; }
.tx-p2-l { list-style: none; margin: 0; padding: 0; }
.tx-p2-p { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--tx-line); }
.tx-p2-logo { object-fit: contain; background: #fff; border: 1px solid var(--tx-line); }
.tx-p2-b { min-width: 0; }
.tx-p2-chip { margin-left: 6px; text-decoration: none; }
.tx-p2-fs { display: grid; gap: 4px; margin-top: 8px; }
.tx-p2-f { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 8px; font-size: 13px; line-height: 1.45; }
.tx-p2-k { color: var(--tx-ink3, #6B6B6B); font-weight: 600; }
.tx-p2-v { min-width: 0; overflow-wrap: anywhere; }
.tx-p2-src { display: inline; font-size: 12px; margin-left: 4px; }
.tx-p2-src a { color: var(--tx-ink2, #404040); }
.tx-p2-help { margin: 8px 0 0; padding: 0 0 0 14px; font-size: 13px; }
.tx-p2-note { padding: 4px 0 8px 52px; font-size: 12.5px; list-style: none; }
.tx-p2-none { margin: 0; padding: 4px 0 8px; }
@media (max-width: 640px) {
  .tx-p2-f { grid-template-columns: 1fr; gap: 0; }
  .tx-p2-k { font-size: 12px; }
  .tx-p2-note { padding-left: 0; }
}
