/* Shared ASCEND design and navigation; feature styles only describe their content. */
body {
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
}
#workspace {
  min-height: 65vh;
}
#expeditionNav {
  position: fixed;
  z-index: 80;
  bottom: max(8px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 24px), 540px);
  height: 72px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  padding: 5px 8px;
  background: #0b191eeF;
  border: 1px solid #73808080;
  border-radius: 38px;
  box-shadow: 0 8px 28px #0005, inset 0 1px 0 #ffffff08;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
#expeditionNav button {
  min-width: 0;
  height: 60px;
  border: 0;
  border-radius: 23px;
  background: none;
  color: #b3c0bf;
  font: 11px system-ui;
  padding: 5px 1px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  touch-action: manipulation;
}
#expeditionNav button > svg { width: 23px; height: 23px; flex-shrink: 0; }
#expeditionNav button[aria-current="true"] { color: #dfad86; background: #c99a7620; }
#expeditionNav #placesButton { padding: 0; }
.compass-face {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #dfad86, #b77e59);
  color: #142127;
  border: 1px solid #ebc4a2;
  box-shadow: 0 2px 8px #0005;
}
.compass-face svg { width: 31px; height: 31px; }
#expeditionNav button:focus-visible { outline: 2px solid #edc7a4; outline-offset: 1px; }
#placesDialog {
  background: #132329;
  color: #eee9df;
  border: 1px solid #577176;
  border-radius: 22px;
  width: min(92vw, 520px);
}
#placesDialog::backdrop {
  background: #0009;
}
.places-grid {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
.places-grid button,
#closePlaces {
  padding: 14px;
  background: #1b3036;
  color: #eee9df;
  border: 1px solid #344b50;
  border-radius: 12px;
  text-align: left;
}
.expedition-today {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
}
.expedition-today button {
  text-align: left;
  border: 1px solid #344b50;
  border-radius: 14px;
  background: #132329;
  color: #eee9df;
  padding: 14px;
}
.expedition-today strong,
.expedition-today span {
  display: block;
}
.expedition-today span {
  color: #a4b9bd;
  font-size: 13px;
  margin-top: 5px;
}
.expedition-context {
  max-width: 680px;
  margin: auto;
  padding: 0 18px 10px;
}
.expedition-context button {
  width: 100%;
  text-align: left;
  color: #cfad8d;
  background: #132329;
  border: 1px solid #344b50;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 12px;
}
.training-feature .bottom-nav,
.training-feature .adventure-topbar,
.nutrition-feature > .nav,
.nutrition-feature > header,
.nutrition-feature > .modebar {
  display: none !important;
}
.training-feature .app-shell {
  min-height: 0;
  padding-top: 0;
  padding-bottom: 24px;
}
.nutrition-feature #nutrition-content {
  max-width: 680px;
  margin: auto;
  padding: 12px 18px 24px;
}
.nutrition-feature .view.active::before {
  display: none;
}
.training-feature,
.nutrition-feature {
  --chapter-art: inherit;
}
input,
select,
textarea {
  font-size: 16px !important;
}
[hidden] {
  display: none !important;
}
.nutrition-feature .ov,
.training-feature .modal-backdrop {
  z-index: 150;
}
.nutrition-feature .sheet {
  padding-bottom: max(24px, env(safe-area-inset-bottom));
}
.landscape {
  height: 220px;
}
.hero-copy h1 {
  font-size: 36px;
}
.hero-copy {
  bottom: 22px;
}
.home-content {
  padding-top: 20px;
}
.expedition-today {
  margin-top: 18px;
}
.expedition-today button {
  padding: 12px;
}
.nutrition-feature .hero #ringGrad stop:first-child {
  stop-color: #c99a76;
}
.nutrition-feature .hero #ringGrad stop:last-child {
  stop-color: #dfb38f;
}
@media (min-width: 700px) {
  .landscape {
    height: 280px;
  }
}
