.bi-dialog{width:950px}.bi-dialog label{display:flex;flex-direction:column;gap:6px}.bi-dialog input,.bi-dialog select{max-width:100%;min-height:42px;border:1px solid #d5ddd8;border-radius:7px;padding:9px;background:white;color:#273a30}.bi-toolbar,.bi-footer{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.bi-lines{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:12px}.bi-line{min-width:0;border:1px solid #d5ddd8;border-radius:10px;padding:12px;overflow-wrap:anywhere}.bi-line .bi-check{display:flex;flex-direction:row;align-items:center;gap:10px}.bi-check input{min-height:22px;min-width:22px}.bi-footer{position:sticky;bottom:0;background:#fff;padding:12px;border-top:1px solid #d5ddd8}.wp-dialog{width:1050px;max-width:calc(100vw - 16px);max-height:94dvh;padding:18px;border:1px solid #ccd9d0;border-radius:12px;overflow:auto;color:#182b20;background:#fff}.wp-dialog::backdrop{background:#13291f88}.wp-controls{display:flex;gap:10px;margin-bottom:20px}.wp-paper{font-family:Arial,sans-serif;color:#111;background:#fff;padding:16px;overflow-wrap:anywhere}.wp-brand{font-weight:700;letter-spacing:.08em;color:#355742}.wp-paper h1{font-size:22px;line-height:1.25}.wp-paper h2{font-size:16px}.wp-paper dl{display:grid;grid-template-columns:130px minmax(0,1fr);gap:8px}.wp-paper dt{font-weight:700}.wp-paper dd{margin:0}.wp-paper table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px}.wp-paper th,.wp-paper td{border:1px solid #777;padding:7px;vertical-align:top;overflow-wrap:anywhere}.wp-paper th:first-child,.wp-paper td:first-child{width:32px}.wp-paper th:nth-child(2){width:35%}.wp-note{font-size:12px;color:#555}.wp-warning{border:1px solid #aa7c19;padding:10px}.wp-after{margin-top:22px}.wp-signatures{margin-top:30px}.wp-signatures p{margin:25px 0}.wp-table-wrap{overflow-x:auto}@media(max-width:480px){.bi-dialog{padding:12px}.bi-dialog h2{font-size:20px}.bi-footer .button{width:100%;min-height:46px}.wp-dialog{padding:10px}.wp-paper{padding:4px}.wp-paper dl{grid-template-columns:1fr;gap:4px}.wp-paper dd{margin-bottom:8px}.wp-table-wrap table{min-width:560px}}@media print{@page{size:A4 portrait;margin:12mm;@bottom-right{content:"Страница " counter(page) " из " counter(pages);font:8pt Arial;color:#555}}body:has(#warehouse-print-dialog[open])>*:not(#warehouse-print-dialog){display:none!important}#warehouse-print-dialog[open]{display:block!important;position:static!important;width:auto;max-width:none;max-height:none;overflow:visible;border:0;padding:0;margin:0;border-radius:0}#warehouse-print-dialog::backdrop,.wp-controls{display:none!important}.wp-paper{padding:0;font-size:10pt}.wp-paper table{min-width:0!important;font-size:9pt}.wp-paper th,.wp-paper td{padding:5px}.wp-paper thead{display:table-header-group}.wp-paper tr{break-inside:avoid}.wp-table-wrap{overflow:visible}.wp-paper dl{grid-template-columns:30mm minmax(0,1fr)}.wp-paper dd{margin:0}.wp-signatures{break-inside:avoid}.wp-paper h1{font-size:17pt}.wp-paper h2{break-after:avoid}}

.wp-paper th,.wp-paper td{white-space:normal;text-align:left;color:#111}.wp-paper th{background:#f3f3f3}.wp-issue th:nth-child(2){width:65%}.wp-issue th:nth-child(3){width:10%}@media print{html,body{background:#fff!important}#warehouse-print-dialog{box-shadow:none!important}}

.wp-receipt .wp-unit{width:6%}.wp-receipt th:first-child,.wp-receipt td:first-child{width:22px}

@media print{.wp-receipt th{font-size:8pt}}
