dialog.profile-leave-dialog{--leave-surface:#fff;--leave-text:#0c2850;--leave-muted:#506883;--leave-line:#aec5d8;--leave-accent:#007e91;--leave-tint:#e8f6f9;width:calc(100% - 32px);max-width:672px;max-height:calc(100dvh - 32px);box-sizing:border-box;padding:36px 40px 28px;border:1px solid #d8e6ec;border-radius:8px;margin:auto;overflow:auto;background:var(--leave-surface);color:var(--leave-text);box-shadow:0 20px 80px #102b4933;text-align:center;font:16px/1.5 Arial,Helvetica,sans-serif;letter-spacing:0}
dialog.profile-leave-dialog[open]{display:block}
.profile-leave-dialog::backdrop{background:#15283e80;backdrop-filter:blur(5px)}
.pf-leave-symbol{position:relative;display:grid;place-items:center;width:88px;height:88px;border-radius:50%;margin:0 auto 16px;background:var(--leave-tint);color:var(--leave-accent)}
.pf-leave-file{width:42px;height:42px;background:currentColor;mask:url('assets/icons/trips-file-text.svg') center/contain no-repeat}
.pf-leave-pen{position:absolute;width:28px;height:28px;right:17px;bottom:21px;background:var(--leave-tint)}
.pf-leave-pen::before{content:'';display:block;width:100%;height:100%;background:currentColor;mask:url('assets/icons/trips-pencil.svg') center/contain no-repeat}
.profile-leave-dialog h2{font:700 28px/1.25 Arial,Helvetica,sans-serif;letter-spacing:0;color:var(--leave-text);margin:0 0 12px;overflow-wrap:anywhere}
.profile-leave-dialog #profile-leave-description{font-size:17px;line-height:1.5;margin:0;color:var(--leave-muted)}
.profile-leave-dialog .pf-leave-private{display:flex;align-items:center;justify-content:center;gap:10px;margin:20px 0 26px;padding:14px;border-radius:6px;background:var(--leave-tint);font-size:14px;color:var(--leave-text)}
.pf-leave-shield{width:22px;height:22px;flex:none;background:var(--leave-accent);mask:url('assets/icons/messaging-shield-check.svg') center/contain no-repeat}
.profile-leave-dialog .pf-leave-status{color:var(--leave-muted);font-size:14px;margin:0 0 18px}
.profile-leave-dialog footer{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;margin:0;padding:0;border:0;background:none}
.profile-leave-dialog footer button{min-width:0;min-height:52px;padding:12px 16px;border:1px solid var(--leave-line);border-radius:6px;cursor:pointer;font:600 15px/1.4 Arial,Helvetica,sans-serif;letter-spacing:0;color:var(--leave-text);background:var(--leave-surface)}
.profile-leave-dialog footer .pf-leave-save{background:var(--leave-accent);border-color:var(--leave-accent);color:#fff}
.profile-leave-dialog footer .pf-leave-keep{border-color:transparent;padding-inline:8px;color:var(--leave-accent);background:transparent}
.profile-leave-dialog footer button:hover{filter:brightness(.95)}
.profile-leave-dialog footer button:focus-visible{outline:3px solid var(--leave-accent);outline-offset:3px}
.profile-leave-dialog [hidden]{display:none!important}
html[data-theme=dark] dialog.profile-leave-dialog{--leave-surface:var(--dm-surface);--leave-text:var(--dm-text);--leave-muted:var(--dm-muted);--leave-line:var(--dm-control-border);--leave-accent:var(--dm-accent);--leave-tint:var(--dm-selected);border-color:var(--dm-border)}
html[data-theme=dark] .profile-leave-dialog footer .pf-leave-save{color:var(--dm-on-accent)}
html[data-theme=dark] .profile-leave-dialog footer .pf-leave-keep{background:transparent!important;border-color:transparent!important}
html[data-theme=dark] .profile-leave-dialog::backdrop{background:#0009}
@media(max-width:560px){dialog.profile-leave-dialog{padding:28px 20px 20px}.profile-leave-dialog h2{font-size:24px}.profile-leave-dialog #profile-leave-description{font-size:16px}.profile-leave-dialog footer{grid-template-columns:1fr}.profile-leave-dialog footer button{min-height:48px}.profile-leave-dialog .pf-leave-private{align-items:flex-start;text-align:left;margin-bottom:20px}.pf-leave-symbol{width:72px;height:72px}}
