/* 04.60.1 Manual Lead intake: additive styles, leaves frozen workspaces untouched. */
.lw-head .ml-create-button{background:#2563eb!important;color:#fff!important;border:1px solid #2563eb!important;border-radius:12px;padding:10px 17px;font-weight:700;box-shadow:0 4px 13px #2563eb24;cursor:pointer}
.lw-head .ml-create-button:hover{background:#194ec3!important}
.ml-backdrop{position:fixed;inset:0;background:#0f172a88;z-index:980;backdrop-filter:blur(3px)}
.ml-dialog{position:fixed;inset:4vh auto auto 50%;transform:translateX(-50%);width:min(720px,calc(100vw - 30px));max-height:92vh;display:flex;flex-direction:column;border:1px solid #d7e0eb;background:#fff;color:#18263a;border-radius:20px;box-shadow:0 25px 85px #0b153040;z-index:981;overflow:hidden;font-family:Inter,system-ui,sans-serif}
.ml-dialog-head{padding:23px 27px;display:flex;justify-content:space-between;align-items:flex-start;gap:16px;background:linear-gradient(115deg,#f0f5ff,#f5faf7);border-bottom:1px solid #e2eaf5}
.ml-dialog-head small{color:#4476c1;font-size:10px;font-weight:800;letter-spacing:.12em}
.ml-dialog-head h2{font-size:22px;font-weight:800;line-height:1.2;margin:6px 0;color:#1d3150}
.ml-dialog-head p{font-size:12px;color:#64748b;margin:0}
.ml-dialog-head>button{font-size:25px;line-height:1;cursor:pointer;background:#fff;border:1px solid #d8e2ef;border-radius:11px;width:36px;height:36px}
.ml-dialog-body{overflow:auto;padding:20px 27px 24px;min-height:0}
.ml-explainer{border-radius:11px;background:#f0f7f5;border:1px solid #d6e9e3;color:#35645c;font-size:12px;line-height:1.55;padding:10px 13px;margin:0 0 15px}
.ml-mode{display:flex;border:1px solid #dce5f0;border-radius:12px;padding:4px;margin:0 0 18px;background:#f8fafd;width:fit-content}
.ml-mode button{border:0;background:transparent;color:#52637b;padding:9px 17px;border-radius:9px;font-weight:700;cursor:pointer}
.ml-mode button[aria-pressed="true"]{background:white;color:#215dcb;box-shadow:0 2px 9px #172d511b}
.ml-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:13px 18px}
.ml-fields label{display:flex;flex-direction:column;gap:7px;color:#344860;font-size:12px;font-weight:700;min-width:0}
.ml-fields input:not([type=checkbox]),.ml-fields textarea,.ml-fields select{border:1px solid #d4deea;background:#fff;border-radius:9px;padding:11px 12px;font:inherit;font-size:13px;color:#1e304a;min-width:0;box-sizing:border-box;width:100%;outline:none}
.ml-fields input:focus,.ml-fields textarea:focus,.ml-fields select:focus{border-color:#5286ef;box-shadow:0 0 0 3px #448cff22}
.ml-fields .ml-wide{grid-column:1/-1}.ml-field-note{font-size:11px;color:#718099;margin:0}
.ml-fields .ml-check-label{display:flex;flex-direction:row;gap:9px;align-items:center;font-size:12px;font-weight:500;color:#495f7a}
.ml-fields .ml-check-label input{accent-color:#3279ed}
.ml-search{display:flex;align-items:end;gap:10px}.ml-search label{flex:1}
.ml-search button,.ml-check{padding:10px 15px;border:1px solid #c4d9ee;background:#eff6ff;color:#1f60b8;border-radius:9px;font-weight:700;cursor:pointer}
.ml-contacts{display:grid;gap:7px;max-height:200px;overflow:auto}
.ml-contacts button{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #d5dfed;background:#fff;border-radius:9px;text-align:left;cursor:pointer;color:#344860}
.ml-contacts button[aria-pressed="true"]{background:#ecf3ff;border-color:#3c78dc}
.ml-contacts button span{font-size:11px;color:#718099}.ml-contacts>p{font-size:12px;color:#6b7890}
.ml-dialog-actions{display:flex;gap:9px;margin-top:19px;border-top:1px solid #edf0f5;padding-top:18px}
.ml-dialog-actions button{padding:10px 16px;border:1px solid #d6e0eb;border-radius:9px;font-weight:700;background:#fff;color:#35506b;cursor:pointer}
.ml-dialog-actions .ml-save{background:#2563eb;border-color:#2563eb;color:#fff}
.ml-dialog button:disabled{opacity:.5;cursor:not-allowed}
.ml-footer{font-size:11px;color:#7a8a9c;line-height:1.65;margin:14px 0 0}.ml-error{color:#9a2937;background:#fff0f0;border:1px solid #ffcaca;border-radius:9px;padding:11px;font-size:12px}
@media(max-width:620px){.ml-dialog{max-height:96vh;top:2vh}.ml-dialog-head{padding:17px}.ml-dialog-body{padding:15px}.ml-fields{grid-template-columns:1fr}.ml-search{flex-direction:column;align-items:stretch}.ml-contacts button{flex-direction:column;align-items:flex-start}}
