/* Compact customer fields, generous space for detailed requests. */
.compact-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;max-width:820px!important;align-items:start}
.compact-form>*{grid-column:1/-1;min-width:0}
.compact-form>.compact-field{grid-column:auto;min-width:0;margin:0}
.compact-form>.field-long{grid-column:1/-1}
.compact-form .compact-field>label{display:block;margin:0 0 7px!important;line-height:1.45}
.compact-form .compact-field>label:has(input,textarea,select){margin:0!important}
.compact-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.compact-form select{box-sizing:border-box;width:100%!important;max-width:360px!important;min-width:0;min-height:44px;padding:10px 12px;font-size:16px;margin:0!important}
.compact-form input[type=tel]{max-width:240px!important}
.compact-form input[type=time],.compact-form input[type=number]{max-width:190px!important}
.compact-form input[name*=zip],.compact-form input[autocomplete=postal-code]{max-width:150px!important}
.compact-form input[type=file]{max-width:540px!important}
.compact-form textarea{box-sizing:border-box;width:100%!important;max-width:780px!important;min-height:125px;padding:12px;font-size:16px;margin:0!important}
.compact-form .field-long input{max-width:640px!important}
.compact-form button[type=submit]{justify-self:start;width:auto!important;margin-top:4px!important}
.compact-form p{max-width:75ch}
.compact-form .weekday-calendar{max-width:360px;box-sizing:border-box;width:100%;margin-bottom:0}
.compact-form .calendar-controls select{max-width:100%!important}
.compact-form .calendar-grid button{min-height:36px!important}
#homecare-form.compact-form{gap:16px 20px}
#homecare-enrollment{max-width:820px}
header .brand{flex:0 1 300px}
header .brand img{width:300px!important;max-width:100%!important;height:auto!important;object-fit:contain}
header .nav{gap:28px}
header .links{flex:1;justify-content:flex-end}
@media(min-width:1000px){header .nav{min-height:148px}}
@media(max-width:760px){.compact-form{grid-template-columns:1fr;gap:16px}.compact-form>.compact-field{grid-column:1/-1}.compact-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.compact-form select{max-width:100%!important}.compact-form input[type=tel]{max-width:280px!important}.compact-form input[type=time],.compact-form input[type=number]{max-width:200px!important}.compact-form input[name*=zip],.compact-form input[autocomplete=postal-code]{max-width:150px!important}.compact-form .weekday-calendar{max-width:360px}header .brand{flex:0 1 240px}header .brand img{width:240px!important;max-width:66vw!important}header .nav{gap:14px}}
@media(min-width:761px) and (max-width:1100px){header .brand{flex-basis:270px}header .brand img{width:270px!important}}
.compact-form input[type=tel]:not([type=checkbox]):not([type=radio]):not([type=hidden]){max-width:240px!important}
.compact-form input[type=time]:not([type=checkbox]):not([type=radio]):not([type=hidden]),.compact-form input[type=number]:not([type=checkbox]):not([type=radio]):not([type=hidden]){max-width:190px!important}
.compact-form .compact-field>label input,.compact-form .compact-field>label textarea{display:block;margin-top:7px!important}
@media(max-width:760px){.compact-form input[type=tel]:not([type=checkbox]):not([type=radio]):not([type=hidden]){max-width:280px!important}}
header .nav>a:not(.brand)>img{width:260px;max-width:65vw;height:auto}
@media(max-width:760px){header .nav .brand img{width:230px!important;max-width:64vw!important}}

/* Compact site header: keep the navigation clear without letting it dominate the page. */
header .nav{min-height:72px!important;gap:12px}
header .brand{flex:0 1 150px!important}
header .brand img{width:150px!important;max-width:100%!important;height:auto!important}
header .links{font-size:12px;gap:12px}
header .links a{white-space:nowrap}
@media(min-width:1000px){header .nav{min-height:82px!important}}
@media(max-width:960px){
  header .nav{min-height:72px!important;gap:10px}
  header .brand{flex:0 1 145px!important}
  header .brand img{width:145px!important;max-width:43vw!important}
  header .menu-toggle{padding:7px 12px;font-size:13px}
  header .links{padding:10px 16px!important}
  header .links.is-open{gap:2px!important}
  header .links a:not(.btn){padding:6px 8px!important;font-size:13px}
}
@media(max-width:620px){
  header .nav{min-height:64px!important}
  header .nav .brand img{width:125px!important;max-width:40vw!important}
}
