:root{color-scheme:dark;--bg:#1B1D20;--surface:#25282C;--line:#41464C;--ink:#EEF2F5;--muted:#B1BBC4;--accent:#5DBEDA;--mono:"IBM Plex Mono",Consolas,monospace;font:16px/1.6 "Segoe UI",system-ui,sans-serif;scroll-behavior:smooth}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink)}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}a:focus-visible{outline:2px solid var(--accent);outline-offset:5px}.skip{position:absolute;left:1rem;top:-5rem;background:var(--bg);padding:.5rem}.skip:focus{top:0}.wrap{width:min(1160px,calc(100% - 3rem));margin-inline:auto}header,.band{border-bottom:1px solid var(--line)}nav,nav div,.brand,.actions,footer{display:flex;align-items:center;gap:1.4rem}nav,footer{justify-content:space-between}nav{min-height:74px}.brand{font-weight:700;gap:.65rem}.brand img,.title img{object-fit:contain}.nav-download{border:1px solid var(--line);padding:.35rem .7rem;border-radius:5px}.hero{display:grid;grid-template-columns:1.08fr 1fr;align-items:center;gap:3rem;padding-block:6.5rem 5.5rem}.eyebrow,.spec,.caption,.toolbar,.address,.status{font-family:var(--mono);font-size:.78rem}.eyebrow{color:var(--accent);letter-spacing:.11em}h1,h2,h3{line-height:1.1;margin:0}h1{font-size:clamp(2.9rem,6.2vw,5.75rem);letter-spacing:-.065em}h1 em{font-style:normal;color:var(--accent)}h2{font-size:clamp(2rem,4vw,3rem);letter-spacing:-.04em}h3{font-size:1.16rem}.intro,.body-copy{font-size:1.12rem;max-width:47ch;color:var(--muted)}.actions{margin:1.75rem 0 1rem;flex-wrap:wrap}.button,.secondary{display:inline-flex;align-items:center;gap:.6rem;font-weight:700}.button{background:var(--accent);color:var(--bg);border-radius:6px;padding:.7rem 1rem}.spec,.caption{color:var(--muted)}.preview{background:radial-gradient(ellipse at 58% 30%,#273F48,var(--surface) 65%,var(--bg));border:1px solid var(--line);border-radius:16px;padding:2.2rem 1.5rem 1rem}.window{background:var(--surface);border:1px solid var(--line);border-radius:9px;overflow:hidden;box-shadow:0 16px 42px #0008}.title,.toolbar,.status{display:flex;justify-content:space-between;align-items:center;gap:.5rem}.title,.toolbar,.address,th,td,.status{padding:.65rem .85rem}.title{justify-content:flex-start;background:#2D3034;font-weight:600;font-size:.88rem}.title span{margin-left:auto;color:var(--muted)}.toolbar,.address,.status,th,td{border-top:1px solid var(--line)}.toolbar,.address,.status,th{color:var(--muted)}.toolbar i{display:inline-block;width:.5rem;height:.5rem;background:var(--accent);border-radius:50%;margin-right:.3rem}.address span{padding-inline:.35rem}.window table{width:100%;border-collapse:collapse;text-align:left;font-size:.85rem}.window b{color:var(--accent);margin-right:.35rem}.selected{background:#273F48}.caption{text-align:center;margin-bottom:0}.band{background:var(--surface);border-top:1px solid var(--line)}#setup>.wrap,.block{padding-block:4rem}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:1.75rem;margin-top:2rem}.steps article{border-top:1px solid var(--line);padding-top:1rem}.steps p,.panel p{color:var(--muted);margin-bottom:0}.block{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:2rem}.panel{padding:1.5rem;background:var(--surface);border:1px solid var(--line);border-radius:10px}.panel .button{margin-top:1rem}.panel code{overflow-wrap:anywhere}footer{padding-block:1.75rem;color:var(--muted);font-size:.85rem}@media(max-width:820px){.hero{grid-template-columns:1fr;padding-block:3.6rem;gap:2rem}.preview{max-width:520px}.steps,.block{grid-template-columns:1fr}}@media(max-width:480px){.wrap{width:calc(100% - 2rem)}nav{flex-wrap:wrap;padding-block:.7rem;gap:.5rem}nav div{gap:.9rem}.preview{padding:1rem .6rem .7rem}}@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}}
/* Setup guide */
.guide{max-width:820px;padding-block:4rem}
.guide h1{font-size:clamp(2.7rem,6vw,4.5rem)}
.guide .guide-links{justify-content:flex-start;flex-wrap:wrap;min-height:0;padding:1rem 0;border-bottom:1px solid var(--line)}
.guide-links a,.guide-steps p a{color:var(--accent);text-decoration:underline;text-underline-offset:.2em}
.guide section{margin-top:3rem;scroll-margin-top:1.5rem}
.guide-steps{padding-left:1.65rem;margin-top:1.5rem}
.guide-steps li{padding-left:.45rem;margin-bottom:1.5rem}
.guide-steps li::marker{color:var(--accent);font-weight:700}
.guide-steps p,.guide dd{color:var(--muted);margin:.5rem 0 0}
.guide table{border-collapse:collapse;text-align:left;margin-top:.75rem;max-width:100%}
.guide caption{text-align:left;color:var(--muted);padding-bottom:.35rem}
.guide th,.guide td{border:1px solid var(--line)}
.guide th{background:var(--surface);color:var(--ink)}
.guide code{overflow-wrap:anywhere}
.guide .panel{margin-top:1rem}
.guide dl{margin:0}
.guide dt{font-weight:700}
.guide dd+dt{margin-top:1.1rem}

/* Setup guide */
.guide{max-width:820px;padding-block:4rem}
.guide h1{font-size:clamp(2.7rem,6vw,4.5rem)}
.guide .guide-links{justify-content:flex-start;flex-wrap:wrap;min-height:0;padding:1rem 0;border-bottom:1px solid var(--line)}
.guide-links a,.guide-steps p a{color:var(--accent);text-decoration:underline;text-underline-offset:.2em}
.guide section{margin-top:3rem;scroll-margin-top:1.5rem}
.guide-steps{padding-left:1.65rem;margin-top:1.5rem}
.guide-steps li{padding-left:.45rem;margin-bottom:1.5rem}
.guide-steps li::marker{color:var(--accent);font-weight:700}
.guide-steps p,.guide dd{color:var(--muted);margin:.5rem 0 0}
.guide table{border-collapse:collapse;text-align:left;margin-top:.75rem;max-width:100%}
.guide caption{text-align:left;color:var(--muted);padding-bottom:.35rem}
.guide th,.guide td{border:1px solid var(--line)}
.guide th{background:var(--surface);color:var(--ink)}
.guide code{overflow-wrap:anywhere}
.guide .panel{margin-top:1rem}
.guide dl{margin:0}
.guide dt{font-weight:700}
.guide dd+dt{margin-top:1.1rem}

/* Compatibility table */
.compatibility-guide{max-width:1060px}
.compatibility-table{overflow-x:auto;margin-top:2rem}
.compatibility-table table{width:100%;min-width:37rem;margin:0}
.compatibility-table tbody th{background:transparent;font-weight:600}
.compatibility-table td{color:var(--muted)}

/* Error reference */
.error-filter{margin-block:1.5rem}.error-filter label{display:block;font-weight:700;margin-bottom:.4rem}.error-filter input{width:100%;padding:.7rem;background:var(--surface);color:var(--ink);border:1px solid var(--muted);border-radius:6px;font:inherit}.error-filter input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.error-filter [role=status]{min-height:1.4em}.error-aliases{margin-bottom:0;padding-left:1.25em;color:var(--muted)}.error-aliases:empty{display:none}header nav div{flex-wrap:wrap}

.error-reference article h3,.error-reference code{color:var(--ink)}
.error-reference .error-aliases{color:#FF0000}
.error-reference article p{color:var(--ink)}
.error-reference .intro,.error-reference #error-results{color:var(--ink)}
.error-reference article p,.error-reference .error-aliases,.error-reference #error-results{font-size:1.0625rem;line-height:1.65}
.error-reference .error-aliases li+li{margin-top:.2em}

.error-reference :is(strong,b){color:var(--ink)}

.error-reference :is(strong,b){color:var(--ink)}

.error-reference article p.error-advice{color:#A8E6BA}

.app-preview{margin:0;min-width:0}.app-preview img{display:block;width:100%;height:auto;border:1px solid var(--line);border-radius:9px}.app-preview figcaption,.app-views{margin:.6rem 0 0;color:var(--muted);font-size:.85rem}.app-views{display:flex;gap:.8rem;flex-wrap:wrap;padding:0;list-style:none}.app-views a{color:var(--accent);text-decoration:underline;text-underline-offset:.2em}

.app-views[hidden]{display:none}.app-views button{min-width:44px;min-height:44px;padding:0 .7rem;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:6px;font:inherit;font-size:1.2rem;cursor:pointer}.app-views button:hover{border-color:var(--accent)}.app-views button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

#app-image-link{display:block;position:relative;overflow:hidden;border-radius:9px}#app-image-link .app-slide-leaving{position:absolute;inset:0;pointer-events:none}

.protocol pre{overflow-x:auto;background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:1rem}.protocol a:not(.brand){text-underline-offset:.2em}.protocol tbody code{white-space:nowrap}.protocol th,.protocol td{vertical-align:top}

/* Account navigation */
.account-menu{position:relative}
.account-menu summary{display:flex;align-items:center;gap:.4rem;list-style:none;cursor:pointer;white-space:nowrap;border:1px solid var(--line);border-radius:5px;padding:.35rem .7rem}
.account-menu summary::-webkit-details-marker{display:none}
.account-menu summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.account-menu[open] summary span[aria-hidden="true"]{transform:rotate(180deg)}
.account-options{position:absolute;z-index:5;right:0;top:calc(100% + .4rem);min-width:13rem;padding:.55rem;background:var(--surface);border:1px solid var(--line);border-radius:8px;box-shadow:0 .6rem 1.5rem #0006}
.account-options p{margin:.2rem .45rem .45rem;color:var(--muted);font-size:.8rem}
.account-options a{display:block;border-radius:4px;padding:.45rem}
.account-options a:hover,.account-options a:focus-visible{background:var(--bg)}
@media(max-width:820px){header nav{flex-wrap:wrap;padding-block:.7rem;gap:.7rem}.account-options{position:static;margin-top:.4rem}}

.account-page{max-width:520px}.account-page section.panel{margin-top:1rem;padding:clamp(1.3rem,5vw,2.5rem)}.account-page h1{font-size:clamp(2.3rem,5vw,3.4rem)}.account-page .account-note{font-size:.9rem;margin-top:1.2rem}.account-back{color:var(--accent);text-decoration:underline;text-underline-offset:.2em}

.account-page form{margin-top:1.2rem}.account-page label{display:block;font-weight:600;margin-bottom:.85rem}.account-page input:not([type=checkbox]){display:block;width:100%;margin-top:.3rem;padding:.65rem;background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:6px;font:inherit}.account-page .account-check{display:flex;align-items:center;gap:.45rem;font-weight:400}.account-page button{border:0;font:inherit;font-weight:700;cursor:pointer}.account-page button:disabled{opacity:.65;cursor:not-allowed}.account-page output{display:block;margin:.4rem 0;overflow-wrap:anywhere}.account-page input:focus-visible,.account-page button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

.account-label{max-width:min(15rem,65vw);overflow:hidden;text-overflow:ellipsis}.account-options a[hidden]{display:none}

.account-button{align-items:center;max-width:100%}.account-button:not([hidden]){display:inline-flex}.account-button[hidden],.account-menu[hidden]{display:none}

#username-settings{margin-top:1rem}#username-settings summary{display:inline-flex;cursor:pointer;list-style:none}#username-settings summary::-webkit-details-marker{display:none}#username-settings summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

.profile-menu .account-options{top:100%}.profile-logout{display:block;width:100%;border:0;border-radius:4px;background:transparent;color:var(--ink);font:inherit;text-align:left;padding:.45rem;cursor:pointer}.profile-logout:hover,.profile-logout:focus-visible{background:var(--bg)}.profile-logout:disabled{opacity:.65;cursor:wait}

header nav .profile-menu{display:inline-flex;align-items:stretch;gap:0;flex-wrap:nowrap;max-width:100%;border:1px solid var(--line);border-radius:5px}header nav .profile-menu[hidden]{display:none}.profile-link{display:inline-flex;align-items:center;border:0;border-radius:5px 0 0 5px;padding-right:.3rem}.profile-disclosure summary{border:0;border-radius:0 5px 5px 0;padding-left:.3rem}.profile-disclosure{display:flex;align-items:stretch}

/* Community themes */
.theme-gallery [hidden],.profile-theme-stats[hidden]{display:none}
.theme-gallery #theme-upload-form{margin-top:1rem}
.theme-gallery #theme-file{display:block;max-width:100%;margin:.4rem 0;font:inherit}
.theme-gallery #theme-upload-note{margin:0 0 .7rem}
.theme-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:1rem}
.theme-card h3{overflow-wrap:anywhere}
.theme-preview{margin-top:1rem;overflow:hidden;border:1px solid var(--app-border);border-radius:8px;background:var(--app-bg);color:var(--app-ink);container-type:inline-size;font-family:"Segoe UI",system-ui,sans-serif}
.theme-preview-window{aspect-ratio:1184/680;display:grid;grid-template-rows:3.5cqw 6.5cqw 3cqw minmax(0,1fr) 3.2cqw;gap:.65cqw;font-size:1.27cqw;line-height:1.25}
.theme-preview-title,.theme-preview-header,.theme-preview-status,.theme-preview-toolbar,.theme-preview-path{display:flex;align-items:center;gap:.7cqw;min-width:0}
.theme-preview-title{align-self:start;background:var(--app-surface);border-bottom:1px solid var(--app-border);padding:.9cqw 1.2cqw;font-size:1.15cqw}
.theme-preview-window-controls{margin-left:auto;display:flex;gap:.8cqw}
.theme-preview-header{align-self:center;padding:0 1cqw;gap:1.05cqw;white-space:nowrap}
.theme-preview-header b{font-size:2.4cqw;flex:1;border-left:1px solid var(--app-border);padding-left:1cqw}
.theme-preview-control{background:var(--app-control);border:1px solid var(--app-border);border-radius:.55cqw;padding:.38cqw .75cqw;white-space:nowrap}
.theme-preview-device{display:flex;justify-content:space-between;min-width:15cqw}
.theme-preview-auto{display:inline-flex;align-items:center;gap:.35cqw}
.theme-preview-auto i{width:3.25cqw;height:1.65cqw;background:var(--app-control);border-radius:2cqw;border:1px solid var(--app-border)}
.theme-preview-auto i::before{content:"";display:block;width:1.1cqw;aspect-ratio:1;margin:.12cqw;border-radius:50%;background:var(--app-muted)}
.theme-preview-status{margin-inline:.85cqw;padding:0 1.25cqw;background:var(--app-surface);border:1px solid var(--app-border);border-radius:.8cqw;white-space:nowrap;overflow:hidden}
.theme-preview-status i{width:1.05cqw;aspect-ratio:1;border-radius:50%;background:#58D369}
.theme-preview-workspace{display:grid;grid-template-columns:22% minmax(0,1fr);margin-inline:.85cqw;min-height:0;border:1px solid var(--app-border);border-radius:.9cqw;background:var(--app-surface)}
.theme-preview-sidebar{border-right:1px solid var(--app-border);padding:1.65cqw 1.4cqw}
.theme-preview-volume{display:flex;gap:.55cqw;white-space:nowrap;margin-bottom:2cqw}
.theme-preview-volume b{font-size:2cqw;font-weight:400}.theme-preview-volume small{display:block;font-size:.95cqw;margin-top:.28cqw}
.theme-preview-volume span>i{display:block;height:.7cqw;width:12cqw;border-radius:1cqw;background:var(--app-border);margin-top:.55cqw}
.theme-preview-volume span>i{overflow:hidden}.theme-preview-volume span>i>em{display:block;height:100%;background:var(--app-accent)}
.theme-preview-files{min-width:0;display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:.65cqw;padding:.72cqw}
.theme-preview-path>.theme-preview-control:first-child{flex:1;display:flex;justify-content:space-between}
.theme-preview-search{width:29%;color:var(--app-muted)}
.theme-preview-toolbar .theme-preview-control:first-child{color:var(--app-muted)}
.theme-preview-table{border:1px solid var(--app-border);overflow:hidden}
.theme-preview-row{display:grid;grid-template-columns:36% 16% 20% 28%;min-width:0}
.theme-preview-row>span{display:flex;align-items:center;overflow:hidden;white-space:nowrap;padding:.65cqw .75cqw;gap:.6cqw}
.theme-preview-columns{background:var(--app-control);border-bottom:1px solid var(--app-border)}
.theme-preview-columns>span:not(:last-child){border-right:1px solid var(--app-border)}
.theme-preview-selection{background:var(--app-selection);box-shadow:inset .2cqw 0 var(--app-accent-surface)}
.theme-preview-footer{margin-bottom:.55cqw;font-size:1.1cqw}
.theme-preview-footer span{border-left:1px solid var(--app-border);padding-left:1cqw}
.profile-theme-stats{display:grid;grid-template-columns:repeat(3,minmax(211px,1fr));gap:1rem;margin-block:1.5rem;overflow-x:auto}
.profile-theme-stats div{background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:.8rem}
.profile-theme-stats dt{color:var(--muted);font-size:.85rem}.profile-theme-stats dd{margin:0;font-size:1.4rem;font-weight:700}

.profile-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem}#profile-settings-button{margin:0;min-width:44px;min-height:44px;color:var(--ink);background:var(--control,var(--bg));font-size:1.35rem;line-height:1;border:1px solid var(--line)}#profile-settings-button:hover{border-color:var(--accent)}#profile-settings{margin-top:1.25rem}#profile-settings h2{font-size:1.25rem;letter-spacing:normal}

#signin-footer[hidden]{display:none}

:root[data-site-theme="flashbang"]{color-scheme:light;--bg:#F3F6F8;--surface:#FFFFFF;--control:#FFFFFF;--line:#DCE4E9;--ink:#172633;--muted:#5C6D78;--accent:#176B87;--accent-surface:#E3F0F4;--selection:#D7EAF0}
:root[data-site-theme="soft-light"]{color-scheme:light;--bg:#CDD5DA;--surface:#DFE5E8;--control:#D7E0E4;--line:#AAB8BF;--ink:#172633;--muted:#536873;--accent:#176B87;--accent-surface:#BFD4D9;--selection:#AFCBD3}
:root[data-site-theme="dark"]{color-scheme:dark;--bg:#1B1D20;--surface:#25282C;--control:#2D3034;--line:#41464C;--ink:#EEF2F5;--muted:#B1BBC4;--accent:#5DBEDA;--accent-surface:#273F48;--selection:#273F48}
:root[data-site-theme="darker"]{color-scheme:dark;--bg:#111315;--surface:#191C1F;--control:#202428;--line:#343A40;--ink:#F1F4F6;--muted:#AAB4BC;--accent:#8F9CA1;--accent-surface:#222A2D;--selection:#2E383B}
:root[data-site-theme="black"]{color-scheme:dark;--bg:#000000;--surface:#080808;--control:#111111;--line:#2A2A2A;--ink:#F2F2F2;--muted:#AFAFAF;--accent:#A5B0B4;--accent-surface:#202020;--selection:#2D2D2D}
:root[data-site-theme="storage-cyan"]{color-scheme:dark;--bg:#151C22;--surface:#1B232A;--control:#252E36;--line:#4A5963;--ink:#F2F5F7;--muted:#AAB7C0;--accent:#28D5E2;--accent-surface:#214A5B;--selection:#285A7A}
.site-theme-field{margin-top:1.25rem}.site-theme-field select{display:block;width:100%;max-width:22rem;margin-top:.35rem;padding:.5rem .65rem;background:var(--control,var(--surface));color:var(--ink);border:1px solid var(--line);border-radius:6px;font:inherit}.site-theme-field select:focus-visible,#back-to-profile:focus-visible{outline:2px solid var(--accent);outline-offset:3px}#back-to-profile{background:var(--surface);color:var(--ink);border:1px solid var(--line)}:root:is([data-site-theme="flashbang"],[data-site-theme="soft-light"]) .error-reference .error-aliases{color:#8F161A}:root:is([data-site-theme="flashbang"],[data-site-theme="soft-light"]) .error-reference article p.error-advice{color:#205733}

/* Desktop preview artwork */
.preview-icon{display:inline-block;width:1.65cqw;height:1.65cqw;flex:none;vertical-align:middle}
i.preview-icon{background:currentColor;mask:center/contain no-repeat}
i.preview-icon-chip{mask-image:url(preview-chip.png)}
i.preview-icon-refresh{mask-image:url(preview-refresh.png)}
i.preview-icon-disconnect{mask-image:url(preview-disconnect.png)}
i.preview-icon-new-folder{mask-image:url(preview-new-folder.png);width:2.1cqw}
i.preview-icon-sd{mask-image:url(preview-sd.png)}
.theme-preview-control,.theme-preview-path>.theme-preview-control>span,.theme-preview-footer span{display:inline-flex;align-items:center;gap:.5cqw}
.theme-preview-header .preview-icon-chip{width:3.5cqw;height:3.5cqw;margin-inline:1.2cqw}
.theme-preview-volume>.preview-icon{width:2.2cqw;height:2.2cqw}
.theme-preview-volume span>i{width:12cqw;height:.7cqw}
.preview-chevron{width:.8cqw;height:.6cqw}
.preview-row-folder{width:2.3cqw;height:1.9cqw}
.preview-transfer{color:var(--app-accent)}

.preview-row-file{width:2.3cqw;height:2.2cqw;object-fit:contain}

.theme-preview-volume span>i{height:max(2px,.7cqw)}.theme-preview-volume span>i>em.has-usage{min-width:3px;border-radius:inherit}

.theme-search{margin-top:1rem;max-width:34rem}.theme-search label{display:block;font-weight:700;margin-bottom:.3rem}.theme-search input{display:block;width:100%;padding:.65rem .8rem;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:6px;font:inherit}.theme-search input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.theme-search .spec{margin:.45rem 0 0}

#pc-session details,#storage-library details{margin-block:1rem}#pc-session summary,#storage-library summary{cursor:pointer}#pc-session h3,#storage-library h3{margin-top:1.25rem}#pc-session details[open] summary,#storage-library details[open] summary{margin-bottom:1rem}

#windows-app details{margin-block:1rem}#windows-app summary{cursor:pointer}#windows-app h3{margin-top:1.25rem}#windows-app details[open] summary{margin-bottom:1rem}

/* Expandable product version histories. */
.release-history > summary{cursor:pointer;padding-block:.5rem}
.release-history > summary h2{display:inline;margin:0;vertical-align:middle}
.release-history > summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:4px}
.release-history-content{padding-top:.5rem}

.factor-dialog{color:var(--ink,#f1f3f5);background:var(--panel,#25292c);border:1px solid var(--line,#454b50);border-radius:12px;padding:1.5rem;max-width:min(32rem,90vw);max-height:90vh;overflow:auto}.factor-dialog::backdrop{background:#000a}.factor-dialog h2{font-size:1.6rem}.factor-dialog form{display:grid;gap:1rem}.factor-dialog label{display:grid;gap:.5rem}.factor-dialog canvas{max-width:100%;height:auto;background:white}.factor-secret{display:block;overflow-wrap:anywhere;font-family:monospace;user-select:all}.factor-dialog input,.factor-dialog select{font:inherit;padding:.7rem}.factor-dialog>button{margin-top:1rem}#factor-settings{margin-top:1.5rem}#factor-settings summary{cursor:pointer}

.factor-method-list{list-style:none;padding:0;margin:1rem 0}.factor-method-list li{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem 0;border-bottom:1px solid var(--line)}.factor-method-list button:disabled{opacity:.55;cursor:not-allowed}#factor-settings-form{margin-top:1rem}#factor-add-note{margin-top:.7rem}

.factor-choice-list{border:0;padding:0;margin:0;display:grid;gap:.75rem}.factor-choice-list legend{margin-bottom:.75rem}.factor-dialog .factor-choice{display:flex;align-items:center;gap:.75rem;border:1px solid var(--line,#56616b);border-radius:8px;padding:1rem;cursor:pointer}.factor-choice:has(input:checked){outline:2px solid var(--accent,#57bfd6)}.factor-choice:focus-within{outline:2px solid var(--accent,#57bfd6);outline-offset:3px}.factor-choice input{margin:0;accent-color:var(--accent,#57bfd6)}

.bug-form{display:grid;gap:1.25rem;max-width:52rem}.bug-form label{display:grid;gap:.5rem}.bug-form input,.bug-form select,.bug-form textarea{font:inherit;color:var(--ink,#eef1f3);background:var(--control-surface,#1b1e20);border:1px solid var(--line,#454b50);border-radius:6px;padding:.75rem;width:100%;box-sizing:border-box}.bug-form textarea{resize:vertical}.bug-form button{justify-self:start}.bug-form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}@media(max-width:600px){.bug-form-row{grid-template-columns:1fr}}

.bug-form [hidden]{display:none!important}

.error-picker{position:relative;display:grid;gap:.5rem}.error-picker-input{display:flex}.error-picker-input input{min-width:0;border-radius:6px 0 0 6px}.error-picker-input button{flex:0 0 3rem;border:1px solid var(--line,#454b50);border-left:0;border-radius:0 6px 6px 0;background:var(--panel,#25292c);color:var(--ink,#eef1f3);cursor:pointer;font-size:1.1rem}.error-picker-options{position:absolute;top:calc(100% - 1rem);left:0;right:0;z-index:20;height:18rem;max-height:45vh;overflow-y:auto;border:1px solid var(--line,#454b50);border-radius:8px;background:var(--bg,#1b1e20);color:var(--ink,#eef1f3);box-shadow:0 8px 24px #0006}.error-picker-options [role=option]{padding:.8rem 1rem;cursor:pointer;overflow-wrap:anywhere}.error-picker-options [role=option]:hover,.error-picker-options [aria-selected=true]{background:var(--accent-surface,#26434b)}.error-picker-empty{padding:.5rem 1rem}

.error-picker-options{height:30rem;max-height:65vh}.error-picker-options [role=option]{padding:.6rem 1rem}

.theme-comments{margin-top:1.25rem}.theme-comments summary{cursor:pointer;font-weight:600}.theme-comment{padding:1rem 0;border-bottom:1px solid var(--line)}.theme-comment p{white-space:pre-wrap;overflow-wrap:anywhere}.theme-comment-form{display:grid;gap:.75rem;margin-top:1rem}.theme-comment-form label{display:grid;gap:.5rem}.theme-comment-form textarea{width:100%;box-sizing:border-box;font:inherit;padding:.75rem;color:var(--ink,#eef1f3);background:var(--bg,#1b1e20);border:1px solid var(--line);border-radius:6px;resize:vertical}.theme-comment-form button{justify-self:start}.theme-comments [hidden]{display:none!important}

.theme-card[role=button]{cursor:pointer}.theme-card[role=button]:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.theme-open-hint{color:var(--accent)!important}.theme-detail{width:min(74rem,94vw);max-height:90vh;overflow:auto;border:1px solid var(--line);border-radius:12px;padding:1.5rem;background:var(--surface);color:var(--ink)}.theme-detail::backdrop{background:#000b}.theme-detail>h2{margin:1.25rem 0}.theme-detail .app-preview{max-width:100%}.theme-detail .theme-comments{margin-top:1rem}.theme-detail .theme-comment-form textarea{background:var(--bg)}



.account-page .profile-heading{margin-bottom:1.5rem}

.account-page:has(#profile-settings-button:not([hidden])){max-width:747px}

.theme-show-more{display:inline-block;margin-top:1rem}.theme-show-more[hidden]{display:none}

.theme-drop-zone{display:grid;gap:.6rem;border:2px dashed var(--line);border-radius:10px;padding:2rem 1rem;margin:1rem 0;text-align:center;cursor:pointer;background:var(--bg)}.theme-drop-zone span{color:var(--muted);font-size:.9rem}.theme-drop-zone.drag-over{border-color:var(--accent);background:var(--accent-surface,var(--surface))}.theme-drop-zone:focus-within{outline:2px solid var(--accent);outline-offset:3px}#theme-selected-file{overflow-wrap:anywhere}

#theme-upload-preview{margin-top:1.5rem;max-width:680px}#theme-upload-preview h3{margin-bottom:.75rem}#theme-upload-preview-content .theme-preview{margin-top:0}

#theme-upload-name{display:block;width:100%;max-width:30rem;padding:.7rem;margin:.4rem 0 1rem;font:inherit;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:6px}

#theme-sort{font:inherit;padding:.6rem;color:var(--ink);background:var(--control,var(--surface));border:1px solid var(--line);border-radius:6px}.comment-actions{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:.75rem}.comment-report-form{margin-top:.75rem}.comment-report-form label{display:grid;gap:.5rem}.comment-report-form textarea{font:inherit;max-width:100%;width:100%;color:var(--ink);background:var(--bg)}#profile-uploads{margin-top:2rem}#profile-uploads h2{font-size:1.5rem}.profile-upload{padding:1rem 0;border-bottom:1px solid var(--line)}.profile-upload [hidden],.comment-actions [hidden],.comment-report-form[hidden],#profile-uploads[hidden]{display:none!important}

.upload-view-options{display:flex;align-items:end;gap:1rem;flex-wrap:wrap;margin-top:1rem}.upload-view-options label{margin:0!important}.upload-view-options select{display:block;margin-top:.4rem;padding:.5rem;font:inherit;color:var(--ink);background:var(--control,var(--surface));border:1px solid var(--line);border-radius:6px}.upload-view-options [hidden],.profile-upload-preview[hidden]{display:none!important}.profile-upload-preview{width:100%;margin-top:1rem}.profile-upload-list[data-preview-size=small] .profile-upload-preview{max-width:260px}.profile-upload-list[data-preview-size=medium] .profile-upload-preview{max-width:420px}.profile-upload-list[data-preview-size=large] .profile-upload-preview{max-width:640px}

.upload-view-buttons{display:flex;gap:.5rem;flex-wrap:wrap}.upload-view-buttons button{padding:.6rem .85rem;border:1px solid var(--line);border-radius:6px;color:var(--ink);background:var(--control,var(--surface))}.upload-view-buttons button[aria-pressed=true]{background:var(--accent);color:var(--bg)}.upload-view-buttons button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}#upload-preview-size-label>span{display:block;margin-bottom:.4rem}

.comment-reply-form{display:grid;gap:.6rem;margin-top:1rem}.comment-reply-form[hidden]{display:none!important}.comment-reply-form label{display:grid;gap:.5rem}.comment-reply-form textarea{width:100%;box-sizing:border-box;padding:.7rem;font:inherit;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:6px}.comment-reply-form button,.comment-report-form button{margin-right:.5rem}.theme-comment-reply{margin-left:1.25rem;padding-left:1rem;border-left:2px solid var(--line)}.comment-reply-context{font-size:.85rem;color:var(--muted)}

.theme-detail-close{float:right;display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;font-size:1.75rem;line-height:1;background:var(--control,var(--surface));color:var(--ink);border:1px solid var(--line);cursor:pointer}

.theme-tags{font-size:.85rem;overflow-wrap:anywhere;color:var(--accent)!important}.theme-version-history{margin-top:1.25rem}.theme-version-history summary{cursor:pointer;font-weight:600}#theme-upload-tags{display:block;width:100%;padding:.65rem;margin:.4rem 0;font:inherit;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:6px}#profile-community h2{font-size:1.45rem;margin-top:1.5rem;margin-bottom:1rem}.notification,.my-bug-report{padding:.9rem 0;border-bottom:1px solid var(--line)}.notification small{display:block;color:var(--muted)}.notification button{margin-top:.5rem}.notification.unread>a{font-weight:700}.my-bug-report summary{cursor:pointer}.moderation-item{margin-block:1rem}.moderation-item form,.moderation-item label{display:grid;gap:.6rem}.moderation-item input,.moderation-item select,.moderation-item textarea,#delete-account select{font:inherit;padding:.6rem;color:var(--ink);background:var(--control,var(--surface));border:1px solid var(--line);border-radius:6px}.moderation-item textarea{width:100%}.moderation-item button{justify-self:start}#delete-account{margin-top:1.5rem}#delete-account summary{cursor:pointer;font-weight:600}#delete-account select{display:block;width:100%;margin-top:.4rem}#profile-community[hidden],#moderation-content[hidden],#moderation-link[hidden],#delete-account [hidden]{display:none!important}

/* Individual community theme page. */
.theme-page{max-width:1184px}.theme-page #theme-content>h1{margin:1.25rem 0}.theme-page .app-preview{max-width:100%}.theme-page .theme-comments{margin-top:2rem}.theme-page .theme-comment-form textarea{background:var(--bg)}a.theme-card{display:block;color:inherit;text-decoration:none}a.theme-card:hover,a.theme-card:focus-visible{border-color:var(--accent);outline-offset:4px}

/* Comment overflow actions. */
.theme-comment{position:relative;padding-right:3.5rem}
.comment-more{position:absolute;top:1rem;right:.75rem;z-index:2}
.comment-more[open]{z-index:3}
.comment-more-toggle{display:flex;align-items:center;justify-content:center;list-style:none;width:36px;height:36px;border:0;border-radius:50%;font-size:1.75rem;line-height:1;cursor:pointer;color:var(--ink);background:transparent}
.comment-more-toggle::-webkit-details-marker{display:none}
.comment-more-toggle:hover,.comment-more-toggle:focus-visible{background:var(--control,var(--surface));outline:2px solid var(--line);outline-offset:2px}
.comment-more-items{position:absolute;right:0;top:calc(100% + .25rem);display:flex;flex-direction:column;align-items:stretch;gap:.25rem;min-width:190px;max-width:calc(100vw - 3rem);padding:.5rem;background:var(--surface);border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 24px #0006}
.comment-more-items>button{text-align:left;white-space:normal}
.comment-more:not([open])>.comment-more-items{display:none}

/* Phones retain a visible posting button for touch keyboards. */
.comment-phone-submit{display:none}
@media (max-width:767px) and (pointer:coarse){.comment-phone-submit{display:inline-flex}}

.comment-body{white-space:pre-wrap;overflow-wrap:anywhere}.comment-body-collapsed{display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}.comment-text-toggle{border:0;background:transparent;color:var(--ink);text-decoration:underline;cursor:pointer;padding:.25rem 0}.theme-comments>label{display:block;margin:1rem 0}.theme-comments>label select{margin:.5rem 0;max-width:16rem}.comment-edit-form{margin:1rem 0}.comment-replies-toggle{margin-top:.75rem}.theme-comment[hidden]{display:none}

.uploader-badge{display:inline-block;margin-left:.6rem;padding:.15rem .5rem;border-radius:12px;background:var(--control,var(--surface));color:var(--ink);border:1px solid var(--line);font-size:.75rem}.linked-comment{outline:2px solid var(--accent);outline-offset:4px}.theme-comment{scroll-margin-top:6rem}.bug-attachment-previews{display:flex;flex-wrap:wrap;gap:1rem}.bug-attachment-previews img{max-width:180px;max-height:130px;object-fit:contain}.bug-attachment-previews figure{margin:0}.bug-attachment-previews figcaption{overflow-wrap:anywhere;max-width:180px}

.accessibility-controls{position:relative}.accessibility-controls summary{cursor:pointer}.accessibility-options{position:absolute;bottom:calc(100% + .5rem);right:0;z-index:20;min-width:240px;padding:1rem;background:var(--surface);border:1px solid var(--line);border-radius:8px}.accessibility-options label{display:block}.accessibility-options select{display:block;width:100%;margin:.4rem 0 1rem;font:inherit}.theme-filter-fields{display:flex;flex-wrap:wrap;gap:1rem;align-items:end;margin:1rem 0}.theme-filter-fields label{flex:1;min-width:160px}.theme-filter-fields input,.theme-filter-fields select{display:block;width:100%;font:inherit}.theme-filters{margin:1rem 0}.theme-report-form{margin:1rem 0}.theme-report-form label{display:block}.theme-report-form textarea,.theme-report-form select{display:block;width:100%;margin:.5rem 0;font:inherit}html[data-motion=reduce]{scroll-behavior:auto!important}html[data-motion=reduce] *,html[data-motion=reduce] *::before,html[data-motion=reduce] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}@media(prefers-reduced-motion:reduce){html,html *,html *::before,html *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media(max-width:600px){footer{flex-wrap:wrap}.accessibility-options{right:auto;left:0}}

.comment-you{display:inline-block;margin-left:.6rem;font-size:.8rem;color:var(--ink);font-weight:600}.comment-pagination{justify-content:center;flex-wrap:wrap;gap:1rem;min-height:0;margin:1.5rem 0;padding:0}.comment-pagination[hidden]{display:none}.comment-pagination button:disabled{opacity:.45;cursor:default}

.theme-page-navigation{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap;min-height:0;margin:1.5rem 0}.theme-page-navigation[hidden]{display:none}

button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}progress[aria-label="Theme upload progress"]{display:block;width:min(100%,32rem);margin:1rem 0;accent-color:var(--accent)}progress[hidden]{display:none}

#notification-settings{margin-block:2rem}#notification-preferences-form fieldset{border:1px solid var(--line);border-radius:8px;padding:1rem}#notification-preferences-form legend{padding-inline:.5rem}#notification-preferences-form input[type=checkbox]{accent-color:var(--accent)}

.theme-problem-notice{border:1px solid #e7b955;border-left:4px solid #e7b955;border-radius:6px;padding:1rem;margin:1.25rem 0;color:var(--ink);overflow-wrap:anywhere}.theme-problem-badge{display:inline-block;border:1px solid #e7b955;border-radius:6px;padding:.2rem .6rem;font-weight:700;color:var(--ink)}#storage-content{overflow-x:auto;margin:1.5rem 0}#storage-content table{width:100%;border-collapse:collapse}#storage-content th,#storage-content td{text-align:left;padding:.7rem;border-bottom:1px solid var(--line)}#storage-content caption{text-align:left;font-weight:700;margin:.5rem 0}

.report-reference-controls{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;margin:.75rem 0}.report-reference-controls input{max-width:100%;min-width:18rem;font:inherit}#storage-content>section{margin-bottom:2rem}

.report-reference-controls input[hidden]{display:none}

/* Styled native comment dropdowns retain keyboard and phone support. */
.theme-comments>label.comment-select-field{display:inline-grid;position:relative;vertical-align:top;gap:.5rem;width:14rem;max-width:100%;margin:1.25rem 1rem 1.25rem 0;font-size:.88rem;font-weight:600;color:var(--ink)}
.theme-comments>label.comment-select-field select{appearance:none;-webkit-appearance:none;display:block;width:100%;max-width:none;min-height:48px;margin:0;padding:.7rem 2.75rem .7rem 1rem;border:1px solid var(--line);border-radius:9px;background:var(--control,var(--surface));color:var(--ink);font:inherit;font-size:1rem;font-weight:400;cursor:pointer;box-shadow:0 1px 2px #0002}
.theme-comments>label.comment-select-field::after{content:'';position:absolute;right:1.1rem;bottom:1.25rem;width:.45rem;height:.45rem;border-right:2px solid var(--ink);border-bottom:2px solid var(--ink);transform:rotate(45deg);pointer-events:none;opacity:.8}
.theme-comments>label.comment-select-field select:hover{border-color:var(--accent)}
.theme-comments>label.comment-select-field select:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-color:var(--accent)}
.theme-comments>label.comment-select-field option{background:var(--surface);color:var(--ink)}
@media(max-width:560px){.theme-comments>label.comment-select-field{display:grid;width:100%;margin:1rem 0}}
@media(forced-colors:active){.theme-comments>label.comment-select-field select{appearance:auto}.theme-comments>label.comment-select-field::after{display:none}}

/* Shared button polish. */
:where(button.button,a.button,button.nav-download,a.nav-download,button.secondary,a.secondary){display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:44px;padding:.65rem 1rem;border-radius:9px;line-height:1.35;font-family:inherit;text-decoration:none;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease}
:where(button.nav-download,a.nav-download,button.secondary,a.secondary){background:var(--control,var(--surface));color:var(--ink);border:1px solid var(--line);box-shadow:0 1px 2px #0002}
:where(button.button,a.button){border:1px solid transparent;box-shadow:0 2px 5px #0002}
:where(button.nav-download,a.nav-download,button.secondary,a.secondary):hover{background:color-mix(in srgb,var(--control,var(--surface)) 88%,var(--accent));border-color:var(--accent);text-decoration:none}
:where(button.button,a.button):hover{background:color-mix(in srgb,var(--accent) 88%,var(--ink));text-decoration:none;box-shadow:0 3px 8px #0003}
:where(button.button,a.button,button.nav-download,a.nav-download,button.secondary,a.secondary):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
:where(button.button,button.nav-download,button.secondary):disabled{opacity:.5;cursor:not-allowed;box-shadow:none}
:where(button.button,button.nav-download,button.secondary):disabled:hover{background:var(--control,var(--surface));border-color:var(--line)}
button.button:disabled:hover{background:var(--accent);border-color:transparent}
/* Keep compact overflow controls and their menus shaped for their purpose. */
button.theme-detail-close{width:40px;min-height:40px;padding:0}
.comment-more-items>button{justify-content:flex-start;width:100%;border-color:transparent;box-shadow:none}
.comment-more-items>button:hover{border-color:var(--line)}

.theme-count{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;margin-left:.75rem;min-width:2rem;padding:.25rem .6rem;border:1px solid var(--line);border-radius:999px;font-size:1rem;font-weight:600;letter-spacing:normal;line-height:1.3;background:var(--control,var(--surface));color:var(--ink)}.theme-empty-state{grid-column:1/-1;padding:1.25rem;border:1px dashed var(--line);border-radius:10px;background:var(--surface)}.theme-empty-state>p{margin:0 0 1rem}.theme-gallery button[hidden]{display:none}

[hidden]{display:none!important}

.comment-draft-status{display:block;min-height:1.25em;margin:.35rem 0;font-weight:400;color:var(--muted)}.theme-replacement-preview{margin:1rem 0;padding:1rem;border:1px solid var(--line);border-radius:9px}.theme-replacement-preview .theme-preview{max-width:100%}

.comment-reply-context{margin:0 0 1rem;padding:.85rem 1rem;border-left:3px solid var(--accent);border-radius:0 8px 8px 0;background:var(--control,var(--surface));color:var(--ink);max-height:14rem;overflow:auto;overflow-wrap:anywhere}.comment-reply-context p{white-space:pre-wrap;margin:.4rem 0 0}.comment-reply-context strong{font-size:.9rem}

.comment-composer-home{margin:1.25rem 0}.theme-comment>.theme-comment-form{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--line)}.comment-reply-mode{font-weight:600;margin:0 0 .75rem}.theme-comment-form>button{margin:.5rem .5rem .5rem 0}

.theme-colour-swatches{display:flex;flex-wrap:wrap;gap:.35rem;list-style:none;margin:1rem 0 0;padding:0}.theme-colour-swatches li{width:1.4rem;height:1.4rem;border-radius:50%;border:1px solid var(--line);box-shadow:inset 0 0 0 1px #ffffff30}.comment-pinned{font-size:.85rem;font-weight:600;color:var(--accent);margin:.25rem 0 .75rem}.comment-search-field{display:block;margin:1rem 0;font-weight:600}.comment-search-field input{display:block;width:100%;margin-top:.5rem;padding:.75rem;border-radius:9px;border:1px solid var(--line);background:var(--control,var(--surface));color:var(--ink);font:inherit}#profile-privacy-settings{margin:2rem 0}

.profile-picture{display:block;width:112px;height:112px;object-fit:cover;border-radius:50%;border:2px solid var(--line);margin:1rem 0;background:var(--control,var(--surface))}.account-profile-picture{width:28px;height:28px;border-radius:50%;object-fit:cover;flex-shrink:0;border:1px solid var(--line)}.profile-heading-picture{width:64px;height:64px;flex-shrink:0;margin:0}#profile-picture-settings{margin:2rem 0}#profile-picture-preview{border-color:var(--accent)}

/* Profile side navigation leaves the existing profile card width intact. */
.account-page{position:relative}.profile-side-nav{display:flex;flex-direction:row;justify-content:flex-start;align-items:stretch;flex-wrap:wrap;gap:.6rem;min-height:0;margin-top:1.25rem;border:0;padding:0}.profile-side-nav button{justify-content:flex-start}.profile-side-nav button[aria-pressed=true]{border:1px solid var(--accent);background:var(--accent-surface,var(--control,var(--surface)));color:var(--ink)}
#profile-overview[data-profile-view=home]>#profile-uploads,#profile-overview[data-profile-view=home] #profile-bugs-panel{display:none!important}
#profile-overview[data-profile-view=themes]>:not(#profile-uploads){display:none!important}
#profile-overview[data-profile-view=bugs]>:not(#profile-community),#profile-overview[data-profile-view=bugs] #profile-notifications,#profile-overview[data-profile-view=bugs] #moderation-link{display:none!important}
@media(min-width:1200px){.profile-side-nav{position:absolute;top:3.75rem;left:-190px;width:170px;margin:0;flex-direction:column;flex-wrap:nowrap}.profile-side-nav button{width:100%;min-height:48px}}

.notification-bell.nav-download{position:relative;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;min-height:44px;padding:.5rem;border-radius:9px;background:var(--control,var(--surface));color:var(--ink);border:1px solid var(--line)}.notification-badge{position:absolute;right:-.35rem;top:-.4rem;min-width:1.2rem;height:1.2rem;padding:0 .25rem;display:flex;align-items:center;justify-content:center;border-radius:999px;background:#c92e3c;color:#fff;font-size:.7rem;font-weight:700;line-height:1;border:2px solid var(--bg)}.notification-bell:hover{border-color:var(--accent)}
/* Download actions use the same neutral finish as surrounding controls. */
a.nav-download[href*="download"],a.button[href*="download"],a.button[download]{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:44px;padding:.65rem 1rem;border:1px solid var(--line);border-radius:9px;background:var(--control,var(--surface));color:var(--ink);box-shadow:0 1px 2px #0002;line-height:1.35;font-weight:600;text-decoration:none}
a.nav-download[href*="download"]:hover,a.button[href*="download"]:hover,a.button[download]:hover{background:color-mix(in srgb,var(--control,var(--surface)) 88%,var(--accent));border-color:var(--accent);box-shadow:0 1px 2px #0002}
/* Downloads matches the plain links in the main navigation. */
header nav a.nav-download[href*="download"]{display:inline;min-height:0;padding:0;border:0;border-radius:0;background:transparent;color:inherit;box-shadow:none;line-height:inherit;font-weight:inherit;transition:none}
header nav a.nav-download[href*="download"]:hover{background:transparent;border:0;box-shadow:none;text-decoration:underline}.downloads-page .platform-download{margin-top:3rem}.platform-download-warning{border:1px solid #e7b955;border-left:4px solid #e7b955;border-radius:8px;padding:1rem;margin:1.25rem 0;color:var(--ink)}.platform-download-warning p{margin:.4rem 0 0}
#release-manager-content form{display:grid;gap:1rem;margin:2rem 0}#release-manager-content label{display:block;font-weight:600}#release-manager-content input,#release-manager-content textarea,#program-feed-url{display:block;width:100%;padding:.7rem;margin:.4rem 0;border:1px solid var(--line);border-radius:8px;background:var(--control,var(--surface));color:var(--ink);font:inherit}#program-package-review{overflow-wrap:anywhere}#program-package-review details{max-height:20rem;overflow:auto}#program-feed-url{font-family:var(--mono)}

/* Give the main header room for account names without changing page widths. */
header nav.wrap{width:min(1600px,calc(100% - 3rem))}
header nav>.brand{flex-shrink:0;white-space:nowrap}
@media(min-width:1280px){
  header nav{flex-wrap:nowrap}
  header nav>div{flex:1;min-width:0;flex-wrap:nowrap;justify-content:flex-end;gap:clamp(.75rem,1.1vw,1.4rem)}
  header nav>div>a,header nav>div>.account-menu{flex-shrink:0;white-space:nowrap}
  header nav>div>.profile-menu{flex:0 1 auto;min-width:0}
  header nav .profile-link,header nav .account-label{min-width:0}
}
@media(max-width:1279px){
  header nav{flex-wrap:wrap;padding-block:.7rem;gap:.7rem}
  header nav>div{min-width:0;flex-wrap:wrap}
}
@media(max-width:480px){header nav.wrap{width:calc(100% - 2rem)}}
