/* Compact screens without scaling the page or disabling browser zoom. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
.portal-site{min-width:0}
.portal-site :is(input,select,textarea,button){max-width:100%}
.portal-site :is(.portal-grid,.portal-container,.lawa-app-shell,.portal-card,.ref-home-section)>*{min-width:0}
.portal-site .legacy-home-hero{padding:104px 0 42px}
.portal-site .legacy-home-hero .hero-card{max-width:900px;padding:28px 30px;border-radius:22px}
.portal-site .legacy-home-hero h1{font-size:42px;line-height:1.18}
.portal-site .legacy-home-hero p{font-size:16px;line-height:1.55;margin-bottom:18px!important}
.portal-site .legacy-home-hero .hero-social-icons{margin:14px auto 0;gap:8px}
.portal-site .legacy-home-hero .hero-social-icon-link{min-height:42px;padding:5px 11px;gap:6px;box-shadow:0 3px 9px #0001}
.portal-site .legacy-home-hero .hero-social-icon-link .portal-social-mark{width:27px;height:27px}
.portal-site .legacy-home-hero .hero-social-icon-link span{font-size:12px}
.portal-site .legacy-home-hero .home-extra-actions{margin-top:14px;gap:9px}
.portal-site .legacy-home-hero .home-platform-downloads{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;width:100%;max-width:330px}
.portal-site .legacy-home-hero .home-platform-download{display:flex;justify-content:center;align-items:center;gap:8px;min-width:0;min-height:48px;padding:6px 10px!important;text-align:left}
.portal-site .legacy-home-hero .home-platform-copy{display:flex;flex-direction:column;gap:1px}
.portal-site .legacy-home-hero .home-platform-copy small{font-size:10px;line-height:1.2}
.portal-site .legacy-home-hero .home-platform-copy strong{font-size:15px;line-height:1.3}
.portal-site .legacy-home-hero .home-platform-download .portal-icon{--portal-icon-size:23px}
html.app-installed .portal-site .legacy-home-hero .home-platform-downloads{display:none}
@media(max-width:900px){
 .portal-site .legacy-home-hero{padding:88px 0 28px}
 .portal-site .legacy-home-hero .hero-card{padding:24px;border-radius:18px}
 .portal-site .legacy-home-hero .search-form{grid-template-columns:minmax(0,1fr) 100px!important;gap:8px}
 .portal-site .legacy-home-hero .search-form>input{grid-column:1/-1}
 .portal-site .legacy-home-hero .search-form>button{width:100%;min-height:44px;padding:9px 13px}
 .portal-site .legacy-home-hero .search-form :is(input,select){min-width:0;min-height:44px;padding:9px 12px;font-size:16px}
 .portal-site .portal-page-head{padding:20px 0}
 .portal-site :is(.portal-page-head,.reference-news-hero-copy,.bp-intro,.shop-market-hero,.election-simple-hero) h1{font-size:30px;line-height:1.25}
 .portal-site .reference-news-hero-image{min-height:160px;max-height:220px}
}
@media(max-width:600px){
 .portal-site .legacy-home-hero{padding:76px 0 22px;background-position:center}
 .portal-site .legacy-home-hero .container{width:calc(100% - 24px);padding:0;max-width:100%}
 .portal-site .legacy-home-hero .hero-card{padding:18px 14px;border-radius:16px}
 .portal-site .legacy-home-hero .hero-card .badge{margin-bottom:9px!important;padding:4px 9px;font-size:11px}
 .portal-site .legacy-home-hero h1{font-size:27px!important;line-height:1.2;margin-bottom:9px!important;letter-spacing:-.4px}
 .portal-site .legacy-home-hero p{font-size:14px;line-height:1.5;margin-bottom:14px!important}
 .portal-site .legacy-home-hero .search-form{grid-template-columns:minmax(0,1fr) 84px!important}
 .portal-site .legacy-home-hero .hero-social-icons{gap:7px;margin-top:11px}
 .portal-site .legacy-home-hero .hero-social-icon-link{min-height:38px;padding:4px 9px}
 .portal-site .legacy-home-hero .hero-social-icon-link span{font-size:11px}
 .portal-site .legacy-home-hero .home-extra-actions{margin-top:11px;gap:8px}
 .portal-site .legacy-home-hero .home-extra-actions>.legacy-add-business{min-height:42px;padding:8px 14px;font-size:14px;border-radius:10px}
 .portal-site .legacy-home-hero .home-platform-downloads{max-width:none}
 .portal-site :is(.portal-page-head,.reference-news-hero-copy,.bp-intro,.shop-market-hero,.election-simple-hero) h1{font-size:27px;line-height:1.25}
 .portal-site :is(.portal-page-head,.reference-news-hero-copy)>p{font-size:14px;line-height:1.6}
 .portal-site .portal-page-head{padding:17px 0}
 .portal-site .reference-news-hero-copy{padding:18px}
 .portal-site .reference-news-hero-image{height:160px;min-height:160px}
 .portal-site .portal-section{padding-top:20px;padding-bottom:24px}
 .portal-site .portal-section-heading h2,.portal-site .ref-section-heading h2,.portal-site .reference-section-heading h2{font-size:23px;line-height:1.3}
 .portal-site .portal-category-icon{width:40px;height:42px;flex-shrink:0}
 .portal-site .portal-category-icon .portal-icon-art{--portal-icon-size:34px}
 .portal-site .lawa-app-categories .lawa-app-category-icon{width:46px;height:46px}
 .portal-site .lawa-app-category-icon .portal-icon-art{--portal-icon-size:36px}
 .portal-site .lawa-app-section{padding-top:16px;padding-bottom:16px}
 .portal-site .page-companion__card{min-height:0;padding:15px;gap:12px}
 .portal-site .page-companion__art{max-width:68px}
 .portal-site .page-companion__copy h2{font-size:19px}
 .portal-site .page-companion__copy p{font-size:12px}
 /* iOS does not zoom the visual viewport when focused fields are at least16px. */
 .portal-site input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.portal-site select,.portal-site textarea{font-size:16px!important}
 .portal-site :is(.up-heading,.candidate-auth-card,.candidate-page-heading) h1{font-size:27px;line-height:1.3}
 .portal-site .up-heading{padding-bottom:14px}
}
@media(max-width:370px){
 .portal-site .legacy-home-hero .hero-card{padding:16px 12px}
 .portal-site .legacy-home-hero h1{font-size:25px!important}
 .portal-site .legacy-home-hero .hero-social-icon-link{gap:4px;padding:4px 6px}
 .portal-site .legacy-home-hero .hero-social-icon-link .portal-social-mark{width:24px;height:24px}
}
