/* Restore readable entry-page controls without changing selection or routing. */
html body main #customer-communities .community-grid{gap:8px}
html body main #customer-communities .community-grid>button{min-height:58px;padding:10px 8px;gap:6px;overflow-wrap:normal;word-break:normal;hyphens:none}
html body main #customer-communities .community-grid>button>span{flex:none;margin:0}
@media(max-width:600px){html body main #customer-communities .community-grid{grid-template-columns:repeat(2,minmax(0,1fr))}html body main #customer-communities .community-grid>button:last-child:nth-child(odd){grid-column:1/-1;justify-self:center;width:calc((100% - 8px)/2)}}
html body main #find-business #directory-categories .hub-category-page>button,
html body main #find-business #service-buttons>button{min-height:58px;padding:10px 8px;overflow-wrap:normal;word-break:normal;hyphens:none}
html body main #find-business #directory-categories>.hub-category-page,
html body main #find-business #service-buttons{gap:8px}
html body main #find-business #directory-categories .hub-category-page>button:last-child:nth-child(odd),
html body main #find-business #service-buttons>button:last-child:nth-child(odd){width:calc((100% - 8px)/2)}
/* Extend only the service grid through the panel's 8px horizontal padding. */
html body main #find-business #service-options #service-buttons {
  width:calc(100% + 16px);
  max-width:none;
  margin-inline:-8px;
  grid-template-columns:repeat(2,minmax(0,1fr));
}
html body main #find-business #service-options #service-buttons > button {
  box-sizing:border-box;
  min-width:0;
  height:max(58px,calc(2lh + 22px));
  padding:0;
  white-space:normal;
  text-align:center;
  word-break:normal;
  overflow-wrap:normal;
  hyphens:none;
}
html body main #find-business #service-buttons>button:only-child{width:calc((100% - 8px)/2)}
html body main #directory-property-step{gap:8px;margin:8px auto;padding:12px}
html body main #directory-property-step :is(.hub-visible-choices,.hub-address-options){margin:0 auto;gap:8px}
html body main #directory-property-step :is(button,.button){min-height:52px}
html body main #directory-property-step #directory-address-detail{font-size:16px;line-height:1.4;margin:4px 0}
html body main #directory-property-heading{font-size:22px;margin:0 0 4px}
html body main #service-address-step .panel{padding:12px;margin:8px auto}
html body main #service-address-step .panel>label{font-size:18px;margin:0 0 8px}
html body main #service-address-step :is(.hub-address-option,.hub-visible-choices>button,#service-address-continue){min-height:52px}
html body main #ca-list .property-home-choice{font-size:16px;min-height:44px;gap:8px}
html body main #ca-list .property-home-choice input{width:28px;min-width:28px;height:28px;min-height:28px;flex:0 0 28px}
@layer hub-button-typography {
html body main #customer-communities .community-grid>button,
html body main #find-business :is(#directory-categories button,#service-buttons button,#directory-property-step button,.hub-pager button),
html body main #service-address-step :is(button,.hub-address-option){font-size:16px!important;line-height:1.3!important}
html body main :is(#customer-communities,#find-business,#service-address-step) :is(button.back,.hub-header-back,.business-header-back,#directory-back-to-property,#back-to-categories,#service-address-back){font-size:26px!important;line-height:1!important}
}

/* Match the approved property-choice writing size on the Personal dashboard. */
@layer hub-button-typography {
html body main #customer-home button:not([data-hub-nav]):not(.missing-field-icon){font-size:16px!important;line-height:1.3!important}
}

/* Equal icon columns keep community labels aligned without shrinking text. */
html body main #customer-communities .community-grid>button{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;text-align:start}
html body main #customer-communities .community-grid>button>span{width:32px;text-align:center;line-height:1}

@media (max-width: 340px) {
  @layer hub-button-typography {
    html body main #find-business #service-options #service-buttons > button[data-service="Private accommodations"] {
      font-size:15px!important;
      line-height:20.8px!important;
    }
  }
}
