/* V26 */
td[data-cell=name],.ds-grid .lead-table td[data-cell=name]{white-space:pre-line!important}
.v26-regular{display:inline-block;font-weight:700;color:#01696F;cursor:help}
.v26-count{display:inline-block;min-width:1.4em;padding:0 .35em;margin-left:.25em;border-radius:999px;background:#A13544;color:#fff;font-size:.8em;line-height:1.4em;text-align:center}
.v26-badge{display:inline-block;padding:0 .4em;border-radius:4px;background:#F3E1E4;color:#7D1F32;font-size:.85em}
tr.v26-overdue td{background:#FBF1F2}
.v26-actions summary{cursor:pointer}
.v26-action-form,.v26-alt-form{display:flex;flex-wrap:wrap;gap:.6rem;align-items:flex-end;margin:.6rem 0}
.v26-action-form label,.v26-alt-form label{display:flex;flex-direction:column;gap:.2rem}
.v26-action-form .v26-wide,.v26-alt-form .v26-wide{flex:1 1 280px}
.v26-alt-form fieldset{border:1px solid #D4D1CA;border-radius:6px;padding:.4rem .6rem}
.v26-note{display:flex;gap:.5rem;align-items:flex-end}
.v26-note textarea{flex:1}
.v26-log{max-height:320px;overflow:auto;border-left:3px solid #D4D1CA;padding-left:.7rem}
.v26-log p{margin:.35rem 0}
.v26-doc-tabs{display:flex;gap:.4rem;margin:.6rem 0}
.v26-doc-tabs .btn.active,.v26-tags .btn.active{background:#01696F;color:#fff;border-color:#01696F}
.v26-alt-settings{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;padding:.5rem 0;border-top:1px solid #E6E3DC}
.v26-alt-settings label{display:inline-flex;gap:.3rem;align-items:center}
.v26-purchase-box{margin:0 0 .6rem}
.v26-purchase-box:empty{display:none}
.v26-stage{display:flex;flex-wrap:wrap;gap:.6rem;align-items:flex-end;padding:.5rem .6rem;border:1px solid #D4D1CA;border-radius:6px;background:#FBFBF9}
.v26-stage label{display:flex;flex-direction:column;gap:.2rem}
.v26-stage label.ds-check{flex-direction:row;align-items:center}
.v26-overview{margin:.8rem 0;padding:.6rem .8rem;border:1px solid #D4D1CA;border-radius:6px;background:#FBFBF9;max-height:60vh;overflow:auto}
.v26-overview summary{cursor:pointer;margin:.3rem 0}
.v26-overview table{width:100%;border-collapse:collapse;font-size:.92em}
.v26-overview td,.v26-overview th{padding:.25rem .4rem;border-bottom:1px solid #E6E3DC;text-align:left}
.v26-overview td.num{text-align:right;font-variant-numeric:tabular-nums}
.v26-link{cursor:pointer}
.v26-link:hover td,.v26-link:focus td{background:#EAF3F3}
.v26-stats{display:flex;flex-wrap:wrap;gap:1.2rem;margin:.4rem 0}
.v26-stats div{display:flex;flex-direction:column}
.v26-stats strong{font-size:1.15em}
.v26-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}
.v26-cols h4{margin:.3rem 0}
.v26-client-filters{display:flex;flex-wrap:wrap;gap:.5rem;align-items:flex-end}
.v26-client-filters label{display:flex;flex-direction:column;font-size:.9em}
.v26-tags{margin:.35rem 0;display:flex;flex-wrap:wrap;gap:.3rem;align-items:center}
/* подсказки поиска: видимое наведение мышью */
[data-suggestions] button:hover,[data-results] button:hover,[data-results] [data-hit]:hover,.v15-suggestions button:hover{background:#EAF3F3;border-color:#01696F}
.v26-stage{padding:.7rem .8rem;gap:.8rem}
.v26-stage label{font-size:12px;font-weight:600;color:#28251D}
.v26-stage select{min-height:38px;min-width:260px;padding:6px 10px;border:1px solid #D4D1CA;border-radius:8px;background:#fff;font:inherit;font-weight:400;font-size:14px}
.v26-stage .btn{min-height:38px}
.v26-stage label.ds-check{font-weight:400;font-size:14px;min-height:38px}
.v26-purchase-box>.ds-check{display:inline-flex;align-items:center;gap:.4rem;margin:0 1rem .4rem 0;font-size:14px}
/* Обзор заказчика/поставщика: таблицы по ширине окна, без общего min-width 1080px и обрезки ячеек */
.v26-overview table{min-width:0!important;table-layout:auto}
.v26-overview tbody td,.v26-overview th{white-space:normal!important;max-width:none!important;overflow:visible!important;overflow-wrap:normal;word-break:normal}
.v26-overview tbody td:first-child{overflow-wrap:anywhere}
.v26-overview thead th{white-space:nowrap!important}
.v26-overview tbody td:nth-child(2){white-space:nowrap!important}
.v26-overview td.num,.v26-overview th.num{white-space:nowrap!important;overflow-wrap:normal}
.v26-cols>div{min-width:0}
.v26-cols p{margin:.2rem 0;overflow-wrap:anywhere}
/* Спецификация лида: после добавления столбца «Раздел» наименование — 4-й столбец */
.ds-grid .lead-table td[data-cell=section]{white-space:normal!important;min-width:110px!important;max-width:200px!important;overflow-wrap:anywhere}
.ds-grid .lead-table td[data-cell=name]{min-width:270px;max-width:600px;overflow-wrap:anywhere}
.v26-action-form{align-items:flex-end}
.ds-grid .lead-table th[data-col=section]{width:auto!important;min-width:110px!important;max-width:200px}
.ds-grid .lead-table th[data-col=article]{width:auto;min-width:0}
.ds-grid .lead-table th[data-col=name]{width:40%;min-width:270px}
.ds-grid .lead-table td[data-cell=article]{white-space:nowrap!important;min-width:0}
#tab-reminders tbody td{white-space:normal!important;max-width:none!important;overflow:visible!important}
