/* =========================================================
   CFW Rescue & Relief v1.9.0 — compact, mobile-first UI
   ========================================================= */
.rescue-page-heading{
  display:flex;align-items:flex-end;justify-content:space-between;gap:16px;
  margin:8px 0 18px;padding:0 2px;
}
.rescue-page-heading h1{margin:5px 0 5px;color:#173a5b;font-size:clamp(23px,3vw,31px);line-height:1.2;letter-spacing:-.5px}
.rescue-page-heading p{margin:0;color:#6b7f93;font-size:13px;line-height:1.55}
.rescue-page-heading .eyebrow{font-size:10px;font-weight:900;letter-spacing:.9px;color:#2775b8}
.rescue-live-dot{display:inline-block;width:7px;height:7px;margin-right:5px;border-radius:50%;background:#e45155;box-shadow:0 0 0 4px rgba(228,81,85,.11);vertical-align:middle}
.rescue-heading-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.button-danger{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:#d9434d!important;border:1px solid #d9434d!important;color:#fff!important}
.button-danger:hover{background:#c73540!important;border-color:#c73540!important}
.button-block{display:flex!important;width:100%;box-sizing:border-box;justify-content:center}
.rescue-safety-note{
  display:flex;flex-direction:column;gap:4px;margin:0 0 16px;padding:13px 15px;
  border:1px solid #f0d5d6;border-left:4px solid #d84a50;border-radius:12px;
  background:#fff8f7;color:#7c4245;font-size:12px;line-height:1.55;
}
.rescue-safety-note strong{font-size:13px;color:#a33239}
.rescue-safety-note a{display:inline-flex;margin:5px 6px 0 0;padding:6px 10px;border:1px solid #e8c5c7;border-radius:8px;background:#fff;color:#a33239;text-decoration:none;font-weight:800}
.rescue-safety-note.compact{margin:12px 0 0;font-size:11px}
.rescue-stat-row,.rescue-admin-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0 0 16px}
.rescue-stat,.rescue-admin-stats>div{
  display:flex;flex-direction:column;gap:5px;min-width:0;padding:12px 14px;
  border:1px solid #e2eaf2;border-radius:13px;background:#fff;
}
.rescue-stat span,.rescue-admin-stats span{color:#708399;font-size:11px;font-weight:700}
.rescue-stat strong,.rescue-admin-stats strong{color:#1c466c;font-size:24px;line-height:1;font-variant-numeric:tabular-nums}
.rescue-stat-waiting strong{color:#d17a22}.rescue-stat-verified strong{color:#ce444b}
.rescue-map-section,.rescue-cases-section{margin:0 0 18px;padding:16px;border:1px solid #e1eaf2;border-radius:16px;background:#fff;box-shadow:0 5px 18px rgba(22,54,84,.035)}
.rescue-section-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px}
.rescue-section-top h2{margin:0 0 3px;color:#1b456a;font-size:17px;line-height:1.3}
.rescue-section-top p{margin:0;color:#7b8da0;font-size:11px;line-height:1.5}
.rescue-map-live{display:inline-flex;align-items:center;gap:6px;color:#25855e;font-size:10px;font-weight:800;white-space:nowrap}
.rescue-map-live i{width:6px;height:6px;border-radius:50%;background:#2da36e;box-shadow:0 0 0 3px rgba(45,163,110,.12)}
.rescue-map-canvas{width:100%;height:310px;min-height:250px;border:1px solid #e0e9f1;border-radius:12px;background:#edf3f8;overflow:hidden}
.rescue-main-map{height:360px}
.rescue-map-legend{display:flex;align-items:center;gap:12px 16px;flex-wrap:wrap;margin:10px 2px 4px;color:#60778e;font-size:10px}
.rescue-map-dot{display:inline-block;width:9px;height:9px;margin-right:5px;border:1.5px solid #fff;border-radius:50%;vertical-align:middle;box-shadow:0 0 0 1px rgba(28,59,86,.13)}
.rescue-map-dot.critical{background:#d83d45}.rescue-map-dot.urgent{background:#e58a25}.rescue-map-dot.normal{background:#2c9b72}.rescue-map-dot.progress{background:#2384c6}
.rescue-map-privacy{margin:5px 2px 0;color:#8191a1;font-size:10px;line-height:1.5}
.rescue-map-popup{width:220px;max-width:220px;color:#173a5b;font-family:inherit;font-size:11px;line-height:1.45}
.rescue-map-popup-top{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:5px}
.rescue-map-popup-top b{font-size:10px;color:#627b93}
.rescue-map-popup-top span{padding:3px 6px;border-radius:99px;background:#edf4fa;color:#45637f;font-size:9px;font-weight:800}
.rescue-map-popup>strong{display:block;margin-bottom:3px;font-size:13px}
.rescue-map-popup>small{display:block;color:#6f8296;font-size:10px}
.rescue-map-popup-facts{display:flex;flex-direction:column;gap:2px;margin:7px 0;color:#4e6b87;font-size:10px}
.rescue-map-popup>a{display:inline-flex;margin-top:7px;color:#1769b2;font-size:11px;font-weight:900;text-decoration:none}
.rescue-case-count{flex:0 0 auto;padding:5px 9px;border:1px solid #e0e9f1;border-radius:99px;background:#f7fafd;color:#55728d;font-size:10px;font-weight:800}
.rescue-filter-bar{display:flex;align-items:flex-end;gap:9px;flex-wrap:wrap;margin:0 0 13px;padding:10px;border:1px solid #e8eef4;border-radius:12px;background:#f8fbfd}
.rescue-filter-bar label{display:flex;flex:1 1 140px;flex-direction:column;gap:4px;color:#61778d;font-size:10px;font-weight:800}
.rescue-filter-bar select{width:100%;min-height:36px;padding:7px 9px;border:1px solid #d9e4ee;border-radius:9px;background:#fff;color:#254b6d;font:inherit;font-size:11px}
.rescue-case-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.rescue-case-card{min-width:0;padding:13px;border:1px solid #e3ebf2;border-radius:13px;background:#fff;transition:border-color .15s ease,box-shadow .15s ease}
.rescue-case-card:hover{border-color:#c8d9e8;box-shadow:0 5px 15px rgba(24,63,98,.06)}
.rescue-case-card-top{display:flex;align-items:center;justify-content:space-between;gap:7px;flex-wrap:wrap}
.rescue-case-code{color:#75889a;font-size:10px;font-weight:900;letter-spacing:.3px}
.rescue-status-pill,.rescue-urgency-pill{display:inline-flex;align-items:center;min-height:22px;padding:3px 8px;border-radius:99px;font-size:9px;font-weight:900;line-height:1.2}
.rescue-status-open{background:#fff3e5;color:#a65d13}.rescue-status-progress{background:#edf5ff;color:#2367a8}.rescue-status-active{background:#eaf4ff;color:#1f6fac}.rescue-status-resolved{background:#e9f7ef;color:#26774d}.rescue-status-cancelled{background:#f1f3f5;color:#75808a}
.rescue-urgency-pill.critical{background:#fff0f0;color:#c73540}.rescue-urgency-pill.urgent{background:#fff5e8;color:#a96616}.rescue-urgency-pill.normal{background:#edf8f2;color:#287b52}
.rescue-case-title-row{display:flex;align-items:center;gap:10px;margin:12px 0 10px;min-width:0}
.rescue-category-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:12px;background:#edf5fc;color:#2b76b7;font-size:19px;font-weight:900}
.rescue-category-icon.critical{background:#fff0f0;color:#cf4148}.rescue-category-icon.urgent{background:#fff5e8;color:#b87521}
.rescue-case-title-row>div{min-width:0}
.rescue-case-title-row h3{margin:0 0 3px;color:#1c4568;font-size:14px;line-height:1.35}
.rescue-case-title-row p{margin:0;color:#73869a;font-size:10px}
.rescue-case-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:0 0 9px;color:#708397;font-size:10px}
.rescue-case-facts{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:9px;border-radius:9px;background:#f7fafc}
.rescue-case-facts span{display:flex;flex-direction:column;gap:3px;color:#8191a0;font-size:9px}
.rescue-case-facts b{color:#365a79;font-size:10px;font-weight:800}
.rescue-case-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:11px}
.rescue-helper-type{display:inline-flex;align-items:center;max-width:100%;padding:5px 8px;border-radius:8px;background:#eef7f2;color:#27754e;font-size:9px;font-weight:800;line-height:1.35}
.rescue-helper-type.verified{background:#fff1f1;color:#b43d46}
.rescue-open-case{color:#1768ad;font-size:11px;font-weight:900;text-decoration:none;white-space:nowrap}
.rescue-open-case span{font-size:15px}
.rescue-empty-state,.rescue-empty-inline{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:28px 16px;border:1px dashed #d8e3ed;border-radius:13px;background:#fafcfe;text-align:center;color:#71859a}
.rescue-empty-state>span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#eef6fd;color:#2779bc;font-size:22px}
.rescue-empty-state strong{color:#294e70;font-size:14px}.rescue-empty-state p{margin:0 0 5px;font-size:11px}
.rescue-empty-inline{min-height:70px;font-size:11px}
.rescue-form{display:flex;flex-direction:column;gap:13px}
.rescue-form-card,.rescue-detail-card,.rescue-action-card{min-width:0;padding:16px;border:1px solid #e2eaf1;border-radius:15px;background:#fff;box-shadow:0 4px 15px rgba(22,54,84,.03)}
.rescue-section-heading{display:flex;align-items:flex-start;gap:10px;margin:0 0 14px}
.rescue-section-heading>span{display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;border-radius:9px;background:#eaf3fb;color:#2169a8;font-size:12px;font-weight:900}
.rescue-section-heading h2{margin:1px 0 3px;color:#1c466a;font-size:15px;line-height:1.35}
.rescue-section-heading p{margin:0;color:#8191a0;font-size:10px;line-height:1.45}
.rescue-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.rescue-field-grid label,.rescue-update-form label{display:flex;flex-direction:column;gap:5px;min-width:0;color:#49647d;font-size:11px;font-weight:800}
.rescue-field-grid label b{color:#d84a50}
.rescue-field-full{grid-column:1/-1}
.rescue-field-grid input,.rescue-field-grid select,.rescue-field-grid textarea,.rescue-update-form textarea,.rescue-update-form input[type=file],.rescue-admin-assign select,.rescue-helper-review-form input{
  width:100%;box-sizing:border-box;min-height:40px;padding:9px 11px;border:1px solid #dce6ef;border-radius:10px;background:#fff;color:#244968;font-family:inherit;font-size:12px;font-weight:500;outline:none
}
.rescue-field-grid textarea,.rescue-update-form textarea{min-height:78px;resize:vertical;line-height:1.5}
.rescue-field-grid input:focus,.rescue-field-grid select:focus,.rescue-field-grid textarea:focus,.rescue-update-form textarea:focus{border-color:#83b6e3;box-shadow:0 0 0 3px rgba(48,126,190,.1)}
.rescue-map-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 9px}
.rescue-map-toolbar #rescueGpsStatus{color:#788da1;font-size:10px}
.rescue-coordinate-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:7px 2px 12px;color:#7a8d9f;font-size:10px}
.rescue-coordinate-row b{color:#355b7d;font-variant-numeric:tabular-nums}
.rescue-location-fields{margin-top:10px}
.rescue-helper-hint{margin-top:11px;padding:10px 12px;border:1px solid #d8e9df;border-radius:10px;background:#f2faf5;color:#28744e;font-size:11px;font-weight:700;line-height:1.5}
.rescue-helper-hint.verified{border-color:#f0d5d6;background:#fff6f5;color:#a83d45}
.rescue-photo-actions{display:flex;gap:8px;flex-wrap:wrap}
.rescue-photo-preview{display:flex;align-items:flex-start;gap:8px;flex-wrap:wrap;min-height:46px;margin-top:10px;padding:9px;border:1px dashed #d8e4ed;border-radius:10px;background:#fafcfe;color:#8493a2;font-size:10px}
.rescue-photo-preview-item{display:flex;flex-direction:column;gap:4px;width:72px;min-width:0}
.rescue-photo-preview-item img{width:72px;height:58px;object-fit:cover;border-radius:8px;border:1px solid #e1e8ee}
.rescue-photo-preview-item small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#708397;font-size:9px}
.rescue-photo-count{align-self:center;color:#28764f;font-size:10px;font-weight:800}
.rescue-field-help{display:block;margin-top:7px;color:#8594a3;font-size:9px;line-height:1.5}
.rescue-consent{display:flex;align-items:flex-start;gap:9px;margin-top:13px;color:#60768b;font-size:10px;line-height:1.55}
.rescue-consent input{flex:0 0 auto;width:16px;height:16px;margin:1px 0 0;accent-color:#2476b9}
.rescue-submit-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.rescue-honeypot{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.rescue-detail-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,.8fr);align-items:start;gap:14px}
.rescue-detail-main{display:flex;flex-direction:column;gap:13px;min-width:0}
.rescue-detail-side{position:sticky;top:14px;display:flex;flex-direction:column;gap:10px;min-width:0}
.rescue-detail-status-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.rescue-case-created{color:#8493a1;font-size:9px}
.rescue-detail-card h2{margin:10px 0 5px;color:#1b456a;font-size:17px}
.rescue-detail-lead{margin:0;color:#6d8296;font-size:12px}
.rescue-detail-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:13px}
.rescue-detail-facts>div{display:flex;flex-direction:column;gap:4px;padding:10px;border:1px solid #e7edf3;border-radius:10px;background:#f9fbfd}
.rescue-detail-facts>div.full{grid-column:1/-1}
.rescue-detail-facts span{color:#8493a2;font-size:9px}
.rescue-detail-facts strong{color:#345a7a;font-size:11px;line-height:1.4}
.rescue-detail-text{margin-top:13px;padding-top:11px;border-top:1px solid #edf1f5}
.rescue-detail-text strong{color:#3c5c78;font-size:11px}
.rescue-detail-text p{margin:5px 0 0;color:#5c7388;font-size:11px;line-height:1.6}
.rescue-member-only-note{padding:11px;border-radius:10px;background:#f5f8fb;color:#74889a;font-size:10px;line-height:1.55}
.rescue-private-location{display:flex;flex-direction:column;gap:6px;margin-top:10px;padding:11px;border:1px solid #dce8f2;border-radius:10px;background:#f7fbff;color:#486780;font-size:11px;line-height:1.5}
.rescue-private-location strong{color:#244d70}
.rescue-private-location p{margin:0;overflow-wrap:anywhere}
.rescue-contact-private{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px;padding:10px;border:1px solid #f0e1c6;border-radius:10px;background:#fffbf4;color:#8d682d;font-size:11px}
.rescue-contact-private a{color:#9b6415;font-weight:900;text-decoration:none}
.rescue-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.rescue-photo-item{position:relative;display:block;min-width:0;overflow:hidden;border-radius:10px;background:#edf2f6}
.rescue-photo-item img{display:block;width:100%;height:120px;object-fit:cover}
.rescue-photo-item span{position:absolute;left:5px;right:5px;bottom:5px;padding:4px 6px;border-radius:6px;background:rgba(14,37,57,.72);color:#fff;font-size:9px;text-align:center}
.rescue-timeline{display:flex;flex-direction:column;gap:0;margin:12px 0 0;padding:0;list-style:none}
.rescue-timeline li{position:relative;display:flex;gap:10px;padding:0 0 15px}
.rescue-timeline li:before{position:absolute;left:5px;top:12px;bottom:-1px;width:1px;background:#dce7ef;content:""}
.rescue-timeline li:last-child:before{display:none}
.rescue-timeline-dot{position:relative;z-index:1;flex:0 0 11px;width:11px;height:11px;margin-top:3px;border:2px solid #fff;border-radius:50%;background:#4c91c7;box-shadow:0 0 0 1px #a9c7df}
.rescue-timeline li>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.rescue-timeline strong{color:#315978;font-size:11px}
.rescue-timeline small{color:#8997a4;font-size:9px}
.rescue-timeline p{margin:3px 0 0;color:#647b90;font-size:10px;line-height:1.5;overflow-wrap:anywhere}
.rescue-action-card h2{margin:0 0 9px;color:#1c466a;font-size:16px}
.rescue-action-card h3{margin:0 0 8px;color:#315a7b;font-size:12px}
.rescue-action-card>p{margin:8px 0;color:#6b8094;font-size:11px;line-height:1.55}
.rescue-action-divider{height:1px;margin:13px 0;background:#e9eef3}
.rescue-update-form{display:flex;flex-direction:column;gap:10px}
.rescue-update-form label{font-size:10px}
.rescue-update-form textarea{font-size:11px}
.rescue-update-form input[type=file]{padding:8px;font-size:10px}
.rescue-release-form{margin-top:8px}
.rescue-complete-note{margin-top:10px;padding:9px;border-radius:9px;background:#eaf7ef;color:#28774e;font-size:11px;font-weight:800}
.rescue-apply-status{margin:0 0 12px;padding:11px 13px;border-radius:10px;font-size:11px;font-weight:800}
.rescue-apply-status.approved{background:#eaf7ef;color:#27764d}.rescue-apply-status.pending{background:#fff6e8;color:#98651e}.rescue-apply-status.rejected{background:#fff0f0;color:#b43d45}
.rescue-admin-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
.rescue-admin-tabs{display:flex;gap:5px;margin:0 0 14px;padding:4px;border:1px solid #e3ebf2;border-radius:11px;background:#f7fafc}
.rescue-admin-tabs a{flex:1;padding:9px 10px;border-radius:8px;color:#6c8094;font-size:11px;font-weight:800;text-align:center;text-decoration:none}
.rescue-admin-tabs a.active{background:#fff;color:#1e65a2;box-shadow:0 1px 4px rgba(20,57,90,.1)}
.rescue-admin-case-list,.rescue-helper-list{display:flex;flex-direction:column;gap:9px}
.rescue-admin-case,.rescue-helper-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,.65fr);gap:14px;padding:13px;border:1px solid #e4ebf2;border-radius:12px;background:#fff}
.rescue-admin-case-main h3,.rescue-helper-card h3{margin:8px 0 4px;color:#254d70;font-size:13px}
.rescue-admin-case-main p,.rescue-helper-card p{margin:4px 0;color:#71859a;font-size:10px;line-height:1.5}
.rescue-admin-assign{display:flex;flex-direction:column;gap:7px;justify-content:center;padding:10px;border-radius:10px;background:#f7fafc}
.rescue-admin-assign label,.rescue-helper-review-form label{display:flex;flex-direction:column;gap:5px;color:#647b90;font-size:10px;font-weight:800}
.rescue-admin-assign select,.rescue-helper-review-form input{min-height:36px;padding:7px 9px;font-size:10px}
.rescue-helper-card{display:block}
.rescue-helper-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.rescue-helper-card-top h3{margin:0 0 3px;font-size:14px}
.rescue-helper-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}
.rescue-helper-info-grid>div{display:flex;flex-direction:column;gap:4px;padding:9px;border-radius:9px;background:#f7fafc}
.rescue-helper-info-grid span{color:#8493a2;font-size:9px}
.rescue-helper-info-grid strong{color:#345a79;font-size:10px}
.rescue-helper-review-form{display:flex;flex-direction:column;gap:8px;margin-top:12px;padding-top:11px;border-top:1px solid #edf1f5}
.rescue-helper-review-form>div{display:flex;gap:8px;flex-wrap:wrap}
.rescue-not-found{margin:30px auto;max-width:600px;padding:24px}
.rescue-not-found h1{color:#1b456a;font-size:22px}
@media(max-width:760px){
  .rescue-page-heading{align-items:flex-start;flex-direction:column;gap:10px}
  .rescue-heading-actions{width:100%}
  .rescue-heading-actions .button{flex:1 1 auto}
  .rescue-main-map{height:300px}
  .rescue-detail-layout{grid-template-columns:1fr}
  .rescue-detail-side{position:static;grid-row:1}
  .rescue-case-grid{grid-template-columns:1fr}
  .rescue-admin-case{grid-template-columns:1fr}
  .rescue-admin-assign{display:grid;grid-template-columns:1fr auto;align-items:end}
}
@media(max-width:520px){
  .rescue-page-heading h1{font-size:23px}
  .rescue-page-heading p{font-size:11px}
  .rescue-stat-row{gap:6px}
  .rescue-stat{padding:10px 9px;border-radius:11px}
  .rescue-stat span{font-size:9px;line-height:1.35}
  .rescue-stat strong{font-size:20px}
  .rescue-map-section,.rescue-cases-section,.rescue-form-card,.rescue-detail-card,.rescue-action-card{padding:12px;border-radius:12px}
  .rescue-section-top h2{font-size:15px}
  .rescue-section-top p{font-size:10px}
  .rescue-main-map{height:260px;min-height:230px}
  .rescue-map-canvas{height:260px;min-height:220px}
  .rescue-field-grid{grid-template-columns:1fr;gap:10px}
  .rescue-field-full{grid-column:auto}
  .rescue-map-toolbar .button{min-height:38px}
  .rescue-admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rescue-admin-tabs a{font-size:10px;padding:8px 5px}
  .rescue-admin-assign{grid-template-columns:1fr}
  .rescue-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rescue-photo-item img{height:110px}
  .rescue-detail-facts{gap:6px}
  .rescue-detail-facts>div{padding:8px}
  .rescue-submit-row{display:grid;grid-template-columns:1fr}
  .rescue-submit-row .button{width:100%}
  .rescue-safety-note{font-size:10px}
}


/* Rescue entry points in the existing Flood Watch shell */
.main-nav .nav-rescue-cta{border:1px solid #f0cfd1;border-radius:9px;background:#fff5f4;color:#b63d45!important;font-weight:900}
.main-nav .nav-rescue-cta:hover{background:#ffebe9}
.rescue-home-strip{
  display:flex;align-items:center;gap:12px;margin:0 0 17px;padding:13px 15px;
  border:1px solid #e7d9d9;border-radius:14px;background:linear-gradient(105deg,#fff8f7 0%,#fff 68%);
}
.rescue-home-icon{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:12px;background:#ffeded;color:#d3454d;font-size:23px;font-weight:900}
.rescue-home-copy{flex:1;min-width:0}
.rescue-home-copy strong{display:block;color:#713b42;font-size:13px}
.rescue-home-copy p{margin:3px 0 0;color:#8b7478;font-size:10px;line-height:1.5}
.rescue-home-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.rescue-home-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 11px;border-radius:9px;font-size:10px;font-weight:900;text-decoration:none;white-space:nowrap}
.rescue-home-primary{background:#d9434d;color:#fff;border:1px solid #d9434d}
.rescue-home-secondary{background:#fff;color:#a34249;border:1px solid #efd1d3}
@media(max-width:700px){
  .rescue-home-strip{align-items:flex-start;flex-wrap:wrap;padding:11px}
  .rescue-home-copy{flex:1 1 calc(100% - 55px)}
  .rescue-home-actions{width:100%;padding-left:52px}
  .rescue-home-actions a{flex:1}
}


/* =========================================================
   CFW Rescue & Relief v1.9.1 — desktop layout and CSS delivery hotfix
   ========================================================= */
.rescue-page-heading,
.rescue-safety-note {
  width: min(100%, 1040px);
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
}
.rescue-page-heading { margin-top: 10px; margin-bottom: 18px; }
.rescue-form {
  width: min(100%, 1040px);
  margin: 0 auto;
  box-sizing: border-box;
}
.rescue-form-card {
  box-sizing: border-box;
  width: 100%;
  padding: 20px 22px;
}
.rescue-field-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: start;
  gap: 14px 16px !important;
}
.rescue-field-grid label {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch;
  gap: 6px !important;
  min-width: 0;
  color: #49647d;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}
.rescue-field-grid input,
.rescue-field-grid select,
.rescue-field-grid textarea {
  display: block;
  width: 100% !important;
  min-width: 0;
  min-height: 43px;
  box-sizing: border-box !important;
  padding: 10px 12px;
  border: 1px solid #dce6ef;
  border-radius: 10px;
  background: #fff;
  color: #244968;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
}
.rescue-field-grid textarea { min-height: 88px; resize: vertical; }
.rescue-field-grid .rescue-field-full { grid-column: 1 / -1; }
.rescue-field-help {
  display: block;
  margin-top: 5px;
  color: #8192a3;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.55;
}
.rescue-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.rescue-map-canvas {
  width: 100%;
  height: 350px;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid #dce6ef;
  border-radius: 13px;
  background: #edf3f8;
}
.rescue-map-toolbar {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.rescue-coordinate-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding: 8px 2px;
  color: #7a8d9f;
  font-size: 11px;
}
.rescue-photo-actions .button,
.rescue-submit-row .button {
  min-height: 42px;
}
.rescue-submit-row {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 2px 0 12px;
}
.rescue-home-strip {
  width: 100%;
  box-sizing: border-box;
  min-height: 76px;
}
.rescue-home-actions a { min-height: 38px; padding-inline: 14px; font-size: 11px; }
.rescue-home-primary { color: #fff !important; }
.rescue-home-secondary { color: #a34249 !important; }

@media (min-width: 1200px) {
  .rescue-form-card { padding: 22px 24px; }
  .rescue-section-heading { margin-bottom: 16px; }
}
@media (max-width: 760px) {
  .rescue-page-heading,
  .rescue-safety-note,
  .rescue-form { width: 100%; }
  .rescue-form-card { padding: 14px; }
  .rescue-field-grid { grid-template-columns: 1fr !important; gap: 11px !important; }
  .rescue-field-grid .rescue-field-full { grid-column: auto; }
  .rescue-map-canvas { height: 300px; min-height: 260px; }
  .rescue-submit-row { display: grid; grid-template-columns: 1fr; }
  .rescue-submit-row .button { width: 100%; }
}
@media (max-width: 520px) {
  .rescue-form-card { padding: 12px; }
  .rescue-map-canvas { height: 260px; min-height: 230px; }
}
