/* STUDIO_DIALOGS_V1 — confirmações acessíveis e toasts discretos. */
body.studio-ux-locked{overflow:hidden}
.studio-ux-overlay{position:fixed;inset:0;background:rgba(13,19,32,.54);backdrop-filter:blur(4px);display:flex;justify-content:center;align-items:center;padding:20px;z-index:3000;animation:studio-ux-fade .16s ease both}
.studio-ux-dialog{width:min(100%,500px);max-height:calc(100dvh - 40px);overflow:auto;background:#fff;border-radius:18px;box-shadow:0 24px 75px rgba(18,26,40,.25);padding:25px;color:#243044;animation:studio-ux-pop .2s ease both}
.studio-ux-header{display:flex;align-items:flex-start;gap:13px;margin-bottom:18px}
.studio-ux-icon{width:42px;height:42px;display:grid;place-items:center;flex:none;border-radius:12px;background:#eaf3ed;color:#158355;font-size:20px;font-weight:800}
.studio-ux-dialog.is-critical .studio-ux-icon{background:#fff0e7;color:#c16b32}
.studio-ux-head-text{min-width:0}
.studio-ux-title{font-size:20px;line-height:1.28;letter-spacing:-.45px;margin:0 0 5px;font-weight:800}
.studio-ux-subtitle{font-size:11px;line-height:1.55;color:#8b96a7}
.studio-ux-message{font-size:13px;line-height:1.7;color:#515e70;margin:0 0 20px;white-space:pre-wrap;overflow-wrap:anywhere}
.studio-ux-message p{margin:0 0 11px}.studio-ux-message p:last-child{margin-bottom:0}
.studio-ux-field{border:1px solid #d9e0e9;border-radius:10px;display:block;width:100%;font:inherit;font-size:13px;padding:12px 13px;resize:vertical;color:#243044;background:#fcfcfd;outline:none;margin-bottom:15px;min-height:44px}
.studio-ux-field:focus{border-color:#e4483e;box-shadow:0 0 0 3px rgba(228,72,62,.12)}
.studio-ux-remember{display:flex;gap:9px;align-items:flex-start;cursor:pointer;font-size:12px;color:#566476;margin:0 0 17px;line-height:1.4}
.studio-ux-remember input{accent-color:#e4483e;width:17px;height:17px;flex:none;margin:0}
.studio-ux-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:18px;border-top:1px solid #eef0f3}
.studio-ux-btn{font:inherit;font-size:12px;font-weight:750;border-radius:10px;padding:11px 17px;border:1px solid transparent;cursor:pointer;min-height:40px}
.studio-ux-cancel{background:#f5f6f8;border-color:#e6e9ed;color:#526072}.studio-ux-cancel:hover{background:#ebedf0}
.studio-ux-primary{background:#e4483e;color:white}.studio-ux-primary:hover{background:#cb3c33}
.studio-ux-btn:focus-visible{outline:3px solid #f2aaa3;outline-offset:2px}
.studio-toast-stack{position:fixed;bottom:24px;right:24px;z-index:3200;display:flex;flex-direction:column;align-items:flex-end;gap:10px;width:min(380px,calc(100vw - 30px));pointer-events:none}
.studio-toast-item{display:flex;align-items:flex-start;gap:11px;width:100%;background:#fff;border:1px solid #e7ebef;border-left:3px solid #168658;box-shadow:0 12px 34px rgba(17,28,47,.16);border-radius:12px;padding:13px 12px;color:#273447;animation:studio-ux-toast-in .22s ease both;pointer-events:auto;overflow-wrap:anywhere}
.studio-toast-item.studio-toast-error{border-left-color:#ce4b3f}.studio-toast-item.studio-toast-warning{border-left-color:#d09329}
.studio-toast-symbol{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;flex:none;font-size:13px;font-weight:850;background:#e5f6ec;color:#12804c;margin-top:1px}
.studio-toast-error .studio-toast-symbol{background:#fff0eb;color:#bd463b}.studio-toast-warning .studio-toast-symbol{background:#fff6df;color:#a36c15}
.studio-toast-text{flex:1;font-size:12px;line-height:1.55;padding-top:3px;font-weight:600}
.studio-toast-close{align-self:flex-start;color:#9aa3af;border:0;background:transparent;font:inherit;font-size:21px;line-height:1;cursor:pointer;padding:0 2px}
.studio-toast-item.is-leaving{opacity:0;transform:translateX(16px);transition:opacity .18s,transform .18s}
@keyframes studio-ux-fade{from{opacity:0}to{opacity:1}}@keyframes studio-ux-pop{from{opacity:0;transform:translateY(9px) scale(.98)}to{opacity:1;transform:none}}@keyframes studio-ux-toast-in{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:none}}
@media(max-width:580px){.studio-ux-overlay{padding:13px}.studio-ux-dialog{padding:20px}.studio-ux-actions{flex-wrap:wrap}.studio-ux-btn{flex:1}.studio-toast-stack{right:15px;bottom:15px}}
@media(prefers-reduced-motion:reduce){.studio-ux-overlay,.studio-ux-dialog,.studio-toast-item{animation:none!important;transition:none!important}}
