/* Member surfaces extend the existing Terrace at dusk system. */
[hidden]{display:none!important}
.member-home{--member-title:44px;--member-section:32px;--member-item:30px;--member-copy:13px;--member-label:12px;min-height:100svh;font-size:14px;line-height:1.65}
.home-skip{position:absolute;left:24px;top:-100px;z-index:20;background:var(--text);color:var(--bg);padding:12px}.home-skip:focus{top:12px}
.member-header{height:100px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:24px}
.member-header .brand img{width:50px;height:44px}
.member-nav{display:flex;gap:36px;height:100%;align-items:center}
.member-nav a{display:flex;align-items:center;gap:9px;height:100%;font-size:12px;color:var(--muted);border-bottom:1px solid transparent;padding-top:1px;transition:color .18s}
.member-nav a[aria-current=page]{color:var(--text);border-bottom-color:var(--accent)}
.member-nav a:hover{color:var(--text)}.member-nav svg{display:none}
.profile-link{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;border:1px solid var(--line);font-size:12px}.profile-link:hover,.profile-link[aria-current=page]{border-color:var(--accent);background:var(--surface)}
.member-main{min-height:calc(100svh - 200px);padding-block:34px 60px;outline:none}
.page-intro{margin-bottom:36px}.page-intro h1{font-size:var(--member-title);line-height:1.1;outline:none;overflow-wrap:anywhere}.page-intro p{color:var(--muted);font-size:13px;margin-top:12px;max-width:65ch}
.member-home h2{font-size:var(--member-section);line-height:1.15}.member-home h3{font-size:28px}.member-home p{overflow-wrap:anywhere}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:36px 0 18px}.section-heading:first-child{margin-top:0}
.text-link{color:var(--accent);font-size:12px;display:inline-flex;align-items:center;gap:8px;min-height:44px;text-decoration:underline;text-decoration-color:var(--line)}.text-link:hover{text-decoration-color:var(--accent)}
.home-controls{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);margin-bottom:18px}
.community-filters{display:flex;gap:22px;overflow-x:auto;min-width:0;scrollbar-width:thin}.community-filters .filter{white-space:nowrap;min-height:48px;flex:none}
.city-control{display:flex;align-items:center;gap:8px;font-size:12px;flex:none;color:var(--muted)}.city-control select{max-width:160px;border:0;background:var(--bg);color:var(--text);padding:12px 4px;min-height:44px}
.member-home .event-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:0}.member-home .event{min-height:340px;aspect-ratio:1.4}.member-home .event h3{font-size:36px}.member-home .event .event-info{padding:90px 18px 30px}.member-home .event-meta{flex-wrap:wrap;gap:7px;justify-content:center}.member-home .event-badge{top:18px;left:20px}
.community-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px;margin-top:8px}.community-stack{display:grid;gap:14px;margin-top:8px}.community-card{display:flex;flex-direction:column;padding:24px;border:1px solid var(--line);border-radius:2px;background:var(--surface);min-height:238px;transition:border-color .18s}.community-card:hover{border-color:var(--line-strong)}.community-card.is-invited{border-color:var(--accent)}.community-card-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.community-card .community-mark{width:56px;height:56px;background:var(--bg);border:1px solid var(--line)}.community-card .community-mark img{width:32px;height:32px}.community-access{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.community-card h3{font-size:30px;line-height:1.1;overflow-wrap:anywhere}.community-card-copy{font-size:13px;line-height:1.7;color:var(--muted);margin-top:10px;max-width:36ch}.community-card-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:auto;padding-top:22px}.community-card-actions{display:flex;gap:12px;margin-left:auto}.community-card .button{min-height:44px;padding:10px 18px}.community-card.is-wide{display:grid;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:24px;padding:22px 24px;min-height:0}.community-card.is-wide .community-card-copy{margin-top:0;max-width:none}.community-card.is-wide .community-card-copy p{margin-top:7px;max-width:70ch}.community-card.is-wide .community-card-actions{margin-left:0}.community-card.is-wide .inline-status{grid-column:2/-1}.community-mark{width:64px;height:64px;flex:none;display:grid;place-items:center;background:var(--surface);border-radius:50%;font-family:'Cormorant Garamond',serif;font-size:30px}.community-mark img{width:36px;height:36px}.community-meta{display:flex;flex-wrap:wrap;gap:8px;color:var(--muted);font-size:var(--member-label)}
.member-home .button{min-height:44px;padding:11px 20px;line-height:1.5}.button.secondary{background:transparent;border-color:var(--line);color:var(--text)}.button.secondary:hover{border-color:var(--accent);background:var(--surface)}.button.danger{color:#e7a38f;border-color:#6e4036}.button.danger:hover{border-color:#e7a38f;background:rgba(231,163,143,.08)}
button:disabled{opacity:.55;cursor:default}.empty-state{padding:44px 0 48px;border-block:1px solid var(--line)}.empty-state h2{font-size:var(--member-section)}.empty-state p{color:var(--muted);font-size:13px;margin:10px 0 18px;max-width:60ch}.inline-status{font-size:12px;color:var(--accent);margin-top:12px}.inline-status:empty{display:none}
.profile-details{max-width:650px}.profile-details dl{margin:0 0 30px}.profile-details dl>div{display:grid;grid-template-columns:120px 1fr;gap:20px;padding:20px 0;border-bottom:1px solid var(--line)}.profile-details dt{color:var(--muted);font-size:12px}.profile-details dd{margin:0;overflow-wrap:anywhere}.profile-details .button{margin-top:12px}
.load-state p{color:var(--muted);font-size:13px}.loading-line{height:34px;width:45%;background:var(--surface);margin:22px 0 40px}.loading-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.loading-grid>div{height:340px;background:var(--surface)}
#dialogOrganizer,#dialogAddress{font-size:12px;color:var(--muted);margin:8px 0 12px}#dialogPrice{font-size:13px;color:var(--text);margin:8px 0 12px}#dialogPrice:empty{display:none}#dinnerDialog .detail-description{margin:8px 0 14px;max-height:115px;overflow:auto}#dinnerDialog .detail-body{padding-bottom:8px}#dinnerDialog .booking-action{margin-top:4px}#dinnerDialog .detail-response{min-height:32px}#dinnerDialog .close-dialog{width:44px;height:44px}#dialogTitle{outline:none}
@media(max-width:760px){.member-home .wrap{width:calc(100% - 44px)}.member-header{height:80px}.member-header .brand img{width:44px;height:40px}.member-nav{position:fixed;inset:auto 0 0;z-index:10;background:var(--bg);border-top:1px solid var(--line);height:auto;min-height:70px;padding:8px 12px calc(8px + env(safe-area-inset-bottom));gap:0;justify-content:space-around}.member-nav a{flex:1;justify-content:center;flex-direction:column;gap:5px;min-height:52px;padding:0;border:0;font-size:11px}.member-nav svg{display:block;width:21px;height:21px}.member-nav a[aria-current=page]{color:var(--text)}.member-nav a[aria-current=page] svg{stroke-width:1.9}.member-nav a:not([aria-current]){color:var(--muted)}.member-home{--member-title:32px;--member-section:28px;--member-item:28px}.member-main{padding-block:24px calc(100px + env(safe-area-inset-bottom))}.page-intro{margin-bottom:28px}.page-intro h1{font-size:var(--member-title)}.page-intro p{font-size:var(--member-copy);max-width:38ch}.member-home h2{font-size:var(--member-section)}.member-home .event-grid{grid-template-columns:1fr;margin-inline:-22px;gap:16px}.member-home .event{aspect-ratio:1.1;min-height:330px}.member-home .event h3{font-size:34px}.home-controls{flex-wrap:wrap;gap:0;margin-bottom:16px}.community-filters{width:100%;gap:22px;order:2}.city-control{margin-left:auto}.section-heading{gap:12px;margin-top:28px}.section-heading .text-link{font-size:11px}.community-grid{grid-template-columns:1fr;gap:14px}.community-stack{gap:12px}.community-card{padding:20px;min-height:0}.community-card.is-wide{display:flex;flex-direction:column;align-items:flex-start;gap:16px;padding:20px}.community-card.is-wide .community-card-actions,.community-card.is-wide .button{width:100%}.community-card-top{margin-bottom:16px}.community-card h3{font-size:26px}.community-card-foot{padding-top:18px}.community-mark{width:48px;height:48px}.community-mark img{width:28px;height:28px}.loading-grid{grid-template-columns:1fr}.loading-grid>div:nth-child(2){display:none}.profile-details dl>div{grid-template-columns:80px 1fr}.profile-link{width:44px;height:44px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.preview-notice{position:sticky;top:0;z-index:11;background:var(--surface);color:var(--muted);padding:8px 22px;text-align:center;font-size:11px;line-height:1.5;border-bottom:1px solid var(--line)}

/* A touch-led gallery: the evening is the Home. */
.gallery-page .member-main{padding-top:34px;padding-bottom:22px;min-height:0}
.gallery-page .page-intro{margin-bottom:12px}.gallery-page .page-intro h1{font-size:var(--member-title)}
.gallery-page .home-controls{margin-bottom:14px;border-bottom:0}
.evening-gallery{max-width:none;margin:0}
.evening-list{display:grid;gap:20px}
.member-home .evening-list .event{width:100%;aspect-ratio:auto;height:clamp(340px,44svh,480px);min-height:0}
.member-home .evening-list .event h3{font-size:clamp(32px,3vw,44px)}
.member-home .evening-list .event .event-info{padding-bottom:40px}
#communityInvite{width:min(430px,calc(100% - 40px));max-height:calc(100svh - 40px);border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);padding:36px 30px 24px;text-align:center}
#communityInvite::backdrop{background:#0e0906cc}
#communityInvite h2{font-size:40px}#communityInvite p{font-size:13px;line-height:1.8;color:var(--muted);margin:16px 0 26px}#communityInvite .button{display:flex;width:100%;justify-content:center}#communityInvite .filter{margin-top:10px;min-height:44px;padding-inline:12px}
@media(max-width:760px){.gallery-page .member-main{padding-top:24px;padding-bottom:calc(86px + env(safe-area-inset-bottom))}.gallery-page .page-intro{margin-bottom:12px}.gallery-page .page-intro h1{font-size:var(--member-title)}.gallery-page .home-controls{flex-wrap:nowrap;gap:14px;margin-bottom:0}.gallery-page .city-control{font-size:11px;gap:6px;margin-left:0}.gallery-page .city-control select{max-width:110px}.gallery-page .community-filters{flex:1;min-width:0;width:auto;order:0;gap:22px}.evening-gallery{max-width:none;margin-inline:-22px}.evening-list{gap:16px}.member-home .evening-list .event{height:clamp(300px,44svh,470px)}.member-home .evening-list .event h3{font-size:34px}.member-home .evening-list .event .event-info{padding:80px 14px 30px}#communityInvite{padding:28px 24px 18px}}
/* Keep member lists quiet, without a second promotional header or footer. */

.member-home[data-page="communities"] .empty-state,.member-home[data-page="evenings"] .empty-state{border:0}
.community-heading h1{font-size:var(--member-title);line-height:1.15;outline:none}
.create-community{flex:none;white-space:nowrap}
.community-empty-copy{font-size:13px;color:var(--muted);margin:12px 0 28px}
@media(max-width:760px){.member-home[data-page="communities"] .member-main,.member-home[data-page="evenings"] .member-main{padding-bottom:calc(100px + env(safe-area-inset-bottom))}.community-heading{gap:10px}.community-heading h1{font-size:var(--member-title)}.member-home .create-community{font-size:11px;padding:10px 12px}}

#inviteTitle:focus{outline:none}

.community-discovery{border-top:1px solid var(--line);margin-top:32px;padding-top:32px}
.community-discovery>.section-heading{margin-top:0;margin-bottom:12px}
.community-search{width:280px;max-width:100%;min-width:0;flex-shrink:0;min-height:44px;border:1px solid var(--line);border-radius:2px;background:var(--surface);color:var(--text);padding:11px 14px;font:400 16px Manrope,sans-serif;caret-color:var(--accent);outline:none}
.community-search::placeholder{color:var(--muted);font-size:13px;opacity:1}
.community-search:focus{border-color:var(--accent)}
@media(max-width:760px){.community-discovery{margin-top:24px;padding-top:28px}.community-discovery>.section-heading{align-items:stretch;flex-direction:column;gap:18px}.community-search{width:100%}}

/* Shared rhythm across member pages. */
.community-heading h1{min-width:0;white-space:nowrap;overflow-wrap:normal}
.member-home .community-filters .filter,.member-home .city-control{font-size:var(--member-label)}
.member-home[data-page="evenings"] #pageContent>.community-filters{margin-bottom:24px}
.profile-details .button{margin-top:0}
@media(max-width:360px){.member-home{--member-title:26px}.community-heading{gap:12px}.member-home .create-community{padding-inline:10px}.community-discovery .section-heading h2{font-size:var(--member-section)}}

/* Keep the community title intact; move the action below only on narrow phones. */
@media(max-width:760px){.community-heading h1{font-size:30px}.community-heading{gap:10px}}
@media(max-width:380px){.community-heading{flex-wrap:wrap;row-gap:16px}.community-heading h1{flex-basis:100%}.community-heading .create-community{margin-left:auto}}

#createCommunityDialog,#inviteLinkDialog{width:min(520px,calc(100% - 32px));max-height:calc(100svh - 32px);overflow-y:auto;padding:36px;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:12px}
#createCommunityDialog::backdrop,#inviteLinkDialog::backdrop{background:rgba(10,8,6,.75)}
#createCommunityDialog .close-dialog,#inviteLinkDialog .close-dialog{position:absolute;top:16px;right:16px}
#createCommunityTitle,#inviteLinkTitle{font-size:36px;line-height:1.1;padding-right:30px;margin:12px 0 16px}
.community-form-intro{font-size:13px;line-height:1.8;color:var(--muted);margin-bottom:24px}
#createCommunityForm{display:grid;gap:10px}#createCommunityForm label{font-size:12px;color:var(--muted)}
#createCommunityForm input,#createCommunityForm select,#createCommunityForm textarea,#inviteLinkValue{width:100%;font:400 16px Manrope,sans-serif;color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:2px;padding:12px;margin-bottom:10px}
#createCommunityForm textarea{resize:vertical;min-height:100px}#createCommunityForm input:focus,#createCommunityForm select:focus,#createCommunityForm textarea:focus,#inviteLinkValue:focus{outline:1px solid var(--accent);outline-offset:0}
#createCommunityForm input::placeholder,#createCommunityForm textarea::placeholder{color:var(--muted);opacity:1;font-size:13px}
#createCommunityForm .button{width:100%;margin-top:4px}#createCommunityForm .inline-status:empty{display:none}
@media(max-width:760px){#createCommunityDialog,#inviteLinkDialog{padding:24px}#createCommunityTitle,#inviteLinkTitle{font-size:30px;margin-top:30px}}

.community-mark.has-photo{overflow:hidden}.community-mark.has-photo img{width:100%;height:100%;object-fit:cover}.community-photo-picker{display:flex;align-items:center;gap:16px;margin-bottom:14px}.community-photo-picker>img{width:64px;height:64px;border-radius:50%;object-fit:cover;flex:none}.community-photo-picker>div{min-width:0}.community-photo-picker p{font-size:11px;color:var(--muted);margin-top:6px}#createCommunityForm input[type=file]{font-size:12px;padding:8px 0;border:0;background:none;margin:0}#createCommunityForm input[type=file]::file-selector-button{background:var(--text);color:var(--bg);border:0;padding:10px 12px;margin-right:10px;font:inherit;cursor:pointer}.community-photo-picker .filter{font-size:12px;margin-top:6px}

#communityQuestionnaireDialog{width:min(520px,calc(100% - 32px));max-height:calc(100svh - 32px);overflow-y:auto;padding:36px;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:12px}
#communityQuestionnaireDialog::backdrop{background:rgba(10,8,6,.75)}
#communityQuestionnaireDialog .close-dialog{position:absolute;top:16px;right:16px}
#communityQuestionnaireTitle{font-size:36px;line-height:1.1;padding-right:30px;margin:12px 0 16px;outline:none}
.community-questionnaire-intro{font-size:13px;line-height:1.8;color:var(--muted);margin-bottom:24px}
#communityQuestionnaireForm{display:grid;gap:18px}
.cq-question{border:0;padding:0;margin:0}
.cq-question legend{font-size:13px;color:var(--text);line-height:1.5;margin-bottom:10px}
.cq-option{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:2px;margin-bottom:8px;font-size:13px;color:var(--muted);cursor:pointer}
.cq-option:has(input:checked){border-color:var(--accent);color:var(--text)}
.cq-option input{accent-color:var(--accent);margin-top:2px;flex:none}
#communityQuestionnaireForm .button{width:100%;margin-top:4px}
#communityQuestionnaireStatus:empty{display:none}
@media(max-width:760px){#communityQuestionnaireDialog{padding:24px}#communityQuestionnaireTitle{font-size:30px;margin-top:30px}}

#reviewAnswersDialog{width:min(640px,calc(100% - 32px));max-height:calc(100svh - 32px);overflow-y:auto;padding:36px;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:12px}
#reviewAnswersDialog::backdrop{background:rgba(10,8,6,.75)}
#reviewAnswersDialog .close-dialog{position:absolute;top:16px;right:16px}
#reviewAnswersTitle{font-size:36px;line-height:1.1;padding-right:30px;margin:12px 0 16px;outline:none}
.review-answers-intro{font-size:13px;line-height:1.8;color:var(--muted);margin-bottom:24px}
#reviewAnswersForm{display:grid;gap:18px}
#reviewAnswersForm .button{width:100%;margin-top:4px}
#reviewAnswersStatus:empty{display:none}
@media(max-width:760px){#reviewAnswersDialog{padding:24px}#reviewAnswersTitle{font-size:30px;margin-top:30px}}

/* Profile actions: two different colours, centred with a gap */
.profile-actions{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;margin-top:24px}
.profile-actions .button{min-width:170px;margin-top:0}
@media(max-width:480px){.profile-actions .button{flex:1 1 160px;min-width:0}}

/* Community management */
.manage-back{display:inline-flex;align-items:center;gap:9px;width:auto;min-height:44px;padding:10px 16px;margin-bottom:22px;align-self:flex-start}
.manage-back svg{width:16px;height:16px}
.manage-community-head{display:flex;align-items:center;gap:16px;margin-bottom:10px}.manage-invite-button{margin-left:auto;flex:none}
.manage-community-head h2{font-size:38px;line-height:1.1;margin:0}
.manage-community-meta{font-size:13px;color:var(--muted);margin-top:4px}
.manage-notice{margin:18px 0 0;padding:10px 14px;border-left:1px solid var(--accent);font-size:12px;line-height:1.6;color:var(--accent)}
.manage-section{border-top:1px solid var(--line);margin-top:32px;padding-top:28px}
.manage-section h2{font-size:32px;line-height:1.1;margin:0 0 16px}
.manage-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}
.manage-section-head h2{margin:0}
.manage-form{display:grid;gap:14px;max-width:560px}
.manage-field{display:grid;gap:6px;font-size:12px;color:var(--muted)}
.manage-field input,.manage-field textarea,.manage-field select{width:100%;font:400 15px Manrope,sans-serif;color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:2px;padding:12px}
.manage-field textarea{resize:vertical;min-height:96px}
.manage-field input:focus,.manage-field textarea:focus,.manage-field select:focus{outline:1px solid var(--accent);outline-offset:0}
.manage-form .button{justify-self:start;margin-top:4px}
.manage-events{display:grid;gap:10px}
.manage-event{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;padding:16px 18px;border:1px solid var(--line);border-radius:2px;background:var(--surface)}
.manage-event h3{font-size:24px;line-height:1.15;margin:0}
.manage-event-meta{font-size:12px;color:var(--muted);margin-top:6px}
.manage-event-attendees{font-size:12px;color:var(--muted);margin-top:4px}
.manage-event-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.manage-event-actions .button{padding:8px 14px;min-height:38px;font-size:12px}
.manage-empty{font-size:12px;color:var(--muted);line-height:1.7}
.manage-members{display:grid;gap:1px;border:1px solid var(--line);border-radius:2px;overflow:hidden}
.manage-member{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;background:var(--surface);font-size:12px}
.manage-member strong{font-weight:500;color:var(--text);margin-right:10px}
.manage-member span{color:var(--muted)}
.manage-member-meta{font-size:12px;text-align:right}
@media(max-width:760px){
 .manage-community-head h2{font-size:30px}
 .manage-section h2{font-size:26px}
 .manage-event{grid-template-columns:1fr}
 .manage-event-actions{justify-content:flex-start}
 .manage-member{align-items:flex-start;flex-direction:column;gap:4px}
 .manage-member-meta{text-align:left}
}

#manageEventDialog{width:min(560px,calc(100% - 32px));max-height:calc(100svh - 32px);overflow-y:auto;padding:36px;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:12px}
#manageEventDialog::backdrop{background:rgba(10,8,6,.75)}
#manageEventDialog .close-dialog{position:absolute;top:16px;right:16px}
#manageEventTitle{font-size:36px;line-height:1.1;padding-right:30px;margin:12px 0 16px;outline:none}
#manageEventForm{display:grid;gap:10px}
#manageEventForm label{font-size:12px;color:var(--muted)}
#manageEventForm input,#manageEventForm select,#manageEventForm textarea{width:100%;font:400 16px Manrope,sans-serif;color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:2px;padding:12px;margin-bottom:10px}
#manageEventForm textarea{resize:vertical;min-height:100px}
#manageEventForm input:focus,#manageEventForm select:focus,#manageEventForm textarea:focus{outline:1px solid var(--accent);outline-offset:0}
#manageEventForm #manageEventSubmit{width:100%;margin-top:4px}
#manageEventForm .inline-status:empty{display:none}
@media(max-width:760px){#manageEventDialog{padding:24px}#manageEventTitle{font-size:30px;margin-top:30px}}

/* Profile photo */
.profile-avatar{width:96px;height:96px;border-radius:50%;overflow:hidden;background:var(--surface);border:1px solid var(--line);display:grid;place-items:center;margin-bottom:14px}
.profile-avatar img{width:100%;height:100%;object-fit:cover}
.profile-avatar-fallback{font-family:'Cormorant Garamond',serif;font-size:30px;color:var(--muted)}
.profile-photo-button{display:inline-flex;width:auto;min-height:40px;padding:9px 16px;margin-bottom:14px;cursor:pointer}
.profile-link img{width:100%;height:100%;object-fit:cover;border-radius:50%}

/* Event photo picker in the management form */
.manage-event-photo{display:grid;gap:10px;margin:0 0 14px}
.manage-event-photo>img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:2px;border:1px solid var(--line)}
.manage-event-photo>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.manage-event-photo .button{width:auto;margin:0}
.manage-event-photo .filter{font-size:12px;margin:0}
.manage-event-photo p{font-size:12px;color:var(--muted);margin:0}

/* Date and time stay full width, exactly like every other field */
#manageEventForm > *{min-width:0}

/* Dynamic addresses: one cell, then a + to add more */
.manage-address-list{display:grid;gap:8px}
.manage-address-row{display:flex;align-items:center;gap:8px}
.manage-address-row input{flex:1;min-width:0;margin-bottom:0}
.manage-address-remove{width:48px;height:48px;flex:none;display:grid;place-items:center;border:1px solid var(--line);border-radius:2px;background:transparent;color:var(--muted);cursor:pointer}
.manage-address-remove svg{width:16px;height:16px}
.manage-address-remove:hover{color:var(--text);border-color:var(--accent)}
.manage-address-remove[hidden]{display:none}
.manage-add-address{justify-self:start;min-height:36px;padding:0;color:var(--accent);font-size:12px}

/* Keep the event form fields on one rhythm, including native date inputs */
#manageEventForm input,#manageEventForm select{height:48px;min-height:48px}
#manageEventForm input[type=date]{width:100%;min-width:0}
#manageEventForm textarea{height:auto;min-height:100px}

#inviteLinkDialog .invite-link-actions{display:flex;gap:12px;margin:12px 0}#inviteLinkDialog .invite-link-actions .button{width:auto}

.profile-legal{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 16px;margin-top:22px;padding-top:16px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.profile-legal-link{text-decoration:none}.profile-legal-link:hover{color:var(--text);text-decoration:underline;text-underline-offset:3px}
