/* Changelog dialog: first-party content, accessible through the account menu. */
#sidebar #openChangelogBtn {display:flex;align-items:center;justify-content:space-between;gap:8px;}
#sidebar #openChangelogBtn small {font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;color:#748bac;font-weight:650;}
.dark #sidebar #openChangelogBtn small {color:#95b8f2;}
.mav-changelog-dialog {position:fixed;inset:0;margin:auto;width:min(660px,calc(100vw - 28px));max-height:min(82dvh,850px);padding:0;overflow:hidden;border:1px solid #d4deeb;border-radius:17px;background:#fff;color:#17243a;box-shadow:0 24px 80px #02091872;}
.dark .mav-changelog-dialog {background:#111d32;color:#e5effe;border-color:#304561;}
.mav-changelog-dialog::backdrop {background:rgba(2,8,23,.78);backdrop-filter:blur(4px);}
.mav-changelog-head {display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:23px 25px 18px;border-bottom:1px solid #e3ebf5;}
.dark .mav-changelog-head {border-color:#2b3e59;}
.mav-changelog-eyebrow {font-size:10px;font-weight:750;letter-spacing:.10em;color:#1682ff;margin:0 0 7px;}
.mav-changelog-head h2 {font-size:23px;font-weight:800;line-height:1.2;margin:0 0 6px;}
.mav-changelog-head p:not(.mav-changelog-eyebrow) {font-size:12px;color:#637895;margin:0;line-height:1.5;}
.dark .mav-changelog-head p:not(.mav-changelog-eyebrow) {color:#9fb2ce;}
.mav-changelog-close {
  appearance:none;display:inline-flex;align-items:center;justify-content:center;
  box-sizing:border-box;flex:0 0 30px;
  width:30px;min-width:30px;max-width:30px;
  height:30px;min-height:30px;max-height:30px;
  padding:0;margin:0;border:1px solid #d8e3f1;border-radius:9px;
  background:#eef4fc;color:#476183;cursor:pointer;line-height:1;
}
.mav-changelog-close svg {display:block;width:16px;height:16px;flex:none;}
.dark .mav-changelog-close {background:#1c2c45;border-color:#324965;color:#b9cbe3;}
.mav-changelog-close:hover {background:#d8e9ff;}
.dark .mav-changelog-close:hover {background:#304e78;}
.mav-changelog-body {padding:20px 25px;max-height:calc(min(82dvh,850px) - 178px);overflow:auto;overscroll-behavior:contain;}
.mav-changelog-current {background:#ecf4ff;border:1px solid #cfe2ff;border-radius:10px;padding:10px 13px;font-size:12px;color:#315580;margin-bottom:9px;}
.dark .mav-changelog-current {background:#192f50;border-color:#2b4e7d;color:#bfdcff;}
.mav-changelog-current strong {color:#1377ea;}
.dark .mav-changelog-current strong {color:#68b0ff;}
.mav-changelog-date-note {font-size:11px;line-height:1.6;color:#72839a;margin-bottom:18px;}
.dark .mav-changelog-date-note {color:#a8b8cb;}
.mav-changelog-entries {display:flex;flex-direction:column;gap:13px;}
.mav-changelog-entry {padding:15px 16px;border:1px solid #e1e8f2;border-radius:11px;background:#f8fafd;}
.dark .mav-changelog-entry {background:#16243a;border-color:#2c3e57;}
.mav-changelog-latest {border-color:#8cbfff;background:#f1f7ff;}
.dark .mav-changelog-latest {border-color:#3d77b8;background:#172e4c;}
.mav-changelog-entry-top {display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:5px;}
.mav-changelog-version {font-size:11px;letter-spacing:.02em;font-weight:800;color:#1376ec;}
.dark .mav-changelog-version {color:#81baff;}
.mav-changelog-date {font-size:10px;color:#73849c;}
.dark .mav-changelog-date {color:#94a8c5;}
.mav-changelog-entry h3 {font-size:14px;font-weight:750;margin:0 0 8px;line-height:1.4;}
.mav-changelog-entry ul {padding-left:18px;list-style:disc;margin:0;display:flex;flex-direction:column;gap:5px;}
.mav-changelog-entry li {font-size:12px;line-height:1.6;color:#506380;}
.dark .mav-changelog-entry li {color:#c1cee2;}
.mav-changelog-actions {display:flex;justify-content:flex-end;padding:13px 24px;border-top:1px solid #e1e9f4;}
.dark .mav-changelog-actions {border-color:#30415c;}
.mav-changelog-actions button {background:#1679f5;color:white;padding:9px 18px;border-radius:9px;font-size:12px;font-weight:700;}
.mav-changelog-dialog button:focus-visible {outline:2px solid #67aaff;outline-offset:2px;}
@media (max-width:520px) { .mav-changelog-head {padding:18px 16px 14px;} .mav-changelog-body {padding:14px 16px;max-height:calc(86dvh - 170px);} .mav-changelog-dialog {max-height:86dvh;} .mav-changelog-entry {padding:13px;} .mav-changelog-actions {padding:11px 16px;} }
/* Keep the Close action visible while release entries scroll independently. */
.mav-changelog-dialog[open] {display:flex;flex-direction:column;height:min(82dvh,850px);}
.mav-changelog-head,.mav-changelog-actions {flex-shrink:0;}
.mav-changelog-body {flex:1;min-height:0;max-height:none;}
@media (max-width:520px) {.mav-changelog-dialog[open] {height:86dvh;} .mav-changelog-body {max-height:none;}}
