/* CampToMe – independent, accessible discovery search within favorites view. */
#ctmDiscover {background:#f7fafc;border-bottom:1px solid #e1e8ef;padding:24px 32px 27px;color:#092d44}
#ctmDiscover .ctm-discover-heading {display:flex;align-items:center;gap:12px;margin-bottom:13px}
#ctmDiscover .ctm-discover-heading svg {width:27px;height:27px;color:#e66b19;flex-shrink:0}
#ctmDiscover h4 {margin:0;color:#0a344e;font-weight:850;font-size:20px;line-height:1.25}
#ctmDiscover .ctm-discover-subtitle {margin:5px 0 18px;font-size:13px;line-height:1.6;color:#516d7e}
#ctmDiscoverForm {display:grid;grid-template-columns:minmax(0,1fr) 140px auto;align-items:end;gap:12px}
#ctmDiscoverForm label {display:block;font-size:12px;font-weight:750;color:#174058;margin-bottom:6px}
#ctmDiscoverPlace,#ctmDiscoverRadius {box-sizing:border-box;width:100%;height:44px;padding:0 14px;border:1px solid #bdcfdd;border-radius:10px;background:#fff;font:inherit;font-size:14px;color:#123d58}
#ctmDiscoverPlace:focus-visible,#ctmDiscoverRadius:focus-visible,#ctmDiscoverForm button:focus-visible {outline:3px solid #ffad72;outline-offset:2px}
#ctmDiscoverForm .ctm-discover-place-field {position:relative;min-width:0}
#ctmDiscoverSuggestions {position:absolute;z-index:20;top:100%;left:0;right:0;max-height:240px;overflow-y:auto;margin-top:4px;background:white;border:1px solid #bccfda;box-shadow:0 12px 26px #0b324021;border-radius:10px}
#ctmDiscoverSuggestions[hidden] {display:none}
#ctmDiscoverSuggestions button {width:100%;border:0;border-bottom:1px solid #edf2f5;background:#fff;padding:11px 13px;text-align:left;font:inherit;font-size:13px;color:#173e57;cursor:pointer}
#ctmDiscoverSuggestions button:hover,#ctmDiscoverSuggestions button:focus-visible {background:#eaf3f9}
#ctmDiscoverGo {height:44px;border:0;border-radius:10px;padding:0 21px;background:#ef751e;color:white;font:inherit;font-size:14px;font-weight:800;cursor:pointer}
#ctmDiscoverGo:hover {background:#cf570c}
#ctmDiscoverStatus {font-size:12px;line-height:1.6;color:#577487;min-height:20px;margin:13px 0 0}
#ctmDiscoverStatus.is-error {color:#b0322e}
#ctmDiscoverResults {display:grid;gap:12px;margin-top:12px}
.ctm-discover-card {display:grid;grid-template-columns:104px minmax(0,1fr) auto;align-items:center;gap:17px;padding:12px;background:#fff;border:1px solid #dce6ed;border-radius:14px;box-shadow:0 4px 16px #082c440b}
.ctm-discover-cover {height:82px;width:104px;background:#e9eff3;border-radius:10px;display:grid;place-items:center;overflow:hidden;color:#8298a6}
.ctm-discover-cover img {width:100%;height:100%;object-fit:cover}
.ctm-discover-cover svg {height:34px;width:34px}
.ctm-discover-card-copy {min-width:0}
.ctm-discover-card-name {display:block;font-size:15px;font-weight:850;color:#0a3048;line-height:1.35}
.ctm-discover-card-location {display:flex;align-items:center;margin-top:6px;font-size:12px;color:#587285;line-height:1.5}
.ctm-discover-card-location svg {width:15px;height:15px;margin-right:5px;flex-shrink:0}
.ctm-discover-card-actions {display:flex;gap:8px;align-items:center}
.ctm-discover-profile-button {display:inline-flex;align-items:center;gap:7px;border:1px solid #d3e1ea;background:#fff;color:#16435f;border-radius:9px;padding:9px 10px;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.ctm-discover-profile-button svg {height:16px;width:16px}
.ctm-discover-profile-button:hover {border-color:#ee7721;color:#b75110}
.ctm-discover-heart {width:38px;height:38px;display:grid;place-items:center;background:#fff;border:1px solid #d3e1ea;border-radius:9px;color:#597588;cursor:pointer}
.ctm-discover-heart svg {width:18px;height:18px}
.ctm-discover-heart.is-favorite {color:#d64c45;background:#fff3f0;border-color:#efc8c4}
.ctm-discover-heart.is-favorite svg {fill:currentColor}
.ctm-discover-heart:focus-visible,.ctm-discover-profile-button:focus-visible,#ctmDiscoverMore:focus-visible {outline:3px solid #ffad72;outline-offset:2px}
#ctmDiscoverMore {display:block;margin:14px auto 0;background:#fff;border:1px solid #bad1e0;border-radius:10px;padding:10px 18px;color:#16435f;font:inherit;font-size:13px;font-weight:750;cursor:pointer}
#ctmDiscoverMore[hidden] {display:none}
.ctm-discover-profile-dialog {border:1px solid #d7e6ef;border-radius:18px;background:white;box-shadow:0 24px 90px #082c4480;width:min(740px,calc(100vw - 26px));max-height:min(85vh,900px);padding:0;overflow:auto;color:#103b57}
.ctm-discover-profile-dialog::backdrop {background:#081f31a8}
.ctm-discover-profile-dialog header {position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;padding:15px 22px;background:#0a324d;color:white;font-size:13px;font-weight:800}
.ctm-discover-profile-dialog header button {width:34px;height:34px;background:transparent;color:white;border:1px solid #ffffff65;border-radius:8px;font-size:23px;line-height:1;cursor:pointer}
#ctmDiscoverProfileBody {padding:24px;line-height:1.65;font-size:14px}
#ctmDiscoverProfileBody h3 {font-size:24px;font-weight:850;margin:0 0 4px;color:#0a3048}
.ctm-discover-profile-location {margin:0 0 16px;color:#547284}
.ctm-discover-gallery {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:17px 0}
.ctm-discover-gallery img {width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px;background:#e9f0f4}
.ctm-discover-description {white-space:pre-line;color:#304f63}
.ctm-discover-site-link {display:inline-block;border:1px solid #ee8133;color:#b9550a;padding:9px 13px;border-radius:9px;text-decoration:none;font-weight:800;margin-bottom:15px}
.ctm-discover-availability-note {border-left:3px solid #ee7825;background:#fff7f0;color:#5b4b3e;padding:12px 14px;border-radius:6px;font-size:12px;margin-top:16px}
.ctm-discover-error {color:#ac352b}
@media(max-width:850px){#ctmDiscoverForm{grid-template-columns:minmax(0,1fr) 128px}#ctmDiscoverGo{grid-column:1/-1}.ctm-discover-card{grid-template-columns:84px minmax(0,1fr)}.ctm-discover-cover{width:84px;height:80px}.ctm-discover-card-actions{grid-column:2;justify-content:flex-start}}
@media(max-width:520px){#ctmDiscover{padding:21px 20px}#ctmDiscoverForm{grid-template-columns:1fr}#ctmDiscoverGo{grid-column:auto}#ctmDiscover h4{font-size:18px}.ctm-discover-card{grid-template-columns:76px minmax(0,1fr);gap:10px;padding:9px}.ctm-discover-cover{width:76px;height:82px}.ctm-discover-profile-button{font-size:11px}.ctm-discover-card-actions{flex-wrap:wrap}.ctm-discover-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
