/* v36: practical staff/role management modals, consistent with order cards. */
.tc-kontur .v36-member{gap:14px;align-items:center}
.tc-kontur .v36-member .record-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.tc-kontur .v36-summary{color:#2a456e;font-size:.87rem;font-weight:750}
.tc-kontur .v36-check{display:flex!important;flex-direction:row!important;align-items:center;gap:9px;
 background:#f0f4fa;border-radius:9px;padding:11px 13px}
.tc-kontur .v36-check input{width:16px;min-height:16px;height:16px;flex:0 0 16px}
.tc-kontur .v36-permissions{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:9px;max-height:45dvh;overflow-y:auto}
.tc-kontur .v36-permission{display:flex!important;flex-direction:row!important;align-items:center;
 min-height:42px;padding:8px 12px;border:1px solid #e0e8f4;border-radius:9px;background:#fff;
 font-size:.8rem;line-height:1.4;color:#3c5372;font-weight:580}
.tc-kontur .v36-permission:has(input:checked){border-color:#a9bff6;background:#f0f5ff}
.tc-kontur .v36-permission input{width:16px;min-height:16px;height:16px;flex:0 0 16px}
.tc-kontur .v36-helper{font-weight:740;font-size:.92rem}
.tc-kontur .v36-sensitive{margin-top:18px;border-top:1px solid #e3e9f3;padding-top:18px;display:grid;gap:9px}
.tc-kontur .v36-sensitive .btn{justify-self:start}
.tc-kontur .v36-sensitive .muted{font-size:.78rem}
.tc-kontur .v36-remove-role{color:#a13340;border-color:#e7c2c9}
.tc-kontur .v36-secret{display:grid;gap:12px}
.tc-kontur .v36-secret strong{color:#244873}
.tc-kontur .v36-secret p{color:#6f819c;line-height:1.5;font-size:.85rem}
.tc-kontur .v36-password{display:block;padding:15px;border:1px solid #bbcef6;border-radius:10px;background:#edf2ff;
 color:#214784;font-size:1rem;word-break:break-all;user-select:all}
.tc-kontur .v36-secret .btn{justify-self:start}
@media(max-width:760px){
 .tc-kontur .v36-member{align-items:flex-start}
 .tc-kontur .v36-member .record-actions{width:100%}
 .tc-kontur .v36-permissions{grid-template-columns:1fr}
}
