/* ==========================================================================
   Finance -> Needs attention (.nax-*)
   Money out of QuickBooks that still lacks a job, a label or a receipt.
   Tokens come from the app (--ink --mut --line --card --canvas --gold-deep).
   Text colours that must stay readable on both themes are set here and were
   measured: every text/background pair below is >= 4.5:1.
   ========================================================================== */
.nax, .nax-float {
  --nax-ink: var(--ink, #1f2536); --nax-mut: var(--mut, #464d61); --nax-line: var(--line, #dadde8); --nax-card: var(--card, #fff);
  --nax-gold: var(--gold-deep, #59718a); --nax-head-bg: #f6f7fa; --nax-hover: #f5f7fa; --nax-sel: #eaf0f6; --nax-input: #fff;
  --nax-red: #a63a2e; --nax-red-bg: #f9ebe8; --nax-green: #1b7a50; --nax-green-bg: #e6f2ec;
  --nax-chip-bg: #e9eff4; --nax-chip-line: #b9c7d6; --nax-primary: #59718a; --nax-primary-ink: #fff;
  --nax-warn-bg: #fff3d6; --nax-warn-line: #e6c987; --nax-warn-ink: #5c4100;
  --nax-s-job_cost: #59718a; --nax-s-overhead: #94a7ba; --nax-s-owner_expense: #414a60; --nax-s-loan_principal: #7e86a0; --nax-s-interest: #b9c3d6; --nax-s-unknown: #a63a2e; --nax-s-transfer: #dadde8;
  font-family: var(--sans, 'Montserrat', sans-serif); color: var(--nax-ink); font-size: 12.5px; line-height: 1.45;
}
.nax { padding-bottom: 48px; }
body.hl-dark .nax, body.hl-dark .nax-float {
  --nax-mut: #9aa8c4; --nax-head-bg: #131a29; --nax-hover: #1b2438; --nax-sel: #1e2a42; --nax-input: #121a2a;
  --nax-red: #ff9f92; --nax-red-bg: #3a2521; --nax-green: #5fcf9c; --nax-green-bg: #1b3129; --nax-gold: #9db8d4;
  --nax-chip-bg: #223049; --nax-chip-line: #3a4d70; --nax-primary: #9db8d4; --nax-primary-ink: #0e1320;
  --nax-warn-bg: #3a2f14; --nax-warn-line: #6b5a2a; --nax-warn-ink: #f2d596;
  --nax-s-job_cost: #9db8d4; --nax-s-overhead: #6e89a8; --nax-s-owner_expense: #c9d3e4; --nax-s-loan_principal: #7a86a3; --nax-s-interest: #4b5b7a; --nax-s-unknown: #ff9f92; --nax-s-transfer: #26304a;
}
:is(.nax, .nax-float) *, :is(.nax, .nax-float) *::before, :is(.nax, .nax-float) *::after { box-sizing: border-box; }
:is(.nax, .nax-float) button { box-shadow: none; font-family: inherit; }
:where(.nax, .nax-float) :where(h1, h2, h3, p) { margin: 0; }
.nax-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nax-muted { color: var(--nax-mut); }
.nax-ok { color: var(--nax-green); font-weight: 700; }
.nax-bad { color: var(--nax-red); font-weight: 700; }
:is(.nax, .nax-float) :focus-visible { outline: 2px solid var(--nax-gold); outline-offset: 2px; border-radius: 6px; }
/* header */
.nax-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; }
.nax-title.lsent { padding: 24px 4px 14px; flex: 1 1 340px; }
.nax-title.lsent h1 { color: var(--nax-ink); }
.nax-title.lsent p { color: var(--nax-mut); margin-top: 6px; max-width: 520px; }
.nax-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 0 4px 14px; }
.nax-tools[hidden] { display: none; }
.nax-fresh { font-size: 11.5px; color: var(--nax-mut); white-space: nowrap; }
.nax-period select, .nax-field select, .nax-field input, .nax-picker input, :is(.nax, .nax-float) textarea {
  font: inherit; font-size: 12.5px; font-weight: 600; color: var(--nax-ink); background: var(--nax-input);
  border: 1px solid var(--nax-line); border-radius: 8px; padding: 8px 12px; min-height: 36px;
}
:is(.nax, .nax-float) textarea { width: 100%; resize: vertical; font-weight: 500; min-height: 72px; }
:is(.nax, .nax-float) :is(input, textarea)::placeholder { color: var(--nax-mut); opacity: .75; font-weight: 500; }
.nax-btn { font-size: 12px; font-weight: 700; color: var(--nax-ink); background: var(--nax-card); border: 1px solid var(--nax-line); border-radius: 8px; padding: 8px 14px; min-height: 36px; cursor: pointer; white-space: nowrap; }
.nax-btn:hover:not(:disabled) { background: var(--nax-hover); border-color: var(--nax-gold); }
.nax-btn:disabled { opacity: .5; cursor: not-allowed; }
.nax-btn[hidden] { display: none; }
.nax-btn-primary { background: var(--nax-primary); border-color: var(--nax-primary); color: var(--nax-primary-ink); }
.nax-btn-primary:hover:not(:disabled) { background: var(--nax-primary); filter: brightness(1.08); }
.nax-btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.nax-btn-light:hover:not(:disabled) { background: rgba(255,255,255,.12); border-color: #fff; }
.nax-link { background: none; border: 0; padding: 4px 2px; font-size: 12px; font-weight: 700; color: var(--nax-gold); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; min-height: 32px; }
.nax-link[hidden] { display: none; }
.nax-link.on-dark { color: #c9dcf0; }
.nax-custom { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; padding: 0 4px 14px; }
.nax-custom[hidden] { display: none; }
.nax-field { display: flex; flex-direction: column; gap: 5px; }
.nax-field > span { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--nax-mut); }

/* banners */
.nax-banner { display: flex; align-items: center; justify-content: space-between; gap: 8px 14px; flex-wrap: wrap; padding: 10px 14px; border-radius: 10px; border: 1px solid; font-size: 12.5px; font-weight: 600; margin: 0 0 12px; }
.nax-banner.warn { background: var(--nax-warn-bg); border-color: var(--nax-warn-line); color: var(--nax-warn-ink); }
.nax-banner.warn .nax-btn { color: var(--nax-warn-ink); border-color: var(--nax-warn-line); background: transparent; }
.nax-banner.info { background: var(--nax-chip-bg); border-color: var(--nax-chip-line); color: var(--nax-ink); }

/* the body is the size container for the responsive layout (kept off .nax itself so the fixed drawer is not trapped inside it) */
#nax-body { container: nax / inline-size; }
.nax-card { background: var(--nax-card); border: 1px solid var(--nax-line); border-radius: 14px; padding: 18px; }
.nax-card h2 { font-size: 13px; font-weight: 800; color: var(--nax-ink); letter-spacing: -.005em; }

/* tiles */
.nax-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.nax-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; background: var(--nax-card); border: 1px solid var(--nax-line); border-radius: 12px; padding: 14px 16px; cursor: pointer; color: var(--nax-ink); min-width: 0; transition: border-color .15s, box-shadow .15s; }
.nax-tile:hover { border-color: var(--nax-gold); }
.nax-tile.on { border-color: var(--nax-gold); box-shadow: inset 0 0 0 1px var(--nax-gold); }
.nax-tile-label { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--nax-mut); }
.nax-tile-amt { font-family: var(--mono, monospace); font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; color: var(--nax-red); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nax-tile.zero .nax-tile-amt { color: var(--nax-green); }
.nax-tile.good .nax-tile-amt { color: var(--nax-ink); }
.nax-tile.good.zero .nax-tile-amt { color: var(--nax-mut); }
.nax-tile-count { font-size: 11.5px; color: var(--nax-mut); font-weight: 600; }
.nax-note { font-size: 11.5px; color: var(--nax-mut); margin: 10px 2px 18px; }
.nax-clear { display: flex; align-items: center; gap: 14px; background: var(--nax-green-bg); border: 1px solid var(--nax-green); border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; }
.nax-clear b { display: block; font-size: 13px; }
.nax-clear span:not(.nax-clear-ic) { font-size: 12px; color: var(--nax-mut); }
.nax-clear-ic { color: var(--nax-green); display: flex; flex: none; }

/* where it went */
.nax-where { padding: 14px 16px 12px; margin-bottom: 16px; }
.nax-where-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.nax-where-h .nax-muted { font-size: 11.5px; }
.nax-bar { display: flex; height: 12px; border-radius: 99px; overflow: hidden; background: var(--nax-line); }
.nax-seg { display: block; flex-basis: 0; min-width: 3px; border-right: 2px solid var(--nax-card); }
.nax-seg:last-child { border-right: 0; }
.nax-seg.s-empty { background: var(--nax-line); border: 0; }
.nax-legend { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.nax-legend li { display: flex; align-items: center; gap: 7px; font-size: 12px; min-width: 0; }
.nax-lg-name { color: var(--nax-mut); font-weight: 600; }
.nax-legend b { font-family: var(--mono, monospace); font-weight: 700; font-size: 12px; }
.nax-dot { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.s-job_cost { background: var(--nax-s-job_cost); } .s-overhead { background: var(--nax-s-overhead); } .s-owner_expense { background: var(--nax-s-owner_expense); }
.s-loan_principal { background: var(--nax-s-loan_principal); } .s-interest { background: var(--nax-s-interest); } .s-unknown { background: var(--nax-s-unknown); } .s-transfer { background: var(--nax-s-transfer); }

/* filters */
.nax-filters { display: flex; align-items: flex-end; gap: 10px 12px; flex-wrap: wrap; margin-bottom: 12px; }
.nax-f-q { flex: 1 1 230px; } .nax-f-q input { width: 100%; }
.nax-f-min { width: 92px; } .nax-f-min input { width: 100%; }
.nax-filters select { min-width: 132px; }

/* bulk bar */
.nax-bulkbar { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; background: #0d1b2e; color: #fff; border: 1px solid #26304a; border-radius: 12px; padding: 10px 14px; margin-bottom: 12px; font-size: 12.5px; font-weight: 700; }
.nax-bulk-act { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* table */
.nax-tablecard { background: var(--nax-card); border: 1px solid var(--nax-line); border-radius: 14px; overflow: hidden; }
.nax-tablecard.busy .nax-tablewrap { opacity: .55; transition: opacity .15s; }
.nax-tablehead { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 14px 16px 12px; }
.nax-tablehead h2 { font-size: 13px; }
.nax-tablehead .nax-muted { font-size: 11.5px; font-weight: 600; }
.nax-tablehead-r { display: flex; align-items: center; gap: 16px; }
.nax-selall { display: none; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; cursor: pointer; }
.nax-tablewrap { overflow: auto; max-height: calc(100vh - 230px); min-height: 220px; border-top: 1px solid var(--nax-line); }
.nax-table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.nax-table th { position: sticky; top: 0; z-index: 2; background: var(--nax-head-bg); color: var(--nax-mut); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--nax-line); white-space: nowrap; }
.nax-table td { padding: 10px 12px; border-bottom: 1px solid var(--nax-line); vertical-align: middle; overflow: hidden; font-size: 12.5px; }
.nax-table tbody tr:last-child td { border-bottom: 0; }
.nax-row { cursor: pointer; }
.nax-row:hover td { background: var(--nax-hover); }
.nax-row.sel td { background: var(--nax-sel); }
.nax-table .c-chk { width: 40px; padding-right: 0; } .nax-table .c-date { width: 100px; white-space: nowrap; }
.nax-table .c-job { width: 196px; } .nax-table .c-label { width: 104px; } .nax-table .c-rcpt { width: 128px; white-space: nowrap; } .nax-table .c-amt { width: 104px; text-align: right; }
.nax-table .c-acct, .nax-table .c-memo { display: none; }
.nax-table input[type=checkbox], .nax-check input { width: 16px; height: 16px; accent-color: var(--nax-gold); cursor: pointer; }
.nax-open { display: block; max-width: 100%; background: none; border: 0; padding: 0; text-align: left; font-size: 12.5px; color: var(--nax-ink); cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; overflow-wrap: anywhere; }
.nax-open b { font-weight: 700; }
.nax-open:hover b { text-decoration: underline; text-underline-offset: 2px; }
.nax-sub { display: block; font-size: 11px; color: var(--nax-mut); margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nax-ell { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nax-chip { display: inline-block; vertical-align: middle; max-width: 100%; padding: 3px 9px; border-radius: 99px; font-size: 11.5px; font-weight: 700; line-height: 1.3; border: 1px solid transparent; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nax-chip.is-solid { background: var(--nax-chip-bg); border-color: var(--nax-chip-line); color: var(--nax-ink); }
.nax-chip.is-outline { background: transparent; border-color: var(--nax-chip-line); color: var(--nax-ink); }
.nax-chip.is-bad { background: var(--nax-red-bg); border-color: var(--nax-red); color: var(--nax-red); }
.nax-sugg { display: block; font-size: 10px; color: var(--nax-mut); margin-top: 2px; padding-left: 3px; }
.nax-pick { display: block; min-width: 0; }
.nax-pick-who { display: block; font-size: 11px; color: var(--nax-mut); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nax-bad-link { color: var(--nax-red); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.nax-amt { font-family: var(--mono, monospace); font-weight: 700; font-size: 12.5px; white-space: nowrap; }
.nax-amt.credit { color: var(--nax-mut); font-weight: 500; }
.nax-pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; border-top: 1px solid var(--nax-line); font-size: 12px; color: var(--nax-mut); font-weight: 600; }
.nax-pager-btns { display: flex; gap: 8px; }
.nax-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 36px 18px; }
.nax-empty b { font-size: 14px; color: #161e2e; } .nax-empty span { color: #161e2e; overflow-wrap: anywhere; }
.nax-foot { font-size: 11.5px; color: var(--nax-mut); margin: 14px 4px 0; }

/* Account and Memo get their own columns only when there is room; until then they ride under the payee. */
@container nax (min-width: 1080px) {
  .nax-table .c-acct { display: table-cell; width: 140px; }
  .nax-x-acct { display: none; }
}
@container nax (min-width: 1320px) {
  .nax-table .c-memo { display: table-cell; width: 190px; }
  .nax-x-memo { display: none; }
}
@container nax (max-width: 899px) {
  .nax-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* a little tighter so the payee keeps at least ~180px next to the other columns */
  .nax-table .c-chk { width: 36px; } .nax-table .c-date { width: 92px; } .nax-table .c-job { width: 170px; } .nax-table .c-label { width: 96px; } .nax-table .c-rcpt { width: 112px; } .nax-table .c-amt { width: 96px; }
}
@container nax (max-width: 779px) {
  .nax-selall { display: inline-flex; }
  /* one card per line: payee and amount on top, date and receipt under them, job and label last */
  .nax-tablewrap { max-height: none; }
  .nax-table, .nax-table tbody { display: block; }
  .nax-table thead { display: none; }
  .nax-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; grid-template-areas: "chk payee amt" ". date rcpt" ". job label"; column-gap: 10px; row-gap: 6px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--nax-line); }
  .nax-table tbody tr:last-child { border-bottom: 0; }
  .nax-row td { display: block; padding: 0; border: 0; width: auto; background: transparent; }
  .nax-row td.c-acct, .nax-row td.c-memo { display: none; }
  .nax-row td.c-chk, .nax-row td.c-date, .nax-row td.c-job, .nax-row td.c-label, .nax-row td.c-rcpt, .nax-row td.c-amt { width: auto; }
  .nax-row:hover, .nax-row.sel { background: var(--nax-sel); }
  .nax-row:hover td, .nax-row.sel td { background: transparent; }
  .nax-row .c-chk { grid-area: chk; } .nax-row .c-payee { grid-area: payee; min-width: 0; } .nax-row .c-amt { grid-area: amt; }
  .nax-row .c-date { grid-area: date; color: var(--nax-mut); font-size: 11px; }
  .nax-row .c-rcpt { grid-area: rcpt; font-size: 11.5px; text-align: right; }
  .nax-row .c-job { grid-area: job; min-width: 0; } .nax-row .c-label { grid-area: label; text-align: right; }
  .nax-open, .nax-sub, .nax-pick-who, .nax-ell, .nax-chip { white-space: normal; overflow-wrap: anywhere; text-overflow: clip; }
}
@container nax (max-width: 460px) {
  /* four short rows instead of four tall boxes: the table is the point of this page */
  .nax-tiles { grid-template-columns: 1fr; gap: 8px; }
  .nax-tile { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label amt" "count amt"; align-items: center; column-gap: 12px; row-gap: 1px; padding: 11px 14px; }
  .nax-tile-label { grid-area: label; } .nax-tile-count { grid-area: count; }
  .nax-tile-amt { grid-area: amt; font-size: 20px; text-align: right; }
}

/* states */
.nax-state { display: flex; gap: 16px; align-items: flex-start; padding: 22px; }
.nax-state-ic { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--nax-chip-bg); color: var(--nax-gold); display: flex; align-items: center; justify-content: center; }
.nax-state h2 { font-size: 15px; line-height: 1.35; }
.nax-state p { margin-top: 6px; color: #161e2e; max-width: 58ch; font-size: 12.5px; overflow-wrap: anywhere; }
.nax-state-act { margin-top: 14px; }
.nax-load-note { margin: 0 0 12px; font-size: 12.5px; font-weight: 600; color: #161e2e; line-height: 1.45; overflow-wrap: anywhere; }
body.hl-dark .nax-load-note, body.hl-dark .nax-state p, body.hl-dark .nax-empty b, body.hl-dark .nax-empty span { color: #eef4f8; }
.nax-sync h2 { font-size: 15px; }
.nax-sync-top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.nax-sync-bar { flex: 1 1 160px; height: 6px; border-radius: 99px; background: var(--nax-line); overflow: hidden; display: block; }
.nax-sync-bar i { display: block; height: 100%; width: 34%; border-radius: 99px; background: var(--nax-gold); animation: naxslide 1.6s ease-in-out infinite; }
.nax-sync-detail { margin-top: 12px; font-size: 13px; font-weight: 700; }
.nax-sync .nax-muted { margin-top: 4px; font-size: 12px; }
.nax-skel { cursor: default; }
.nax-sk { display: block; height: 10px; border-radius: 6px; background: linear-gradient(90deg, var(--nax-line) 25%, var(--nax-sel) 50%, var(--nax-line) 75%); background-size: 200% 100%; animation: naxshimmer 1.4s linear infinite; }
.nax-sk-big { height: 26px; width: 60%; margin: 6px 0; }
.nax-skbox { margin-top: 12px; display: flex; flex-direction: column; gap: 18px; }
.nax-skrow { display: flex; gap: 4%; align-items: center; }
@keyframes naxshimmer { to { background-position: -200% 0; } }
@keyframes naxslide { 0% { transform: translateX(-100%); } 100% { transform: translateX(300%); } }
@media (prefers-reduced-motion: reduce) { .nax-sk, .nax-sync-bar i { animation: none; } .nax-tile, .nax-tablecard.busy .nax-tablewrap { transition: none; } }

/* toast */
.nax-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; z-index: 9700; background: #1f2536; color: #fff; border: 1px solid #3a4560; border-radius: 10px; padding: 11px 18px; font-size: 12.5px; font-weight: 600; max-width: calc(100vw - 32px); transition: opacity .18s, transform .18s; }
.nax-toast.show { opacity: 1; transform: translate(-50%, 0); }
.nax-toast.bad { background: #a63a2e; border-color: #a63a2e; }

/* drawer */
.nax-scrim { position: fixed; inset: 0; background: rgba(13, 20, 35, .5); z-index: 9590; }
.nax-scrim[hidden], .nax-drawer[hidden] { display: none; }
.nax-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); z-index: 9600; display: flex; flex-direction: column; background: var(--nax-card); color: var(--nax-ink); border-left: 1px solid var(--nax-line); box-shadow: -14px 0 40px rgba(10, 15, 25, .25); outline: none; }
.nax-dhead { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 20px 6px; }
.nax-dhead h2 { font-size: 16px; font-weight: 800; line-height: 1.3; word-break: break-word; }
.nax-dsub { margin-top: 3px; font-size: 12px; color: var(--nax-mut); }
.nax-x { flex: none; width: 36px; height: 36px; border-radius: 8px; border: 0; background: transparent; color: var(--nax-mut); font-size: 24px; line-height: 1; cursor: pointer; }
.nax-x:hover { background: var(--nax-hover); color: var(--nax-ink); }
.nax-damt { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 4px 20px 14px; border-bottom: 1px solid var(--nax-line); }
.nax-damt b { font-family: var(--mono, monospace); font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.nax-damt b.credit { color: var(--nax-mut); }
.nax-damt a { font-size: 12px; font-weight: 700; color: var(--nax-gold); text-decoration: underline; text-underline-offset: 2px; }
.nax-dbody { flex: 1 1 auto; overflow-y: auto; padding: 4px 20px 20px; }
.nax-dsec { padding: 16px 0; border-bottom: 1px solid var(--nax-line); }
.nax-dsec:last-child { border-bottom: 0; }
.nax-dsec h3 { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--nax-mut); margin-bottom: 8px; }
.nax-dcur { font-size: 12.5px; margin-bottom: 10px; }
.nax-dbtns { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.nax-hint { font-size: 11.5px; color: var(--nax-mut); margin-top: 8px; }
.nax-memo { font-size: 12.5px; word-break: break-word; }
.nax-check { display: flex; align-items: center; gap: 9px; margin-top: 12px; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.nax-picker { margin-top: 10px; }
.nax-picker input { width: 100%; }
.nax-joblist { list-style: none; margin: 8px 0 0; padding: 0; border: 1px solid var(--nax-line); border-radius: 10px; max-height: 232px; overflow-y: auto; }
.nax-joblist li + li { border-top: 1px solid var(--nax-line); }
.nax-joblist button { display: block; width: 100%; text-align: left; padding: 9px 12px; background: transparent; border: 0; cursor: pointer; color: var(--nax-ink); }
.nax-joblist button:hover { background: var(--nax-hover); }
.nax-joblist b { display: block; font-size: 12.5px; overflow-wrap: anywhere; } .nax-joblist span { display: block; font-size: 11.5px; color: var(--nax-mut); }
.nax-pad { padding: 12px; }
.nax-segs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.nax-seg-btn { min-height: 38px; border-radius: 8px; border: 1px solid var(--nax-line); background: var(--nax-card); color: var(--nax-ink); font-size: 12px; font-weight: 700; cursor: pointer; }
.nax-seg-btn:hover { border-color: var(--nax-gold); }
.nax-seg-btn.on { background: var(--nax-primary); border-color: var(--nax-primary); color: var(--nax-primary-ink); }
.nax-seg-btn.sugg { border-style: dashed; border-color: var(--nax-gold); }
.nax-confirm { margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: var(--nax-chip-bg); border: 1px solid var(--nax-chip-line); }
.nax-confirm p { font-size: 12.5px; margin-bottom: 10px; }
.nax-labellist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.nax-dfoot { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-top: 1px solid var(--nax-line); background: var(--nax-card); }
.nax-dbody .nax-banner { margin: 12px 0 0; }

@media (max-width: 720px) {
  .nax-drawer { width: 100vw; border-left: 0; }
  .nax-toast { bottom: 16px; }
  .nax-title.lsent { padding-top: 16px; }
  .nax-tools { width: 100%; }
  .nax-tools .nax-period { margin-left: auto; }
}

/* changed in QuickBooks, transfers note, receipt upload */
.nax-chg { display: block; margin-top: 2px; font-size: 11px; font-weight: 700; color: var(--nax-red); }
.nax-where-note { margin-top: 10px; font-size: 11.5px; color: var(--nax-mut); }
.nax-upwrap { margin-top: 10px; }
.nax-upload { display: inline-flex; align-items: center; cursor: pointer; }
.nax-upload:focus-within { outline: 2px solid var(--nax-gold); outline-offset: 2px; }
