/* Predictable control sizing at every width. */
.quick-filter{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1 1 115px}.quick-filter>span{font-size:10px;font-weight:500;color:var(--muted);padding-left:10px}.explore-tools .quick-filter select{width:100%;max-width:none;min-width:0}.result-controls{display:flex;align-items:center;gap:14px}.sort-control{display:flex;align-items:center;gap:8px;min-width:0;font-size:12px;color:var(--muted)}.sort-control select{min-width:150px;max-width:100%;padding:9px 12px;border:1px solid var(--line);border-radius:22px;background:var(--surface);color:var(--ink);min-height:44px}
.mobile-map-filter{display:none}
dialog[open]{overflow:hidden;max-height:calc(100dvh - 32px)}#sheet-content{display:flex;flex-direction:column;max-height:inherit;overflow:hidden}.sheet-head,.sheet-footer{flex:none;position:relative;background:var(--surface);color:var(--ink);border-color:var(--line)}.sheet-head h2{font-size:22px;min-width:0;line-height:1.3}.sheet-head .icon-btn{flex-shrink:0;font-size:25px}.sheet-body{overflow-y:auto;overscroll-behavior:contain;min-height:0;background:var(--surface);scrollbar-width:thin}.sheet-footer{padding-bottom:max(16px,env(safe-area-inset-bottom));box-shadow:0 -5px 20px #00000006}.sheet-footer button{min-width:100px;min-height:46px}body:has(dialog[open]){overflow:hidden}.sheet-body .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sheet-body .field{min-width:0}.sheet-body input,.sheet-body select,.sheet-body textarea{min-width:0;width:100%;max-width:100%;min-height:46px}.sheet-body .checks input{width:auto;min-height:0}.sheet-body .checks label{min-height:40px;align-items:center}.sheet-body .checks{gap:8px 14px}
.menu-sheet{width:min(580px,calc(100vw - 28px));background:var(--surface)}.menu-sheet .sheet-head{padding:23px 24px 15px;border-bottom:0}.menu-sheet .sheet-body{padding:0 24px 25px}.menu-intro{color:var(--muted);font-size:13px;margin:0 0 22px}.menu-discover{display:grid;grid-template-columns:1fr 1fr;gap:10px}.menu-tile{display:flex;align-items:center;gap:12px;padding:15px 12px;border:1px solid var(--line);border-radius:15px;min-width:0;min-height:76px;background:var(--bg)}.menu-tile>span:not(.menu-icon){min-width:0;flex:1}.menu-tile b{display:block;font-size:13px;font-weight:500;line-height:1.5}.menu-tile small{display:block;color:var(--muted);font-size:10px;line-height:1.5;margin-top:3px}.menu-icon{display:grid;place-items:center;width:37px;height:37px;border-radius:12px;background:var(--soft);color:var(--accent);flex-shrink:0}.menu-tile>.ui-icon{width:16px;color:var(--muted)}.menu-discover .menu-tile{flex-wrap:wrap;align-items:flex-start;gap:10px}.menu-discover .menu-tile>span:not(.menu-icon){flex-basis:100%}.menu-discover .menu-tile>.ui-icon{display:none}.menu-group{margin-top:25px}.menu-group h3{font-size:10px;font-weight:600;color:var(--muted);letter-spacing:1.5px;text-transform:uppercase;margin:0 0 10px 2px}.menu-row{display:flex;width:100%;align-items:center;text-align:left;gap:13px;padding:12px 4px;min-height:50px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;color:var(--ink);font-size:13px}.menu-row>span:first-of-type{flex:1}.menu-row>.ui-icon:first-child{color:var(--accent)}.menu-row>.ui-icon:last-child{color:var(--muted);width:16px}.menu-row:hover,.menu-tile:hover{background:var(--soft)}.menu-group .menu-tile{margin-top:8px}.menu-switch{display:block;width:42px;height:24px;flex:none!important;border-radius:15px;background:var(--line);padding:3px}.menu-switch:after{content:'';display:block;width:18px;height:18px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0003;transition:transform .15s}.menu-theme[aria-pressed=true] .menu-switch{background:var(--accent)}.menu-theme[aria-pressed=true] .menu-switch:after{transform:translateX(18px)}.menu-owner{border-top:1px solid var(--line);margin-top:25px;padding-top:14px;color:var(--muted);font-size:11px}.menu-owner summary{cursor:pointer;min-height:40px;padding:9px 0}.menu-owner a{display:block;padding:12px;min-height:44px}
[data-theme=dark] .sheet-head,[data-theme=dark] .sheet-footer,[data-theme=dark] .sheet-body{background:var(--surface);color:var(--ink)}[data-theme=dark] .menu-theme,[data-theme=dark] .menu-row{background:transparent;color:var(--ink)}[data-theme=dark] .menu-row:hover{background:var(--soft)}
@media(max-width:760px){
 html,body{max-width:100%;overflow-x:clip}.wrap{padding-inline:16px}.page-head h1{overflow-wrap:break-word}.page-head{padding:25px 0 18px}.page-head p{line-height:1.7}
 .explore-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:12px;padding:15px;margin-bottom:12px;border-radius:18px;max-width:100%}.explore-tools>*{min-width:0;max-width:100%}.explore-tools input{grid-column:1/-1;width:100%;min-width:0;flex-basis:auto;font-size:14px;min-height:46px;padding:10px 12px;border-radius:12px;border:1px solid var(--line);background:var(--bg)}.explore-tools .quick-filter{gap:6px}.quick-filter>span{font-size:11px;padding-left:2px}.explore-tools .quick-filter select,.explore-tools>select{min-width:0;width:100%;max-width:100%;font-size:13px;min-height:46px;padding:10px 8px;border:1px solid var(--line);border-radius:11px;background:var(--bg)}.explore-tools .secondary-filter{display:none}.explore-tools .all-filters{grid-column:1/-1;min-height:44px;background:var(--soft);border-color:var(--line);font-size:13px;justify-content:center}
 .result-bar{display:flex;flex-direction:column;align-items:stretch;gap:11px;margin-bottom:17px;padding-top:3px}.result-bar b{font-size:13px}.result-controls{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;width:100%;min-width:0}.result-controls .recent-sort{display:none}.result-controls .views{display:none}.result-bar .sort-control{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;width:100%;align-items:center;font-size:12px}.result-bar #sort{width:100%;max-width:100%;min-width:0;min-height:46px;font-size:13px;padding:10px 13px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:12px}
 .active-filters{max-width:100%;flex-wrap:wrap}.active-filters button{white-space:normal;text-align:left;overflow-wrap:anywhere}
 .date-row{flex-wrap:wrap;overflow:visible;justify-content:center;margin-right:0;gap:7px}.date-row button{min-height:40px;font-size:11px;white-space:normal;padding:9px 13px;flex-shrink:1}.date-row::-webkit-scrollbar{display:none}.chip-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-right:0;padding:16px 0;overflow:visible}.chip-row .chip{width:100%;min-width:0;min-height:76px;padding:10px 3px;gap:7px}.chip-row .chip span{white-space:normal;font-size:10px;line-height:1.45;text-align:center}.hero p{max-width:100%;line-height:1.75}.home-activity-filter .activity-segments button{font-size:10px;white-space:normal;min-height:44px}
 .calendar-top{gap:13px}.calendar-top>div:first-child{display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px;gap:8px!important;width:100%}.calendar-top h2{text-align:center;font-size:19px;line-height:1.4}.calendar-top button{min-height:44px;padding:9px 8px}.calendar-top [data-action=calendar-today]{grid-column:1/-1;justify-self:center;min-width:120px}.calendar-top .views{display:flex;width:100%;gap:6px}.calendar-top .views button{flex:1;font-size:12px}.calendar-frequency{gap:5px}.calendar-frequency button{min-width:0;min-height:44px;white-space:normal;line-height:1.5;font-size:11px;padding:8px}
 dialog[open]{width:calc(100vw - 20px);max-width:560px;max-height:calc(100dvh - 24px);border-radius:22px;margin:auto}.sheet-head{padding:17px 18px;gap:12px}.sheet-head h2{font-size:20px}.sheet-body{padding:20px 18px}.sheet-footer{padding:13px 18px max(14px,env(safe-area-inset-bottom));gap:10px}.sheet-footer .primary{flex:1}.sheet-body input,.sheet-body select,.sheet-body textarea{font-size:16px}.sheet-body #filter-form h3{font-size:16px;margin:25px 0 13px}.sheet-body #filter-form h3:first-child{margin-top:0}.sheet-body .form-grid{gap:15px}.sheet-body .field{font-size:13px}.sheet-body .field small{font-size:11px}.sheet-body .checks{display:grid;grid-template-columns:1fr}.sheet-body .checks label{display:flex;gap:10px;min-height:44px}
 dialog.filter-sheet[open],dialog.menu-sheet[open]{inset:auto 0 0;top:auto;bottom:0;margin:0 auto;width:100%;max-width:100%;max-height:92dvh;border-radius:24px 24px 0 0}.menu-sheet .sheet-head{padding:21px 20px 12px}.menu-sheet .sheet-body{padding:0 20px max(24px,env(safe-area-inset-bottom))}.menu-sheet .menu-intro{font-size:12px;margin-bottom:18px}.menu-group{margin-top:22px}.menu-tile{border-radius:14px}.menu-discover{gap:10px}.menu-row{min-height:52px;font-size:13px}
 .mobile-map-filter{display:flex;position:absolute;z-index:600;top:74px;right:12px;min-height:44px;padding:10px 15px;border-radius:24px;box-shadow:0 3px 12px #0002;background:var(--surface);color:var(--ink);font-size:12px}.map-search{max-width:calc(100% - 110px);font-size:12px;min-height:44px;padding:10px 13px}
 .field,.form-grid>*{min-width:0}.form-grid{grid-template-columns:minmax(0,1fr)}.field input,.field select,.field textarea{width:100%;max-width:100%;min-width:0;font-size:16px}.form-container{padding:24px 18px}.detail-panel,.detail-section,.org-banner{min-width:0}.org-links{flex-wrap:wrap}.card-added{line-height:1.7}.compact .card-body{overflow-wrap:anywhere}.compact .card-place,.compact .card-organiser{line-height:1.5}.bottom-nav{padding-bottom:env(safe-area-inset-bottom);height:calc(66px + env(safe-area-inset-bottom))}.bottom-nav a,.bottom-nav button{min-height:48px}.mobile-map-mode .explore-layout .map-wrap{bottom:calc(66px + env(safe-area-inset-bottom))}.floating-map{min-height:44px}
}
@media(max-width:480px){.sheet-body .form-grid{grid-template-columns:minmax(0,1fr)}.sheet-body .field.full{grid-column:auto}}
@media(max-width:360px){.hero h1{font-size:30px}.menu-discover .menu-tile{padding:12px}.menu-tile b{font-size:12px}.menu-tile small{font-size:10px}.menu-icon{width:34px;height:34px}.explore-tools{padding:13px;gap:10px}.explore-tools .quick-filter select{font-size:12px;padding-inline:7px}}

.sheet-head .icon-btn{width:44px;height:44px;min-height:44px;padding:0;aspect-ratio:1}

.previous-arrow{display:inline-flex;transform:rotate(180deg)}.calendar-top [data-action=month]{color:var(--ink)}

@media(max-width:760px){body{padding-bottom:calc(70px + env(safe-area-inset-bottom))}.floating-map{bottom:calc(85px + env(safe-area-inset-bottom))}.mobile-map-mode .floating-map{bottom:calc(275px + env(safe-area-inset-bottom))}.sticky-register{bottom:calc(66px + env(safe-area-inset-bottom))}}

/* Keep the homepage map full width inside the stacked mobile flex layout. */
@media(max-width:760px){
 .near-layout{display:flex;flex-direction:column;align-items:stretch;min-width:0}
 .near-layout>.map-wrap{display:block;position:relative;top:auto;flex:none;align-self:stretch;width:100%;min-width:0;height:340px;min-height:340px;order:-1}
 .near-layout>.map-wrap .map-canvas{width:100%;height:100%;min-height:340px}
 .near-layout>.compact-list{width:100%;min-width:0}
 .near-layout .mobile-map-filter{display:none}
 .near-layout .map-search{max-width:calc(100% - 85px)}
}
.featured-badge{display:inline-flex;align-items:center;gap:4px;border-radius:20px;background:#fff0c9;color:#78500b;font-size:10px;font-weight:700;padding:4px 9px;margin:0 0 9px}.event-card.is-featured{border-color:#d3b26d}.site-ad{padding-top:18px;padding-bottom:5px}.site-ad a{display:block;position:relative;max-width:100%;background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden}.site-ad img{display:block;width:100%;max-height:200px;object-fit:contain}.site-ad span{display:block;padding:7px 14px;font-size:10px;color:var(--muted)}.featured-collection{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}@media(max-width:760px){.site-ad img{max-height:130px}.featured-badge{font-size:9px}}

/* Every home-map result remains reachable in a bounded mobile list. */
@media(max-width:760px){.near-layout>.compact-list{max-height:480px;overflow-y:auto;overscroll-behavior-y:contain}.near-layout .compact-list>.event-card:nth-child(n+3){display:flex}}

.city-selector select{width:148px;min-width:0;max-width:148px;padding-right:25px}.pricing-card.selected-plan{border:2px solid var(--accent);background:var(--sand);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 12%,transparent)}.pricing-card.selected-plan a{font-weight:700}.payment-ack{padding:16px;background:var(--sand);border-radius:12px;align-items:flex-start}.payment-ack strong{white-space:nowrap}

.pricing-card.selected-plan{background:#edf6f1;border:2px solid #14665e;box-shadow:0 0 0 3px #14665e18}.pricing-card.selected-plan .button,.pricing-card.selected-plan .button:hover,.pricing-card.selected-plan .button:focus-visible{background:#14665e;color:#fff;border-color:#14665e}.pricing-card.selected-plan .button:active{background:#0d4f48}[data-theme=dark] .pricing-card.selected-plan{background:#183b30;border-color:#8cd2bc}[data-theme=dark] .pricing-card.selected-plan .button{background:#8cd2bc;color:#102b22;border-color:#8cd2bc}

header nav[aria-label="Main navigation"]{gap:clamp(12px,1.4vw,24px)}header nav .header-feature{white-space:normal;line-height:1.25;text-align:center;min-width:76px}header nav .city-home{white-space:nowrap}.map-note{pointer-events:none}

.home-collection{border-radius:24px;padding:26px;margin-top:30px;background:var(--collection-bg)}#collection-knowledge{--collection-bg:#eef4e9}#collection-sisters{--collection-bg:#faedf2}#collection-youth{--collection-bg:#eef0fc}#collection-family{--collection-bg:#fff3df}#collection-free{--collection-bg:#e6f5f2}[data-theme=dark] #collection-knowledge{--collection-bg:#233323}[data-theme=dark] #collection-sisters{--collection-bg:#39262f}[data-theme=dark] #collection-youth{--collection-bg:#282d43}[data-theme=dark] #collection-family{--collection-bg:#3a3020}[data-theme=dark] #collection-free{--collection-bg:#18382f}#hero-location{max-width:205px;min-width:0;border:0;border-left:1px solid var(--line);padding:12px;background:var(--bg);color:var(--ink);font:inherit;border-radius:0}html[data-theme=dark] select,html[data-theme=dark] select option{color-scheme:dark;background-color:#192923;color:#eef3ef}@media(max-width:760px){.home-collection{padding:18px 14px;border-radius:18px}#hero-location{max-width:135px;font-size:12px;padding:10px 5px}}

#hero-location{font-size:12px;line-height:1.3;max-width:175px;text-overflow:ellipsis}#hero-location option,#location-suburb option{font-size:12px}#location-suburb{font-size:13px}@media(max-width:760px){#hero-location{font-size:11px;max-width:120px}}
