@layer legacy{.unsaved-changes-overlay{z-index:2147483000;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a61;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.unsaved-changes-dialog{border:1px solid var(--border-color,#dce3eb);background:var(--surface,#fff);width:min(100%,490px);color:var(--text-primary,#17212f);border-radius:20px;padding:28px;box-shadow:0 24px 70px #0f172a33}.unsaved-changes-dialog h2{margin:16px 0 8px;font-size:22px;line-height:1.3}.unsaved-changes-dialog p{color:var(--text-secondary,#637084);margin:0;font-size:15px;line-height:1.5}.unsaved-changes-icon{color:#006deb;background:#eaf3ff;border-radius:12px;place-items:center;width:40px;height:40px;font-size:24px;font-weight:700;display:grid}.unsaved-changes-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:24px;display:flex}.unsaved-changes-actions button{border:1px solid var(--border-color,#dce3eb);min-height:40px;color:inherit;font:inherit;cursor:pointer;background:0 0;border-radius:9px;padding:8px 13px;font-size:14px}.unsaved-changes-actions button:focus-visible{outline-offset:2px;outline:3px solid #88bcff}.unsaved-changes-actions .unsaved-changes-save{color:#fff;background:#006deb;border-color:#006deb}.unsaved-changes-actions button:disabled{opacity:.55;cursor:wait}.unsaved-changes-dialog .unsaved-changes-error{color:#c43838;margin-top:12px}@media (width<=520px){.unsaved-changes-dialog{padding:22px}.unsaved-changes-actions{flex-direction:column}.unsaved-changes-actions button{width:100%}}}html:root[data-interface-design=u] .unsaved-changes-overlay{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;padding:14px}html:root[data-interface-design=u] .unsaved-changes-overlay:before{content:"";pointer-events:none;background:var(--appearance-overlay-bg,var(--u-modal-backdrop,#080e1047));-webkit-backdrop-filter:var(--appearance-overlay-filter,blur(3px));backdrop-filter:var(--appearance-overlay-filter,blur(3px));position:absolute;inset:0}html:root[data-interface-design=u] .unsaved-changes-dialog{z-index:1;border:1px solid var(--record-panel-border,var(--ref-glass-border,var(--ds-border)));border-radius:var(--record-panel-radius,var(--ds-radius-panel,18px));background:var(--record-panel-surface,var(--ref-strong-surface,var(--ds-surface)));width:min(100%,420px);color:var(--ds-text);font-family:var(--ds-font-sans);box-shadow:var(--record-panel-shadow,var(--ref-overlay-shadow,var(--ds-shadow-lg)));-webkit-backdrop-filter:var(--record-panel-backdrop,none);backdrop-filter:var(--record-panel-backdrop,none);padding:21px;display:block;position:relative}html:root[data-interface-design=u] .unsaved-changes-icon{display:none}html:root[data-interface-design=u] .unsaved-changes-dialog h2{font-size:calc(var(--ds-text-base,14px) + 2px);letter-spacing:-.01em;margin:0;font-weight:600;line-height:1.5}html:root[data-interface-design=u] .unsaved-changes-dialog p{color:var(--ds-text-muted);font-size:calc(var(--ds-text-base,14px) - .5px);margin:5.25px 0 0;line-height:1.625}html:root[data-interface-design=u] .unsaved-changes-dialog .unsaved-changes-error{border-radius:var(--ds-radius-control);color:var(--ds-danger);margin-top:12px}html:root[data-interface-design=u] .unsaved-changes-actions{align-items:center;gap:var(--ref-footer-gap,7px);border:0;flex-flow:wrap;margin-top:21px;padding-top:0}html:root[data-interface-design=u] .unsaved-changes-actions button{width:auto;height:var(--ref-footer-height,29.75px);min-height:var(--ref-footer-height,29.75px);padding:0 var(--ref-footer-padding,12.25px);border-radius:var(--ds-radius-control,10px);font-size:var(--ref-footer-font,13.5px);box-shadow:none;border:1px solid #0000;order:0;font-weight:500;line-height:1.5}html:root[data-interface-design=u] .unsaved-changes-actions button:active:not(:disabled){transform:scale(.97)}html:root[data-interface-design=u] .unsaved-changes-actions .unsaved-changes-stay{padding-inline:var(--ref-footer-padding,12.25px);color:var(--ds-text-secondary,var(--ds-text));background:0 0;order:0;margin-right:auto}html:root[data-interface-design=u] .unsaved-changes-actions .unsaved-changes-stay:hover:not(:disabled){background:var(--ds-surface-hover);color:var(--ds-text)}html:root[data-interface-design=u] .unsaved-changes-actions .unsaved-changes-discard{border-color:var(--ds-field-border,var(--ds-border));background:var(--ds-field-bg,var(--ds-surface));box-shadow:inset 0 1px 0 var(--ref-menu-highlight,#ffffffe6);color:var(--ds-text)}html:root[data-interface-design=u] .unsaved-changes-actions .unsaved-changes-discard:hover:not(:disabled){background:var(--ds-surface-hover)}html:root[data-interface-design=u] .unsaved-changes-actions .unsaved-changes-save{background:var(--ds-accent);border-color:var(--ds-accent);color:var(--ds-on-accent,#fff);order:0;box-shadow:inset 0 1px #ffffff1f,0 1px 2px #0000001f}html:root[data-interface-design=u] .unsaved-changes-actions .unsaved-changes-save:hover:not(:disabled){background:var(--ds-accent-hover);border-color:var(--ds-accent-hover)}
