/* v34: fixed-height production columns, compact guarded stage menus and file covers. */
.tc-kontur .kanban{align-items:stretch;max-height:calc(100dvh - 230px);min-height:380px;overflow-x:auto;overflow-y:hidden}
.tc-kontur .kanban-column{
 height:calc(100dvh - 245px);max-height:900px;min-height:360px;
 display:flex;flex-direction:column;overflow:visible;position:relative
}
.tc-kontur .kanban-column>header{flex:0 0 auto;min-height:39px;flex-wrap:nowrap;z-index:6}
.tc-kontur .kanban-column>header>b{min-width:0;overflow-wrap:anywhere;flex:1}
.tc-kontur .kanban-cards{
 overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1;
 display:flex;flex-direction:column;gap:10px;padding:0 4px 12px 1px;
 scrollbar-width:thin;scrollbar-color:#bdcbe0 transparent
}
.tc-kontur .kanban-column .order-card{flex:0 0 auto}
.tc-kontur .v34-stage-create{margin:4px 0 18px;border:1px solid #e0e7f0;
 border-radius:10px;background:#fff;width:fit-content;max-width:100%}
.tc-kontur .v34-stage-create>summary{padding:11px 15px;cursor:pointer;
 color:#3a5889;font-weight:760;list-style:none}
.tc-kontur .v34-stage-create>summary::-webkit-details-marker{display:none}
.tc-kontur .v34-stage-create .form-card{margin:0;box-shadow:none;border:0;border-top:1px solid #e1e7f0}
.tc-kontur .v34-stage-menu{position:relative;flex:none;z-index:15}
.tc-kontur .v34-stage-menu summary{
 list-style:none;display:grid;place-items:center;cursor:pointer;
 width:31px;height:31px;min-width:31px;border:1px solid #cbd6e8;
 border-radius:8px;background:#fff;color:#405b87;font-size:1.22rem
}
.tc-kontur .v34-stage-menu summary::-webkit-details-marker{display:none}
.tc-kontur .v34-stage-menu[open] summary{background:#e5edff;border-color:#91aff6}
.tc-kontur .v34-stage-menu .stage-tools{
 position:absolute;right:0;top:37px;min-width:157px;z-index:22;
 background:#fff;border:1px solid #d8e2ef;border-radius:10px;
 box-shadow:0 12px 25px #16294933;padding:9px;display:grid;
 grid-template-columns:repeat(4,1fr);gap:7px;
}
.tc-kontur .v34-stage-menu .stage-tools button{width:31px;height:31px}
.tc-kontur .v34-kanban-cover{display:block;width:100%;height:112px;
 object-fit:cover;object-position:center;border-radius:7px;margin-bottom:10px;
 background:#dce4f0}
.tc-kontur .v34-cover-empty{
 min-height:80px;display:flex;flex-direction:column;align-items:center;
 justify-content:center;gap:4px;border-radius:8px;background:#eaf0f8;
 color:#7387a6;margin-bottom:11px
}
.tc-kontur .v34-cover-empty span{font-size:1.45rem;color:#94a7c4}
.tc-kontur .v34-cover-empty small{font-size:.7rem}
.tc-kontur .v34-detail-cover{
 padding:14px 22px 0;background:#f4f7fb;max-height:255px;
 overflow:hidden;display:flex;justify-content:center
}
.tc-kontur .v34-detail-cover img{height:212px;width:100%;object-fit:contain;
 border-radius:10px;background:#eaf0f7}
.tc-kontur .v34-detail-cover .v34-cover-empty{width:100%;min-height:83px}
.tc-kontur .v34-file-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center}
.tc-kontur .v34-file-actions .btn{min-height:34px;padding:6px 9px;font-size:.76rem}
.tc-kontur .v34-file-actions .v34-delete{color:#a2383b;border-color:#f1d1d1}
.tc-kontur .v34-file-actions .v34-delete:hover{background:#fff0f0}
.tc-kontur .v13-line input[readonly]{background:#edf3ff;border-color:#cbd8fc;
 color:#254fa7;font-weight:770;cursor:not-allowed}
.tc-kontur .v13-full-explain{font-size:.78rem;color:#49709b;margin:2px 0 9px}
.tc-kontur #v13-payment-form[data-full="true"] [data-add-pay]{
 display:none!important
}
@media(max-width:760px){
 .tc-kontur .kanban{max-height:calc(100dvh - 210px)}
 .tc-kontur .kanban-column{height:calc(100dvh - 225px);min-height:320px}
 .tc-kontur .v34-detail-cover{padding:9px}
 .tc-kontur .v34-detail-cover img{height:145px}
}
