/* One account navigation layout; palettes inherit the current site/application. */
.pw-standard-menu{box-sizing:border-box;width:280px!important;max-width:calc(100vw - 16px)!important;padding:8px!important;background:var(--pw-chrome-bg,var(--surface,var(--panel,#fff)))!important;color:var(--pw-chrome-text,var(--text,#243044))!important;border:1px solid var(--pw-chrome-line,var(--line,#ccd1d7))!important;border-radius:10px!important;max-height:var(--pw-menu-max,calc(100dvh - 80px))!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:none}
.pw-standard-menu::-webkit-scrollbar{display:none;width:0;height:0}
.pw-standard-menu[hidden],.pw-standard-panel[hidden]{display:none!important}
.pw-standard-menu .pw-standard-link,.pw-standard-menu .pw-standard-native{display:flex!important;align-items:center;gap:10px;width:100%;min-height:30px;box-sizing:border-box;border:0!important;border-radius:5px;margin:0!important;padding:6px 10px!important;background:transparent!important;color:inherit!important;text-align:left;font:400 13px/1.4 'Segoe UI',Arial,sans-serif;text-decoration:none;cursor:pointer}
.pw-standard-menu svg,.pw-standard-menu img{width:18px;height:18px;flex:0 0 18px;object-fit:contain}
.pw-standard-menu .pw-standard-link:focus-visible,.pw-standard-menu .pw-standard-native:focus-visible{outline:1px solid currentColor;outline-offset:-2px}
.pw-standard-menu .pw-standard-toggle::after{content:'';width:6px;height:6px;margin-left:auto;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg);flex:none}
.pw-standard-menu .pw-standard-toggle[aria-expanded=true]::after{transform:rotate(225deg)}
.pw-standard-menu .pw-standard-panel{box-sizing:border-box;margin:3px 0 7px 12px!important;padding:0!important;max-height:none!important;overflow:visible!important;background:transparent!important;border:0!important;box-shadow:none!important}
.pw-standard-menu .pw-standard-panel>a,.pw-standard-menu .pw-standard-panel>button{padding-left:18px!important}
[data-pw-well-account].pw-standard-menu{--pw-chrome-bg:var(--surface,#fff);--pw-chrome-text:var(--text,#243044);--pw-chrome-line:var(--line,#ccd1d7);width:280px!important;padding:8px!important}
#popover-root .popover:has([data-pw-well-account].pw-standard-menu){box-sizing:border-box;width:296px;max-width:calc(100vw - 16px);padding:7px}
#workspace-account-menu.pw-standard-menu{--pw-chrome-bg:var(--surface,var(--panel,#fff));--pw-chrome-text:var(--text,#243044);--pw-chrome-line:var(--line,#ccd1d7)}

.pw-standard-menu .pw-menu-home{display:flex;align-items:center;padding:8px 10px 10px;color:inherit;text-decoration:none}
.pw-standard-menu .pw-menu-logo{display:block;position:relative;width:140px;height:20px;overflow:hidden;background:currentColor;mask:url('https://polywinkle.com/pw-chrome/polywinkle-logo.png') -12.111px -16.3px / 165.441px 55.147px no-repeat;-webkit-mask:url('https://polywinkle.com/pw-chrome/polywinkle-logo.png') -12.111px -16.3px / 165.441px 55.147px no-repeat}
.pw-standard-menu .pw-menu-logo img{display:none}
.pw-standard-menu .pw-menu-signout{flex-direction:row!important;flex-wrap:nowrap!important;white-space:nowrap;justify-content:flex-start!important}

.pw-standard-menu [aria-disabled=true]{cursor:default!important}.pw-standard-menu .pw-standard-toggle[aria-disabled=true]::after{display:none}.pw-universal-header .nav [aria-disabled=true]{cursor:default}

.pw-standard-menu [hidden]{display:none!important}

.pw-identity-trigger{display:inline-flex;align-items:center;gap:8px}.pw-identity-trigger .site-identity-name{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pw-identity-trigger .site-identity-avatar{display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;overflow:hidden;border-radius:50%;background:color-mix(in srgb,currentColor 12%,transparent)}.pw-identity-trigger .site-identity-avatar img{display:block;width:36px;height:36px;object-fit:cover}
/* Footer layout is independent of application nav/aside styles. */
html body .pw-universal-footer{display:block!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;flex:0 0 auto!important}
html body .pw-universal-footer .pw-footer-inner{box-sizing:border-box;display:grid!important;grid-template-columns:180px minmax(0,1fr) auto;align-items:center!important;gap:16px 28px!important;width:min(1440px,100%)!important;min-width:0!important;margin-inline:auto!important;padding:0!important}
html body .pw-universal-footer .pw-footer-brand{display:block!important;width:180px!important;min-width:0!important;margin:0!important;padding:0!important;line-height:0!important;align-self:center!important}
html body .pw-universal-footer .pw-footer-brand img{display:block!important;width:180px!important;height:auto!important;max-width:100%!important;margin:0!important}
html body .pw-universal-footer nav{display:flex!important;flex:initial!important;flex-wrap:wrap!important;align-items:center!important;justify-content:center!important;gap:10px 20px!important;min-width:0!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;overflow:visible!important;background:transparent!important;border:0!important;position:static!important}
html body .pw-universal-footer nav a{display:inline-block!important;flex:0 0 auto!important;width:auto!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;font:inherit!important;line-height:1.5!important;letter-spacing:normal!important;white-space:nowrap!important;transform:none!important}
html body .pw-universal-footer .pw-footer-inner>small{display:block!important;min-width:0!important;max-width:320px;white-space:normal!important;overflow-wrap:anywhere;text-align:right!important;line-height:1.6!important;margin:0!important;padding:0!important}
@media(max-width:1050px){html body .pw-universal-footer .pw-footer-inner{grid-template-columns:180px minmax(0,1fr)}html body .pw-universal-footer .pw-footer-inner>small{grid-column:1/-1;justify-self:center;max-width:100%;text-align:center!important}}
@media(max-width:700px){html body .pw-universal-footer .pw-footer-inner{grid-template-columns:minmax(0,1fr);justify-items:center;gap:14px!important}html body .pw-universal-footer nav{justify-content:center!important}html body .pw-universal-footer .pw-footer-inner>small{grid-column:1;text-align:center!important}}

html:not([data-theme=slate]):not([data-theme=midnight]):not([data-theme=forest]):not([data-theme-mode=dark]) body:not(:has(.webconnect-shell)) .pw-standard-menu .pw-menu-logo{background:#000!important}

/* Main website footer: logo, copyright, then links. App corners are separate. */
html body .pw-universal-footer .pw-footer-inner{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:8px!important;text-align:center!important}
html body .pw-universal-footer .pw-footer-inner>.pw-footer-brand{order:0!important;align-self:center!important;margin:0 auto!important}
html body .pw-universal-footer .pw-footer-inner>small{order:1!important;align-self:center!important;justify-self:center!important;max-width:100%!important;text-align:center!important}
html body .pw-universal-footer .pw-footer-inner>nav{order:2!important;align-self:center!important;justify-content:center!important;margin:8px 0 0!important;width:100%!important}

/* Crop the logo canvas padding, not the artwork; keep the footer stack tight. */
html body .pw-universal-footer .pw-footer-inner{gap:2px!important}
html body .pw-universal-footer .pw-footer-brand{position:relative!important;width:180px!important;height:26px!important;overflow:hidden!important}
html body .pw-universal-footer .pw-footer-brand img{position:absolute!important;left:-15.571px!important;top:-20.957px!important;width:212.71px!important;height:70.904px!important;max-width:none!important;margin:0!important}
html body .pw-universal-footer .pw-footer-inner>small{line-height:1.3!important}
html body .pw-universal-footer .pw-footer-inner>nav{margin:3px 0 0!important}

/* Final main-footer order: links, logo, copyright, rights; tightly stacked. */
html body .pw-universal-footer .pw-footer-inner{gap:2px!important}
html body .pw-universal-footer .pw-footer-inner>nav{order:0!important;margin:0 0 3px!important}
html body .pw-universal-footer .pw-footer-inner>.pw-footer-brand{order:1!important}
html body .pw-universal-footer .pw-footer-inner>small{order:2!important;line-height:1.25!important}
html body .pw-universal-footer .pw-footer-inner>small::after{content:'All Rights Reserved';display:block;line-height:1.25;margin-top:1px}

/* Orders uses the standard pure-white light surface, never tinted paper. */
html:not([data-theme=slate]):not([data-theme=midnight]):not([data-theme=forest]):not([data-theme-mode=dark]) body{--paper:#fff!important;--site-paper:#fff!important;--site-white:#fff!important;--site-bg:#fff!important;--pw-chrome-bg:#fff!important;background-color:#fff!important}
html:not([data-theme=slate]):not([data-theme=midnight]):not([data-theme=forest]):not([data-theme-mode=dark]) body :is(.pw-universal-header,.pw-universal-footer){--pw-chrome-bg:#fff!important;--site-paper:#fff!important;--site-white:#fff!important;background-color:#fff!important}

/* Public header follows the actual1180px content shell; no transforms or zoom. */
html body .site-header.pw-universal-header .header-row{box-sizing:border-box!important;width:min(1180px,calc(100% - 56px))!important;max-width:none!important;grid-template-columns:180px minmax(0,1fr) auto!important;gap:12px!important;min-height:64px!important;padding:12px 0!important;margin-inline:auto!important}
html body .site-header.pw-universal-header .brand{position:relative!important;box-sizing:border-box!important;width:180px!important;height:26px!important;min-height:26px!important;overflow:hidden!important;margin:0!important;padding:0!important}
html body .site-header.pw-universal-header .brand img{position:absolute!important;left:-15.571px!important;top:-20.957px!important;width:212.71px!important;height:70.904px!important;max-width:none!important;max-height:none!important;margin:0!important}
html body .site-header.pw-universal-header .nav{gap:6px!important}
html body .site-header.pw-universal-header .nav>a{box-sizing:border-box!important;height:30px!important;min-height:30px!important;padding:0 10px!important;font-size:13px!important;line-height:1.3!important}
html body .site-header.pw-universal-header :is(.site-identity,.site-account-link){justify-self:end!important;margin-right:0!important}
html body .site-header.pw-universal-header :is(.site-identity-trigger,.site-account-link){padding-right:0!important}
html body .site-header.pw-universal-header .header-row:has(.pw-cart:not([hidden])){grid-template-columns:180px minmax(0,1fr) auto auto!important}
html body .site-header.pw-universal-header .header-row:has(.pw-cart:not([hidden])) :is(.site-identity,.site-account-link){grid-column:4!important}
html body .site-header.pw-universal-header .header-row:has(.pw-cart:not([hidden])) .pw-cart{grid-column:3!important}
html body .site-header.pw-universal-header .catalog-menu{box-sizing:border-box!important;padding:14px 18px!important;font-size:12px!important;border-radius:0 0 8px 8px!important}
html body .site-header.pw-universal-header :is(#catalog-software,#catalog-woodworking){left:0!important;right:0!important;width:100%!important;max-width:100%!important;transform:none!important}
html body .site-header.pw-universal-header .catalog-grid{gap:14px!important}
html body .site-header.pw-universal-header .catalog-item{gap:9px!important;padding:6px 8px!important;margin:0 -8px 2px!important;min-height:0!important;border-radius:4px!important}
html body .site-header.pw-universal-header .catalog-item :is(img,svg){width:28px!important;height:28px!important;min-width:28px!important;flex:0 0 28px!important;padding:2px!important}
html body .site-header.pw-universal-header .catalog-item strong{font-size:13px!important;line-height:1.35!important}
html body .site-header.pw-universal-header .catalog-item small{font-size:11px!important;line-height:1.35!important;margin-top:2px!important}
@media(max-width:800px){html body .site-header.pw-universal-header .header-row{width:calc(100% - 32px)!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;padding:10px 0!important}html body .site-header.pw-universal-header :is(.site-identity,.site-account-link){grid-column:2!important}html body .site-header.pw-universal-header .nav{grid-column:1/-1!important;grid-row:2!important;flex-wrap:wrap!important}html body .site-header.pw-universal-header .header-row:has(.pw-cart:not([hidden])){grid-template-columns:minmax(0,1fr) auto auto!important}html body .site-header.pw-universal-header .header-row:has(.pw-cart:not([hidden])) :is(.site-identity,.site-account-link){grid-column:3!important}html body .site-header.pw-universal-header .header-row:has(.pw-cart:not([hidden])) .pw-cart{grid-column:2!important}}

/* More header breathing room; controls and content width stay compact. */
html body .site-header.pw-universal-header .header-row{min-height:128px!important}
