 .ux-toast,.ux-message,.ux-tooltip,.ux-popover{position:fixed;z-index:21000;font:13px/1.6 system-ui,sans-serif;box-sizing:border-box}
.ux-toast{bottom:85px;left:50%;transform:translateX(-50%);background:#25344a;color:white;padding:10px 18px;border-radius:10px;max-width:90vw;pointer-events:none}
.ux-message{top:20px;left:50%;transform:translateX(-50%);display:flex;gap:16px;align-items:center;max-width:90vw;padding:12px 16px;background:#eff6ff;color:#285a9e;border:1px solid #cfe0f8;border-radius:10px;box-shadow:0 6px 25px #182e4e14}.ux-message.error{background:#fff3f1;color:#ac4036;border-color:#f6d7d2}
.ux-dismiss,.ux-close{border:0;background:transparent;font-size:20px;color:#8c9aaf;cursor:pointer}.ux-tooltip{background:#25344a;color:white;padding:6px 10px;border-radius:7px;max-width:260px;pointer-events:none}
.ux-confirm{box-sizing:border-box;width:min(420px,calc(100vw - 32px));padding:24px;border:1px solid #e2e9f3;border-radius:16px;box-shadow:0 24px 80px #14253c33;color:#24344c;font:14px/1.7 system-ui,sans-serif}
.ux-confirm::backdrop{background:#17294366;backdrop-filter:blur(3px)}.ux-confirm h3{margin:0 25px 14px 0;font-size:17px}.ux-confirm p{white-space:pre-wrap;overflow-wrap:anywhere;color:#69788d;margin:0 0 24px}.ux-confirm footer{display:flex;justify-content:flex-end;gap:10px}.ux-confirm footer button{border:1px solid #dce5f2;border-radius:8px;padding:8px 19px;background:#fff;cursor:pointer;color:#536781}.ux-confirm footer .primary{background:#3069ef;border-color:#3069ef;color:#fff}.ux-confirm footer .danger{background:#d84b48;border-color:#d84b48}.ux-close{position:absolute;right:13px;top:12px}
.ux-popover{background:#fff;border:1px solid #e2e9f3;border-radius:10px;padding:5px;min-width:150px;max-width:90vw;box-shadow:0 8px 30px #172d4c24}.ux-popover button{display:block;width:100%;border:0;background:transparent;text-align:left;padding:8px 12px;border-radius:6px;color:#32445e;cursor:pointer}.ux-popover button:hover,.ux-popover button:focus-visible{background:#f0f5ff}.ux-popover .danger{color:#bd4540}.ux-popover button:disabled{opacity:.45;cursor:default}

dialog .ux-dialog-notice{box-sizing:border-box;max-width:calc(100% - 28px);white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;text-align:left;z-index:2147483647}
dialog .ux-toast.ux-dialog-notice{position:fixed;top:24px;bottom:auto;left:50%;transform:translateX(-50%);width:max-content;max-width:min(600px,calc(100vw - 32px));margin:0;pointer-events:none}
dialog .ux-message.ux-dialog-notice{position:fixed;top:24px;left:50%;transform:translateX(-50%);width:max-content;max-width:min(600px,calc(100vw - 32px));margin:0;pointer-events:auto}
