.people-nav,.people-actions{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}.people-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:16px;margin:20px 0}.person-card,.people-form{border:1px solid var(--theme-border,#bbc5cc);background:var(--theme-surface,#fff);padding:24px;border-radius:18px}.person-head{display:flex;align-items:center;gap:16px;margin-bottom:16px}.person-avatar{height:72px;width:72px;flex-shrink:0;border-radius:50%;object-fit:cover;background:var(--theme-surface-alt,#edf2f4);display:grid;place-items:center;font-size:30px}.person-head h2{font-size:1.4rem;overflow-wrap:anywhere}.person-head p{margin-top:8px}.people-form{max-width:700px;margin:20px 0}.people-form label{display:grid;gap:8px;margin:18px 0}.people-form .people-choice{display:flex;align-items:flex-start;gap:12px}.people-choice input{width:20px;height:20px;flex-shrink:0;margin-top:3px}.people-form input:not([type=radio]){width:100%;padding:12px;border-radius:8px;border:1px solid var(--theme-border,#bbc5cc);background:var(--theme-surface-alt,#f6f8f8);color:inherit}.people-coordinates{display:grid;grid-template-columns:1fr 1fr;gap:16px}.people-form fieldset{padding:0;border:0}.people-form legend{font-weight:700}.people-note{margin:16px 0;padding:16px;border-radius:12px;background:var(--theme-surface-alt,#edf2f4)}.people-search{display:flex;gap:12px;margin:20px 0}.people-search input{min-width:0;flex:1;padding:12px}.people-profile-link{display:block;margin:12px 0;text-decoration:underline}.people-form [role=status]{margin:12px 0}@media(max-width:480px){.people-form,.person-card{padding:18px}.people-nav .button{flex:1}.people-coordinates{grid-template-columns:1fr;gap:0}}

@media(max-width:640px){.people-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.people-nav .button{padding:12px;min-height:52px;text-align:center;display:flex;justify-content:center;align-items:center}.people-form legend{margin-top:20px}}
.social-icon{width:22px;height:22px;flex:0 0 22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.social-link{display:inline-flex;align-items:center;justify-content:center;gap:9px;white-space:normal}.people-nav .social-icon{color:var(--theme-warm-text,#b34200)}.member-role{margin:8px 0;display:grid;gap:8px}.member-role-badge{display:inline-flex;align-items:center;gap:7px;justify-self:start;font-size:12px;font-weight:750;padding:5px 9px;border-radius:99px;background:var(--theme-surface-alt,#edf2f4);color:var(--theme-muted,#536674)}.member-role-badge .social-icon{width:17px;height:17px;flex-basis:17px}.member-role.is-owner .member-role-badge{color:var(--theme-warm-text,#9b3800);background:var(--theme-warm-surface,#fff0e4)}.member-venues{display:flex;flex-wrap:wrap;gap:8px}.member-venue-link{display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:100%;font-size:13px;text-decoration:underline;text-underline-offset:3px}.member-venue-link span{overflow-wrap:anywhere}.member-venue-link .social-icon{width:16px;height:16px;flex-basis:16px}.person-head>div{min-width:0}.social-panel{min-width:0}.social-panel h1{font-size:30px}.social-panel .people-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 24px;padding-right:28px}.social-panel .people-nav .button{min-width:0;padding:12px;font-size:14px}.social-panel .people-form{margin-top:18px;max-width:none}.people-search input{border:1px solid var(--theme-border,#bbc5cc);border-radius:12px;background:var(--theme-surface-alt,#f5f7f8);color:var(--theme-text,#10212f);width:100%}.people-search .button{display:inline-flex;align-items:center;gap:8px}.people-actions>.button{min-width:0}.people-profile-link{justify-content:flex-start}.social-panel [role=alert]:empty{display:none}@media(max-width:480px){.social-panel h1{font-size:26px}.social-panel .people-nav{padding-right:28px;gap:8px}.social-panel .people-nav .button{font-size:13px;padding:10px 8px;flex-direction:column}.people-search{flex-wrap:wrap}.people-search input{flex:1 1 160px}.people-search .button{flex:1 1 100px}.social-panel .person-card,.social-panel .people-form{padding:16px}}

.social-panel .people-nav{padding-right:0}.social-panel h1{padding-right:38px;margin-bottom:22px}.social-panel [data-has-heading="0"] .people-nav{margin-top:34px}.social-panel [data-has-heading="0"] .person-head h2{padding-right:0}
.member-role-badge{max-width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere}.member-role-badge .social-icon{flex-shrink:0}

.people-form textarea{box-sizing:border-box;width:100%;max-width:100%;padding:12px;border-radius:8px;border:1px solid var(--theme-border,#bbc5cc);background:var(--theme-surface-alt,#f6f8f8);color:inherit;font:inherit;resize:vertical}.person-bio{white-space:pre-wrap;overflow-wrap:anywhere;margin:16px 0;line-height:1.6}

.profile-setup-list{list-style:none;padding:0;display:grid;gap:10px;margin:20px 0}.profile-setup-list .button{width:100%;display:flex;gap:12px;text-align:left;align-items:center;min-width:0}.profile-setup-list span{flex:1;overflow-wrap:anywhere}.profile-setup h2{padding-right:30px}.profile-setup .people-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.profile-setup .people-actions .button{white-space:normal;padding:14px}.profile-setup-reminder{margin-top:20px;width:100%}

#profile-welcome{box-sizing:border-box;width:min(860px,calc(100% - 28px));max-height:90dvh;overflow:auto;padding:36px;border:1px solid var(--theme-border,#bbc5cc);border-radius:26px;background:var(--theme-surface,#fff);color:var(--theme-text,#10212f);grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:24px}#profile-welcome[open]{display:grid}#profile-welcome::backdrop{background:#03121dcc;backdrop-filter:blur(5px)}.profile-welcome-close{position:absolute;right:16px;top:16px;width:44px;height:44px;border:1px solid var(--theme-border,#bbc5cc);border-radius:50%;background:var(--theme-surface-alt,#edf2f4);color:inherit;font-size:30px;cursor:pointer}.profile-welcome-logo{width:180px;max-width:80%;margin-bottom:20px}.profile-welcome-copy h2{font-size:clamp(28px,4vw,44px);line-height:1.12;margin:0 0 20px}.profile-welcome-copy h2 span{display:block;color:var(--theme-warm-text,#b34200)}.profile-welcome-copy p{line-height:1.6}.profile-welcome-benefits{display:grid;gap:20px;margin:24px 0}.profile-welcome-benefits>div{display:flex;align-items:center;gap:16px;font-weight:700}.profile-welcome-icon{display:grid;place-items:center;width:58px;height:58px;flex:0 0 58px;border-radius:50%;background:var(--theme-surface-alt,#edf2f4);color:var(--theme-warm-text,#b34200)}.profile-welcome-icon .social-icon{width:30px;height:30px}.profile-welcome-choice{font-size:13px;color:var(--theme-muted,#536674)}.profile-welcome-art{display:flex;align-items:center;padding-top:30px}.profile-welcome-art img{width:100%;aspect-ratio:1/1.25;object-fit:cover;border-radius:160px}.profile-welcome-actions{grid-column:1/-1;display:grid;grid-template-columns:1.2fr 1fr;gap:16px}.profile-welcome-actions .button{display:flex;align-items:center;justify-content:center;gap:12px;white-space:normal;min-height:54px}@media(max-width:600px){#profile-welcome{grid-template-columns:minmax(0,1fr);padding:24px;gap:12px}.profile-welcome-art{display:none}.profile-welcome-logo{width:145px}.profile-welcome-copy h2{padding-right:15px}.profile-welcome-actions{gap:10px}.profile-welcome-actions .button{padding:12px}.profile-welcome-benefits{gap:14px;margin:20px 0}}

.profile-completion-status{list-style:none;padding:16px;margin:18px 0;border:1px solid var(--theme-border,#bbc5cc);border-radius:14px;background:var(--theme-surface-alt,#edf2f4);display:grid;gap:10px}.profile-completion-status li{display:flex;align-items:center;gap:12px;font-weight:650}.profile-completion-symbol{display:grid;place-items:center;width:24px;height:24px;flex:0 0 24px;border-radius:50%;font-size:21px}.profile-completion-status .is-complete .profile-completion-symbol{background:#16733e;color:#fff}.profile-completion-status .is-missing .profile-completion-symbol{background:var(--theme-surface,#fff);color:var(--theme-warm-text,#b34200);border:1px solid currentColor}#profile-welcome .profile-welcome-benefits{display:none}

.profile-account-entry{border:1px solid var(--theme-border,#bbc5cc);border-radius:16px;padding:20px;margin:20px 0;background:var(--theme-surface-alt,#edf2f4)}.profile-account-entry h3{margin:0 0 8px}.profile-account-entry .profile-setup-reminder{background:#ff7318;color:#10212f;border-color:#ff7318;margin-top:14px}.profile-completion-symbol{line-height:1}.profile-completion-status{padding:0;border:0;background:transparent;gap:9px}.profile-completion-status li{padding:12px;border:1px solid var(--theme-border,#bbc5cc);border-radius:12px;background:var(--theme-surface,#fff)}#profile-welcome{width:min(1000px,calc(100% - 28px));padding:40px;position:fixed;isolation:isolate;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}#profile-welcome .profile-welcome-copy,#profile-welcome .profile-welcome-actions{position:relative;z-index:1}.profile-welcome-art{position:absolute;inset:0 0 0 35%;padding:0;z-index:-1;overflow:hidden;border-radius:24px}.profile-welcome-art img{height:100%;width:100%;aspect-ratio:auto;border-radius:0;object-fit:cover;opacity:.35}.profile-welcome-art:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,var(--theme-surface,#fff),transparent 85%)}#profile-welcome .profile-welcome-actions{grid-column:1;grid-template-columns:1fr}#profile-welcome .profile-welcome-close{z-index:3}.profile-welcome-copy h2 span{color:var(--theme-warm-text,#b34200)}@media(max-width:600px){#profile-welcome{padding:24px;grid-template-columns:minmax(0,1fr)}#profile-welcome .profile-welcome-art{display:block;inset:0;opacity:.35}#profile-welcome .profile-welcome-actions{grid-column:1}.profile-welcome-copy h2{font-size:30px}.profile-completion-status li{padding:10px}.profile-welcome-choice{margin-bottom:0}}

.profile-needs-attention{position:relative}.profile-needs-attention:after{content:"!";position:absolute;right:-8px;top:-5px;display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#c82032;color:white;font:bold 13px/1 sans-serif;border:2px solid var(--theme-surface,#fff);pointer-events:none}.bottom-nav .profile-needs-attention:after{right:calc(50% - 23px);top:2px}

.return-planner{box-sizing:border-box;width:min(740px,calc(100% - 28px));max-height:90dvh;overflow:auto;padding:32px;border-radius:24px;border:1px solid var(--theme-border,#bbc5cc);background:var(--theme-surface,#fff);color:var(--theme-text,#10212f)}.return-planner::backdrop{background:#061520bb;backdrop-filter:blur(5px)}.return-close{position:absolute;right:16px;top:16px;border-radius:50%;width:44px;height:44px;border:1px solid var(--theme-border,#bbc5cc);background:var(--theme-surface,#fff);color:inherit;font-size:28px;cursor:pointer}.return-planner h2{padding-right:32px;margin-top:0}.return-planner-hero{min-height:530px;background:linear-gradient(0deg,#071c2d 0%,#071c2dc9 45%,#071c2d22 100%),url('/assets/joyful-night-out.png') center/cover;color:#fff;display:none;flex-direction:column;justify-content:space-between}.return-planner-hero[open]{display:flex}.return-logo{width:200px;max-width:70%;filter:brightness(0) invert(1)}.return-hero-copy{text-align:center;margin-top:160px}.return-hero-copy h2{font-size:clamp(28px,4vw,42px);padding:0;margin-bottom:10px}.return-hero-copy p{font-size:22px}.return-actions{display:grid;grid-template-columns:1fr 1fr;gap:14px}.return-actions .button{display:flex;align-items:center;justify-content:center;gap:12px;white-space:normal;min-height:64px}.return-actions .outline{color:white;background:#102a3d;border-color:#638297}.return-planner form{display:grid;gap:18px}.return-planner label{display:grid;gap:8px;margin:12px 0}.return-planner input:not([type=checkbox]),.return-planner select{width:100%;min-width:0;padding:12px;border:1px solid var(--theme-border,#bbc5cc);border-radius:10px;background:var(--theme-surface-alt,#edf2f4);color:inherit;font:inherit}.return-coordinates{display:grid;grid-template-columns:1fr 1fr;gap:14px}.return-planner .return-check{display:flex;align-items:center;gap:12px}.return-check input{width:20px;height:20px}.return-planner fieldset{border:1px solid var(--theme-border,#bbc5cc);border-radius:12px}.planner-summary{padding-top:14px;padding-bottom:14px}@media(max-width:480px){.return-planner{padding:24px}.return-actions,.return-coordinates{grid-template-columns:1fr}.return-hero-copy{margin-top:120px}.return-planner-hero{min-height:560px}}

html[data-theme] dialog.return-planner-hero{background:linear-gradient(0deg,#071c2d 0%,#071c2dc9 45%,#071c2d22 100%),url('/assets/joyful-night-out.png') center/cover;color:#fff}

.nav-line-icon{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}.nav-plan{display:inline-flex;align-items:center;gap:7px;font:inherit;font-weight:700;padding:0}.bottom-nav [data-open-plan]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.bottom-nav [data-open-plan] small{font-size:inherit}

.plan-share{padding:18px;border:1px solid var(--theme-border,#bbc5cc);border-radius:14px;margin:12px 0;background:var(--theme-surface,#fff)}.plan-share .button{white-space:normal}.return-planner input[type=radio]{width:20px;height:20px;flex:0 0 20px}.return-planner input[type=date]{min-width:0;box-sizing:border-box}

.planner-location-map{height:280px;width:100%;border-radius:14px;overflow:hidden;margin:12px 0;border:1px solid var(--theme-border,#bbc5cc)}[data-location-status]{min-height:24px;margin:12px 0;font-weight:650}[data-location-status][aria-busy=true]:before{content:"◌";display:inline-block;margin-right:8px;animation:planner-spin 1s linear infinite}@keyframes planner-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){[data-location-status][aria-busy=true]:before{animation:none}}

.venue-card-shell{position:relative;min-width:0;height:100%}.venue-card-shell>.venue-card{height:100%}.venue-card-heart{position:absolute;top:12px;right:12px;width:44px;height:44px;border-radius:50%;border:1px solid var(--theme-border,#bbc5cc);background:var(--theme-surface,#fff);color:var(--theme-text,#10212f);font-size:30px;line-height:1;display:grid;place-items:center;z-index:1}.venue-card-heart.selected{color:var(--theme-warm-text,#b34200)}

.saved-options{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.saved-options button{flex:1;min-width:120px}.saved-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:20px}
.favourites-heading{display:flex;gap:12px;align-items:flex-start;padding-right:30px}.favourites-heading>svg{width:28px;height:28px;flex:none;color:var(--theme-warm-text,#ff7318);margin-top:4px}.favourites-heading h2{margin:0;font-size:clamp(24px,4vw,32px)}.favourites-heading p{margin:5px 0 0;font-size:13px;color:var(--theme-muted)}.favourites-panel .saved-options{margin:20px 0 12px;gap:8px}.favourites-panel .saved-options button,.favourites-toolbar button{display:flex;align-items:center;justify-content:center;gap:8px}.favourites-panel svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.favourites-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 90px auto;gap:8px;margin-bottom:16px}.favourites-toolbar input,.favourites-toolbar select{min-width:0;width:100%;padding:10px;border:1px solid var(--theme-border);border-radius:12px;background:var(--theme-surface);color:var(--theme-text)}.favourites-toolbar button{font-size:12px;padding:10px 12px}.favourites-panel .venue-card>div{padding:12px}.favourites-panel .venue-card h3{font-size:17px;margin:0 0 4px}.favourites-panel .venue-card p{font-size:12px;margin:6px 0}.favourites-panel .venue-facility-icons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 8px;border-top:1px solid var(--theme-border);padding-top:12px;margin-top:12px}.favourites-panel .venue-facility-icon{max-width:none;overflow-wrap:normal;font-size:10px}.favourites-panel .venue-card-heart{width:36px;height:36px;font-size:25px;top:8px;right:8px}.favourites-panel .saved-grid{gap:14px}.favourites-empty{grid-column:1/-1;padding:20px 0}@media(max-width:540px){.favourites-toolbar{grid-template-columns:minmax(0,1fr) 80px}.favourites-toolbar button{grid-column:1/-1}.favourites-panel .saved-grid{grid-template-columns:1fr}.favourites-panel .venue-facility-icons{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* Keep the favourites heading below the dialog's close control. */
.favourites-heading{position:static;z-index:auto;backdrop-filter:none;background:transparent;border:0}.favourites-panel{padding-top:58px}dialog#detail-dialog:has(.favourites-panel)>.close{top:10px;right:10px;z-index:50;width:44px;height:44px;min-width:44px;display:grid;place-items:center;transform:none;margin:0}
/* Fixed controls; only favourites results scroll, at the dialog edge. */
dialog#detail-dialog:has(.favourites-panel) #dialog-content{width:100%;max-width:none;padding:0;overflow:hidden}
dialog#detail-dialog .favourites-panel{height:100%;min-height:0;width:100%;padding:58px 0 0;display:flex;flex-direction:column;overflow:hidden}
.favourites-panel>.favourites-heading,.favourites-panel>.saved-options,.favourites-panel>.favourites-toolbar,.favourites-panel>h3{flex-shrink:0;margin-left:20px;margin-right:20px}
.favourites-panel>.saved-grid{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;align-content:start;padding:0 20px 24px;scrollbar-gutter:stable;overscroll-behavior:contain}
.favourites-panel .saved-options button{white-space:nowrap;min-width:0;padding:10px 12px}
@media(max-width:540px){dialog#detail-dialog .favourites-panel{padding-top:54px}.favourites-panel>.favourites-heading,.favourites-panel>.saved-options,.favourites-panel>.favourites-toolbar,.favourites-panel>h3{margin-left:16px;margin-right:16px}.favourites-panel>.saved-grid{padding-left:16px;padding-right:16px}.favourites-panel .saved-options{margin-top:12px}.favourites-panel .favourites-heading p{font-size:12px}}
dialog#detail-dialog .favourites-panel{padding-top:20px}.favourites-panel>.favourites-heading{padding:0 48px 0 0;margin-top:0;margin-bottom:0}
dialog#detail-dialog:has(.favourites-panel)>.close{position:absolute;float:none}
.favourites-panel>.saved-grid{grid-auto-rows:max-content}.favourites-panel .event-card{min-width:0}.favourites-panel .event-card .card-photo{flex-shrink:0}
.favourites-filter-bar{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 16px 12px;padding:8px 12px;border:1px solid #ff701f;border-radius:10px;background:var(--theme-warm-surface,#fff0e5);color:var(--theme-text,#10212f);font-size:13px}.favourites-filter-bar span{min-width:0;overflow-wrap:anywhere}.favourites-filter-bar button{flex-shrink:0;padding:8px}
#active-search-bar{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);width:min(1100px,calc(100% - 32px));z-index:24;display:flex;align-items:center;gap:16px;padding:12px 16px;border:2px solid #ff701f;border-radius:14px;background:var(--theme-surface,#fff);color:var(--theme-text,#10212f);box-shadow:0 4px 20px #0004}#active-search-bar>div{flex:1;min-width:0}#active-search-bar strong,#active-search-bar span{display:block}#active-search-bar span{font-size:13px;overflow-wrap:anywhere;max-height:15vh;overflow:auto}#active-search-bar button{flex-shrink:0;font-size:13px;padding:10px}.has-active-search{padding-bottom:120px}@media(max-width:700px){#active-search-bar{bottom:calc(76px + env(safe-area-inset-bottom));gap:8px;padding:10px;width:calc(100% - 20px)}#active-search-bar strong{font-size:13px}#active-search-bar button{max-width:110px}.has-active-search{padding-bottom:190px}}
dialog#detail-dialog{isolation:isolate}dialog#detail-dialog>#dialog-content{position:relative;z-index:0}dialog#detail-dialog>.close{position:absolute;float:none;top:12px;right:12px;margin:0;z-index:50;transform:none;pointer-events:auto;width:44px;height:44px}
