/* Scoped delivery history and receiving workflow. */
.main:has(.delivery-history)>.topbar{min-height:64px;padding-block:10px}.main:has(.delivery-history)>.topbar h1{font-size:var(--fs-page)}.main:has(.delivery-history)>.topbar p{font-size:var(--fs-secondary)}.main:has(.delivery-history)>.workspace{padding-top:16px}.delivery-history{max-width:1600px;margin:auto;container:delivery-history/inline-size}.delivery-tools{display:grid;grid-template-columns:minmax(200px,1fr) minmax(170px,280px) auto;align-items:end;gap:12px;margin-bottom:12px}.delivery-search,.delivery-supplier{display:grid;gap:6px;min-width:0;font-size:var(--fs-secondary);font-weight:650}.delivery-tools input,.delivery-tools select,.delivery-custom-dates input{width:100%;min-width:0;border:1px solid var(--border,var(--border));border-radius:10px;padding:10px 12px;font:inherit;color:var(--text,var(--text));background:var(--card,var(--surface))}.delivery-tools .btn{min-height:40px}.delivery-periods{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin-bottom:12px}.delivery-periods button{font:inherit;font-size:var(--fs-secondary);border:1px solid transparent;border-radius:8px;padding:8px 12px;background:transparent;color:var(--muted,var(--text-muted));cursor:pointer}.delivery-periods button[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent-border);color:var(--text,var(--text));font-weight:700}.delivery-periods .delivery-clear{margin-left:auto;text-decoration:underline;text-underline-offset:3px}.delivery-custom-dates{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:14px}.delivery-custom-dates label{display:grid;gap:5px;font-size:var(--fs-secondary)}.delivery-results{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 16px}.delivery-results p{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:0;font-size:var(--fs-secondary)}.delivery-results p strong{font-size:var(--fs-section)}.delivery-results p span,.delivery-results>small{font-size:var(--fs-secondary);color:var(--muted,var(--text-muted))}.delivery-readonly-note{font-size:var(--fs-secondary);line-height:1.5;background:var(--warn-soft);border:1px solid var(--warn-border);color:var(--accent-text);border-radius:9px;padding:9px 12px;margin-bottom:14px}.delivery-history .delivery-history-table{border:1px solid var(--border,var(--border));border-radius:14px;background:var(--card,var(--surface));overflow:hidden}.delivery-history .delivery-history-table table{table-layout:fixed;min-width:0;width:100%;margin:0;border-collapse:collapse}.delivery-history .delivery-history-table table th,.delivery-history .delivery-history-table table td{padding:13px 12px;white-space:normal;text-align:left;font-size:var(--fs-secondary);vertical-align:middle;overflow-wrap:anywhere}.delivery-history .delivery-history-table table th{font-size:var(--fs-secondary);text-transform:uppercase;letter-spacing:.04em;color:var(--muted,var(--text-muted));background:var(--surface-2);padding-block:12px}.delivery-history .delivery-history-table th:first-child{width:13%}.delivery-history .delivery-history-table th:nth-child(2){width:31%}.delivery-history .delivery-history-table th:nth-child(3){width:21%}.delivery-history .delivery-history-table th:nth-child(4){width:16%}.delivery-history .delivery-history-table th:last-child{width:19%}.delivery-history .delivery-history-table table:has(th:nth-child(6)) th:nth-child(2){width:26%}.delivery-history .delivery-history-table table:has(th:nth-child(6)) th:nth-child(3){width:18%}.delivery-history .delivery-history-table table:has(th:nth-child(6)) th:nth-child(4){width:14%}.delivery-history .delivery-history-table table:has(th:nth-child(6)) th:nth-child(5){width:13%}.delivery-history .delivery-history-table table:has(th:nth-child(6)) th:last-child{width:16%}.delivery-history-row{cursor:pointer;border-bottom:1px solid var(--border,var(--border))}.delivery-history-row:last-child{border-bottom:0}.delivery-history-row:nth-child(even){background:var(--surface-2)}.delivery-history-row:hover{background:var(--warn-soft)}.delivery-history-row:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}.delivery-history-row strong{font-size:var(--fs-secondary);font-weight:650}.delivery-history-row small,.delivery-preview{display:block;font-size:var(--fs-secondary);line-height:1.55;color:var(--muted,var(--text-muted));margin-top:5px;white-space:normal}.delivery-history-row .delivery-preview{color:var(--text,var(--text))}.delivery-quantities{font-variant-numeric:tabular-nums;line-height:1.6}.delivery-history-row .btn{font-size:var(--fs-secondary);white-space:nowrap;min-height:36px}.delivery-value{font-variant-numeric:tabular-nums;font-weight:650}.delivery-pagination{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:16px;font-size:var(--fs-secondary);color:var(--muted,var(--text-muted))}.delivery-pagination>div{display:flex;gap:8px}.delivery-history-empty{text-align:center;border:1px solid var(--border,var(--border));padding:36px 20px;border-radius:14px;background:var(--card,var(--surface))}.delivery-history-empty h2{font-size:var(--fs-section)}.delivery-history-empty p{font-size:var(--fs-secondary);color:var(--muted,var(--text-muted));margin:12px 0 22px}.delivery-history .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.manager-dialog.delivery-editor .dlv-editor-intro{padding:9px 12px;border-radius:9px;background:var(--warn-soft);font-size:var(--fs-secondary);line-height:1.6;margin:0 0 16px;color:var(--muted,var(--text-muted))}.manager-dialog.delivery-editor .dlv-head{gap:12px;align-items:start}.manager-dialog.delivery-editor .dlv-scan-dock{position:sticky;top:-24px;z-index:5;background:var(--card,var(--surface));padding:12px 0 10px;border-bottom:1px solid var(--border,var(--border));margin:0 0 14px}.manager-dialog.delivery-editor .dlv-scan{margin-bottom:6px;min-height:48px}.manager-dialog.delivery-editor .dlv-scan input{min-height:44px;font-size:var(--fs-body)}.manager-dialog.delivery-editor .dlv-scan-hint{font-size:var(--fs-secondary);color:var(--muted,var(--text-muted));display:block}.manager-dialog.delivery-editor .dlv-sugg:empty{display:none}.manager-dialog.delivery-editor .dlv-sugg{margin-top:6px;max-height:230px;overflow:auto}.manager-dialog.delivery-editor .dlv-entry-card{border-radius:12px;margin:0 0 12px;padding:15px;border:1px solid var(--border,var(--border));background:var(--card,var(--surface))}.manager-dialog.delivery-editor .dlv-entry-card header{align-items:flex-start;gap:12px}.manager-dialog.delivery-editor .dlv-entry-card header strong{font-size:var(--fs-body);line-height:1.4}.manager-dialog.delivery-editor .dlv-entry-card header small{font-size:var(--fs-secondary);line-height:1.6;white-space:normal}.manager-dialog.delivery-editor .dlv-entry-fields{gap:12px}.manager-dialog.delivery-editor .dlv-entry-fields label,.manager-dialog.delivery-editor .dlv-entry-prices label{font-size:var(--fs-secondary);line-height:1.5}.manager-dialog.delivery-editor .dlv-entry-fields input,.manager-dialog.delivery-editor .dlv-entry-fields select,.manager-dialog.delivery-editor .dlv-entry-prices input{min-height:40px;font-size:var(--fs-body)}.manager-dialog.delivery-editor .dlv-entry-help{font-size:var(--fs-secondary);line-height:1.5}.manager-dialog.delivery-editor .dlv-foot{margin-top:16px}.manager-dialog.delivery-editor .modal-footer{flex-wrap:wrap;gap:10px;align-items:center}.manager-dialog.delivery-editor .dlv-save-status{font-size:var(--fs-secondary);margin-right:auto;color:var(--muted,var(--text-muted));max-width:210px;line-height:1.4}.manager-dialog.delivery-editor .dlv-save-status.is-incomplete{color:var(--accent-text)}.manager-dialog .delivery-preview-note{padding:10px 12px;background:var(--warn-soft);border:1px solid var(--warn-border);border-radius:8px;font-size:var(--fs-secondary);line-height:1.6;color:var(--accent-text);margin:0 0 14px}
@media(max-width:760px){.delivery-tools{grid-template-columns:minmax(0,1fr) auto;gap:10px}.delivery-tools .delivery-search{grid-column:1/-1}.delivery-periods{gap:3px}.delivery-periods button{font-size:var(--fs-secondary);padding:8px}.delivery-periods .delivery-clear{margin-left:0}.delivery-results{align-items:flex-start;flex-direction:column;gap:5px}.delivery-results p{gap:7px}.delivery-history .delivery-history-table{border:0;background:transparent;overflow:visible}.delivery-history .delivery-history-table table{display:block;min-width:0}.delivery-history .delivery-history-table thead{display:none}.delivery-history .delivery-history-table tbody{display:grid;gap:12px}.delivery-history .delivery-history-table table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;background:var(--card,var(--surface));border:1px solid var(--border,var(--border));border-radius:12px;padding:14px}.delivery-history .delivery-history-table table td{display:block;height:auto;padding:0;min-width:0;border:0}.delivery-history .delivery-history-table table td::before{display:block;content:attr(data-label);font-size:var(--fs-secondary);color:var(--muted,var(--text-muted));margin-bottom:5px}.delivery-history .delivery-history-table table td:nth-child(2){grid-column:1/-1;grid-row:1}.delivery-history .delivery-history-table table td:last-child{grid-column:1/-1}.delivery-history .delivery-history-table .btn{width:100%;min-height:38px}.delivery-pagination{flex-direction:column;align-items:stretch}.delivery-pagination>div>button{flex:1}.manager-dialog.delivery-editor .dlv-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.manager-dialog.delivery-editor .dlv-head>.form-group:first-child{grid-column:1/-1}.manager-dialog.delivery-editor .dlv-scan-dock{top:-18px}.manager-dialog.delivery-editor .dlv-entry-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.manager-dialog.delivery-editor .dlv-entry-prices{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.manager-dialog.delivery-editor .dlv-entry-value{grid-column:1/-1}.manager-dialog.delivery-editor .dlv-entry-card{padding:12px}.manager-dialog.delivery-editor .dlv-save-status{order:-1;flex-basis:100%;max-width:none}.manager-dialog.delivery-editor .modal-footer>button{flex:1;justify-content:center;padding-inline:10px}.manager-dialog.delivery-editor .modal-footer [data-delivery-save] kbd{display:none}.manager-dialog.delivery-editor .dr-notice{font-size:var(--fs-secondary)}.manager-dialog.delivery-editor .dlv-scan input{font-size:var(--fs-secondary)}}
/* The same cards when the page itself is narrow: „Настрой екрана“ zoom or the side menu,
   not only a narrow window. Below 700px the fixed columns clip „Преглед →“. */
@container delivery-history (max-width:700px){.delivery-tools{grid-template-columns:minmax(0,1fr) auto;gap:10px}.delivery-tools .delivery-search{grid-column:1/-1}.delivery-periods{gap:3px}.delivery-periods button{font-size:var(--fs-secondary);padding:8px}.delivery-periods .delivery-clear{margin-left:0}.delivery-results{align-items:flex-start;flex-direction:column;gap:5px}.delivery-results p{gap:7px}.delivery-history .delivery-history-table{border:0;background:transparent;overflow:visible}.delivery-history .delivery-history-table table{display:block;min-width:0}.delivery-history .delivery-history-table thead{display:none}.delivery-history .delivery-history-table tbody{display:grid;gap:12px}.delivery-history .delivery-history-table table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;background:var(--card,var(--surface));border:1px solid var(--border,var(--border));border-radius:12px;padding:14px}.delivery-history .delivery-history-table table td{display:block;height:auto;padding:0;min-width:0;border:0}.delivery-history .delivery-history-table table td::before{display:block;content:attr(data-label);font-size:var(--fs-secondary);color:var(--muted,var(--text-muted));margin-bottom:5px}.delivery-history .delivery-history-table table td:nth-child(2){grid-column:1/-1;grid-row:1}.delivery-history .delivery-history-table table td:last-child{grid-column:1/-1}.delivery-history .delivery-history-table .btn{width:100%;min-height:38px}.delivery-pagination{flex-direction:column;align-items:stretch}.delivery-pagination>div>button{flex:1}}
/* A whole supplier slip: many compact rows, one final save. */
.manager-dialog.delivery-sheet .modal{width:min(1120px,calc(100vw - 24px));max-height:calc(100dvh - 24px)}
.manager-dialog.delivery-sheet .modal-body{padding:18px 20px}
.manager-dialog.delivery-sheet .dlv-editor-intro{margin-bottom:12px;padding:8px 10px}
.manager-dialog.delivery-sheet .dlv-scan-dock{top:-18px;z-index:6}
.dlv-document-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:14px 0 10px}
.dlv-document-tools>div{margin-right:auto}.dlv-document-tools strong{font-size:var(--fs-body)}.dlv-document-tools strong span{display:inline-grid;place-items:center;min-width:24px;padding:3px 6px;border-radius:6px;background:var(--accent-soft);color:var(--accent-text);font-variant-numeric:tabular-nums}
.dlv-document-tools small{display:block;font-size:var(--fs-secondary);color:var(--text-muted);margin-top:5px}.dlv-document-tools .btn{font-size:var(--fs-secondary);min-height:38px}
.manager-dialog.delivery-sheet .dlv-entry-card{position:relative;display:grid;grid-template-columns:minmax(180px,1.8fr) minmax(95px,.8fr) minmax(80px,.65fr) minmax(145px,1.2fr) minmax(90px,.8fr) minmax(90px,.8fr) minmax(70px,.6fr);gap:8px 10px;padding:12px;margin:0 0 8px;border-radius:9px}
.manager-dialog.delivery-sheet .dlv-entry-card header{grid-column:1;grid-row:1;display:block;padding-right:20px;min-width:0}
.manager-dialog.delivery-sheet .dlv-entry-card header strong{display:block;font-size:var(--fs-secondary);line-height:1.4}
.manager-dialog.delivery-sheet .dlv-entry-card header small{font-size:var(--fs-secondary);line-height:1.4;margin-top:4px}
.manager-dialog.delivery-sheet .dlv-entry-card .dlv-x{position:absolute;top:5px;right:3px;width:23px;height:23px}
.manager-dialog.delivery-sheet .dlv-entry-card .dlv-more{padding:3px 0;margin-top:5px;border:0;background:transparent;color:var(--accent-text);text-decoration:underline;font:inherit;font-size:var(--fs-secondary);cursor:pointer}
.manager-dialog.delivery-sheet .dlv-entry-fields,.manager-dialog.delivery-sheet .dlv-entry-prices{display:contents}
.manager-dialog.delivery-sheet .dlv-entry-value{font-size:var(--fs-secondary);align-self:start;padding-top:2px}.manager-dialog.delivery-sheet .dlv-entry-value>span{font-size:var(--fs-body);display:block;margin-top:12px}
.manager-dialog.delivery-sheet .dlv-entry-fields label,.manager-dialog.delivery-sheet .dlv-entry-prices label{font-size:var(--fs-secondary);line-height:1.3;min-width:0}
.manager-dialog.delivery-sheet .dlv-entry-fields input,.manager-dialog.delivery-sheet .dlv-entry-fields select,.manager-dialog.delivery-sheet .dlv-entry-prices input{width:100%;min-width:0;min-height:36px;font-size:var(--fs-secondary);padding:7px 6px;border-radius:6px}
.manager-dialog.delivery-sheet .dlv-qty{gap:0}.manager-dialog.delivery-sheet .dlv-qty button{width:24px;min-width:24px;height:36px}.manager-dialog.delivery-sheet .dlv-qty input{padding-inline:2px}
.manager-dialog.delivery-sheet .dr-expiry-group{min-width:0;gap:3px}.manager-dialog.delivery-sheet .dr-no-expiry{font-size:var(--fs-secondary);gap:5px;line-height:1.2}.manager-dialog.delivery-sheet .dr-no-expiry input{width:14px;min-height:14px}
.manager-dialog.delivery-sheet .dlv-entry-card>.dlv-entry-help,.manager-dialog.delivery-sheet .dlv-entry-card .dlv-hint,.manager-dialog.delivery-sheet .dr-notice:not(.dr-problem){display:none}
.manager-dialog.delivery-sheet .dlv-entry-card .dr-problem,.manager-dialog.delivery-sheet .dlv-show-details .dr-notice,.manager-dialog.delivery-sheet .dlv-show-details>.dlv-entry-help{display:block;grid-column:1/-1;font-size:var(--fs-secondary);margin:3px 0;padding:6px 8px}
.manager-dialog.delivery-sheet .dlv-show-details .dlv-hint{display:block;font-size:var(--fs-secondary)}
.dlv-bulk-panel{border:1px solid var(--accent-border);background:var(--surface-2);border-radius:10px;padding:14px;margin:12px 0}
.dlv-bulk-panel .dlv-bulk-title,.dlv-bulk-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.dlv-bulk-title strong{font-size:var(--fs-body)}.dlv-bulk-panel>p{font-size:var(--fs-secondary);line-height:1.6}
.dlv-bulk-panel input[type=search],.dlv-bulk-panel textarea,.dlv-bulk-panel select{width:100%;min-width:0;border:1px solid var(--accent-border);background:var(--surface);border-radius:7px;padding:9px 10px;font:inherit;font-size:var(--fs-secondary)}.dlv-bulk-panel textarea{resize:vertical;min-height:130px}
.dlv-bulk-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:310px;overflow:auto;margin:10px 0}
.dlv-bulk-options>label{display:flex;align-items:center;gap:10px;margin:0;padding:9px;border:1px solid var(--border);border-radius:7px;background:var(--surface);cursor:pointer;min-width:0}.dlv-bulk-options input{width:18px;height:18px;accent-color:var(--accent-text);flex-shrink:0}.dlv-bulk-options b{font-size:var(--fs-secondary);line-height:1.4}.dlv-bulk-options small{display:block;font-size:var(--fs-secondary);color:var(--text-muted);margin-top:3px}.dlv-bulk-footer{font-size:var(--fs-secondary);margin:8px 0 0}.dlv-bulk-error{color:var(--danger)!important}
.dlv-bulk-import-rows{display:grid;gap:7px;margin:12px 0;max-height:360px;overflow:auto}.dlv-bulk-import-rows>div{display:grid;grid-template-columns:minmax(160px,1fr) minmax(130px,.8fr) minmax(200px,1.3fr);gap:8px;align-items:center;padding:8px;background:var(--surface);border:1px solid var(--border);border-radius:7px}.dlv-bulk-import-rows b{font-size:var(--fs-secondary)}.dlv-bulk-import-rows small{display:block;font-size:var(--fs-secondary);color:var(--text-muted);margin-top:3px}
@media(max-width:1000px){.manager-dialog.delivery-sheet .dlv-entry-card{grid-template-columns:minmax(160px,1.4fr) minmax(100px,.8fr) minmax(90px,.7fr) minmax(150px,1fr)}}
@media(max-width:640px){.manager-dialog.delivery-sheet .modal{max-height:100dvh;width:100vw}.manager-dialog.delivery-sheet .modal-body{padding:14px}.manager-dialog.delivery-sheet .dlv-scan-dock{top:-14px}.manager-dialog.delivery-sheet .dlv-entry-card{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}.manager-dialog.delivery-sheet .dlv-entry-card header{grid-column:1/-1;grid-row:1;padding-right:24px}.manager-dialog.delivery-sheet .dlv-entry-value>span{display:inline;margin:0 0 0 10px}.dlv-document-tools>div{flex-basis:100%}.dlv-document-tools>.btn{flex:1;font-size:var(--fs-secondary);padding-inline:8px}.dlv-bulk-options{grid-template-columns:minmax(0,1fr)}.dlv-bulk-import-rows>div{grid-template-columns:minmax(0,1fr)}.dlv-bulk-footer{flex-wrap:wrap}.dlv-bulk-footer>.btn{width:100%}}
/* Original receipt and editable document share one form. */
.manager-dialog.delivery-sheet .dlv-document-content{min-width:0}
.manager-dialog.delivery-sheet .dlv-document-fields{min-width:0;container-type:inline-size}
.manager-dialog.delivery-sheet .dlv-receipt-check{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px;padding:14px;background:var(--surface-alt,var(--surface-2));border-radius:10px}
.manager-dialog.delivery-sheet .dlv-receipt-check label{display:grid;gap:6px;font-size:var(--fs-secondary)}
.manager-dialog.delivery-sheet .dlv-receipt-check p{grid-column:1/-1;margin:0;font-size:var(--fs-secondary);color:var(--text-dim,var(--text-muted))}
.manager-dialog.delivery-sheet .dlv-entry-prices [data-f=pdiff]{display:block!important;font-size:var(--fs-secondary)}
.manager-dialog.delivery-sheet.delivery-has-original>form.modal{max-width:min(98vw,1800px)!important;width:98vw}
.manager-dialog.delivery-has-original .dlv-document-content{display:grid;grid-template-columns:minmax(320px,.85fr) minmax(460px,1.15fr);gap:18px;align-items:start}
.manager-dialog .dlv-original{position:sticky;top:0;min-width:0;border:1px solid var(--border,var(--border));border-radius:10px;overflow:hidden;background:var(--surface-3)}
.manager-dialog .dlv-original-tools{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:10px;background:var(--surface,var(--surface));font-size:var(--fs-secondary)}
.manager-dialog .dlv-original>label{display:flex;align-items:center;gap:12px;margin:8px 12px;font-size:var(--fs-secondary)}
.manager-dialog .dlv-original input[type=number],.manager-dialog .dlv-original input[data-decimal]{width:75px;padding:5px}
.manager-dialog .dlv-original-viewport{height:min(72vh,950px);overflow:auto}
.manager-dialog .dlv-original-viewport iframe{border:0;width:100%;height:100%;background:white}
.manager-dialog .dlv-original-viewport img{display:block;width:100%;max-width:none}
.manager-dialog .dlv-ocr-review{padding:14px;border:1px solid var(--border,var(--border));border-radius:10px;background:var(--surface,var(--surface))}
.manager-dialog .dlv-ocr-review p{font-size:var(--fs-secondary);line-height:1.5}
.manager-dialog .dlv-ocr-header{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}
.manager-dialog .dlv-ocr-header>span{grid-column:1/-1;font-size:var(--fs-secondary)}
.manager-dialog .dlv-ocr-header label,.manager-dialog .dlv-ocr-fields label{display:grid;gap:5px;font-size:var(--fs-secondary)}
.manager-dialog .dlv-ocr-rows{display:grid;gap:12px;max-height:64vh;overflow:auto;padding:2px 6px 4px 2px;overscroll-behavior:contain}
.manager-dialog .dlv-ocr-row{border:1px solid var(--border,var(--border));border-radius:10px;padding:12px;display:grid;gap:9px}
.manager-dialog .dlv-ocr-uncertain{border-left:4px solid var(--warn-solid)}
.manager-dialog .dlv-ocr-row-title{display:flex;align-items:start;gap:8px;flex-wrap:wrap;font-size:var(--fs-secondary)}
.manager-dialog .dlv-ocr-row-title b{flex:1 1 220px}
.manager-dialog .dlv-ocr-row-title span{font-size:var(--fs-secondary)}
.manager-dialog .dlv-ocr-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.manager-dialog .dlv-ocr-fields input{width:100%;min-width:0;font-size:var(--fs-section)}
.manager-dialog .dlv-ocr-confirm{display:flex;gap:10px;align-items:start;padding:15px 0;font-size:var(--fs-secondary);line-height:1.5}
.manager-dialog .dlv-ocr-confirm input{width:20px;height:20px;flex:0 0 20px}
.manager-dialog .dlv-ocr-review pre{white-space:pre-wrap;font-size:var(--fs-secondary);max-height:300px;overflow:auto}
.manager-dialog.delivery-has-original .dlv-entry-card{grid-template-columns:repeat(3,minmax(0,1fr))}
.manager-dialog.delivery-has-original .dlv-entry-card>header{grid-column:1/-1}
.manager-dialog.delivery-has-original .dlv-entry-prices{display:contents}
@media(max-width:1000px){.manager-dialog.delivery-has-original .dlv-document-content{grid-template-columns:1fr}.manager-dialog .dlv-original{position:relative}.manager-dialog .dlv-original-viewport{height:45vh}.manager-dialog .dlv-ocr-rows{max-height:none;overflow:visible}}
@media(max-width:640px){.manager-dialog.delivery-sheet .dlv-receipt-check{grid-template-columns:1fr}.manager-dialog .dlv-ocr-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.manager-dialog .dlv-original-tools{flex-wrap:wrap}}
.manager-dialog.delivery-sheet.delivery-has-original .dlv-entry-card{grid-template-columns:repeat(3,minmax(0,1fr))}
.manager-dialog.delivery-sheet.delivery-has-original .dlv-entry-card header{grid-column:1/-1;grid-row:1}
@container(max-width:650px){.dlv-bulk-import-rows>div{grid-template-columns:1fr}}
@media(max-width:640px){.manager-dialog.delivery-sheet.delivery-has-original .dlv-entry-card{grid-template-columns:repeat(2,minmax(0,1fr))}}
.manager-dialog .dlv-ocr-document{margin:10px 0 14px;padding:9px 10px;background:var(--surface-alt,var(--surface-2));border-radius:7px;font-size:var(--fs-secondary)}
.manager-dialog .dlv-ocr-document summary{cursor:pointer;line-height:1.5}
.manager-dialog .dlv-ocr-document .dlv-ocr-header{margin-top:12px}
.manager-dialog .dlv-ocr-other{font:inherit;font-size:var(--fs-secondary);justify-self:end;border:0;background:transparent;color:var(--accent-text);text-decoration:underline;cursor:pointer;padding:0}
.manager-dialog .dlv-ocr-review{scroll-margin-top:8px}
.manager-dialog .dlv-ocr-row [data-ocr-calculated]{font-size:var(--fs-secondary)}
.manager-dialog.delivery-sheet #delivery-bulk{scroll-margin-top:104px}
.manager-dialog.delivery-sheet.delivery-has-original .dlv-original{top:100px}
@media(max-width:1000px){.manager-dialog.delivery-sheet.delivery-has-original .dlv-original{top:0}}
/* Receipt lines table (0.3.1): one row per article in the receipt order
   Код/Стока · Мярка · Кол. · Цена · Т.О. · Ст-ст · продажна цена · срок.
   The container is the right pane, so the same rules work beside the original.
   0.3.3: cells start at the top (one label line, then the control; see
   usability.css). Minimum widths: the unit select fits „кашон“ (96px) and the
   quantity fits 123456.789 between − and + (192px); the date fits 31.01.2027
   with its calendar button (156px). The wide row needs a 1060px pane;
   narrower panes use 4, then 2 columns. */
/* The quantity track is at least its stepper (min-content): at a larger font „+“ never lies over the price. */
.manager-dialog.delivery-sheet .dlv-document-fields .dlv-entry-card{grid-template-columns:minmax(140px,1.4fr) minmax(96px,.6fr) minmax(min-content,.55fr) minmax(104px,.75fr) minmax(64px,.4fr) minmax(80px,.55fr) minmax(104px,.75fr) minmax(156px,.9fr);gap:8px 10px;padding:10px 34px 10px 12px;align-items:start}
.manager-dialog.delivery-sheet .dlv-document-fields .dlv-entry-card.dlv-noprice{grid-template-columns:minmax(180px,2fr) minmax(96px,.6fr) minmax(min-content,1fr) minmax(156px,1fr)}
.manager-dialog.delivery-sheet .dlv-document-fields .dlv-entry-card>header{grid-column:1;grid-row:1;align-self:center;position:relative;min-width:0;padding-right:0}
.manager-dialog.delivery-sheet .dlv-document-fields .dlv-c-unit{grid-column:2;grid-row:1}
.manager-dialog.delivery-sheet .dlv-document-fields .dlv-c-qty{grid-column:3;grid-row:1}
.manager-dialog.delivery-sheet .dlv-document-fields .dlv-c-factor{grid-column:2/4;grid-row:2}
.manager-dialog.delivery-sheet .dlv-document-fields .dlv-c-price{grid-column:4;grid-row:1}
.manager-dialog.delivery-sheet .dlv-document-fields .dlv-c-disc{grid-column:5;grid-row:1}
.manager-dialog.delivery-sheet .dlv-document-fields .dlv-c-value{grid-column:6;grid-row:1}
.manager-dialog.delivery-sheet .dlv-document-fields .dlv-c-sale{grid-column:7;grid-row:1}
.manager-dialog.delivery-sheet .dlv-document-fields :is(.dlv-entry-tail>.dlv-c-exp,.dlv-entry-tail>.dr-expiry-group){grid-column:8;grid-row:1}
.manager-dialog.delivery-sheet .dlv-document-fields .dlv-noprice :is(.dlv-entry-tail>.dlv-c-exp,.dlv-entry-tail>.dr-expiry-group){grid-column:4}
.manager-dialog.delivery-sheet .dlv-document-fields .dlv-entry-card .dlv-x{top:50%;right:5px;transform:translateY(-50%)}
.manager-dialog.delivery-sheet .dlv-blank-card{border:1px dashed var(--accent-border);background:var(--surface-2)}
.manager-dialog.delivery-sheet .dlv-blank-card input:disabled{background:transparent;border-style:dashed}
.manager-dialog.delivery-sheet .dlv-line-article{display:grid;gap:4px;font-size:var(--fs-secondary);color:var(--text-mid,var(--text-2))}
.manager-dialog.delivery-sheet .dlv-line-article input{width:100%;min-width:0;min-height:40px;font-size:var(--fs-body);padding:8px 10px;border-radius:6px;border:1px solid var(--accent);background:var(--surface)}
.manager-dialog.delivery-sheet .dlv-line-sugg{position:absolute;z-index:8;left:0;right:-200px;top:100%;margin-top:4px;padding:4px;background:var(--surface);border:1px solid var(--accent-border);border-radius:8px;box-shadow:0 10px 30px rgba(24,26,36,.16);max-height:280px;overflow:auto}
/* 0.3.3: „Добави ред“ is the filled primary action under the table, left-aligned. */
.manager-dialog.delivery-sheet .dlv-add-row{display:flex;align-items:center;justify-content:flex-start;gap:10px 16px;flex-wrap:wrap;margin:10px 0 14px}
.manager-dialog.delivery-sheet .dlv-add-row .dlv-add-row-button{min-height:48px;padding:10px 22px 10px 16px;gap:8px;border-radius:10px;font-size:16px;font-weight:700;letter-spacing:.01em;box-shadow:0 2px 6px rgba(157,80,28,.28)}
.manager-dialog.delivery-sheet .dlv-add-row .dlv-add-row-button .icon{width:20px;height:20px;stroke-width:2.6}
.manager-dialog.delivery-sheet .dlv-add-row small{font-size:var(--fs-secondary);color:var(--text-dim,var(--text-muted))}
.manager-dialog.delivery-sheet .dlv-ocr-short{margin:0 0 8px;font-size:var(--fs-secondary);line-height:1.5}
@container (max-width:1060px){
 .manager-dialog.delivery-sheet .dlv-document-fields .dlv-entry-card,.manager-dialog.delivery-sheet .dlv-document-fields .dlv-entry-card.dlv-noprice{grid-template-columns:minmax(96px,.7fr) minmax(min-content,1.3fr) minmax(0,1fr) minmax(0,1fr)}
 .manager-dialog.delivery-sheet .dlv-document-fields .dlv-entry-card>header{grid-column:1/-1;grid-row:1}
 .manager-dialog.delivery-sheet .dlv-document-fields .dlv-c-unit{grid-column:1;grid-row:2}
 .manager-dialog.delivery-sheet .dlv-document-fields .dlv-c-qty{grid-column:2;grid-row:2}
 .manager-dialog.delivery-sheet .dlv-document-fields .dlv-c-price{grid-column:3;grid-row:2}
 .manager-dialog.delivery-sheet .dlv-document-fields .dlv-c-disc{grid-column:4;grid-row:2}
 .manager-dialog.delivery-sheet .dlv-document-fields .dlv-c-value{grid-column:1;grid-row:3}
 .manager-dialog.delivery-sheet .dlv-document-fields .dlv-c-sale{grid-column:2;grid-row:3}
 .manager-dialog.delivery-sheet .dlv-document-fields :is(.dlv-entry-tail>.dlv-c-exp,.dlv-entry-tail>.dr-expiry-group){grid-column:3/5;grid-row:3}
 .manager-dialog.delivery-sheet .dlv-document-fields .dlv-noprice :is(.dlv-entry-tail>.dlv-c-exp,.dlv-entry-tail>.dr-expiry-group){grid-column:3/5;grid-row:2}
 .manager-dialog.delivery-sheet .dlv-document-fields .dlv-c-factor{grid-column:1/3;grid-row:4}
 .manager-dialog.delivery-sheet .dlv-document-fields .dlv-entry-card .dlv-x{top:8px;transform:none}
 .manager-dialog.delivery-sheet .dlv-line-sugg{right:0}
}
@container (max-width:600px){
 .manager-dialog.delivery-sheet .dlv-document-fields .dlv-entry-card,.manager-dialog.delivery-sheet .dlv-document-fields .dlv-entry-card.dlv-noprice{grid-template-columns:minmax(0,1fr) minmax(min-content,1fr)}
 .manager-dialog.delivery-sheet .dlv-document-fields .dlv-c-price{grid-column:1;grid-row:3}
 .manager-dialog.delivery-sheet .dlv-document-fields .dlv-c-disc{grid-column:2;grid-row:3}
 .manager-dialog.delivery-sheet .dlv-document-fields .dlv-c-value{grid-column:1;grid-row:4}
 .manager-dialog.delivery-sheet .dlv-document-fields .dlv-c-sale{grid-column:2;grid-row:4}
 .manager-dialog.delivery-sheet .dlv-document-fields :is(.dlv-entry-tail>.dlv-c-exp,.dlv-entry-tail>.dr-expiry-group),.manager-dialog.delivery-sheet .dlv-document-fields .dlv-noprice :is(.dlv-entry-tail>.dlv-c-exp,.dlv-entry-tail>.dr-expiry-group){grid-column:1/-1;grid-row:5}
 .manager-dialog.delivery-sheet .dlv-document-fields .dlv-noprice :is(.dlv-entry-tail>.dlv-c-exp,.dlv-entry-tail>.dr-expiry-group){grid-row:3}
 .manager-dialog.delivery-sheet .dlv-document-fields .dlv-c-factor{grid-column:1/-1;grid-row:6}
}
/* Phone width: the quantity gets its own full row so its digits never clip. */
@container (max-width:440px){
 .manager-dialog.delivery-sheet .dlv-document-fields .dlv-entry-card,.manager-dialog.delivery-sheet .dlv-document-fields .dlv-entry-card.dlv-noprice{grid-template-columns:repeat(2,minmax(0,1fr))}
 .manager-dialog.delivery-sheet .dlv-document-fields .dlv-c-unit{grid-column:1;grid-row:2}
 .manager-dialog.delivery-sheet .dlv-document-fields .dlv-c-factor{grid-column:2;grid-row:2}
 .manager-dialog.delivery-sheet .dlv-document-fields .dlv-c-qty{grid-column:1/-1;grid-row:3}
 .manager-dialog.delivery-sheet .dlv-document-fields .dlv-c-price{grid-column:1;grid-row:4}
 .manager-dialog.delivery-sheet .dlv-document-fields .dlv-c-disc{grid-column:2;grid-row:4}
 .manager-dialog.delivery-sheet .dlv-document-fields .dlv-c-value{grid-column:1;grid-row:5}
 .manager-dialog.delivery-sheet .dlv-document-fields .dlv-c-sale{grid-column:2;grid-row:5}
 .manager-dialog.delivery-sheet .dlv-document-fields :is(.dlv-entry-tail>.dlv-c-exp,.dlv-entry-tail>.dr-expiry-group),.manager-dialog.delivery-sheet .dlv-document-fields .dlv-noprice :is(.dlv-entry-tail>.dlv-c-exp,.dlv-entry-tail>.dr-expiry-group){grid-column:1/-1;grid-row:6}
 .manager-dialog.delivery-sheet .dlv-document-fields .dlv-noprice :is(.dlv-entry-tail>.dlv-c-exp,.dlv-entry-tail>.dr-expiry-group){grid-row:4}
}
/* 034: supplier code on the row, „От заявка“ panel, code-linked marker. */
.manager-dialog.delivery-sheet .dlv-document-fields .dlv-entry-tail>.dlv-c-code{grid-column:4/-1;grid-row:2}
.manager-dialog.delivery-sheet .dlv-document-fields .dlv-c-code input{width:100%;min-width:0}
/* The receipt lines are cards, not table columns: the old table's 640 px minimum (manager-ui.css) would push them
   out of a narrow window. */
.manager-dialog.delivery-sheet .dlv-document-fields .dlv-table{min-width:0;width:100%}
@media(max-width:1000px){.manager-dialog.delivery-sheet .dlv-document-fields .dlv-entry-tail>.dlv-c-code{grid-column:1/-1;grid-row:auto}}
/* Wrapped rows (the sheet narrower than 1060 px, also in a wide window with a larger text): the document code takes a
   full row of its own after the others; in row 2, column 4 is „Т.О. %“. */
@container (max-width:1060px){.manager-dialog.delivery-sheet .dlv-document-fields .dlv-entry-tail>.dlv-c-code{grid-column:1/-1;grid-row:auto}}
.dlv-entry-card .badge{display:inline-flex;margin-left:6px;padding:2px 7px;border-radius:12px;font-size:var(--fs-secondary);font-weight:600;background:var(--surface-3);color:var(--info)}
.dlv-entry-card .badge-blue,.dlv-code-linked{background:var(--info-soft);color:var(--info);font-style:normal;padding:1px 6px;border-radius:10px}
/* Owner 08.11.2026: everything from an order is blue, like „Заявки“ in the menu. */
.dlv-order-link,.dlv-order-choose{border:1px solid var(--info-border);background:var(--info-soft);border-radius:10px;padding:12px 14px;margin-bottom:12px}
.manager-dialog .btn.dlv-order-btn{background:var(--info-soft);border-color:var(--info-border);color:var(--info)}
.manager-dialog .btn.dlv-order-btn:hover:not(:disabled),.manager-dialog .btn.dlv-order-btn:focus-visible{background:var(--info-soft);border-color:var(--info-solid);color:var(--info)}
#delivery-order-hint{display:grid;gap:6px;margin:8px 0 0}
#delivery-order-hint[hidden]{display:none}
#delivery-suggestions.has-order-hint .dlv-sugg-none{display:none}
.dlv-entry-card .badge.dlv-from-order{background:var(--info-soft);color:var(--info)}
.dlv-order-hint{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding:10px 14px;border:1px solid var(--info-border);border-left:4px solid var(--info-solid);border-radius:10px;background:var(--info-soft);color:var(--text);font:inherit;text-align:left;cursor:pointer}
.dlv-order-hint:hover,.dlv-order-hint:focus-visible{border-color:var(--info-solid);outline:none}
.dlv-order-hint>span:nth-child(2){flex:1;min-width:0}
.dlv-order-hint b{color:var(--info)}
.dlv-order-hint small{display:block;margin-top:2px;font-size:var(--fs-secondary);color:var(--text-mid)}
.dlv-order-hint-mark{padding:3px 8px;border-radius:999px;background:var(--info-solid);color:var(--surface);font-size:var(--fs-label);font-weight:700}
.dlv-order-hint-key{font-size:var(--fs-secondary);font-weight:600;color:var(--info);white-space:nowrap}
.dlv-order-hint-note{margin:0;font-size:var(--fs-secondary);color:var(--warn)}
@media(max-width:640px){.dlv-order-hint{flex-wrap:wrap}.dlv-order-hint-key{white-space:normal}}
.dlv-order-link p,.dlv-order-choose p{margin:6px 0;font-size:var(--fs-secondary)}
.dlv-order-list{display:grid;gap:8px}
.dlv-order-option{display:flex;flex-wrap:wrap;gap:8px;align-items:center;text-align:left;padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface);cursor:pointer;font:inherit}
.dlv-order-option:hover,.dlv-order-option:focus-visible{border-color:var(--info-solid);outline:none}
.dlv-order-free{display:grid;gap:8px;margin-top:8px}
.dlv-order-free-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;padding:8px;border:1px dashed var(--border-strong);border-radius:8px;background:var(--surface)}
.dlv-order-match{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:var(--fs-secondary)}
.dlv-order-match input,.dlv-order-match select{min-height:34px;max-width:220px}
.po-status-PARTIAL{background:var(--warn-soft);color:var(--warn)}.po-status-LATE{background:var(--danger-soft);color:var(--danger);margin-left:6px}
/* Owner 04.11.2026: the article's group. A set group is a line under the name; a missing one is a field of the row
   beside „Код в документа“ (the name column stays short, the rows keep their height). */
.manager-dialog .dlv-entry-card header .dlv-group{display:block;margin-top:4px;font-size:var(--fs-secondary);line-height:1.4;color:var(--text-mid)}
.manager-dialog .dlv-entry-card header .dlv-group b{color:var(--text);font-weight:600}
/* A long name without spaces („БИТ.ЛЕНТА+АЛпокрТИТАН“) wraps inside its column instead of running under „Мярка“. */
.manager-dialog.delivery-sheet .dlv-entry-card header strong{overflow-wrap:anywhere}
.manager-dialog.delivery-sheet .dlv-document-fields .dlv-entry-tail>.dlv-c-group{grid-column:1;grid-row:2}
.manager-dialog.delivery-sheet .dlv-document-fields .dlv-c-group input{width:100%;min-width:0}
@container (max-width:1060px){
 .manager-dialog.delivery-sheet .dlv-document-fields .dlv-entry-tail>.dlv-c-group{grid-column:1/3;grid-row:auto}
 .manager-dialog.delivery-sheet .dlv-document-fields .dlv-entry-card:has(.dlv-c-group) .dlv-entry-tail>.dlv-c-code{grid-column:3/-1}
}
@container (max-width:600px){
 .manager-dialog.delivery-sheet .dlv-document-fields .dlv-entry-tail>.dlv-c-group,.manager-dialog.delivery-sheet .dlv-document-fields .dlv-entry-card:has(.dlv-c-group) .dlv-entry-tail>.dlv-c-code{grid-column:1/-1}
}

/* Owner 09.11.2026 — Доставки as the archive: days, one card per delivery, the value always on the right. */
.delivery-history-days{container-type:inline-size;container-name:dlv-days}
.dlv-day{margin:0 0 16px}
.dlv-day>h3{display:flex;align-items:baseline;gap:10px;margin:0 2px 8px;font-size:var(--fs-body);font-weight:700}
.dlv-day>h3 small{font-weight:400;font-size:var(--fs-secondary);color:var(--text-muted)}
.dlv-day-list{display:grid;gap:8px}
.dlv-card{display:grid;grid-template-columns:44px minmax(0,1.6fr) minmax(0,1.1fr) max-content max-content max-content;gap:14px;align-items:center;padding:12px 14px;border:1px solid var(--border-soft);border-radius:14px;background:var(--surface);cursor:pointer;text-align:left}
.dlv-card:hover,.dlv-card:focus-visible{border-color:var(--border-strong);background:var(--surface-2)}
.dlv-card-icon{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:var(--ok-soft,#E6F4EA);color:var(--ok,#1E7A3D)}
.dlv-card-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2}
.dlv-card strong{display:block;overflow-wrap:anywhere}
.dlv-card small{display:block;margin-top:2px;font-size:var(--fs-secondary);color:var(--text-muted)}
.dlv-card .delivery-preview{display:block;margin-top:3px;font-size:var(--fs-secondary);color:var(--text-2);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.dlv-card-supplier strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dlv-card-qty{text-align:right;white-space:nowrap;font-size:var(--fs-secondary);color:var(--text-2)}
.dlv-card .delivery-value{text-align:right;white-space:nowrap;font-weight:800;font-variant-numeric:tabular-nums}
.dlv-card .dlv-wait{display:inline-block;padding:2px 8px;border-radius:999px;background:var(--warn-soft);color:var(--warn);font-size:var(--fs-label);font-weight:700}
@container dlv-days (max-width:760px){
 .dlv-card{grid-template-columns:40px minmax(0,1fr) max-content;gap:6px 12px}
 .dlv-card-icon{width:40px;height:40px;grid-row:span 2}
 .dlv-card-doc{grid-column:2/4}
 .dlv-card-supplier{grid-column:2}
 .dlv-card-qty{grid-column:2;text-align:left}
 .dlv-card .delivery-value{grid-column:3;grid-row:2}
 .dlv-card-go{display:none}
}

/* „Отложи доставката“ (owner 19.11.2026): the button at the top of the sheet, the note on return, the card in „Доставки“
   and the top button on other pages share the warning colours; the return note is information (blue). */
.delivery-sheet .modal-header .dlv-park-button{display:inline-flex;align-items:center;gap:8px;margin-left:auto;margin-right:10px;padding:8px 14px;min-height:40px;border:1.5px solid var(--warn-solid);border-radius:10px;background:var(--warn-soft);color:var(--warn);font-weight:700;font-size:var(--fs-body);white-space:nowrap;cursor:pointer}
.delivery-sheet .modal-header .dlv-park-button:hover{filter:brightness(.97)}
.delivery-sheet .modal-header .dlv-park-button kbd{font-size:12px;padding:1px 5px;border:1px solid var(--warn-border);border-radius:5px;background:var(--surface);color:var(--warn)}
.dlv-park-note{display:flex;gap:12px;align-items:flex-start;margin:0 0 12px;padding:10px 14px;border:1px solid var(--info-border);border-radius:10px;background:var(--info-soft);color:var(--info);font-size:var(--fs-body)}
.dlv-park-note p{margin:0}.dlv-park-note p+p{margin-top:6px}.dlv-park-note b{font-weight:800}
.dlv-park-note .dlv-park-warn{color:var(--warn);font-weight:600}
.dlv-park-card{display:flex;align-items:center;gap:16px;margin:0 0 16px;padding:14px 18px;border:1.5px solid var(--warn-solid);border-radius:12px;background:var(--warn-soft);color:var(--ink)}
.dlv-park-card h2{margin:0;font-size:var(--fs-section,17px);font-weight:800;color:var(--warn)}
.dlv-park-card p{margin:3px 0 0;font-size:var(--fs-secondary)}
.dlv-park-card-actions{margin-left:auto;display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.cash-shift-button.dlv-park-top{border:1.5px solid var(--warn-solid);background:var(--warn-soft);color:var(--warn);font-weight:700}
@media(max-width:760px){
 .dlv-park-card{flex-direction:column;align-items:stretch}
 .dlv-park-card-actions{margin-left:0;justify-content:stretch}.dlv-park-card-actions .btn{flex:1}
 .delivery-sheet .modal-header .dlv-park-button{padding:6px 10px}.delivery-sheet .modal-header .dlv-park-button kbd{display:none}
}
/* Owner 19.11.2026 (said several times): the quantity box is only as wide as a number needs — − [ 12 ] + — never
   stretched across its column. The 4-column layout gives its track the same width. */
.manager-dialog.delivery-sheet .dlv-document-fields .dlv-c-qty .dlv-qty{max-width:176px}
@container (max-width:1060px){
 .manager-dialog.delivery-sheet .dlv-document-fields .dlv-entry-card,.manager-dialog.delivery-sheet .dlv-document-fields .dlv-entry-card.dlv-noprice{grid-template-columns:minmax(96px,.7fr) minmax(min-content,176px) minmax(0,1fr) minmax(0,1fr)}
}
@container (max-width:600px){
 .manager-dialog.delivery-sheet .dlv-document-fields .dlv-entry-card,.manager-dialog.delivery-sheet .dlv-document-fields .dlv-entry-card.dlv-noprice{grid-template-columns:minmax(0,1fr) minmax(min-content,176px)}
}
@container (max-width:440px){
 .manager-dialog.delivery-sheet .dlv-document-fields .dlv-entry-card,.manager-dialog.delivery-sheet .dlv-document-fields .dlv-entry-card.dlv-noprice{grid-template-columns:repeat(2,minmax(0,1fr))}
}
