/* Registers occupy the desktop workspace; their navigation remains on screen. */
.contract-side-registers{display:flex;flex-direction:column;gap:8px;min-width:0;min-height:0}
.contract-footer .panel-body{padding:8px 10px;gap:8px}
.contract-footer .main-record-tools,.order-related .main-record-tools{margin:0}
.contract-side-registers>.attachment-register{display:grid;grid-template-rows:30px minmax(0,1fr) auto;flex:1 1 0;min-height:0}
.contract-side-registers .attachment-register>.action-bar{height:auto;min-height:0;padding:5px;gap:5px}
.contract-side-registers .attachment-register>.control-list{min-height:80px;max-height:260px}
.contract-side-registers .contract-related>.panel-body{padding:0}
.contract-side-registers .contract-related .list-table{border:0}
.contract-side-registers .contract-related .list-head{min-height:28px}
.contract-side-registers .contract-related .control-list{min-height:54px;max-height:110px}
.contract-registers{grid-template-columns:130px minmax(0,1fr);gap:8px}
.order-register>.register-heading{border-radius:7px 7px 0 0}
.order-register .list-entry,.contract-registers .list-entry{min-height:26px}
.order-register .list-entry>span,.contract-registers .list-entry>span{padding:3px 8px;line-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

@media(min-width:1101px) and (min-height:600px){
 .order-layout .order-header-fields>[data-field-for="ПолеСоСписком219"]{grid-column:12/span 7}
 .order-layout .order-header-fields>[data-field-for="Поле30"]{grid-column:19/span 6;grid-row:2}
 #app .order-layout,#app .contract-layout{height:calc(100dvh - 86px);align-items:stretch}
 #app .order-layout>.form-column,#app .contract-layout>.form-column{overflow:visible;min-height:0}
 #app .order-layout>.form-column:last-child,#app .contract-layout>.form-column:last-child{gap:8px}
 #app .order-layout .order-register{display:grid;grid-template-rows:30px minmax(0,1fr);flex:1 1 0}
 #app .order-register>[data-control="Список16"]{height:100%;min-height:0;max-height:none}
 .order-search-fields{gap:5px 8px!important}
 .order-search-fields>.field{gap:3px}
 .order-layout>.form-column:last-child>.panel:first-child .panel-body{padding:7px 9px;gap:3px}
 .order-layout>.form-column:last-child .control-check{min-height:24px}
 .order-layout .order-related .panel-body{padding:8px 10px;gap:7px}
 .order-layout .order-related .control-list{min-height:44px;max-height:54px}
 .order-layout .order-related .empty-state{min-height:44px;padding:4px}
 #app .order-layout .order-note-fields{min-height:64px}
 #app .order-layout>.form-column:first-child>.panel:first-child>.panel-body{height:100%}
 #app .contract-layout .contract-registers{min-height:0;flex:1 1 0}
 #app .contract-registers>.contract-register{display:grid;grid-template-rows:30px minmax(0,1fr) auto;min-height:0}
 #app .contract-registers>.contract-register>.control-list{min-height:0;max-height:none;height:100%}
 #app .contract-side-registers>.attachment-register>.control-list{min-height:0;max-height:none;height:100%}
 #app .contract-layout .contract-side-registers .contract-related{flex:0 0 132px;height:132px;min-height:0;overflow:hidden}
 #app .contract-layout .contract-related .list-table{height:130px}
 #app .contract-layout .contract-related [data-control="Поле426"]{height:0;min-height:0;max-height:none;flex:1}
 #app .contract-layout>.form-column:last-child>.panel:first-child .panel-body{padding:7px 9px;gap:2px}
 .contract-layout>.form-column:last-child>.panel:first-child .field-grid{gap:5px 8px}
 .contract-layout>.form-column:last-child>.panel:first-child .field{gap:2px}
 .contract-layout>.form-column:last-child>.panel:first-child .control-check{min-height:24px}
 #app .contract-layout .contract-working-area{min-height:0}
 .contract-layout .attachment-heading{grid-template-columns:150px 140px minmax(0,1fr)}
 .contract-layout .attachment-heading .field{gap:3px}
 .contract-layout .attachment-money-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 8px}
 .contract-layout .attachment-money-fields .field{gap:2px}
 .contract-layout .attachment-money-fields .field-caption{font-size:11px;line-height:15px;min-height:15px}
 .contract-layout .attachment-layout{gap:8px}
 .contract-layout .attachment-layout .table-form{gap:0}
 .contract-layout .attachment-totals>.panel-body{padding:6px 8px!important;gap:5px!important}
 .contract-layout .attachment-totals .action-bar{flex:0 0 auto}
 .contract-layout .attachment-money-fields{grid-template-columns:repeat(6,minmax(0,1fr))}
 .contract-summary .contract-header-two-rows>[data-field-for="Поле251"]{--contract-field-width:112px}
 .contract-summary .contract-header-two-rows>[data-field-for="data_sign"]{--contract-field-width:102px}
 .contract-summary .contract-header-two-rows>[data-field-for="NDS"]{--contract-field-width:64px}
 .contract-summary .contract-header-two-rows>[data-field-for="type_contr1"]{--contract-field-width:138px}
 .contract-summary .contract-header-two-rows>[data-field-for="Дата2"]{--contract-field-width:100px}
 .contract-summary .contract-header-two-rows>[data-field-for="ПолеСоСписком19"]{--contract-field-width:145px}
 .order-search-fields>.field:nth-child(-n+2){flex-direction:row;align-items:center;gap:5px}
 .order-search-fields>.field:nth-child(-n+2)>.field-caption{flex:0 0 45px;font-size:11px;min-height:0}
 .order-search-fields>.field:nth-child(-n+2)>.access-control{flex:1;min-width:0}
}
@media(min-width:1700px){
 .order-layout{grid-template-columns:minmax(0,1fr) 420px}
 .order-layout .order-header-fields>[data-field-for="ПолеСоСписком219"]{grid-row:1;grid-column:21/span 4}
 .order-layout .order-header-fields>[data-field-for="Поле30"]{grid-column:1/span 4;grid-row:2}
 .order-layout .order-header-fields>[data-field-for="data_inp"]{grid-column:5/span 3}
 .order-layout .order-header-fields>[data-field-for="Поле97"]{grid-column:8/span 3}
 .order-layout .order-header-fields>[data-field-for="Поле99"]{grid-column:11/span 3}
 .order-layout .order-header-fields>[data-field-for="Поле101"]{grid-column:14/span 3}
 .order-layout .order-header-fields>[data-field-for="ПолеСоСписком338"]{grid-column:17/span 3}
 .order-layout .order-header-fields>[data-field-for="Поле337"]{grid-column:20/span 5}
 .contract-registers{grid-template-columns:130px minmax(0,1fr)}
 .contract-layout .attachment-money-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 80px repeat(3,minmax(0,1fr))}
}

/* The three global lists are dense registers, with no record/action card below. */
.register-workbench{display:flex;flex-direction:column}
.register-workbench .work-header{padding:8px 12px;gap:12px}
.register-workbench .work-header h2{font-size:17px}
.register-workbench .work-feedback:empty{display:none}
.register-workbench .work-feedback{padding:4px 12px;min-height:0}
.register-workbench .work-body{display:flex;flex-direction:column;flex:1 1 0;min-height:0;height:auto;padding:10px 12px;overflow:hidden}
.register-workbench .work-content{height:100%;min-height:0;gap:8px}
.register-workbench .work-list-pane{flex:1 1 0;min-height:0;gap:8px}
.register-workbench .work-table-scroll{flex:1 1 0;min-height:0;max-height:none;border-radius:4px}
.register-workbench .work-table{table-layout:fixed;min-width:760px}
.register-workbench .work-table td{padding:3px 8px;line-height:20px;border-bottom:1px solid #ece8d9;vertical-align:middle}
.register-workbench .work-cell-preview{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.register-workbench .work-table th button{padding:6px 8px;line-height:20px;max-width:100%;white-space:nowrap}
.register-workbench .work-table th:first-child{width:115px}
.register-workbench [data-resource=jobs] th:nth-child(2){width:32%}
.register-workbench [data-resource=jobs] th:nth-child(4){width:135px}
.register-workbench [data-resource=jobs] th:nth-child(5){width:108px}
.register-workbench [data-resource=jobs] th:nth-child(6){width:105px}
.register-workbench [data-resource=jobs] td:nth-child(n+4){font-variant-numeric:tabular-nums;text-align:right}
.register-workbench .work-search{max-width:none;flex:1 1 320px;min-width:220px}
.register-workbench .work-customer-filter{display:flex;align-items:center;gap:8px;flex:1 1 340px;font-size:13px}
.register-workbench .work-customer-filter>.partner-lookup{flex:1;min-width:0}
.register-workbench .partner-lookup>textarea{height:34px;min-height:34px;max-height:34px;white-space:nowrap;overflow:hidden;padding-top:6px}
.register-workbench input{padding:6px 8px}
.register-workbench button{padding:6px 10px}
.register-workbench .work-pager{justify-content:space-between;flex:none}

/* Accounting keeps the original reading order and color cues, with aligned controls. */
.accounting-window{width:min(1840px,calc(100vw - 28px));max-width:calc(100vw - 28px);height:calc(100dvh - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid #aeb8c6;border-radius:8px;background:#f0f2f5;overflow:hidden;box-shadow:0 12px 60px #0004}
.accounting-window::backdrop{background:#17202c66}
.accounting-window-header{display:flex;align-items:center;gap:12px;padding:8px 12px;background:#e8d97d;border-bottom:1px solid #c1b56b;height:50px}
.accounting-window-header h2{flex:1;margin:0;font-size:18px;line-height:24px}
.accounting-window-header button{padding:5px 12px;border:1px solid #c6bc8c;border-radius:4px;background:#fffdf2}
.accounting-body{height:calc(100% - 50px);overflow:auto;padding:10px 12px}
.accounting-invoice-layout{display:flex;flex-direction:column;gap:8px;min-width:0}
.invoice-parties{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:stretch}
.invoice-workspace{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:10px;min-width:0;min-height:0}
.invoice-footer{display:grid;grid-template-columns:minmax(440px,.8fr) minmax(0,1fr);gap:8px;min-width:0}
.accounting-window .invoice-footer>.panel{display:flex;flex-direction:column}
.accounting-window .invoice-footer>.panel>.panel-body{padding:6px 8px;gap:5px;flex:1;justify-content:center}
.accounting-window .invoice-footer .panel-title{padding:4px 8px;line-height:18px}
.accounting-window .panel{border-radius:5px;box-shadow:none;background:#faf9f1;border-color:#d1cdb5}
.accounting-window .panel-title{padding:5px 10px;line-height:20px;font-size:13px;background:#efeddf;border-color:#d1cdb5;border-radius:4px 4px 0 0}
.accounting-window .panel-body{padding:7px 10px;gap:5px}
.accounting-window .field{gap:3px}
.accounting-window .field-grid{gap:5px 10px}
.accounting-window .control-command,.accounting-window .control-toggle{min-height:30px;padding:4px 10px;line-height:20px;font-size:12px}
.accounting-window .action-bar{gap:6px}
.accounting-window .control-text,.accounting-window .control-combo,.accounting-window .control-text:has(textarea){min-height:30px}
.accounting-window .control-text input,.accounting-window .control-text textarea,.accounting-window .control-combo select,.accounting-window .select-value,.accounting-window .partner-lookup>textarea{min-height:28px;line-height:20px;padding-top:4px;padding-bottom:4px}
.accounting-window .control-text input,.accounting-window .control-combo select{height:28px}
.accounting-window .invoice-requisites>.panel-body>.field{display:grid;grid-template-columns:80px minmax(0,1fr);align-items:center;gap:6px}
.accounting-window .invoice-requisites .field-caption{font-size:12px;line-height:18px;min-height:0}
.accounting-window .invoice-requisites .control-text{background:#fffef9;border-color:#dedbcf}
.accounting-window .invoice-parties .control-text textarea{font-size:12px;line-height:18px;padding:3px 6px;min-height:26px}
.accounting-window .invoice-bank-codes{display:flex;gap:8px;flex-wrap:wrap}
.accounting-window .invoice-bank-codes>.field{display:flex;flex-direction:row;align-items:center;gap:6px;flex:0 1 236px}
.accounting-window .invoice-bank-codes .field-caption{flex:0 0 66px}
.accounting-window .invoice-bank-codes>.field:last-child{flex:0 0 126px}
.accounting-window .invoice-bank-codes>.field:last-child .field-caption{flex-basis:28px}
.accounting-window .invoice-bank-codes .access-control{flex:1;min-width:0}
.accounting-window .invoice-bank-codes input{padding-left:5px;padding-right:5px;font-size:12px}
.accounting-window .invoice-requisites [data-field-for=Korshet1],.accounting-window .invoice-requisites [data-field-for=Korshet]{max-width:268px}
.accounting-window .invoice-requisites [data-field-for=kod_id_source] .field-caption,.accounting-window .invoice-requisites [data-field-for=kod_id_cust] .field-caption{font-weight:700;color:#423c31}
.accounting-window .invoice-requisites [data-field-for=kod_id_source] textarea{color:#972d30;font-weight:600}
.accounting-window .invoice-identity .field-grid{display:flex;flex-wrap:wrap;gap:5px 8px}
.accounting-window .invoice-identity .field{flex:0 0 110px}
.accounting-window .invoice-identity [data-field-for=Поле70]{flex-basis:78px}
.accounting-window .invoice-identity [data-field-for=Поле68]{flex:1 1 160px;max-width:320px}
.accounting-window .invoice-signers{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px}
.accounting-window .invoice-signers .field{min-width:0}
.accounting-window .invoice-signers .select-value{font-size:12px}
.accounting-window .invoice-identity [data-field-for=status]{flex-basis:136px}
.accounting-window .invoice-identity [data-field-for=NDS]{flex-basis:78px}
.accounting-window .invoice-totals{background:#fff1cd;border-color:#d6bf83}
.accounting-window .invoice-totals .field-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.accounting-window .invoice-totals .field{display:flex;flex-direction:column;gap:3px}
.accounting-window .invoice-totals .field-caption{min-height:0}
.accounting-window .invoice-totals [data-field-for=Поле95]{font-weight:700}
.accounting-window .invoice-totals [data-field-for=Поле95] .control-text{border:2px solid #b69a3e;background:#fcf7d7;color:#316d34}
.accounting-window .invoice-composition{background:#e9eef9;border-color:#a7b8d8}
.accounting-window .invoice-composition>.panel-title{background:#d5dff1;border-color:#a7b8d8}
.invoice-composition-heading{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;padding:5px 8px;background:#d5dff1;border-bottom:1px solid #a7b8d8;border-radius:4px 4px 0 0}
.invoice-composition-heading h2{font-size:13px;margin:0;line-height:20px}
.accounting-window .invoice-composition-heading>.field{flex:1 1 220px;display:flex;flex-direction:row;align-items:center;gap:6px}
.invoice-composition-heading .field-caption{min-height:0}
.invoice-composition-heading .access-control{flex:1;min-width:0}
.accounting-window .invoice-composition-heading textarea{field-sizing:fixed;min-height:28px;height:28px;max-height:28px;white-space:nowrap;overflow:auto}
.invoice-composition-heading .control-check{min-height:26px;font-size:12px;white-space:nowrap}
.invoice-composition-heading .control-check span{white-space:nowrap}
.invoice-composition-heading .action-bar{flex:none;flex-wrap:nowrap}
.invoice-composition-heading .control-check{flex:none;gap:5px;font-size:11px}
.accounting-window .invoice-register{background:#edf1fb;border-color:#afbed8}
.accounting-window .invoice-register .list-entry{min-height:27px}
.accounting-window .invoice-register .list-entry>span{padding:3px 8px}
.accounting-window .invoice-document-actions{background:#edf3df;border-color:#bacb9c}
.accounting-window .invoice-document-actions>.panel-title{background:#dce8c8}
.accounting-window .invoice-document-actions .action-bar>.control-command{flex:none}
.accounting-window .invoice-document-actions .control-command{padding:4px 6px;gap:4px;font-size:11px}
.accounting-window .invoice-document-actions .control-command img{width:14px;height:14px}
.accounting-window .invoice-document-actions .control-check{font-size:11px;gap:4px;min-height:26px;flex:none}
.accounting-window .invoice-document-actions .control-check span{white-space:nowrap}
.accounting-window .invoice-register .control-command{font-size:11px;padding:4px 6px;gap:4px}
.accounting-window .invoice-register .control-command img{width:14px;height:14px}
.accounting-window .invoice-shipping>.panel-body{padding:6px 8px;gap:4px}
.accounting-window .invoice-shipping>.panel-title{padding:4px 8px;line-height:18px}
.accounting-window .invoice-shipping .field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.accounting-window .invoice-shipping .field-caption{font-size:11px;line-height:15px}
.accounting-window .invoice-shipping .control-text,.accounting-window .invoice-shipping .control-text:has(textarea){min-height:26px}
.accounting-window .invoice-shipping .control-text textarea{min-height:24px;font-size:12px;line-height:18px;padding:3px 6px}
.accounting-window .table-form{gap:6px}
.accounting-window .table-cell input,.accounting-window .table-cell textarea{font-size:13px;padding:5px 8px}
.accounting-window .invoice-composition>.panel-body{padding:0;gap:0}
.accounting-window .invoice-composition .data-table-scroll{max-height:none;min-height:180px;border:0;border-radius:0 0 4px 4px}
.accounting-document-top{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}
.accounting-documents-layout{display:flex;flex-direction:column;gap:10px;min-width:0}
.accounting-window .accounting-documents-layout .panel-body{padding:10px 12px;gap:10px}
.accounting-window .accounting-documents-layout .control-text,.accounting-window .accounting-documents-layout .control-text:has(textarea){min-height:34px}
.accounting-window .accounting-documents-layout .control-text input,.accounting-window .accounting-documents-layout .control-text textarea{min-height:32px;padding-top:6px;padding-bottom:6px}
.accounting-window .accounting-documents-layout .control-text input{height:32px}
.accounting-window .accounting-document-top>.panel{background:#ffedbf;border-color:#d2b97b;align-self:stretch}
.accounting-window .accounting-document-top>.panel>.panel-title{background:#f0d69b;border-color:#d2b97b}
.accounting-window .accounting-document-fields .vat-identity-fields{display:grid;grid-template-columns:minmax(100px,160px) 112px minmax(110px,166px);align-items:end}
.accounting-window .accounting-document-fields .vat-payment-fields{display:grid;grid-template-columns:minmax(140px,180px) 112px;align-items:end}
.accounting-window .accounting-document-fields .field{display:flex;flex-direction:column;gap:3px}
.accounting-window .accounting-documents-layout .field-caption{font-size:12px;line-height:17px;min-height:17px}
.accounting-window .accounting-print-actions{padding-top:7px;border-top:1px solid #c8c2a666}
.accounting-window .accounting-documents-layout .control-command{min-height:30px;padding:4px 9px}
.accounting-window .accounting-document-register>.panel-body{height:auto}
.accounting-window .accounting-document-register .list-table{flex:none;overflow-x:auto}
.accounting-window .accounting-document-register .list-head,.accounting-window .accounting-document-register .control-list{min-width:520px}
.accounting-window .accounting-document-register .list-head{font-size:11px}
.accounting-window .accounting-document-register .list-head>span{padding:6px 8px}
.accounting-window .accounting-document-fields,.accounting-window .accounting-act-fields{display:flex;flex-direction:column}
.accounting-window .accounting-document-fields>.panel-body{flex:1;display:grid;grid-template-rows:auto auto minmax(0,1fr)}
.accounting-window .accounting-document-fields [data-field-for=Поле47]>.control-text{flex:1;display:flex}
.accounting-window .accounting-document-fields [data-field-for=Поле47] textarea{flex:1;min-height:56px}
.accounting-act-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch;min-width:0}
.accounting-window .accounting-act-fields .act-identity-fields{display:grid;grid-template-columns:minmax(100px,160px) 112px;align-items:end}
.accounting-window .accounting-act-fields .act-signer-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;grid-template-rows:repeat(2,minmax(0,1fr))}
.accounting-window .accounting-act-fields .field{display:flex;flex-direction:column;gap:3px;max-width:none;width:auto}
.accounting-window .accounting-act-fields>.panel-body{flex:1;display:grid;grid-template-rows:auto minmax(0,1fr)}
.accounting-window .accounting-act-fields .act-signer-fields .control-text{flex:1;display:flex}
.accounting-window .accounting-act-fields .act-signer-fields textarea{flex:1}
.accounting-window .accounting-act-register .list-table{min-height:0;overflow-x:auto}
.accounting-window .accounting-act-register .list-head,.accounting-window .accounting-act-register .control-list{min-width:480px}
.accounting-window .accounting-transfer-layout{grid-template-columns:minmax(300px,360px) minmax(0,1fr);gap:12px;align-items:stretch}
.accounting-window .accounting-transfer-layout>.panel{display:flex;flex-direction:column;align-self:stretch}
.accounting-window .accounting-transfer-fields>.panel-body{flex:1;justify-content:space-between;padding:12px;gap:16px}
.accounting-window .accounting-transfer-fields .field-grid{gap:10px}
.accounting-window .accounting-transfer-fields .field{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;gap:10px}
.accounting-window .accounting-transfer-fields .field-caption{min-height:0;font-size:12px}
.accounting-window .accounting-transfer-fields .control-text{min-height:34px}
.accounting-window .accounting-transfer-fields .control-text input{height:32px;padding-top:6px;padding-bottom:6px;font-variant-numeric:tabular-nums}
.accounting-window .accounting-transfer-fields .action-bar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.accounting-window .accounting-transfer-register>.panel-body,.accounting-window .accounting-transfer-register .list-table{flex:1;display:flex;flex-direction:column;min-height:0}
.accounting-window .accounting-transfer-register .list-table{overflow-x:auto}
.accounting-window .accounting-transfer-register .list-head,.accounting-window .accounting-transfer-register .control-list{min-width:448px;max-width:none;width:100%}
.accounting-window .accounting-transfer-register .list-head{flex:none}
.accounting-window .accounting-transfer-register .control-list{flex:1;height:auto;min-height:var(--list-height);max-height:none!important}
.accounting-window .accounting-transfer-register .list-entry>span:first-child{white-space:normal;overflow-wrap:anywhere}
.accounting-window .accounting-transfer-register .list-head>span:nth-child(2),.accounting-window .accounting-transfer-register .list-entry>span:nth-child(2){text-align:center}
.accounting-window .accounting-transfer-register .list-head>span:last-child,.accounting-window .accounting-transfer-register .list-entry>span:last-child,.accounting-window .accounting-document-register .list-head>span:last-child,.accounting-window .accounting-document-register .list-entry>span:last-child{text-align:right}
.accounting-window .accounting-acts,.accounting-window .accounting-act-layout>.panel{background:#dceff5;border-color:#99bdcc;align-self:stretch}
.accounting-window .accounting-acts>.panel-title,.accounting-window .accounting-act-layout>.panel>.panel-title{background:#badde9;border-color:#99bdcc}
.accounting-window .accounting-acts>.panel-body{padding:8px}
.accounting-window .accounting-acts .accounting-act-layout .panel{border:0;background:transparent}
.accounting-window .related-records .panel-title{display:none}
.accounting-window .control-list{height:var(--list-height);max-height:var(--list-height)!important;min-height:0}
.accounting-window .control-list .list-entry{min-height:28px}
.accounting-window .control-list .list-entry>span{padding:4px 8px;line-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.accounting-window .control-list .empty-state{min-height:56px;padding:8px}
.accounting-window :is(.accounting-document-register,.accounting-act-register,.accounting-transfer-register) .list-head{overflow-y:auto;scrollbar-gutter:stable}
.accounting-window :is(.accounting-document-register,.accounting-act-register,.accounting-transfer-register) .list-entry{min-height:32px;font-variant-numeric:tabular-nums}
.accounting-window :is(.accounting-document-register,.accounting-act-register,.accounting-transfer-register) .list-entry>span{padding-top:6px;padding-bottom:6px}
.accounting-window :is(.accounting-document-register,.accounting-act-register,.accounting-transfer-register) .empty-state{height:100%;min-height:128px}
.accounting-window .accounting-register>.panel-body{padding:0;gap:0}
.accounting-window .accounting-register .list-table{border:0;border-radius:0}
.accounting-window .accounting-register>.panel-body>.action-bar{padding:6px 8px;gap:6px;border-top:1px solid #b9bdc766}
@media(min-width:1101px) and (min-height:600px){
 .accounting-body:has(.accounting-invoice-layout){overflow:hidden}
 .accounting-body>.modern-form:has(>.accounting-invoice-layout){height:100%;min-height:0}
 .accounting-invoice-layout{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;height:100%;min-height:0;align-items:stretch}
 .accounting-window .invoice-workspace>.invoice-register{display:flex;flex-direction:column;min-height:0;height:100%;max-height:390px;align-self:start}
 .accounting-window .invoice-register>.panel-body{flex:1 1 0;min-height:0}
 .accounting-window .invoice-register .list-table{flex:1 1 0;min-height:0;display:flex;flex-direction:column}
 .accounting-window .invoice-register .list-head{flex:none}
 .accounting-window .invoice-register .control-list{flex:1 1 0;min-height:56px;height:auto;max-height:280px!important}
 .accounting-window .invoice-composition{display:flex;flex-direction:column;flex:1 1 0;min-height:0}
 .accounting-window .invoice-composition>.panel-body,.accounting-window .invoice-composition [data-control=pod4],.accounting-window .invoice-composition [data-related-form],.accounting-window .invoice-composition .table-form{display:flex;flex-direction:column;flex:1 1 0;min-height:0;height:100%;gap:0}
 .accounting-window .invoice-composition .data-table-scroll{flex:1 1 0;min-height:0;height:auto;max-height:none}
}
@media(max-width:1100px){.invoice-parties{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-shipping{grid-column:1/-1}.invoice-footer{grid-template-columns:minmax(0,1fr)}}
@media(max-width:900px){.invoice-parties,.invoice-workspace,.accounting-document-top,.accounting-act-layout,.accounting-window .accounting-transfer-layout{grid-template-columns:minmax(0,1fr)}.invoice-shipping{grid-column:auto}.contract-registers{grid-template-columns:110px minmax(0,1fr)}.register-workbench .work-customer-filter{flex-basis:100%}.register-workbench .work-table{min-width:740px}}
@media(max-width:650px){.accounting-window{width:calc(100vw - 12px);max-width:calc(100vw - 12px);height:calc(100dvh - 12px);max-height:calc(100dvh - 12px)}.accounting-window-header{gap:6px;height:auto;min-height:50px}.accounting-window-header h2{font-size:15px}.accounting-body{padding:8px}.accounting-window .invoice-identity .cols-3,.accounting-window .invoice-totals .cols-3{grid-template-columns:repeat(2,minmax(0,1fr))}.contract-registers{grid-template-columns:100px minmax(0,1fr)}}
@media(max-width:650px){.accounting-window .accounting-document-fields .vat-identity-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.accounting-window .accounting-act-fields .act-signer-fields{grid-template-columns:minmax(0,1fr)}}
