/* Green Healthcare v6.6.0 — shared modern, responsive form presentation.
   Visual rules only: field names, values, validation and submission behavior remain unchanged. */
:root{--ghf-ink:#153755;--ghf-muted:#607589;--ghf-line:#d7e4ec;--ghf-soft:#f5f9fb;--ghf-focus:#248dbd;--ghf-success:#247f57;--ghf-radius:22px}
form:not(.news-editor):not(#af-form):not(.visitor-form):not(.resident-request):not(.mixed-signup):not(.concierge-request):not(.contact-card):not(#caliAccessForm):not(.doctor-apply-form){width:100%;max-width:100%;padding:clamp(18px,3vw,30px);border:1px solid var(--ghf-line);border-radius:18px;background:#fff;box-shadow:0 16px 44px rgba(20,55,85,.09);color:var(--ghf-ink)}
form:not(.news-editor):not(#af-form) :where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea){max-width:100%;border-radius:11px}
form:not(.news-editor):not(#af-form) :where(input[type="checkbox"],input[type="radio"]){accent-color:var(--ghf-success)}
form:not(.news-editor):not(#af-form) button[type="submit"]{min-height:48px;border-radius:11px}
:where(.visitor-form,.resident-request,.mixed-signup,.concierge-request,.contact-card,#caliAccessForm,.doctor-apply-form){position:relative;isolation:isolate;width:100%;max-width:100%;padding:clamp(20px,3.5vw,38px);border:1px solid var(--ghf-line);border-radius:var(--ghf-radius);background:linear-gradient(145deg,#fff 0%,#fbfdfe 100%);box-shadow:0 22px 60px rgba(20,55,85,.1);color:var(--ghf-ink)}
:where(.visitor-form,.resident-request,.mixed-signup,.concierge-request,.contact-card,#caliAccessForm,.doctor-apply-form)::before{position:absolute;inset:0 0 auto;height:5px;border-radius:var(--ghf-radius) var(--ghf-radius) 0 0;background:linear-gradient(90deg,#28a36a,#2b9ed4 52%,#8060b4);content:""}
:where(.visitor-form,.resident-request,.mixed-signup,.concierge-request,.contact-card,#caliAccessForm,.doctor-apply-form) :where(.visitor-form-grid,.form-grid,.grid,.concierge-fields){min-width:0}
:where(.visitor-form,.resident-request,.mixed-signup,.concierge-request,.contact-card,#caliAccessForm,.doctor-apply-form) :where(label,.field){min-width:0}
:where(.visitor-form,.resident-request,.mixed-signup,.concierge-request,.contact-card,#caliAccessForm,.doctor-apply-form) label>span:first-child{display:block;margin:0 0 7px;color:var(--ghf-ink);font-size:12px;font-weight:800;line-height:1.35}
:where(.visitor-form,.resident-request,.mixed-signup,.concierge-request,.contact-card,#caliAccessForm,.doctor-apply-form) :where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea){width:100%;max-width:100%;min-height:50px;margin:0;padding:12px 14px;border:1px solid #cbdbe5;border-radius:12px;background:#fff;color:#17385d;font:500 16px/1.35 Inter,system-ui,sans-serif;box-shadow:0 1px 0 rgba(20,55,85,.03);transition:border-color .18s,box-shadow .18s,background .18s}
:where(.visitor-form,.resident-request,.mixed-signup,.concierge-request,.contact-card,#caliAccessForm,.doctor-apply-form) textarea{min-height:112px;resize:vertical;line-height:1.55}
:where(.visitor-form,.resident-request,.mixed-signup,.concierge-request,.contact-card,#caliAccessForm,.doctor-apply-form) :where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea):hover{border-color:#aebfca}
:where(.visitor-form,.resident-request,.mixed-signup,.concierge-request,.contact-card,#caliAccessForm,.doctor-apply-form) :where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea):focus{border-color:var(--ghf-focus);background:#fff;outline:0;box-shadow:0 0 0 4px rgba(36,141,189,.14)}
:where(.visitor-form,.resident-request,.mixed-signup,.concierge-request,.contact-card,#caliAccessForm,.doctor-apply-form) :where(input[type="checkbox"],input[type="radio"]){flex:0 0 auto;width:20px!important;height:20px!important;min-height:20px;margin:1px 0 0;accent-color:var(--ghf-success)}
:where(.visitor-form,.resident-request,.mixed-signup,.concierge-request,.contact-card,#caliAccessForm,.doctor-apply-form) :where(.consent,.care-contact-consent,.coordinator-consent){display:flex;align-items:flex-start;gap:10px;padding:13px 14px;border:1px solid #dbe7ed;border-radius:12px;background:var(--ghf-soft);color:#536a7e;font-size:12px;line-height:1.5}
:where(.visitor-form,.resident-request,.mixed-signup,.concierge-request,.contact-card,#caliAccessForm,.doctor-apply-form) fieldset{min-width:0;margin:0 0 20px;padding:clamp(16px,2.5vw,24px);border:1px solid #dbe7ed;border-radius:16px;background:#fff}
:where(.visitor-form,.resident-request,.mixed-signup,.concierge-request,.contact-card,#caliAccessForm,.doctor-apply-form) legend{max-width:100%;padding:0 8px;color:var(--ghf-ink);font-weight:800;line-height:1.35}
:where(.visitor-form,.resident-request,.mixed-signup,.concierge-request,.contact-card,#caliAccessForm,.doctor-apply-form) :where(button[type="submit"],.visitor-submit,.resident-submit,.mixed-submit){display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:13px 22px;border:0;border-radius:12px;background:linear-gradient(135deg,#176f9a,#258fbc);color:#fff;font-size:14px;font-weight:900;line-height:1.25;text-align:center;box-shadow:0 10px 24px rgba(23,111,154,.2);cursor:pointer;transition:transform .18s,box-shadow .18s,filter .18s}
:where(.visitor-form,.resident-request,.mixed-signup,.concierge-request,.contact-card,#caliAccessForm,.doctor-apply-form) :where(button[type="submit"],.visitor-submit,.resident-submit,.mixed-submit):hover{transform:translateY(-2px);filter:saturate(1.08);box-shadow:0 14px 28px rgba(23,111,154,.25)}
:where(.visitor-form,.resident-request,.mixed-signup,.concierge-request,.contact-card,#caliAccessForm,.doctor-apply-form) :where(button[type="submit"],.visitor-submit,.resident-submit,.mixed-submit):focus-visible{outline:3px solid rgba(36,141,189,.3);outline-offset:3px}
:where(.visitor-form,.resident-request,.mixed-signup,.concierge-request,.contact-card,#caliAccessForm,.doctor-apply-form) :where(button[type="submit"],.visitor-submit,.resident-submit,.mixed-submit):disabled{cursor:wait;filter:grayscale(.2);opacity:.72;transform:none}
.visitor-form .care-form-summary{padding-bottom:20px;border-bottom:1px solid #e0e9ee}
.visitor-form .care-form-summary h2{max-width:720px;margin:7px 0 8px;color:var(--ghf-ink);font-size:clamp(28px,4vw,42px);line-height:1.08}
.visitor-form .care-form-summary p{max-width:720px;margin:0;color:var(--ghf-muted);line-height:1.6}
.visitor-form :where(.unified-audience,.care-form-section,.care-form-more){border-radius:16px}
.visitor-form .care-step{gap:12px}
.visitor-form .care-step i{display:grid;flex:0 0 32px;width:32px;height:32px;place-items:center;border-radius:10px;background:#e8f5f9;color:#176f9a;font-style:normal;font-weight:900}
.visitor-form .audience-choice{border-radius:13px!important;background:#fff}
.visitor-form .care-form-more summary{min-height:52px;padding:14px 16px;cursor:pointer}
.visitor-form .visitor-upload{border-radius:14px}
.visitor-form .care-submit-row{padding-top:6px}
.visitor-form .care-return-context{margin:-4px 0 18px;border-radius:10px;background:#eaf7f1;color:#236c50}
.concierge-request .service-checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.concierge-request .service-checks legend{grid-column:1/-1}
.concierge-request .service-checks label{display:flex;align-items:flex-start;gap:9px;min-height:52px;padding:12px;border:1px solid #dbe7ed;border-radius:11px;background:var(--ghf-soft)}
.concierge-request .service-checks label:has(input:checked){border-color:#2b9ed4;background:#eaf6fb;box-shadow:0 0 0 3px rgba(43,158,212,.1)}
#specializedCareForm .service-fields[hidden]{display:none!important}
#specializedCareForm .checks{gap:9px}
#specializedCareForm .checks label{display:flex;align-items:flex-start;gap:8px;padding:10px;border:1px solid #dce7ed;border-radius:10px;background:var(--ghf-soft)}
#caliAccessForm .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
@media(max-width:760px){
  :where(.visitor-form,.resident-request,.mixed-signup,.concierge-request,.contact-card,#caliAccessForm,.doctor-apply-form){padding:20px 16px;border-radius:18px;box-shadow:0 14px 38px rgba(20,55,85,.09)}
  :where(.visitor-form,.resident-request,.mixed-signup,.concierge-request,.contact-card,#caliAccessForm,.doctor-apply-form) :where(.visitor-form-grid,.form-grid,.grid,.concierge-fields,.care-contact-grid,.care-more-grid){grid-template-columns:minmax(0,1fr)!important}
  :where(.visitor-form,.resident-request,.mixed-signup,.concierge-request,.contact-card,#caliAccessForm,.doctor-apply-form) :where(.full,[class*="full"]){grid-column:1!important}
  :where(.visitor-form,.resident-request,.mixed-signup,.concierge-request,.contact-card,#caliAccessForm,.doctor-apply-form) :where(button[type="submit"],.visitor-submit,.resident-submit,.mixed-submit){width:100%;min-height:54px}
  .visitor-form .audience-options{grid-template-columns:1fr!important}
  .visitor-form .care-submit-row{align-items:stretch!important;flex-direction:column!important}
  .concierge-request .service-checks{grid-template-columns:1fr 1fr}
  #caliAccessForm .form-grid{grid-template-columns:1fr}
}
@media(max-width:430px){
  form:not(.news-editor):not(#af-form){max-width:100%;overflow:hidden}
  :where(.visitor-form,.resident-request,.mixed-signup,.concierge-request,.contact-card,#caliAccessForm,.doctor-apply-form){padding:18px 13px;border-radius:16px}
  :where(.visitor-form,.resident-request,.mixed-signup,.concierge-request,.contact-card,#caliAccessForm,.doctor-apply-form) fieldset{padding:15px 12px}
  .concierge-request .service-checks{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){:where(.visitor-form,.resident-request,.mixed-signup,.concierge-request,.contact-card,#caliAccessForm,.doctor-apply-form) *{scroll-behavior:auto!important;transition:none!important}}
