/* Dedicated isolated Studio dashboard social footer - fixed card layout. */
body[data-view="choose"] footer.ph-studio-social-footer,
body[data-view="details"] footer.ph-studio-social-footer {
 display:block!important;position:relative!important;clear:both!important;
 width:100%!important;max-width:100%!important;box-sizing:border-box!important;
 margin:0!important;background:#04150f!important;color:#f5fff8!important;
 padding:34px clamp(18px,4vw,52px) 24px!important;
 font-family:Arial,Helvetica,sans-serif!important;
}
footer.ph-studio-social-footer *{box-sizing:border-box!important}
footer.ph-studio-social-footer .ph-footer-title{display:flex!important;flex-wrap:wrap!important;align-items:baseline!important;gap:14px!important;padding-bottom:18px!important;border-bottom:1px solid #345b48!important}
footer.ph-studio-social-footer .ph-footer-title strong{font-size:25px!important;line-height:1.3!important;color:#fff!important}
footer.ph-studio-social-footer .ph-footer-title span{font-size:14px!important;color:#bdcfc4!important}
footer.ph-studio-social-footer .ph-footer-social-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important;margin:25px 0 28px!important}
footer.ph-studio-social-footer .ph-footer-group{display:block!important;min-width:0!important;width:100%!important}
footer.ph-studio-social-footer .ph-footer-group h2{display:block!important;margin:0 0 16px!important;font-size:19px!important;line-height:1.4!important;color:#fff!important}
footer.ph-studio-social-footer a.ph-social-link{
 display:flex!important;flex-direction:row!important;align-items:center!important;
 width:100%!important;min-height:78px!important;margin:0 0 12px!important;
 padding:12px 15px!important;gap:14px!important;
 border:1px solid #386b53!important;border-radius:17px!important;
 background:linear-gradient(110deg,#103a2a,#09291e)!important;
 color:#f5fff8!important;text-decoration:none!important;
 font-size:14px!important;line-height:1.4!important;
}
footer.ph-studio-social-footer a.ph-social-link:hover{border-color:#70c294!important;background:#164633!important}
footer.ph-studio-social-footer .ph-social-symbol{
 display:grid!important;place-items:center!important;flex:0 0 48px!important;
 width:48px!important;height:48px!important;border-radius:13px!important;
 background:#1b503a!important;color:#e7d57c!important;
}
footer.ph-studio-social-footer .ph-social-symbol svg{display:block!important;width:25px!important;height:25px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.9!important;stroke-linecap:round!important;stroke-linejoin:round!important}
footer.ph-studio-social-footer a.ph-social-link>span:nth-child(2){display:block!important;flex:1 1 auto!important;min-width:0!important;overflow-wrap:anywhere!important}
footer.ph-studio-social-footer a.ph-social-link strong{display:block!important;font-size:16px!important;color:#fff!important;line-height:1.3!important}
footer.ph-studio-social-footer a.ph-social-link small{display:block!important;margin-top:3px!important;color:#adc9b7!important;font-size:12px!important;line-height:1.4!important}
footer.ph-studio-social-footer .ph-social-arrow{margin-left:auto!important;flex:0 0 auto!important;color:#e7d57c!important}
footer.ph-studio-social-footer .ph-footer-help{color:#b9cfbf!important;font-size:13px!important;line-height:1.6!important;margin-top:14px!important}
footer.ph-studio-social-footer .ph-footer-bottom{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:16px!important;padding-top:18px!important;border-top:1px solid #345b48!important;color:#b8cabe!important}
footer.ph-studio-social-footer .ph-footer-bottom nav{display:flex!important;flex-wrap:wrap!important;gap:18px!important}
footer.ph-studio-social-footer .ph-footer-bottom a{color:#cde6d5!important;text-decoration:none!important}
body[data-view="edit"] footer.ph-studio-social-footer{display:none!important}
@media(max-width:760px){
 body[data-view="choose"] footer.ph-studio-social-footer,
 body[data-view="details"] footer.ph-studio-social-footer{padding:24px 16px 96px!important}
 footer.ph-studio-social-footer .ph-footer-social-grid{grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
 footer.ph-studio-social-footer a.ph-social-link{min-height:72px!important}
 footer.ph-studio-social-footer .ph-footer-title strong{font-size:23px!important}
}

/* Compact footer refinement — keep cards, SVG icons, and social links. */
body[data-view="choose"] footer.ph-studio-social-footer,
body[data-view="details"] footer.ph-studio-social-footer{padding:18px 24px 16px!important}
footer.ph-studio-social-footer .ph-footer-title{padding-bottom:10px!important;gap:9px!important}
footer.ph-studio-social-footer .ph-footer-title strong{font-size:19px!important}
footer.ph-studio-social-footer .ph-footer-title span{font-size:11px!important}
footer.ph-studio-social-footer .ph-footer-social-grid{gap:16px!important;margin:15px 0 13px!important}
footer.ph-studio-social-footer .ph-footer-group h2{font-size:14px!important;margin-bottom:8px!important}
footer.ph-studio-social-footer a.ph-social-link{min-height:52px!important;padding:7px 10px!important;margin-bottom:7px!important;gap:9px!important;border-radius:11px!important}
footer.ph-studio-social-footer .ph-social-symbol{width:34px!important;height:34px!important;flex-basis:34px!important;border-radius:9px!important}
footer.ph-studio-social-footer .ph-social-symbol svg{width:19px!important;height:19px!important}
footer.ph-studio-social-footer a.ph-social-link strong{font-size:13px!important}
footer.ph-studio-social-footer a.ph-social-link small{font-size:10px!important;margin-top:1px!important}
footer.ph-studio-social-footer .ph-social-arrow{font-size:13px!important}
footer.ph-studio-social-footer .ph-footer-help{font-size:11px!important;margin-top:7px!important}
footer.ph-studio-social-footer .ph-footer-bottom{padding-top:10px!important;font-size:11px!important}
@media(max-width:760px){
 body[data-view="choose"] footer.ph-studio-social-footer,
 body[data-view="details"] footer.ph-studio-social-footer{padding:18px 13px 84px!important}
 footer.ph-studio-social-footer .ph-footer-social-grid{gap:10px!important}
 footer.ph-studio-social-footer a.ph-social-link{min-height:49px!important}
}

/* Compact footer revision — keep all links and visual identity. */
body[data-view="choose"] footer.ph-studio-social-footer,
body[data-view="details"] footer.ph-studio-social-footer{padding:17px 24px 15px!important}
footer.ph-studio-social-footer .ph-footer-title{padding-bottom:9px!important;gap:10px!important}
footer.ph-studio-social-footer .ph-footer-title strong{font-size:19px!important}
footer.ph-studio-social-footer .ph-footer-title span{font-size:11px!important}
footer.ph-studio-social-footer .ph-footer-social-grid{gap:17px!important;margin:14px 0 14px!important}
footer.ph-studio-social-footer .ph-footer-group h2{font-size:14px!important;margin:0 0 8px!important}
footer.ph-studio-social-footer a.ph-social-link{min-height:49px!important;margin-bottom:6px!important;padding:6px 9px!important;gap:9px!important;border-radius:11px!important}
footer.ph-studio-social-footer .ph-social-symbol{flex-basis:33px!important;width:33px!important;height:33px!important;border-radius:9px!important}
footer.ph-studio-social-footer .ph-social-symbol svg{width:19px!important;height:19px!important}
footer.ph-studio-social-footer a.ph-social-link strong{font-size:12px!important}
footer.ph-studio-social-footer a.ph-social-link small{font-size:10px!important;margin-top:1px!important}
footer.ph-studio-social-footer .ph-social-arrow{font-size:14px!important}
footer.ph-studio-social-footer .ph-footer-help{font-size:11px!important;line-height:1.4!important;margin-top:6px!important}
footer.ph-studio-social-footer .ph-footer-bottom{padding-top:10px!important;gap:8px!important;font-size:11px!important}
@media(max-width:760px){
 body[data-view="choose"] footer.ph-studio-social-footer,
 body[data-view="details"] footer.ph-studio-social-footer{padding:16px 12px 90px!important}
 footer.ph-studio-social-footer .ph-footer-social-grid{gap:7px!important}
 footer.ph-studio-social-footer a.ph-social-link{min-height:47px!important}
}

/* FINAL studio-icon footer: NO big link cards. Compact icon tiles in a short footer. */
body[data-view="choose"] footer.ph-studio-social-footer,body[data-view="details"] footer.ph-studio-social-footer{padding:15px 24px 13px!important}
footer.ph-studio-social-footer .ph-footer-title{padding-bottom:8px!important}
footer.ph-studio-social-footer .ph-footer-social-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:18px!important;margin:12px 0!important}
footer.ph-studio-social-footer .ph-footer-group h2{font-size:13px!important;margin-bottom:8px!important}
footer.ph-studio-social-footer .ph-footer-group{display:flex!important;flex-wrap:wrap!important;align-content:flex-start!important;gap:8px!important}
footer.ph-studio-social-footer .ph-footer-group h2{flex:0 0 100%!important}
footer.ph-studio-social-footer a.ph-social-link{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;width:76px!important;min-width:0!important;height:75px!important;min-height:0!important;margin:0!important;padding:5px 3px!important;gap:4px!important;background:transparent!important;border:0!important;border-radius:12px!important;box-shadow:none!important;text-align:center!important}
footer.ph-studio-social-footer a.ph-social-link:hover{background:#12382a!important}
footer.ph-studio-social-footer .ph-social-symbol{display:grid!important;place-items:center!important;flex:0 0 35px!important;width:35px!important;height:35px!important;border-radius:50%!important;background:#194a36!important}
footer.ph-studio-social-footer .ph-social-symbol svg{width:20px!important;height:20px!important}
footer.ph-studio-social-footer a.ph-social-link>span:nth-child(2){flex:0 0 auto!important;width:100%!important}
footer.ph-studio-social-footer a.ph-social-link strong{font-size:10px!important;font-weight:600!important;white-space:normal!important}
footer.ph-studio-social-footer a.ph-social-link small{display:none!important}
footer.ph-studio-social-footer .ph-social-arrow{display:none!important}
footer.ph-studio-social-footer .ph-footer-help{flex-basis:100%!important;font-size:10px!important;margin:1px 0!important}
footer.ph-studio-social-footer .ph-footer-bottom{padding-top:8px!important}
@media(max-width:760px){
 body[data-view="choose"] footer.ph-studio-social-footer,body[data-view="details"] footer.ph-studio-social-footer{padding:14px 13px 85px!important}
 footer.ph-studio-social-footer .ph-footer-social-grid{grid-template-columns:1fr!important;gap:11px!important}
 footer.ph-studio-social-footer .ph-footer-group{gap:4px!important}
 footer.ph-studio-social-footer a.ph-social-link{width:67px!important;height:67px!important}
 footer.ph-studio-social-footer .ph-social-symbol{flex-basis:31px!important;width:31px!important;height:31px!important}
}

/* Footer alignment and logo-row placement, approved 2026-10-10. */
body[data-view="choose"] footer.ph-studio-social-footer,
body[data-view="details"] footer.ph-studio-social-footer{
  padding:14px 20px 18px 45px!important;
  overflow:visible!important;
}
footer.ph-studio-social-footer .ph-footer-social-grid{
  margin:0 0 8px!important;
  gap:12px!important;
}
footer.ph-studio-social-footer .ph-footer-title{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  flex-wrap:wrap!important;gap:7px!important;
  padding:5px 0!important;margin:0!important;border:0!important;
}
footer.ph-studio-social-footer .ph-footer-title img{
  display:block!important;width:27px!important;height:27px!important;
  border-radius:6px!important;object-fit:cover!important;
}
footer.ph-studio-social-footer .ph-footer-title strong{font-size:13px!important}
footer.ph-studio-social-footer .ph-footer-title span{font-size:10px!important}
footer.ph-studio-social-footer .ph-footer-group h2{margin-bottom:6px!important}
footer.ph-studio-social-footer .ph-footer-bottom{padding-top:8px!important}
@media(max-width:760px){
 body[data-view="choose"] footer.ph-studio-social-footer,
 body[data-view="details"] footer.ph-studio-social-footer{
   padding:12px 15px 82px 28px!important;
 }
 footer.ph-studio-social-footer .ph-footer-social-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
 footer.ph-studio-social-footer .ph-footer-group{gap:2px!important}
 footer.ph-studio-social-footer a.ph-social-link{width:62px!important;height:62px!important}
}

/* Fix left-clipped social footer: reserve its left inset and use right-side whitespace. */
body[data-view="choose"] footer.ph-studio-social-footer,
body[data-view="details"] footer.ph-studio-social-footer{
  padding-left:105px!important;
  padding-right:12px!important;
}
footer.ph-studio-social-footer .ph-footer-social-grid{
  grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)!important;
  gap:10px!important;
}
@media(max-width:760px){
 body[data-view="choose"] footer.ph-studio-social-footer,
 body[data-view="details"] footer.ph-studio-social-footer{
   padding-left:105px!important;
   padding-right:12px!important;
 }
 footer.ph-studio-social-footer .ph-footer-social-grid{
   grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)!important;
   gap:6px!important;
 }
 footer.ph-studio-social-footer a.ph-social-link{width:58px!important}
}

/* Short Your Designs screens: footer follows content and sits at viewport bottom.
   No effect on editor, saved designs, templates or screen width. */
body[data-view="choose"]{min-height:100dvh!important;display:flex!important;flex-direction:column!important}
body[data-view="choose"]>.onboarding{flex:1 0 auto!important;width:100%!important}
body[data-view="choose"]>footer.ph-studio-social-footer{margin-top:auto!important;flex:0 0 auto!important}

/* Scoped Pulse Hatch navigation, Studio chrome and shared footer. */
.ph-site-header .ph-nav-menu a{display:flex!important;align-items:center!important;gap:9px!important}
.ph-site-header .ph-main-nav{gap:8px!important}
.ph-site-header .ph-main-nav>details>summary{font-size:12px!important}
.ph-site-header .ph-main-nav>a{font-size:12px!important}
.ph-expert-icon,.ph-category-icon{display:inline-grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;background:#27ad7140;color:#9af2b6}
.ph-expert-icon svg,.ph-category-icon svg{width:18px;height:18px;fill:none}
.ph-category-icon[data-color=purple]{background:#eee4fc;color:#885db4}
.ph-category-icon[data-color=pink]{background:#d8478c;color:#fff}
.ph-category-icon[data-color=orange]{background:#df9b35;color:#fff}
.ph-category-icon[data-color=blue]{background:#319acd;color:#fff}
.ph-category-icon[data-color=green]{background:#40a573;color:#fff}
.ph-category-icon[data-color=teal]{background:#329daf;color:#fff}
.ph-site-header .ph-studio-dropdown .ph-nav-menu{min-width:235px!important}
html body .ph-site-header .ph-shell-actions .ph-join-btn{display:inline-flex!important;align-items:center;justify-content:center;background:#10d994!important;border:1px solid #a1f5cf!important;color:#05291c!important;padding:10px 12px!important;border-radius:12px!important;white-space:nowrap;font-size:12px!important;box-shadow:0 0 13px #10d99433!important}
html body .ph-site-header .ph-shell-actions .ph-login-btn{background:#103528!important;border:1px solid #65d6a0!important;color:#f4fff8!important}
body:is([data-view=choose],[data-view=details]) .header .studio-account-links a{display:inline-flex!important;align-items:center;justify-content:center;min-height:36px;padding:8px 12px!important;border:1px solid #65d6a0!important;border-radius:10px!important;background:#103528!important;color:#f4fff8!important;box-shadow:0 0 12px #10d99422!important}
body:is([data-view=choose],[data-view=details]) .header .studio-account-links .studio-join{background:#10d994!important;color:#05291c!important;border-color:#a1f5cf!important}
body[data-view=edit] .header{background:linear-gradient(180deg,#041911,#071f17)!important;color:#f6fff9!important;border-bottom:1px solid #285d43!important;box-shadow:0 4px 18px #10d99422!important}
body[data-view=edit] .header .project input,body[data-view=edit] .header .actions button,body[data-view=edit] .header #editor-home,body[data-view=edit] .header #editor-more{color:#f6fff9!important;background:#103528!important;border-color:#65d6a066!important}
body[data-view=edit] .header .actions #publish-open{background:#10d994!important;color:#05291c!important;border-color:#a1f5cf!important}
body:is([data-view=choose],[data-view=details]) .library-heading h2,body[data-view=choose] .visual-welcome h1{text-shadow:0 0 16px #10d99438!important}
body[data-view=choose] .library-filters button,body[data-view=choose] .welcome-switch button{background:#10d99414!important;color:#174c36!important;border:1px solid #65d6a0!important;box-shadow:0 0 10px #10d99420!important}
body[data-view=choose] .library-filters button[aria-pressed=true],body[data-view=choose][data-studio-home=home] #welcome-home,body[data-view=choose][data-studio-home=templates] #welcome-templates{background:#10d99430!important;box-shadow:0 0 13px #10d99438!important}
.ph-studio-showcase .ph-preview-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:18px}
.ph-studio-showcase .ph-preview-grid a{display:flex;align-items:center;flex-direction:column;gap:5px;text-align:center;text-decoration:none!important;color:#17372a!important;font:600 9px/1.3 system-ui;min-height:55px;padding:4px 0;border-radius:8px}
.ph-studio-showcase .ph-preview-grid a:hover,.ph-studio-showcase .ph-preview-grid a:focus-visible{background:#d7efdf;outline:2px solid #40a573;outline-offset:2px}
.ph-studio-showcase .ph-preview-grid .ph-category-icon{width:34px;height:34px}
.ph-studio-showcase .ph-preview-button{text-decoration:none}
/* Existing official social row stays first; extra routes occupy the right column. */
footer.ph-studio-social-footer .ph-footer-social-grid{grid-template-columns:minmax(420px,1.35fr) minmax(210px,.7fr) minmax(170px,.55fr)!important;gap:16px!important}
footer.ph-studio-social-footer .ph-footer-explore{display:block!important}
footer.ph-studio-social-footer .ph-footer-explore p{font:11px/1.5 system-ui;color:#abc9b5;margin:0 0 7px}
footer.ph-studio-social-footer .ph-footer-explore nav{display:grid;gap:7px}
footer.ph-studio-social-footer .ph-footer-explore nav a{font:600 11px/1.4 system-ui;color:#cbf4dd!important;text-decoration:none}
footer.ph-studio-social-footer .ph-footer-explore nav a:hover{text-decoration:underline}
body:not([data-view]) footer.ph-studio-social-footer{display:block!important;background:#04150f!important;color:#f5fff8!important;padding:20px max(20px,calc((100% - 1540px)/2))!important;width:100%;box-sizing:border-box}
body:not([data-view]) footer.ph-studio-social-footer .ph-footer-bottom a{color:#d0decf!important}
@media(max-width:1279px){html body .ph-site-header .ph-brand{max-width:none!important;flex:1!important}.ph-site-header .ph-mobile-nav .ph-studio-dropdown .ph-nav-menu a{display:flex!important}}
@media(max-width:1050px){footer.ph-studio-social-footer .ph-footer-social-grid{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)!important}.ph-footer-explore{grid-column:1/-1}footer.ph-studio-social-footer .ph-footer-explore nav{display:flex;flex-wrap:wrap;gap:12px}}
@media(max-width:760px){body:is([data-view=choose],[data-view=details]) footer.ph-studio-social-footer{padding-left:16px!important;padding-right:16px!important}footer.ph-studio-social-footer .ph-footer-social-grid{grid-template-columns:1fr!important}.ph-footer-explore{grid-column:auto}.studio-account-links{gap:5px!important}body:is([data-view=choose],[data-view=details]) .header .studio-account-links a{padding:7px 9px!important;font-size:11px!important}.header .brand{min-width:0}.header .brand span{font-size:13px!important}}
@media(max-width:480px){html body .ph-site-header .ph-shell-actions .ph-join-btn{padding:8px!important;min-height:40px;font-size:10px!important}html body .ph-site-header .ph-shell-actions .ph-login-btn{padding:8px!important;font-size:11px!important}.ph-site-header .ph-brand span{font-size:12px!important}.ph-site-header .ph-brand img{width:28px!important;height:28px!important}.ph-site-header .ph-shell,.ph-site-header .ph-shell-inner{gap:4px!important}}


/* Readable compact menus and consistent account navigation. */
html body .ph-site-header .ph-shell{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:12px!important}
html body .ph-site-header .ph-brand{flex:0 0 auto!important;white-space:nowrap;font-size:20px!important}
html body .ph-site-header .ph-main-nav{flex:1 1 auto!important;min-width:0;gap:9px!important;flex-wrap:nowrap!important}
html body .ph-site-header .ph-shell-actions{display:flex!important;flex:0 0 auto;align-items:center;gap:7px;white-space:nowrap}
html body .ph-site-header .ph-main-nav>details>summary,html body .ph-site-header .ph-main-nav>a{white-space:nowrap;font-size:12px!important}
html body .ph-site-header .ph-nav-menu{width:280px!important;min-width:280px!important;padding:8px!important;max-height:calc(100dvh - var(--ph-header-height,90px) - 20px)!important;scrollbar-width:thin;scrollbar-color:#35956b #0b281f;overscroll-behavior:contain}
html body .ph-site-header .ph-nav-menu a,.ph-mobile-group>div>a{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;padding:9px 10px!important;min-height:40px!important;font-size:13px!important;line-height:1.35!important;white-space:nowrap!important}
html body .ph-site-header .ph-expert-icon,html body .ph-site-header .ph-category-icon{flex:0 0 25px!important;width:25px!important;height:25px!important;margin:0!important;box-shadow:none!important}
html body .ph-site-header .ph-expert-icon{background:#164734!important;color:#e3d280!important}
html body .ph-site-header .ph-expert-icon svg,html body .ph-site-header .ph-category-icon svg{width:15px!important;height:15px!important}
.ph-nav-menu::-webkit-scrollbar,.studio-home-nav::-webkit-scrollbar{width:5px;height:5px}.ph-nav-menu::-webkit-scrollbar-thumb,.studio-home-nav::-webkit-scrollbar-thumb{background:#35956b;border-radius:10px}.ph-nav-menu::-webkit-scrollbar-track{background:#0b281f}
.ph-account-signout{margin:0!important;display:inline-flex;align-items:center}.ph-account-signout button{font:600 12px system-ui;white-space:nowrap;cursor:pointer;color:#f4fff8;background:#103528;border:1px solid #65d6a0;border-radius:10px;padding:8px 10px;min-height:36px}
.header .brand span{font-family:Inter,system-ui,sans-serif!important;font-weight:750!important;text-transform:none!important;letter-spacing:0!important;font-size:20px!important}.header .brand small{font-size:10px!important;letter-spacing:.13em!important;color:#9aefbe!important;text-shadow:0 0 10px #21df8d88!important}
body:is([data-view=choose],[data-view=details]) .header{flex-wrap:nowrap!important;gap:10px!important}.studio-account-links{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:7px!important}.studio-account-links a{white-space:nowrap}
.workspace-search-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;background:transparent;color:#235e43;cursor:pointer;flex:none}.workspace-search-button span{font-size:13px}.workspace-search-button .visual-icon{width:20px;height:20px}
footer.ph-studio-social-footer .ph-footer-social-grid>.ph-footer-group:nth-child(2){justify-content:center!important;text-align:center!important}
/* Preserve the existing full desktop navigation in desktop-site and tablet widths. */
@media (min-width:761px) and (max-width:1399px){
 html body .ph-site-header .ph-shell{gap:8px!important;width:calc(100% - 20px)!important}
 html body .ph-site-header .ph-brand{flex:0 0 auto!important;font-size:12px!important}
 html body .ph-site-header .ph-brand img{width:30px!important;height:30px!important}
 html body .ph-site-header .ph-main-nav{display:flex!important;flex:1 1 auto!important;min-width:0!important;overflow-x:auto!important;scrollbar-width:none;gap:4px!important}
 html body .ph-site-header .ph-main-nav::-webkit-scrollbar{display:none}
 html body .ph-site-header .ph-main-nav>details>summary,html body .ph-site-header .ph-main-nav>a{font-size:clamp(9px,1vw,12px)!important;padding:8px 4px!important}
 html body .ph-site-header .ph-mobile-nav{display:none!important}
 html body .ph-site-header .ph-shell-actions{display:none!important}
}
@media(max-width:760px){html body .ph-site-header .ph-main-nav{display:none!important}html body .ph-site-header .ph-mobile-nav{display:block!important}html body .ph-site-header .ph-shell-actions{margin-left:auto!important}}
@media(max-width:760px){.header .brand span{font-size:14px!important}.header .brand small{font-size:9px!important}.studio-account-links a,.ph-account-signout button{font-size:11px!important;padding:7px 8px!important}html body .ph-site-header .ph-brand{font-size:14px!important}html body .ph-site-header .ph-shell{gap:6px!important}.ph-mobile-nav .ph-nav-menu{width:100%!important;min-width:0!important}.header .studio-nav{display:none!important}}

body[data-view] .studio-home-nav,body[data-view] .panel-body{scrollbar-width:thin;scrollbar-color:#35956b transparent}body[data-view] .studio-home-nav::-webkit-scrollbar{width:4px}body[data-view] .studio-home-nav::-webkit-scrollbar-thumb{background:#35956b;border-radius:8px}


/* Pulse Hatch: Studio second in the shared header; compact premium Studio submenu. */
.ph-site-header .ph-studio-dropdown .ph-nav-menu .ph-menu-feature,
.ph-site-header .ph-studio-mobile-group>div .ph-menu-feature{
  color:#9df5c8!important;background:linear-gradient(110deg,#104934,#0b3429)!important;
  border:1px solid #2e7758!important;border-radius:9px!important;
  font-weight:750!important;margin:3px 0!important;
  min-height:39px!important;padding:9px 12px!important;
  text-decoration:none!important;transition:box-shadow .2s ease,border-color .2s ease;
}
.ph-site-header .ph-studio-dropdown .ph-nav-menu .ph-menu-feature:hover,
.ph-site-header .ph-studio-mobile-group>div .ph-menu-feature:hover{
  border-color:#6ff5ba!important;box-shadow:0 0 16px #16db8a45!important;
}
.ph-site-header .ph-studio-dropdown .ph-nav-menu{
  overflow-y:auto!important;max-height:min(72dvh,570px)!important;
}
@media(max-width:1399px){
  html body .ph-site-header .ph-mobile-nav>nav{
    position:absolute!important;right:12px!important;left:auto!important;
    top:calc(100% + 7px)!important;width:min(440px,calc(100vw - 24px))!important;
    max-width:calc(100vw - 24px)!important;min-width:0!important;
    max-height:min(72dvh,620px)!important;overflow-y:auto!important;
    padding:12px!important;margin:0!important;
    border:1px solid #326c50!important;border-radius:15px!important;
    background:#07251b!important;box-shadow:0 17px 40px #00190fad!important;
    overscroll-behavior:contain;
  }
  html body .ph-site-header .ph-mobile-nav>nav>a,
  html body .ph-site-header .ph-mobile-nav>nav>details>summary{
    box-sizing:border-box!important;min-height:40px!important;
    display:flex!important;align-items:center!important;
    padding:9px 12px!important;border-radius:9px!important;
    white-space:normal!important;
  }
  html body .ph-site-header .ph-mobile-nav>nav>details[open]>div{
    max-height:280px!important;overflow-y:auto!important;
    padding:5px 7px 7px!important;overscroll-behavior:contain;
  }
}
@media(max-width:550px){
  html body .ph-site-header .ph-mobile-nav>nav{
    width:calc(100vw - 24px)!important;right:12px!important;
    max-height:70dvh!important;
  }
}
@media(prefers-reduced-motion:reduce){
 .ph-site-header .ph-studio-dropdown .ph-menu-feature,
 .ph-site-header .ph-studio-mobile-group .ph-menu-feature{transition:none!important}
}
