/* V6.18: white-first surfaces, a consistent navy action, accents with distinct roles. */
:root{--brand-page:#fff;--brand-surface:#fff;--brand-ink:#24252b;--brand-muted:#606371;--brand-line:#e5e7ed;--brand-crimson:#30385d;--brand-crimson-hover:#222b4b;--brand-pink:#f28b78;--brand-lime:#ede6fa;--brand-lime-hover:#d9ccee;--brand-lime-wash:#f7f8fa;--ink:#24252b;--ink-soft:#606371;--line:#e5e7ed;--paper:#fff;--ivory:#fff;--plum:#24252b;--plum-deep:#24252b;--blush:#ede6fa;--blush-2:#f7f8fa;--coral:#f28b78;--coral-deep:#30385d;--sky:#dff3fc;--lilac:#ede6fa;--butter:#fff2bf;--mint:#e3f2e7;--peach:#ffebe5;--shadow-soft:0 6px 24px #30385d09}
body,body.journey-theme{background:#fff;color:var(--ink)}
.panel,.dialog-card,.admin-card,.plan-card,.member-card,.request-card,.activity-box{border-color:var(--line);box-shadow:none}
body :is(input,select,textarea){border-color:var(--line)}
body :is(input,select,textarea):focus-visible,body :is(button,a,summary):focus-visible{outline:3px solid #586ea6;outline-offset:3px}
body .btn.primary,body .btn.dark,body .search-card .btn{background:#30385d;color:#fff;border-color:#30385d;box-shadow:none}
body .btn.primary:hover,body .btn.dark:hover{background:#222b4b;border-color:#222b4b}
body .btn.ghost{background:#fff;color:#30385d;border-color:var(--line)}
body .btn.ghost:hover{background:#f3f5fa}
body .kicker,body .eyebrow{color:#615083}
body .kicker:before,body .eyebrow:before{background:#bcabe3}
.nav-badge,.notification-badge{background:#b24435;color:#fff}
body .site-nav,body.journey-theme .site-nav{background:#fff;border-color:var(--line)}
body.journey-theme .mobile-nav-panel.open{background:#fff;color:var(--ink);border-color:var(--line);box-shadow:0 12px 30px #30385d18}
body.journey-theme .mobile-nav-panel.open a,body.journey-theme .mobile-nav-panel.open button{color:var(--ink)}
body.journey-theme .mobile-nav-panel.open a:hover{background:var(--sky);color:#30385d}
body .mobile-tabs a.active,body.journey-theme .mobile-tabs a.active{background:var(--lilac);color:#30385d}
body.journey-theme.open-road-home .hero{min-height:0;background:#fff}
body.journey-theme.open-road-home .hero-grid{padding-top:120px;padding-bottom:0;max-width:1120px}
body.journey-theme.open-road-home .hero-copy{max-width:1000px;text-align:center}
body.journey-theme.open-road-home .hero h1{font-size:clamp(40px,4.5vw,60px);line-height:1.08;letter-spacing:-.045em;margin:0}
body.journey-theme.open-road-home .hero h1 em{color:#d45140}
body.journey-theme.open-road-home .hero .search-card{margin:22px auto 0;max-width:600px;border-color:var(--line);box-shadow:0 4px 16px #30385d08}
body.open-road-home .home-message-strip{height:32px;min-height:32px;margin:12px auto 0;color:var(--ink-soft)}
body.open-road-home .home-message-stack{background:none;color:var(--ink-soft)}
body.open-road-home .hero-media{max-width:1200px;aspect-ratio:2.5;max-height:440px;margin:0 auto;background:#fff}
body.open-road-home .hero-scene img{object-fit:cover;object-position:center bottom}
body.open-road-home .hero-media:after{background:linear-gradient(#fff,transparent 25px)}
body.open-road-home .hero-slideshow-controls{min-height:44px;padding:0}
body.open-road-home .hero-scene-dot:before{background:#ccd1de}
body.open-road-home .hero-scene-dot[aria-pressed=true]:before{background:#30385d}
body.open-road-home #community,body.open-road-home #community .members-wrap{background:#fff;border-color:var(--line)}
body.open-road-home #community{padding-top:28px;padding-bottom:24px}
body.open-road-home #community .members-wrap{padding:0!important;border:0;border-radius:0;box-shadow:none}
body.open-road-home #community .member-access-gate{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:28px;align-items:center}
body.open-road-home #community .member-access-gate.hidden{display:none!important}
body.open-road-home #community .locked-community{margin:0}
body.open-road-home #community .member-gate-copy{border-left:6px solid #f28b78;margin:0;padding:28px}
body.open-road-home #community .locked-member-portrait{height:170px;background:var(--butter)}
body.open-road-home #community .locked-member-copy>strong{min-height:0}
body.open-road-home #community .locked-member-card{flex-basis:260px}
body.open-road-home #community .section-head{align-items:flex-start}
body.open-road-home #community .community-copy-stack{gap:12px}
body.open-road-home #community .section-title{font-size:clamp(30px,3.8vw,48px);max-width:580px}
body.open-road-home #community{padding:28px 0 28px!important}
body.open-road-home #live-plans{padding:28px 0!important}
body.open-road-home #how{padding:28px 0 12px!important}
body.open-road-home #safety{padding:24px 0 40px!important}
body.open-road-home #community .member-access-gate{background:#fff;box-shadow:none}
body.open-road-home .section-head{margin-bottom:20px}
body.open-road-home #live-plans{padding-top:28px;padding-bottom:28px;border-top:1px solid var(--line)}
body.open-road-home .home-how{padding-top:28px;padding-bottom:12px}
body.open-road-home .home-trust{padding-top:20px;padding-bottom:40px}
body .member-gate-copy{background:#fff;border:1px solid var(--line);border-left:6px solid #f28b78;box-shadow:none}
.locked-member-card .locked-photo,.locked-member-photo{background:var(--butter)}
body .how-card{border:0;background:var(--peach);box-shadow:none;padding:24px;border-radius:18px}
body .how-card:nth-child(2){background:var(--butter)}
body .how-card:nth-child(3){background:var(--sky)}
body .how-number{color:#b24435}
body .how-card:nth-child(2) .how-number{color:#826000}
body .how-card:nth-child(3) .how-number{color:#22688e}
body .home-trust-points span{background:#fff;border-color:var(--line)}
body .home-trust-points span:nth-child(1){border-left:4px solid #7cbf91}
body .home-trust-points span:nth-child(2){border-left:4px solid #86c9ea}
body .home-trust-points span:nth-child(3){border-left:4px solid #bcabe3}
body .plan-card{--plan-accent:var(--sky);background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 5px 16px #30385d06}
body .plan-card:nth-child(3n+2){--plan-accent:var(--lilac)}
body .plan-card:nth-child(3n+3){--plan-accent:var(--butter)}
body .plan-member-card .plan-top,body .plan-preview-card .plan-preview-visual{background:#fff;color:var(--ink);min-height:0}
body .plan-member-card .plan-top h3,body .plan-member-card .plan-top .plan-destination,body .plan-preview-card .plan-preview-route strong{color:var(--ink)}
body .plan-member-card .plan-top .plan-date,body .plan-preview-card .plan-preview-route small{color:#30385d}
body .plan-preview-card .preview-kicker{color:#a04034}
body .plan-tags .chip,body .plan-member-card .plan-tags .chip,body .preview-stat-row>span,body .plan-member-card .plan-top>.chip,body .plan-preview-card .preview-spots{background:var(--plan-accent,var(--sky));color:#30385d;border:0}
body .plan-member-card .plan-copy,body .plan-member-card .plan-owner{background:#fff}
body .trip-details-facts>div:nth-child(3n+1){background:var(--sky)}
body .trip-details-facts>div:nth-child(3n+2){background:var(--lilac)}
body .trip-details-facts>div:nth-child(3n+3){background:var(--butter)}
body .trip-cover{background:#fff}
body.journey-theme.open-road-home .home-auth-dialog{background:#fff;color:var(--ink);border:1px solid var(--line);box-shadow:0 12px 60px #30385d20}
body.journey-theme.open-road-home .home-account-actions{background:#f5f3fa;border-color:var(--line)}
body.journey-theme.open-road-home .home-account-actions .btn[aria-expanded=true],body .auth-tab.active{background:#30385d;color:#fff}
body .join-header-card,body .founding-welcome,body .community-start{background:#fff;border:1px solid var(--line);border-left:5px solid #bcabe3}
body .join-header-card .btn{background:#30385d;color:#fff;border-color:#30385d}
body .journey-milestones strong:nth-child(3n+1){background:var(--peach)}
body .journey-milestones strong:nth-child(3n+2){background:var(--butter)}
body .journey-milestones strong:nth-child(3n+3){background:var(--sky)}
body .activity-menu,body .activity-menu-head,body .activity-menu-list,body .activity-menu-body,body .activity-menu-empty,body .activity-menu-footer,body .activity-menu-status{background:#fff;color:var(--ink);border-color:var(--line)}
body .activity-menu{box-shadow:0 12px 40px #30385d1a;border:1px solid var(--line)}
body .activity-menu-head h2,body .activity-menu-copy strong,body .activity-menu-title{color:var(--ink)}
body .activity-menu-head p,body .activity-menu-preview,body .activity-menu-copy small,body .activity-menu-empty p{color:var(--ink-soft)}
body .activity-menu-row{background:#fff;color:var(--ink);border-color:var(--line)}
body .activity-menu-row.is-unread,body .notification-item.unread{background:#eff8fc;border-color:#b9dceb}
body .activity-menu-row:hover,body .activity-menu-row.is-unread:hover{background:#f1eef8}
body .activity-menu-symbol,body .activity-menu-close,body .activity-menu-empty>span{background:var(--lilac);color:#30385d}
body .activity-menu-dot{background:#30385d}
body .activity-menu-footer a,body .activity-menu-retry{color:#30385d}
body .activity-menu a:focus-visible,body .activity-menu button:focus-visible{outline-color:#586ea6}
body .bubble.me{background:var(--sky);color:var(--ink)}
body .bubble:not(.me){background:#f3f0f9;color:var(--ink)}
body.is-account-flow #dashboardPanel{padding:0;border:0;box-shadow:none;background:#fff}
body .dashboard-summary{background:#fff;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:0 0 24px;box-shadow:none}
body .dashboard-summary .chip{background:var(--mint);color:#285f39;border:0}
.dashboard-view-tabs{display:flex;gap:8px;margin:20px 0 24px;border-bottom:1px solid var(--line)}
.dashboard-view-tabs button{font:700 15px/1.3 Figtree,system-ui,sans-serif;min-height:48px;padding:12px 20px;background:transparent;border:0;border-bottom:3px solid transparent;color:var(--ink-soft);cursor:pointer}
.dashboard-view-tabs button[aria-selected=true]{color:#30385d;border-bottom-color:#30385d;background:#f5f3fa;border-radius:10px 10px 0 0}
body .dashboard-grid{display:block}
body .dashboard-grid>.panel,body .dashboard-account-view{border:0;border-radius:0;background:#fff;box-shadow:none;padding:0;margin:0}
body .dashboard-grid>[hidden]{display:none!important}
body .dashboard-grid .request-card{border:0;border-bottom:1px solid var(--line);border-radius:0;padding:20px 0;box-shadow:none;background:#fff}
body .dashboard-grid .request-list{gap:0}
body .dashboard-grid .panel-head{margin-bottom:12px}
.dashboard-ideas,.dashboard-membership{margin-top:24px;border-top:1px solid var(--line);padding:8px 0}
.dashboard-ideas>summary,.dashboard-membership>summary{padding:12px 0;min-height:44px;font-weight:700;cursor:pointer}
.dashboard-membership:has(>.hidden){display:none}
body .dashboard-attention{padding:12px 16px!important;margin:0 0 24px!important}
body .dashboard-attention .panel-head h3{font-size:20px}
body .dashboard-attention .attention-grid{display:flex;flex-wrap:wrap;gap:16px}
body .dashboard-attention .attention-grid>*{background:transparent;border:0;padding:8px 0;min-width:100px;flex:1}
body .dashboard-attention .attention-grid strong{font-size:24px}
body:has(#dashboardPanel:not(.hidden)) .join-header-card{border:0;padding:0;background:#fff;box-shadow:none}
body:has(#dashboardPanel:not(.hidden)) .join-header-trust{display:none}
body.is-account-flow #activityPrompt{background:#fff;border:0;border-left:3px solid #86c9ea;border-radius:0;box-shadow:none;padding:12px 16px}
.dashboard-settings-link{display:inline-block;padding:16px 0;color:#30385d;text-decoration:underline}
body .dashboard-attention{background:#fff;border:0;border-left:4px solid #f6ce62;border-radius:0;box-shadow:none}
body .dashboard-attention-item{border:0;border-bottom:1px solid var(--line);border-radius:0}
.privacy-disclosure{border-top:1px solid var(--line);margin-top:24px;padding:16px 0}
.privacy-disclosure>summary{cursor:pointer;font-weight:750;padding:10px 0;min-height:44px}
.privacy-disclosure:has(>.privacy-controls.hidden){display:none}
body .privacy-disclosure .privacy-controls{padding:0;border:0;box-shadow:none}
body .privacy-grid{gap:28px}
body .privacy-block{background:#fff;border:0;border-left:3px solid #86c9ea;padding:0 0 0 20px;border-radius:0}
body .privacy-close{border-left-color:#f28b78}
body:has(#dashboardPanel:not(.hidden)):not([data-dashboard-view=account]) .privacy-disclosure{display:none}
body:has(#dashboardPanel:not(.hidden)) #communityStart{padding:18px;border:0;border-left:4px solid #86c9ea;border-radius:0;margin:20px 0}
body:has(#dashboardPanel:not(.hidden)) .community-ideas{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body .community-idea{background:#fff;border-color:var(--line)}
body .community-idea:nth-child(1){border-top:3px solid #7cbf91}
body .community-idea:nth-child(2){border-top:3px solid #86c9ea}
body .community-idea:nth-child(3){border-top:3px solid #f6ce62}
.cover-gallery{margin:12px 0}
.cover-gallery>summary{min-height:44px;padding:12px 0;font-weight:700;cursor:pointer;color:#30385d}
.cover-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:10px 0}
.cover-option{min-width:0;text-align:left;overflow:hidden;border:2px solid var(--line);border-radius:12px;padding:0;background:#fff;color:var(--ink);font:600 13px/1.4 Figtree,system-ui,sans-serif}
.cover-option img{display:block;width:100%;height:auto;aspect-ratio:2;object-fit:cover}
.cover-option span{display:block;padding:10px}
.cover-option[aria-pressed=true]{border-color:#30385d;box-shadow:0 0 0 2px #bcabe3}
.cover-option[aria-pressed=true] span:after{content:' ✓'}
body .policy article{border-color:var(--line);box-shadow:none}
body .footer{background:#242b43;color:#fff}
@media(max-width:720px){
 body.journey-theme.open-road-home .hero-grid{padding-top:96px}
 body.journey-theme.open-road-home .hero h1{font-size:38px;line-height:1.08;letter-spacing:-1.4px}
 body.journey-theme.open-road-home .hero .search-card{margin-top:20px}
 body.open-road-home .home-message-strip{height:42px;min-height:42px;margin-top:10px;font-size:14px}
 body.open-road-home .hero-media{aspect-ratio:1.8;max-height:none;margin-top:0}
 body.open-road-home .hero-scene img,body.open-road-home .hero-scene[data-scene=offroad] img{object-fit:cover;object-position:45% center}
 body.open-road-home #community{padding-top:16px;padding-bottom:20px}
 body.open-road-home #community .member-access-gate{grid-template-columns:1fr;gap:20px}
 body.open-road-home #community .member-gate-copy{padding:20px}
 body.open-road-home #community .locked-member-card{flex-basis:220px}
 body.open-road-home #live-plans{padding-top:24px;padding-bottom:20px}
 body.open-road-home .home-how{padding-top:20px}
 .dashboard-view-tabs{gap:0}.dashboard-view-tabs button{flex:1;padding:12px 6px;font-size:14px}
 .cover-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body:has(#dashboardPanel:not(.hidden)) .community-ideas{grid-template-columns:1fr}
 body .dashboard-summary .form-actions{gap:10px}
 body .dashboard-summary .form-actions>.btn{width:100%}
 body .privacy-grid{grid-template-columns:1fr}
}
@media(max-width:360px){body.journey-theme.open-road-home .hero h1{font-size:33px}}

/* Retire high-specificity legacy account surfaces rather than nesting more boxes. */
body #dashboardPanel .dashboard-summary,body #dashboardPanel .dashboard-grid>.panel,body #dashboardAttention{background:#fff!important;border-radius:0!important;box-shadow:none!important}
body #dashboardPanel .dashboard-grid>.panel{padding:0!important;border:0!important}
body:has(#dashboardPanel:not(.hidden)) .join-header-card{border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important}
body:has(#dashboardPanel:not(.hidden)) .join-header-card .founder-guest{display:none}
body:has(#dashboardPanel:not(.hidden)) .join-header-card .join-header-side{justify-self:end}
body:has(#dashboardPanel:not(.hidden)) main>.container:has(>a[href="/notification-settings.html"]){display:none}
body #dashboardAccount #activityPrompt{border-radius:0!important;padding:16px 0!important;border:0;border-top:1px solid var(--line);margin-top:20px;background:#fff;box-shadow:none}
@media(max-width:720px){body:has(#dashboardPanel:not(.hidden)) .join-header-card{gap:14px}body:has(#dashboardPanel:not(.hidden)) .join-header-card .join-header-side{justify-self:start}}

body .activity-menu .activity-menu-close:focus-visible{outline-color:#586ea6!important}

body[data-dashboard-view]:not([data-dashboard-view=plans]) #newTripPanel{display:none}
/* V6.18.1: restore composition, remove fixed text slots, clarify the dashboard. */
@media(min-width:721px){
 body.open-road-home .hero-media{width:100%;max-width:none;max-height:none;aspect-ratio:3/2;margin-top:-4vw}
 body.open-road-home .hero-scene img,body.open-road-home .hero-scene[data-scene=offroad] img{object-fit:contain;object-position:center;width:100%;height:100%}
 body.open-road-home .hero-media:after{display:none}
 body.open-road-home .hero-copy,body.open-road-home .home-message-strip{position:relative;z-index:2}
}
body #memberGrid.member-grid.member-carousel .member-card{height:628px!important;min-height:628px!important;max-height:628px!important;grid-template-rows:420px minmax(0,1fr)!important}
body #memberGrid.member-grid.member-carousel .member-photo{height:420px!important;min-height:420px!important;max-height:420px!important}
body #memberGrid.member-grid.member-carousel .member-body{height:208px!important;min-height:0!important;padding:14px 16px!important;gap:6px;display:flex;flex-direction:column;overflow:hidden}
body .member-identity{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
body .member-identity h3,body .member-identity>strong{margin:0!important;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:21px!important;line-height:1.2}
body .member-identity .founding-badge{margin:0;flex:none;max-width:128px;padding:4px 6px;font-size:10px;white-space:nowrap}
body #memberGrid .member-body .meta{margin:0!important;min-height:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.4}
body #memberGrid .member-mini-chips{margin:0;min-height:22px;max-height:25px;overflow:hidden;flex-wrap:nowrap}
body #memberGrid .member-mini-chips>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
body #memberGrid .member-body p{margin:0!important;min-height:0!important;max-height:38px!important;font-size:13px;line-height:19px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body #memberGrid .member-actions{margin-top:auto!important;gap:8px;display:flex;min-width:0}
body #memberGrid .member-actions .btn{min-width:0;flex:1;padding:9px 6px;font-size:12px;min-height:42px;white-space:nowrap}
body .plan-member-card .plan-top h3{height:auto;min-height:0;max-height:none;margin:10px 0 6px;line-height:1.15}
body .plan-member-card .plan-top .plan-destination{height:auto;min-height:0;line-height:1.4}
body .plan-member-card .plan-top{padding-bottom:12px}
body .plan-member-card .plan-copy{padding-top:0;gap:14px}
body .plan-member-card .plan-excerpt{min-height:0;height:auto;max-height:4.5em;line-height:1.5}
body .plan-member-card .plan-meta-row{margin-top:12px}
body .home-trust .request-actions>.btn:nth-child(1){background:var(--peach);border-color:#efc3b6;color:#75392f}
body .home-trust .request-actions>.btn:nth-child(2){background:var(--lilac);border-color:#cdbde6;color:#4e3d6c}
body .home-trust .request-actions>.btn:nth-child(3){background:var(--sky);border-color:#b3d8e9;color:#255369}
body .home-trust .request-actions>.btn:hover{filter:brightness(.96)}
body .mobile-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}
body.about-page .about-intro{padding:110px 0 28px;min-height:0}
body.about-page .story-intro-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:36px}
body.about-page .story-intro-copy .section-title{font-size:clamp(34px,4vw,54px);line-height:1.08;max-width:650px}
body.about-page .story-intro-copy .section-copy{margin:18px 0 24px;max-width:600px}
body.about-page .story-intro-art{width:100%;height:auto;display:block;border-radius:20px}
body.about-page #discover{padding:32px 0}
body.about-page .section-head{margin-bottom:24px}
body.about-page .section-title{font-size:clamp(28px,3.5vw,44px);line-height:1.12}
body.about-page .nav-actions{display:flex!important;margin-left:auto}
body.about-page .nav-actions .btn{display:inline-flex!important}
body .dashboard-view-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:6px;border:1px solid #d9dce6;background:#f2f3f8;border-radius:16px;margin:20px 0 28px;position:sticky;top:84px;z-index:12}
body .dashboard-view-tabs button{border:2px solid transparent;border-radius:11px;color:#414964;min-height:54px;padding:12px;font-size:16px}
body .dashboard-view-tabs button[aria-selected=true]{background:#30385d;color:#fff;border-color:#30385d;border-radius:11px;box-shadow:0 2px 6px #30385d20}
body .dashboard-view-tabs button:hover:not([aria-selected=true]){background:#e3e5ee}
body .dashboard-view-tabs button[aria-selected=true]:before{content:'●';margin-right:7px;font-size:10px;vertical-align:2px}
body:has(#dashboardPanel:not(.hidden)) .join-header-side{display:none}
body #connectionInbox{display:block}
.connection-group{margin:0 0 28px}
.connection-group h4{font:750 20px/1.3 Figtree,system-ui,sans-serif;margin:0 0 14px;display:flex;align-items:center;gap:9px}
.connection-group h4>span{font-size:13px;background:var(--lilac);border-radius:999px;padding:4px 9px}
.connection-people{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:16px;align-items:stretch}
body .dashboard-grid .connection-person,body .connection-person{display:flex;flex-direction:column;min-width:0;border:1px solid var(--line);padding:0 0 16px;border-radius:18px;overflow:hidden;background:#fff}
body .connection-person .request-head{display:flex;flex-direction:column;align-items:stretch;gap:10px;padding:0;margin:0}
body .connection-person .compact-avatar{width:100%;height:160px;min-height:160px;border-radius:0;object-fit:cover;margin:0;background:var(--sky)}
body .connection-person .request-head>div{padding:0 14px;min-width:0}
body .connection-person strong{display:block;font-size:18px;overflow-wrap:anywhere}
body .connection-person small{display:block;line-height:1.5;margin-top:3px}
body .connection-person .request-statuses{margin:0;justify-content:flex-start;flex-wrap:wrap}
body .connection-person>p{margin:12px 14px;font-size:14px;overflow-wrap:anywhere}
body .connection-person .request-actions{padding:14px 14px 0;margin-top:auto;display:flex;gap:6px}
body .connection-person .request-actions .btn{flex:1;min-width:0;padding:10px 8px}
body [data-connection-group=incoming] .connection-person{border-top:4px solid #f28b78}
body [data-connection-group=connected] .connection-person{border-top:4px solid #7cbf91}
body [data-connection-group=waiting] .connection-person{border-top:4px solid #bcabe3}
.connection-history>summary{cursor:pointer;min-height:44px;padding:12px 0;font-weight:700}
#past-plans{padding:28px 0;border-top:1px solid var(--line)}
#past-plans .section-copy{margin:12px 0 0;font-size:15px;max-width:600px}
.past-plan-grid{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 40px)/3);gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:12px}
.past-plan-card{scroll-snap-align:start;min-width:0;display:flex;flex-direction:column}
.past-plan-copy{padding:18px;display:flex;flex:1;flex-direction:column;gap:8px}
.past-plan-copy h3{font-size:23px;line-height:1.2;margin:0}
.past-plan-copy p{margin:0;font-size:14px}
.past-plan-label{font-size:12px;font-weight:700;color:#4e3d6c;align-self:flex-start;border-radius:6px;background:var(--lilac);padding:3px 7px}
.past-plan-copy .btn{margin-top:auto}
.past-plan-summary{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
#pastPlanStatus{font-size:13px;color:var(--ink-soft)}
@media(max-width:720px){
 body #memberGrid.member-grid.member-carousel{grid-auto-columns:87%!important;gap:12px!important;max-width:none!important;width:100%!important;scroll-padding-left:0}
 body #memberGrid.member-grid.member-carousel .member-card{width:100%!important;min-width:0!important;height:588px!important;min-height:588px!important;max-height:588px!important;grid-template-rows:380px minmax(0,1fr)!important}
 body #memberGrid.member-grid.member-carousel .member-photo{height:380px!important;min-height:380px!important;max-height:380px!important}
 body #memberGrid .member-identity h3{font-size:19px!important}
 body .member-identity .founding-badge{max-width:112px;font-size:9px;padding:4px}
 body.open-road-home #community .locked-member-card{flex:0 0 87%;width:87%;min-width:0}
 body.open-road-home #community .locked-member-copy{padding:14px;gap:8px}
 body.about-page .about-intro{padding:94px 0 20px}
 body.about-page .story-intro-grid{grid-template-columns:1fr;gap:20px}
 body.about-page .story-intro-copy .section-title{font-size:36px}
 body.about-page .story-intro-art{max-height:220px;object-fit:cover}
 body.about-page #discover{padding-top:24px}
 body.about-page .nav-inner{gap:12px}
 body.about-page .brand{max-width:170px}
 body .dashboard-view-tabs{top:72px;margin:16px 0 22px;gap:4px;padding:4px;border-radius:12px}
 body .dashboard-view-tabs button{font-size:13px;padding:10px 4px;min-height:50px}
 body .dashboard-view-tabs button[aria-selected=true]:before{display:none}
 .connection-people{grid-auto-flow:column;grid-auto-columns:82%;grid-template-columns:none;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:10px;gap:12px}
 .connection-person{scroll-snap-align:start}
 .past-plan-grid{grid-auto-columns:87%;gap:12px}
}

body .connection-person .compact-photo{width:100%;height:160px;min-width:0;flex:auto;border-radius:0}
body .connection-person .compact-photo>img{height:160px;width:100%;object-fit:cover}
body .connection-person .request-head>div.request-statuses{padding:0 14px}
/* Existing request layouts are flex rows; photo cards need a single vertical grid. */
body #dashboardPanel .connection-person,body .connection-person{padding:0 0 16px;border-radius:18px;border:1px solid var(--line)}
body #dashboardPanel .connection-person .request-head,body .connection-person .request-head{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;flex-wrap:nowrap}
body .connection-person .request-head>*{min-width:0;max-width:100%}
body .connection-person .request-head>.compact-photo{display:block;width:100%;height:160px;min-height:160px;padding:0;border-radius:0}
body .connection-person .request-head>div:not(.request-statuses){flex:none}
body .connection-person .request-actions .btn{width:auto!important;flex:1}
body #dashboardPanel [data-connection-group=incoming] .connection-person{border-top:4px solid #f28b78}
body #dashboardPanel [data-connection-group=connected] .connection-person{border-top:4px solid #7cbf91}
body #dashboardPanel [data-connection-group=waiting] .connection-person{border-top:4px solid #bcabe3}
body #dashboardPanel .dashboard-summary{padding:0 0 20px!important}
body #dashboardPanel .dashboard-summary .dashboard-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:nowrap}
body #dashboardPanel .dashboard-summary .me-card{min-width:0}
body #dashboardPanel .dashboard-summary .me-card h3{font-size:19px}
body #dashboardPanel .dashboard-summary .form-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
body #dashboardPanel .dashboard-summary .form-actions>.btn{width:auto;flex:1;padding:12px 8px;font-size:13px}
body #dashboardPanel .dashboard-summary .chip{font-size:11px;white-space:nowrap}
body .dashboard-action-summary p{margin:8px 0}
body .dashboard-action-summary>a{display:inline-block;background:var(--sky);padding:10px 14px;border-radius:10px;color:#255369;font-weight:700}
@media(max-width:720px){body .dashboard-summary #mePhoto{width:44px;height:44px}body #dashboardPanel .dashboard-summary .form-actions>.btn{width:auto!important}}
body .mobile-tabs:not(.hidden){grid-template-columns:repeat(4,minmax(0,1fr))}
@media(min-width:721px){body.open-road-home .hero-media{margin-top:-12vw}}
body #dashboardPanel .dashboard-summary .me-card{flex:1}
body #dashboardPanel .dashboard-summary .me-card>div{min-width:0}
body #dashboardPanel .dashboard-summary .me-card h3{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
body[data-dashboard-view]:not([data-dashboard-view=plans]) .dashboard-summary .form-actions{display:none!important}
/* V6.18.1 shadow refinement: one quiet elevation per content surface. */
:root{--tma-shadow-card:0 3px 14px rgba(48,56,93,.055),0 1px 2px rgba(48,56,93,.025);--tma-shadow-control:0 4px 16px rgba(48,56,93,.07);--tma-shadow-overlay:0 12px 36px rgba(48,56,93,.13)}
body.journey-theme .member-card,body.journey-theme .plan-card,body.journey-theme .locked-member-card,body.journey-theme .moment-card,body .connection-person,body #dashboardPanel .connection-person{box-shadow:var(--tma-shadow-card)}
body.journey-theme.open-road-home .hero .search-card{box-shadow:var(--tma-shadow-control)}
body.journey-theme .dialog[open],body.journey-theme.open-road-home .home-auth-dialog[open],body.journey-theme .activity-menu,body.journey-theme .mobile-nav-panel.open{box-shadow:var(--tma-shadow-overlay)}
body.journey-theme .dialog-card{box-shadow:none}
body.journey-theme .site-nav{box-shadow:0 2px 8px rgba(48,56,93,.035)}
body.journey-theme .mobile-tabs:not(.hidden){box-shadow:0 -2px 10px rgba(48,56,93,.045)}
body.journey-theme .btn,body.journey-theme .btn:hover,body.journey-theme .site-nav .btn,body.journey-theme .site-nav .btn:hover,body.journey-theme .dashboard-shortcut,body.journey-theme .moment-share-button{box-shadow:none}
body.journey-theme .notification-item,body.journey-theme .notification-item.unread,body.journey-theme .moment-upload,body.journey-theme .how-card,body.journey-theme .policy article{box-shadow:none}
body .dashboard-view-tabs button[aria-selected=true]{box-shadow:0 1px 4px rgba(48,56,93,.10)}
body #memberGrid.member-carousel,body #planGrid.plan-carousel,body #lockedMemberTrack,body .past-plan-grid,body .connection-people{padding-top:6px;padding-bottom:16px}
@media(min-width:1051px){
 body #dashboardPeople #connectionInbox{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}
 body #dashboardPeople .connection-group{margin:0;min-width:0}
 body #dashboardPeople .connection-group:has(.connection-person:nth-child(3)),body #dashboardPeople .connection-history,body #dashboardPeople #connectionInbox>.notice{grid-column:1/-1}
 body #dashboardPeople .connection-people{grid-template-columns:repeat(auto-fill,minmax(min(100%,210px),1fr));align-items:start;overflow:visible}
 body #dashboardPeople .connection-person{min-width:0}
}
body #planGrid.plan-carousel>.plan-card{box-shadow:var(--tma-shadow-card)}
body.journey-theme .plan-card:hover,body.journey-theme .member-card:hover{transform:none}
/* V6.18.1 layout2: compact art, predictable card rows, readable full messages. */
@media(min-width:721px){
 body.open-road-home .hero-media{height:clamp(300px,30vw,400px);aspect-ratio:auto;margin-top:0;overflow:hidden}
 body.open-road-home .hero-scene img,body.open-road-home .hero-scene[data-scene=offroad] img{position:absolute;inset:auto 0 0;height:135%;max-height:none;object-fit:contain;object-position:center bottom}
 body.journey-theme.open-road-home .hero-grid{padding-top:108px}
}
body #dashboardPanel .connection-person,body .connection-person{height:470px;min-height:470px;max-height:470px;padding-bottom:12px}
body .connection-person .compact-avatar,body .connection-person .compact-photo,body .connection-person .compact-photo>img,body .connection-person .request-head>.compact-photo{height:210px;min-height:210px;max-height:210px;flex:none}
body #dashboardPanel .connection-person .request-head,body .connection-person .request-head{gap:8px;flex:none}
body .connection-person .request-head strong{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
body .connection-person .request-head small{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
body .connection-person .request-statuses{flex-wrap:nowrap;min-height:25px}
body .connection-person .request-statuses>span{min-width:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
body .connection-person .connection-message{margin:8px 14px 0;min-height:0}
body .connection-person .connection-message p{margin:0;font-size:13px;line-height:19px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
body .connection-read-more{background:none;border:0;padding:4px 0;min-height:30px;color:#30385d;font-size:13px;font-weight:700;text-decoration:underline;text-underline-offset:3px}
body .connection-person>p.help{margin:4px 14px;font-size:11px;line-height:15px}
body .connection-person .request-actions{padding-top:8px;flex:none;min-height:50px}
body .connection-person .request-actions:empty{display:none}
body .connection-message-dialog{width:min(520px,calc(100% - 32px));max-height:80dvh;padding:24px;border:1px solid var(--line);border-radius:18px;overflow-y:auto}
body .connection-message-dialog h2{font-size:23px;line-height:1.2;margin-top:0}
body .connection-message-full{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}
body .plan-member-card .plan-copy{flex:1 0 auto;min-height:0;gap:12px;padding-top:0;padding-bottom:16px}
body .plan-member-card .plan-excerpt{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:0;max-height:4.5em}
body .plan-member-card .plan-meta-row{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;align-items:start;min-height:0;margin-top:auto}
body .plan-member-card .plan-meta-row .plan-tags{display:flex;flex-wrap:nowrap;gap:6px;min-height:32px;align-items:flex-start;margin:0;padding:0}
body .plan-meta-row .plan-tags .chip{min-width:0;max-width:100%;padding:6px 9px;font-size:11px;line-height:20px}
body .plan-meta-row .trip-travellers,body .plan-meta-row .trip-travellers-empty{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;max-width:none;min-height:36px;height:36px;padding:0;gap:8px;text-align:left}
body .plan-meta-row .trip-traveller-open{min-height:36px}
body .plan-meta-row .trip-travellers-empty span{max-width:none}
body .plan-member-card .plan-owner{margin-top:0}
/* hero4: reserve a clear text zone above the panoramic landscape.
   The overlap only reuses the illustration's empty white sky. */
@media(min-width:721px){
 body.journey-theme.open-road-home .hero{position:relative;display:flex;flex-direction:column;height:auto;min-height:0;overflow:hidden}
 body.journey-theme.open-road-home .hero-grid{position:relative;z-index:2;flex:none;width:100%;padding-top:104px;padding-bottom:0}
 body.journey-theme.open-road-home .hero h1{font-size:clamp(40px,4vw,56px)}
 body.journey-theme.open-road-home .hero .search-card{margin-top:16px}
 body.open-road-home .home-message-strip{margin-top:12px;height:34px;min-height:34px;max-width:760px;padding:0 16px;font:650 clamp(18px,1.5vw,23px)/1.25 "Bricolage Grotesque",Figtree,system-ui,sans-serif;letter-spacing:-.025em}
 body.open-road-home .home-message-stack{position:relative}
 body.open-road-home .home-message{width:max-content;max-width:100%;justify-self:center;color:#296482;opacity:0;transform:translateY(7px);transition:opacity .18s ease,transform .18s ease;transition-delay:0s}
 body.open-road-home .home-message.is-active{opacity:1;transform:translateY(0);transition:opacity .45s ease,transform .55s cubic-bezier(.2,.7,.2,1);transition-delay:.18s}
 body.open-road-home #homeMessage1{color:#a44e38}
 body.open-road-home #homeMessage2{color:#775090}
 body.open-road-home #homeMessage3{color:#a23e65}
 body.open-road-home #homeMessage4{color:#347154}
 body.open-road-home #homeMessage5{color:#267477}
 body.open-road-home #homeMessage6{color:#3f6596}
 body.open-road-home .hero-media{position:relative;inset:auto;flex:none;width:100%;max-width:none;height:auto;max-height:none;aspect-ratio:3/1;margin:calc(18px - 11.7vw) 0 0;overflow:visible}
 body.open-road-home .hero-scene img,body.open-road-home .hero-scene[data-scene=offroad] img{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:contain;object-position:center bottom}
 body.open-road-home .hero-scene{transition:opacity .8s cubic-bezier(.4,0,.2,1)}
 body.open-road-home .hero-slideshow-controls{position:relative;inset:auto;flex:none;width:100%;height:44px;min-height:44px;margin-top:auto;background:#fff;z-index:3}
 body.open-road-home #community{padding-top:0!important}
}
@media(min-width:721px) and (max-height:800px){
 body.journey-theme.open-road-home .hero-grid{padding-top:94px}
 body.journey-theme.open-road-home .hero h1{font-size:38px}
 body.journey-theme.open-road-home .hero .search-card{margin-top:12px}
 body.open-road-home .home-message-strip{font-size:20px}
}
@media(min-width:721px) and (prefers-reduced-motion:reduce){
 body.open-road-home .home-message,body.open-road-home .home-message.is-active,body.open-road-home .hero-scene{transition:none;transform:none}
}
