/* Adapted from Stitch screen 90f91a71f1ef4b0e9e02eeb414ce5e29.
   No invented approval threshold, accounts, draft-save or journal preview. */
.modal:has(.tv-stitch-reversal){width:min(960px,calc(100vw - 32px));max-width:calc(100vw - 32px);}
.tv-stitch-reversal{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;background:var(--tv-surface-muted,#f3f7fb);padding:20px;}
.tv-stitch-reversal > section{background:white;padding:20px;border:1px solid var(--tv-border,#c7d4e2);border-radius:12px;min-width:0;}
.tv-stitch-reversal h3{font-size:18px;margin:0 0 20px;}
.tv-stitch-reversal .tv-receipt-info{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--tv-border,#c7d4e2);overflow-wrap:anywhere;}
.tv-stitch-reversal .modal-grid{display:grid;gap:16px;}
.tv-stitch-reversal label{display:grid;gap:8px;font-weight:600;}
.tv-stitch-reversal :is(input,textarea){width:100%;}
.tv-stitch-reversal :is(.tax-return-boundary-note,.tv-stitch-reversal-preserved){margin-top:20px;padding:16px;border:1px solid var(--tv-info-border,#8295aa);background:var(--tv-brand-soft,#e8f3fc);border-radius:8px;}
.tv-stitch-reversal p{font-size:13px;line-height:1.6;color:var(--tv-text-muted,#4d6178);margin:8px 0 0;}
.tv-stitch-reversal .form-errors{grid-column:1/-1;padding:16px;background:#fff1f2;color:#9f1239;border-radius:8px;}
@media(max-width:640px){.tv-stitch-reversal{grid-template-columns:1fr;padding:12px;}.tv-stitch-reversal > section{padding:16px;}}
.drawer.tv-stitch-composer-shell {display:grid;width:min(680px,100vw);max-width:100vw;height:min(calc(100dvh - 20px),980px);max-height:calc(100dvh - 20px);min-height:0;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;}
.tv-stitch-composer-shell .drawer-body {padding:0;overflow-x:hidden;overflow-y:auto;min-height:0;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scroll-padding-block:16px;}
.tv-stitch-composer-shell .drawer-header {display:grid;grid-template-columns:minmax(0,1fr) 40px;align-items:center;gap:4px 12px;padding:16px 20px;background:white;border-bottom:1px solid var(--tv-border,#c7d4e2);min-width:0;}
.tv-stitch-composer-shell .drawer-title {grid-column:1;grid-row:1;min-width:0;}
.tv-stitch-composer-shell .drawer-title h2 {margin:0;color:var(--tv-text,#122c46);font-size:20px;line-height:1.25;letter-spacing:-.02em;overflow-wrap:anywhere;}
.tv-stitch-composer-shell .drawer-title p {margin:4px 0 0;color:var(--tv-text-muted,#4d6178);font-size:13px;line-height:1.45;overflow-wrap:anywhere;}
.tv-stitch-composer-shell .drawer-header .icon-btn {grid-column:2;grid-row:1;display:grid;place-items:center;width:40px;height:40px;min-width:40px;margin:0;padding:0;border:1px solid var(--tv-border,#c7d4e2);border-radius:10px;background:white;color:var(--tv-text,#122c46);cursor:pointer;}
.tv-stitch-composer-shell .drawer-header .icon-btn > .icon {display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.tv-stitch-composer-shell .drawer-header .icon-btn:focus-visible {outline:3px solid var(--tv-focus,#8ab9e5);outline-offset:2px;}
.tv-stitch-composer-shell .drawer-footer {padding:16px 24px max(16px,env(safe-area-inset-bottom));background:white;border-top:1px solid var(--tv-border,#c7d4e2);min-width:0;}
.tv-stitch-composer-shell :is(input,select,textarea,button,summary,[tabindex]) {scroll-margin-block:20px;}
.tv-stitch-composer {display:block;background:#fff;padding:0 24px 24px;}
.tv-stitch-composer[data-stitch-screen="90f91a71f1ef4b0e9e02eeb414ce5e29"] {min-width:0;color:var(--tv-text,#122c46);}
.tv-stitch-composer .tv-stitch-composer-steps {display:flex;gap:12px;justify-content:space-between;list-style:none;padding:18px 0;margin:0;border-bottom:1px solid var(--tv-border,#c7d4e2);color:var(--tv-text-muted,#4d6178);font-size:12px;font-weight:600;}
.tv-stitch-composer .tv-receipt-create-main {display:block;}
.tv-stitch-composer .tv-receipt-create-card {padding:24px 0;border-bottom:1px solid var(--tv-border,#c7d4e2);}
.tv-stitch-composer .tv-receipt-create-card-head {margin-bottom:16px;}
.tv-stitch-composer h3 {font-size:16px;margin:0 0 8px;color:var(--tv-text,#122c46);}
.tv-stitch-composer p {margin:8px 0;color:var(--tv-text-muted,#4d6178);}
.tv-stitch-composer .tv-receipt-create-grid,.tv-stitch-composer .tv-receipt-create-shared-slip {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.tv-stitch-composer .tv-receipt-create-field {display:grid;align-content:start;gap:7px;min-width:0;margin:0;}
.tv-stitch-composer .tv-receipt-create-field:has(input[type=file]) {grid-column:1/-1;}
.tv-stitch-composer .tv-receipt-create-field > span {font-size:13px;font-weight:600;}
.tv-stitch-composer .tv-receipt-create-field > :is(input,select,textarea) {width:100%;}
.tv-stitch-composer small {color:var(--tv-text-muted,#4d6178);font-size:12px;line-height:1.5;}
.tv-stitch-composer .tv-receipt-create-customer-combobox {position:relative;}
.tv-stitch-composer .tv-receipt-create-customer-results {max-height:240px;overflow-y:auto;border:1px solid var(--tv-border,#c7d4e2);border-radius:8px;margin-top:8px;}
.tv-stitch-composer .tv-receipt-create-customer-results button {display:flex;width:100%;text-align:left;justify-content:flex-start;border:0;border-bottom:1px solid var(--tv-border,#c7d4e2);border-radius:0;}
.tv-stitch-composer .tv-receipt-create-customer-selection {display:grid;gap:4px;padding:12px;margin-top:12px;background:var(--tv-surface-muted,#f3f7fb);border:1px solid var(--tv-border,#c7d4e2);border-radius:8px;}
.tv-stitch-composer details {margin-top:16px;border:1px solid var(--tv-border,#c7d4e2);background:var(--tv-surface-muted,#f3f7fb);border-radius:8px;padding:12px;}
.tv-stitch-composer summary {cursor:pointer;font-weight:600;color:#334155;}
.tv-stitch-composer details[open] > :not(summary) {margin-top:12px;}
.tv-stitch-composer .tv-payment-proof-preview {display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;margin-top:12px;}
.tv-stitch-composer .tv-payment-proof-preview img {width:64px;height:80px;object-fit:contain;}
.tv-stitch-composer .tv-payment-proof-preview > div {display:grid;gap:6px;overflow-wrap:anywhere;}
.tv-stitch-composer .tv-receipt-create-summary {margin-top:24px;border:1px solid var(--tv-border,#c7d4e2);background:var(--tv-surface-muted,#f3f7fb);border-radius:10px;padding:16px;}
.tv-stitch-composer .tv-receipt-create-summary-lines {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.tv-stitch-composer .tv-receipt-create-summary-lines > div {display:grid;gap:6px;min-width:0;}
.tv-stitch-composer .tv-receipt-create-summary-lines strong {font-variant-numeric:tabular-nums;overflow-wrap:anywhere;}
.tv-stitch-composer .tv-receipt-create-errors {margin-top:16px;padding:16px;border:1px solid #fda4af;background:#fff1f2;border-radius:8px;color:#9f1239;}
.tv-stitch-composer .tv-receipt-create-errors[data-recovery-state="payment-retry"] {border-color:#b87514;border-inline-start:4px solid #b87514;background:#fff8e8;color:#49330f;}
.tv-stitch-composer .tv-receipt-create-errors[data-recovery-state="payment-retry"] > strong {display:block;font-size:15px;line-height:1.35;}
.tv-stitch-composer .tv-receipt-create-errors[data-stitch-screen="98c16ad391c1445d8158c2228f122559"] {padding:18px 20px;border-radius:12px;box-shadow:0 1px 3px rgb(16 35 56 / 7%);}
.tv-stitch-composer .tv-receipt-create-errors[data-stitch-screen="98c16ad391c1445d8158c2228f122559"] > strong {font-size:16px;letter-spacing:-.01em;}
.tv-stitch-composer .tv-receipt-create-errors[data-stitch-screen="98c16ad391c1445d8158c2228f122559"] .tv-receipt-retry-status {font-size:14px;}
.tv-stitch-composer .tv-receipt-create-errors[data-stitch-screen="98c16ad391c1445d8158c2228f122559"] .tv-receipt-retry-next-step {padding:10px 12px;border:1px solid #e8d4aa;border-radius:8px;background:rgb(255 255 255 / 70%);}
.tv-stitch-composer .tv-receipt-create-errors[data-stitch-screen="98c16ad391c1445d8158c2228f122559"] ul {margin:12px 0 0;padding-inline-start:20px;}
.tv-stitch-composer[data-submission-state="outcome-unconfirmed"] .tv-stitch-composer-steps,
.tv-stitch-composer[data-submission-state="outcome-unconfirmed"] .tv-receipt-create-main > .tv-receipt-create-card,
.tv-stitch-composer[data-submission-state="outcome-unconfirmed"] > .tv-receipt-create-summary {display:none;}
.tv-stitch-composer[data-submission-state="outcome-unconfirmed"] .tv-receipt-create-main {display:block;}
.tv-stitch-composer[data-submission-state="outcome-unconfirmed"] .tv-receipt-create-errors {margin:20px 0;padding:18px;border:1px solid #edcf79;border-radius:12px;background:#fff9e8;color:#49330f;}
.tv-stitch-composer[data-submission-state="outcome-unconfirmed"] .tv-receipt-create-errors > strong {display:block;font-size:17px;line-height:1.35;}
.tv-stitch-composer[data-submission-state="outcome-unconfirmed"] .tv-receipt-retry-status {margin:8px 0;color:#724315;line-height:1.55;}
.tv-stitch-composer[data-submission-state="outcome-unconfirmed"] .tv-receipt-retry-next-step {padding:10px 12px;border:1px solid #ead9aa;border-radius:8px;background:#fffdf7;color:#55452e;line-height:1.5;}
.tv-stitch-composer .tv-receipt-retry-snapshot {display:grid;gap:14px;margin-top:16px;padding:16px;border:1px solid #dce5ef;border-radius:12px;background:#fff;color:var(--tv-text,#15221f);}
.tv-stitch-composer .tv-receipt-retry-snapshot-head {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid var(--tv-border,#d5e0da);color:#31445e;}
.tv-stitch-composer .tv-receipt-retry-snapshot-head > strong {flex:1 1 180px;min-width:0;font-size:13px;letter-spacing:.04em;text-transform:uppercase;}
.tv-stitch-composer .tv-receipt-retry-snapshot-head > span {flex:none;padding:5px 8px;border-radius:6px;background:var(--tv-surface-muted,#f3f7fb);color:var(--tv-text-muted,#4d6178);font-size:11px;font-weight:700;}
.tv-stitch-composer .tv-receipt-retry-detail-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.tv-stitch-composer .tv-receipt-retry-detail {display:grid;align-content:start;gap:5px;min-width:0;padding:11px 12px;border:1px solid var(--tv-border,#c7d4e2);border-radius:8px;background:var(--tv-surface-muted,#f3f7fb);}
.tv-stitch-composer .tv-receipt-retry-detail-label {display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;color:var(--tv-text-muted,#5d6b67);font-size:12px;}
.tv-stitch-composer .tv-receipt-retry-locked-label {display:inline-flex;align-items:center;gap:5px;flex:none;color:#138777;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;}
.tv-stitch-composer .tv-receipt-retry-lock-mark {position:relative;display:inline-block;width:10px;height:8px;margin-top:3px;border-radius:2px;background:currentColor;}
.tv-stitch-composer .tv-receipt-retry-lock-mark::before {position:absolute;top:-5px;left:2px;width:6px;height:6px;border:1.5px solid currentColor;border-bottom:0;border-radius:5px 5px 0 0;content:"";box-sizing:border-box;}
.tv-stitch-composer .tv-receipt-retry-detail > strong {overflow-wrap:anywhere;font-size:13px;line-height:1.4;font-variant-numeric:tabular-nums;}
.tv-stitch-composer .tv-receipt-retry-detail.is-truncated > strong {display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.tv-stitch-composer .tv-receipt-retry-detail.is-wide {grid-column:1/-1;}
.tv-stitch-composer .tv-receipt-retry-allocation,.tv-stitch-composer .tv-receipt-retry-proof {display:grid;gap:9px;min-width:0;}
.tv-stitch-composer .tv-receipt-retry-allocation h3,.tv-stitch-composer .tv-receipt-retry-proof h3 {margin:0;color:var(--tv-text-muted,#4d6178);font-size:12px;letter-spacing:.02em;}
.tv-stitch-composer .tv-receipt-retry-invoice {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 12px;padding:11px 12px;border:1px solid var(--tv-border,#c7d4e2);border-radius:8px;background:var(--tv-surface-muted,#f3f7fb);}
.tv-stitch-composer .tv-receipt-retry-invoice strong {overflow-wrap:anywhere;font-size:13px;}
.tv-stitch-composer .tv-receipt-retry-invoice-copy,.tv-stitch-composer .tv-receipt-retry-invoice-amount {display:grid;gap:3px;min-width:0;}
.tv-stitch-composer .tv-receipt-retry-invoice-copy span {text-align:left;color:var(--tv-text-muted,#4d6178);font-size:12px;line-height:1.4;}
.tv-stitch-composer .tv-receipt-retry-invoice-amount {justify-items:end;text-align:right;}
.tv-stitch-composer .tv-receipt-retry-invoice-amount strong {font-variant-numeric:tabular-nums;}
.tv-stitch-composer .tv-receipt-retry-invoice-amount span {color:var(--tv-text-muted,#4d6178);font-size:12px;line-height:1.4;}
.tv-stitch-composer .tv-receipt-retry-allocation > p,.tv-stitch-composer .tv-receipt-retry-credit {margin:0;padding:10px 12px;border-radius:8px;background:var(--tv-surface-muted,#f8faf9);color:var(--tv-text-muted,#4d6178);font-size:12px;line-height:1.5;font-variant-numeric:tabular-nums;}
.tv-stitch-composer .tv-receipt-retry-proof {grid-template-columns:64px minmax(0,1fr);align-items:center;gap:4px 12px;padding:12px;border:1px solid var(--tv-border,#c7d4e2);border-radius:8px;background:var(--tv-surface-muted,#f3f7fb);}
.tv-stitch-composer .tv-receipt-retry-proof h3 {grid-column:1/-1;}
.tv-stitch-composer .tv-receipt-retry-proof > .tv-receipt-retry-proof-limit {grid-column:1/-1;margin:0;color:var(--tv-text-muted,#4d6178);font-size:11px;line-height:1.45;}
.tv-stitch-composer .tv-receipt-retry-proof img {display:block;width:64px;height:72px;max-width:100%;border:1px solid var(--tv-border,#d5e0da);border-radius:6px;background:white;object-fit:contain;}
.tv-stitch-composer .tv-receipt-retry-proof > div {display:grid;gap:5px;min-width:0;}
.tv-stitch-composer .tv-receipt-retry-proof > div > strong {overflow-wrap:anywhere;font-size:12px;}
.tv-stitch-composer .tv-receipt-retry-proof > div > span {color:var(--tv-text-muted,#4d6178);font-size:11px;line-height:1.45;}
@media(min-width:901px){
 .drawer-host.is-open:has(> .tv-stitch-composer-shell .tv-stitch-composer[data-submission-state="outcome-unconfirmed"]) > .tv-stitch-composer-shell .drawer-header{padding:16px 24px;}
 .tv-stitch-composer[data-submission-state="outcome-unconfirmed"] .tv-receipt-create-errors{margin:12px 0;padding:14px;}
 .tv-stitch-composer[data-submission-state="outcome-unconfirmed"] .tv-receipt-retry-status{margin:4px 0 0;line-height:1.45;}
 .tv-stitch-composer .tv-receipt-retry-snapshot{gap:10px;margin-top:12px;padding:12px;}
 .tv-stitch-composer .tv-receipt-retry-snapshot-head{gap:8px;padding-bottom:8px;}
 .tv-stitch-composer .tv-receipt-retry-detail-grid{gap:8px;}
 .tv-stitch-composer .tv-receipt-retry-detail{padding:8px 12px;}
 .tv-stitch-composer .tv-receipt-retry-invoice{padding:9px 12px;}
 .tv-stitch-composer .tv-receipt-retry-allocation>p,.tv-stitch-composer .tv-receipt-retry-credit{padding:8px 12px;}
 .tv-stitch-composer .tv-receipt-retry-proof{padding:9px;}
 .tv-stitch-composer .tv-receipt-retry-proof img{width:56px;height:60px;}
}
.tv-stitch-composer-shell:has(.tv-stitch-composer[data-submission-state="outcome-unconfirmed"]) .drawer-title h2 {font-size:19px;}
.tv-stitch-composer-shell:has(.tv-stitch-composer[data-submission-state="outcome-unconfirmed"]) .drawer-footer .btn {width:100%;min-height:48px;}
.tv-stitch-composer-shell:has(.tv-stitch-composer[data-submission-state="outcome-unconfirmed"]) .drawer-footer .btn:not(.btn-primary) {display:none;}
.tv-stitch-composer .tv-receipt-retry-status,.tv-stitch-composer .tv-receipt-retry-next-step {margin:8px 0 0;line-height:1.55;}
.tv-stitch-composer .tv-receipt-retry-next-step {padding-top:8px;border-top:1px solid #e8d4aa;font-weight:600;}
.tv-stitch-composer .tv-receipt-field-error {display:block;color:#9f1239;font-size:12px;font-weight:600;line-height:1.45;}
.tv-stitch-composer [aria-invalid=true] {border-color:#be123c;outline:2px solid #fecdd3;outline-offset:1px;}
.tv-stitch-composer[data-submission-state="outcome-unconfirmed"] .tv-receipt-create-errors {border-color:#f59e0b;background:#fffbeb;color:#78350f;}
.tv-stitch-composer[data-submission-state="correction-needed"] .tv-receipt-create-errors {border-color:#fda4af;background:#fff1f2;color:#9f1239;}
.tv-stitch-composer .tv-receipt-allocation-toggle {margin-bottom:12px;}
.tv-stitch-composer .tv-receipt-create-card:has(.tv-receipt-allocation-toggle[aria-expanded=false]) .tv-payment-allocation-tools {display:none;}
.tv-stitch-composer .tv-payment-allocation-tools {display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px;}
.tv-stitch-composer .tv-receipt-create-invoice-list {display:grid;gap:10px;margin-top:12px;}
.tv-stitch-composer .tv-receipt-create-invoice {display:grid;grid-template-columns:20px minmax(0,1fr) 135px;gap:12px;padding:14px;border:1px solid var(--tv-border,#c7d4e2);border-radius:8px;align-items:start;}
.tv-stitch-composer .tv-receipt-create-invoice-copy {display:grid;gap:4px;overflow-wrap:anywhere;}
.tv-stitch-composer .tv-receipt-create-invoice-copy span {font-size:12px;color:var(--tv-text-muted,#4d6178);}
.tv-stitch-composer .tv-receipt-create-invoice-outstanding {grid-column:2;display:grid;gap:4px;font-size:12px;}
.tv-stitch-composer .tv-receipt-create-invoice > .tv-receipt-create-field {grid-column:3;grid-row:1/3;}
.tv-stitch-composer .tv-receipt-create-invoice.is-selected {background:var(--tv-brand-soft,#e8f3fc);border-color:var(--tv-info-border,#8295aa);}
[data-stitch-screen="ad03828d882d4d8daa89e450176b344c"]:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){padding:20px 0;border-top:1px solid var(--tv-border,#c7d4e2);}
[data-stitch-screen="ad03828d882d4d8daa89e450176b344c"] .tv-receipt-create-card-head:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){display:flex;align-items:flex-start;gap:12px;}
[data-stitch-screen="ad03828d882d4d8daa89e450176b344c"] .tv-receipt-create-invoice-list:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){border-top:1px solid var(--tv-border,#c7d4e2);}
.tv-stitch-composer input[type=checkbox] {width:18px;height:18px;}
.tv-stitch-composer [hidden] {display:none;}
@media(max-width:540px){
 .drawer-host.is-open .drawer.tv-stitch-composer-shell{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0;}
 .tv-stitch-composer-shell .drawer-header{grid-template-columns:minmax(0,1fr) 40px;padding:12px 16px;}
 .tv-stitch-composer-shell .drawer-footer{padding:10px 16px max(10px,env(safe-area-inset-bottom));}
 .tv-stitch-composer-shell .drawer-footer > *{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;}
 .tv-stitch-composer{padding:0 16px 16px;}
 .tv-stitch-composer .tv-stitch-composer-steps{gap:8px;font-size:11px;}
 .tv-stitch-composer .tv-receipt-create-grid,.tv-stitch-composer .tv-receipt-create-shared-slip,.tv-stitch-composer .tv-receipt-create-summary-lines{grid-template-columns:1fr;}
 .tv-stitch-composer .tv-receipt-retry-detail-grid{grid-template-columns:1fr;}
 .tv-stitch-composer .tv-receipt-retry-detail.is-wide{grid-column:auto;}
 .tv-stitch-composer .tv-receipt-retry-invoice{grid-template-columns:minmax(0,1fr);}
 .tv-stitch-composer .tv-receipt-retry-invoice-copy span,.tv-stitch-composer .tv-receipt-retry-invoice-amount span{text-align:left;}
 .tv-stitch-composer .tv-receipt-retry-invoice-amount{justify-items:start;text-align:left;}
 .tv-stitch-composer .tv-receipt-create-invoice{grid-template-columns:20px minmax(0,1fr);}
 .tv-stitch-composer .tv-receipt-create-invoice > .tv-receipt-create-field{grid-column:2;grid-row:auto;}
}
@media(max-height:560px){
 .drawer.tv-stitch-composer-shell{height:100dvh;max-height:100dvh;margin:0;border-radius:0;}
 .tv-stitch-composer-shell .drawer-header{padding-block:8px;min-height:48px;}
 .tv-stitch-composer-shell .drawer-footer{padding-block:8px;}
}
.tv-stitch-composer[data-submission-state="outcome-unconfirmed"] .tv-receipt-create-errors{padding:18px 20px;border-color:var(--tv-warning-border,#e8c98e);background:var(--tv-warning-soft,#fff3db);color:var(--tv-warning-ink,#49330f);}
.tv-stitch-composer .tv-receipt-retry-banner-head{display:flex;align-items:center;justify-content:space-between;gap:12px;}
.tv-stitch-composer .tv-receipt-retry-banner-head > strong{font-size:16px;line-height:1.35;}
.tv-stitch-composer .tv-receipt-retry-banner-head > span{flex:none;padding:5px 9px;border:1px solid var(--tv-warning-border,#e8c98e);border-radius:999px;background:var(--tv-warning-soft,#fff3db);color:var(--tv-warning,#7b4b00);font-size:11px;font-weight:700;}
.tv-stitch-composer[data-submission-state="outcome-unconfirmed"] .tv-receipt-retry-status{color:#86501a;}
.tv-stitch-composer[data-submission-state="outcome-unconfirmed"] .tv-receipt-retry-next-step{border-color:#f0e2bd;background:#fffdf7;color:#55452e;}
/* Stitch's uncertain-payment design is a centered verification dialog, not a
   right-side composer drawer. Keep it in the existing overlay/focus manager. */
.drawer-host.is-open:has(> .tv-stitch-composer-shell .tv-stitch-composer[data-submission-state="outcome-unconfirmed"]) {align-items:center;justify-content:center;padding:24px;}
.drawer-host.is-open:has(> .tv-stitch-composer-shell .tv-stitch-composer[data-submission-state="outcome-unconfirmed"]) > .tv-stitch-composer-shell {width:min(680px,calc(100vw - 48px));max-width:calc(100vw - 48px);height:min(920px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);margin:0;border:1px solid #dce5ef;border-radius:16px;box-shadow:0 24px 64px rgb(15 35 58 / 22%);}
.drawer-host.is-open:has(> .tv-stitch-composer-shell .tv-stitch-composer[data-submission-state="outcome-unconfirmed"]) > .tv-stitch-composer-shell .drawer-header {padding:20px 24px;background:#fff;}
.drawer-host.is-open:has(> .tv-stitch-composer-shell .tv-stitch-composer[data-submission-state="outcome-unconfirmed"]) > .tv-stitch-composer-shell .drawer-footer {display:grid;justify-items:stretch;gap:10px;padding:16px 24px 20px;}
body #tv-app > .app-shell .drawer-host.is-open:has(> .tv-stitch-composer-shell .tv-stitch-composer[data-submission-state="outcome-unconfirmed"]) > .tv-stitch-composer-shell > .drawer-body {padding:0;background:#fff;}
.tv-receipt-retry-footer-note:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){margin:0 auto;max-width:600px;color:var(--tv-text-muted,#667991);font-size:12px;line-height:1.5;text-align:center;}
@media(max-width:900px){.drawer-host.is-open:has(> .tv-stitch-composer-shell .tv-stitch-composer[data-submission-state="outcome-unconfirmed"]) {padding:16px;}.drawer-host.is-open:has(> .tv-stitch-composer-shell .tv-stitch-composer[data-submission-state="outcome-unconfirmed"]) > .tv-stitch-composer-shell {width:min(680px,calc(100vw - 32px));max-width:calc(100vw - 32px);height:min(900px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);}}
@media(max-width:540px){.drawer-host.is-open:has(> .tv-stitch-composer-shell .tv-stitch-composer[data-submission-state="outcome-unconfirmed"]) {align-items:stretch;justify-content:stretch;padding:0;}.drawer-host.is-open:has(> .tv-stitch-composer-shell .tv-stitch-composer[data-submission-state="outcome-unconfirmed"]) > .tv-stitch-composer-shell {width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;}}
@media(max-width:540px){
 .tv-stitch-composer .tv-receipt-retry-banner-head{align-items:flex-start;flex-direction:column;gap:8px;}
 .tv-stitch-composer[data-submission-state="outcome-unconfirmed"] .tv-receipt-create-errors{padding:14px;}
 .tv-stitch-composer .tv-receipt-retry-detail.is-truncated > strong{overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere;}
}
