/* OREVYON Member Shell 2.0 — one premium desktop shell across the private product. */
/* First paint: navigation injected by JS must stay invisible until mobile-experience.css takes over. */
.mobile-member-shell,.mobile-member-drawer,.mobile-member-backdrop{display:none}
:root{
  --member-night:#090908;
  --member-night-soft:#11110f;
  --member-ivory:#f2ece2;
  --member-paper:#fbf8f2;
  --member-ink:#181612;
  --member-muted:#746d63;
  --member-gold:#b49357;
  --member-gold-bright:#d0b477;
  --member-line:rgba(205,181,137,.22);
  --member-shadow:0 18px 60px rgba(0,0,0,.16);
}
body.member-shell-v2{
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body.member-shell-v2 ::selection{background:#cdb27b;color:#11100e}
body.member-shell-v2 a,
body.member-shell-v2 button,
body.member-shell-v2 input,
body.member-shell-v2 select,
body.member-shell-v2 textarea{transition:border-color .18s ease,background-color .18s ease,color .18s ease,opacity .18s ease,transform .18s ease}
body.member-shell-v2 a:focus-visible,
body.member-shell-v2 button:focus-visible,
body.member-shell-v2 input:focus-visible,
body.member-shell-v2 select:focus-visible,
body.member-shell-v2 textarea:focus-visible{
  outline:2px solid #c9aa6e!important;
  outline-offset:3px!important;
}

/* First-paint private header: canonical before navigation JS enhances it. */
@media(min-width:721px){
  body.member-shell-v2>header.top{
    min-height:82px!important;height:82px!important;padding:0 clamp(26px,4vw,68px)!important;
    display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;gap:34px!important;
    position:sticky!important;top:0!important;z-index:110!important;border-bottom:1px solid rgba(255,255,255,.085)!important;
    background:rgba(9,9,8,.965)!important;backdrop-filter:blur(18px) saturate(120%)!important;box-shadow:0 8px 32px rgba(0,0,0,.08)!important
  }
  body.member-shell-v2>header.top>.brand{display:flex!important;align-items:center!important;gap:12px!important;min-width:max-content!important;color:#eee8dd!important;text-decoration:none!important}
  body.member-shell-v2>header.top>.brand img,body.member-shell-v2>header.top>.brand svg{width:25px!important;height:34px!important;object-fit:contain!important;flex:none!important}
  body.member-shell-v2>header.top>.brand span{font-size:10px!important;letter-spacing:.38em!important;font-weight:500!important}
  body.member-shell-v2>header.top>.nav,body.member-shell-v2>header.top>.top-actions{
    min-width:0!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:nowrap!important;
    gap:clamp(9px,1vw,18px)!important;overflow:visible!important;margin:0!important
  }
  body.member-shell-v2>header.top :is(.nav,.top-actions)>a,
  body.member-shell-v2>header.top :is(.nav,.top-actions)>button{
    flex:0 0 auto!important;position:relative!important;min-height:38px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
    padding:0!important;border:0!important;background:transparent!important;color:#837c72!important;text-decoration:none!important;text-transform:uppercase!important;
    white-space:nowrap!important;font-family:'DM Sans',sans-serif!important;font-size:9px!important;line-height:1!important;font-weight:500!important;letter-spacing:.12em!important
  }
  body.member-shell-v2>header.top :is(.nav,.top-actions)>a.active{color:#d1b06f!important}
  body.member-shell-v2>header.top :is(.nav,.top-actions)>a[href*="/ask.html"]{min-height:34px!important;padding:0 13px!important;border:1px solid rgba(198,164,102,.42)!important;color:#d0b477!important;margin-left:3px!important}
  body.member-shell-v2>header.top>.back{display:none!important}
  /* Canonical desktop shell: House lives under Discover, Passport under You.
     Hide legacy first-paint links before member-navigation.js normalizes the header. */
  body.member-shell-v2>header.top :is(.nav,.top-actions)>a[href="/house.html"],
  body.member-shell-v2>header.top :is(.nav,.top-actions)>a[href="/passport.html"]{display:none!important}
}
@media(min-width:721px) and (max-width:1180px){
  body.member-shell-v2>header.top{padding-left:22px!important;padding-right:22px!important;gap:22px!important}
  body.member-shell-v2>header.top :is(.nav,.top-actions){gap:8px!important}
  body.member-shell-v2>header.top :is(.nav,.top-actions)>a,body.member-shell-v2>header.top :is(.nav,.top-actions)>button{font-size:8px!important;letter-spacing:.08em!important}
  body.member-shell-v2>header.top>.brand span{display:none!important}
}

/* Shared private header */
@media(min-width:721px){
  body.member-shell-v2 .member-desktop-shell,
  body.member-shell-v2 header.top:has(>.member-desktop-nav){
    min-height:82px!important;
    height:82px!important;
    padding:0 clamp(26px,4vw,68px)!important;
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    align-items:center!important;
    gap:34px!important;
    position:sticky!important;
    top:0!important;
    z-index:110!important;
    border-bottom:1px solid rgba(255,255,255,.085)!important;
    background:rgba(9,9,8,.965)!important;
    backdrop-filter:blur(18px) saturate(120%)!important;
    box-shadow:0 8px 32px rgba(0,0,0,.08)!important;
  }
  body.member-shell-v2 .atlas-header.member-desktop-shell{
    grid-template-columns:auto minmax(0,1fr) auto!important;
  }
  body.member-shell-v2 .member-desktop-shell .brand,
  body.member-shell-v2 .member-desktop-shell .atlas-brand,
  body.member-shell-v2 header.top:has(>.member-desktop-nav) .brand{
    display:flex!important;
    align-items:center!important;
    gap:12px!important;
    min-width:max-content!important;
    color:#eee8dd!important;
    text-decoration:none!important;
  }
  body.member-shell-v2 .member-desktop-shell .brand img,
  body.member-shell-v2 .member-desktop-shell .atlas-brand img,
  body.member-shell-v2 .member-desktop-shell .brand svg{
    width:25px!important;
    height:34px!important;
    object-fit:contain!important;
    flex:none!important;
  }
  body.member-shell-v2 .member-desktop-shell .brand span,
  body.member-shell-v2 .member-desktop-shell .atlas-brand span{
    font-size:10px!important;
    letter-spacing:.38em!important;
    font-weight:500!important;
  }
  body.member-shell-v2 .member-desktop-nav{
    min-width:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    flex-wrap:nowrap!important;
    gap:clamp(9px,1vw,18px)!important;
    overflow:visible!important;
    margin:0!important;
  }
  body.member-shell-v2 .member-desktop-nav>a,
  body.member-shell-v2 .member-desktop-nav>button,
  body.member-shell-v2 .member-desktop-nav>.member-nav-more>summary{
    flex:0 0 auto!important;
    position:relative!important;
    min-height:38px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    color:#837c72!important;
    text-decoration:none!important;
    text-transform:uppercase!important;
    white-space:nowrap!important;
    font-family:'DM Sans',sans-serif!important;
    font-size:9px!important;
    line-height:1!important;
    font-weight:500!important;
    letter-spacing:.12em!important;
    cursor:pointer!important;
  }
  body.member-shell-v2 .member-desktop-nav>a:after{
    content:'';position:absolute;left:50%;right:50%;bottom:3px;height:1px;background:#c4a366;
    transition:left .18s ease,right .18s ease,opacity .18s ease;opacity:0
  }
  body.member-shell-v2 .member-desktop-nav>a:hover{color:#d7cec0!important}
  body.member-shell-v2 .member-desktop-nav>a.active{color:#d1b06f!important}
  body.member-shell-v2 .member-desktop-nav>a.active:after{left:18%;right:18%;opacity:1}
  body.member-shell-v2 .member-desktop-nav>.member-nav-more{position:relative!important;flex:0 0 auto!important}
  body.member-shell-v2 .member-desktop-nav>.member-nav-more>summary{list-style:none!important;user-select:none!important}
  body.member-shell-v2 .member-desktop-nav>.member-nav-more>summary::-webkit-details-marker{display:none}
  body.member-shell-v2 .member-desktop-nav>.member-nav-more>summary:after{content:'+';margin-left:6px;color:#8f7750;font-size:11px;line-height:1}
  body.member-shell-v2 .member-desktop-nav>.member-nav-more[open]>summary:after{content:'−'}
  body.member-shell-v2 .member-desktop-nav>.member-nav-more.active>summary,
  body.member-shell-v2 .member-desktop-nav>.member-nav-more>summary:hover{color:#d1b06f!important}
  body.member-shell-v2 .member-nav-more-menu{position:absolute;right:0;top:42px;min-width:190px;padding:8px;background:#11100e;border:1px solid rgba(198,164,102,.28);box-shadow:0 18px 50px rgba(0,0,0,.32);display:grid;z-index:90}
  body.member-shell-v2 .member-nav-more-menu a{min-height:38px;padding:0 12px;display:flex;align-items:center;color:#91897e;text-decoration:none;text-transform:uppercase;font:500 8px/1 'DM Sans',sans-serif;letter-spacing:.12em;border-bottom:1px solid rgba(255,255,255,.055)}
  body.member-shell-v2 .member-nav-more-menu a:last-child{border-bottom:0}
  body.member-shell-v2 .member-nav-more-menu a:hover,
  body.member-shell-v2 .member-nav-more-menu a.active{color:#d1b06f;background:rgba(198,164,102,.06)}
  body.member-shell-v2 .member-desktop-nav .member-ask-utility{
    min-height:34px!important;
    padding:0 13px!important;
    border:1px solid rgba(198,164,102,.42)!important;
    color:#d0b477!important;
    margin-left:3px!important;
  }
  body.member-shell-v2 .member-desktop-nav .member-ask-utility:after{display:none!important}
  body.member-shell-v2 .member-desktop-nav .member-ask-utility:hover,
  body.member-shell-v2 .member-desktop-nav .member-ask-utility.active{
    background:#e8dfd0!important;
    border-color:#e8dfd0!important;
    color:#171511!important;
  }
  body.member-shell-v2 .member-desktop-nav .member-signout-utility{
    color:#5f5a53!important;
    font-size:8px!important;
    letter-spacing:.1em!important;
    margin-left:1px!important;
  }
  body.member-shell-v2 .member-desktop-nav .member-signout-utility:hover{color:#bcb2a4!important}
  body.member-shell-v2 .member-desktop-shell>.back{display:none!important}
  body.member-shell-v2 .member-desktop-nav .member-nav-legacy{display:none!important}
  /* Secondary House links are intentionally kept out of the primary desktop navigation. */
  body.member-shell-v2 .atlas-header.member-desktop-shell .atlas-head-actions{
    display:flex!important;
    align-items:center!important;
    gap:9px!important;
    margin-left:4px!important;
  }
  body.member-shell-v2 .atlas-header.member-desktop-shell .atlas-head-actions a{
    min-height:34px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0 10px!important;
    border:1px solid rgba(198,164,102,.25)!important;
    color:#b9a174!important;
    font-size:8px!important;
    letter-spacing:.12em!important;
    text-decoration:none!important;
  }
}

/* Intermediate desktop: keep everything first-class without crushing labels. */
@media(min-width:721px) and (max-width:1180px){
  body.member-shell-v2 .member-desktop-shell{padding-left:22px!important;padding-right:22px!important;gap:22px!important}
  body.member-shell-v2 .member-desktop-nav{gap:8px!important}
  body.member-shell-v2 .member-desktop-nav>a,
  body.member-shell-v2 .member-desktop-nav>button,
  body.member-shell-v2 .member-desktop-nav>.member-nav-more>summary{font-size:8px!important;letter-spacing:.08em!important}
  body.member-shell-v2 .member-desktop-nav .member-ask-utility{padding:0 9px!important}
  body.member-shell-v2 .member-desktop-shell .brand span,
  body.member-shell-v2 .member-desktop-shell .atlas-brand span{display:none!important}
}

/* Shared premium behavioural details */
body.member-shell-v2 button:not(:disabled),
body.member-shell-v2 a[href]{-webkit-tap-highlight-color:transparent}
body.member-shell-v2 button:disabled{cursor:not-allowed!important;opacity:.52}
body.member-shell-v2 input,
body.member-shell-v2 textarea,
body.member-shell-v2 select{border-radius:0}
body.member-shell-v2 .loading,
body.member-shell-v2 [aria-busy="true"]{cursor:progress}

/* Calm, consistent footer treatment when member pages expose one. */
body.member-shell-v2 footer,
body.member-shell-v2 .footer{
  border-top-color:rgba(196,163,102,.14)!important;
}

/* Legacy member surfaces now converge on the same OREVYON material language. */
body.member-shell-v2[data-member-surface="passport"],
body.member-shell-v2[data-member-surface="journeys"],
body.member-shell-v2[data-member-surface="memory"],
body.member-shell-v2[data-member-surface="saved"],
body.member-shell-v2[data-member-surface="conversations"],
body.member-shell-v2[data-member-surface="account"],
body.member-shell-v2[data-member-surface="membership"]{
  background:var(--member-night)!important;
}
body.member-shell-v2[data-member-surface="passport"]>.hero,
body.member-shell-v2[data-member-surface="journeys"]>.hero,
body.member-shell-v2[data-member-surface="memory"]>.hero,
body.member-shell-v2[data-member-surface="saved"]>.hero,
body.member-shell-v2[data-member-surface="conversations"]>.hero,
body.member-shell-v2[data-member-surface="account"]>.hero{
  min-height:500px!important;
  padding:94px 7vw 76px!important;
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  border-bottom:1px solid rgba(255,255,255,.07)!important;
  background:
    radial-gradient(circle at 84% 15%,rgba(186,145,76,.11),transparent 26%),
    linear-gradient(115deg,#090908 0%,#0b0b09 58%,#11100d 100%)!important;
}
body.member-shell-v2[data-member-surface="passport"]>.hero:after,
body.member-shell-v2[data-member-surface="journeys"]>.hero:after,
body.member-shell-v2[data-member-surface="memory"]>.hero:after,
body.member-shell-v2[data-member-surface="saved"]>.hero:after,
body.member-shell-v2[data-member-surface="conversations"]>.hero:after,
body.member-shell-v2[data-member-surface="account"]>.hero:after{
  content:'';position:absolute;right:-7vw;top:-18vw;width:48vw;height:48vw;border:1px solid rgba(191,157,96,.085);border-radius:50%;z-index:-1
}
body.member-shell-v2[data-member-surface="passport"]>.hero h1,
body.member-shell-v2[data-member-surface="journeys"]>.hero h1,
body.member-shell-v2[data-member-surface="memory"]>.hero h1,
body.member-shell-v2[data-member-surface="saved"]>.hero h1,
body.member-shell-v2[data-member-surface="conversations"]>.hero h1,
body.member-shell-v2[data-member-surface="account"]>.hero h1{
  font-size:clamp(68px,7.2vw,112px)!important;
  line-height:.88!important;
  letter-spacing:-.045em!important;
}
body.member-shell-v2[data-member-surface="passport"]>.hero p,
body.member-shell-v2[data-member-surface="journeys"]>.hero p,
body.member-shell-v2[data-member-surface="memory"]>.hero p,
body.member-shell-v2[data-member-surface="saved"]>.hero p,
body.member-shell-v2[data-member-surface="conversations"]>.hero p,
body.member-shell-v2[data-member-surface="account"]>.hero p{
  max-width:650px!important;color:#aaa195!important;font-size:13px!important;line-height:1.85!important
}
body.member-shell-v2[data-member-surface="passport"]>.workspace,
body.member-shell-v2[data-member-surface="memory"]>.workspace,
body.member-shell-v2[data-member-surface="saved"]>.workspace,
body.member-shell-v2[data-member-surface="conversations"]>.workspace,
body.member-shell-v2[data-member-surface="account"]>.workspace{
  background:
    linear-gradient(180deg,rgba(255,255,255,.26),transparent 170px),
    var(--member-ivory)!important;
}

/* Passport — geographic identity, not an admin panel. */
body.member-shell-v2[data-member-surface="passport"] .inner{max-width:1280px!important;padding-top:72px!important}
body.member-shell-v2[data-member-surface="passport"] .hero-note{
  border:1px solid rgba(198,164,102,.27)!important;background:rgba(16,15,12,.76)!important;
  backdrop-filter:blur(8px)!important;padding:28px!important
}
body.member-shell-v2[data-member-surface="passport"] .stats{
  border:0!important;border-top:1px solid #d2c5b3!important;border-bottom:1px solid #d2c5b3!important;background:transparent!important;margin-bottom:70px!important
}
body.member-shell-v2[data-member-surface="passport"] .stat{background:transparent!important;padding:23px 20px!important}
body.member-shell-v2[data-member-surface="passport"] .stat strong{font-size:35px!important}
body.member-shell-v2[data-member-surface="passport"] .section{padding:48px 0!important;border-top:1px solid #d1c4b3!important}
body.member-shell-v2[data-member-surface="passport"] .section-head h2{font-size:clamp(35px,3.4vw,52px)!important}
body.member-shell-v2[data-member-surface="passport"] .panel{
  background:rgba(255,253,248,.8)!important;border-color:#cbbca7!important;padding:28px!important;
  box-shadow:0 18px 56px rgba(58,44,25,.035)!important
}
body.member-shell-v2[data-member-surface="passport"] .place-row,
body.member-shell-v2[data-member-surface="passport"] .collection-row,
body.member-shell-v2[data-member-surface="passport"] .item-row,
body.member-shell-v2[data-member-surface="passport"] .signal-row{
  background:transparent!important;border-color:#d7cbb9!important;padding-top:17px!important;padding-bottom:17px!important
}
body.member-shell-v2[data-member-surface="passport"] .tabs{gap:7px!important}
body.member-shell-v2[data-member-surface="passport"] .tab{min-height:40px!important;background:transparent!important}
body.member-shell-v2[data-member-surface="passport"] .tab.active{background:#171612!important;color:#f3ece0!important;border-color:#171612!important}

/* Journeys — operational depth with editorial calm. */
body.member-shell-v2[data-member-surface="journeys"] .workspace{
  grid-template-columns:300px minmax(0,1fr)!important;
  background:var(--member-ivory)!important;
}
body.member-shell-v2[data-member-surface="journeys"] .sidebar{
  background:#e8e0d4!important;border-right:1px solid #cbbda9!important;padding:54px 25px 90px!important
}
body.member-shell-v2[data-member-surface="journeys"] .main{padding:64px clamp(34px,5vw,78px) 110px!important;max-width:1500px!important}
body.member-shell-v2[data-member-surface="journeys"] .journey-card{
  padding:20px 5px!important;border-color:#cabda9!important
}
body.member-shell-v2[data-member-surface="journeys"] .journey-card.active{
  margin-left:-12px!important;padding-left:16px!important;background:rgba(255,252,246,.62)!important;border-left:2px solid #a88343!important
}
body.member-shell-v2[data-member-surface="journeys"] .detail-head{padding-bottom:38px!important;margin-bottom:42px!important}
body.member-shell-v2[data-member-surface="journeys"] .section{padding:38px 0!important}
body.member-shell-v2[data-member-surface="journeys"] .item,
body.member-shell-v2[data-member-surface="journeys"] .recommendation-card,
body.member-shell-v2[data-member-surface="journeys"] .desk-metric,
body.member-shell-v2[data-member-surface="journeys"] .journey-brief-grid,
body.member-shell-v2[data-member-surface="journeys"] .journey-plan-shell,
body.member-shell-v2[data-member-surface="journeys"] .travel-desk,
body.member-shell-v2[data-member-surface="journeys"] .inbox-shell,
body.member-shell-v2[data-member-surface="journeys"] .learning-shell,
body.member-shell-v2[data-member-surface="journeys"] .live-travel-shell{
  background:#faf7f1!important;border-color:#cbbda9!important;box-shadow:0 16px 48px rgba(52,40,24,.028)!important
}
body.member-shell-v2[data-member-surface="journeys"] .section-title h3{font-size:34px!important}
body.member-shell-v2[data-member-surface="journeys"] .btn,
body.member-shell-v2[data-member-surface="journeys"] .new-btn{min-height:42px!important}

/* Travel Memory — make lived evidence feel personal, not database-like. */
body.member-shell-v2[data-member-surface="memory"] .workspace-inner{max-width:1280px!important;padding-top:68px!important}
body.member-shell-v2[data-member-surface="memory"] .hero-side{
  border:1px solid rgba(198,164,102,.23)!important;padding:26px!important;background:rgba(15,14,12,.62)!important
}
body.member-shell-v2[data-member-surface="memory"] .memory-stats{
  border:0!important;border-top:1px solid #d0c2ad!important;border-bottom:1px solid #d0c2ad!important;background:transparent!important;margin-bottom:48px!important
}
body.member-shell-v2[data-member-surface="memory"] .memory-toolbar{
  padding:28px 0!important;border-top:1px solid #cec0ac!important;border-bottom:1px solid #cec0ac!important;background:transparent!important
}
body.member-shell-v2[data-member-surface="memory"] .filter{background:transparent!important;min-height:40px!important}
body.member-shell-v2[data-member-surface="memory"] .filter.active{background:#171612!important;color:#f3ece0!important;border-color:#171612!important}
body.member-shell-v2[data-member-surface="memory"] .memory{
  background:#fffdf8!important;border-color:#cbbda9!important;padding:25px!important;box-shadow:0 18px 55px rgba(50,37,22,.035)!important
}
body.member-shell-v2[data-member-surface="memory"] .memory-title{font-size:31px!important}

/* Saved Places — visually subordinate to Collect but still useful as a practical view. */
body.member-shell-v2[data-member-surface="saved"] .inner{max-width:1260px!important;padding-top:70px!important}
body.member-shell-v2[data-member-surface="saved"] .toolbar{
  border:0!important;border-top:1px solid #cdbfaa!important;border-bottom:1px solid #cdbfaa!important;background:transparent!important;padding:20px 0!important;margin-bottom:40px!important
}
body.member-shell-v2[data-member-surface="saved"] .grid{gap:16px!important}
body.member-shell-v2[data-member-surface="saved"] .grid>article,
body.member-shell-v2[data-member-surface="saved"] .grid>.item{
  border-color:#c9baa5!important;background:#fffdf8!important;box-shadow:0 16px 52px rgba(55,42,24,.03)!important
}
body.member-shell-v2[data-member-surface="saved"] .media{min-height:240px!important}
body.member-shell-v2[data-member-surface="saved"] .hero-note a{display:inline-flex;margin-top:18px;min-height:38px;align-items:center;border:1px solid rgba(198,164,102,.4);padding:0 12px;color:#d0b477;text-decoration:none;font-size:7px;letter-spacing:.12em;text-transform:uppercase}
body.member-shell-v2[data-member-surface="saved"] .hero-note a:hover{background:#e8dfd0;color:#171511;border-color:#e8dfd0}

/* Ask — conversational operating layer, visually central. */
body.member-shell-v2[data-member-surface="ask"] .hero{
  min-height:430px!important;padding-top:82px!important;padding-bottom:64px!important;
  background:
    radial-gradient(circle at 85% 18%,rgba(190,151,84,.10),transparent 27%),
    #090908!important
}
body.member-shell-v2[data-member-surface="ask"] .hero h1{font-size:clamp(66px,7.4vw,110px)!important;line-height:.87!important}
body.member-shell-v2[data-member-surface="ask"] .identity-panel{
  border-color:rgba(198,164,102,.25)!important;background:rgba(16,15,12,.68)!important;backdrop-filter:blur(7px)!important
}
body.member-shell-v2[data-member-surface="ask"] .workspace{
  background:
    linear-gradient(180deg,rgba(255,255,255,.25),transparent 140px),
    var(--member-ivory)!important;padding-top:50px!important
}
body.member-shell-v2[data-member-surface="ask"] .shell{max-width:1280px!important}
body.member-shell-v2[data-member-surface="ask"] .console{
  border-color:#c9baa5!important;background:#fbf8f2!important;box-shadow:0 28px 90px rgba(55,42,24,.07)!important
}
body.member-shell-v2[data-member-surface="ask"] .composer{background:#f7f1e7!important;border-top-color:#cbbda9!important}

/* Account + conversations — utility surfaces should still feel like OREVYON. */
body.member-shell-v2[data-member-surface="account"] .inner,
body.member-shell-v2[data-member-surface="conversations"] .archive{max-width:1180px!important}
body.member-shell-v2[data-member-surface="account"] .overview{
  border:0!important;border-top:1px solid #cdbfaa!important;border-bottom:1px solid #cdbfaa!important;background:transparent!important
}
body.member-shell-v2[data-member-surface="account"] .section{
  padding:38px 0!important;border-top:1px solid #cfc1ad!important;background:transparent!important
}
body.member-shell-v2[data-member-surface="account"] .account-card{
  border-color:rgba(199,166,106,.24)!important;background:rgba(15,14,12,.7)!important
}
body.member-shell-v2[data-member-surface="conversations"] .archive{padding-top:68px!important}
body.member-shell-v2[data-member-surface="conversations"] .item{
  background:#fffdf8!important;border-color:#cbbda9!important;padding:24px!important
}

/* Membership — less sales landing page, more member status house. */
body.member-shell-v2[data-member-surface="membership"] .hero{
  background:
    radial-gradient(circle at 83% 16%,rgba(192,154,87,.12),transparent 25%),
    #090908!important;
  min-height:560px!important;padding-top:92px!important;padding-bottom:76px!important
}
body.member-shell-v2[data-member-surface="membership"] .hero-copy h1{font-size:clamp(70px,8vw,118px)!important;line-height:.86!important}
body.member-shell-v2[data-member-surface="membership"] .membership-panel{
  border-color:rgba(198,164,102,.28)!important;background:rgba(15,14,12,.74)!important;backdrop-filter:blur(8px)!important
}
body.member-shell-v2[data-member-surface="membership"] .light{background:var(--member-ivory)!important}
body.member-shell-v2[data-member-surface="membership"] .benefit{
  background:#fffdf8!important;border-color:#cbbda9!important;padding:28px!important
}
body.member-shell-v2[data-member-surface="membership"] .compare{background:#e8e0d4!important}

/* OREVYON ID is already one of the strongest surfaces; only align the outer frame. */
body.member-shell-v2[data-member-surface="id"]{background:var(--member-ivory)!important}
body.member-shell-v2[data-member-surface="id"] .intro-band{padding-top:30px!important}
body.member-shell-v2[data-member-surface="id"] .flow-shell{box-shadow:0 24px 80px rgba(55,42,24,.04)!important}

/* Discovery secondary flows — one editorial system instead of separate microsites. */
body.member-shell-v2[data-member-surface="you"] .you-hero,
body.member-shell-v2[data-member-surface="this-week"] .week-hero,
body.member-shell-v2[data-member-surface="tonight"] .moment-hero,
body.member-shell-v2[data-member-surface="weekend"] .moment-hero,
body.member-shell-v2[data-member-surface="try"] .nt-hero,
body.member-shell-v2[data-member-surface="near"] .nt-hero,
body.member-shell-v2[data-member-surface="search"] .search-hero,
body.member-shell-v2[data-member-surface="found"] .found-hero,
body.member-shell-v2[data-member-surface="with"] .with-hero,
body.member-shell-v2[data-member-surface="missions"] .pm-hero,
body.member-shell-v2[data-member-surface="projects"] .pm-hero,
body.member-shell-v2[data-member-surface="taste"] .dh-hub-hero{
  position:relative!important;isolation:isolate!important;overflow:hidden!important;
  background:
    radial-gradient(circle at 82% 18%,rgba(191,151,82,.11),transparent 27%),
    linear-gradient(112deg,#090908 0%,#0b0b09 62%,#100f0c 100%)!important;
  border-bottom:1px solid rgba(255,255,255,.07)!important;
}
body.member-shell-v2[data-member-surface="this-week"] .week-hero,
body.member-shell-v2[data-member-surface="tonight"] .moment-hero,
body.member-shell-v2[data-member-surface="weekend"] .moment-hero,
body.member-shell-v2[data-member-surface="try"] .nt-hero,
body.member-shell-v2[data-member-surface="near"] .nt-hero,
body.member-shell-v2[data-member-surface="search"] .search-hero,
body.member-shell-v2[data-member-surface="found"] .found-hero,
body.member-shell-v2[data-member-surface="with"] .with-hero,
body.member-shell-v2[data-member-surface="missions"] .pm-hero,
body.member-shell-v2[data-member-surface="projects"] .pm-hero,
body.member-shell-v2[data-member-surface="taste"] .dh-hub-hero{
  min-height:430px!important;padding-top:78px!important;padding-bottom:60px!important
}
body.member-shell-v2[data-member-surface="you"] .you-hero:after,
body.member-shell-v2[data-member-surface="this-week"] .week-hero:after,
body.member-shell-v2[data-member-surface="tonight"] .moment-hero:after,
body.member-shell-v2[data-member-surface="weekend"] .moment-hero:after,
body.member-shell-v2[data-member-surface="try"] .nt-hero:after,
body.member-shell-v2[data-member-surface="near"] .nt-hero:after,
body.member-shell-v2[data-member-surface="search"] .search-hero:after,
body.member-shell-v2[data-member-surface="found"] .found-hero:after,
body.member-shell-v2[data-member-surface="with"] .with-hero:after,
body.member-shell-v2[data-member-surface="missions"] .pm-hero:after,
body.member-shell-v2[data-member-surface="projects"] .pm-hero:after,
body.member-shell-v2[data-member-surface="taste"] .dh-hub-hero:after{
  content:'';position:absolute;right:-9vw;top:-25vw;width:58vw;height:58vw;border-radius:50%;
  border:1px solid rgba(191,157,96,.075);z-index:-1
}
body.member-shell-v2[data-member-surface="this-week"] .week-work,
body.member-shell-v2[data-member-surface="tonight"] .moment-work,
body.member-shell-v2[data-member-surface="weekend"] .moment-work,
body.member-shell-v2[data-member-surface="try"] .nt-work,
body.member-shell-v2[data-member-surface="near"] .nt-work,
body.member-shell-v2[data-member-surface="search"] .search-work,
body.member-shell-v2[data-member-surface="found"] .found-work,
body.member-shell-v2[data-member-surface="with"] .with-work,
body.member-shell-v2[data-member-surface="missions"] .pm-work,
body.member-shell-v2[data-member-surface="projects"] .pm-work,
body.member-shell-v2[data-member-surface="taste"] .taste-work,
body.member-shell-v2[data-member-surface="object"] .obj-work{
  background:
    linear-gradient(180deg,rgba(255,255,255,.26),transparent 150px),
    var(--member-ivory)!important;
}
body.member-shell-v2[data-member-surface="this-week"] .week-inner,
body.member-shell-v2[data-member-surface="tonight"] .moment-inner,
body.member-shell-v2[data-member-surface="weekend"] .moment-inner,
body.member-shell-v2[data-member-surface="try"] .nt-inner,
body.member-shell-v2[data-member-surface="near"] .nt-inner,
body.member-shell-v2[data-member-surface="search"] .search-inner,
body.member-shell-v2[data-member-surface="found"] .found-inner,
body.member-shell-v2[data-member-surface="with"] .with-inner,
body.member-shell-v2[data-member-surface="missions"] .pm-inner,
body.member-shell-v2[data-member-surface="projects"] .pm-inner,
body.member-shell-v2[data-member-surface="taste"] .taste-inner,
body.member-shell-v2[data-member-surface="object"] .obj-inner{
  max-width:1260px!important
}

/* Home is owned by the native House surface stylesheet. */

/* You — clearly a live interpretation layer, not another settings page. */
body.member-shell-v2[data-member-surface="you"] .you-hero{min-height:520px!important}
body.member-shell-v2[data-member-surface="you"] .you-hero h1{font-size:clamp(68px,7.4vw,112px)!important;line-height:.86!important}
body.member-shell-v2[data-member-surface="you"] .you-id-card{
  border-color:rgba(198,164,102,.28)!important;background:rgba(15,14,12,.7)!important;backdrop-filter:blur(8px)!important
}
body.member-shell-v2[data-member-surface="you"] .you-workspace{
  background:linear-gradient(180deg,rgba(255,255,255,.26),transparent 140px),var(--member-ivory)!important
}
body.member-shell-v2[data-member-surface="you"] .you-inner{max-width:1220px!important}
body.member-shell-v2[data-member-surface="you"] .you-panel,
body.member-shell-v2[data-member-surface="you"] .you-control{
  border-color:#cbbda9!important;background:#fffdf8!important;box-shadow:0 16px 50px rgba(51,39,23,.028)!important
}
body.member-shell-v2[data-member-surface="you"] .you-panel.dark{background:#171612!important;color:#f1eadf!important}
body.member-shell-v2[data-member-surface="you"] .you-section{padding-top:54px!important}

/* Time-led flows */
body.member-shell-v2[data-member-surface="this-week"] .week-note,
body.member-shell-v2[data-member-surface="tonight"] .moment-note,
body.member-shell-v2[data-member-surface="weekend"] .moment-note,
body.member-shell-v2[data-member-surface="try"] .nt-note,
body.member-shell-v2[data-member-surface="near"] .nt-note,
body.member-shell-v2[data-member-surface="with"] .with-privacy,
body.member-shell-v2[data-member-surface="missions"] .pm-note,
body.member-shell-v2[data-member-surface="projects"] .pm-note{
  border-color:rgba(198,164,102,.26)!important;background:rgba(15,14,12,.68)!important;backdrop-filter:blur(7px)!important
}
body.member-shell-v2[data-member-surface="tonight"] .moment-controls,
body.member-shell-v2[data-member-surface="weekend"] .moment-controls,
body.member-shell-v2[data-member-surface="near"] .nt-controls,
body.member-shell-v2[data-member-surface="found"] .found-form,
body.member-shell-v2[data-member-surface="projects"] .pm-create{
  background:transparent!important;border:0!important;border-top:1px solid #cdbfa9!important;border-bottom:1px solid #cdbfa9!important;
  box-shadow:none!important;padding-top:28px!important;padding-bottom:28px!important
}
body.member-shell-v2[data-member-surface="tonight"] .moment-grid,
body.member-shell-v2[data-member-surface="weekend"] .moment-grid,
body.member-shell-v2[data-member-surface="try"] .nt-grid,
body.member-shell-v2[data-member-surface="near"] .nt-grid,
body.member-shell-v2[data-member-surface="search"] .search-grid,
body.member-shell-v2[data-member-surface="found"] .found-grid,
body.member-shell-v2[data-member-surface="missions"] .mission-grid,
body.member-shell-v2[data-member-surface="projects"] .project-grid{
  gap:16px!important
}
body.member-shell-v2[data-member-surface="tonight"] .moment-grid>article,
body.member-shell-v2[data-member-surface="weekend"] .moment-grid>article,
body.member-shell-v2[data-member-surface="try"] .nt-grid>article,
body.member-shell-v2[data-member-surface="near"] .nt-grid>article,
body.member-shell-v2[data-member-surface="search"] .search-grid>article,
body.member-shell-v2[data-member-surface="found"] .found-grid>article,
body.member-shell-v2[data-member-surface="missions"] .mission-grid>article,
body.member-shell-v2[data-member-surface="projects"] .project-grid>article{
  background:#fffdf8!important;border-color:#cbbda9!important;box-shadow:0 18px 58px rgba(51,39,23,.03)!important
}
body.member-shell-v2[data-member-surface="tonight"] .moment-media,
body.member-shell-v2[data-member-surface="weekend"] .moment-media,
body.member-shell-v2[data-member-surface="try"] .nt-media,
body.member-shell-v2[data-member-surface="near"] .nt-media,
body.member-shell-v2[data-member-surface="search"] .search-media,
body.member-shell-v2[data-member-surface="found"] .found-media{min-height:220px!important}

/* Search — one quiet field, then results. */
body.member-shell-v2[data-member-surface="search"] .search-box{
  border:0!important;border-bottom:1px solid #bfae92!important;background:transparent!important;padding-left:0!important;padding-right:0!important
}
body.member-shell-v2[data-member-surface="search"] .search-box input{
  background:transparent!important;border:0!important;font-size:clamp(24px,3vw,40px)!important;font-family:'Italiana',serif!important
}
body.member-shell-v2[data-member-surface="search"] .search-suggestions{gap:7px!important}
body.member-shell-v2[data-member-surface="search"] .search-filters{border-top:1px solid #d0c2ae!important;padding-top:18px!important}

/* WITH — social taste should feel private and calm. */
body.member-shell-v2[data-member-surface="with"] .with-panel{
  background:#fffdf8!important;border-color:#cbbda9!important;padding:28px!important;box-shadow:0 18px 55px rgba(51,39,23,.03)!important
}
body.member-shell-v2[data-member-surface="with"] .with-room{
  background:#171612!important;color:#f1eadf!important;border-color:#171612!important
}

/* Missions / Projects — task mechanics without SaaS-dashboard styling. */
body.member-shell-v2[data-member-surface="missions"] .pm-tabs,
body.member-shell-v2[data-member-surface="projects"] .pm-create-grid{
  border-color:#cbbda9!important
}
body.member-shell-v2[data-member-surface="missions"] .pm-tab.active{background:#171612!important;color:#f1eadf!important;border-color:#171612!important}
body.member-shell-v2[data-member-surface="missions"] .mission-actions,
body.member-shell-v2[data-member-surface="projects"] .project-actions{border-top-color:#d8ccbb!important}

/* Taste — explanatory, not another setup wizard. */
body.member-shell-v2[data-member-surface="taste"] .taste-section{padding:48px 0!important;border-top:1px solid #cdbfa9!important}
body.member-shell-v2[data-member-surface="taste"] .taste-summary,
body.member-shell-v2[data-member-surface="taste"] .taste-grid>article,
body.member-shell-v2[data-member-surface="taste"] .taste-controls{
  background:#fffdf8!important;border-color:#cbbda9!important;box-shadow:0 16px 50px rgba(51,39,23,.026)!important
}

/* Object detail — the destination of a discovery, not a technical record. */
body.member-shell-v2[data-member-surface="object"] .obj-hero{
  min-height:520px!important;background:#090908!important;border-bottom:1px solid rgba(255,255,255,.07)!important
}
body.member-shell-v2[data-member-surface="object"] .obj-hero-copy h1{font-size:clamp(32px,3.3vw,46px)!important;line-height:1.1!important}
body.member-shell-v2[data-member-surface="object"] .obj-main{
  background:transparent!important;border-color:transparent!important;box-shadow:none!important
}
body.member-shell-v2[data-member-surface="object"] .obj-panel,
body.member-shell-v2[data-member-surface="object"] .obj-side-card{
  background:transparent!important;border-color:#cdbfa9!important
}
body.member-shell-v2[data-member-surface="object"] .obj-related-grid{gap:16px!important}

/* Atlas can begin life as a public surface before member-navigation resolves membership.
   Known members get the private-shell spacing and legacy-menu suppression immediately. */
html.orevyon-known-member body.atlas-body .atlas-member-nav details.member-nav-more{display:none!important}
@media(min-width:721px){
  html.orevyon-known-member body.atlas-body header.atlas-header{margin-bottom:60px!important}
  html.orevyon-known-member body.atlas-body header.atlas-header:has(+.member-house-rail){margin-bottom:0!important}
}
@media(min-width:721px) and (max-width:1180px){
  html.orevyon-known-member body.atlas-body header.atlas-header{margin-bottom:104px!important}
  html.orevyon-known-member body.atlas-body header.atlas-header:has(+.member-house-rail){margin-bottom:0!important}
}

/* Permanent House index — major member functions are visible, never buried in More. */
/* First-paint stability: old server/static More markup never flashes, and the future House Index
   gets reserved space before member-navigation.js mounts it. */
@media(min-width:721px){
  body.member-shell-v2 header.top details.member-nav-more,
  body.member-shell-v2 .member-desktop-nav details.member-nav-more{display:none!important}
  body.member-shell-v2 header.top.member-desktop-shell,
  body.member-shell-v2 header.top:has(>.member-desktop-nav),
  body.member-shell-v2 header.atlas-header:has(>.member-desktop-nav){margin-bottom:60px!important}
  body.member-shell-v2 header.top.member-desktop-shell:has(+.member-house-rail),
  body.member-shell-v2 header.top:has(>.member-desktop-nav):has(+.member-house-rail),
  body.member-shell-v2 header.atlas-header:has(+.member-house-rail){margin-bottom:0!important}
  body.member-shell-v2 .member-house-rail{
    min-height:42px;position:sticky;top:82px;z-index:106;
    display:flex;align-items:center;
    background:rgba(9,9,8,.975);border-bottom:1px solid rgba(196,163,102,.16);
    backdrop-filter:blur(18px) saturate(112%);
  }
  html.orevyon-member-house-v4 body.member-shell-v2 .member-house-rail{top:88px}
  body.member-shell-v2 .member-house-rail-inner{
    width:100%;min-width:0;padding:0 clamp(26px,4vw,68px);
    display:flex;align-items:center;justify-content:flex-end;gap:clamp(15px,1.5vw,28px);
    overflow-x:auto;scrollbar-width:none;white-space:nowrap
  }
  body.member-shell-v2 .member-house-rail-inner::-webkit-scrollbar{display:none}
  body.member-shell-v2 .member-house-rail-group{display:flex;align-items:center;gap:10px;flex:0 0 auto}
  body.member-shell-v2 .member-house-rail-group>span{
    color:#635b50;font:500 7px/1 'DM Sans',sans-serif;letter-spacing:.16em;text-transform:uppercase;
    padding-right:2px
  }
  body.member-shell-v2 .member-house-rail a{
    position:relative;display:inline-flex;align-items:center;min-height:41px;
    color:#9a9185;text-decoration:none;font:500 8px/1 'DM Sans',sans-serif;
    letter-spacing:.105em;text-transform:uppercase
  }
  body.member-shell-v2 .member-house-rail a:hover,
  body.member-shell-v2 .member-house-rail a.is-active{color:#d1b06f}
  body.member-shell-v2 .member-house-rail a.is-active:after{
    content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:#c4a366
  }
  body.member-shell-v2 .member-house-rail-group+.member-house-rail-group{
    border-left:1px solid rgba(255,255,255,.075);padding-left:clamp(14px,1.2vw,22px)
  }
  body.member-shell-v2 .member-house-rail-search{
    flex:0 0 auto;margin-left:2px;padding-left:17px;border-left:1px solid rgba(196,163,102,.18)
  }
}
@media(min-width:721px) and (max-width:1180px){
  body.member-shell-v2 .member-house-rail-inner{justify-content:flex-start;padding-left:22px;padding-right:22px;gap:18px}
  body.member-shell-v2 .member-house-rail-group{gap:8px}
  body.member-shell-v2 .member-house-rail-group>span{display:none}
  body.member-shell-v2 .member-house-rail a{font-size:7.5px;letter-spacing:.08em}
}
@media(max-width:720px){body.member-shell-v2 .member-house-rail{display:none!important}}

/* House Index V2 — no hidden horizontal overflow. */
@media(min-width:1181px){
  body.member-shell-v2 .member-house-rail{min-height:60px}
  body.member-shell-v2 .member-house-rail-inner{
    display:grid!important;grid-template-columns:1.08fr .92fr .92fr 1.08fr 1.28fr auto!important;
    align-items:stretch!important;gap:0!important;overflow:visible!important;white-space:normal!important;
    padding-top:8px!important;padding-bottom:8px!important
  }
  body.member-shell-v2 .member-house-rail-group{
    min-width:0;display:flex!important;align-content:center;align-items:center!important;flex-wrap:wrap!important;
    gap:6px 10px!important;padding:2px clamp(11px,1vw,18px)!important;border-left:1px solid rgba(255,255,255,.07)
  }
  body.member-shell-v2 .member-house-rail-group:first-child{border-left:0}
  body.member-shell-v2 .member-house-rail-group>span{width:100%;padding:0!important;font-size:7.5px!important}
  body.member-shell-v2 .member-house-rail a{min-height:20px!important;font-size:9px!important;letter-spacing:.075em!important}
  body.member-shell-v2 .member-house-rail-group+.member-house-rail-group{padding-left:clamp(11px,1vw,18px)!important}
  body.member-shell-v2 .member-house-rail-search{
    min-width:72px;align-self:stretch;justify-content:center;padding:0 0 0 14px!important;margin:0!important
  }
}
@media(min-width:721px) and (max-width:1180px){
  body.member-shell-v2 header.top.member-desktop-shell,
  body.member-shell-v2 header.top:has(>.member-desktop-nav){margin-bottom:104px!important}
  body.member-shell-v2 header.top.member-desktop-shell:has(+.member-house-rail),
  body.member-shell-v2 header.top:has(>.member-desktop-nav):has(+.member-house-rail){margin-bottom:0!important}
  body.member-shell-v2 .member-house-rail{min-height:104px}
  body.member-shell-v2 .member-house-rail-inner{
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
    align-items:start!important;gap:0!important;overflow:visible!important;white-space:normal!important;
    padding:8px 22px!important
  }
  body.member-shell-v2 .member-house-rail-group{
    min-width:0;display:flex!important;align-items:center!important;align-content:flex-start!important;flex-wrap:wrap!important;
    gap:5px 9px!important;padding:7px 13px!important;border-left:1px solid rgba(255,255,255,.065)
  }
  body.member-shell-v2 .member-house-rail-group:nth-child(1),
  body.member-shell-v2 .member-house-rail-group:nth-child(4){border-left:0}
  body.member-shell-v2 .member-house-rail-group>span{display:block!important;width:100%;font-size:6px!important}
  body.member-shell-v2 .member-house-rail a{min-height:20px!important;font-size:8.5px!important}
  body.member-shell-v2 .member-house-rail-group+.member-house-rail-group{padding-left:13px!important}
  body.member-shell-v2 .member-house-rail-search{
    align-self:center;justify-self:start;min-height:30px!important;margin-left:13px!important;padding-left:0!important;border-left:0!important
  }
}

/* The mobile shell owns navigation below 720px. */
@media(max-width:720px){
  body.member-shell-v2 .member-desktop-nav .member-nav-legacy{display:none!important}
  body.member-shell-v2[data-member-surface="passport"]>.hero,
  body.member-shell-v2[data-member-surface="journeys"]>.hero,
  body.member-shell-v2[data-member-surface="memory"]>.hero,
  body.member-shell-v2[data-member-surface="saved"]>.hero,
  body.member-shell-v2[data-member-surface="conversations"]>.hero,
  body.member-shell-v2[data-member-surface="account"]>.hero{min-height:auto!important;padding:58px 15px 48px!important}
  body.member-shell-v2[data-member-surface="passport"]>.hero h1,
  body.member-shell-v2[data-member-surface="journeys"]>.hero h1,
  body.member-shell-v2[data-member-surface="memory"]>.hero h1,
  body.member-shell-v2[data-member-surface="saved"]>.hero h1,
  body.member-shell-v2[data-member-surface="conversations"]>.hero h1,
  body.member-shell-v2[data-member-surface="account"]>.hero h1{font-size:52px!important}
  body.member-shell-v2[data-member-surface="journeys"] .workspace{grid-template-columns:1fr!important}
  body.member-shell-v2[data-member-surface="ask"] .hero{min-height:auto!important;padding:46px 14px 38px!important}
}