/* Stitch c424f71b441d40e79efdf2f076023bf7: screen composition only.
   The existing complete-snapshot print renderer has no tv-stitch-account root. */
@media screen {
  .tv-stitch-pending-ledger {background:#f3f7fb;padding:24px;border-radius:12px;display:grid;gap:18px;}
  .tv-stitch-pending-ledger :is(h1,h2,h3,p) {margin:0;}
  .tv-stitch-pending-context {display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:0 2px 12px;border-bottom:1px solid var(--tv-border,#c7d4e2);color:var(--tv-text-muted,#4d6178);font-size:12px;}
  .tv-stitch-pending-header {display:flex;justify-content:space-between;align-items:center;gap:20px;background:#fff;border:1px solid var(--tv-border,#c7d4e2);border-radius:12px;padding:22px;}
  .tv-stitch-pending-header > div:first-child {display:grid;gap:7px;min-width:0;}
  .tv-stitch-pending-header h1 {font-size:26px;letter-spacing:-.035em;line-height:1.2;}
  .tv-stitch-pending-header p:last-child {color:var(--tv-text-muted,#4d6178);font-size:13px;overflow-wrap:anywhere;}
  .tv-stitch-pending-ledger .tv-stitch-account-kicker {font-size:11px;letter-spacing:.09em;text-transform:uppercase;font-weight:650;color:#31506f;}
  .tv-stitch-pending-ledger .tv-stitch-account-actions {max-width:58%;justify-content:flex-end;}
  .tv-stitch-pending-ledger .tv-stitch-account-actions button {min-height:40px;}
  .tv-stitch-pending-balances {display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;}
  .tv-stitch-pending-balance {display:grid;gap:8px;min-width:0;padding:16px 18px;background:#fff;border:1px solid var(--tv-border,#c7d4e2);border-left:3px solid #006cba;border-radius:10px;}
  .tv-stitch-pending-balance span {font-size:11px;font-weight:650;letter-spacing:.06em;text-transform:uppercase;color:var(--tv-text-muted,#4d6178);}
  .tv-stitch-pending-balance strong {font-size:20px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;}
  .tv-stitch-pending-balance small {font-size:12px;color:var(--tv-text-muted,#4d6178);}
  .tv-stitch-pending-search {display:grid;grid-template-columns:minmax(0,1fr);gap:6px;padding:14px 16px;background:#fff;border:1px solid var(--tv-border,#c7d4e2);border-radius:10px;}
  .tv-stitch-pending-search label {display:grid;gap:6px;font-size:12px;font-weight:650;color:#31506f;}
  .tv-stitch-pending-search input {min-height:42px;width:100%;}
  .tv-stitch-pending-search small {color:var(--tv-text-muted,#4d6178);font-size:11px;}
  .tv-stitch-pending-search-feedback {color:#31506f;font-size:11px;font-variant-numeric:tabular-nums;}
  .tv-stitch-pending-main {min-width:0;}
  .tv-stitch-pending-main .tv-customer-section {background:#fff;border:1px solid var(--tv-border,#c7d4e2);border-radius:12px;overflow:hidden;}
  .tv-stitch-pending-main .tv-customer-section-head {padding:18px 20px;border-bottom:1px solid var(--tv-border,#c7d4e2);}
  .tv-stitch-pending-main .tv-customer-section-head p {margin-top:5px;color:var(--tv-text-muted,#4d6178);font-size:12px;}
  .tv-stitch-pending-main .tv-customer-section > :not(.tv-customer-section-head) {margin:0;padding:14px 18px;}
  .tv-stitch-pending-main .tv-customer-table-wrap {overflow-x:auto;max-width:100%;}
  .tv-stitch-pending-main table {min-width:1000px;table-layout:fixed;}
  .tv-stitch-pending-main th:nth-child(1),.tv-stitch-pending-main td:nth-child(1){width:16%;}
  .tv-stitch-pending-main th:nth-child(2),.tv-stitch-pending-main td:nth-child(2){width:16%;}
  .tv-stitch-pending-main th:nth-child(3),.tv-stitch-pending-main td:nth-child(3){width:13%;}
  .tv-stitch-pending-main th:nth-child(4),.tv-stitch-pending-main td:nth-child(4){width:15%;}
  .tv-stitch-pending-main th:nth-child(5),.tv-stitch-pending-main td:nth-child(5){width:20%;}
  .tv-stitch-pending-main th:nth-child(6),.tv-stitch-pending-main td:nth-child(6){width:20%;}
  .tv-stitch-pending-main td:nth-child(2)>div,.tv-stitch-pending-main td:nth-child(5)>div{display:grid;gap:4px;line-height:1.4;}
  .tv-stitch-pending-main td:nth-child(4),.tv-stitch-pending-main td:nth-child(5)>div>strong,.tv-stitch-pending-main td:nth-child(6)>strong{white-space:nowrap;font-variant-numeric:tabular-nums;}
  .tv-stitch-pending-main :is(th,td) {padding:12px 14px;vertical-align:top;}
  .tv-stitch-pending-main td {font-size:12px;}
  .tv-stitch-pending-ledger .tv-customer-pager {padding:12px 18px!important;border-top:1px solid var(--tv-border,#c7d4e2);}
  .tv-stitch-pending-ledger .tv-customer-account-footer {display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 12px;border-top:1px solid var(--tv-border,#c7d4e2);padding-top:14px;color:var(--tv-text-muted,#4d6178);font-size:12px;line-height:1.5;}
  @media(max-width:900px) {.tv-stitch-pending-header{align-items:flex-start;flex-direction:column;}.tv-stitch-pending-ledger .tv-stitch-account-actions{max-width:none;justify-content:flex-start;}}
  @media(max-width:620px) {.tv-stitch-pending-ledger{padding:12px;gap:12px;}.tv-stitch-pending-header{padding:16px;}.tv-stitch-pending-header h1{font-size:23px;}.tv-stitch-pending-balances{grid-template-columns:1fr;}.tv-stitch-pending-balance{padding:13px 14px;}.tv-stitch-pending-main .tv-customer-section-head{padding:14px;}.tv-stitch-pending-main .tv-customer-section>:not(.tv-customer-section-head){padding:10px;}}
  .tv-stitch-account {background:var(--tv-surface-muted,#f3f7fb);padding:24px;border-radius:12px;display:grid;gap:24px;}
  .tv-stitch-account :is(h1,h2,h3,p) {margin:0;}
  .tv-stitch-account h1 {font-size:26px;letter-spacing:-.035em;line-height:1.2;}
  .tv-stitch-account h2 {font-size:16px;line-height:1.4;}
  .tv-stitch-account h3 {font-size:14px;}
  .tv-stitch-account-context {display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;border-bottom:1px solid var(--tv-border,#c7d4e2);padding-bottom:12px;color:var(--tv-text-muted,#4d6178);font-size:12px;}
  .tv-stitch-account-header {display:flex;justify-content:space-between;gap:24px;align-items:center;background:#fff;border:1px solid var(--tv-border,#c7d4e2);border-radius:12px;padding:24px;}
  .tv-stitch-account-header > div:first-child {display:grid;gap:8px;min-width:0;flex:1;}
  .tv-stitch-account-header p {font-size:13px;color:var(--tv-text-muted,#4d6178);}
  .tv-stitch-account .tv-stitch-account-kicker {font-size:11px;letter-spacing:.09em;text-transform:uppercase;font-weight:650;}
  .tv-stitch-account-actions {display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;max-width:55%;}
  .tv-stitch-account-actions button {font-size:12px;min-height:40px;padding:8px 12px;}
  .tv-stitch-account-metrics {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;}
  .tv-stitch-account-metric {display:grid;gap:12px;padding:20px;background:#fff;border:1px solid var(--tv-border,#c7d4e2);border-radius:12px;min-width:0;}
  .tv-stitch-account-metric > span {text-transform:uppercase;letter-spacing:.06em;font-size:11px;color:var(--tv-text-muted,#4d6178);font-weight:600;}
  .tv-stitch-account-metric > strong {font-size:22px;font-variant-numeric:tabular-nums;line-height:1.25;overflow-wrap:anywhere;}
  .tv-stitch-account-metric > small {color:var(--tv-text-muted,#4d6178);}
  .tv-stitch-account-metric:nth-child(2) > strong {color:#0f766e;}
  .tv-stitch-account-metric:last-child {border-color:#fed7aa;}
  .tv-stitch-account-metric:last-child > strong {color:#c2410c;}
  .tv-stitch-account-unavailable {padding:20px;background:#fff7ed;border:1px solid #fed7aa;border-radius:12px;}
  .tv-stitch-account-layout {display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:24px;align-items:start;}
  .tv-stitch-account-main,.tv-stitch-account-sidebar {display:grid;gap:20px;min-width:0;}
  .tv-stitch-account :is(.tv-customer-section,.tv-customer-account-identity) {background:#fff;border:1px solid var(--tv-border,#c7d4e2);border-radius:12px;min-width:0;overflow:hidden;}
  .tv-stitch-account .tv-customer-section-head {padding:20px;border-bottom:1px solid var(--tv-border,#c7d4e2);}
  .tv-stitch-account .tv-customer-section-head p {color:var(--tv-text-muted,#4d6178);font-size:12px;margin-top:6px;line-height:1.5;}
  .tv-stitch-account .tv-customer-section > :not(.tv-customer-section-head) {margin:16px;}
  .tv-stitch-account .tv-customer-account-identity {padding:20px;display:grid;gap:14px;}
  .tv-stitch-account .tv-customer-info {display:grid;gap:4px;min-width:0;overflow-wrap:anywhere;}
  .tv-stitch-account .tv-customer-info > span {color:var(--tv-text-muted,#4d6178);font-size:12px;}
  .tv-stitch-account .tv-customer-info > strong {font-weight:550;font-size:13px;}
  .tv-stitch-account .tv-customer-ledger-tabs {display:flex;gap:8px;flex-wrap:wrap;padding:8px;background:white;border:1px solid var(--tv-border,#c7d4e2);border-radius:10px;}
  .tv-stitch-account .tv-customer-ledger-tab {border:0;background:transparent;}
  .tv-stitch-account .tv-customer-ledger-tab.active {background:var(--tv-brand-soft,#e8f3fc);color:var(--tv-brand-hover,#005799);}
  .tv-stitch-account .tv-customer-ledger-tab {display:grid;gap:4px;text-align:left;justify-content:start;flex:1;min-width:150px;}
  .tv-stitch-account .tv-customer-ledger-tab small {font-size:11px;color:var(--tv-text-muted,#4d6178);font-weight:400;}
  .tv-stitch-account :is(.table-wrap,.tv-customer-table-wrap) {overflow-x:auto;max-width:100%;}
  .tv-stitch-account table {min-width:780px;}
  .tv-stitch-account :is(th,td) {padding:14px 16px;vertical-align:top;}
  .tv-stitch-account td {font-size:13px;}
  .tv-stitch-account td small {display:block;color:var(--tv-text-muted,#4d6178);margin-top:4px;}
  .tv-stitch-account td:first-child {min-width:140px;}
  .tv-stitch-account td:nth-child(2) strong {white-space:nowrap;}
  .tv-stitch-account .tv-customer-action-readiness {display:grid;gap:16px;}
  .tv-stitch-account .tv-customer-action-readiness > div {display:grid;gap:8px;}
  .tv-stitch-account .tv-customer-action-readiness small {display:block;color:var(--tv-text-muted,#4d6178);margin-top:4px;}
  .tv-stitch-account .tv-customer-ref {color:var(--tv-brand,#006cba);font-weight:600;}
  .tv-stitch-account :is(.tv-customer-pager,.tv-customer-pager > div) {display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;align-items:center;}
  .tv-stitch-account :is(.tv-customer-empty,.tv-customer-detail-loading) {display:grid;gap:8px;padding:16px;color:var(--tv-text-muted,#4d6178);}
  .tv-stitch-account :is(.tv-customer-control-grid,.tv-customer-evidence-grid) {display:grid;gap:16px;}
  .tv-stitch-account .tv-customer-account-footer {display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 12px;border-top:1px solid var(--tv-border,#c7d4e2);padding-top:16px;color:var(--tv-text-muted,#4d6178);font-size:12px;line-height:1.5;}
  .tv-stitch-account .tv-customer-statement-cards {display:none;}
  .tv-stitch-account .tv-customer-equations {padding:16px;display:grid;gap:12px;font-variant-numeric:tabular-nums;}
  .tv-stitch-account .tv-customer-equations > div {display:grid;gap:6px;}
  .tv-stitch-account :is(.tv-customer-receipt-disclosure,.tv-customer-ledger-evidence-disclosure) {min-width:0;background:#fff;border:1px solid var(--tv-border,#c7d4e2);border-radius:8px;overflow:hidden;}
  .tv-stitch-account :is(.tv-customer-receipt-disclosure,.tv-customer-ledger-evidence-disclosure) > summary {display:grid;gap:4px;padding:13px 16px;cursor:pointer;list-style:none;color:var(--tv-text,#19324a);}
  .tv-stitch-account :is(.tv-customer-receipt-disclosure,.tv-customer-ledger-evidence-disclosure) > summary::-webkit-details-marker {display:none;}
  .tv-stitch-account :is(.tv-customer-receipt-disclosure,.tv-customer-ledger-evidence-disclosure) > summary::after {content:"Show details";color:var(--tv-brand,#006cba);font-size:11px;font-weight:650;}
  .tv-stitch-account :is(.tv-customer-receipt-disclosure,.tv-customer-ledger-evidence-disclosure)[open] > summary {border-bottom:1px solid var(--tv-border,#c7d4e2);}
  .tv-stitch-account :is(.tv-customer-receipt-disclosure,.tv-customer-ledger-evidence-disclosure)[open] > summary::after {content:"Hide details";}
  .tv-stitch-account .tv-customer-receipt-disclosure > .tv-customer-section {margin:12px;}
  .tv-stitch-account .tv-customer-ledger-evidence-content {display:grid;gap:12px;padding:12px;}
  /* OpenDesign receivables reference: tighter account hierarchy and ledger rows. */
  .tv-stitch-account {padding:16px;gap:16px;border-radius:8px;}
  .tv-stitch-account-header {gap:16px;padding:18px;border-radius:8px;}
  .tv-stitch-account-metrics {gap:10px;}
  .tv-stitch-account-metric {gap:8px;padding:14px 16px;border-radius:8px;}
  .tv-stitch-account-layout,.tv-stitch-account-main,.tv-stitch-account-sidebar {gap:16px;}
  .tv-stitch-account :is(.tv-customer-section,.tv-customer-account-identity) {border-radius:8px;}
  .tv-stitch-account .tv-customer-section-head {padding:14px 16px;}
  .tv-stitch-account .tv-customer-section > :not(.tv-customer-section-head) {margin:12px;}
  .tv-stitch-account .tv-customer-account-identity {padding:16px;gap:10px;}
  .tv-stitch-account :is(.table-wrap,.tv-customer-table-wrap) {border-radius:8px;}
  .tv-stitch-account :is(th,td) {padding:10px 12px;}
  /* The fixed 240px shell and page gutters consume width before this grid does. */
  @media(max-width:1500px) {.tv-stitch-account-header{align-items:flex-start;flex-direction:column;}.tv-stitch-account-actions{max-width:none;justify-content:flex-start;}.tv-stitch-account-layout{grid-template-columns:1fr;}.tv-stitch-account-sidebar{grid-template-columns:repeat(2,minmax(0,1fr));}}
  @media(max-width:650px) {
    .tv-stitch-account{padding:12px;gap:16px;}
    .tv-stitch-account-header{padding:16px;}
    .tv-stitch-account-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
    .tv-stitch-account-metric{padding:12px;}
    .tv-stitch-account-metric > strong{font-size:18px;}
    .tv-stitch-account-sidebar{grid-template-columns:1fr;}
    .tv-stitch-account .tv-customer-table-wrap{overflow-x:visible;}
    .tv-stitch-account .tv-customer-table{display:block;width:100%;min-width:0;table-layout:auto;}
    .tv-stitch-account .tv-customer-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
    .tv-stitch-account .tv-customer-table tbody{display:grid;gap:8px;padding:4px;}
    .tv-stitch-account .tv-customer-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr);padding:7px 9px;background:#fff;border:1px solid var(--tv-border,#c7d4e2);border-radius:8px;}
    .tv-stitch-account .tv-customer-table tbody td{display:grid;grid-template-columns:minmax(64px,.65fr) minmax(0,1.35fr);align-items:start;gap:8px;min-width:0;padding:6px 2px;border-bottom:1px solid #e8eef4;white-space:normal;overflow-wrap:anywhere;}
    .tv-stitch-account .tv-customer-table tbody td:last-child{border-bottom:0;}
    .tv-stitch-account .tv-customer-table tbody td::before{content:attr(data-label);color:var(--tv-text-muted,#4d6178);font-size:10px;font-weight:650;line-height:1.35;}
    .tv-stitch-account .tv-customer-table tbody td > div{min-width:0;overflow-wrap:anywhere;}
  }
}
