/* Documents (Toolbox app #16, Dee, Nov 25, 2026). Loaded on
   page-documents.php only, after style.css. Premium and quiet: small
   type at 500-600 weights, muted secondary text, 44px pills, one loud
   element per section (the scan button; Save / Use this page / Create
   in the flows). Three-dots menus, no X buttons. */

.txd { overflow-x: hidden; overflow-x: clip; --txd-ink: #1D1D1F; --txd-mut: #6E6E73; --txd-line: rgba(11, 18, 32, .10); --txd-soft: #F5F5F7; --txd-red: #C8102E; color: var(--txd-ink); }
.txd [hidden] { display: none !important; }
.txd-view { padding: 8px 0 0; }
.txd .txd-h { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; color: var(--txd-ink); text-align: left; }
.txd-sub { margin: 4px 0 16px; font-size: 14px; color: var(--txd-mut); }
.txd-note { margin: 16px auto 0; max-width: 340px; font-size: 13px; line-height: 1.45; color: var(--txd-mut); text-align: center; }
.txd-status { min-height: 20px; margin: 16px 0 0; font-size: 14px; font-weight: 500; color: var(--txd-mut); text-align: center; }

/* ---- Buttons ---- */
.txd-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 1px solid var(--txd-line); border-radius: 999px; background: #fff; color: var(--txd-ink); font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
.txd-pill:hover { border-color: rgba(11, 18, 32, .24); }
.txd-pill:disabled { opacity: .45; cursor: default; }
.txd-pill--solid { border-color: var(--txd-red); background: var(--txd-red); color: #fff; }
.txd-pill--solid:hover { border-color: #A50D25; background: #A50D25; }
.txd-pill--danger { border-color: var(--txd-red); color: var(--txd-red); }
.txd-pill--wide { width: 100%; min-height: 56px; }
.txd-text { min-height: 44px; padding: 0 8px; border: 0; background: none; color: var(--txd-mut); font: inherit; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.txd-text--light { color: #fff; }
.txd-pill:focus-visible, .txd-text:focus-visible, .txd-chip:focus-visible, .txd-box:focus-visible, .txd-scan:focus-visible, .txd-dots:focus-visible, .txd-item-main:focus-visible, .txd-handle:focus-visible { outline: 2px solid #0B1220; outline-offset: 2px; }
.txd-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 10px; margin-top: 16px; }
.txd-row .txd-pill { width: 100%; }
.txd-row .txd-text { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 12px; border: 1px solid var(--txd-line); border-radius: 14px; background: #fff; color: var(--txd-ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.txd-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.txd-actions .txd-pill { width: 100%; }
.txd-actions .txd-text { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid var(--txd-line); border-radius: 999px; background: #fff; color: var(--txd-ink); font-size: 16px; font-weight: 600; text-decoration: none; }

/* ---- Home: the scan button (the one loud element) ---- */
.txd-start { padding: 16px 0 8px; text-align: center; }
.txd-scan { display: inline-flex; flex-direction: column; align-items: center; gap: 12px; padding: 0; border: 0; background: none; color: var(--txd-ink); font: inherit; cursor: pointer; }
.txd-scan-ring { display: inline-flex; align-items: center; justify-content: center; width: 104px; height: 104px; border-radius: 50%; background: var(--txd-red); color: #fff; box-shadow: 0 10px 28px rgba(200, 16, 46, .28); transition: transform .15s ease; }
.txd-scan:hover .txd-scan-ring { transform: scale(1.03); }
.txd-scan-label { font-size: 16px; font-weight: 600; }
.txd-imports { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.txd-imports .txd-pill { width: 100%; min-height: 56px; border-radius: 16px; }

/* ---- The three boxes ---- */
.txd-boxes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 24px; }
.txd-box { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-height: 108px; padding: 14px; border: 1px solid var(--txd-line); border-radius: 16px; background: #fff; color: var(--txd-ink); font: inherit; text-align: left; cursor: pointer; }
.txd-box.is-on { border-color: #0B1220; box-shadow: 0 0 0 1px #0B1220 inset; }
.txd-box-ic { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 10px; }
.txd-box-ic svg { width: 18px; height: 18px; }
.txd-box--trip .txd-box-ic { background: #E8F2FD; color: #1F5FA8; }
.txd-box--receipts .txd-box-ic { background: #EAF7EF; color: #1E7A46; }
.txd-box--invoices .txd-box-ic { background: #FDF3E1; color: #9A6200; }
.txd-box-name { font-size: 13px; font-weight: 600; line-height: 1.25; }
.txd-box-n { font-size: 12px; font-weight: 500; color: var(--txd-mut); }
.txd-make { margin-top: 16px; text-align: center; }

/* ---- Chips ---- */
.txd-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.txd-chips--center { justify-content: center; }
.txd-doc .txd-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.txd-chip { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 6px 10px; border: 1px solid var(--txd-line); border-radius: 14px; background: #fff; color: var(--txd-ink); font: inherit; font-size: 14px; font-weight: 600; text-align: center; cursor: pointer; }
.txd-chip.is-on { border-color: #0B1220; background: #0B1220; color: #fff; }

/* ---- The shelf ---- */
.txd-shelf { margin-top: 32px; }
.txd-shelf-head { display: flex; align-items: center; justify-content: space-between; }
.txd-shelf-head .txd-text { min-height: 40px; padding: 0 16px; border: 1px solid var(--txd-line); border-radius: 999px; background: #fff; color: var(--txd-ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.txd-list { list-style: none; margin: 12px 0 0; padding: 0; }
.txd-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--txd-line); }
.txd-check { width: 22px; height: 22px; flex: none; accent-color: #0B1220; }
.txd-thumb { flex: none; width: 48px; height: 60px; overflow: hidden; border-radius: 8px; border: 1px solid var(--txd-line); background: var(--txd-soft); }
.txd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.txd-thumb.is-file { display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: var(--txd-mut); }
.txd-item-main { flex: 1 1 auto; min-width: 0; min-height: 44px; display: flex; flex-direction: column; justify-content: center; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.txd-item-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 600; }
.txd-item-meta { margin-top: 2px; font-size: 13px; color: var(--txd-mut); }
.txd-empty { margin: 16px 0 0; font-size: 14px; color: var(--txd-mut); }
.txd-confirm { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px; margin: 8px 0; border-radius: 12px; background: var(--txd-soft); font-size: 14px; }
.txd-confirm span { flex: 1 1 200px; }
.txd-mergebar { position: sticky; bottom: 12px; display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 8px 8px 8px 16px; border-radius: 999px; background: #fff; box-shadow: 0 8px 28px rgba(11, 18, 32, .16); }
.txd-mergebar-n { flex: 1 1 auto; font-size: 14px; font-weight: 500; color: var(--txd-mut); }

/* ---- Three-dots button and menu ---- */
.txd-dots { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--txd-mut); cursor: pointer; }
.txd-dots:hover { background: var(--txd-soft); color: var(--txd-ink); }
.txd-menu { position: absolute; z-index: 10030; min-width: 200px; padding: 6px; border-radius: 14px; background: #fff; box-shadow: 0 12px 40px rgba(11, 18, 32, .18), 0 0 0 1px rgba(11, 18, 32, .06); }
.txd-menu-item { display: block; width: 100%; min-height: 48px; padding: 0 14px; border: 0; border-radius: 10px; background: none; color: #1D1D1F; font: inherit; font-size: 15px; font-weight: 500; text-align: left; cursor: pointer; }
.txd-menu-item:hover, .txd-menu-item:focus-visible { background: #F2F2F7; outline: none; }
.txd-menu-item:disabled { opacity: .4; cursor: default; }
.txd-menu-item.is-danger { color: #C8102E; }

/* ---- Camera (full screen) ---- */
.txd-cam { position: fixed; inset: 0; z-index: 10020; display: flex; flex-direction: column; background: #000; --txd-ink: #F5F5F7; --txd-mut: rgba(245, 245, 247, .75); }
.txd-cam[hidden] { display: none !important; } /* the overlay lives at <body> level (see tx-docs.js), outside the .txd [hidden] rule's reach */
.txd-cam-video { flex: 1 1 auto; width: 100%; min-height: 0; object-fit: contain; background: #000; }
.txd-cam-frame { position: absolute; inset: 10% 8% 22%; border: 2px solid rgba(255, 255, 255, .55); border-radius: 12px; pointer-events: none; }
.txd-cam-bar { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px calc(20px + env(safe-area-inset-bottom)); }
.txd-shutter { width: 76px; height: 76px; padding: 0; border: 4px solid #fff; border-radius: 50%; background: none; cursor: pointer; }
.txd-shutter span { display: block; width: 100%; height: 100%; border: 3px solid #000; border-radius: 50%; background: #fff; }
body.txd-cam-on { overflow: hidden; }

/* ---- Crop stage ---- */
.txd-stage { position: relative; margin: 0 auto; touch-action: none; user-select: none; }
.txd-stage-img { display: block; width: 100%; height: 100%; border-radius: 8px; }
.txd-stage-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.txd-stage-svg polygon { fill: rgba(200, 16, 46, .10); stroke: #C8102E; stroke-width: 2; }
.txd-handle { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: grab; touch-action: none; }
.txd-handle::after { content: ''; position: absolute; inset: 11px; border: 3px solid #C8102E; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); }
.txd-handle.is-drag::after { inset: 7px; }

/* ---- Look preview and pages ---- */
.txd-preview { margin: 12px auto 0; text-align: center; }
.txd-preview canvas { max-width: 100%; max-height: 62vh; border-radius: 8px; box-shadow: 0 6px 24px rgba(11, 18, 32, .12); }
.txd-doc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.txd-doc-n { font-size: 13px; color: var(--txd-mut); }
.txd-pages { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.txd-page { border: 1px solid var(--txd-line); border-radius: 12px; overflow: hidden; background: #fff; }
.txd-page-img { aspect-ratio: 3 / 4; display: flex; align-items: center; justify-content: center; background: var(--txd-soft); }
.txd-page-img img { max-width: 100%; max-height: 100%; display: block; }
.txd-page-bar { display: flex; align-items: center; justify-content: space-between; padding: 0 0 0 12px; }
.txd-page-n { font-size: 13px; font-weight: 500; color: var(--txd-mut); }

/* ---- Fields (doc name, invoice) ---- */
.txd-field { display: grid; gap: 6px; margin-top: 16px; }
.txd-label { font-size: 13px; font-weight: 500; color: var(--txd-mut); }
.txd-input { width: 100%; box-sizing: border-box; min-height: 44px; padding: 10px 12px; border: 1px solid var(--txd-line); border-radius: 12px; background: #fff; color: var(--txd-ink); font: inherit; font-size: 16px; }
.txd-input:focus { outline: none; border-color: #0B1220; box-shadow: 0 0 0 3px rgba(11, 18, 32, .10); }
textarea.txd-input { resize: vertical; line-height: 1.4; }
.txd-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.txd-money { display: flex; align-items: center; gap: 6px; }
.txd-money > span { font-size: 15px; color: var(--txd-mut); }
.txd-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.txd-itemrow { display: grid; grid-template-columns: minmax(0, 1fr) 128px 44px; gap: 8px; align-items: center; }
.txd-total { display: flex; align-items: baseline; justify-content: space-between; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--txd-line); font-size: 15px; font-weight: 500; }
.txd-total strong { font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.txd-error { margin: 12px 0 0; font-size: 14px; font-weight: 500; color: #A00D26; }
.txd-text[data-txd-item-add] { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin-top: 12px; border: 1px dashed rgba(11, 18, 32, .25); border-radius: 14px; color: var(--txd-ink); font-size: 14px; font-weight: 600; text-decoration: none; }

@media (max-width: 480px) {
  .txd-boxes { gap: 6px; }
  .txd-box { min-height: 88px; padding: 12px; }
  .txd-box-name { font-size: 12.5px; }
  .txd-grid2 { grid-template-columns: 1fr; }
  .txd-itemrow { grid-template-columns: minmax(0, 1fr) 104px 44px; }
}
@media (prefers-reduced-motion: reduce) { .txd-scan-ring { transition: none; } }

/* ---- Dark ---- */
:root[data-theme="dark"] .txd { --txd-ink: #F5F5F7; --txd-mut: rgba(245, 245, 247, .62); --txd-line: rgba(255, 255, 255, .12); --txd-soft: rgba(255, 255, 255, .06); }
:root[data-theme="dark"] .txd-pill, :root[data-theme="dark"] .txd-box, :root[data-theme="dark"] .txd-chip, :root[data-theme="dark"] .txd-input, :root[data-theme="dark"] .txd-page, :root[data-theme="dark"] .txd-mergebar, :root[data-theme="dark"] .txd-qb, :root[data-theme="dark"] .txd-row .txd-text, :root[data-theme="dark"] .txd-actions .txd-text, :root[data-theme="dark"] .txd-shelf-head .txd-text { background: #1C1C1E; color: #F5F5F7; }
:root[data-theme="dark"] .txd-pill--solid { background: var(--txd-red); border-color: var(--txd-red); }
:root[data-theme="dark"] .txd-chip.is-on { background: #F5F5F7; border-color: #F5F5F7; color: #0B1220; }
:root[data-theme="dark"] .txd-box.is-on { border-color: #F5F5F7; box-shadow: 0 0 0 1px #F5F5F7 inset; }
:root[data-theme="dark"] .txd-menu { background: #2C2C2E; }
:root[data-theme="dark"] .txd-menu-item { color: #F5F5F7; }
:root[data-theme="dark"] .txd-menu-item:hover { background: rgba(255, 255, 255, .08); }

/* QuickBooks door (referral phase): a full-width card in the flow under
   the boxes, aligned with everything else (Dee, Nov 25, 2026: the old
   right-floated button looked like it did not belong). */
.txd-qb { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--txd-line); border-radius: 16px; background: #fff; text-align: center; }
.txd-qb[hidden] { display: none; }
.txd-qb--doc { margin-top: 20px; }
.txd-qb-btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 0 20px; border: 1px solid var(--txd-line); border-radius: 999px; background: #fff; color: var(--txd-ink); font-size: 15px; font-weight: 600; text-decoration: none; box-sizing: border-box; }
.txd-qb-btn:hover { border-color: #0B1220; }
.txd-qb-btn:focus-visible { outline: 2px solid #0B1220; outline-offset: 2px; }
.txd-qb-sub { margin: 0; font-size: 13px; line-height: 1.4; color: var(--txd-mut); text-align: center; }
:root[data-theme="dark"] .txd-qb-btn { background: #1C1C1E; color: #F5F5F7; }

/* Nov 25, 2026 (Dee): the document view carries a Back button — head reads
   Back / title / page count, count pushed to the far side. */
.txd-doc-head { justify-content: flex-start; align-items: center; }
.txd-doc-head .txd-doc-n { margin-left: auto; }

/* Nov 25, 2026 (Dee): one import button now — the imports row is one column. */
.txd-imports { grid-template-columns: 1fr; }

/* Nov 25, 2026 (Dee): one button size across the whole tool, and the three
   boxes are one fixed height so the row is identical on every phone — the
   count pins to the bottom and slack collects above it. */
.txd-pill { min-height: 56px; }
.txd-chip { min-height: 56px; }
.txd-actions .txd-text, .txd-row .txd-text { min-height: 56px; }
.txd-box { height: 172px; }
.txd-box-blurb { font-size: 12px; font-weight: 500; line-height: 1.35; color: var(--txd-mut); }
.txd-box-n { margin-top: auto; }

/* Nov 25, 2026 (Dee): the QuickBooks door is a workflow row, not a card —
   one row, the whole row tappable, sitting where the bookkeeping happens. */
.txd-qb { flex-direction: row; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px; text-align: left; text-decoration: none; color: var(--txd-ink); }
.txd-qb-mark { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #2CA01C; color: #fff; font-size: 16px; font-weight: 800; }
.txd-qb-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.txd-qb-title { font-size: 15px; font-weight: 600; }
.txd-qb-sub { text-align: left; }
.txd-qb-arrow { flex: none; font-size: 22px; line-height: 1; color: var(--txd-mut); }

/* pkg2591: short affiliate notice under the Connect QuickBooks row, and a
   hard guard so the doc-view row + note truly hide (flex/block display
   would otherwise beat the hidden attribute). */
.txd-qb-note { display: block; margin-top: 8px; font-size: 12px; line-height: 1.45; color: var(--txd-sub, #6e6e73); }
.txd-qb[hidden], .txd-qb-note[hidden] { display: none !important; }

/* ---------- Utility pass (Dee, Nov 26, 2026) ---------- */
/* Compact hero on phones: the tool starts near the top of the screen. */
@media (max-width: 640px) {
  .tbx--documents .tbx-head .page-header-inner { padding-top: 12px; padding-bottom: 8px; }
  .tbx--documents .tbx-head .tbx-app-head { margin-bottom: 8px; }
  .tbx--documents .tbx-head .tbx-app-head .app-icon { width: 56px; height: 56px; }
  .tbx--documents .tbx-head .kicker { margin-bottom: 4px; }
  .tbx--documents .tbx-head h1 { margin-bottom: 4px; }
  .tbx--documents .tbx-head .lead { margin: 0; }
  .tbx--documents .tbx-head .tx-powered { display: none; }
  .tbx--documents .tbx-head .tbx-app-love { margin-top: 8px; }
  .tbx--documents .tbx-work { padding-top: 16px; }
}
/* Status line for every view. */
.txd > .txd-status { margin: 0 0 8px; min-height: 0; }
.txd > .txd-status:empty { display: none; }
/* Unsaved scan from before. */
.txd-resume { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; margin: 0 0 24px; padding: 16px; border: 1px solid var(--txd-line); border-radius: 16px; background: var(--txd-soft); }
.txd-resume[hidden] { display: none; }
.txd-resume-txt { grid-column: 1 / -1; font-size: 15px; font-weight: 600; }
.txd-resume .txd-pill { width: 100%; }
/* Boxes carry a ⋯ menu (Share all as one PDF). */
.txd-boxwrap { position: relative; display: flex; }
.txd-boxwrap .txd-box { flex: 1 1 auto; width: 100%; }
.txd-box-dots { position: absolute; top: 4px; right: 2px; }
/* Shelf: search and Back up all. */
.txd-shelf-head { gap: 8px; }
.txd-shelf-head .txd-h { margin-right: auto; }
.txd-search { display: block; margin: 12px 0 0; }
.txd-search .txd-input { width: 100%; }
/* Document screen: Share on top; file and invoice cards. */
.txd-doc-top { display: grid; gap: 10px; margin: 16px 0 8px; }
.txd-doc-top [hidden] { display: none; }
.txd-doc-head { align-items: center; }
.txd-doc-head .txd-h { margin-right: auto; }
.txd-filecard { margin: 16px 0 0; padding: 16px; border: 1px solid var(--txd-line); border-radius: 12px; background: var(--txd-soft); font-size: 14px; line-height: 1.45; color: var(--txd-mut); }
.txd-invsum { display: grid; gap: 8px; margin: 16px 0 12px; padding: 16px; border: 1px solid var(--txd-line); border-radius: 12px; background: #fff; }
.txd-invsum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.txd-invsum-row span { color: var(--txd-mut); }
.txd-filecard[hidden], .txd-invsum[hidden], [data-txd-scanonly][hidden], [data-txd-boxfield][hidden] { display: none; }
/* Pages open full size. */
.txd-page-img { width: 100%; padding: 0; border: 0; cursor: zoom-in; }
.txd-page-img:focus-visible { outline: 2px solid var(--txd-ink); outline-offset: -2px; }
.txd-viewer { position: fixed; inset: 0; z-index: 10030; display: flex; flex-direction: column; background: #111; }
.txd-viewer-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; padding-top: max(12px, env(safe-area-inset-top)); color: #F5F5F7; }
.txd-viewer-t { flex: 1 1 auto; min-width: 0; font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.txd-viewer-scroll { flex: 1 1 auto; overflow: auto; -webkit-overflow-scrolling: touch; touch-action: pinch-zoom pan-x pan-y; }
.txd-viewer-scroll img { display: block; width: 100%; height: auto; }
body.txd-viewing { overflow: hidden; }
/* Crop: Next on top, then Back and Retake. */
.txd-crop .txd-actions [data-txd-crop-next] { grid-column: 1 / -1; order: -1; }
.txd-crop .txd-actions [hidden] { display: none; }
.txd-crop .txd-actions:has([data-txd-crop-retake][hidden]) [data-txd-crop-back] { grid-column: 1 / -1; }
/* Invoice: recent Bill-to entries. */
.txd-recent { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -4px 0 16px; }
.txd-recent[hidden] { display: none; }
.txd-recent-l { font-size: 13px; color: var(--txd-mut); }
.txd-recent .txd-chip { min-height: 44px; font-size: 13px; }
/* The ready bar: a PDF that had to be built first, shared on this tap. */
.txd-ready { position: fixed; left: 12px; right: 12px; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 10025; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 8px; max-width: 560px; margin: 0 auto; padding: 12px 12px 12px 16px; border-radius: 18px; background: #1D1D1F; color: #F5F5F7; box-shadow: 0 12px 32px rgba(0, 0, 0, .28); --txd-ink: #F5F5F7; --txd-mut: rgba(245, 245, 247, .75); --txd-line: rgba(245, 245, 247, .2); --txd-red: #C8102E; }
.txd-ready[hidden] { display: none; }
.txd-ready-txt { font-size: 14px; font-weight: 500; line-height: 1.35; }
.txd-ready .txd-pill { min-height: 48px; padding: 0 18px; border: 1px solid #C8102E; background: #C8102E; color: #fff; font-size: 15px; font-weight: 600; border-radius: 999px; }
.txd-ready .txd-text { min-height: 44px; padding: 0 8px; border: 0; background: none; color: rgba(245, 245, 247, .75); font-size: 14px; text-decoration: underline; }
@media (min-width: 1024px) { .txd-ready { bottom: 24px; } }
:root[data-theme="dark"] .txd-invsum { background: #1C1C1E; }
.txd-viewer .txd-pill { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: #fff; color: #1D1D1F; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
