/* Shared material/order; original Waves, soft Windows Server. No per-scroll animation. */
html[data-theme="glass"][data-glass-wallpaper="pink-waves"] body{background:#d8e9fa url('/static/pink-waves.jpeg') center/cover no-repeat fixed!important}
html[data-theme="glass"][data-glass-wallpaper="blue-bloom"] body{background:linear-gradient(135deg,#f5fbff8c,#d9ecff80),url('/static/windows-server.webp') center/cover no-repeat fixed!important}
html[data-theme="glass"] .task-top-links>a{display:inline-flex;align-items:center;min-height:38px;padding:8px 14px;border:1px solid #ffffffad;border-radius:20px;background-color:var(--water-tint)!important;background-image:var(--water-light)!important;box-shadow:var(--water-rim)!important;color:var(--text,#17334a);font-size:.9rem;text-decoration:none;white-space:nowrap}
.task-top-links>a:focus-visible{outline:2px solid currentColor;outline-offset:3px}
/* Raise the header's stacking context as well as the popup itself. */
body>header:has(.user-menu[open]),body>header:has(.notification-menu[open]){position:relative;z-index:2000!important;overflow:visible!important}
.user-menu[open],.notification-menu[open]{z-index:2100!important}
html[data-theme="glass"] :is(.user-menu-popover,.notification-popover){background-color:rgba(231,241,251,.78)!important;background-image:linear-gradient(145deg,#ffffff55,transparent)!important;-webkit-backdrop-filter:blur(20px) saturate(140%);backdrop-filter:blur(20px) saturate(140%);isolation:isolate;z-index:2200!important}
.language-flags{display:inline-flex;gap:5px;align-items:center}.language-flags button{font-size:.875rem;padding:8px 12px;min-height:38px;border-radius:17px;white-space:nowrap}.language-flags button[aria-pressed="true"]{outline:2px solid var(--focus,#324d70);outline-offset:1px}
.attachment-drop{border:1px dashed var(--border,#9aacc1);border-radius:16px;padding:18px;display:grid;gap:12px}.attachment-list{list-style:none;margin:0;padding:0}.attachment-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--border,#dce3ed)}.attachment-row>a{flex:1;min-width:0;overflow-wrap:anywhere;font-size:1rem}.attachment-row small{font-size:.8rem}.attachment-row form{margin:0}.attachment-row button{font-size:.85rem}.attachment-drop input[type="file"]{width:100%;max-width:100%;font-size:.9rem}.attachment-note{font-size:.875rem;line-height:1.5}.attachment-drop.drag-over{outline:2px solid var(--focus,#52668c)}
@media(max-width:700px){.language-flags button{padding:8px}.attachment-row{flex-wrap:wrap}.task-top-links{gap:6px}.task-top-links>a{padding:7px 11px}}
@media(prefers-reduced-transparency:reduce),(forced-colors:active){html[data-theme="glass"] :is(.user-menu-popover,.notification-popover){background-color:Canvas!important;backdrop-filter:none!important}}

/* Verified compact-width wrapping and active-project contrast. */
.topbar{height:auto!important;min-height:72px;padding-block:12px}
html[data-theme="glass"] .sidebar .project-nav .active{color:var(--text,#17334a)!important}
