/* v4 page "emergency" (/emergency-roof-repair and /roofers/{city}/emergency): page-only rules, prefix em-. Shared components come from v4.css and v4-components.css.
   The one orange button is the form's submit button. */
.em-head{background:var(--pale);border-bottom:1px solid var(--line);padding:48px 0 32px}
.em-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:40px;align-items:start}
.em-copy h1{font-size:clamp(32px,4.4vw,50px);font-weight:620;margin-bottom:16px}
.em-copy .sub{font-size:20px;line-height:1.5;color:var(--ink);max-width:36em;margin-bottom:18px}
.em-911{margin:0 0 18px;padding:10px 16px;background:#fff;border:1px solid var(--line);border-left:4px solid var(--navy);border-radius:10px;color:var(--navy);max-width:36em}
.em-call{display:flex;flex-wrap:wrap;align-items:center;gap:6px 20px;margin-bottom:22px}
.em-call .button{min-height:52px}
.em-call-note{flex-basis:100%;font-size:16px;color:var(--muted)}
.em-now{background:var(--sand);border:1px solid var(--line);border-radius:var(--radius);padding:20px 22px;max-width:36em}
.em-now h2{font-size:26px;margin-bottom:6px}
.em-now p{font-size:17px;color:var(--ink)}
.em-now ol{margin:10px 0 6px;padding-left:22px}
.em-now li{font-size:17px;line-height:1.5;color:var(--ink);margin-bottom:8px}
.em-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px 28px;box-shadow:0 6px 24px rgba(16,45,80,.08)}
.em-card h2{font-size:28px;margin-bottom:8px}
.em-lede{font-size:17px;line-height:1.5;color:var(--ink);margin-bottom:18px}
.em-field{margin-bottom:14px}
.em-field label{display:block;font-weight:650;color:var(--navy);margin-bottom:6px;font-size:17px}
.em-field label span{font-weight:400;color:var(--muted)}
.em-field input,.em-field select,.em-field textarea{display:block;width:100%;min-height:48px;padding:10px 12px;border:1px solid var(--navy-2);border-radius:10px;background:#fff;color:var(--ink);font:inherit;font-size:17px}
.em-field textarea{min-height:84px;resize:vertical}
.em-field small{display:block;margin-top:6px;font-size:15px;color:var(--muted)}
.em-note{margin:0 0 14px;padding:10px 12px;border-radius:10px;background:var(--sand);border:1px solid var(--line);font-size:16px;line-height:1.45;color:var(--ink)}
.em-note[hidden],.em-ok[hidden],.em-rain[hidden]{display:none}
.em-nomatch a{display:inline-flex;align-items:center;min-height:44px;font-weight:650}
.em-consent{display:flex;gap:12px;align-items:flex-start;background:var(--pale);border-radius:10px;padding:12px 14px;margin:6px 0 14px}
.em-consent input{flex:0 0 22px;width:22px;height:22px;margin-top:2px;accent-color:var(--navy)}
.em-consent label{font-size:15px;line-height:1.45;color:var(--ink);min-width:0;overflow-wrap:break-word}
.em-consent a{display:inline-block;padding:11px 2px;margin:-11px 0}
.em-cardx .ic-tile,.em-ok .ic-tile{background:var(--pale);color:var(--navy);border:1px solid var(--line)}
.em-card .error{margin:0 0 12px}
.em-card .btn-emg,.em-card .btn-submit{width:100%;min-height:56px}
.em-timer{margin-top:12px;font-size:15px;line-height:1.45;color:var(--muted)}
.em-ok{text-align:center;padding:12px 0}
.em-ok .ic-tile{margin:0 auto 12px}
.em-ok h3{margin-bottom:8px}
.em-proof{list-style:none;margin-top:28px;margin-bottom:0;padding-top:0;padding-bottom:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 28px}
.em-proof li{font-size:16px;line-height:1.45;color:var(--ink);padding-left:14px;border-left:3px solid var(--navy)}
.em-sec{padding-top:56px;padding-bottom:56px}
.em-alt{background:var(--sand)}
.em-sec .section-head{margin-bottom:26px}
.em-sec .section-head p a,.em-prose p a,.em-faq p a{display:inline-block;padding:11px 0;margin:-11px 0}
.em-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr));gap:20px}
.em-cardx{background:#fff;border:1px solid var(--line);border-top:3px solid var(--line);border-radius:var(--radius);padding:20px 22px}
.em-cardx.urgent{border-top-color:var(--navy)}
.em-cardx .ic-tile{margin:0 0 10px}
.em-cardx h3{font-size:22px;margin-bottom:8px}
.em-cardx p{font-size:17px;line-height:1.5;color:var(--ink)}
.em-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.em-steps li{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px 22px}
.em-n{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--navy);color:#fff;font:650 20px var(--head);margin-bottom:10px}
.em-steps h3{font-size:20px;margin-bottom:8px}
.em-steps p{font-size:17px;line-height:1.5;color:var(--ink)}
.em-warn{margin-top:8px;font-weight:650;color:#B42318}
.em-prose p{max-width:52em;font-size:18px;line-height:1.6;color:var(--ink);margin-bottom:16px}
.em-faq summary{min-height:44px}
.em-faq p{font-size:17px;line-height:1.55;color:var(--ink);max-width:52em}
.em-zip{max-width:520px;margin-bottom:20px}
.em-zip .button{min-height:52px}
.em-links{margin-top:6px}
.em-sticky{gap:10px}
.em-sticky span{flex:1 1 auto;min-width:0}
.em-sticky .text-link{white-space:nowrap}
/* city page: the first half hour, the rain outlook, the map */
.em-split{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:28px;align-items:start}
.em-steps-list{grid-template-columns:repeat(2,minmax(0,1fr))}
.em-when{display:block;font:650 15px var(--body);color:var(--muted);margin-bottom:6px}
.em-rain{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px 22px}
.em-rain h3{margin-bottom:8px}
.em-rain-sum{font-size:17px;line-height:1.5;color:var(--ink);margin-bottom:14px}
.em-rain-bars{display:flex;align-items:flex-end;gap:3px;height:92px;border-bottom:1px solid var(--line)}
.em-rain-col{flex:1 1 0;display:flex;align-items:flex-end;height:100%}
.em-rain-bar{width:100%;background:var(--line);min-height:2px}
.em-rain-bar.wet{background:var(--navy-2)}
.em-rain-bar.heavy{background:var(--navy)}
.em-rain-days{display:flex;gap:3px;font-size:13px;color:var(--muted);margin-top:4px}
.em-rain-days span{flex:1 1 0;overflow:hidden;white-space:nowrap}
.em-rain-tbl{margin-top:12px}
.em-rain-tbl summary{display:flex;align-items:center;min-height:44px;cursor:pointer;font-weight:650;color:var(--navy-2)}
.em-cover{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:24px;align-items:start}
.em-map{height:380px;border:1px solid var(--line);border-radius:var(--radius);background:var(--pale);overflow:hidden}
.em-map .leaflet-control-zoom a{width:44px;height:44px;line-height:44px;font-size:22px}
.em-tables h3{font-size:20px;margin:0 0 8px}
.em-tables h3+.cy-tablewrap{margin-bottom:18px}
.em-tables .cy-towns td,.em-tables .cy-towns th{padding:9px 8px}
.em-pin{display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--navy-2);color:#fff;font:650 13px var(--body);border:2px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.35)}
.em-pin.home{background:var(--navy)}
@media (max-width:1000px){
 .em-grid{grid-template-columns:1fr;gap:28px}
 .em-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
 .em-split,.em-cover{grid-template-columns:1fr}
 .em-proof{grid-template-columns:1fr}
}
@media (max-width:700px){
 .em-head{padding:32px 0 24px}
 .em-copy .sub{font-size:18px}
 .em-card{padding:20px 16px}
 .em-sec{padding-top:40px;padding-bottom:40px}
 .em-steps,.em-steps-list{grid-template-columns:1fr}
 .em-map{height:300px}
 .em-sticky span{display:none}
 .em-sticky{justify-content:space-between}
}
