/* Layout & onboarding refresh, 2026-10-27 */
body:has(> .mini-footer), body:has(> .info-footer), body:has(> .claim-footer){
  min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;padding-bottom:0!important;
}
body:has(> .mini-footer) > main,
body:has(> .info-footer) > main,
body:has(> .claim-footer) > main {flex:1 0 auto;}
body > .mini-footer,body > .info-footer,body > .claim-footer {margin-top:auto!important;}
/* Admin panel may switch between login and dashboard: leave both as flex children. */
.admin-page {min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;}
.admin-page > #admin-login,.admin-page > #admin-dashboard {flex:1 0 auto;}
.home-page .puh-hero-cta {display:flex;align-items:center;gap:18px;flex-wrap:wrap;}
.home-page .puh-hero-cta .button {max-width:100%;white-space:normal;text-align:center;}
.puh-price-aside {margin-left:auto;font-size:16px;font-weight:800;white-space:nowrap;color:#655244;}
.home-page .overview{grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;}
.home-page .overview-item{min-width:0;}
.home-page .overview-item .icon-box{font-size:22px;}
.puh-auth-gift {display:flex;align-items:center;gap:12px;margin:0 0 20px;padding:13px 15px;background:#f7f1e8;border:1px solid #e1ceb4;border-radius:16px;color:#514337;}
.puh-auth-gift>span{font-size:28px;line-height:1;}
.puh-auth-gift strong{display:block;font-size:15px;}
.puh-auth-gift small{display:block;color:#88715c;font-size:12px;line-height:1.5;margin-top:3px;}
.cabinet .install-intro p {margin:0;}
.cabinet .client-picker-header h3 {margin:0;}
.cabinet .client-picker-header p {display:none;}
.cabinet .install-shell {padding-top:16px;}
.cabinet .install-steps-grid {margin-top:8px;}
.puh-referrals-full .table-wrap {max-height:420px;overflow:auto;}
.puh-referrals-full td {vertical-align:top;}
.puh-referrals-full strong {font-size:13px;}
@media(max-width:760px){.home-page .overview{grid-template-columns:repeat(2,minmax(0,1fr));}.home-page .puh-hero-cta {align-items:stretch;}.puh-price-aside {margin:auto 0 auto auto;}}
@media(max-width:400px){.home-page .overview{grid-template-columns:1fr;}.home-page .puh-hero-cta .button {width:100%;}.puh-price-aside {width:100%;text-align:right;}}

.cabinet:has(> .mini-footer){padding-bottom:80px!important;}
.admin-page > .puh-site-header + .auth-shell {min-height:0;}
.home-page .overview-item:nth-child(3){border-left:1px solid var(--puh-subtle-border);}
@media(max-width:760px){.home-page .overview-item:nth-child(3){border-left:0;}.home-page .overview-item:nth-child(odd){border-left:0;}}
