/* UX feedback system — premium blue, minimal and fully app-owned */
.crm-toast-region{position:fixed;right:22px;top:94px;z-index:3000;width:min(395px,calc(100vw - 28px));display:flex;flex-direction:column;align-items:stretch;gap:10px;pointer-events:none}
.crm-toast{display:flex;gap:13px;align-items:flex-start;position:relative;border:1px solid #315781;border-left:3px solid #4f94e8;background:linear-gradient(126deg,#102640,#0a192f);border-radius:13px;padding:15px 12px 14px 15px;box-shadow:0 14px 38px #01061199;animation:crm-toast-enter .18s ease-out;pointer-events:auto;backdrop-filter:blur(16px)}
.crm-toast-icon{display:flex;justify-content:center;align-items:center;width:30px;height:30px;flex-shrink:0;border-radius:9px;background:#1c436b;color:#8cc9ff}
.crm-toast-icon svg,.crm-modal-icon svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}
.crm-toast-content{flex:1;min-width:0}.crm-toast-content strong{font-size:13px;color:#f0f7ff;display:block;line-height:1.35}.crm-toast-content p{font-size:12px;line-height:1.55;color:#b0c7df;margin:5px 0 0;overflow-wrap:anywhere}
.crm-toast-close{color:#809ebf;background:transparent;border:0;font-size:22px;line-height:1;cursor:pointer;padding:0 3px}
.crm-toast-close:hover{color:#fff}.crm-toast-success{border-left-color:#33c896}.crm-toast-success .crm-toast-icon{background:#113d35;color:#50e6b4}
.crm-toast-warning{border-left-color:#f4c071}.crm-toast-warning .crm-toast-icon{background:#45331f;color:#ffcb83}
.crm-toast-error{border-left-color:#f47f91}.crm-toast-error .crm-toast-icon{background:#4a2537;color:#ffa6ba}
.crm-toast-exit{animation:crm-toast-leave .18s ease-in forwards}
@keyframes crm-toast-enter{from{opacity:0;transform:translateX(10px)}to{opacity:1;transform:translateX(0)}}
@keyframes crm-toast-leave{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(10px)}}
.crm-modal-overlay{position:fixed;inset:0;z-index:3500;background:#020a18c9;backdrop-filter:blur(7px);display:grid;place-items:center;padding:18px}
.crm-modal{width:min(470px,100%);background:linear-gradient(145deg,#132a49,#0b1b31);border:1px solid #3b5a7d;border-radius:18px;padding:25px;box-shadow:0 24px 100px #000a}
.crm-modal-title{display:flex;align-items:center;gap:13px}.crm-modal-icon{display:grid;place-items:center;width:39px;height:39px;border:1px solid #2c628e;background:#1d4266;border-radius:12px;color:#9bcfff}
.crm-modal h2{font-size:19px;color:#f3f8ff;line-height:1.3;margin:0;font-weight:760}.crm-modal>p{font-size:13px;color:#b2c8df;line-height:1.7;margin:19px 0 25px}
.crm-modal-actions{display:flex;justify-content:flex-end;gap:10px}.crm-modal-actions button{border-radius:9px;padding:11px 16px;font-size:12px;cursor:pointer;font-weight:720}
.crm-modal-secondary{background:#19324e;color:#dceaff;border:1px solid #345375}.crm-modal-primary{background:#286cce;color:#fff;border:1px solid #5491ed}.crm-modal-danger{background:#8d3f55;color:#fff;border:1px solid #b96a7e}
.crm-modal button:focus-visible,.crm-toast button:focus-visible{outline:2px solid #93cdff;outline-offset:2px}
@media(max-width:600px){.crm-toast-region{top:76px;right:14px}.crm-modal{padding:21px}.crm-modal-actions{flex-direction:column-reverse}.crm-modal-actions button{width:100%}}
@media(prefers-reduced-motion:reduce){.crm-toast,.crm-toast-exit{animation:none}}
