/* Map-first: the map is the application, not an item beneath a landing page. */
:root{--map-header:56px;--map-bottom:calc(68px + env(safe-area-inset-bottom,0px))}
html,body{width:100%;height:100%;margin:0;overflow:hidden}
body{min-height:100dvh;overscroll-behavior:none}
body>header{height:var(--map-header);min-height:var(--map-header);padding:0 12px;gap:12px}
body>header .brand{white-space:nowrap;font-size:21px}
body>header .subtitle{display:none}
body>header .profile{margin-left:auto}
body>header #admin-link{font-size:13px;padding:8px 9px;background:#e7f0ff;border-radius:10px}
body>header #admin-link[hidden]{display:none}
body>footer{display:none}
main.map-first-main{position:relative;width:100%;max-width:none;margin:0;padding:0;height:calc(100dvh - var(--map-header) - var(--map-bottom));min-height:260px;overflow:hidden}
.map-first-main .map-layout{position:absolute;inset:0;display:block;min-height:0;overflow:hidden}
.map-first-main .map-shell{width:100%;height:100%;border:0;border-radius:0;box-shadow:none;min-height:0}
.map-first-main #map{height:100%;width:100%;touch-action:none}
.map-action-bar{position:absolute;z-index:5;left:12px;right:12px;top:12px;display:flex;align-items:flex-start;gap:8px;max-width:100%;pointer-events:none}
.map-action-bar>a,.map-action-bar>button,.map-action-bar>details{pointer-events:auto;flex-shrink:0}
.map-action-bar>a,.map-action-bar>button,.map-action-bar>details>summary{display:flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:8px 13px;font-size:14px;font-weight:700;line-height:1.2;border-radius:15px;background:#fff;color:#1d385d;border:1px solid #dae7f7;box-shadow:0 3px 12px #142e4b22;text-align:center;white-space:normal}
.map-action-bar>a.primary{background:#2877eb;color:#fff;border-color:#2877eb}
.map-filter-popover{position:static;min-width:0}
.map-filter-popover>summary{list-style:none;cursor:pointer}
.map-filter-popover>summary::-webkit-details-marker{display:none}
.map-filter-popover[open]>summary{background:#e5f0ff}
.map-filter-body{position:absolute;left:0;top:54px;width:min(450px,calc(100vw - 24px));max-height:min(72dvh,640px);overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;min-width:0;padding:12px;background:#fffffff5;border:1px solid #d7e3f3;border-radius:18px;box-shadow:0 12px 42px #12305944;backdrop-filter:blur(14px)}
.map-filter-body .toolbar{margin:0 0 8px;gap:8px;flex-wrap:wrap}
.map-filter-body .toolbar label{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:13px}
.map-filter-body .toolbar select{margin:0;padding:9px 7px;font-size:16px;max-width:100%;min-width:0}
.map-filter-body .filters{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}
.map-filter-body .filters button{font-size:13px;padding:8px 12px}
.map-filter-body .extra-filters{margin:10px 0}
.map-filter-body select,.map-filter-body input{min-width:0;max-width:100%;font-size:16px}
.map-first-main #notice:not([hidden]){position:absolute;top:68px;left:12px;right:12px;z-index:6;background:#fff;border-radius:12px;padding:10px;box-shadow:0 4px 20px #12305933;margin:0;color:#284a73;font-size:13px}
.map-first-main .privacy{left:9px;top:auto;bottom:92px;max-width:65%;font-size:10px;padding:5px 8px;border-radius:10px}
.map-first-main .map-layout aside#nearby-sheet{position:absolute;right:12px;bottom:12px;left:auto;width:min(340px,calc(100% - 24px));max-height:70%;z-index:3;margin:0;border-radius:20px;overflow-y:auto;overscroll-behavior:contain;box-shadow:0 5px 24px #17334d44}
.map-first-main .map-layout.sheet-enabled #nearby-sheet{position:absolute;right:12px;left:auto;bottom:12px;max-height:calc(100% - 110px)}
.map-first-main .sheet-enabled:not(.sheet-expanded) #nearby-sheet{width:210px;padding:5px 10px 6px;overflow:hidden}
.map-first-main .sheet-enabled:not(.sheet-expanded) #status{display:none}
.map-first-main .sheet-enabled:not(.sheet-expanded) #nearby-sheet-toggle{display:block;font-size:13px;margin:0;border:0;background:transparent;box-shadow:none;padding:7px}
body>.bottom{height:var(--map-bottom);min-height:var(--map-bottom);max-height:var(--map-bottom);padding-top:5px}
dialog#panel{max-height:calc(100dvh - 28px);overflow:auto;max-width:calc(100vw - 16px)}
dialog#panel :is(input,textarea,select){font-size:16px}
.map-marker button{overflow:visible}
.map-marker .marker-caption{display:block;position:absolute;top:calc(100% + 4px);left:50%;transform:translateX(-50%);border-radius:10px;padding:3px 6px;background:#fffffff2;border:1px solid #e2eaf3;box-shadow:0 2px 9px #1230592a;max-width:130px;min-width:56px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#173458;font-size:11px;font-weight:600;line-height:1.1;pointer-events:none}
.map-marker .marker-caption[hidden]{display:none}
.user-position{width:46px;height:46px;border:3px solid #fff;border-radius:50%;background:linear-gradient(135deg,#2278f4,#1749a5);box-shadow:0 0 0 3px #327ee6,0 5px 16px #123c754a;display:flex;align-items:center;justify-content:center;position:relative;color:#fff;isolation:isolate}
.user-position::after{content:"";position:absolute;bottom:-10px;left:50%;width:12px;height:12px;border-right:3px solid #fff;border-bottom:3px solid #fff;background:#2278f4;transform:translateX(-50%) rotate(45deg);z-index:-1}
.user-position img{width:100%;height:100%;border-radius:50%;object-fit:cover}
.user-position .user-glyph{font-size:24px;line-height:1}
@media(max-width:700px){
 :root{--map-header:52px;--map-bottom:calc(65px + env(safe-area-inset-bottom,0px))}
 body>header{height:var(--map-header);min-height:var(--map-header);padding:0 10px}
 body>header .brand{font-size:20px}
 body>header :is(#profile,#admin-link){font-size:12px;padding:8px}
 .map-action-bar{left:9px;right:9px;top:9px;gap:6px}
 .map-action-bar>a,.map-action-bar>button,.map-action-bar>details>summary{min-height:42px;padding:7px 10px;font-size:13px}
 .map-filter-body{top:48px;max-height:calc(100dvh - var(--map-header) - var(--map-bottom) - 65px);padding:11px}
 .map-first-main .map-layout.sheet-enabled #nearby-sheet{right:9px;left:auto;bottom:8px;max-height:calc(100% - 110px)}
 .map-first-main .sheet-enabled.sheet-expanded #nearby-sheet{right:9px;left:9px;width:auto;max-height:min(60dvh,calc(100% - 110px))}
 .map-first-main .privacy{bottom:67px;left:8px;max-width:55%;font-size:9px}
 .map-first-main #notice:not([hidden]){top:58px;left:8px;right:8px}
 .map-marker .marker-caption{max-width:100px;font-size:10px}
}

/* Compact controls, one-line labels, and map pin silhouettes. */
#close-map-tools{display:block;width:100%;min-height:44px;margin:0 0 10px;padding:9px 13px;position:sticky;top:0;z-index:3;border-radius:13px;border:1px solid #cadef3;background:#f3f7ff;color:#20436f;font-size:15px;font-weight:700;text-align:center;white-space:nowrap}
.map-action-bar{justify-content:flex-start}
.map-action-bar>button,.map-action-bar>details>summary{white-space:nowrap;word-break:keep-all;overflow-wrap:normal;flex-shrink:1;min-width:0}
#map-quick-create .quick-roles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
#map-quick-create .quick-roles button{width:100%;min-width:0;min-height:44px;padding:8px 5px;font-size:clamp(11px,3.2vw,14px);font-weight:700;white-space:nowrap;word-break:keep-all;overflow-wrap:normal}
#create-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#create-choice button{margin:0;min-height:76px;padding:12px 8px;font-size:clamp(14px,3.5vw,17px);font-weight:700;white-space:nowrap}
#create-choice .choice-note{display:block;font-size:11px;font-weight:400;white-space:normal;line-height:1.3;margin-top:6px}
#quick-category-choices[hidden],#quick-subdomain-row[hidden]{display:none!important}
#quick-category-choices{min-width:0}
#quick-category-choices select,#quick-domain,#quick-subdomain{width:100%;max-width:100%;font-size:16px}
.map-marker{padding-bottom:10px;overflow:visible;filter:drop-shadow(0 5px 6px #17335438)}
.map-marker button{border-radius:50% 50% 45% 45%;position:relative}
.map-marker button::after{content:"";position:absolute;left:50%;bottom:-8px;width:13px;height:13px;transform:translateX(-50%) rotate(45deg);background:inherit;border-right:3px solid #fff;border-bottom:3px solid #fff;border-radius:0 0 3px 0;z-index:-1}
.map-marker button img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.map-marker .marker-caption{top:calc(100% + 17px);max-width:126px;font-size:11px;white-space:nowrap}
.map-marker .event-date{display:block;position:absolute;top:-12px;left:50%;transform:translateX(-50%);padding:2px 6px;background:#fff;color:#7442ac;border:1px solid #ae96d4;border-radius:10px;font-size:10px;white-space:nowrap;line-height:1.2;font-weight:750;pointer-events:none;box-shadow:0 2px 8px #12305933}
.map-marker button.event{border-radius:50% 50% 45% 45%;background:#8d67d5;color:#fff}
.map-marker button.event::after{background:#8d67d5}
.user-position{width:48px;height:48px;border-radius:50% 50% 45% 45%;filter:drop-shadow(0 5px 5px #123c753a)}
.user-position::after{bottom:-8px;width:13px;height:13px;border-right:3px solid white;border-bottom:3px solid white;border-radius:0 0 3px 0;z-index:-1;background:#2278f4}
.user-position img{object-fit:cover;border-radius:50%}
@media(max-width:390px){
 .map-action-bar{gap:6px}
 .map-action-bar>button,.map-action-bar>details>summary{padding:8px 9px;font-size:12px}
 #create-choice{gap:8px}
 #create-choice button{padding:12px 6px;font-size:14px}
}

/* Controls stay tappable even when a transient map notification is showing. */
.map-action-bar{z-index:8}
.map-first-main #notice:not([hidden]){z-index:6}

/* Taxi offer education: one small dismissible reminder; never a paywall. */
dialog#taxi-offer-tip{width:min(420px,calc(100vw - 24px));max-height:80dvh;overflow:auto;box-sizing:border-box;padding:22px;border:0;border-radius:20px;box-shadow:0 24px 65px #122e5650;color:#173458}
dialog#taxi-offer-tip::backdrop{background:#1028478a}
dialog#taxi-offer-tip h2{font-size:21px;line-height:1.2;margin:0 0 14px}
dialog#taxi-offer-tip p{font-size:15px;line-height:1.5;margin:10px 0;color:#304967}
dialog#taxi-offer-tip button{display:block;width:100%;min-height:46px;margin:18px 0 0;white-space:nowrap;font-size:16px}

/* Taxi booking: two actual selected map points, a few checkboxes, one submit. */
.taxi-quick{display:grid;gap:10px;min-width:0}
.taxi-mode{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.taxi-mode button{min-width:0;min-height:48px;padding:9px 10px;font-size:clamp(13px,3.5vw,16px);font-weight:700;white-space:nowrap}
.taxi-mode button[aria-pressed=true]{background:#e4efff;border-color:#2879ed;color:#174782}
.taxi-quick :is(.taxi-chat-explanation,.taxi-map-privacy){font-size:13px;line-height:1.45;color:#4f647d;margin:1px 0 7px}
.taxi-quick .form-field{margin:9px 0}
.taxi-quick .form-field :is(input,textarea){font-size:16px;width:100%;max-width:100%}
.taxi-pick-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:0 0 12px}
.taxi-pick-row button{flex:0 0 auto;min-height:43px;padding:9px 12px;background:#edf5ff;border-color:#bfdaff;font-size:13px;white-space:nowrap}
.taxi-pick-row span{font-size:12px;color:#4f647d;overflow-wrap:anywhere;min-width:0;flex:1}
.taxi-quick [hidden]{display:none!important}
.taxi-options{min-width:0;border:1px solid #dce7f4;border-radius:14px;padding:12px;margin:10px 0}
.taxi-options legend{font-size:14px;font-weight:700}
.taxi-options label{display:flex;align-items:center;gap:8px;padding:7px 0;font-size:15px}
.taxi-options input[type=checkbox]{width:19px;height:19px;flex-shrink:0}
.taxi-quick button.primary{display:block;width:100%;min-height:46px;font-size:16px;font-weight:700;white-space:nowrap}
#taxi-quick-return{width:100%;min-height:44px}
.taxi-pick-banner{position:fixed;z-index:1000;top:calc(72px + env(safe-area-inset-top,0px));left:10px;right:10px;max-width:450px;margin:0 auto;padding:13px 15px;background:#f6faff;border:2px solid #2c78df;border-radius:16px;box-shadow:0 10px 28px #12305966;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#193a68;pointer-events:auto}
.taxi-pick-banner strong{font-size:13px;line-height:1.3;max-width:70%}
.taxi-pick-banner button{min-width:75px;min-height:42px;padding:8px;font-size:13px;white-space:nowrap}
.taxi-route-marker{width:35px;height:42px;display:flex;align-items:center;justify-content:center;position:relative;border:3px solid white;border-radius:50% 50% 44% 44%;font-weight:800;color:white;font-size:18px;box-shadow:0 3px 10px #12305955}
.taxi-route-marker::after{content:'';position:absolute;z-index:-1;bottom:-7px;left:50%;width:12px;height:12px;background:inherit;border-right:3px solid white;border-bottom:3px solid white;transform:translateX(-50%) rotate(45deg)}
.direct-chat-note{padding:10px 12px;border-radius:12px;background:#f0f6ff;color:#395579;font-size:13px;line-height:1.45}
@media(max-width:390px){
 .taxi-pick-row{gap:6px}
 .taxi-pick-row button{padding:9px 8px;font-size:12px}
 .taxi-mode button{font-size:13px;padding:8px 5px}
}
/* "Мои": owner-only list; the navigation never opens the old AI chat. */
.my-hub-item{display:flex;flex-direction:column;align-items:flex-start;width:100%;min-height:58px;gap:5px;padding:11px 13px;margin:8px 0;background:#f6f9ff;border:1px solid #d9e6f7;border-radius:13px;text-align:left;white-space:normal}
.my-hub-title{display:block;color:#173458;font-size:15px;font-weight:700;overflow-wrap:anywhere;line-height:1.3}
.my-hub-meta{display:block;color:#58708f;font-size:12px;line-height:1.3}
.my-hub-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}
.my-hub-actions :is(button,a){display:flex;align-items:center;justify-content:center;min-height:45px;margin:0;padding:10px 8px;border:1px solid #d7e3f3;border-radius:13px;background:white;color:#27517d;white-space:nowrap;font-size:clamp(12px,3.5vw,15px)}

/* Browse services as professions, not a thousand-field form. */
#quick-profession[hidden],#quick-farm-producer[hidden]{display:none!important}
#quick-profession{display:grid;gap:9px;margin:10px 0 8px;padding:10px;border:1px solid #d9e6f4;border-radius:14px;background:#f8fbff}
#quick-profession .form-field{margin:5px 0;min-width:0}
#quick-profession select,#quick-profession input{font-size:16px;width:100%;max-width:100%;min-width:0}
.profession-field{min-width:0;border:1px solid #dce7f4;border-radius:12px;padding:10px;margin:8px 0}
.profession-field legend{font-size:14px;font-weight:700;padding:0 4px}
.profession-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.profession-choices label{display:flex;gap:7px;align-items:center;min-width:0;font-size:13px;line-height:1.35;overflow-wrap:anywhere}
.profession-choices input{flex:0 0 18px;width:18px!important;height:18px}
#quick-farm-producer{display:grid;gap:7px;margin:10px 0;padding:11px;border:1px solid #cde2cb;border-radius:14px;background:#f5fff3}
#quick-farm-producer .form-field{margin:5px 0}
#quick-farm-producer :is(select,input){font-size:16px}
.farm-explainer{font-size:14px;line-height:1.4;color:#32533b;margin:3px 0}
#quick-farm-producer .check{margin:5px 0;line-height:1.4;font-size:14px}
#quick-farm-producer .check input{flex:0 0 19px;min-width:19px;min-height:19px}
@media(max-width:380px){.profession-choices{grid-template-columns:1fr}}

/* Public events are a separate map/social destination, not a provider profession. */
.public-event-choice{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:64px;margin:10px 0 4px;padding:10px 12px;gap:4px;border:1px solid #ccb8eb;background:#f4effd;color:#633c93;border-radius:15px;font-size:16px;font-weight:750;white-space:normal;text-align:center}
.public-event-choice .choice-note{font-size:12px;font-weight:450;line-height:1.35;color:#6e5787}
.public-event-note{font-size:13px;line-height:1.45;margin:0 0 12px;color:#465e7f}
#event-form select[name=category]{width:100%;max-width:100%;min-height:46px;font-size:16px}

/* Opt-in local news layer, human-created and automatically archived in 24 hours. */
.local-news-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}
.local-news-tools button{width:100%;min-height:42px;margin:0;padding:8px 6px;font-size:clamp(11px,3vw,14px);white-space:nowrap;border:1px solid #d8e3f1;background:#eff6ff;border-radius:12px;color:#225283}
.map-marker button.news{background:#f39d37;border:3px solid #fff;color:#fff;border-radius:50% 50% 44% 44%;font-size:22px}
.map-marker button.news::after{background:#f39d37}
.map-marker button.news .event-date{color:#9c5e11;border-color:#f7c173}
.local-news-info,.local-news-location,.local-news-disclaimer{padding:9px 11px;border-radius:12px;background:#f5f9fe;color:#48637f;font-size:13px;line-height:1.45;margin:0 0 13px}
.local-news-card-body{font-size:14px;color:#294662;line-height:1.45;overflow-wrap:anywhere}
.local-news-card-body p{white-space:pre-wrap}
.local-news-archive-row{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%;margin:9px 0;padding:11px;border:1px solid #dce7f5;border-radius:14px;background:#f8fbff;text-align:left;white-space:normal}
.local-news-archive-row b{font-size:15px;color:#173658}
.local-news-archive-row small{color:#55718d;font-size:12px}
.local-news-archive-row span{font-size:13px;color:#344a66;max-width:100%;overflow-wrap:anywhere}
#local-news-form .form-field{margin:10px 0}
#local-news-form :is(input,textarea,select){font-size:16px}
#local-news-form button.primary{display:block;width:100%;min-height:45px;white-space:nowrap}
#local-news-archive-next,#local-news-archive-close,#local-news-back{width:100%;min-height:44px;margin:7px 0}

/* Vstreto: existing public events appear on the same Match2Go map. */
.map-marker button.event.vstreto-source{border-color:#8bd5cb;box-shadow:0 2px 9px rgba(12,109,102,.26)}
.map-marker button.event.vstreto-source .badge{background:#137a73;color:#fff;font-weight:700}
.vstreto-event-card{display:grid;gap:7px;margin:10px 0;padding:12px;border:1px solid #d7e9e5;border-radius:14px;background:#f6fcfa;color:#254b47;font-size:14px;line-height:1.45;overflow-wrap:anywhere}
.vstreto-event-card p{margin:0;white-space:pre-wrap}
.vstreto-event-card .vstreto-event-caution{font-size:12px;color:#526b67;border-top:1px solid #dcece8;padding-top:8px}
.vstreto-event-avatar{width:56px;height:56px;object-fit:cover;border-radius:50%;border:2px solid #beddd7}
#card-actions a{display:inline-block;max-width:100%;overflow-wrap:anywhere;margin:6px 8px 6px 0}

/* Organizations share Match2Go's account and Events layer. */
#organization-profile{margin:14px 0;padding:12px;border:1px solid #d9e5ec;border-radius:14px;background:#f6fafb}
#organization-profile>summary{font-weight:700;cursor:pointer;min-height:40px}
#organization-profile form{display:grid;gap:10px;margin-top:12px}
#organization-profile .form-field{display:grid;gap:6px;margin:0}
#organization-profile input,#organization-profile textarea,#organization-profile select{font-size:16px;max-width:100%}
.organization-info{font-size:13px;color:#4b6472;line-height:1.45}
#organization-status{font-weight:600;font-size:14px;color:#245775}
.organization-public{margin:12px 0;padding:12px;border-radius:12px;background:#edf8f5;font-size:14px;color:#215953}
#event-organization-option{padding:10px 12px;border:1px solid #b5dfd6;background:#effaf7;border-radius:12px;margin:10px 0}
#event-organization-option[hidden]{display:none}
.event-official-badge{font-weight:700;color:#1f665e;margin:8px 0}
.map-marker button.event.official-event{border:3px solid #1d8171;box-shadow:0 3px 11px rgba(15,106,84,.28)}

/* M2G 2026-10-25: consistent, single-purpose map sheet and event cards. */
:root{--m2g-ink:#1b3456;--m2g-muted:#61738b;--m2g-stroke:#dce7f2;--m2g-accent:#2877eb}
body>header{box-shadow:0 1px 0 #e5edf4}
body>header .brand{font-weight:850;letter-spacing:-.9px}
body>header :is(#profile,#admin-link,.profile){min-height:38px;border-radius:999px;border:1px solid var(--m2g-stroke);background:#fff;color:var(--m2g-ink);box-shadow:none}
body>header #admin-link{font-size:12px;padding:8px 11px;background:#f2f6fc}
.map-action-bar>button,.map-action-bar>details>summary{border-radius:999px;border:1px solid #dae5f1;box-shadow:0 3px 13px #0c25431c;font-size:13px;min-height:42px;padding:8px 13px;line-height:1}
.map-filter-popover[open]>summary{background:#eef5ff;color:#1554a9}
.map-filter-body{border-radius:18px;background:#fffffff9}
.map-first-main .map-layout aside#nearby-sheet{background:#fff;border:1px solid #dfe8f2;box-shadow:0 10px 32px #142f4b24;border-radius:22px;padding:0;scrollbar-width:thin;overscroll-behavior:contain}
#nearby-sheet-content{padding:14px 16px 16px;min-width:0}
#nearby-sheet-content[hidden],#card[hidden],#clear-selection[hidden],#save-map-search[hidden],#map-retry[hidden]{display:none!important}
.nearby-sheet-heading{padding:0 0 10px}
.nearby-sheet-eyebrow{color:#68809b;margin:0 0 4px;letter-spacing:1.25px;font-size:10px;font-weight:750;line-height:1.2}
#nearby-sheet #status{color:var(--m2g-ink);font-weight:750;font-size:16px;line-height:1.4;border:0;padding:0;margin:0}
#nearby-sheet #status[data-state="error"]{color:#a83945;font-weight:650;font-size:13px}
#nearby-sheet #map-retry{width:auto;display:inline-flex;margin:10px 0 0;min-height:38px;padding:8px 12px;font-size:13px;border-radius:12px}
#nearby-sheet #nearby-list{margin:0;overflow:visible;border-top:1px solid #eef2f7}
#nearby-sheet #nearby-list>summary{list-style:none;padding:12px 0 4px;margin:0;color:var(--m2g-muted);font-size:12px;font-weight:650;cursor:pointer}
#nearby-sheet #nearby-list>summary::-webkit-details-marker{display:none}
#nearby-sheet #list{max-height:none;overflow:visible;padding:0}
#nearby-sheet #list button.nearby-list-item{margin:0;min-height:69px;width:100%;padding:12px 4px;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:4px;text-align:left;border:0;border-bottom:1px solid #edf1f6;border-radius:0;background:transparent;box-shadow:none;white-space:normal}
#nearby-sheet #list button.nearby-list-item:last-child{border-bottom:0}
#nearby-sheet #list button.nearby-list-item:is(:hover,:focus-visible),#nearby-sheet #list button.nearby-list-item.is-selected{background:#f5f9ff}
.nearby-item-kind{color:#3577c5;text-transform:uppercase;font-size:10px;letter-spacing:.65px;font-weight:750;line-height:1.2}
.nearby-item-title{font-size:14px;line-height:1.32;font-weight:700;color:var(--m2g-ink);overflow-wrap:anywhere}
.nearby-item-info{color:var(--m2g-muted);font-size:12px;line-height:1.35;overflow-wrap:anywhere}
#nearby-sheet #save-map-search{margin:12px 0 0;padding:9px 13px;min-height:40px;width:100%;font-size:13px;border-radius:11px}
#nearby-sheet[data-view="detail"] #nearby-list,#nearby-sheet[data-view="detail"] #save-map-search{display:none}
#nearby-sheet #clear-selection{display:inline-flex;align-items:center;justify-content:flex-start;margin:1px 0 12px;padding:8px 10px;min-height:40px;border:0;background:#f1f6fd;color:#1f5ba2;border-radius:11px;font-size:13px;font-weight:700}
#nearby-sheet #card{min-width:0;padding:0 0 6px;overflow-wrap:anywhere}
#nearby-sheet #card>p:first-of-type{font-weight:750;letter-spacing:.6px;text-transform:uppercase;color:#3975b4;font-size:11px;line-height:1.35;margin:2px 0 8px}
#nearby-sheet #card h2{font-size:21px;line-height:1.23;letter-spacing:-.4px;color:var(--m2g-ink);font-weight:780;margin:0 0 10px}
#nearby-sheet #card>p{font-size:13px;line-height:1.5;margin:6px 0 10px}
#nearby-sheet #card>small{display:block;color:var(--m2g-muted);font-size:11px}
#nearby-sheet #card.is-event>p:nth-of-type(2),#nearby-sheet #card.is-event>small{display:none}
#nearby-sheet #card .reputation{margin:10px 0 12px;font-size:12px}
#nearby-sheet #card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:stretch;padding-top:10px}
#nearby-sheet #card-actions .m2g-action,#nearby-sheet #card-actions>a{display:flex;justify-content:center;align-items:center;width:100%;min-height:43px;max-width:100%;margin:0!important;border:1px solid #d8e5f2;border-radius:12px;padding:10px 9px;font-size:13px;line-height:1.25;text-align:center;font-weight:660;background:#f8fbff;color:#24476d;white-space:normal;overflow-wrap:anywhere;box-shadow:none}
#nearby-sheet #card-actions .m2g-action-primary{grid-column:1/-1;background:var(--m2g-accent);color:#fff;border-color:var(--m2g-accent);font-weight:760;font-size:14px}
#nearby-sheet #card-actions .m2g-more-actions{grid-column:1/-1;border-top:1px solid #eef2f7;margin-top:4px;padding-top:7px}
#nearby-sheet #card-actions .m2g-more-actions>summary{padding:8px 0;font-size:12px;color:#5d748d;cursor:pointer;min-height:38px}
#nearby-sheet #card-actions .m2g-more-actions-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#nearby-sheet #card-actions .m2g-more-actions-body button{background:#fff;font-weight:550;color:#587088}
#nearby-sheet #card-actions a.m2g-event-source{color:#2466a5}
.m2g-event-facts{border-top:1px solid #edf1f7;padding:12px 0 3px;margin:12px 0 0;display:grid;gap:10px}
.m2g-event-fact{display:grid;grid-template-columns:74px minmax(0,1fr);gap:10px;align-items:baseline;font-size:13px;line-height:1.42}
.m2g-event-fact span{color:var(--m2g-muted);font-size:12px}
.m2g-event-fact strong{font-weight:630;color:var(--m2g-ink);overflow-wrap:anywhere}
#nearby-sheet #card .m2g-event-description{color:#415773;white-space:pre-line;font-size:13px;line-height:1.55;margin:6px 0 2px}
.m2g-event-description-more{border-top:1px solid #eff2f7;margin:1px 0}
.m2g-event-description-more summary{font-size:12px;color:#2169bc;font-weight:650;cursor:pointer;padding:9px 0}
.m2g-event-description-more p{white-space:pre-wrap;color:#435b74;line-height:1.55;font-size:13px;margin:5px 0}
.m2g-event-participants{font-size:12px;color:var(--m2g-muted);margin:1px 0}
.m2g-event-finished{font-size:13px;color:#ad4653;font-weight:650}
.m2g-event-source{display:inline-flex;min-height:36px;padding:6px 0;align-items:center;color:#236bad;font-size:12px;text-decoration:underline;text-underline-offset:3px}
#nearby-sheet #card .event-official-badge{display:block;color:#196f64;background:#eff9f6;border-radius:11px;padding:10px 12px;margin:8px 0;font-size:12px}
.my-hub-heading{font-size:13px;letter-spacing:.2px;margin:20px 0 7px;color:#304a69}
.my-hub-actions :is(a,button){white-space:normal!important;text-align:center;font-size:13px!important;line-height:1.28}
#panel .my-hub-item{border-radius:12px;border:1px solid #e0e8f1;background:#fff;margin:7px 0;padding:13px;box-shadow:none}
body>.bottom{box-shadow:0 -4px 16px #1636540d}
body>.bottom :is(button,a){outline-offset:-3px}
@media(max-width:700px){
 .map-first-main .map-layout.sheet-enabled:not(.sheet-expanded) #nearby-sheet{left:10px;right:10px;bottom:10px;width:auto;max-height:75px;padding:0;overflow:hidden;border-radius:17px}
 .map-first-main .sheet-enabled:not(.sheet-expanded) #nearby-sheet-toggle{display:flex;width:100%;height:64px;align-items:center;justify-content:space-between;margin:0;border:0;background:#fff;border-radius:17px;padding:8px 18px;text-align:left;color:var(--m2g-ink);font-size:15px;font-weight:750;box-shadow:none}
 .map-first-main .sheet-enabled:not(.sheet-expanded) #nearby-sheet-toggle:after{content:"⌃";font-size:23px;color:#4174aa;line-height:1}
 .map-first-main .map-layout.sheet-enabled.sheet-expanded #nearby-sheet{bottom:8px;left:8px;right:8px;width:auto;max-height:min(58dvh,calc(100% - 94px));overflow-y:auto;border-radius:19px}
 #nearby-sheet-content{padding:14px 16px 18px}
 #nearby-sheet #card-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
 .map-first-main .privacy{bottom:84px}
}
@media(max-width:375px){
 body>header .brand{font-size:18px}
 body>header{gap:6px;padding:0 8px}
 body>header :is(#profile,#admin-link,.profile){font-size:11px;padding:6px 8px}
 .map-action-bar>button,.map-action-bar>details>summary{padding:8px 11px;font-size:12px}
 #nearby-sheet-content{padding:12px}
}
@media(prefers-reduced-motion:reduce){#nearby-sheet *{scroll-behavior:auto}}

/* Compact disclosure handle while browsing nearby on mobile. */
@media(max-width:700px){
 .map-first-main .sheet-enabled.sheet-expanded #nearby-sheet-toggle{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:100%;min-height:52px;margin:0;padding:7px 14px;border:0;border-radius:0;background:#fff;color:#55718e;font-size:12px;font-weight:650;box-shadow:none}
 .map-first-main .sheet-enabled.sheet-expanded #nearby-sheet-toggle:before{content:"";display:block;width:34px;height:4px;border-radius:99px;background:#a6b7c9}
}

/* One icon language across map controls and bottom navigation. */
.m2g-icon{width:20px;height:20px;display:inline-block;vertical-align:middle;flex-shrink:0}
body>header #notifications{display:inline-flex;align-items:center;justify-content:center;width:39px;min-width:39px;padding:7px}
body>header #notifications .m2g-icon{width:19px;height:19px}
.map-action-bar>button,.map-action-bar>details>summary{gap:7px}
.map-action-bar .m2g-icon{width:17px;height:17px}
body>.bottom :is(a,button){display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-height:58px;padding:7px 4px;color:#60748f}
body>.bottom .m2g-icon{width:23px;height:23px;stroke-width:1.8}
body>.bottom span,body>.bottom button span{font-size:11px;line-height:1.15;letter-spacing:0;color:inherit}
body>.bottom :is(a[aria-current="page"],button[aria-current="page"]){color:var(--m2g-accent);font-weight:720}
body>.bottom :is(a,button):focus-visible{outline:2px solid #2e75e7;outline-offset:-3px}
@media(max-width:375px){.map-action-bar .m2g-icon{width:15px;height:15px}.map-action-bar>button,.map-action-bar>details>summary{gap:5px}}

/* Zoom-adaptive map pins. The 46px invisible target stays tappable on iPhone. */
#map{--m2g-pin-size:30px;--m2g-cluster-size:34px;--m2g-glyph-size:17px}
#map[data-pin-zoom="far"]{--m2g-pin-size:19px;--m2g-cluster-size:26px;--m2g-glyph-size:12px}
#map[data-pin-zoom="wide"]{--m2g-pin-size:24px;--m2g-cluster-size:30px;--m2g-glyph-size:14px}
#map[data-pin-zoom="street"]{--m2g-pin-size:30px;--m2g-cluster-size:36px;--m2g-glyph-size:17px}
#map[data-pin-zoom="close"]{--m2g-pin-size:39px;--m2g-cluster-size:43px;--m2g-glyph-size:23px}
.m2g-type-need{--m2g-kind-color:#246de0;--m2g-kind-tint:#eaf2ff}
.m2g-type-offer{--m2g-kind-color:#178766;--m2g-kind-tint:#e6f7f0}
.m2g-type-social{--m2g-kind-color:#7954c8;--m2g-kind-tint:#f0eaff}
.m2g-type-question{--m2g-kind-color:#b57b1c;--m2g-kind-tint:#fff4db}
.m2g-type-event{--m2g-kind-color:#b45191;--m2g-kind-tint:#fceaf5}
.m2g-type-news{--m2g-kind-color:#d77a1f;--m2g-kind-tint:#fff0df}
.m2g-type-person{--m2g-kind-color:#536c84;--m2g-kind-tint:#edf2f8}
.m2g-type-now{--m2g-kind-color:#db6346;--m2g-kind-tint:#fff0eb}
.m2g-type-taxi{--m2g-kind-color:#167f9d;--m2g-kind-tint:#e4f6fa}
.m2g-type-freight_taxi{--m2g-kind-color:#5668b2;--m2g-kind-tint:#edf0ff}
.m2g-type-farm{--m2g-kind-color:#59873d;--m2g-kind-tint:#eef7e9}
#map .map-marker.m2g-marker{width:46px;height:46px;display:grid;place-items:center;padding:0;margin:0;overflow:visible;filter:none}
#map .map-marker.m2g-marker button.m2g-marker-target{position:relative;display:block;width:46px;height:46px;min-width:46px;min-height:46px;margin:0;padding:0;border:0!important;border-radius:50%!important;background:transparent!important;color:inherit!important;box-shadow:none!important;outline:none;overflow:visible;isolation:isolate}
#map .map-marker.m2g-marker button.m2g-marker-target::after{content:none!important;display:none!important}
#map .map-marker.m2g-marker .m2g-pin-face{position:absolute;left:50%;bottom:5px;display:flex;align-items:center;justify-content:center;width:var(--m2g-pin-size);height:var(--m2g-pin-size);padding:1px;background:var(--m2g-kind-color);border:2px solid #fff;border-radius:50%;color:#fff;box-shadow:0 2px 8px #14315140;transform:translateX(-50%);transition:width 130ms ease-out,height 130ms ease-out;pointer-events:none}
#map .map-marker.m2g-marker .m2g-pin-face::after{content:"";position:absolute;bottom:-3px;left:50%;width:6px;height:6px;background:var(--m2g-kind-color);border-right:1px solid #fff;border-bottom:1px solid #fff;transform:translateX(-50%) rotate(45deg);z-index:-1}
#map .m2g-pin-svg{display:block;width:var(--m2g-glyph-size);height:var(--m2g-glyph-size);flex:0 0 auto;stroke-width:2;pointer-events:none}
#map .m2g-marker.m2g-type-need .m2g-pin-face{border-radius:50%}
#map .m2g-marker.m2g-type-offer .m2g-pin-face{border-radius:31%}
#map .m2g-marker.m2g-type-social .m2g-pin-face{border-radius:40% 40% 60% 60%}
#map .m2g-marker.m2g-type-question .m2g-pin-face{border-radius:35% 35% 35% 7%}
#map .m2g-marker.m2g-type-event .m2g-pin-face{border-radius:25%}
#map .m2g-marker.m2g-type-news .m2g-pin-face{border-radius:16%;transform:translateX(-50%) rotate(-5deg)}
#map .m2g-marker.m2g-type-person .m2g-pin-face{border-radius:50%;box-shadow:0 2px 8px #19344935}
#map .m2g-marker.m2g-type-taxi .m2g-pin-face{border-radius:35%}
#map .m2g-marker.m2g-type-freight_taxi .m2g-pin-face{border-radius:22%}
#map .m2g-marker.m2g-type-farm .m2g-pin-face{border-radius:43% 43% 18% 43%}
#map .m2g-marker.m2g-type-person img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}
#map .map-marker.m2g-marker .m2g-pin-status{position:absolute;bottom:3px;left:calc(50% + var(--m2g-pin-size)*.22);right:auto;width:13px;height:13px;min-width:13px;padding:1px;border:1.5px solid white;border-radius:50%;display:grid;place-items:center;font-size:10px;line-height:1;background:#526c84;color:#fff;box-shadow:0 1px 5px #142f4b33;pointer-events:none}
#map .map-marker.m2g-marker .m2g-status-now{background:#df5b3a}
#map .map-marker.m2g-marker .m2g-status-official{background:#247f68}
#map .map-marker.m2g-marker .m2g-status-owner{background:#29466d}
#map .m2g-status-svg{width:9px;height:9px;stroke-width:2.5}
#map .map-marker.m2g-marker button.m2g-marker-target.is-selected .m2g-pin-face,
#map .map-marker.m2g-marker button.m2g-marker-target:focus-visible .m2g-pin-face{box-shadow:0 0 0 3px #fff,0 0 0 6px #183b61,0 3px 10px #14315150}
#map .map-marker.m2g-marker button.m2g-marker-target.now .m2g-pin-face{box-shadow:0 0 0 3px #f9ad8f,0 3px 9px #14315140}
#map .map-marker.m2g-marker .marker-caption{position:absolute;top:calc(100% + 5px);left:50%;max-width:135px;min-width:0;width:max-content;transform:translateX(-50%);padding:4px 7px;border-radius:8px;background:#fffffff2;color:#173458;border:1px solid #dce8f4;box-shadow:0 1px 7px #15314d26;font-size:11px;font-weight:650;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}
#map .map-marker.m2g-marker .event-date{position:absolute;top:-10px;left:50%;transform:translateX(-50%);font-size:10px;line-height:1.15;font-weight:700;padding:3px 5px;border:1px solid #e4d6e1;border-radius:7px;background:#fff;color:#9b3979;box-shadow:0 1px 6px #19344924;pointer-events:none}
#map:not([data-pin-zoom="close"]) .m2g-marker .marker-caption,
#map:not([data-pin-zoom="close"]) .m2g-marker .event-date{display:none!important}
#map[data-pin-zoom="far"] .m2g-marker .m2g-pin-status{width:10px;height:10px;min-width:10px;font-size:8px}
#map .map-cluster{display:flex;flex-direction:column;align-items:center;justify-content:center;width:var(--m2g-cluster-size);height:var(--m2g-cluster-size);min-width:0;min-height:0;border:2px solid #fff;background:#244c6d;color:#fff;border-radius:50%;padding:0;line-height:1;font-size:clamp(11px,1.5vw,17px);font-weight:780;box-shadow:0 3px 10px #16324b36;overflow:visible}
#map .map-cluster small{display:none!important}
#map[data-pin-zoom="close"] .map-cluster small{display:block!important;font-size:8px;font-weight:550;margin-top:2px}
#map[data-pin-zoom="far"] .map-cluster{font-size:11px}
.map-filter-body .filters button.m2g-layer-toggle{display:inline-flex;align-items:center;justify-content:flex-start;gap:7px;min-height:39px;padding:8px 11px;margin:0;border:1px solid #dce6f1;border-radius:11px;background:#fff;color:#294561;font-size:13px;line-height:1.3;font-weight:650;box-shadow:none}
.map-filter-body .filters button.m2g-layer-toggle[aria-pressed="true"]{background:var(--m2g-kind-tint);border-color:var(--m2g-kind-color);color:var(--m2g-kind-color)}
.map-filter-body .filters .m2g-filter-svg{height:19px;width:19px;min-width:19px;color:var(--m2g-kind-color);stroke-width:2;flex-shrink:0}
.map-filter-body .filters button.m2g-layer-toggle:focus-visible{outline:2px solid #2879ed;outline-offset:2px}
@media(prefers-reduced-motion:reduce){#map .map-marker.m2g-marker .m2g-pin-face{transition:none}}

/* MapLibre zoom control belongs opposite the map filters; prevent overlap. */
#map .maplibregl-ctrl-top-left{left:auto;right:10px;top:9px;z-index:2}
#map .maplibregl-ctrl-top-left .maplibregl-ctrl{margin:0 0 7px 0}
#map .maplibregl-ctrl-top-left button{min-width:30px;min-height:30px}
@media(max-width:375px){#map .maplibregl-ctrl-top-left{right:7px;top:8px}}

/* Density overlay uses a separate legend symbol, not a misleading map pin. */
.m2g-type-heat{--m2g-kind-color:#516b81;--m2g-kind-tint:#edf2f8}

/* Owner's exact map marker is an owner-only overlay, never clustered publicly. */
#map .maplibregl-marker.m2g-own-marker{z-index:10}
#map .m2g-own-marker .m2g-pin-face{box-shadow:0 0 0 2px #fff,0 0 0 4px #1d426b,0 3px 10px #102f4d55!important}
#map .m2g-own-marker .m2g-pin-status{background:#1d426b!important}
#panel .my-hub-entry{display:flex;flex-direction:column;gap:6px;padding:13px 12px;margin:10px 0;background:#fff;border:1px solid #dfe8f3;border-radius:14px;min-width:0}
#panel .my-hub-entry .my-hub-title{font-size:15px;line-height:1.3;color:#163a61;overflow-wrap:anywhere}
#panel .my-hub-entry .my-hub-meta{font-size:12px;line-height:1.4;color:#647991;overflow-wrap:anywhere}
#panel .my-hub-entry-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:7px}
#panel .my-hub-entry-actions button{min-height:43px;border-radius:11px;padding:9px 6px;margin:0;font-size:13px;white-space:normal;line-height:1.2;font-weight:650}
#panel .my-hub-entry-actions button[data-focus-my]{background:#eaf2ff;border-color:#b5d2fb;color:#1c5da8}
@media(max-width:360px){#panel .my-hub-entry-actions{gap:6px}}

/* Short nearby questions: one form, visual expiry selection, no AI step. */
.point-question-hours{min-width:0;border:0;padding:0;margin:11px 0 13px}
.point-question-hours legend{font-size:13px;line-height:1.5;color:#233d5e;font-weight:650;padding:0 0 7px}
.point-question-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
.point-question-duration{position:relative;display:block;min-width:0}
.point-question-duration input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0}
.point-question-duration span{display:flex;align-items:center;justify-content:center;min-height:42px;padding:8px 2px;border:1px solid #d8e4f3;border-radius:12px;background:#fff;color:#3b5574;font-size:13px;font-weight:700;white-space:nowrap}
.point-question-duration input:checked+span{background:#2677e8;color:#fff;border-color:#2677e8}
.point-question-duration input:focus-visible+span{outline:3px solid #84b8ff;outline-offset:2px}
.point-question-location{font-size:12px;color:#56718c;line-height:1.45;margin:11px 0}
.point-question-notify{font-size:12px;color:#647c96;line-height:1.45;margin:12px 0}
.point-chat-lifetime{background:#f1f7ff;border-radius:10px;padding:9px 12px;color:#3d648b;font-size:12px;line-height:1.4}
@media(max-width:360px){.point-question-options{gap:4px}.point-question-duration span{font-size:12px;min-height:40px}}

/* Local room topics: shared, legible labels instead of technical free text. */
.room-browser-list{display:grid;gap:8px;margin:13px 0}
.room-category-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px;border:1px solid #dfebf5;border-radius:13px;background:#fff}
.room-category-row[hidden],#room-topic-empty[hidden]{display:none!important}
.room-category-row>div{min-width:0;display:grid;gap:4px}
.room-category-row strong{font-size:14px;overflow-wrap:anywhere}
.room-category-row small{font-size:12px;color:#5d7790}
.room-category-row button{width:auto;min-height:39px;padding:8px 12px;border-radius:11px;background:#eef5ff;color:#1b66c1;flex-shrink:0}
#room-topic-filter{width:100%;min-height:44px;font:inherit;padding:9px 12px;border:1px solid #d8e5f2;border-radius:12px;background:#fff;color:#203f63}
#room-form select[name="category"]{width:100%;min-height:45px;border:1px solid #dae5f2;border-radius:11px;background:#fff;font:inherit;color:#203e61;padding:9px}
@media(max-width:375px){.room-category-row{gap:7px}.room-category-row button{padding:7px 9px;font-size:12px}}

/* Nationwide reach and creator collaboration: map remains the only zoom surface. */
#nationwide-search{display:flex;align-items:center;justify-content:center;border:1px solid #bad4fa;border-radius:12px;background:#eef5ff;color:#235fb4;padding:8px 11px;font-weight:750;white-space:nowrap;min-height:41px;max-width:130px;flex-shrink:0}
.reach-fields{border:1px solid #dce6f2;border-radius:13px;background:#f9fbfe;padding:13px;margin:12px 0;display:grid;gap:8px;min-width:0}
.reach-fields legend{font-weight:800;color:#2a537b;padding:0 6px}
/* Full-width text controls must not stretch checkbox inputs: on iPhone
   this forced the label to a one-character column and hundreds of px tall. */
.reach-fields select,.reach-fields input:not([type=checkbox]):not([type=radio]){width:100%;max-width:100%;box-sizing:border-box}
.reach-fields input[type=checkbox]{appearance:auto;flex:0 0 20px;width:20px;min-width:20px;max-width:20px;height:20px;min-height:20px;padding:0;margin:0;accent-color:#1684ef}
.reach-mode{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.reach-mode>strong{grid-column:1/-1;font-size:13px;line-height:1.4}
.reach-mode .check,.reach-fields>.reach-public{display:flex;align-items:center;justify-content:flex-start;gap:10px;min-width:0;min-height:44px;max-width:100%;padding:8px 10px;margin:0;font-size:14px;line-height:1.35;white-space:normal;overflow-wrap:break-word;word-break:normal}
.reach-mode .check{border:1px solid #dce6f2;border-radius:10px;background:#fff}
.reach-public{border-top:1px solid #e4ecf6;padding-top:10px}
.nationwide-filter{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:18px}
.nationwide-filter>.form-field:nth-child(4),.nationwide-filter>.primary{grid-column:1/-1}
.nationwide-result,.creator-result,.creator-inquiry{padding:13px;margin:10px 0;border:1px solid #dce6f2;border-radius:13px;background:#fff;display:grid;gap:7px;min-width:0}
.nationwide-result h3,.creator-result h3,.creator-inquiry h3{margin:0;font-size:16px;overflow-wrap:anywhere}
.nationwide-result p,.creator-result p,.creator-inquiry p{margin:0;color:#536c84;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.nationwide-result button,.creator-result button,.creator-inquiry button{justify-self:start;border:1px solid #bcd4f4;border-radius:10px;background:#eef5ff;color:#2466b6;padding:9px 12px;min-height:40px}
.nationwide-result small,.creator-result small,.creator-inquiry small{color:#6d8196;font-size:11px;overflow-wrap:anywhere}
.creator-profile-fields{border:1px solid #dce6f2;padding:12px;border-radius:13px;margin:12px 0;background:#f9fbfe;display:grid;gap:12px}
.creator-profile-fields fieldset{border:1px solid #dce6f2;border-radius:10px;display:grid;grid-template-columns:1fr 1fr;gap:4px 10px;padding:10px}
.creator-profile-fields legend{font-weight:750;font-size:12px}
.creator-chat-messages{display:grid;gap:9px;margin:12px 0}
.creator-chat-messages>div{background:#f0f4f8;border-radius:12px;padding:10px;max-width:92%;overflow-wrap:anywhere}
.creator-chat-messages>div.mine{margin-left:auto;background:#e5efff}
.creator-chat-messages small{color:#6f8198}
.creator-chat-messages p{margin:5px 0}
@media(max-width:440px){#nationwide-search{max-width:110px;min-height:38px;padding:7px 8px;font-size:12px}.nationwide-filter{grid-template-columns:1fr}.nationwide-filter>.form-field,.nationwide-filter>.primary{grid-column:auto}.reach-mode{grid-template-columns:1fr}.creator-profile-fields fieldset{grid-template-columns:1fr}}

.reach-fields [hidden],.nationwide-filter [hidden]{display:none!important}

/* Organization-owned exact places: compact pin at normal zoom, small banner
   only at street scale. Does not cover the map with ad overlays. */
.m2g-type-organization{--m2g-kind-color:#267e70;--m2g-kind-tint:#e5f8f1}
#map .m2g-marker.m2g-type-organization .m2g-pin-face{border-radius:30% 30% 42% 42%}
#map .m2g-marker.m2g-type-organization .m2g-org-banner-mini{display:none;position:absolute;left:50%;bottom:calc(100% + 3px);transform:translateX(-50%);width:112px;height:37px;max-width:min(112px,30vw);border:2px solid #fff;border-radius:9px;background:#fff;box-shadow:0 2px 12px #0b20354d;overflow:hidden;pointer-events:auto}
#map .m2g-marker.m2g-type-organization .m2g-org-banner-mini img{width:100%;height:100%;object-fit:cover;border-radius:6px;display:block}
#map:is([data-pin-zoom="street"],[data-pin-zoom="close"]) .m2g-marker.m2g-type-organization .m2g-org-banner-mini{display:block}
#map:is([data-pin-zoom="street"],[data-pin-zoom="close"]) .m2g-marker.m2g-type-organization:has(.m2g-org-banner-mini) .marker-caption{display:none!important}
#map .m2g-marker.m2g-type-organization .m2g-marker-target:focus-visible .m2g-org-banner-mini{outline:3px solid #234e84;outline-offset:3px}
#card .organization-card-banner{width:min(100%,300px);max-height:110px;height:auto;aspect-ratio:10/3;object-fit:cover;border-radius:12px;border:1px solid #d6e8ed;display:block;margin:10px 0}
.organization-place-settings{margin:18px 0 12px;padding:14px;border:1px solid #d4e5eb;border-radius:14px;background:#f6fbf8;min-width:0}
.organization-place-settings h3{font-size:16px;line-height:1.3;margin:8px 0}
.organization-place-settings :is(p,.organization-place-hint,.organization-place-coordinates){font-size:13px;line-height:1.4;color:#355468;overflow-wrap:anywhere}
.organization-place-settings .check{display:flex;align-items:flex-start;gap:9px;line-height:1.4;margin:10px 0;font-size:14px}
.organization-place-settings .check input[type="checkbox"]{flex:0 0 20px;width:20px;height:20px}
.organization-place-settings button{min-height:42px;max-width:100%;white-space:normal}
.organization-place-settings #organization-banner-controls{margin-top:15px;padding-top:11px;border-top:1px solid #d4e5eb;min-width:0}
.organization-place-settings #organization-banner-controls img{display:block;width:min(100%,288px);height:auto;aspect-ratio:10/3;object-fit:cover;border-radius:10px;border:1px solid #d8e4ef;margin:10px 0}
.organization-place-settings #organization-banner-controls img[hidden]{display:none}
.organization-banner-review-item{padding:12px;border-bottom:1px solid #d9e5ef}
.organization-banner-review-item img{display:block;width:min(100%,288px);height:auto;aspect-ratio:10/3;object-fit:cover;margin-bottom:9px}
@media(max-width:390px){
 #map .m2g-marker.m2g-type-organization .m2g-org-banner-mini{width:100px;height:32px}
 .organization-place-settings{padding:10px}
}
