/* Shared navigation and daily actions for GreenLife Me. */
.gl-daily,
.gl-services {
  --gl-nav-ink: #29463a;
  --gl-nav-muted: #687468;
  --gl-nav-line: #ded8c8;
  --gl-nav-paper: #fffdf7;
  --gl-nav-cream: #f4f0e6;
  --gl-nav-purple: #796283;
  --gl-nav-gold: #a48d64;
}

.gl-location,
.gl-next-panel,
.gl-return-bar,
.gl-resume-card,
.gl-journey-note {
  box-sizing: border-box;
  font-family: inherit;
}

.gl-location {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 14px 0 20px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--gl-nav-line);
  color: var(--gl-nav-ink);
}

.gl-location-trail {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  min-width: 0;
  font-size: 13px;
  line-height: 1.8;
}

.gl-location-trail a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--gl-nav-muted);
  text-decoration: none;
}

.gl-location-trail > span {
  color: #9a9c8e;
}

.gl-location-trail strong,
.gl-location-trail [aria-current] {
  color: var(--gl-nav-ink);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.gl-location-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 7px 14px;
  border: 1px solid #d6d9cb;
  border-radius: 14px;
  background: var(--gl-nav-paper);
  color: var(--gl-nav-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
  text-align: center;
  text-decoration: none;
}

.gl-next-panel {
  position: relative;
  margin: 0 0 26px;
  padding: 24px;
  border: 1px solid var(--gl-nav-line);
  border-radius: 26px;
  background: linear-gradient(130deg, #fffdf8, #f4f1e7);
  color: var(--gl-nav-ink);
  box-shadow: 0 12px 34px -24px rgba(51, 65, 44, .3);
}

.gl-next-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px 14px;
  margin-bottom: 17px;
}

.gl-next-head > span {
  font-size: 13px;
  color: var(--gl-nav-purple);
}

.gl-next-head h2,
.entry-page .gl-next-head h2 {
  margin: 0;
  color: var(--gl-nav-ink);
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 750;
  line-height: 1.7;
}

.gl-next-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.gl-next-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
  min-height: 135px;
  padding: 18px;
  border: 1px solid #d9ddcf;
  border-radius: 19px;
  background: rgba(255, 253, 247, .9);
  color: var(--gl-nav-ink);
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.gl-next-action small {
  color: #74647c;
  font-size: 12px;
  line-height: 1.8;
}

.gl-next-action strong {
  font-size: 18px;
  font-weight: 750;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.gl-next-action > span {
  margin-top: auto;
  color: var(--gl-nav-muted);
  font-size: 13px;
  line-height: 1.8;
}

.gl-next-action.is-primary {
  border-color: #365345;
  background: linear-gradient(140deg, #3b5c4a, #29463a);
  color: #fffaf0;
}

.gl-next-action.is-primary small {
  color: #e2d8b7;
}

.gl-next-action.is-primary > span {
  color: #e1e7d8;
}

.gl-return-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 28px 0 10px;
  padding: 18px 0 0;
  border-top: 1px solid var(--gl-nav-line);
}

.gl-return-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 9px 16px;
  border: 1px solid #d8ddce;
  border-radius: 14px;
  color: var(--gl-nav-ink);
  background: #fffdf7;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.8;
}

.gl-return-bar a:first-child {
  border-color: #365345;
  background: #365345;
  color: #fffaf0;
}

.gl-resume-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 13px;
  margin: 0 12px 14px;
  padding: 13px 16px;
  min-height: 68px;
  border: 1px solid #d8d0dc;
  border-radius: 17px;
  background: linear-gradient(110deg, #f7f2f7, #fffdf7);
  color: #62496f;
  text-decoration: none;
  line-height: 1.8;
}

.gl-resume-card strong {
  font-size: 15px;
  font-weight: 700;
}

.gl-resume-card small,
.gl-resume-card span {
  font-size: 12px;
  color: #776581;
}

.gl-journey-note {
  margin: 12px 0 18px;
  padding: 13px 16px;
  border: 1px solid #dcd6c9;
  border-inline-start: 3px solid #9b80a4;
  border-radius: 15px;
  background: #fcf8f0;
  color: #5c6257;
  font-size: 13px;
  line-height: 1.9;
}

.gl-journey-note p {
  margin: 3px 0;
}

.gl-journey-note a,
.gl-journey-note button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 7px 12px;
  color: #5e486a;
  border: 1px solid #d8cddd;
  border-radius: 12px;
  background: #fffdf8;
  font: inherit;
  text-decoration: none;
}

.gl-daily .app-sidebar nav a {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 15px;
  color: var(--gl-nav-muted);
  background: transparent;
}

.gl-daily .app-sidebar nav a[aria-current="page"],
.gl-daily .app-sidebar nav a.gl-house-link[aria-current="page"] {
  border-color: #d5dcc9;
  background: #e9eedf;
  color: var(--gl-nav-ink);
  font-weight: 700;
}

.gl-daily .app-sidebar nav a[aria-current="page"] > span {
  color: #566e50;
}

.gl-daily .app-sidebar nav a.gl-house-link:not([aria-current="page"]) {
  background: transparent;
  border-color: transparent;
  font-weight: 400;
}

.gl-home-nav {
  border-top-color: #ded8c8;
  background: rgba(255, 253, 247, .97);
  box-shadow: 0 -6px 28px rgba(57, 66, 43, .06);
}

.gl-home-nav a {
  min-width: 0;
  min-height: 49px;
  border: 1px solid transparent;
  font-size: 12px;
  border-radius: 14px;
  color: #6d7766;
}

.gl-home-nav a[aria-current="page"] {
  border-color: #d9dfcc;
  background: #e9eedf;
  color: #2d4c3a;
  font-weight: 750;
}

.gl-location a:focus-visible,
.gl-next-action:focus-visible,
.gl-return-bar a:focus-visible,
.gl-resume-card:focus-visible,
.gl-journey-note :is(a, button):focus-visible,
.gl-home-nav a:focus-visible {
  outline: 3px solid #9e84aa;
  outline-offset: 3px;
}

.gl-daily .entry-luxe .entry-welcome {
  border-color: #ded8c8;
  box-shadow: 0 15px 36px -28px rgba(63, 61, 45, .3);
}

.gl-daily .entry-luxe .entry-intro {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 285px;
  border-radius: 25px;
}

.gl-daily .entry-luxe .entry-portrait {
  position: relative;
  min-height: 285px;
}

.gl-daily .entry-luxe .entry-hero-copy {
  position: relative;
  padding: 27px 28px;
}

.gl-daily .entry-luxe .entry-intro h1 {
  margin: 9px 0 13px;
  font-size: clamp(32px, 3.3vw, 45px);
  line-height: 1.45;
}

.gl-daily .entry-luxe .entry-hero-note {
  margin-top: 15px;
}

.gl-daily .entry-luxe .entry-explore-head {
  margin: 21px 16px 10px;
}

.gl-daily .entry-luxe .entry-picker {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 10px 16px 19px;
  gap: 10px;
}

.gl-daily .entry-luxe .entry-picker button {
  min-width: 0;
  min-height: 155px;
  height: auto;
  gap: 6px;
  padding: 12px 8px;
  border: 1px solid #d9ddce;
  border-radius: 20px;
  background: #fffdf7 !important;
  box-shadow: 0 6px 17px -16px #29463a;
}

.gl-daily .entry-luxe .entry-picker button[aria-pressed="true"] {
  border-color: #8b9b7c;
  background: #edf1e5 !important;
  box-shadow: 0 0 0 2px rgba(112, 132, 91, .08);
}

.gl-daily .entry-luxe .entry-picker .entry-magic {
  width: 92px;
  height: 92px;
}

.gl-daily .entry-luxe .entry-picker .entry-choice-label {
  font-size: 16px;
  line-height: 1.7;
  white-space: normal;
}

.gl-daily .entry-luxe .entry-picker button > b {
  min-height: 0;
  padding: 0;
  background: transparent;
  color: #687763;
  font-size: 12px;
}

.gl-daily .entry-luxe .entry-picker button[aria-pressed="true"] > b {
  color: #38543f;
  background: transparent;
}

.gl-daily .entry-luxe .entry-picker button[aria-pressed="true"]::after {
  top: 10px;
  left: 10px;
  width: 20px;
  height: 20px;
  font-size: 11px;
  box-shadow: none;
}

.gl-daily .entry-luxe .entry-recommendation {
  margin: 0 16px 16px;
  padding: 23px 25px;
  border-radius: 20px;
  box-shadow: none;
}

.gl-daily .entry-luxe .entry-recommendation h2 {
  margin-block: 6px;
  font-size: 24px;
}

.gl-daily .entry-luxe .entry-clinic {
  margin-bottom: 15px;
  padding-bottom: 10px;
}

.gl-services #screen > .gl-location {
  margin: 6px 16px 12px;
  padding-bottom: 8px;
}

.gl-services .gl-location-trail,
.gl-services .gl-location-back {
  font-size: 12px;
}

@media (hover: hover) {
  .gl-next-action:hover {
    border-color: #a4b394;
    background: #f8faf1;
    box-shadow: 0 9px 20px -19px #29463a;
  }

  .gl-next-action.is-primary:hover {
    background: #3b5c4a;
    border-color: #4a6d55;
  }

  .gl-location a:hover,
  .gl-return-bar a:hover,
  .gl-resume-card:hover {
    border-color: #aeb99e;
  }
}

@media (max-width: 900px) {
  .gl-daily .gl-home-nav {
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
  }

  .gl-daily .app-top {
    padding-block: 11px;
  }

  .gl-daily .app-top .account-launch {
    min-height: 44px;
  }

  .gl-location {
    margin-top: 10px;
    gap: 4px 8px;
  }

  .gl-location-back {
    margin-inline-start: auto;
  }
}

@media (max-width: 760px) {
  .gl-next-panel {
    padding: 18px 16px;
    margin-bottom: 20px;
    border-radius: 22px;
  }

  .gl-next-head {
    margin-bottom: 13px;
  }

  .gl-next-head h2,
  .entry-page .gl-next-head h2 {
    font-size: 22px;
  }

  .gl-next-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .gl-next-action {
    min-height: 112px;
    padding: 13px;
    gap: 4px;
    border-radius: 16px;
  }

  .gl-next-action.is-primary {
    grid-column: 1 / -1;
    min-height: 103px;
  }

  .gl-next-action strong {
    font-size: 16px;
  }

  .gl-next-action > span {
    font-size: 12px;
  }

  .gl-daily .entry-luxe .entry-intro {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    min-height: 245px;
    border-radius: 21px;
  }

  .gl-daily .entry-luxe .entry-portrait {
    position: relative;
    inset: auto;
    min-height: 245px;
  }

  .gl-daily .entry-luxe .entry-portrait::after {
    background: linear-gradient(to left, #e8ebdf, transparent 28%);
  }

  .gl-daily .entry-luxe .entry-intro .entry-portrait :is(img, video) {
    object-position: 50% 26%;
  }

  .gl-daily .entry-luxe .entry-hero-copy {
    position: relative;
    inset: auto;
    padding: 18px 16px;
  }

  .gl-daily .entry-luxe .entry-intro h1 {
    font-size: 28px;
    margin-block: 9px;
    line-height: 1.55;
  }

  .gl-daily .entry-luxe .entry-intro .eyebrow {
    font-size: 12px;
    line-height: 1.9;
  }

  #app-content .entry-luxe .entry-hero-copy p {
    font-size: 14px;
    line-height: 1.9;
  }

  .gl-daily .entry-luxe .entry-explore-head {
    margin: 17px 12px 8px;
    gap: 8px;
  }

  .gl-daily .entry-luxe .entry-explore-head > span {
    font-size: 15px;
  }

  .gl-daily .entry-luxe .entry-explore-head button {
    min-height: 44px;
    font-size: 12px;
    padding-inline: 10px;
  }

  .gl-daily .entry-luxe .entry-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 8px 12px 14px;
    gap: 9px;
  }

  .gl-daily .entry-luxe .entry-picker button {
    min-height: 139px;
    padding: 10px 6px;
    gap: 3px;
    border-radius: 17px;
  }

  .gl-daily .entry-luxe .entry-picker .entry-magic {
    width: 76px;
    height: 76px;
  }

  .gl-daily .entry-luxe .entry-picker .magic-hypnosis .magic-object {
    width: 67px;
    height: 67px;
  }

  .gl-daily .entry-luxe .entry-picker .entry-choice-label {
    font-size: 15px;
    line-height: 1.7;
  }

  .gl-daily .entry-luxe .entry-recommendation {
    margin: 0 12px 12px;
    padding: 19px 16px;
    border-radius: 18px;
  }

  .gl-daily .entry-luxe .entry-recommendation h2 {
    font-size: 22px;
  }

  .gl-return-bar {
    gap: 9px;
  }

  .gl-return-bar a {
    flex: 1;
    min-width: 120px;
    font-size: 13px;
    padding-inline: 11px;
  }
}

@media (max-width: 380px) {
  .gl-location-trail {
    gap: 4px 7px;
    font-size: 12px;
  }

  .gl-location-back {
    font-size: 12px;
    padding-inline: 11px;
  }

  .gl-home-nav a {
    font-size: 11px;
  }

  .gl-next-panel {
    padding-inline: 13px;
  }

  .gl-next-action {
    padding-inline: 11px;
  }

  .gl-daily .entry-luxe .entry-hero-copy {
    padding-inline: 13px;
  }

  .gl-daily .entry-luxe .entry-intro h1 {
    font-size: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gl-next-action {
    transition: none;
  }
}

/* Optional discovery stays within the daily flow. */
.gl-more-options {
  margin: 24px 0;
  padding: 0 20px;
  border: 1px solid #ded8c8;
  border-radius: 23px;
  background: #fffdf7;
  color: #29463a;
  box-shadow: 0 9px 25px -24px rgba(51, 65, 44, .26);
}

.gl-more-options > summary {
  min-height: 58px;
  padding: 14px 2px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  cursor: pointer;
  list-style-position: inside;
}

.gl-more-options > summary::marker {
  color: #796283;
}

.gl-more-options > summary:focus-visible {
  outline: 3px solid #9e84aa;
  outline-offset: 3px;
  border-radius: 12px;
}

.gl-more-options[open] > summary {
  margin-bottom: 18px;
  border-bottom: 1px solid #e4dfd2;
}

.gl-daily .gl-more-options .entry-hypnosis {
  margin-bottom: 22px;
}

.gl-daily .gl-more-options .entry-more {
  margin-top: 24px;
  margin-bottom: 22px;
}

@media (max-width: 760px) {
  .gl-more-options {
    margin-block: 20px;
    padding-inline: 14px;
    border-radius: 20px;
  }

  .gl-more-options > summary {
    min-height: 56px;
    font-size: 15px;
  }

  .gl-daily .gl-more-options .entry-hypnosis {
    padding: 17px;
    border-radius: 19px;
  }
}

/* Keep the continuation label and destination on separate readable lines. */
.gl-resume-card > span:first-child {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.gl-resume-card > span:first-child strong {
  display: block;
  color: #62496f;
  overflow-wrap: anywhere;
}

.gl-resume-card > span[aria-hidden="true"] {
  flex: none;
  font-size: 20px;
}

/* Shared mobile navigation and activity controls. */
body:is(.gl-services,.gl-daily,.gl-intro) {
  --me-plum: #633e67;
  --me-mist: #f0e6ef;
  --me-border: #dfd1de;
}
.gl-home-nav a[aria-current="page"],.gl-home-nav a[aria-current="location"] {
  color: var(--me-plum);
  background: var(--me-mist);
  border-color: var(--me-border);
}
.gl-home-nav a { white-space: nowrap; }
.gl-services .gl-today-card { border-color: var(--me-border); background: #fcf8fa; }
.gl-today-card .gl-today-go,.gl-daily .entry-luxe .entry-start { background: var(--me-plum); color: white; }
.gl-daily .entry-luxe .entry-picker button[aria-pressed="true"] { background: var(--me-mist); border-color: #967298; }
.gl-next-panel[hidden] { display: none; }
.gl-resume-link,.gl-guest-start,.gl-session-home { display: inline-flex; min-height: 44px; align-items: center; color: #633e67; text-underline-offset: 4px; }
.gl-session-home { margin-block-start: 6px; }
.gl-guest-start { margin-inline: 8px; }
.gl-intro .gl-home-nav { display: none; }
@media (max-width:900px) {
  .gl-intro .journey-dock { display:none; }
  .gl-intro .gl-home-nav { display:grid; width:100%; }
  .gl-intro { padding-bottom:calc(80px + env(safe-area-inset-bottom)); }
  .gl-home-nav { padding-inline:max(6px, env(safe-area-inset-left)); }
  .gl-home-nav a { gap:3px; line-height:1.55; font-size:clamp(11px,3vw,13px); }
  .gl-daily .gl-location { margin-block:6px 12px; padding-bottom:4px; }
  .gl-daily .entry-luxe .entry-hero-copy { align-self:center; }
  .gl-services .gl-today-icon { color:var(--me-plum); border-color:var(--me-border); background:var(--me-mist); }
}
@media (prefers-reduced-motion:no-preference) {
  .gl-home-nav a { transition:background-color 140ms ease,color 140ms ease; }
  .gl-session-home { animation:me-reveal .2s ease-out both; }
  @keyframes me-reveal { from { opacity:0;transform:translateY(3px); } to { opacity:1;transform:none; } }
}
@media (max-width: 600px) {
  .gl-intro .hero-scene :is(.hero-photo,.hero-motion-video) {
    inset-inline: auto;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 31% center;
  }
  .gl-daily .gl-home-nav,.gl-services .gl-home-nav,.gl-intro .gl-home-nav {
    font-family: Vazirmatn,Tahoma,sans-serif;
  }
}
