/* Community on phones (design handoff): one section switcher, Discover cards, Feed rows,
   Roamers and Travel Buddies. Desktop keeps its layout; the phone-only elements stay hidden there. */
.cm-title,.cm-subtitle,.cm-subtabs{display:none}
@media(max-width:767px){
 html body.community-page[data-community-view]{--cm-bg:#f5fbfd;--cm-surface:#fff;--cm-ink:#123b61;--cm-ink2:#2c4d6b;--cm-muted:#58748c;--cm-line:#dbeaf1;--cm-control:#9fbccb;--cm-accent:#00849b;--cm-on-accent:#fff;--cm-tint:#e5f5fb;--cm-share:#0b7c8c}
 html[data-theme=dark] body.community-page[data-community-view]{--cm-bg:#171f22;--cm-surface:#202d32;--cm-ink:#edf4f7;--cm-ink2:#d3e0e6;--cm-muted:#abc2cc;--cm-line:#3a505b;--cm-control:#4f6c78;--cm-accent:#83dfd3;--cm-on-accent:#10201f;--cm-tint:#243e45}
 html body.community-page[data-community-view]{background:var(--cm-bg);color:var(--cm-ink)}
 html body.community-page[data-community-view] :is(.community-tabs,.cm-subtabs,.dh-types,.tb-navigation) :is(a,button):focus-visible{outline:3px solid var(--cm-accent);outline-offset:2px}

 /* Section switcher: Discover · Feed · Roamers · Travel Buddies. */
 html body.community-page[data-community-view] .community-navigation{display:block;margin:0;padding:0;border:0;background:none}
 /* The browse page's own styles reset this overflow; the switcher must always scroll sideways. */
 html body.community-page[data-community-view] .community-tabs{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto!important;margin:0;padding:12px 0;border:0;border-bottom:1px solid var(--cm-line);background:none;scrollbar-width:none}
 html body.community-page[data-community-view] .community-tabs::-webkit-scrollbar{display:none}
 html body.community-page[data-community-view] .community-tabs>:is(a[href*="view=followers"],a[href*="view=connections"],.community-more-nav){display:none!important}
 html body.community-page[data-community-view] .community-tabs>a{position:relative;flex:0 0 auto;display:inline-flex;flex-direction:row;align-items:center;min-height:36px;margin:0;padding:0 14px;border:1px solid var(--cm-line);border-radius:999px;background:transparent;box-shadow:none;color:var(--cm-ink)!important;font:700 14px/1 Arial,Helvetica,sans-serif;text-decoration:none}
 html body.community-page[data-community-view] .community-tabs>a::before{content:'';position:absolute;inset:-5px 0}
 html body.community-page[data-community-view] .community-tabs>a::after{display:none}
 html body.community-page[data-community-view] .community-tabs>a :is(small,.community-tab-icon){display:none}
 html body.community-page[data-community-view] .community-tabs>a strong{font:inherit;color:inherit;white-space:nowrap}
 /* theme.css forces dark link colours; the pills carry their own contrast pair. */
 html body.community-page[data-community-view] .community-tabs>a[aria-current]{border-color:var(--cm-ink);background:var(--cm-ink)!important;color:var(--cm-bg)!important}
 html body.community-page[data-community-view] .community-tabs>a[href$="community.html"]{order:1}
 html body.community-page[data-community-view] .community-tabs>a[href*="view=following"]{order:2}
 html body.community-page[data-community-view] .community-tabs>a[href*="view=people"]{order:3}
 html body.community-page[data-community-view] .community-tabs>a[href*="view=buddies"]{order:4}

 /* Section heading (Feed, Roamers, Travel Buddies), moved under the switcher. */
 html body.community-page[data-community-view] .community-workspace>.community-hero{margin:0;padding:20px 0 4px;background:none!important;color:var(--cm-ink)}
 html body.community-page[data-community-view] .community-workspace>.community-hero .community-heading{display:none}
 html body.community-page[data-community-view] .community-workspace>.community-hero .cm-title{display:block;margin:0;color:var(--cm-ink);font:700 28px/1.2 Arial,Helvetica,sans-serif;letter-spacing:0}
 html body.community-page[data-community-view] .cm-subtitle{display:block;margin:6px 0 0;color:var(--cm-muted);font-size:15px;line-height:1.45}
 html body.community-page[data-community-view] .cm-subtitle a{color:var(--cm-accent);font-weight:700}
 html body.community-page[data-community-view] .community-home-layout{margin-top:14px}

 /* Sub-tabs: Roamers (links) and Travel Buddies (tabs) share the segmented style. */
 html body.community-page[data-community-view] :is(.cm-subtabs,.tb-navigation [role=tablist]){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:16px 0 0;padding:4px;border:1px solid var(--cm-line);border-radius:14px;background:var(--cm-surface)}
 html body.community-page[data-community-view] :is(.cm-subtabs>a,.tb-navigation [role=tab]){position:relative;display:grid;place-items:center;min-height:36px;margin:0;padding:2px 4px;border:0;border-radius:10px;background:transparent;box-shadow:none;color:var(--cm-muted);font:700 13px/1.15 Arial,Helvetica,sans-serif;text-align:center;text-decoration:none}
 html body.community-page[data-community-view] :is(.cm-subtabs>a,.tb-navigation [role=tab])::before{content:'';position:absolute;inset:-4px 0}
 html body.community-page[data-community-view] :is(.cm-subtabs>a[aria-current],.tb-navigation [role=tab][aria-selected=true]){background:var(--cm-bg);color:var(--cm-ink);box-shadow:0 1px 4px rgba(0,0,0,.15)}
 html body.community-page[data-community-view] .tb-navigation [role=tab] .tb-phone-only{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
 html body.community-page[data-community-view] .tb-navigation{display:block;margin:0;padding:0;border:0;background:none;overflow:visible}
 html body.community-page[data-community-view] .tb-navigation [role=tab] .tb-icon,html body.community-page[data-community-view] .tb-navigation>a,html body.community-page[data-community-view] .tb-navigation #tb-tab-messages{display:none!important}

 /* Discover */
 html body.community-page[data-community-view] .dh-heading{padding:20px 0 0}
 html body.community-page[data-community-view] .dh-heading h1{margin:0;color:var(--cm-ink);font:700 28px/1.2 Arial,Helvetica,sans-serif}
 html body.community-page[data-community-view] .dh-heading p{margin:6px 0 14px;color:var(--cm-muted);font-size:15px}
 html body.community-page[data-community-view] #community-toolbar{display:flex;align-items:center;gap:8px;max-width:none;height:48px;margin:0;padding:0 6px 0 14px;border:1px solid var(--cm-line);border-radius:14px;background:var(--cm-surface);box-shadow:none}
 html body.community-page[data-community-view] #community-toolbar label{display:flex;flex:1;align-items:center;gap:10px;min-width:0;margin:0;padding:0;border:0;background:none}
 html body.community-page[data-community-view] #community-toolbar input{width:100%;min-width:0;height:44px;border:0!important;background:none!important;color:var(--cm-ink);font-size:16px;outline:0}
 html body.community-page[data-community-view] .dh-types{gap:8px;margin:0 calc(-1 * var(--site-gutter,16px));padding:14px var(--site-gutter,16px) 2px;scrollbar-width:none}
 html body.community-page[data-community-view] .dh-types a{position:relative;min-height:34px;padding:0 14px;border:0;border-radius:999px;background:var(--cm-tint);color:var(--cm-ink);font:700 13px/1 Arial,Helvetica,sans-serif}
 html body.community-page[data-community-view] .dh-types a::before{content:'';position:absolute;inset:-5px 0}
 html body.community-page[data-community-view] .dh-types a[aria-current]{background:var(--cm-accent);color:var(--cm-on-accent)}
 html body.community-page[data-community-view] .dh-section{padding:24px 0 0;border:0}
 html body.community-page[data-community-view] .dh-section>header{align-items:end;margin-bottom:12px}
 html body.community-page[data-community-view] .dh-section h2{color:var(--cm-ink);font:700 19px/1.25 Arial,Helvetica,sans-serif}
 html body.community-page[data-community-view] .dh-section>header p{margin-top:3px;color:var(--cm-muted);font-size:13px}
 html body.community-page[data-community-view] .dh-section>header>a{gap:4px;color:var(--cm-accent);font-size:13px}
 html body.community-page[data-community-view] .dh-section>header>a .dh-icon{display:none}
 html body.community-page[data-community-view] .dh-rail{grid-auto-columns:260px;gap:12px;margin:0 calc(-1 * var(--site-gutter,16px));padding:2px var(--site-gutter,16px) 6px;scroll-padding-inline:var(--site-gutter,16px)}
 html body.community-page[data-community-view] .dh-section[aria-labelledby=dh-places] .dh-rail{grid-auto-columns:150px}
 html body.community-page[data-community-view] .dh-card{border:1px solid var(--cm-line);border-radius:16px;background:var(--cm-surface)}
 html body.community-page[data-community-view] .dh-journey .dh-cover{height:150px;aspect-ratio:auto}
 html body.community-page[data-community-view] .dh-pill{position:absolute;top:10px;left:10px;padding:5px 10px;border-radius:999px;background:rgba(9,20,26,.72);color:#fff;font:700 12px/1.2 Arial,Helvetica,sans-serif;pointer-events:none}
 html body.community-page[data-community-view] .dh-save{top:8px;right:8px;width:36px;height:36px;border:0;background:rgba(9,20,26,.55);color:#fff}
 html body.community-page[data-community-view] .dh-save::before{content:'';position:absolute;inset:-4px}
 html body.community-page[data-community-view] .dh-save .dh-icon{filter:brightness(0) invert(1)}
 html body.community-page[data-community-view] .dh-save[aria-pressed=true]{outline:0;background:var(--cm-accent)}
 html body.community-page[data-community-view] .dh-card-body{padding:12px 14px 14px}
 html body.community-page[data-community-view] .dh-card h3{margin:0;font:700 15px/1.35 Arial,Helvetica,sans-serif}
 html body.community-page[data-community-view] .dh-card h3 a{color:var(--cm-ink)}
 html body.community-page[data-community-view] .dh-byline{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0 0;font-size:12px}
 html body.community-page[data-community-view] .dh-byline .dh-author{display:flex;align-items:center;gap:6px;min-width:0;color:var(--cm-ink2);font-size:12px;font-weight:600;text-decoration:none}
 html body.community-page[data-community-view] .dh-byline .dh-author>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 html body.community-page[data-community-view] .dh-byline .dh-avatar{width:22px;height:22px;background:var(--cm-tint);color:var(--cm-accent);font-size:10px;font-weight:800}
 html body.community-page[data-community-view] .dh-country{display:flex;flex:none;align-items:center;gap:6px;max-width:50%;color:var(--cm-muted)}
 html body.community-page[data-community-view] .dh-country img{width:16px;height:16px;flex:none;border-radius:50%;object-fit:cover}
 html body.community-page[data-community-view] .dh-country span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 /* Multi-country journeys list every country on their own line under the author. */
 html body.community-page[data-community-view] .dh-byline:has(.dh-country.is-multi){flex-wrap:wrap;row-gap:6px}
 html body.community-page[data-community-view] .dh-country.is-multi{flex-basis:100%;max-width:none}
 html body.community-page[data-community-view] .dh-country.is-multi span{white-space:normal;overflow:visible;line-height:1.35}
 html body.community-page[data-community-view] .dh-place{border:0}
 html body.community-page[data-community-view] .dh-place .dh-cover{position:relative;height:196px;aspect-ratio:auto;color:#fff;text-decoration:none}
 html body.community-page[data-community-view] .dh-place .dh-cover::after{content:'';position:absolute;inset:40% 0 0;background:linear-gradient(transparent,rgba(5,15,20,.78))}
 html body.community-page[data-community-view] .dh-tile-text{position:absolute;inset:auto 10px 10px;z-index:1;display:grid;gap:2px}
 html body.community-page[data-community-view] .dh-tile-text strong{font:700 15px/1.25 Arial,Helvetica,sans-serif;overflow-wrap:anywhere}
 html body.community-page[data-community-view] .dh-tile-text small{font-size:12px;opacity:.9}
 html body.community-page[data-community-view] .dh-gem{margin-top:10px}
 html body.community-page[data-community-view] .dh-gem>a{display:grid;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:12px;padding:10px;color:var(--cm-ink);text-decoration:none}
 html body.community-page[data-community-view] .dh-gem-photo{display:block;width:72px;height:72px;overflow:hidden;border-radius:12px;background:var(--cm-tint)}
 html body.community-page[data-community-view] .dh-gem-photo img{width:100%;height:100%;object-fit:cover}
 html body.community-page[data-community-view] .dh-gem-text{display:grid;gap:3px;min-width:0}
 html body.community-page[data-community-view] .dh-gem-text small{display:flex;align-items:center;gap:5px;color:var(--cm-accent);font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
 html body.community-page[data-community-view] .dh-gem-text small .dh-icon{width:14px;height:14px}
 html body.community-page[data-community-view] .dh-gem-text strong{font:700 15px/1.3 Arial,Helvetica,sans-serif}
 html body.community-page[data-community-view] .dh-gem-text>span{color:var(--cm-muted);font-size:12px}
 html body.community-page[data-community-view] .dh-buddies{display:grid;grid-template-columns:44px minmax(0,1fr);gap:14px;margin-top:24px;padding:16px;border-radius:16px;background:var(--cm-tint);color:var(--cm-ink)}
 html body.community-page[data-community-view] .dh-buddies-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--cm-accent)}
 html body.community-page[data-community-view] .dh-buddies-icon .dh-icon{width:22px;height:22px;filter:brightness(0) invert(1)}
 html[data-theme=dark] body.community-page[data-community-view] .dh-buddies-icon .dh-icon{filter:brightness(0)}
 html body.community-page[data-community-view] .dh-buddies h2{margin:0;color:var(--cm-ink);font:700 16px/1.3 Arial,Helvetica,sans-serif}
 html body.community-page[data-community-view] .dh-buddies p{margin:3px 0 0;color:var(--cm-muted);font-size:13px;line-height:1.45}
 html body.community-page[data-community-view] .dh-buddies a{display:inline-flex;align-items:center;gap:4px;min-height:44px;color:var(--cm-accent);font-size:14px;font-weight:700;text-decoration:none}
 html body.community-page[data-community-view] .dh-activity{grid-template-columns:36px minmax(0,1fr) 64px;gap:12px;padding:12px 0;border-top:1px solid var(--cm-line)}
 html body.community-page[data-community-view] .dh-activity .dh-avatar{width:36px;height:36px;background:var(--cm-tint);color:var(--cm-accent);font-size:14px;font-weight:800}
 html body.community-page[data-community-view] .dh-activity p{margin:0 0 3px;color:var(--cm-muted);font-size:12px}
 html body.community-page[data-community-view] .dh-activity p .dh-author{color:var(--cm-ink);font-size:12px;font-weight:700}
 html body.community-page[data-community-view] .dh-activity time{margin:0}
 html body.community-page[data-community-view] .dh-activity-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--cm-ink);font-size:14px;font-weight:700;line-height:1.35;text-decoration:none}
 html body.community-page[data-community-view] .dh-thumbnail{width:64px;height:52px;border-radius:10px}
 html body.community-page[data-community-view] .dh-share{margin:24px 0 8px;padding:20px;border-radius:20px;background:var(--cm-share);color:#fff}
 html body.community-page[data-community-view] .dh-share h2{margin:0;color:#fff;font:700 18px/1.3 Arial,Helvetica,sans-serif}
 html body.community-page[data-community-view] .dh-share p{margin:6px 0 16px;color:rgba(255,255,255,.88);font-size:14px}
 html body.community-page[data-community-view] .dh-share-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
 html body.community-page[data-community-view] .dh-share-actions .button{display:grid;place-items:center;min-height:44px;margin:0;padding:6px 8px;border:1.5px solid #fff!important;border-radius:12px;background:#fff!important;color:var(--cm-share)!important;font:700 14px/1.2 Arial,Helvetica,sans-serif;text-align:center}
 html body.community-page[data-community-view] .dh-share-actions .button+.button{background:transparent!important;color:#fff!important}

 /* Feed: the same compact rows as Latest from the Community. */
 html body.community-page[data-community-view] #community-feed-rows{display:block}
 html body.community-page[data-community-view] .cf-post{display:grid;grid-template-columns:minmax(0,1fr) 64px;align-items:center;gap:12px;margin:0;padding:12px 0;border:0;border-top:1px solid var(--cm-line);border-radius:0;background:none;box-shadow:none}
 html body.community-page[data-community-view] .cf-post .cf-story{display:grid;gap:3px;min-width:0;padding:0}
 html body.community-page[data-community-view] .cf-post .ch-author{display:flex;align-items:center;gap:10px;color:var(--cm-muted);text-decoration:none}
 html body.community-page[data-community-view] .cf-post .cf-avatar{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:50%;object-fit:cover;background:var(--cm-tint);color:var(--cm-accent);font-size:14px;font-weight:800}
 html body.community-page[data-community-view] .cf-post .ch-author strong{color:var(--cm-ink);font-size:12px}
 html body.community-page[data-community-view] .cf-post .ch-author small{display:inline;color:var(--cm-muted);font-size:12px}
 html body.community-page[data-community-view] .cf-post .ch-author>span:not(.cf-avatar){display:block;font-size:12px;line-height:1.35}
 html body.community-page[data-community-view] .cf-post h2{margin:0 0 0 46px;font:700 14px/1.35 Arial,Helvetica,sans-serif}
 html body.community-page[data-community-view] .cf-post h2 a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--cm-ink);text-decoration:none}
 html body.community-page[data-community-view] .cf-post :is(.cf-description,.cf-meta,.cf-tags,.cf-actions){display:none}
 html body.community-page[data-community-view] .cf-post .cf-media{display:block;width:64px;height:52px;margin:0;overflow:hidden;border-radius:10px}
 html body.community-page[data-community-view] .cf-post .cf-media>span{display:block;width:100%;height:100%}
 html body.community-page[data-community-view] .cf-post .cf-media img{width:100%;height:100%;object-fit:cover}
 html body.community-page[data-community-view] .cf-post .cf-media b{display:none}

 /* Roamers */
 html body.community-page[data-community-view] .roamers-layout{display:block}
 html body.community-page[data-community-view] .roamers-sidebar{display:none}
 html body.community-page[data-community-view] .roamers-filters{display:flex;gap:8px;margin:0;padding:0;border:0;background:none}
 html body.community-page[data-community-view] .roamers-search{display:flex;flex:1;align-items:center;gap:8px;min-width:0;height:46px;padding:0 12px;border:1px solid var(--cm-control);border-radius:12px;background:var(--cm-surface)}
 html body.community-page[data-community-view] .roamers-search input{width:100%;min-width:0;border:0!important;background:none!important;color:var(--cm-ink);font-size:16px}
 html body.community-page[data-community-view] .roamers-filter-toggle{min-height:46px;padding:0 14px;border:1px solid var(--cm-control);border-radius:12px;background:var(--cm-surface);color:var(--cm-ink);font-size:14px;font-weight:700}
 html body.community-page[data-community-view] .roamers-status{margin:14px 0 10px;color:var(--cm-muted);font-size:13px}
 html body.community-page[data-community-view] .roamers-grid{display:grid;gap:12px}
 html body.community-page[data-community-view] .roamer-card{position:relative;display:block;padding:14px;border:1px solid var(--cm-line);border-radius:16px;background:var(--cm-surface);box-shadow:none;overflow:visible}
 html body.community-page[data-community-view] .roamer-cover{display:none}
 html body.community-page[data-community-view] .roamer-body{display:grid;gap:10px;padding:0}
 html body.community-page[data-community-view] .roamer-body>header{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:12px;margin:0;padding:0 44px 0 0}
 html body.community-page[data-community-view] .roamer-avatar{position:static;width:48px;height:48px;margin:0;border:0;border-radius:50%;object-fit:cover}
 html body.community-page[data-community-view] .roamer-body h2{margin:0;font:700 16px/1.3 Arial,Helvetica,sans-serif}
 html body.community-page[data-community-view] .roamer-body h2 a{color:var(--cm-ink);text-decoration:none}
 html body.community-page[data-community-view] :is(.roamer-handle,.roamer-location){display:inline;margin:0;color:var(--cm-muted);font-size:12px}
 html body.community-page[data-community-view] .roamer-location::before{content:' · '}
 html body.community-page[data-community-view] .roamer-location img{display:none}
 html body.community-page[data-community-view] .roamer-menu{position:absolute;top:14px;right:14px;z-index:1}
 html body.community-page[data-community-view] .roamer-menu>summary{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--cm-line);border-radius:50%;background:var(--cm-surface)}
 html body.community-page[data-community-view] .roamer-bio{margin:0;color:var(--cm-ink2);font-size:14px;line-height:1.45}
 html body.community-page[data-community-view] .roamer-interests{display:flex;flex-wrap:nowrap;gap:6px;margin:0;padding:0;overflow:hidden;list-style:none}
 html body.community-page[data-community-view] .roamer-interests li{display:inline-flex;flex:none;align-items:center;padding:4px 10px;border-radius:999px;background:var(--cm-tint);color:var(--cm-ink);font-size:12px;font-weight:700}
 html body.community-page[data-community-view] .roamer-interests li img{display:none}
 html body.community-page[data-community-view] .roamer-interests a{color:inherit;text-decoration:none}
 html body.community-page[data-community-view] .roamer-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:2px 0 0}
 html body.community-page[data-community-view] .roamer-actions .button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;margin:0;padding:0 10px;border-radius:12px;font-size:14px;font-weight:700}
 html body.community-page[data-community-view] .roamer-actions .button img{display:none}
 html body.community-page[data-community-view] .roamer-actions .roamer-profile{border:0!important;background:var(--cm-accent)!important;color:var(--cm-on-accent)!important}
 html body.community-page[data-community-view] .roamer-actions .roamer-follow{border:1px solid var(--cm-tint)!important;background:var(--cm-tint)!important;color:var(--cm-ink)!important}
 html body.community-page[data-community-view] .roamer-actions .roamer-follow[aria-pressed=true]{border-color:var(--cm-control)!important;background:transparent!important}
 html body.community-page[data-community-view] .roamer-feedback:empty{display:none}

 /* Travel Buddies: Find buddies (nearby), Travel dates and Plans & invitations. */
 html body.community-page[data-community-view] .tb-panels{margin-top:14px}
 html body.community-page[data-community-view] .buddy-section{margin:0 0 14px;padding:16px;border:1px solid var(--cm-line);border-radius:16px;background:var(--cm-surface);color:var(--cm-ink)}
 html body.community-page[data-community-view] .buddy-section h2{margin:0;color:var(--cm-ink);font:700 17px/1.3 Arial,Helvetica,sans-serif}
 html body.community-page[data-community-view] .buddy-section>p:not([role]){margin:6px 0 14px;color:var(--cm-muted);font-size:13px;line-height:1.5}
 html body.community-page[data-community-view] .buddy-section>p:empty{display:none}
 html body.community-page[data-community-view] .buddy-plan-form{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0}
 html body.community-page[data-community-view] .buddy-plan-form>label{display:grid;gap:6px;margin:0;color:var(--cm-ink);font-size:13px;font-weight:700}
 html body.community-page[data-community-view] .buddy-plan-form>label:first-child,html body.community-page[data-community-view] .buddy-plan-form>label:has(select),html body.community-page[data-community-view] .buddy-plan-form>.buddy-share,html body.community-page[data-community-view] .buddy-plan-form>button{grid-column:1/-1}
 html body.community-page[data-community-view] .buddy-plan-form :is(input:not([type=checkbox]),select){box-sizing:border-box;width:100%;min-width:0;height:46px;padding:0 12px;border:1px solid var(--cm-control);border-radius:12px;background:var(--cm-surface);color:var(--cm-ink);font-size:16px}
 html body.community-page[data-community-view] .buddy-plan-form>.buddy-share{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;font-size:14px}
 html body.community-page[data-community-view] .buddy-share input{appearance:none;-webkit-appearance:none;position:relative;order:2;flex:none;width:44px!important;height:26px!important;min-width:0!important;min-height:0!important;margin:0;padding:0;border:0;border-radius:999px;background:var(--cm-control);cursor:pointer}
 html body.community-page[data-community-view] .buddy-share input::after{content:'';position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;transition:transform .15s ease}
 html body.community-page[data-community-view] .buddy-share input:checked{background:var(--cm-accent)}
 html body.community-page[data-community-view] .buddy-share input:checked::after{transform:translateX(18px)}
 html body.community-page[data-community-view] .buddy-share input:focus-visible{outline:3px solid var(--cm-accent);outline-offset:2px}
 html body.community-page[data-community-view] .buddy-plan-form>button{min-height:46px;border-radius:12px;font-size:15px;font-weight:700}
 html body.community-page[data-community-view] .buddy-section[data-buddy-section=plans]{border:1.5px dashed var(--cm-control);background:transparent;text-align:center}
 html body.community-page[data-community-view] #buddy-invite-status:not(:empty){display:inline-block;margin:4px 0 0;padding:6px 12px;border-radius:999px;background:var(--cm-tint);color:var(--cm-ink);font-size:13px;font-weight:700}
}
@media(max-width:767px) and (prefers-reduced-motion:reduce){
 html body.community-page[data-community-view] .buddy-share input::after{transition:none}
}

/* Flags in front of each country on multi-country journey cards. */
.community-page :is(.dh-country,.cd-location) .place-flag{display:inline-block;width:16px;height:12px;margin:0 4px 0 0;vertical-align:-1px;border-radius:2px;object-fit:cover;box-shadow:0 0 0 1px rgba(11,49,92,.14)}
