.cemBtn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:38px;margin-left:10px;padding:9px 14px;border:0;border-radius:8px;
  background:#245bd7;color:#fff;font:inherit;font-size:13px;font-weight:900;cursor:pointer
}
.cem{width:min(1100px,calc(100vw - 30px));max-height:calc(100dvh - 30px);padding:0;border:0;border-radius:18px;overflow:hidden;background:#fff;color:#111827}
.cem::backdrop{background:rgba(15,23,42,.58)}
.cemH{display:flex;justify-content:space-between;padding:24px 27px 19px;border-bottom:1px solid #e5e7eb}
.cemH h2{margin:3px 0 0}.cemH small{color:#245bd7;font-weight:900}
.cemH>button{width:44px;height:44px;border:1px solid #e1e6ee;border-radius:12px;background:#fff;font-size:28px;cursor:pointer}
.cemB{max-height:calc(100dvh - 190px);padding:22px 27px;overflow:auto}
.cemFilters{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.cemSearch{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.cemFilters b,.cemSearch b,.cemO b{display:block;margin-bottom:7px}
.cemFilters select,.cemSearch select,.cemSearch input{
  width:100%;min-height:44px;box-sizing:border-box;padding:0 12px;border:1px solid #ccd5e2;border-radius:9px;background:#fff;font:inherit;font-weight:700
}
.cemS{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:17px 0}
.cemS>div{padding:17px 16px;border:1px solid #dfe5ee;border-radius:11px;background:#f8fafc}
.cemS strong{display:block;font-size:28px}.cemS span{color:#61708a;font-size:12px}
.cemO textarea{width:100%;min-height:230px;box-sizing:border-box;padding:13px 14px;border:1px solid #ccd5e2;border-radius:10px;background:#fbfcfe;font:600 13px/1.55 Consolas,monospace}
.cemW{margin-top:11px;padding:11px 13px;border:1px solid #efd68d;border-radius:9px;background:#fff9e8;color:#6f5515;font-size:12px}
.cemF{display:flex;justify-content:flex-end;gap:10px;padding:16px 27px 20px;border-top:1px solid #e5e7eb}
.cemF button{min-height:42px;padding:9px 16px;border-radius:9px;border:1px solid #d7dee8;background:#fff;font:inherit;font-weight:900;cursor:pointer}
.cemF .pri{border:0;background:#245bd7;color:#fff}
@media(max-width:900px){.cemFilters{grid-template-columns:1fr 1fr}.cemSearch{grid-template-columns:1fr}.cemS{grid-template-columns:1fr 1fr}}