/* Pixel3DLab portal redesign: one calm light interface inspired by the reference. */
:root{--bg-color:#f2f4f6;--card-bg:#fff;--text-main:#20242a;--text-muted:#68717d;--border-color:#e2e5e9;--input-bg:#fff;--input-border:#d9dde3;--hover-bg:#f1f3f5;--color-blue:#58799a;--pl-accent:#58799a;--pl-line:#e2e5e9;--pl-glass:rgba(255,255,255,.86);--pl-glass-strong:rgba(255,255,255,.96);--shadow-sm:0 2px 8px rgba(27,35,45,.04);--shadow-md:0 12px 32px rgba(27,35,45,.08);color-scheme:light}
html,html[data-theme="dark"]{background:#f2f4f6!important;color-scheme:light!important}
html[data-theme="dark"] body{--bg-color:#f2f4f6!important;--card-bg:#fff!important;--text-main:#20242a!important;--text-muted:#68717d!important;--border-color:#e2e5e9!important;--input-bg:#fff!important;--input-border:#d9dde3!important;--hover-bg:#f1f3f5!important;--color-blue:#58799a!important;--pl-accent:#58799a!important;--pl-line:#e2e5e9!important;--pl-glass:rgba(255,255,255,.86)!important;--pl-glass-strong:rgba(255,255,255,.96)!important;background:#f2f4f6!important;color:#20242a!important;color-scheme:light!important}
body.pxh-home-page{background:#f2f4f6!important;color:#20242a;font-family:Inter,"Segoe UI",system-ui,sans-serif}
body.pxh-inner-page{background:#f2f4f6!important;color:#20242a}
/* Internal area: desktop navigation becomes a quiet, persistent side rail. */
@media(min-width:921px){body.pxh-inner-page .top-bar{position:fixed!important;inset:0 auto 0 0!important;width:248px!important;height:100vh;min-height:100vh;display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:24px;padding:22px 14px!important;border:0!important;border-right:1px solid #e2e5e9!important;border-radius:0!important;background:rgba(255,255,255,.88)!important;box-shadow:4px 0 24px rgba(30,40,55,.035)!important;backdrop-filter:blur(16px)!important;-webkit-backdrop-filter:blur(16px)!important}
body.pxh-inner-page .logo-container{position:static!important;left:auto!important;top:auto!important;transform:none!important;padding:4px 8px 18px;border-bottom:1px solid #edf0f2}
body.pxh-inner-page .logo-container img{height:48px;max-width:54px;filter:none}
body.pxh-inner-page .logo-container a{gap:10px;color:#252a31;font-size:17px;font-weight:800}
body.pxh-inner-page .pxh-logo-text{display:inline!important}
body.pxh-inner-page .desktop-nav{display:flex!important;flex-direction:column;align-items:stretch;gap:5px;width:100%}
body.pxh-inner-page .desktop-nav>.nav-btn,body.pxh-inner-page .desktop-nav>.dropdown>.nav-btn{justify-content:flex-start;width:100%;min-height:46px;padding:0 12px;border:1px solid transparent;border-radius:11px;color:#505965!important;font-size:14px;font-weight:650}
body.pxh-inner-page .desktop-nav>.nav-btn svg,body.pxh-inner-page .desktop-nav>.dropdown>.nav-btn svg{color:#707985!important}
body.pxh-inner-page .desktop-nav .dropdown{display:block;width:100%}
body.pxh-inner-page .desktop-nav .dropdown-content{top:0!important;left:calc(100% + 9px)!important;right:auto!important;min-width:220px;padding:8px;border:1px solid #e4e7eb!important;border-radius:14px;background:rgba(255,255,255,.96)!important;box-shadow:0 16px 42px rgba(25,35,48,.12)!important;backdrop-filter:blur(18px)}
body.pxh-inner-page .desktop-nav .dropdown-item{min-height:42px;border-radius:9px;color:#434b55!important;font-size:13px}
body.pxh-inner-page .desktop-nav .dropdown-item:hover,body.pxh-inner-page .desktop-nav .nav-btn:hover,body.pxh-inner-page .desktop-nav .nav-btn[aria-current=page]{background:#eef2f6!important;border-color:#e5e9ed!important;color:#20242a!important}
body.pxh-inner-page .desktop-nav .dropdown-item svg{color:#687b8d!important}
body.pxh-inner-page .pxh-inner-main{width:calc(100% - 248px);margin-left:248px;padding:30px clamp(22px,3vw,52px) 56px!important}
body.pxh-inner-page .pxh-inner-container{width:100%!important;max-width:none!important;margin:0!important;gap:18px}
body.pxh-inner-page .pxh-inner-footer{margin-left:248px;padding:38px clamp(22px,3vw,52px) 24px!important;background:#e9edf1!important;color:#59636f!important;border-top:1px solid #dfe3e8}
body.pxh-inner-page .pxh-inner-footer .pxh-container{width:100%;max-width:none}
body.pxh-inner-page .pxh-mobile-toggle{display:none!important}}
/* Landing page: preserve the existing parallax/scroll animation and reveal behavior. */
.pxh-container{width:min(1560px,calc(100% - 64px))}
.pxh-home{background:#f2f4f6!important;color:#20242a}
.pxh-home .pxh-section{padding-block:clamp(62px,7vw,100px)}
.pxh-home .pxh-hero{background:linear-gradient(120deg,#252a30,#30363d)!important;color:#fff;border-bottom:1px solid #e1e5e9}
.pxh-home .pxh-hero::after{background:linear-gradient(90deg,transparent,#bdc9d5,transparent)!important}
.pxh-home .pxh-hero h1 span{color:#d8e2eb!important}
.pxh-home .pxh-tool-card,.pxh-home .pxh-download-card,.pxh-home .pxh-feature,.pxh-home .pxh-community-panel{border:1px solid #e5e8ec!important;border-radius:16px!important;background:#fff!important;color:#292e35!important;box-shadow:0 8px 22px rgba(28,39,52,.055)!important;backdrop-filter:blur(8px)}
.pxh-home .pxh-tool-card:nth-child(4n+1) .pxh-tool-icon,.pxh-home .pxh-download-card:nth-child(4n+1) .pxh-download-icon{background:#e9eff5!important;color:#617c97!important}
.pxh-home .pxh-tool-card:nth-child(4n+2) .pxh-tool-icon,.pxh-home .pxh-download-card:nth-child(4n+2) .pxh-download-icon{background:#f4efe3!important;color:#917c50!important}
.pxh-home .pxh-tool-card:nth-child(4n+3) .pxh-tool-icon,.pxh-home .pxh-download-card:nth-child(4n+3) .pxh-download-icon{background:#eeeaf4!important;color:#827397!important}
.pxh-home .pxh-tool-card:nth-child(4n+4) .pxh-tool-icon,.pxh-home .pxh-download-card:nth-child(4n+4) .pxh-download-icon{background:#e9f0ed!important;color:#688578!important}
.pxh-home .pxh-home h2,.pxh-home h2,.pxh-home h3{color:#252a31}
.pxh-home .pxh-home p,.pxh-home .pxh-tool-card p,.pxh-home .pxh-download-card p{color:#66717d}
.pxh-home .pxh-footer{background:#e9edf1!important;color:#59636f!important;border-top:1px solid #dfe3e8}
.pxh-home .pxh-footer-logo,.pxh-home .pxh-footer-col strong{color:#30363d!important}
.pxh-home .pxh-footer-col a,.pxh-home .pxh-footer-bottom a{color:#5f6974!important}
/* Common internal cards, lists, tables, forms and controls. */
body.pxh-inner-page :is(.card,.pxm-panel,.pxm-stat-card,.pxm-folder-item,.pxm-media-card,.pgh-overview-item,.pgh-game-card,.pgh-filter-bar,.pxh-order-card,.pxh-inbox-row,.pxh-admin-shortcut,.pxh-admin-metric,.pxh-admin-overview,.pxh-forum-intro,.pxh-chat-contacts,.pxh-chat-conversation){border:1px solid #e3e7eb!important;border-radius:15px!important;background:rgba(255,255,255,.92)!important;color:#292f36!important;box-shadow:0 8px 24px rgba(30,42,56,.055)!important;backdrop-filter:blur(9px)}
body.pxh-inner-page :is(h1,h2,h3,h4){color:#252a31!important;letter-spacing:-.025em}
body.pxh-inner-page :is(p,small,.pxh-muted,.pxm-muted,.pxh-order-meta,.pxm-card-meta,.pxm-card-details,.pxm-stat-foot,.pxm-folder-info small){color:#68727e!important}
body.pxh-inner-page :is(input:not([type=checkbox]):not([type=radio]),select,textarea){min-height:42px;border:1px solid #d9dee4!important;border-radius:10px!important;background:#fff!important;color:#252a31!important;box-shadow:inset 0 1px 2px rgba(30,40,50,.025)!important;font-size:14px!important}
body.pxh-inner-page textarea{min-height:96px}
body.pxh-inner-page :is(input,select,textarea)::placeholder{color:#88919a!important}
body.pxh-inner-page :is(input,select,textarea):focus{outline:3px solid rgba(105,130,153,.18)!important;border-color:#91a3b4!important}
body.pxh-inner-page :is(button,.pxh-button,.pxm-button,.pxm-action-primary,.pgh-primary-action,.pgh-play-link,.pxh-download-button,.btn){border-radius:10px!important;box-shadow:0 3px 9px rgba(30,40,50,.06)!important}
body.pxh-inner-page :is(a,button):focus-visible{outline:3px solid #879bae!important;outline-offset:3px!important}
body.pxh-inner-page .pxm-hero{background:linear-gradient(120deg,#f6f8fa,#fff)!important}
body.pxh-inner-page .pxm-upload-advanced,body.pxh-inner-page .pxm-side-nav{background:rgba(255,255,255,.94)!important}
body.pxh-inner-page .pxm-folder-icon,body.pxh-inner-page .pxm-stat-icon,body.pxh-inner-page .pxm-panel-icon,body.pxh-inner-page .pxm-hero-mark{background:#edf1f5!important;color:#71869b!important;border-color:#e1e6eb!important}
body.pxh-inner-page .pxm-upload-summary{min-height:72px}
body.pxh-inner-page .pxm-eyebrow,body.pxh-inner-page .pxh-section-label{color:#65798d!important}
body.pxh-inner-page .pxh-inner-footer a{color:#4d5e70!important}
body.pxh-inner-page .pxh-inner-footer .pxh-footer-logo{color:#30363d!important}
/* Tablets and phones */
@media(max-width:920px){body.pxh-inner-page .top-bar{position:fixed!important;inset:0 0 auto!important;width:100%!important;height:auto;min-height:66px;flex-direction:row;align-items:center;justify-content:flex-end;gap:0;padding:0 14px!important;border-right:0!important;border-bottom:1px solid #e2e5e9!important;border-radius:0!important;background:rgba(255,255,255,.9)!important}body.pxh-inner-page .logo-container{position:relative!important;top:auto!important;left:auto!important;transform:none!important;margin-right:auto;padding:0;border:0}body.pxh-inner-page .logo-container img{height:45px;max-width:58px}body.pxh-inner-page .pxh-logo-text{font-size:15px}body.pxh-inner-page .desktop-nav{display:none!important}body.pxh-inner-page .pxh-mobile-toggle{display:inline-flex!important}body.pxh-inner-page .pxh-inner-main{width:100%;margin-left:0;padding:90px 20px 44px!important}body.pxh-inner-page .pxh-inner-footer{margin-left:0;padding:32px 20px 22px!important}}
@media(max-width:600px){.pxh-container{width:calc(100% - 32px)}.pxh-home .pxh-section{padding-block:54px}body.pxh-inner-page .pxh-inner-main{padding:82px 12px 34px!important}body.pxh-inner-page .pxh-inner-container{gap:13px}body.pxh-inner-page :is(.card,.pxm-panel,.pxm-stat-card,.pxm-media-card){border-radius:13px!important}body.pxh-inner-page .pxh-inner-footer{padding:26px 14px 18px!important}}
/* The existing accessible contrast mode remains under user control. */
/* Layout correction: offset the shared content frame once, keep children full-width. */
@media(min-width:921px){
 body.pxh-inner-page:not(.pxh-mini-chat-mode) > #pxh-main-content{width:calc(100% - 248px)!important;margin-left:248px!important;min-width:0;overflow-x:clip}
 body.pxh-inner-page:not(.pxh-mini-chat-mode) > #pxh-main-content > .pxh-inner-main{width:100%!important;margin-left:0!important;max-width:none!important;min-width:0}
 body.pxh-inner-page:not(.pxh-mini-chat-mode) > #pxh-main-content > .pxh-inner-footer{width:100%!important;margin-left:0!important;max-width:none!important;min-width:0}
 body.pxh-inner-page .pxh-inner-container{width:100%!important;max-width:none!important}
}
@media(max-width:920px){body.pxh-inner-page:not(.pxh-mini-chat-mode) > #pxh-main-content{width:100%!important;margin-left:0!important}}
/* Desktop rail: keep every navigation group visible and vertically scrollable. */
@media(min-width:921px){
 html body.pxh-inner-page header.top-bar{position:fixed!important;inset:0 auto 0 0!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:18px!important;width:248px!important;height:100vh!important;height:100dvh!important;min-height:0!important;overflow-x:visible!important;overflow-y:auto!important;padding:20px 14px 18px!important}
 html body.pxh-inner-page header.top-bar .logo-container{position:static!important;display:block!important;flex:0 0 auto!important;left:auto!important;top:auto!important;transform:none!important;width:100%!important;margin:0!important;padding:4px 8px 16px!important}
 html body.pxh-inner-page header.top-bar .desktop-nav{position:static!important;display:flex!important;flex:0 0 auto!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:5px!important;width:100%!important;min-width:0!important;overflow:visible!important}
 html body.pxh-inner-page header.top-bar .desktop-nav>.nav-btn,html body.pxh-inner-page header.top-bar .desktop-nav>.dropdown,html body.pxh-inner-page header.top-bar .desktop-nav>.dropdown>.nav-btn{display:flex!important;flex:0 0 auto!important;width:100%!important;min-width:0!important;white-space:normal!important}
 html body.pxh-inner-page header.top-bar .desktop-nav>.dropdown{position:relative!important}
 html body.pxh-inner-page header.top-bar .desktop-nav .dropdown-content{position:absolute!important;top:0!important;left:calc(100% + 8px)!important;right:auto!important;z-index:2500!important}
}
/* Sidebar submenus expand in-flow, so the rail cannot clip them behind the page. */
@media(min-width:921px){
 html body.pxh-inner-page header.top-bar .desktop-nav .dropdown{position:static!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important}
 html body.pxh-inner-page header.top-bar .desktop-nav .dropdown-content{position:static!important;inset:auto!important;display:none!important;flex-direction:column!important;width:100%!important;min-width:0!important;margin:2px 0 8px!important;padding:4px 0 4px 14px!important;border:0!important;border-left:1px solid #e2e5e9!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;opacity:1!important;transform:none!important;overflow:visible!important;backdrop-filter:none!important}
 html body.pxh-inner-page header.top-bar .desktop-nav .dropdown:hover>.dropdown-content,
 html body.pxh-inner-page header.top-bar .desktop-nav .dropdown:focus-within>.dropdown-content,
 html body.pxh-inner-page header.top-bar .desktop-nav .dropdown.is-open>.dropdown-content{display:flex!important}
 html body.pxh-inner-page header.top-bar .desktop-nav .dropdown-content .dropdown-item{min-height:38px;padding:8px 10px!important;font-size:13px!important}
}

/* Sidebar controls, hidden scrollbars, expanded submenu default and centered dialogs. */
.pxh-sidebar-controls{display:none}
@media(min-width:921px){
 html body.pxh-inner-page header.top-bar{background:#34383d!important;border-right:1px solid #484d53!important;scrollbar-width:none!important;overscroll-behavior:contain}
 html body.pxh-inner-page header.top-bar::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
 html body.pxh-inner-page header.top-bar .logo-container{border-color:#4b5056!important}
 html body.pxh-inner-page header.top-bar .logo-container a{color:#f0f2f4!important}
 html body.pxh-inner-page .pxh-sidebar-controls{display:flex;flex-direction:column;gap:6px;width:100%;margin-top:-8px}
 html body.pxh-inner-page .pxh-sidebar-control{display:flex;align-items:center;gap:9px;width:100%;min-height:38px;padding:0 10px;border:1px solid #4a5056;border-radius:9px;background:#3c4147;color:#d8dce0;font-family:inherit;font-size:12px;font-weight:600;line-height:1.2;text-align:left;cursor:pointer;box-shadow:none!important}
 html body.pxh-inner-page .pxh-sidebar-control:hover,html body.pxh-inner-page .pxh-sidebar-control:focus-visible{background:#484e54;border-color:#60666d;color:#fff}
 html body.pxh-inner-page .pxh-sidebar-control svg{width:16px;height:16px;flex:0 0 16px;color:#d8dce0}
 html body.pxh-inner-page header.top-bar .desktop-nav>.nav-btn,html body.pxh-inner-page header.top-bar .desktop-nav>.dropdown>.nav-btn{color:#e0e3e6!important}
 html body.pxh-inner-page header.top-bar .desktop-nav>.nav-btn svg,html body.pxh-inner-page header.top-bar .desktop-nav>.dropdown>.nav-btn svg{color:#c5cacf!important}
 html body.pxh-inner-page header.top-bar .desktop-nav .nav-btn:hover,html body.pxh-inner-page header.top-bar .desktop-nav .nav-btn[aria-current=page]{background:#454b51!important;border-color:#555b62!important;color:#fff!important}
 html body.pxh-inner-page header.top-bar .desktop-nav .dropdown-content{display:flex!important}
 html body.pxh-inner-page.pxh-submenus-collapsed header.top-bar .desktop-nav .dropdown-content,html body.pxh-inner-page.pxh-sidebar-collapsed header.top-bar .desktop-nav .dropdown-content{display:none!important}
 html body.pxh-inner-page header.top-bar .desktop-nav .dropdown-item{color:#d5d9dd!important}
 html body.pxh-inner-page header.top-bar .desktop-nav .dropdown-item svg{color:#c5cacf!important}
 html body.pxh-inner-page header.top-bar .desktop-nav .dropdown-item:hover{background:#454b51!important;border-color:transparent!important;color:#fff!important}
 html body.pxh-inner-page.pxh-sidebar-collapsed header.top-bar{width:76px!important;padding:16px 9px!important}
 html body.pxh-inner-page.pxh-sidebar-collapsed header.top-bar .logo-container{display:flex!important;justify-content:center;padding:4px 0 14px!important}
 html body.pxh-inner-page.pxh-sidebar-collapsed header.top-bar .logo-container a{justify-content:center}
 html body.pxh-inner-page.pxh-sidebar-collapsed header.top-bar .logo-container img{max-width:48px}
 html body.pxh-inner-page.pxh-sidebar-collapsed header.top-bar .pxh-logo-text,html body.pxh-inner-page.pxh-sidebar-collapsed .pxh-sidebar-control span{display:none!important}
 html body.pxh-inner-page.pxh-sidebar-collapsed .pxh-sidebar-control{justify-content:center;padding:0}
 html body.pxh-inner-page.pxh-sidebar-collapsed header.top-bar .desktop-nav>.nav-btn,html body.pxh-inner-page.pxh-sidebar-collapsed header.top-bar .desktop-nav>.dropdown>.nav-btn{justify-content:center;gap:0;padding:0!important;font-size:0!important}
 html body.pxh-inner-page.pxh-sidebar-collapsed header.top-bar .desktop-nav .nav-btn svg{width:20px;height:20px;flex:0 0 20px}
 html body.pxh-inner-page.pxh-sidebar-collapsed header.top-bar .desktop-nav .nav-btn svg[data-lucide=chevron-down]{display:none}
 html body.pxh-inner-page.pxh-sidebar-collapsed:not(.pxh-mini-chat-mode)>#pxh-main-content{width:calc(100% - 76px)!important;margin-left:76px!important}
}
@media(max-width:920px){.pxh-sidebar-controls{display:none!important}}
/* Native browser dialogs stay centered, scroll inside the viewport and share a neutral backdrop. */
dialog[open]{position:fixed!important;inset:0!important;margin:auto!important;max-height:min(88vh,900px)!important;max-height:min(88dvh,900px)!important;overflow:auto!important;box-sizing:border-box!important}
dialog[open]::backdrop{background:rgba(35,39,44,.38)!important;-webkit-backdrop-filter:blur(7px)!important;backdrop-filter:blur(7px)!important}
dialog.pxh-dialog[open],dialog.pxh-glass-native-dialog[open]{border-color:#d9dde2!important;border-radius:18px!important;background:rgba(255,255,255,.97)!important;color:#292e34!important;box-shadow:0 22px 70px rgba(25,31,38,.22)!important}
dialog.pxh-dialog[open]::backdrop,dialog.pxh-glass-native-dialog[open]::backdrop{background:rgba(35,39,44,.38)!important}
dialog.pxm-manage-dialog[open]{width:min(560px,calc(100vw - 28px))!important;max-width:560px!important;padding:0!important;border:1px solid #d9dde2!important;border-radius:18px!important;background:rgba(255,255,255,.98)!important;color:#292e34!important;box-shadow:0 24px 72px rgba(25,31,38,.24)!important}
.pxm-manage-dialog .pxm-manage-dialog-head{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0;padding:18px 20px;border-bottom:1px solid #e5e8eb;background:rgba(255,255,255,.96);backdrop-filter:blur(14px)}
.pxm-manage-dialog .pxm-manage-dialog-head span{display:block;margin-bottom:4px;color:#707781;font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.pxm-manage-dialog .pxm-manage-dialog-head h2{margin:0;color:#292e34;font-size:19px;line-height:1.25}
.pxm-manage-dialog .pxm-manage-dialog-close{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border:1px solid #e0e3e7;border-radius:10px;background:#f5f6f7;color:#454b52;font-size:24px;line-height:1;cursor:pointer}
.pxm-manage-dialog .pxm-manage-dialog-close:hover{background:#eaedef;color:#1f2328}
.pxm-manage-dialog .pxm-manage-dialog-content{padding:18px 20px 22px}
.pxm-manage-dialog .pxm-manage-panel{position:static!important;inset:auto!important;width:auto!important;max-width:none!important;max-height:none!important;overflow:visible!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.pxm-manage-dialog .pxm-form-stack{gap:13px}
.pxm-manage-dialog .pxm-manage-panel strong{font-size:13px}
.pxm-manage-dialog .pxm-manage-separator{margin:17px 0}
.pxm-manage-dialog .pxm-manage-panel label{font-size:13px}
.pxm-manage-dialog .pxm-manage-panel :is(input:not([type=checkbox]),select,textarea){width:100%;box-sizing:border-box}
@media(max-width:600px){dialog.pxm-manage-dialog[open]{width:calc(100vw - 20px)!important;max-height:calc(100dvh - 20px)!important;border-radius:15px!important}.pxm-manage-dialog .pxm-manage-dialog-head{padding:15px 16px}.pxm-manage-dialog .pxm-manage-dialog-content{padding:15px 16px 18px}}

/* Navigation flyouts stay legible and escape the narrow compact rail. */
@media(min-width:921px){
 html body.pxh-inner-page header.top-bar .desktop-nav .dropdown-content{background:#454a50!important;border:1px solid #5b6168!important;border-radius:11px!important}
 html body.pxh-inner-page header.top-bar .desktop-nav .dropdown-item{display:flex!important;align-items:center!important;min-height:40px!important;padding:9px 11px!important;border-radius:8px!important;background:transparent!important;color:#f0f2f4!important;font-size:13px!important;line-height:1.35!important;opacity:1!important}
 html body.pxh-inner-page header.top-bar .desktop-nav .dropdown-item svg{color:#e1e4e7!important;opacity:1!important}
 html body.pxh-inner-page header.top-bar .desktop-nav .dropdown-item:hover,
 html body.pxh-inner-page header.top-bar .desktop-nav .dropdown-item:focus-visible{background:#5a6067!important;color:#fff!important}
 html body.pxh-inner-page.pxh-sidebar-collapsed header.top-bar{overflow:visible!important}
 html body.pxh-inner-page.pxh-sidebar-collapsed header.top-bar .desktop-nav,
 html body.pxh-inner-page.pxh-sidebar-collapsed header.top-bar .desktop-nav>.dropdown{overflow:visible!important}
 html body.pxh-inner-page.pxh-sidebar-collapsed header.top-bar .desktop-nav>.dropdown{position:relative!important}
 html body.pxh-inner-page.pxh-sidebar-collapsed header.top-bar .desktop-nav .dropdown-content{position:absolute!important;top:0!important;left:calc(100% + 9px)!important;right:auto!important;z-index:2147483001!important;display:none!important;flex-direction:column!important;width:min(270px,calc(100vw - 100px))!important;min-width:240px!important;max-height:min(78vh,720px)!important;overflow-x:hidden!important;overflow-y:auto!important;margin:0!important;padding:9px!important;border:1px solid #5b6168!important;border-radius:13px!important;background:#41464c!important;box-shadow:0 16px 42px rgba(14,19,24,.32)!important;backdrop-filter:blur(14px)!important}
 html body.pxh-inner-page.pxh-sidebar-collapsed header.top-bar .desktop-nav>.dropdown:hover>.dropdown-content,
 html body.pxh-inner-page.pxh-sidebar-collapsed header.top-bar .desktop-nav>.dropdown:focus-within>.dropdown-content,
 html body.pxh-inner-page.pxh-sidebar-collapsed header.top-bar .desktop-nav>.dropdown.is-open>.dropdown-content{display:flex!important}
 html body.pxh-inner-page.pxh-sidebar-collapsed header.top-bar .desktop-nav .dropdown-item{min-height:44px!important;font-size:14px!important}
}
@media(max-width:920px){
 body.pxh-inner-page .pxh-mobile-toggle{width:48px!important;height:48px!important;min-height:48px!important;flex:0 0 48px!important}
 body.pxh-inner-page .pxh-mobile-menu{top:74px!important;max-height:calc(100dvh - 86px)!important;overflow-y:auto!important;overscroll-behavior:contain}
 body.pxh-inner-page .pxh-mobile-menu a,body.pxh-inner-page .pxh-mobile-menu button{min-height:48px!important;padding:12px 14px!important;font-size:16px!important;line-height:1.4!important}
 body.pxh-inner-page .pxh-mobile-menu svg{width:20px!important;height:20px!important;flex:0 0 20px}
 body.pxh-inner-page :is(input:not([type=checkbox]):not([type=radio]),select,textarea){min-height:48px!important;font-size:16px!important}
 body.pxh-inner-page :is(button,.pxh-button,.pxm-button,.pxm-action-primary,.pxm-layout-toggle button,.pxm-filter-tabs a){min-height:44px!important}
 body.pxh-inner-page :is(.pxm-card-meta,.pxm-card-meta span,.pxm-card-details,.pxm-card-details span,.pxm-stat-foot,.pxm-folder-info small,.pxm-share-info small){font-size:12px!important;line-height:1.45!important}
}
@media(max-width:600px){
 body.pxh-inner-page .pxh-inner-main{padding-top:82px!important}
 body.pxh-inner-page :is(.pxm-panel,.pxm-card-content,.pxh-order-card,.pxh-admin-overview){font-size:15px}
 body.pxh-inner-page :is(.pxm-panel p,.pxm-card-description,.pxh-muted){font-size:14px!important;line-height:1.55!important}
}
/* Compact navigation tooltips are carried by title attributes from the sidebar script. */

@media(min-width:921px) and (hover:none) and (pointer:coarse){
 html body.pxh-inner-page header.top-bar .desktop-nav .dropdown-item{min-height:46px!important;font-size:14px!important}
 html body.pxh-inner-page header.top-bar .desktop-nav>.nav-btn,html body.pxh-inner-page header.top-bar .desktop-nav>.dropdown>.nav-btn{min-height:50px!important;font-size:15px!important}
}

@media(min-width:921px){
 html body.pxh-inner-page.pxh-submenus-collapsed header.top-bar .desktop-nav>.dropdown.is-open>.dropdown-content{display:flex!important;flex-direction:column!important;background:#454a50!important;border:1px solid #5b6168!important;border-radius:11px!important}
}

@media(max-width:920px){
 body.pxh-home-page .pxh-mobile-toggle{width:48px!important;height:48px!important;min-height:48px!important}
 body.pxh-home-page .pxh-mobile-menu{max-height:calc(100dvh - 86px)!important;overflow-y:auto!important;overscroll-behavior:contain}
 body.pxh-home-page .pxh-mobile-menu a,body.pxh-home-page .pxh-mobile-menu button{min-height:48px!important;padding:12px 14px!important;font-size:16px!important;line-height:1.4!important}
 body.pxh-home-page .pxh-mobile-menu svg{width:20px!important;height:20px!important}
}

/* Final navigation contrast override: readable in expanded and flyout menus. */
@media(min-width:921px){
 html body.pxh-inner-page header.top-bar .desktop-nav>.nav-btn,
 html body.pxh-inner-page header.top-bar .desktop-nav>.dropdown>.nav-btn,
 html body.pxh-inner-page header.top-bar .desktop-nav>.dropdown>.dropdown-content>.dropdown-item,
 html body.pxh-inner-page header.top-bar .desktop-nav .dropdown-content .dropdown-item,
 html body.pxh-inner-page header.top-bar .desktop-nav .dropdown-content .dropdown-item:visited,
 html body.pxh-inner-page header.top-bar .desktop-nav .dropdown-content .dropdown-item[aria-current=page]{color:#f2f4f6!important;-webkit-text-fill-color:#f2f4f6!important;opacity:1!important}
 html body.pxh-inner-page header.top-bar .desktop-nav .dropdown-content{background:#3b4046!important;border-color:#555b62!important}
 html body.pxh-inner-page header.top-bar .desktop-nav .dropdown-content .dropdown-item{background:#42474d!important;border-color:transparent!important;font-size:14px!important;line-height:1.4!important}
 html body.pxh-inner-page header.top-bar .desktop-nav .dropdown-content .dropdown-item:hover,
 html body.pxh-inner-page header.top-bar .desktop-nav .dropdown-content .dropdown-item:focus-visible,
 html body.pxh-inner-page header.top-bar .desktop-nav .dropdown-content .dropdown-item[aria-current=page]{background:#555b62!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
 html body.pxh-inner-page header.top-bar .desktop-nav .dropdown-content .dropdown-item :where(span,strong,em){color:inherit!important;-webkit-text-fill-color:inherit!important}
}
/* Keep submenu links visible in the expanded desktop rail without hover. */
@media(min-width:921px){
 html body.pxh-inner-page:not(.pxh-sidebar-collapsed):not(.pxh-submenus-collapsed) header.top-bar .desktop-nav>.dropdown{position:static!important;display:flex!important;flex-direction:column!important;align-items:stretch!important}
 html body.pxh-inner-page:not(.pxh-sidebar-collapsed):not(.pxh-submenus-collapsed) header.top-bar .desktop-nav>.dropdown>.dropdown-content{position:static!important;inset:auto!important;display:flex!important;flex-direction:column!important;visibility:visible!important;opacity:1!important;transform:none!important;width:100%!important;min-width:0!important;max-height:none!important;overflow:visible!important;margin:2px 0 8px!important;padding:4px 0 4px 14px!important}
}