/* V34: окна 2/3 ширины экрана (95 % при ширине меньше 1280 px), не уже прежнего размера. */
.modal-overlay>.modal,dialog[open]{min-width:min(66.67vw,100%)}
dialog[open]{max-width:max(95vw,var(--v34-dialog-max,0px))}
@media (max-width:1279px){.modal-overlay>.modal,dialog[open]{min-width:95vw;max-width:95vw}}

/* Фильтры таблиц */
tr.v34-filter-row th{padding:4px 6px;vertical-align:top;font-weight:400;background:var(--surface-2,#f8fafc)}
tr.v34-filter-row input[type=search]{width:100%;min-width:70px;padding:3px 6px;font-size:12px}
details.v34-f{position:relative;font-size:12px}
details.v34-f>summary{cursor:pointer;list-style:none;border:1px solid var(--border,#d0d5dd);border-radius:6px;padding:2px 6px;white-space:nowrap;background:#fff;color:var(--text-muted,#475467)}
details.v34-f>summary.v34-on{border-color:#2563eb;color:#1d4ed8;font-weight:600}
details.v34-f>summary::-webkit-details-marker{display:none}
.v34-f-panel{position:absolute;z-index:30;top:100%;left:0;min-width:200px;max-height:300px;overflow:auto;background:#fff;border:1px solid var(--border,#d0d5dd);border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.15);padding:8px;display:grid;gap:6px;text-align:left}
.v34-f-panel label{display:flex;gap:6px;align-items:center;font-weight:400;white-space:nowrap}
.v34-f-panel input[type=date],.v34-f-panel input[type=number]{min-width:130px}
button.v34-sort{all:unset;cursor:pointer;display:inline;white-space:normal}
button.v34-sort:focus-visible{outline:2px solid #2563eb}
th[aria-sort=ascending] button.v34-sort::after{content:' ▲';font-size:10px}
th[aria-sort=descending] button.v34-sort::after{content:' ▼';font-size:10px}
.v34-reset{margin:4px 0}
tr.v34-hidden{display:none}

/* Заголовки таблиц не обрезаются; действия в одну строку */
/* п. 10: список действий и «Подтвердить» всегда в одной строке; «Удалить» при нехватке места переносится ниже. */
.v28-m-table td.v28-nowrap,.v34-nowrap{white-space:nowrap}
.v28-m-table td.v28-act{white-space:normal!important;min-width:0}
.v28-m-table td.v28-act select[data-act]{max-width:200px;width:auto}
.v28-m-table td.v28-act [data-act-del]{margin-top:4px}
.lead-table.v28-m-table td:first-child{min-width:0;max-width:none}
.v28-m-table th{white-space:normal;overflow:visible;text-overflow:clip}
.sales-table-wrap:has(.v28-m-table){overflow-x:auto}

/* Общие элементы */
.v34-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.v34-batch{border:1px dashed var(--border,#d0d5dd);border-radius:8px;padding:8px 10px;margin:8px 0}
.v34-batch-table select{min-width:200px}
.v34-na{margin-left:4px;font-size:11px;padding:2px 6px}
.v34-small{max-width:720px}
.v34-issues li{margin:2px 0}
.v34-docs-table td,.v34-docs-table th{vertical-align:top}
table.v34-import tr.v34-bad td{background:#fef2f2}
table.v34-import tr.v34-warn td{background:#fffbeb}
.v34-fgis-found{color:#047857}.v34-fgis-mismatch{color:#b45309}.v34-fgis-notFound,.v34-fgis-unavailable{color:#b91c1c}
.v34-ocr{font-size:12px;color:var(--text-muted,#475467)}
.v34-results textarea{min-height:48px}
.v30-st-shipped{background:#e0f2fe;color:#075985}
.v34-kind small[data-kind-msg]{color:#b91c1c}
.v34-mat-files a{margin-right:6px}
.v34-fin-hidden{display:none!important}
.v34-acts{margin-top:18px}
