.verify-same{background:#e2f4e7!important;color:#23663a!important;border-radius:5px;padding:3px 6px!important}.verify-different{background:#fbe3e3!important;color:#a02d34!important;border-radius:5px;padding:3px 6px!important}.payment-duplicate,.payment-conflict{background:#fff0f0!important}.reconciliation-links{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:11px;margin:3px 0}.reconciliation-links button,.reconciliation-links a{font-size:11px!important}.reconciliation-list{max-height:60dvh;overflow:auto}.reconciliation-entry{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:8px 0;padding:10px;border:1px solid #e3e6ea;border-radius:10px;font-size:13px}.reconciliation-entry small{grid-column:1/-1}.reconciliation-entry button{grid-column:1/-1}#cloud-ocr-form label{display:block;margin:10px 0}#cloud-ocr-form input[type=checkbox]{width:auto}#cloud-ocr-form input:not([type=checkbox]){display:block;width:100%}

@layer bk-payments {
 .cash-row-actions,.cash-row-actions .reconciliation-links{display:inline-flex!important;flex-flow:row nowrap!important;align-items:center;gap:4px;margin:0!important}
 tr[data-cash-payment] td{white-space:nowrap}
 tr[data-cash-payment] td:nth-child(2){max-width:clamp(100px,28vw,480px);overflow:hidden;text-overflow:ellipsis}
 tr[data-cash-payment] td:nth-child(2) :is(a,button){display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .pay-action{display:inline-grid!important;place-items:center;vertical-align:middle;padding:2px!important;width:26px;min-width:26px!important;height:26px;min-height:26px!important;font-size:15px!important;line-height:1!important;border-radius:6px;color:inherit}
 .pay-action svg{width:16px;height:16px}
 .receipt-review-card.pay-full-match,.receipt-review-card.pay-full-match .receipt-order,tr.pay-full-match,tr.pay-full-match>td{background:#e3f4e8!important}
 :is(.pay-action,.receipt-target)[data-tone=green],.receipt-target[data-tone=green] .receipt-target-icon{color:#137444!important;background:#d3efdc!important}
 :is(.pay-action,.receipt-target)[data-tone=amber],.receipt-target[data-tone=amber] .receipt-target-icon{color:#8f5700!important;background:#ffedb5!important}
 :is(.pay-action,.receipt-target)[data-tone=neutral],.receipt-target[data-tone=neutral] .receipt-target-icon{color:#718078!important;background:#edf0ef!important}
 [data-tone] svg{color:inherit!important}
 .verify-different,.verify-different :is(a,button){background:#ffe2da!important;color:#9e3024!important}
 .receipt-review-card .reconciliation-links:empty{display:none!important}
}

@layer bk-payments {
 .bk-action-glyph{display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box;vertical-align:middle;min-width:28px!important;width:28px!important;min-height:28px!important;height:28px!important;padding:3px!important;font-size:0!important;gap:0!important}
 .bk-action-glyph>span:not(:has(svg)){font-size:0!important}
 .bk-action-glyph::before{content:attr(data-glyph);font:600 17px/1 system-ui}
 .bk-action-glyph svg{width:17px;height:17px;flex:none}
 @media(pointer:coarse){.bk-action-glyph,.pay-action{min-width:32px!important;min-height:32px!important}}
}

@layer bk-payments{
 nav .bk-nav-icon{display:inline-flex;align-items:center;justify-content:center;font-size:0!important;padding:5px 8px!important;gap:3px;min-width:34px}
 nav .bk-nav-icon svg{width:18px;height:18px}
 nav .bk-nav-icon .nav-badge{font-size:10px!important}
 @media(min-width:800px){
  .receipt-grid.view-list .receipt-order{grid-template-areas:"main meta actions"!important;grid-template-columns:minmax(0,1fr) auto auto!important;gap:8px!important}
  .receipt-grid.view-list .receipt-info-meta,.receipt-grid.view-list .receipt-info-main{flex-wrap:nowrap!important}
  .receipt-grid.view-list .receipt-client{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
  .receipt-grid.view-list .receipt-amount{white-space:nowrap;flex:none}
  .receipt-grid.view-list .receipt-feedback:not(:empty){grid-column:1/-1}
 }
 @media(max-width:650px){
  .table-wrap:has([data-cash-payment]) table,.table-wrap:has([data-cash-payment]) tbody{width:100%!important;min-width:0!important;display:block}
  .table-wrap:has([data-cash-payment]) thead{display:none}
  tr[data-cash-payment]{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:4px 6px;border-bottom:1px solid #dde2e0}
  tr[data-cash-payment] td{border:0;padding:1px 3px!important;min-width:0}
  tr[data-cash-payment] td:nth-child(2){grid-area:1/1;max-width:none}
  tr[data-cash-payment] td:nth-child(4){grid-area:1/2;text-align:right}
  tr[data-cash-payment] td:first-child{grid-area:2/1;font-size:10px}
  tr[data-cash-payment] td:nth-child(3){grid-area:3/1;font-size:11px}
  tr[data-cash-payment] td:last-child{grid-area:2/2/4/3;justify-self:end}
 }
}

@layer bk-payments {
 #detail:has(.cash-compare){width:min(760px,calc(100vw - 16px))!important;max-height:90dvh!important;overflow:auto!important;box-sizing:border-box}
 .cash-compare{min-width:0;color:#242a31}
 .cash-compare header,.cash-compare footer,.cash-compare #reconcile-search,.cmp-doc{display:flex!important;align-items:center;gap:8px}
 .cash-compare header{padding-right:30px;flex-wrap:wrap}.cash-compare header h2{margin:0}.cash-compare header>span,.cmp-doc small,.cmp-hint{color:#5e6872;font-size:12px}
 .cash-compare #reconcile-search{margin:12px 0!important;max-width:340px;gap:4px}
 .cash-compare #reconcile-search input{flex:1;min-width:0;margin:0!important;height:32px!important;min-height:32px!important}
 .cash-compare #reconcile-search button{width:32px;height:32px;min-height:32px;padding:6px}.cash-compare #reconcile-search svg{width:16px;height:16px}
 .cash-compare .cmp-table{width:100%;min-width:0!important;table-layout:fixed;border-collapse:collapse;font-size:13px}
 .cmp-table :is(th,td){padding:6px 5px!important;text-align:left;vertical-align:middle;overflow-wrap:anywhere;border-bottom:1px solid #e6e9eb}
 .cmp-table th:nth-child(1){width:23%}.cmp-table th:nth-child(3){width:18%}.cmp-table th:nth-child(4){width:23%}
 .cmp-table thead{color:#66717b;font-size:11px}.cmp-table :is(th,td):last-child{text-align:right;font-variant-numeric:tabular-nums}
 .cmp-table .cmp-local{background:#edf2f6;font-weight:600}
 .cmp-option:not(:has(:disabled)){cursor:pointer}.cmp-option:has(:checked){background:#eaf3ff}.cmp-option[hidden]{display:none!important}
 .cmp-doc input[type=radio]{appearance:auto;width:16px!important;min-width:16px!important;height:16px!important;min-height:16px!important;margin:0!important;accent-color:#1764a3}
 .cmp-doc a{color:#1c5987}.cmp-doc small{display:block;font-size:10px}.cmp-value[data-match=no]{color:#982f23;background:#fff0ea;border-radius:4px;padding:1px 3px}.cmp-value[data-match=unknown]{color:#8a6107}
 .cash-compare footer{border-top:1px solid #dde3e7;margin-top:9px;padding-top:10px;justify-content:space-between}.cmp-link{flex:none}.cmp-more{margin-top:6px}.cmp-empty{font-size:13px}
 :is(.row-actions,.employee-row-actions,.bell-row-actions,.client-request-actions,.receipt-decisions,.cash-row-actions,.staff-system-icons,.reconciliation-links,.order-badges,.order-icons){display:inline-flex;align-items:center!important;align-self:center;gap:4px}
 :is(.order-line,.catalog-row,.client-directory-row,.employee-row,.req-line,.receipt-review-card,.pb-row,.sb-row,.bell-row,.ac-row){align-items:center!important}
 :is(.row-actions,.employee-row-actions,.bell-row-actions,.client-request-actions,.receipt-decisions,.cash-row-actions,.staff-system-icons,.reconciliation-links) :is(button,a){vertical-align:middle}
 :is(.row-actions,.employee-row-actions,.receipt-decisions,.cash-row-actions,.reconciliation-links) svg{display:block;margin:auto}
 @media(max-width:540px){.cash-compare .cmp-table{font-size:12px}.cmp-table :is(th,td){padding:5px 2px!important}.cmp-doc{gap:3px}.cmp-table th:nth-child(1){width:25%}.cmp-table th:nth-child(3){width:22%}.cmp-table th:nth-child(4){width:24%}.cmp-hint{font-size:11px}}
}

@layer bk-payments {
 .cmp-number{font-variant-numeric:tabular-nums;white-space:nowrap}
 .cmp-doc .jd-saby-control,.cmp-doc a{display:inline-flex;align-items:center;vertical-align:middle;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;padding:1px!important}
 .cmp-doc a svg{width:14px;height:14px}
 :is(.order-indicators,.order-signals,.employee-indicators){align-items:center!important;align-self:center;column-gap:4px}
 :is(.order-indicators,.order-signals,.employee-indicators)>:is(a,button,span){align-self:center;vertical-align:middle}
}
@layer bk-payments {
 tr[data-cash-payment] .cash-row-actions {
   display:grid!important;
   grid-template-columns:7.3em auto;
   justify-content:start;
   align-items:center;
   text-align:left;
 }
 tr[data-cash-payment] .cash-row-actions .reconciliation-links {
   display:grid!important;
   grid-template-columns:32px 32px;
   grid-auto-rows:auto;
   justify-items:center;
   align-items:center;
 }
 tr[data-cash-payment] .reconciliation-links > [data-tone] {grid-column:1;grid-row:1;order:-1}
 tr[data-cash-payment] .reconciliation-links > :not([data-tone]) {grid-column:2}
 tr[data-cash-payment] .reconciliation-links > [data-tone] {width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;padding:4px!important;box-sizing:border-box}
}

#detail:has(#staff-saby-choice),#detail:has(#user-form){width:min(540px,calc(100vw - 24px));box-sizing:border-box}
#detail:has(#staff-saby-choice)>.row .eyebrow,#detail:has(#user-form)>.row .eyebrow{visibility:hidden}
#detail .staff-summary{margin:-26px 44px 12px 0;overflow-wrap:anywhere}
#detail .staff-summary small{color:#637080}#detail .staff-summary h2{margin:3px 0}#detail .staff-summary p{margin:3px 0;color:#505e70}
#detail #staff-saby-choice{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:0}
#staff-saby-choice>*{min-width:0;margin:0!important}
#staff-saby-choice .staff-binding{display:grid;gap:2px;background:#f1f5f8;padding:10px 12px;border-radius:9px}
#staff-saby-choice .staff-binding span{color:#546274}
#detail #staff-saby-choice details{padding:5px 0}
#staff-saby-status:empty{display:none}
#staff-saby-choice footer{display:flex;justify-content:flex-end;align-items:center;gap:8px}

.status-dot.blue{background:#deeeff!important;color:#176ab4!important}

#catalog-list .catalog-row:has(.catalog-balances),#catalog-list .catalog-row:has(.catalog-service){display:flex!important;align-items:center;gap:8px;flex-wrap:nowrap}
#catalog-list .catalog-row .catalog-name{min-width:0;flex:1 1 auto}
.catalog-balances{display:inline-grid;grid-template-columns:repeat(3,minmax(5.7ch,1fr)) auto;gap:.55em;align-items:center;text-align:right;font-variant-numeric:tabular-nums;flex:none}
.catalog-balances>span{display:grid;gap:1px}
.catalog-balances small{font:500 10px/1.1 system-ui;color:#64748b;white-space:nowrap}
.catalog-balances b{font:600 13px/1.1 system-ui;color:#192c38}
.catalog-balances i{font:500 11px/1.2 system-ui;color:#546270;max-width:6ch;overflow-wrap:anywhere}
@media(max-width:600px){#catalog-list .catalog-row:has(.catalog-balances){gap:4px}.catalog-balances{gap:4px;grid-template-columns:repeat(3,minmax(4ch,1fr)) auto}.catalog-balances small{font-size:9px}.catalog-balances b{font-size:12px}.catalog-balances i{max-width:4ch}}

.catalog-stock-heading,#catalog-list{--stock-col:clamp(52px,6vw,78px);--stock-menu:28px;--stock-edge:4px}
.catalog-stock-cells{display:grid;grid-template-columns:repeat(3,var(--stock-col));align-items:center;flex:none;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.office .catalog-head.catalog-stock-heading{display:flex!important;justify-content:space-between;align-items:center;gap:4px;padding:3px calc(var(--stock-menu) + var(--stock-edge) + 1px) 3px 8px!important;font-size:10px!important;letter-spacing:0;text-transform:none}
#catalog-list{border-inline:1px solid transparent;box-sizing:border-box}
#catalog-list .jd-catalog-entry{padding:0 var(--stock-edge)!important;gap:0!important;min-height:29px!important}
#catalog-list .jd-catalog-entry>.jd-list-more{position:static!important;flex:0 0 var(--stock-menu)!important;width:var(--stock-menu)!important;margin:0!important}
#catalog-list .catalog-row{display:flex!important;align-items:center;justify-content:space-between;min-height:28px!important;padding:2px 0 2px 4px!important;gap:4px!important}
#catalog-list .catalog-row .catalog-name{flex:1;min-width:0}
#catalog-list .catalog-stock-cells{color:#263849;font-size:12px;line-height:1.25}
#catalog-list .catalog-stock-cells>span:first-child{font-weight:650}
#catalog-list .jd-category-items{padding-right:0!important}
@media(max-width:600px){.catalog-stock-heading,#catalog-list{--stock-col:46px;--stock-menu:24px;--stock-edge:2px}.office .catalog-head.catalog-stock-heading{font-size:9px!important}}

.catalog-sale-unit{font:500 11px/1.1 system-ui;color:#566575;flex:none}
.product-stock-summary{margin:6px 0 12px}
.product-stock-summary .catalog-balances{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;padding:8px;background:#f4f7fa;border-radius:8px;text-align:center}
.stock-trace-body p{font-size:12px}.stock-trace-scroll{overflow-x:auto}.stock-trace-scroll table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px}
.stock-trace-scroll :is(th,td){padding:4px;text-align:right;border-bottom:1px solid #e2e7eb;font-variant-numeric:tabular-nums}
.stock-trace-scroll :is(th,td):first-child{text-align:left}.stock-trace-scroll td:first-child small{display:block;color:#586679}
.stock-trace-scroll td button{font:inherit;padding:2px 4px;min-height:0}

#detail .jd-product-card .jd-product-main{display:grid;grid-template-columns:minmax(70px,106px) minmax(0,1fr);gap:12px}
#detail .jd-product-card .jd-product-photo{width:100%;max-height:106px}.jd-product-photo a{padding:3px}
#detail .jd-product-card .stock-movements{padding:6px 0;margin:6px 0;border:0}
#detail .jd-product-card details{padding-block:4px;margin-block:2px}
.product-recent{font-size:12px}.product-recent>strong{display:block;margin-bottom:4px}
.product-recent-line{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px;padding:4px 0;border-bottom:1px solid #e8ebee}
.product-recent-line time{color:#627280}.product-recent-line button{padding:1px 4px;min-height:0;font:inherit}
@media(max-width:600px){#detail .jd-product-card .jd-product-main{grid-template-columns:64px minmax(0,1fr);gap:8px}.product-recent-line{grid-template-columns:auto minmax(0,1fr)}.product-recent-line b{grid-column:2}}

#submit-order.bk-order-sheet{max-width:800px;width:100%;margin-inline:auto;gap:5px}
#submit-order.bk-order-sheet>section.panel{padding:9px 12px;order:initial}
#submit-order.bk-order-sheet h2{font-size:13px!important;margin:0 0 5px!important}
#submit-order.bk-order-sheet fieldset{min-width:0;padding:0;border:0;margin:0!important}
#submit-order.bk-order-sheet .form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(145px,100%),1fr));gap:5px 8px}
#submit-order.bk-order-sheet label{min-width:0;margin:0;gap:2px}
#submit-order.bk-order-sheet :is(input:not([type=checkbox]),select,textarea){min-width:0;width:100%;box-sizing:border-box}
#submit-order.bk-order-sheet :is(input:not([type=checkbox]),select){min-height:34px;height:34px}
#submit-order.bk-order-sheet #identity-hint:empty{display:none}
#submit-order.bk-order-sheet .order-disclosure{padding:0;border:0;margin:4px 0}
#submit-order.bk-order-sheet .order-disclosure summary{font-size:13px;cursor:pointer;padding:4px 0}
#submit-order.bk-order-sheet .product-picker{margin:4px 0;gap:5px}
#submit-order.bk-order-sheet #wizard-items :is(td,th){padding:3px 5px}
#submit-order.bk-order-sheet #wizard-items .order-total{margin:3px 0;text-align:right}
#submit-order.bk-order-sheet textarea{min-height:34px;padding:7px 9px}
#submit-order.bk-order-sheet .submit-row{margin-top:5px;justify-content:flex-end}
#submit-order.bk-order-sheet [hidden]{display:none!important}
@media(max-width:600px){
 #submit-order.bk-order-sheet>section.panel{padding:8px}
 #submit-order.bk-order-sheet .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #submit-order.bk-order-sheet .form-grid .full{grid-column:1/-1}
 #submit-order.bk-order-sheet .product-picker{display:grid;grid-template-columns:minmax(0,1fr) auto}
 #submit-order.bk-order-sheet #wizard-product-search{grid-column:1/-1}
 #submit-order.bk-order-sheet #wizard-items table,#submit-order.bk-order-sheet #wizard-items tbody{display:block;width:100%}
 #submit-order.bk-order-sheet #wizard-items thead{display:none}
 #submit-order.bk-order-sheet #wizard-items tr{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) auto;align-items:center;border-bottom:1px solid #ddd}
 #submit-order.bk-order-sheet #wizard-items td{width:auto;min-width:0;border:0}
 #submit-order.bk-order-sheet #wizard-items td:first-child{grid-column:1/-1;white-space:normal}
 #submit-order.bk-order-sheet #wizard-items td:nth-child(3)::before{content:"Цена, ₽";font-size:10px}
 #submit-order.bk-order-sheet .submit-row button{width:100%}
}


@layer bk-payments {
 .receipt-grid.view-list .receipt-order {grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"main actions" "meta actions" "ocr ocr"!important;gap:3px 8px!important}
 .receipt-grid.view-list .receipt-ocr-summary {grid-area:ocr!important;min-width:0!important;justify-content:flex-start!important}
 @media(min-width:800px){.receipt-grid.view-list .receipt-order{grid-template-columns:minmax(0,1fr) auto auto!important;grid-template-areas:"main meta actions" "ocr ocr ocr"!important}}
}

@layer bk-payments {
.receipt-folders{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:4px 0 8px;font-size:12px}
.receipt-folder-tabs{display:flex;flex-wrap:wrap;gap:3px}
.receipt-folder-tabs button,.receipt-statement-upload{padding:5px 8px!important;min-height:28px!important;border-radius:7px!important;font-size:12px!important}
.receipt-folder-tabs [aria-selected=true]{background:#dceeff!important;color:#0878cd!important}
.receipt-worker-status{margin-left:auto;font-size:11px;color:#718078}
.receipt-review-card[data-folder-hidden=true]{display:none!important}
.receipt-move{width:30px!important;min-width:30px!important;padding:2px!important;height:28px!important;margin:0!important;cursor:pointer}
.receipt-inline-amount{width:90px!important;padding:4px!important;min-height:28px!important;font-size:14px!important}
.receipt-inline-date{width:126px!important;padding:4px!important;min-height:28px!important;font-size:14px!important}
.receipt-review-card[data-editing] .receipt-amount{overflow:visible!important;width:auto!important}
.receipt-decisions{display:flex!important;align-items:center;gap:3px!important;flex-wrap:nowrap!important}
@media(max-width:650px){.receipt-decisions{flex-wrap:wrap!important;max-width:112px}.receipt-folder-tabs{flex:1 1 100%}.receipt-ocr-summary{font-size:11px!important}}
}

@layer bk-payments { .receipt-folder-tabs button:not([aria-selected=true]),.receipt-statement-upload{background:#edf1f5!important;color:#40566c!important;border:1px solid #e0e6ed!important}.receipt-decisions button[title="Изменить дату и сумму"]{background:#edf1f5!important;color:#40566c!important} }

@layer bk-payments {.receipt-review-card[data-editing] .receipt-decisions>:not([data-inline-save]){display:none!important}}

@layer bk-payments {@media(min-width:800px){.receipt-grid.view-list .receipt-order{grid-template-columns:minmax(0,1fr) 110px 180px!important}.receipt-grid.view-list .receipt-decisions{justify-content:flex-end!important}.receipt-grid.view-list .receipt-info-meta{justify-content:flex-end!important}}}

@layer bk-payments {
.receipt-workspace .receipt-review-card [data-receipt-target],.receipt-workspace .receipt-review-card [data-receipt-decision],.receipt-workspace .receipt-review-card [data-reconciliation-links],.receipt-workspace .receipt-review-card [data-duplicate-warning]{display:none!important}
.receipt-workspace .view-list .receipt-review-card{display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;gap:8px!important;padding:7px 10px!important;align-items:center!important}
.receipt-workspace .view-list .receipt-order{display:grid!important;grid-template-columns:minmax(130px,1fr) 86px 72px!important;gap:3px 10px!important;padding:0!important;align-items:center!important}
.receipt-workspace .view-list .receipt-info-main{display:contents!important}
.receipt-workspace .view-list .receipt-client{grid-column:1;grid-row:1;min-width:0!important}
.receipt-workspace .view-list .receipt-amount{grid-column:2;grid-row:1;text-align:right!important;white-space:nowrap!important;font-size:14px!important;margin:0!important}
.receipt-workspace .view-list .receipt-info-meta{grid-column:1;grid-row:2;display:flex!important;align-items:center!important;gap:4px!important}
.receipt-workspace .view-list .receipt-decisions{grid-column:3;grid-row:1/3;display:flex!important;justify-content:flex-end!important;align-self:center!important;max-width:none!important}
.receipt-workspace .view-list .receipt-ocr-summary,.receipt-workspace .view-list .receipt-duplicate-orders{grid-column:1/3;font-size:11px!important;line-height:1.3!important;overflow-wrap:anywhere}
.receipt-workspace .receipt-delete{color:#bc3434!important;background:#fff0ef!important}
.receipt-workspace .receipt-ocr-value{padding:0 2px!important;min-height:0!important;display:inline!important;background:transparent!important;border:0!important;color:inherit!important;font-size:inherit!important;line-height:inherit!important;text-decoration:underline;cursor:pointer}
.receipt-duplicate-orders:empty,.receipt-feedback:empty{display:none!important}
.receipt-duplicate-orders a{color:#956000;text-decoration:underline}
.receipt-category-menu{position:fixed;z-index:2147483647;min-width:180px;padding:5px;background:#fff;border:1px solid #dce0e6;border-radius:10px;box-shadow:0 10px 36px #0003;display:grid;gap:2px}
.receipt-category-menu button{padding:7px 10px!important;background:transparent!important;text-align:left!important;border:0!important;font-size:13px!important}
.receipt-category-menu button:hover,.receipt-category-menu button:focus{background:#e9f2ff!important}
.payment-card-history{margin-top:12px}.payment-log-entry{padding:4px 0;border-bottom:1px solid #edf0f4}.payment-log-entry pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px}
@media(max-width:520px){.receipt-workspace .view-list .receipt-order{grid-template-columns:minmax(0,1fr) 76px 62px!important;gap:3px 5px!important}.receipt-workspace .view-list .receipt-review-card{grid-template-columns:34px minmax(0,1fr)!important;padding:6px!important}.receipt-workspace .receipt-round{width:27px!important;min-width:27px!important;height:28px!important}.receipt-workspace .receipt-client{font-size:12px!important}}
}

@layer bk-payments {
.receipt-workspace .view-list .receipt-order{grid-template-areas:none!important;min-width:0!important;width:100%!important;box-sizing:border-box!important}
.receipt-workspace .view-list .receipt-info-main{grid-area:auto!important}
.receipt-workspace .view-list .receipt-info-meta{grid-area:auto!important;grid-column:1!important;grid-row:2!important;justify-content:flex-start!important}
.receipt-workspace .view-list .receipt-decisions{position:static!important;transform:none!important;top:auto!important;right:auto!important;grid-area:auto!important;grid-column:3!important;grid-row:1/3!important;flex-wrap:nowrap!important}
.receipt-workspace .view-list .receipt-ocr-summary{grid-area:auto!important;grid-column:1/3!important;grid-row:auto!important}
.receipt-workspace .view-list .receipt-duplicate-orders{grid-column:1/3!important}
.receipt-workspace .view-list .receipt-client{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
}

/* Compact receipts: one baseline, details stay in the available space. */
@layer bk-payments {
.receipt-workspace .view-list .receipt-review-card{grid-template-columns:30px minmax(0,1fr)!important;gap:6px!important;padding:4px 8px!important;min-height:36px!important}
.receipt-workspace .view-list .receipt-order{grid-template-columns:minmax(100px,1fr) 44px 94px minmax(80px,1.3fr) 28px!important;gap:4px 8px!important;align-items:center!important}
.receipt-workspace .view-list .receipt-client{grid-column:1!important;grid-row:1!important}
.receipt-workspace .view-list .receipt-info-meta{grid-column:2!important;grid-row:1!important}
.receipt-workspace .view-list .receipt-amount{grid-column:3!important;grid-row:1!important;min-height:24px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.receipt-workspace .view-list .receipt-decisions{grid-column:5!important;grid-row:1!important}
.receipt-workspace .view-list .receipt-notes{grid-column:4!important;grid-row:1!important;display:flex;align-items:center;gap:8px;min-width:0;overflow-x:auto;white-space:nowrap;scrollbar-width:thin;font-size:11px}
.receipt-workspace .view-list .receipt-ocr-summary{display:flex!important;align-items:center;flex-wrap:nowrap!important;margin:0!important;white-space:nowrap!important}
.receipt-workspace .view-list .receipt-ocr-summary:has(.ocr-file-values) .ocr-explanation{display:none!important}
.receipt-workspace .view-list .receipt-duplicate-orders{flex-shrink:0;white-space:nowrap}
.receipt-workspace .receipt-date[role=button]{cursor:pointer;text-decoration:underline dotted;text-underline-offset:3px}
.receipt-workspace .receipt-delete{width:28px!important;min-width:28px!important;height:28px!important;border-radius:7px!important;padding:0!important;font-size:21px!important;line-height:1!important}
.receipt-workspace .view-list .receipt-file-token{width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important}
.receipt-workspace .view-list .receipt-file-token span{display:none!important}
.receipt-workspace .view-list .receipt-review-card[data-editing] .receipt-order{grid-template-columns:minmax(70px,1fr) 126px 94px minmax(0,1fr) 62px!important}
@media(max-width:650px){
.receipt-workspace .view-list .receipt-order{grid-template-columns:minmax(65px,1fr) 38px 76px 28px!important;gap:2px 4px!important}
.receipt-workspace .view-list .receipt-decisions{grid-column:4!important}
.receipt-workspace .view-list .receipt-notes{grid-column:1/-1!important;grid-row:2!important}
.receipt-workspace .view-list .receipt-review-card[data-editing] .receipt-order{grid-template-columns:minmax(0,1fr) 76px 62px!important}
.receipt-workspace .view-list .receipt-review-card[data-editing] .receipt-client{grid-column:1/3!important}
.receipt-workspace .view-list .receipt-review-card[data-editing] .receipt-info-meta{grid-column:1!important;grid-row:2!important}
.receipt-workspace .view-list .receipt-review-card[data-editing] .receipt-amount{grid-column:2!important;grid-row:2!important}
.receipt-workspace .view-list .receipt-review-card[data-editing] .receipt-decisions{grid-column:3!important;grid-row:1/3!important}
.receipt-workspace .view-list .receipt-review-card[data-editing] .receipt-notes{grid-row:3!important}
}
}

@layer bk-payments {
.receipt-workspace .view-list .receipt-order{grid-template-columns:minmax(100px,190px) 106px 184px minmax(0,1fr) 28px!important;gap:3px 8px!important}
.receipt-workspace .receipt-amount-cell{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-width:0}
.receipt-workspace .view-list .receipt-amount-cell{grid-column:3!important;grid-row:1!important}
.receipt-workspace .view-list .receipt-amount-cell .receipt-amount{flex-shrink:0!important;grid-area:auto!important}
.receipt-workspace .receipt-ocr-diff{color:#b65429;display:inline-flex;align-items:center;gap:3px;font-size:11px;min-width:0;flex-wrap:wrap;line-height:1.3}
.receipt-workspace .receipt-ocr-diff:empty{display:none!important}
.receipt-workspace .receipt-ocr-diff:not(:empty)::before{content:'→';color:#8d969f}
.receipt-workspace .view-list .receipt-info-meta{flex-wrap:wrap!important;min-width:0!important;gap:4px!important}
.receipt-workspace .view-list .receipt-notes{overflow:visible!important;white-space:normal!important;min-width:0!important;display:block!important}
.receipt-workspace .view-list .receipt-duplicate-orders{display:flex!important;flex-wrap:wrap!important;gap:2px 4px!important;white-space:normal!important;overflow-wrap:anywhere!important;min-width:0!important;margin:0!important}
.receipt-workspace .receipt-duplicate-orders:empty{display:none!important}
.receipt-workspace .receipt-ocr-summary{display:none!important}
.receipt-workspace .receipt-review-card[data-editing] .receipt-ocr-diff{display:none!important}
@media(max-width:650px){
.receipt-workspace .view-list .receipt-order{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) 28px!important}
.receipt-workspace .view-list .receipt-client{grid-column:1/3!important;grid-row:1!important}
.receipt-workspace .view-list .receipt-info-meta{grid-column:1!important;grid-row:2!important}
.receipt-workspace .view-list .receipt-amount-cell{grid-column:2!important;grid-row:2!important;flex-wrap:wrap!important;gap:3px!important}
.receipt-workspace .view-list .receipt-decisions{grid-column:3!important;grid-row:1/3!important}
.receipt-workspace .view-list .receipt-notes{grid-column:1/3!important;grid-row:3!important}
.receipt-workspace .view-list .receipt-review-card[data-editing] .receipt-amount-cell{grid-column:2!important;grid-row:2!important}
}
}

@layer bk-control-shape { .receipt-workspace .receipt-review-card[data-folder-hidden="true"]{display:none!important} }

@layer bk-payments {
.receipt-workspace{overflow-x:auto;max-width:100%}
.receipt-workspace .receipt-grid.view-list .receipt-order,.receipt-column-fields{display:grid!important;grid-template-columns:var(--receipt-col-client,250px) var(--receipt-col-date,115px) var(--receipt-col-amount,180px) minmax(var(--receipt-col-duplicates,180px),1fr) 28px!important;gap:3px 8px!important;align-items:center!important}
.receipt-workspace .receipt-grid.view-list{min-width:calc(var(--receipt-col-client,250px) + var(--receipt-col-date,115px) + var(--receipt-col-amount,180px) + var(--receipt-col-duplicates,180px) + 104px)}
.receipt-workspace .receipt-grid.view-list .receipt-client{display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important;white-space:normal!important;overflow:hidden!important;line-height:1.35!important;font-size:12px!important}
.receipt-own-orders{display:inline-flex;gap:4px;flex-wrap:wrap;font-size:11px;font-weight:500;color:#5b728e}
.receipt-own-orders a,.receipt-duplicate-orders a{white-space:nowrap}
.receipt-column-head{display:grid;grid-template-columns:30px minmax(0,1fr);gap:6px;padding:5px 8px;color:#728197;font-size:11px;font-weight:600}
.receipt-column-title{position:relative;min-width:0;padding-right:12px}
.receipt-resizer{position:absolute;right:-5px;top:-5px;width:14px;height:26px;cursor:col-resize;touch-action:none;border-right:1px solid #cdd7e4}
.receipt-resizer:hover,.receipt-resizer:focus{background:#dceafe;outline:none}
.receipt-grid.view-large .receipt-column-head{display:none}
.payment-card-actions,.payment-card-facts,.payment-card-orders{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.payment-card-customer{font-size:17px;font-weight:600;margin:4px 0 8px}.payment-card-facts{color:#60718a;font-size:13px}.payment-card-orders{margin:12px 0}
.payment-card-compact .oc-file-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px;max-height:360px;overflow:auto}
.payment-card-compact .oc-file-grid img{max-width:100%;max-height:300px;object-fit:contain}.payment-card-compact details{padding:10px 0;border-top:1px solid #e7ebf0}.payment-card-compact pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px}.payment-card-delete{margin-top:14px;width:100%;border-radius:8px!important}
@media(max-width:650px){
.receipt-workspace .receipt-grid.view-list{min-width:0}
.receipt-workspace .receipt-grid.view-list .receipt-order{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 28px!important}
.receipt-workspace .receipt-column-head{display:none}
.receipt-workspace .receipt-grid.view-list .receipt-client{grid-column:1/3!important}
.payment-card-compact .oc-head{align-items:center}.payment-card-compact h2{font-size:19px}
}
}
@layer bk-payments {
.receipt-workspace .receipt-grid.view-list .receipt-order,.receipt-column-fields{grid-template-columns:var(--receipt-col-client,250px) var(--receipt-col-date,115px) var(--receipt-col-amount,180px) minmax(var(--receipt-col-orders,180px),1fr) 28px!important}
.receipt-workspace .receipt-grid.view-list{min-width:calc(var(--receipt-col-client,250px) + var(--receipt-col-date,115px) + var(--receipt-col-amount,180px) + var(--receipt-col-orders,180px) + 104px)}
.receipt-workspace .receipt-grid.view-list .receipt-own-orders{grid-column:4!important;grid-row:1!important;display:flex;align-items:center;flex-wrap:wrap;gap:4px;min-width:0}
.receipt-workspace .receipt-grid.view-list .receipt-client{grid-column:1!important;grid-row:1!important}
.receipt-workspace .receipt-grid.view-list .receipt-info-meta{grid-column:2!important;grid-row:1!important}
.receipt-workspace .receipt-grid.view-list .receipt-amount-cell{grid-column:3!important;grid-row:1!important}
.receipt-workspace .receipt-grid.view-list .receipt-decisions{grid-column:5!important;grid-row:1!important}
.receipt-duplicate-count,.receipt-same-warning{display:inline-flex!important;align-items:center;justify-content:center;width:24px!important;min-width:24px!important;height:24px!important;padding:0!important;border-radius:6px!important;background:#fff1ce!important;color:#936615!important;border:0!important;font-size:12px!important}
.receipt-manual-mark{font-size:12px;color:#6485a5;flex-shrink:0}
.receipt-duplicate-list>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px;border-bottom:1px solid #edf0f4}
.receipt-field-editor{max-width:440px}.receipt-field-editor form{display:flex;align-items:center;gap:8px}.receipt-field-editor input{min-width:0;flex:1}.receipt-field-options{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:14px}.receipt-field-options small{width:100%}
@media(max-width:650px){
.receipt-workspace .receipt-grid.view-list{min-width:0}
.receipt-workspace .receipt-grid.view-list .receipt-order{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 28px!important}
.receipt-workspace .receipt-grid.view-list .receipt-client{grid-column:1!important;grid-row:1!important}
.receipt-workspace .receipt-grid.view-list .receipt-own-orders{grid-column:2!important;grid-row:1!important}
.receipt-workspace .receipt-grid.view-list .receipt-info-meta{grid-column:1!important;grid-row:2!important}
.receipt-workspace .receipt-grid.view-list .receipt-amount-cell{grid-column:2!important;grid-row:2!important}
.receipt-workspace .receipt-grid.view-list .receipt-decisions{grid-column:3!important;grid-row:1/3!important}
}
}

@layer bk-payments {.receipt-workspace .receipt-amount.verify-different,.receipt-workspace .receipt-date.verify-different{color:#bd3636!important;background:transparent!important}}
@layer bk-payments {
.receipt-workspace .receipt-grid.view-list .receipt-order,.receipt-column-fields{grid-template-columns:var(--receipt-col-client,180px) var(--receipt-col-orders,110px) var(--receipt-col-alerts,60px) var(--receipt-col-amount,110px) var(--receipt-col-date,58px) 28px!important;justify-content:start!important;column-gap:8px!important}
.receipt-workspace .receipt-grid.view-list{min-width:calc(var(--receipt-col-client,180px) + var(--receipt-col-orders,110px) + var(--receipt-col-alerts,60px) + var(--receipt-col-amount,110px) + var(--receipt-col-date,58px) + 120px)}
.receipt-workspace .receipt-grid.view-list .receipt-own-orders{grid-column:2!important;grid-row:1!important;overflow:visible!important;max-width:none!important}
.receipt-workspace .receipt-grid.view-list .receipt-alerts{grid-column:3!important;grid-row:1!important}
.receipt-workspace .receipt-grid.view-list .receipt-amount-cell{grid-column:4!important;grid-row:1!important}
.receipt-workspace .receipt-grid.view-list .receipt-info-meta{grid-column:5!important;grid-row:1!important}
.receipt-workspace .receipt-grid.view-list .receipt-decisions{grid-column:6!important;grid-row:1!important}
.receipt-alerts{display:flex;align-items:center;gap:3px;flex-wrap:wrap;min-width:0}
.receipt-mismatch-flag{display:inline-flex;align-items:center;justify-content:center;width:20px;height:24px;border-radius:6px;color:#b73931;background:#ffe6e2;font-weight:700}
.receipt-workspace .receipt-amount.verify-different,.receipt-workspace .receipt-date.verify-different{color:#b83232!important;background:#ffe4df!important;border-radius:5px!important;padding:3px 5px!important}
.receipt-workspace .receipt-amount.verify-unchecked,.receipt-workspace .receipt-date.verify-unchecked{color:#906819!important;background:#fff0c9!important;border-radius:5px!important;padding:3px 5px!important}
.receipt-workspace .receipt-grid.view-list .receipt-client{white-space:normal!important}
@media(max-width:650px){
.receipt-workspace .receipt-grid.view-list{min-width:0}
.receipt-workspace .receipt-grid.view-list .receipt-order{grid-template-columns:minmax(0,1fr) auto auto 28px!important;gap:4px 6px!important}
.receipt-workspace .receipt-grid.view-list .receipt-client{grid-column:1/4!important;grid-row:1!important}
.receipt-workspace .receipt-grid.view-list .receipt-own-orders{grid-column:1/3!important;grid-row:2!important}
.receipt-workspace .receipt-grid.view-list .receipt-alerts{grid-column:3!important;grid-row:2!important}
.receipt-workspace .receipt-grid.view-list .receipt-amount-cell{grid-column:1/3!important;grid-row:3!important;justify-content:flex-start!important}
.receipt-workspace .receipt-grid.view-list .receipt-info-meta{grid-column:3!important;grid-row:3!important}
.receipt-workspace .receipt-grid.view-list .receipt-decisions{grid-column:4!important;grid-row:1/4!important}
}
}

/* One scroll container per sheet; topic controls and folders stay outside it. */
@layer bk-payments {
html.apple-office #app .office .receipt-workspace{overflow:visible!important;max-width:100%!important;min-width:0!important}
html.apple-office #app .office .receipt-workspace>.receipt-folders{position:static!important;top:auto!important;z-index:auto!important;display:flex!important;align-items:center!important;flex-wrap:nowrap!important;overflow-x:auto!important;margin:0 0 6px!important;padding:4px 0!important;min-height:34px!important;background:#f5f5f7!important}
html.apple-office #app .office .receipt-workspace .receipt-worker-status{display:none!important}
html.apple-office #app .office .receipt-workspace .receipt-grid{overflow:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable;max-width:100%!important;min-width:0!important;position:relative!important;border:1px solid #dfe3e7!important;border-radius:0!important;background:#fff!important}
html.apple-office #app .office .receipt-workspace .receipt-grid.view-list{display:block!important;padding:0!important}
html.apple-office #app .office .receipt-grid.view-list>.receipt-column-head{display:grid!important;position:sticky!important;top:0!important;z-index:25!important;min-height:34px!important;box-sizing:border-box!important;background:#f8f9fa!important;border-bottom:1px solid #d9dde2!important;margin:0!important;border-radius:0!important}
html.apple-office #app .office .receipt-grid.view-list>:is(.receipt-column-head,.receipt-review-card){min-width:calc(var(--receipt-col-client,180px) + var(--receipt-col-orders,110px) + var(--receipt-col-alerts,60px) + var(--receipt-col-amount,110px) + var(--receipt-col-date,58px) + 120px)!important}
html.apple-office #app .office .receipt-grid.view-list>.receipt-review-card{border-radius:0!important;margin-block:0!important;border-bottom:1px solid #e6e9ed!important}
html.apple-office #app .office .statement-ledger{width:100%!important;min-width:0!important;margin:0!important;padding:0!important}
html.apple-office #app .office .statement-subtabs{display:flex!important;align-items:center!important;gap:4px!important;padding:4px 0 8px!important;min-height:38px!important}
html.apple-office #app .office .statement-subtabs>button{background:transparent!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;font-size:12px!important;padding:6px 12px!important;min-height:30px!important;color:#64748b!important}
html.apple-office #app .office .statement-subtabs>button.active{color:#167749!important;border-bottom-color:#167749!important}
html.apple-office #app .office .statement-scroll{overflow:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable;border:1px solid #d9dde2!important;border-radius:0!important;max-height:calc(100dvh - 220px);background:#fff!important}
html.apple-office #app .office .statement-scroll table{table-layout:fixed!important;border-collapse:separate!important;border-spacing:0!important;width:100%!important;min-width:1068px!important;margin:0!important;font-size:12px!important;line-height:1.25!important}
html.apple-office #app .office .statement-scroll :is(td,th){padding:0 10px!important;height:34px!important;box-sizing:border-box!important;border:0!important;border-right:1px solid #e6e9ed!important;border-bottom:1px solid #e6e9ed!important;text-align:left!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;vertical-align:middle!important;color:#30373e!important;font-variant-numeric:tabular-nums}
html.apple-office #app .office .statement-scroll th{position:sticky!important;top:0!important;z-index:5!important;height:35px!important;background:#f4f6f7!important;color:#5a6571!important;font-weight:500!important;border-bottom-color:#cdd3da!important}
html.apple-office #app .office .statement-scroll .sheet-number{text-align:right!important}
html.apple-office #app .office .statement-scroll .sheet-index{color:#84909b!important;text-align:right!important;background:#f8f9fa!important}
html.apple-office #app .office .statement-scroll tr.statement-linked{background:#f0f8f2!important}
html.apple-office #app .office .statement-scroll tbody tr:hover{background:#edf3fa!important}
html.apple-office #app .office .sheet-payment{display:flex!important;align-items:center!important;gap:4px!important;min-width:0!important}
html.apple-office #app .office .sheet-payment-link{flex:1;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;text-align:left!important;font:inherit!important;color:#23754c!important;background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important;min-height:28px!important;min-width:0!important}
html.apple-office #app .office .sheet-payment-link:hover{text-decoration:underline}
html.apple-office #app .office .statement-tools{display:flex!important;align-items:center!important;gap:3px!important;position:relative!important;flex-wrap:nowrap!important}
html.apple-office #app .office .sheet-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;max-width:28px!important;padding:5px!important;border:0!important;border-radius:4px!important;box-shadow:none!important;background:transparent!important;color:#627080!important;flex:0 0 28px!important;cursor:pointer}
html.apple-office #app .office .sheet-icon svg{width:17px!important;height:17px!important;display:block!important}
html.apple-office #app .office .sheet-icon:hover{background:#e5e9ed!important;color:#273642!important}
html.apple-office #app .office .sheet-icon.active{background:#e0efe6!important;color:#147244!important}
html.apple-office #app .office .sheet-icon:disabled{opacity:.3;cursor:default}
html.apple-office #app .office .sheet-icon:focus-visible{outline:2px solid #4489d4!important;outline-offset:1px}
html.apple-office #app .office .statement-page{font-size:10px!important;color:#7b8793!important;white-space:nowrap!important;font-variant-numeric:tabular-nums}
html.apple-office #app .office .statement-search-panel{position:absolute;top:34px;right:0;padding:8px;background:#fff;border:1px solid #d9dde2;box-shadow:0 3px 12px #0001;z-index:150}
html.apple-office #app .office .statement-search-panel input{width:210px!important;height:30px!important;font-size:12px!important;padding:4px 8px!important}
html.apple-office #app .office .statement-search-panel[hidden],html.apple-office #app .office .statement-tools input[hidden]{display:none!important}
html.apple-office #app .office .statement-scroll .sheet-empty{text-align:center!important;color:#84909b!important;height:70px!important}
@media(max-width:650px){html.apple-office #app .office:has(.statement-ledger) .page-heading{display:flex!important;flex-wrap:wrap!important;justify-content:space-between!important}html.apple-office #app .office:has(.statement-ledger) .page-actions{width:auto!important;max-width:100%!important}.statement-tools{gap:1px!important}}
}

@layer bk-payments {
html #app #content .receipt-grid.view-list .receipt-file-token{font-size:10px!important;color:#315779!important;font-weight:700!important}

html #app #content .view-list{--check-cols:var(--receipt-col-orders) var(--receipt-col-client) var(--receipt-col-alerts) var(--receipt-col-amount) var(--receipt-col-date) var(--receipt-col-time) 28px}
html #app #content .view-list :is(.receipt-column-fields,.receipt-order){display:grid!important;grid-template-columns:var(--check-cols)!important;grid-template-rows:auto!important;gap:0 6px!important;align-items:center!important;justify-content:start!important;padding:0!important;margin:0!important}
html #app #content .view-list :is(.receipt-review-card:not([hidden]),.receipt-column-head){grid-template-columns:34px minmax(0,1fr)!important;padding-inline:8px!important;column-gap:6px!important;min-width:calc(var(--receipt-col-orders) + var(--receipt-col-client) + var(--receipt-col-alerts) + var(--receipt-col-amount) + var(--receipt-col-date) + var(--receipt-col-time) + 124px)!important}
html #app #content .view-list .receipt-info-meta,html #app #content .view-list .receipt-info-main{display:contents!important}
html #app #content .view-list .receipt-order :is(.receipt-client,.receipt-own-orders,.receipt-alerts,.receipt-amount-cell,.receipt-date,.receipt-time,.receipt-decisions){grid-row:1!important;min-width:0!important}
html #app #content .view-list .receipt-order .receipt-own-orders{grid-column:1!important}
html #app #content .view-list .receipt-order .receipt-client{display:block!important;grid-column:2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html #app #content .view-list .receipt-order .receipt-alerts{grid-column:3!important}
html #app #content .view-list .receipt-order .receipt-amount-cell{grid-column:4!important}
html #app #content .view-list .receipt-order .receipt-date{grid-column:5!important;justify-self:start}
html #app #content .view-list .receipt-order .receipt-time{grid-column:6!important;cursor:pointer;white-space:nowrap;font-variant-numeric:tabular-nums}
html #app #content .view-list .receipt-order .receipt-decisions{grid-column:7!important}
html #app #content .view-list .receipt-column-title{min-width:0;overflow:hidden;white-space:nowrap}
}

@layer bk-payments {
html #app #content .receipt-grid .receipt-date,html #app #content .receipt-grid .receipt-time{font:inherit!important;font-size:11px!important;color:#627080;text-decoration:none!important;border-bottom:0!important}
#detail .jd-value-input,#app #content .jd-value-input{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:2px!important;height:25px!important;min-height:0!important;font:inherit!important;background:#fff!important;color:#243648!important;border:1px solid #4999df!important}
.jd-value-active{min-width:0!important}.jd-embedded-editor{margin-block:8px;padding:8px;border:1px solid #dee5eb;border-radius:6px}
}
/* Keep receipt text, amounts and file actions on a single optical centre. */
@layer bk-control-size {
 html #app #content .receipt-grid.view-list .receipt-review-card:not([hidden]),
 html #app #content .receipt-grid.view-list .receipt-order {
  align-items:center!important;
 }
 html #app #content .receipt-grid.view-list .receipt-review-card
 :is(.receipt-docs,.receipt-order,.receipt-own-orders,.receipt-client,.receipt-alerts,.receipt-amount-cell,.receipt-date,.receipt-time,.receipt-decisions) {
  align-self:center!important;
  margin-block:0!important;
 }
 html #app #content .receipt-grid.view-list .receipt-review-card
 :is(.receipt-own-orders,.receipt-client,.receipt-alerts,.receipt-amount-cell,.receipt-date,.receipt-time,.receipt-decisions,.receipt-docs) {
  display:flex!important;align-items:center!important;min-height:32px!important;
 }
 html #app #content .receipt-grid.view-list .receipt-review-card
 :is(.receipt-file-token,.receipt-own-orders a,.receipt-client .jd-client-link,.receipt-amount,.receipt-date,.receipt-time,.receipt-round) {
  margin-block:0!important;padding-block:0!important;line-height:16px!important;
 }
 html #app #content .receipt-grid.view-list .receipt-client .jd-client-link {
  display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
 }
 html #app #content .receipt-grid.view-list .receipt-review-card [data-user-column-hidden] {display:none!important}
}
@layer bk-control-size {
 html #app #content .receipt-grid.view-list .receipt-client .jd-client-link[role="button"] {
  display:block!important;min-height:0!important;height:auto!important;padding-block:0!important;
  margin-block:0!important;line-height:16px!important;align-self:center!important;
 }
}

/* Only payments created locally from Safe documents receive the import highlight. */
@layer bk-control-size{.office tr[data-cash-payment]{background:transparent!important}.office tr[data-cash-payment].cash-imported-saby{background:#e8f3ff!important}.office .cash-origin{color:#2874b5;font-size:10px;white-space:nowrap;margin-right:6px}.office tr.cash-imported-saby>td{background:transparent!important}}

/* Cash audit: only verified snapshot; financial values remain unchanged. */
@layer bk-control-size {
 .office tr[data-cash-payment].cash-no-safe-match,
 .office tr[data-cash-payment].cash-no-safe-match.cash-imported-saby {background:#ffe5e5!important}
 .office tr[data-cash-payment].cash-no-safe-match>td {background:transparent!important}
}

/* Dedicated statement picker: native modal, never a notification panel. */
dialog.receipt-bank-picker[open]{position:fixed!important;inset:0!important;margin:auto!important;transform:none!important;width:min(840px,calc(100vw - 24px))!important;max-width:none!important;max-height:calc(100dvh - 24px)!important;padding:18px!important;border:1px solid #dfe4eb;border-radius:14px;background:#fff;color:#26384a;box-sizing:border-box;overflow:auto;box-shadow:0 20px 70px #20304433}
dialog.receipt-bank-picker::backdrop{background:#18253555;backdrop-filter:blur(3px)}
.receipt-bank-picker header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.receipt-bank-picker h2{margin:0;font-size:18px}.receipt-bank-picker button{border:1px solid #dde3eb;border-radius:6px;background:#f1f4f8;color:#34516f;padding:7px 10px;cursor:pointer}.receipt-bank-picker [data-close]{width:34px;height:34px;padding:0;font-size:22px}.receipt-bank-picker p{margin:6px 0;font-size:13px;line-height:1.4}.receipt-bank-hint{color:#6b7b8c}.receipt-bank-scroll{max-height:45dvh;overflow:auto;margin-top:10px}.receipt-bank-picker table{width:100%;border-collapse:collapse;table-layout:auto;font-size:13px}.receipt-bank-picker th{position:sticky;top:0;background:#f2f5f9;color:#697a8e;font-weight:500}.receipt-bank-picker td,.receipt-bank-picker th{padding:9px 10px;border-bottom:1px solid #e5eaf0;text-align:left;vertical-align:middle}.receipt-bank-picker td:not(:nth-child(4)){white-space:nowrap}.receipt-bank-picker td:nth-child(3),.receipt-bank-picker th:nth-child(3){text-align:center}.receipt-bank-picker td:nth-child(4){min-width:160px;overflow-wrap:anywhere}.receipt-bank-picker td strong,.receipt-bank-picker td span{display:block}.receipt-bank-picker td strong{font-weight:500}.receipt-bank-picker td span{color:#647589;font-size:12px}.receipt-bank-picker tr[data-bank-choice]{cursor:pointer}.receipt-bank-picker tr[data-bank-choice]:hover{background:#f0f6ff}.receipt-bank-picker tr[aria-selected="true"]{background:#e4f0ff;outline:1px solid #8bbaff;outline-offset:-1px}.receipt-bank-confirm{border-top:1px solid #dce3ed;margin-top:12px;padding-top:10px}.receipt-bank-confirm>div{display:flex;gap:8px;justify-content:center;margin-top:10px}.receipt-bank-picker [data-confirm]{background:#e1efff;color:#0866cc}.receipt-bank-picker [data-error]{color:#bb3434}.receipt-bank-picker [hidden]{display:none!important}@media(max-width:600px){dialog.receipt-bank-picker[open]{padding:12px!important}.receipt-bank-picker td,.receipt-bank-picker th{padding:8px 6px;font-size:12px}.receipt-bank-picker td:nth-child(4){min-width:140px}}

.statement-receipt-links{display:flex;align-items:center;gap:6px;white-space:nowrap;min-width:0}.statement-receipt-links a{overflow:hidden;text-overflow:ellipsis}.statement-drop-active{outline:2px dashed #2684dc;outline-offset:-3px;background:#edf6ff}.statement-scroll th{overflow:visible!important}.statement-scroll td{overflow:hidden;text-overflow:ellipsis}

/* Intake files share compact, aligned columns; missing OCR is never filled from payments. */
#content .receipt-intakes{padding:8px 10px;min-width:0}
#content .receipt-intakes>summary{padding:4px 0;font-size:12px}
#content .group-receipt-inbox{overflow-x:auto;max-width:100%}
#content .receipt-intake-head,#content .receipt-intake-row{display:grid;grid-template-columns:36px minmax(160px,1fr) 90px 56px minmax(190px,1.4fr) minmax(150px,.8fr) 36px;align-items:center;gap:6px;min-width:780px;margin:0;padding:3px 0;border:0;border-bottom:1px solid var(--line,#e0e5ec);font-size:12px;line-height:18px;text-align:left}
#content .receipt-intake-head{font-size:11px;color:var(--muted,#738398);font-weight:600}
#content .receipt-intake-row[hidden]{display:none!important}
#content .receipt-intake-row>span{min-width:0;margin:0}
#content .receipt-intake-client,#content .receipt-intake-status{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#content .receipt-intake-status{color:var(--muted,#738398)}
#content .receipt-intake-amount,#content .receipt-intake-date{text-align:center;font-variant-numeric:tabular-nums}
#content button.receipt-intake-action{display:inline-flex!important;align-items:center;justify-content:center;width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;padding:5px!important;margin:0;border:1px solid var(--line,#e0e5ec);border-radius:7px;background:var(--surface-alt,#f2f5f9);color:var(--accent,#385a7b)}
#content button.receipt-intake-action svg{width:16px;height:16px}
#content .receipt-intake-duplicate .file-duplicate-note{display:flex!important;flex-wrap:nowrap!important;gap:4px!important;margin:0!important;font-size:11px!important;white-space:nowrap;overflow:auto}
#content .receipt-intake-duplicate .file-duplicate-note>*{flex-shrink:0}

/* One table for intake files, receipts and supporting payment documents. */
#content .receipt-grid.view-list .receipt-intakes,#content .receipt-grid.view-list #supporting-payment-files{display:contents;padding:0;border:0;margin:0}
#content .receipt-grid.view-list :is(.receipt-intakes,#supporting-payment-files)[hidden]{display:none!important}
#content .receipt-grid.view-list .receipt-intake-row{display:grid;grid-template-columns:48px minmax(140px,1fr) 135px 140px 110px 65px 65px 40px;gap:0;min-width:0;font-weight:400}
#content .receipt-grid .receipt-intake-row[hidden]{display:none!important}
#content .receipt-intake-row .receipt-alerts,#content .receipt-support-row .receipt-alerts{display:flex;align-items:center;gap:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#content .receipt-intake-row .receipt-intake-status{overflow:hidden;text-overflow:ellipsis;min-width:0}
#content .receipt-intake-duplicate .file-duplicate-note{overflow:hidden!important;white-space:nowrap;max-width:100%}
#content .receipt-intake-duplicate .file-duplicate-note>span{display:none}
#content .receipt-grid .receipt-intakes .receipt-delete{background:transparent}
#content .receipt-grid .receipt-size[hidden]{display:none!important}

/* Uniform compact statement rows: attachments never alter row height. */
html.apple-office #app .office .statement-scroll tbody tr{height:30px!important;min-height:30px!important}
html.apple-office #app .office .statement-scroll td{height:30px!important;box-sizing:border-box!important;padding:3px 8px!important;line-height:20px!important;vertical-align:middle!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html.apple-office #app .office .statement-scroll .sheet-payment,html.apple-office #app .office .statement-scroll .statement-receipt-links{height:24px!important;min-height:0!important;display:flex!important;align-items:center!important;gap:4px!important;flex-wrap:nowrap!important;margin:0!important;padding:0!important}
html.apple-office #app .office .statement-scroll tbody button.sheet-icon,html.apple-office #app .office .statement-scroll tbody [data-sheet-file]{width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;padding:2px!important;line-height:18px!important;flex:0 0 22px!important}
html.apple-office #app .office .statement-scroll tbody .sheet-payment-link,html.apple-office #app .office .statement-scroll tbody a[data-payment-card]{font:inherit!important;line-height:20px!important;height:22px!important;min-height:0!important;padding:0!important;white-space:nowrap!important}
body.statement-page-drop:after{content:'Отпустите выписку для загрузки';position:fixed;inset:8px;z-index:10000;display:grid;place-items:center;pointer-events:none;background:#eef7f8e8;border:2px dashed #54887b;border-radius:14px;color:#28594b;font-size:18px}
#detail:has(.payment-reading-card){width:min(1320px,96vw)!important;max-width:96vw!important;padding:12px!important}
#detail .payment-reading-card{width:100%!important;max-width:none!important;padding:0!important}
.payment-reading-body{display:grid!important;grid-template-columns:minmax(0,1fr) 300px;gap:14px;align-items:start}
.payment-reading-preview{min-width:0;background:#f4f5f6;border-radius:10px;overflow:hidden}
.payment-preview-tabs{display:flex;gap:6px;padding:6px;flex-wrap:wrap}
.payment-preview-tabs button{min-width:64px!important;height:28px!important;min-height:28px!important;padding:3px 8px!important;font-size:11px!important}
.payment-preview-tabs .active{background:#e0efe9!important;color:#28594b!important}
.payment-preview-document{height:calc(88vh - 100px);min-height:300px;overflow:auto;padding:8px;text-align:center}
.payment-preview-document img{display:block;width:100%;height:auto;max-width:none;max-height:none;margin:auto;cursor:zoom-in}
.payment-preview-document iframe{display:block;border:0;width:100%;height:100%;min-height:500px;background:white}
.payment-reading-side{min-width:0;max-height:calc(88vh - 60px);overflow:auto;font-size:12px!important;padding-right:4px}
.payment-reading-side>*{margin:0 0 10px!important}
.payment-reading-side .payment-card-facts{display:flex;flex-wrap:wrap;gap:6px 10px!important;padding:8px!important}
.payment-reading-side .oc-file-grid{display:none!important}
.payment-reading-side .payment-card-history,.payment-reading-side .payment-log-entry{font-size:11px!important;line-height:1.25!important}
.payment-reading-side pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:10px}
.payment-reading-side form{display:grid;gap:6px}
.payment-reading-side input,.payment-reading-side select{max-width:100%;min-width:0;box-sizing:border-box}
.payment-reading-side button{font-size:12px!important;min-height:28px;padding:5px 8px}
@media(max-width:720px){.payment-reading-body{grid-template-columns:minmax(0,1fr)}.payment-reading-side{max-height:none}.payment-preview-document{height:55vh;min-height:240px}.payment-preview-document iframe{min-height:240px}}

/* Telegram receipt import: one centred dialog, equal header actions. */
html body dialog.tg-receipt-import[open]{position:fixed!important;inset:0!important;transform:none!important;margin:auto!important;width:min(480px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;height:fit-content!important;max-height:calc(100dvh - 32px)!important;box-sizing:border-box!important;padding:20px!important;overflow:auto!important;border:1px solid #e5e9ed!important;border-radius:16px!important;text-align:left!important}
html body .tg-receipt-import .tg-import-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0 0 12px!important;padding:0!important}
html body .tg-receipt-import h2{font-size:18px!important;line-height:1.25!important;margin:0!important;padding:0!important;min-width:0}
html body .tg-receipt-import .tg-import-actions{display:grid!important;grid-template-columns:repeat(3,32px)!important;gap:6px!important;flex:none!important}
html body .tg-receipt-import .tg-import-actions button,html body .tg-receipt-import [data-search],html body .tg-receipt-import [data-change]{display:grid!important;place-items:center!important;width:32px!important;min-width:32px!important;max-width:32px!important;height:32px!important;min-height:32px!important;padding:0!important;margin:0!important;border:1px solid #dfe5eb!important;border-radius:8px!important;background:#f3f5f7!important;color:#40566c!important;font-size:18px!important;line-height:1!important;box-sizing:border-box!important}
html body .tg-receipt-import button:disabled{opacity:.4!important;cursor:default!important}
html body .tg-receipt-import [hidden]{display:none!important}
html body .tg-receipt-import .tg-import-hint,html body .tg-receipt-import [data-state],html body .tg-receipt-import [data-result]{font-size:12px!important;line-height:1.45!important;color:#6a7884!important;margin:8px 0!important;padding:0!important}
html body .tg-receipt-import [data-result]:empty{display:none!important}
html body .tg-receipt-import .tg-import-label{display:block!important;font-size:12px!important;margin:12px 0 6px!important;color:#52636d!important}
html body .tg-receipt-import input,html body .tg-receipt-import select{display:block!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;height:38px!important;margin:6px 0 0!important;padding:7px 10px!important;font-size:13px!important;border:1px solid #dfe5eb!important;border-radius:8px!important}
html body .tg-receipt-import .tg-import-state{display:flex;align-items:center;gap:10px}
html body .tg-receipt-import [data-state]{flex:1;min-width:0}
html body .tg-receipt-import .tg-import-search{display:grid!important;grid-template-columns:minmax(0,1fr) 32px!important;gap:8px!important;align-items:center!important}
html body .tg-receipt-import .tg-import-search input{margin:0!important}
html body .tg-receipt-import [data-matches]{display:grid;gap:8px;margin-top:8px}
html body .tg-receipt-import [data-bind]{width:100%!important;min-height:36px!important;margin:0!important;border-radius:8px!important;font-size:13px!important}

.receipt-alerts .receipt-review-reason{display:block;white-space:normal;font-size:11px;line-height:1.3;overflow-wrap:anywhere}.receipt-alerts .text-button{font-size:11px}.receipt-alerts .sheet-icon{width:auto;min-width:28px}

html body .pay-action[data-tone="red"],html body [data-receipt-target][data-tone="red"]{color:#b42332!important;background:#ffe6e8!important;border-color:#f4bbc1!important}html body tr[data-cash-payment].cash-duplicate-match>td{background:#fff0f1!important}

@layer bk-control-size{.office tr[data-cash-payment].pay-full-match{background:#e3f4e8!important}.office tr[data-cash-payment].cash-needs-review:not(.cash-no-safe-match){background:#fff3d6!important}.office tr[data-cash-payment]:is(.pay-full-match,.cash-needs-review)>td{background:transparent!important}}

.cash-compare footer .cmp-actions{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:8px;max-width:100%;}.cash-compare footer .cmp-actions button{min-height:36px;width:100%;margin:0;padding:6px 12px;border-radius:8px;white-space:normal;}
@media(max-width:560px){.cash-compare footer .cmp-actions{width:100%;}.cash-compare footer{flex-wrap:wrap;}}

/* Cash uses a stable status/icon grid regardless of document origin. */
@layer bk-control-size {
 tr[data-cash-payment] td{vertical-align:middle!important;white-space:nowrap;}
 tr[data-cash-payment] .cash-row-actions{display:grid!important;grid-template-columns:7.3em 68px!important;align-items:center!important;gap:6px!important;}
 tr[data-cash-payment] .cash-row-actions .cash-state{grid-column:1;grid-row:1;white-space:nowrap;}
 tr[data-cash-payment] .cash-row-actions .reconciliation-links{grid-column:2;grid-row:1;display:grid!important;grid-template-columns:32px 32px!important;align-items:center!important;gap:4px!important;}
 tr[data-cash-payment] .cash-order-link{font:inherit!important;color:#365b80!important;background:transparent!important;border:0!important;padding:0!important;min-height:0!important;min-width:0!important;text-decoration:none;}
 tr[data-cash-payment] .cash-order-link:hover{text-decoration:underline;}
 tr[data-cash-payment] td:nth-child(4){text-align:center!important;font-variant-numeric:tabular-nums;}
 tr[data-cash-payment] [data-tone="green"]{color:#087b42!important;background:#d4f1df!important;}
}

@layer bk-control-size {
 html body :is(.pay-action,[data-receipt-target])[data-tone="neutral"],html body .saby-dot.neutral,html body #oc-saby-info.muted-icon{color:#87918e!important;background:#edf0ef!important;border-color:transparent!important;}
 [data-saby-attention]{position:relative!important;}
 [data-saby-attention="true"]::after{content:'!';position:absolute;right:-3px;top:-3px;width:12px;height:12px;line-height:12px;text-align:center;border-radius:50%;font-size:10px;font-weight:700;color:#fff;background:#b66a13;pointer-events:none;}
 [data-saby-attention="true"][data-tone="red"]::after{background:#b42332;}
}

/* One receipt viewport and one compact information sidebar. */
#detail:has(.payment-reading-card){height:min(850px,92dvh)!important;max-height:96dvh!important;overflow:hidden!important;box-sizing:border-box}
#detail .payment-reading-card{height:100%;min-height:0;display:flex!important;flex-direction:column;position:relative}
#detail .payment-reading-card>.oc-head{flex:none}
#detail .payment-reading-body{flex:1;min-height:0;grid-template-columns:minmax(0,1fr) minmax(250px,30%);align-items:stretch;overflow:hidden}
#detail .payment-reading-preview{display:flex;flex-direction:column;min-height:0}
#detail .payment-preview-tabs{flex:none;display:flex;gap:6px;overflow:auto}
#detail .payment-preview-document{height:auto;min-height:0;flex:1;overflow:hidden;display:flex;align-items:center;justify-content:center}
#detail .payment-preview-document img{width:100%;height:100%;min-height:0;object-fit:contain;max-width:100%;max-height:100%}
#detail .payment-preview-document iframe{height:100%;min-height:0;width:100%}
#detail .payment-reading-side{height:100%;max-height:none;overflow-y:auto;overflow-x:hidden;overflow-wrap:anywhere}
#detail .payment-reading-side .oc-file-grid{display:grid!important;grid-template-columns:minmax(0,1fr);gap:6px}
#detail .payment-reading-side .jd-file-tile{display:flex;gap:6px;align-items:center;padding:4px;font-size:12px}
#detail .payment-reading-side .jd-file-thumb{display:none}
#detail .payment-reading-side .payment-receipt-preview{display:none!important}
.payment-file-metadata{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 8px;font-size:11px}
.payment-file-metadata dt{color:#7b8796}.payment-file-metadata dd{margin:0;overflow-wrap:anywhere}
#detail .payment-window-resize{position:absolute;bottom:-9px;right:-9px;z-index:3;width:22px!important;height:22px!important;min-height:0;padding:0!important;background:transparent;color:#7b8796;cursor:nwse-resize;touch-action:none;border:0}
@media(max-width:720px){#detail .payment-reading-body{display:flex!important;flex-direction:column;overflow:auto}#detail .payment-reading-preview{height:52dvh;min-height:260px;flex:none}#detail .payment-reading-side{height:auto;overflow:visible;flex:none}#detail .payment-window-resize{display:none}}

/* Compact receipt linking: facts, recommendations, searchable statement. */
html body dialog.receipt-bank-picker[open]{width:min(1120px,96vw)!important;height:min(820px,92dvh)!important;max-height:94dvh!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;padding:14px!important;gap:10px}
html body .receipt-bank-picker>header{display:grid!important;grid-template-columns:minmax(0,1fr) 34px;gap:8px!important;flex:none}
html body .receipt-bank-picker>header h2{font-size:16px;margin:0}
html body .receipt-bank-picker>header [data-close]{width:34px;height:34px;padding:0;grid-column:2;grid-row:1}
html body .receipt-bank-picker .receipt-link-facts{grid-column:1/-1;display:flex;gap:24px;align-items:center;padding:6px 10px;background:#f3f6f9;border-radius:8px;font-size:12px}
.receipt-link-facts>span{display:flex;gap:8px;align-items:center}.receipt-link-facts small{color:#788697}
html body .receipt-bank-picker .receipt-bank-body{display:flex!important;flex-direction:column;flex:1;min-height:0;overflow:hidden!important;gap:10px}
html body .receipt-bank-picker h3{font-size:12px;margin:0 0 5px;font-weight:600}
.receipt-link-best{flex:none;min-height:0}.receipt-link-best-scroll{max-height:180px;overflow:auto}
.receipt-link-all{display:flex;flex-direction:column;min-height:100px;flex:1}.receipt-link-tools{display:flex;align-items:center;gap:8px;flex:none;margin-bottom:6px}
html body .receipt-bank-picker .receipt-link-tools h3{margin:0;white-space:nowrap}
html body .receipt-bank-picker .receipt-link-tools input{flex:1;min-width:0;width:auto!important;height:32px!important;padding:5px 9px!important;margin:0!important;box-sizing:border-box}
html body .receipt-bank-picker .receipt-link-tools button{height:32px;width:32px;padding:0}
html body .receipt-bank-picker .receipt-bank-scroll{flex:1;min-height:0;max-height:none!important;overflow:auto}
html body .receipt-bank-picker table{table-layout:fixed;width:100%;border-collapse:collapse;font-size:12px}
html body .receipt-bank-picker th,html body .receipt-bank-picker td{padding:5px 7px!important;vertical-align:middle;border-bottom:1px solid #e4e9ef;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .receipt-bank-picker th{position:sticky;top:0;background:#f2f5f8;z-index:1;text-align:left}
html body .receipt-bank-picker th:nth-child(1){width:90px}html body .receipt-bank-picker th:nth-child(2){width:55px}html body .receipt-bank-picker th:nth-child(3){width:100px}html body .receipt-bank-picker th:nth-child(4){width:95px}html body .receipt-bank-picker th:nth-child(6){width:85px}
html body .receipt-bank-picker th button{padding:0!important;min-height:0!important;height:auto!important;width:auto!important;border:0;background:transparent;color:inherit;font:inherit;box-shadow:none}
html body .receipt-bank-picker td:nth-child(3){text-align:center}
html body .receipt-bank-picker tr[aria-selected=true]{background:#e7f1ff}
.receipt-link-difference{color:#b45a18;font-weight:600}
html body .receipt-bank-picker .receipt-bank-confirm{flex:none;max-height:28dvh;overflow:auto;padding:8px!important;border-top:1px solid #e4e9ef;font-size:12px}
html body .receipt-bank-picker .receipt-bank-confirm[hidden]{display:none!important}
html body .receipt-bank-picker .receipt-bank-confirm p{margin:3px 0!important}
html body .receipt-bank-picker .receipt-bank-confirm>div{display:flex;justify-content:center;gap:8px}
html body .receipt-bank-picker .receipt-bank-confirm button{flex:1;min-width:0;width:180px;max-width:220px;height:34px;margin:0}
@media(max-width:600px){html body .receipt-bank-picker .receipt-link-facts{gap:8px;justify-content:space-between}.receipt-link-facts>span{flex-direction:column;gap:2px}html body .receipt-bank-picker table{min-width:660px}.receipt-link-best-scroll{max-height:145px}html body .receipt-bank-picker .receipt-link-tools h3{font-size:11px}}
