/* WhoOwnsWhat.xyz app shell. Inherits the brand tokens from site.css. */

/* Component display rules below would otherwise beat the hidden attribute (that was the stray pill by Sign out). */
[hidden] { display: none !important; }

.app-shell { min-height: 100vh; display: flex; flex-direction: column; }
.app-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px max(16px, calc((100vw - 1060px) / 2 + 16px));
  border-bottom: 3px solid var(--ink); background: var(--white);
  position: sticky; top: 0; z-index: 30;
}
.app-bar .brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: -.03em; }
.app-bar .brand-mark { width: 30px; height: 30px; display: grid; place-items: center; background: var(--lime); border: 2.5px solid var(--ink); border-radius: 8px; }
.app-bar .brand-tld { color: var(--text-2); }
.app-bar-spacer { flex: 1 1 auto; }
.app-proj { display: inline-flex; align-items: center; gap: 7px; background: var(--soft); border: 2px solid var(--ink); border-radius: 999px; padding: 4px 14px; font-weight: 600; font-size: 14px; min-height: 44px; }

.app-pane { flex: 1; width: 100%; max-width: 1060px; margin: 0 auto; padding: 32px max(16px, env(safe-area-inset-left, 0px)) 72px; }
.app-narrow { max-width: 520px; }
.app-h1 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 6vw, 44px); line-height: 1.05; letter-spacing: -.025em; }
.app-h2 { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -.02em; }
.app-lead { margin-top: 10px; font-size: 16px; }
.app-h1 .hl { background: linear-gradient(transparent 58%, var(--lime) 58%); }
.app-stack { display: flex; flex-direction: column; gap: 12px; }
.app-pad { padding: 20px; }
.app-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.app-rowhead { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.scroll-x { overflow-x: auto; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--text-2); }
.small { font-size: 13px; }
.eyebrow { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }

.app-card { background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); }

/* forms */
.app-form { display: flex; flex-direction: column; gap: 16px; margin-top: 26px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--text-2); }
.field input:not([type="range"]), .field select {
  font: inherit; font-size: 16px; padding: 12px 14px;
  border: 3px solid var(--ink); border-radius: 12px; background: var(--white); color: var(--ink); width: 100%;
}
.field input[type="range"] { width: 100%; accent-color: #7BA800; }
.btn-block { width: 100%; justify-content: center; }
.form-status { font-size: 14px; min-height: 1.2em; }
.form-status.bad { color: var(--orange-text); font-weight: 600; }
.form-status.good { color: #2C6630; font-weight: 600; }

/* tabs */
.app-tabs { display: flex; gap: 6px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -4px 24px; padding: 4px; }
.app-tabs::-webkit-scrollbar { display: none; }
.app-tab {
  font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; color: var(--text-2); min-height: 44px; white-space: nowrap; flex: none;
  background: none; border: 2px solid transparent; border-radius: 999px; padding: 7px 16px;
}
.app-tab:hover { background: var(--soft); color: var(--ink); }
.app-tab[aria-current="page"] { background: var(--lime); border-color: var(--ink); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.pill-risk { background: var(--orange-soft); color: var(--orange-text); border: 2px solid var(--orange-text); border-radius: 999px; padding: 0 7px; font-size: 12px; font-weight: 700; margin-left: 5px; }

/* home */
.app-balance { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 6.2vw, 44px); line-height: 1.05; letter-spacing: -.025em; }
.app-balance .amt { background: linear-gradient(transparent 58%, var(--lime) 58%); padding: 0 2px; }
.burn { display: flex; border: 3px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--white); margin-bottom: 22px; }
.burn > div { flex: 1 1 0; padding: 14px 16px; min-width: 0; }
.burn > div + div { border-left: 3px solid var(--ink); }
.burn .k { font-family: var(--mono); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--text-2); font-weight: 700; }
.burn .v { font-family: var(--display); font-weight: 800; font-size: clamp(20px, 4.4vw, 28px); letter-spacing: -.02em; }

.alert { display: flex; gap: 12px; align-items: flex-start; border: 3px solid var(--orange-text); background: var(--orange-soft); border-radius: var(--radius); padding: 14px 16px; }
.alert .mark { width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--orange-text); color: var(--orange-soft); display: grid; place-items: center; font-weight: 800; font-family: var(--display); }
.alert.good { border-color: #2C6630; background: #EAF7DC; }
.alert.good .mark { background: #2C6630; color: #EAF7DC; }
.alert strong { display: block; }

/* tables and assets */
.app-tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.app-tbl th { text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--text-2); font-weight: 700; padding: 16px 16px 10px; }
.app-tbl td { padding: 13px 16px; border-top: 2px solid #E6E5DF; }
.app-tbl .r { text-align: right; }
.who { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; white-space: nowrap; }
.av { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font-size: 11px; font-weight: 800; flex: none; }

.asset { display: flex; gap: 14px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; padding: 16px; border-top: 2px solid #E6E5DF; }
.asset:first-child { border-top: none; }
.asset-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 8px; }
.kv { font-size: 13px; color: var(--text-2); }
.kv b { color: var(--ink); font-weight: 600; }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; border: 2px solid var(--ink); border-radius: 999px; padding: 2px 10px; background: var(--soft); }
.chip-bad { background: var(--orange-soft); color: var(--orange-text); border-color: var(--orange-text); }
.chip-good { background: #EAF7DC; color: #2C6630; border-color: #2C6630; }
.chip-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }

/* connect */
.term { background: var(--ink); color: var(--lime); font-family: var(--mono); font-size: 14px; border-radius: 12px; padding: 14px 16px; overflow-x: auto; }
.term .dim { opacity: .5; }
.tok { font-family: var(--mono); font-size: 13px; background: var(--soft); border: 2px solid #DCDBD4; border-radius: 12px; padding: 11px 13px; word-break: break-all; }

/* modal */
.ov { position: fixed; inset: 0; z-index: 90; background: rgba(17,17,17,.6); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.sheet { background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 7px 7px 0 var(--ink); width: min(520px, 100%); margin: auto; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 3px solid var(--ink); }
.sheet-head h3 { font-family: var(--display); font-weight: 800; font-size: 20px; }
.sheet-body { padding: 20px; }
.x { background: none; border: none; cursor: pointer; font-size: 26px; line-height: 1; width: 44px; height: 44px; margin: -8px -10px -8px 0; color: var(--text-2); border-radius: 12px; }
.x:hover { background: var(--soft); color: var(--ink); }

/* breakup simulator */
.doom { position: fixed; inset: 0; z-index: 95; background: #0B0B0A; color: #F7F4EE; overflow-y: auto; padding: 40px max(16px, env(safe-area-inset-left, 0px)); }
.doom-in { max-width: 620px; margin: 0 auto; }
.doom h2 { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 7vw, 44px); line-height: 1.04; color: #F7F4EE; }
.doom .hl2 { color: #FF8A5B; }
.doom-item { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid #2A2A26; }
.doom-item .n { font-family: var(--mono); font-size: 11px; font-weight: 700; color: #FF8A5B; padding-top: 4px; flex: none; }
.doom-item strong { color: #F7F4EE; }
.doom-item p { margin-top: 4px; font-size: 14px; color: #A8A49B; }

.app-toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 98; background: var(--ink); color: var(--white); border-radius: 999px; padding: 11px 22px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow); }

@media (max-width: 560px) {
  .burn { flex-direction: column; }
  .burn > div + div { border-left: none; border-top: 3px solid var(--ink); }
}
@media (prefers-reduced-motion: reduce) { * { animation-duration: .01ms !important; transition-duration: .01ms !important; } }


/* how-it-works steps */
.steps { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.step { display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; background: var(--white); border: 2.5px solid var(--ink); border-radius: 12px; }
.step-n { flex: none; width: 30px; height: 30px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; background: var(--lime); border: 2.5px solid var(--ink); border-radius: 50%; }
.step.done .step-n { background: var(--ink); color: var(--lime); }
.step.done .step-n::before { content: "\2713"; }
.step.done .step-n { font-size: 0; }
.step.done .step-n::before { font-size: 16px; }
.step p { margin-top: 2px; }

/* live project card */
.pcard { position: relative; display: flex; gap: 14px; align-items: center; margin-top: 24px; padding: 16px; background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .2s; }
.pcard.live { transform: rotate(-1deg); }
.pcard-tile { flex: none; width: 56px; height: 56px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 28px; border: 3px solid var(--ink); border-radius: 16px; background: var(--soft); }
.pcard-body { min-width: 0; }
.pcard-name { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard-sub { font-family: var(--mono); font-size: 12px; color: var(--text-2); }
.pcard-people { display: flex; margin-top: 8px; }
.pcard-people .av { width: 26px; height: 26px; font-size: 11px; margin-right: -6px; border: 2px solid var(--ink); }
.fl { position: absolute; font-size: 22px; opacity: 0; pointer-events: none; }
.pcard.live .fl { opacity: 1; animation: bob 3.2s ease-in-out infinite; }
.fl1 { top: -16px; left: 10px; } .fl2 { top: -18px; right: 24px; animation-delay: -.8s !important; }
.fl3 { bottom: -16px; left: 40%; animation-delay: -1.6s !important; } .fl4 { bottom: 8px; right: -12px; animation-delay: -2.4s !important; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-7px) rotate(8deg); } }
.pcard.party { animation: pop .5s ease; }
@keyframes pop { 40% { transform: scale(1.06) rotate(1deg); } }
.boom { position: absolute; left: 50%; top: 40%; font-size: 26px; pointer-events: none; animation: boom 1s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes boom { from { transform: translate(0,0) scale(.4); opacity: 1; } to { transform: translate(var(--dx), var(--dy)) rotate(var(--r)) scale(1.1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pcard.live .fl, .pcard.party, .boom { animation: none; } .pcard.live { transform: none; } }


/* utility classes (the CSP blocks inline style attributes) */
.bg-lime { background: var(--lime); } .bg-sky { background: var(--sky); } .bg-pink { background: var(--pink); }
.bg-yellow { background: var(--yellow); } .bg-purple { background: var(--purple); }
.mt0 { margin-top: 0; } .mt14 { margin-top: 14px; } .mt18 { margin-top: 18px; } .mt26 { margin-top: 26px; } .mt30 { margin-top: 30px; }
.mb10 { margin-bottom: 10px; } .gap8 { gap: 8px; } .db { display: block; } .tr { text-align: right; } .minw0 { min-width: 0; }
.self-start { align-self: flex-start; margin-top: 4px; }
.empty-cell { padding: 24px 16px; }
.check-row { display: flex; gap: 9px; align-items: center; font-size: 15px; }
.check-row input { width: 18px; height: 18px; accent-color: #7BA800; }
.doom-k { color: #FF8A5B; }
.btn-ghost-dark { background: transparent; color: #F7F4EE; border-color: #3A3A35; box-shadow: none; }

.btn-row { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.sh-row { display: flex; align-items: center; gap: 10px; }
.sh-name { flex: 1; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-in { width: 90px; font: inherit; font-size: 16px; padding: 8px 10px; border: 3px solid var(--ink); border-radius: 12px; }
.sh-x { width: 78px; }
.ok-txt { color: #2C6630; font-weight: 600; } .bad-txt { color: var(--orange-text); font-weight: 600; }

.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--blue-text); text-decoration: underline; cursor: pointer; }
button.app-proj { font-family: inherit; cursor: pointer; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
button.app-proj:hover { background: var(--lime); }
.nowrap { white-space: nowrap; }
.share-preview-wrap { margin-bottom: 16px; }
.share-preview { display: block; width: 100%; max-width: 360px; height: auto; margin: 0 auto; border: 3px solid var(--ink); border-radius: 16px; background: var(--white); }
a.btn svg { margin-right: 6px; }
@media (max-width: 560px) {
  .app-bar { flex-wrap: nowrap; gap: 8px; }
  .app-bar .brand-tld { display: none; }
}

.app-bar .btn { white-space: nowrap; flex: none; }


/* ---- design-system pass ---- */
.btn-lime { background: var(--lime); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn-lime:hover { color: var(--ink); }
.btn-sm.btn-lime, .btn-sm.btn-light, .btn-sm.btn-dark { box-shadow: 3px 3px 0 var(--ink); }
.btn-sm.btn-dark { box-shadow: 3px 3px 0 var(--lime); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn:focus-visible, .app-tab:focus-visible, button.app-proj:focus-visible { outline: 3px solid var(--blue-text); outline-offset: 3px; }

/* one vertical rhythm for every tab: 20px between blocks, tight under a heading */
.app-tabpane > * { margin-bottom: 0; }
.app-tabpane > * + * { margin-top: 20px; }
.app-tabpane > .app-lead { margin-top: 8px; }
.app-tabpane > .app-actions { margin-top: 20px; }
.app-rowhead { margin-bottom: 0; }
.app-lead + .app-card, .app-lead + .app-stack { margin-top: 20px; }
.people .asset { padding-left: 0; padding-right: 0; }
.people .asset:first-child { border-top: none; }
#inviteHelp { margin-top: 12px; }
#btnShareInvite { margin-top: 12px; }

/* loading skeleton instead of a bare sentence */
.skel { display: block; border-radius: 12px; background: linear-gradient(90deg, var(--soft), #EDEDE6, var(--soft)); background-size: 200% 100%; animation: skel 1.2s linear infinite; }
.skel-h { height: 44px; width: 70%; } .skel-p { height: 18px; width: 45%; margin-top: 14px; } .skel-card { height: 120px; margin-top: 24px; }
@keyframes skel { to { background-position: -200% 0; } }
.empty { text-align: center; padding: 28px 16px; }
.empty p { margin-bottom: 14px; }
@media (max-width: 560px) {
  .app-pane { padding-top: 20px; }
  .app-actions .btn { flex: 1 1 auto; }
}
.app-bar .brand { min-height: 44px; }
@media (max-width: 560px) { .app-tab { padding: 7px 12px; } .app-tabs { gap: 2px; } }
@media (max-width: 420px) { .app-bar .brand-name { display: none; } }

.sel-sm { font: inherit; font-size: 15px; min-height: 44px; padding: 0 12px; border: 2px solid var(--ink); border-radius: 12px; background: var(--white); color: var(--ink); }
.feed-row { align-items: center; flex-wrap: nowrap; }
.feed-ic { font-size: 20px; width: 32px; text-align: center; flex: none; }
.feed-tx { flex: 1; min-width: 0; }
.feed-row .muted { white-space: nowrap; }
@media (max-width: 560px) { .app-tabs { -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); padding-right: 28px; } }

/* Home: prototype look */
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.home-main > * + * { margin-top: 20px; }
.home-main > .app-balance { margin-top: 10px; }
.home-main > .app-lead { margin-top: 10px; }
.home-side { position: sticky; top: 84px; }
.app-balance { font-size: clamp(36px, 8vw, 68px); line-height: 1; letter-spacing: -.035em; }
.app-balance .amt { background: linear-gradient(transparent 52%, var(--lime) 52%); padding: 0 4px; }
.burn { box-shadow: var(--shadow); }
.burn .v { font-size: clamp(22px, 4.6vw, 34px); }
.chip-warn { background: var(--yellow); border-color: var(--ink); color: var(--ink); }
.paybar { display: flex; height: 18px; border: 3px solid var(--ink); border-radius: 999px; overflow: hidden; background: var(--soft); }
.paybar span { display: block; height: 100%; }
.paybar span + span { border-left: 3px solid var(--ink); }
.paylist { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; }
.onb { background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.onb-h { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--sky); border-bottom: 3px solid var(--ink); }
.onb-h strong { flex: 1; font-size: 15px; }
.onb-dot { width: 12px; height: 12px; border-radius: 50%; background: #3D8B40; border: 2px solid var(--ink); flex: none; }
.onb-x { font: inherit; font-size: 24px; line-height: 1; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; margin: -8px -8px -8px 0; }
.onb-list { list-style: none; margin: 0; padding: 8px 14px 12px; }
.onb-list li { display: flex; align-items: center; gap: 12px; padding: 4px 0; min-height: 44px; font-weight: 600; font-size: 15px; }
.onb-list li.done { color: var(--text-2); text-decoration: line-through; }
.onb-step { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; text-align: left; font: inherit; font-weight: 600; font-size: 15px; background: none; border: 0; cursor: pointer; padding: 0; color: var(--ink); }
.onb-step.next span:last-child { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.onb-tick { flex: none; width: 24px; height: 24px; border: 3px solid var(--ink); border-radius: 8px; display: grid; place-items: center; font-size: 14px; font-weight: 800; background: var(--white); }
.onb-tick.on { background: var(--lime); }
.onb-step.next .onb-tick { box-shadow: 2px 2px 0 var(--ink); }
.btn-ic { padding-left: 12px; padding-right: 12px; min-width: 44px; justify-content: center; }
.nn-short { display: none; }
@media (max-width: 900px) { .home-grid { grid-template-columns: minmax(0, 1fr); } .home-side { position: static; order: -1; } }
@media (max-width: 560px) { .nn-long { display: none; } .nn-short { display: inline; } .app-bar { gap: 8px; } }

.say-list { list-style: none; margin: 14px 0 0; padding: 0; }
.say-list li { display: grid; grid-template-columns: 170px 1fr auto; gap: 4px 14px; align-items: baseline; padding: 11px 0; border-top: 2px solid var(--soft); }
.say-list li:first-child { border-top: 0; }
.say-t { font-weight: 700; }
.say-q { color: var(--text-2); }
.say-n { font-family: var(--mono); font-size: 12px; color: var(--text-2); background: var(--soft); border-radius: 6px; padding: 2px 6px; }
@media (max-width: 640px) { .say-list li { grid-template-columns: 1fr; } .say-n { justify-self: start; } }
.mt6 { margin-top: 6px; }

.sum { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; }
.sum-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-weight: 600; }
.sum-row b { margin-left: auto; }
.sum-col .sum-row:has(.amt) { display: block; }
@media (max-width: 640px) { .sum { grid-template-columns: 1fr; } }

.del-link { align-self: center; color: var(--orange-text); min-height: 44px; }

/* Audit fixes: air under headings inside cards, roomier stat boxes, tables that fit a phone */
.app-card .app-rowhead { margin-bottom: 14px; }
.burn > div { padding: 18px 20px; }
.burn .v { font-size: clamp(20px, 2.6vw, 30px); overflow-wrap: anywhere; line-height: 1.1; margin-top: 6px; }
.app-card > .eyebrow + .small { margin-top: 10px; }
.when-sm { display: none; }
@media (max-width: 560px) {
  .app-tbl th:nth-child(3), .app-tbl td:nth-child(3) { display: none; }
  .when-sm { display: block; }
  .burn > div { padding: 16px 18px; }
}

.home-main, .home-side { min-width: 0; }
.asset .muted, .paylist .who, .sum-row span { overflow-wrap: anywhere; min-width: 0; }

.paylist .who { white-space: normal; flex-wrap: wrap; }
@media (max-width: 560px) {
  .paylist { flex-direction: column; }
  .app-tbl td, .app-tbl th { padding-left: 12px; padding-right: 12px; }
  .app-tbl td:first-child { white-space: normal; overflow-wrap: anywhere; min-width: 0; }
  .app-tbl td.r { white-space: nowrap; }
}
.app-tbl .who { white-space: normal; overflow-wrap: anywhere; min-width: 0; }
/* On a phone the cost table becomes a list of cards: name and amount on top, who paid underneath. */
@media (max-width: 560px) {
  .app-tbl, .app-tbl tbody { display: block; min-width: 0; width: 100%; }
  .app-tbl thead { display: none; }
  .app-tbl tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; padding: 14px 16px; border-top: 2px solid #E6E5DF; align-items: start; }
  .app-tbl tr:first-child { border-top: 0; }
  .app-tbl td { display: block; padding: 0; border: 0; width: auto; }
  .app-tbl td:nth-child(1) { grid-column: 1; grid-row: 1; }
  .app-tbl td:nth-child(4) { grid-column: 2; grid-row: 1; text-align: right; }
  .app-tbl td:nth-child(2) { grid-column: 1; grid-row: 2; margin-top: 8px; }
  .app-tbl td:nth-child(5) { grid-column: 2; grid-row: 2; margin-top: 8px; text-align: right; }
}

.payb { margin-left: 10px; vertical-align: middle; font-size: 14px; }
.err { color: var(--orange-text); font-size: 14px; font-weight: 600; }

.rec { padding: 12px 0; border-top: 1px solid #E6E6DF; display: flex; flex-direction: column; gap: 6px; }
.rec:first-of-type { border-top: 0; }
.rec-hash { word-break: break-all; }
