/* 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}
