:root {
  --ink: #17342c;
  --pine: #173f33;
  --pine-deep: #0d2d25;
  --moss: #7d9b7e;
  --sage: #dfe7d8;
  --paper: #f4f0e6;
  --card: #fffdf8;
  --line: #d9d5c9;
  --muted: #69756f;
  --orange: #ed6a3a;
  --orange-deep: #c74920;
  --sun: #f2c660;
  --blue: #548394;
  --shadow: 0 18px 45px rgba(23, 52, 44, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(23, 63, 51, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 63, 51, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a,
input,
label {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  color: #f8f5e9;
  background:
    linear-gradient(110deg, rgba(13, 45, 37, 0.98), rgba(23, 63, 51, 0.9)),
    var(--pine);
}

.hero::after {
  position: absolute;
  right: -4%;
  bottom: -1px;
  width: 64%;
  height: 48%;
  content: "";
  opacity: 0.72;
  background: var(--sage);
  clip-path: polygon(0 100%, 17% 54%, 30% 67%, 45% 16%, 57% 52%, 67% 30%, 79% 66%, 89% 47%, 100% 68%, 100% 100%);
}

.hero::before {
  position: absolute;
  right: -5%;
  bottom: 0;
  z-index: 1;
  width: 54%;
  height: 38%;
  content: "";
  opacity: 0.95;
  background: #476c5d;
  clip-path: polygon(0 100%, 14% 60%, 27% 74%, 43% 31%, 58% 72%, 72% 45%, 85% 74%, 100% 52%, 100% 100%);
}

.contour {
  position: absolute;
  z-index: 0;
  border: 1px solid rgba(245, 242, 228, 0.13);
  border-radius: 48% 52% 58% 42%;
  transform: rotate(-9deg);
  pointer-events: none;
}

.contour::before,
.contour::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(245, 242, 228, 0.12);
  border-radius: inherit;
}

.contour::before { inset: 28px; }
.contour::after { inset: 58px; }
.contour-one { top: 110px; right: 70px; width: 530px; height: 340px; }
.contour-two { bottom: -110px; left: -140px; width: 500px; height: 330px; }

.hero-inner {
  position: relative;
  z-index: 2;
  padding-block: 26px 72px;
}

.topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  color: var(--pine);
  background: var(--sun);
  border-radius: 50%;
  place-items: center;
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.edition {
  color: rgba(255, 255, 255, 0.64);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero-copy {
  max-width: 930px;
  padding-top: 66px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--sun);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--orange-deep);
}

.hero h1 {
  max-width: 960px;
  margin: 0;
  font-family: Georgia, "Songti SC", "STSong", serif;
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hero-lede {
  max-width: 650px;
  margin: 30px 0 0;
  color: rgba(248, 245, 233, 0.75);
  font-size: 17px;
  line-height: 1.8;
}

.route-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 820px;
  margin-top: 56px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  backdrop-filter: blur(8px);
}

.route-facts > div {
  display: flex;
  min-height: 88px;
  padding: 17px 20px;
  flex-direction: column;
  justify-content: center;
  background: rgba(13, 45, 37, 0.38);
}

.route-facts > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.route-facts strong {
  font-size: 18px;
  letter-spacing: -0.02em;
}

.route-facts span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
}

.progress-wrap {
  position: relative;
  z-index: 3;
  margin-top: -34px;
}

.progress-card {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr) 270px;
  gap: 34px;
  align-items: center;
  padding: 30px;
  background: var(--card);
  border: 1px solid rgba(23, 52, 44, 0.09);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.progress-ring {
  --progress: 0deg;
  display: grid;
  width: 126px;
  aspect-ratio: 1;
  padding: 11px;
  background: conic-gradient(var(--orange) var(--progress), var(--sage) 0);
  border-radius: 50%;
  place-items: center;
}

.progress-ring > div {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border-radius: 50%;
}

.progress-ring strong {
  font-size: 27px;
  letter-spacing: -0.05em;
}

.progress-ring span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.progress-main h2,
.custom-card h2,
.section-heading h2,
.final-check h2 {
  margin: 0;
  font-family: Georgia, "Songti SC", "STSong", serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.progress-main .eyebrow {
  margin-bottom: 8px;
}

.progress-message {
  margin: 8px 0 20px;
  color: var(--muted);
  font-size: 13px;
}

.member-name-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.member-name-fields label {
  position: relative;
}

.member-name-fields label > span {
  position: absolute;
  top: 50%;
  left: 10px;
  z-index: 1;
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  transform: translateY(-50%);
}

.member-name-fields input {
  width: 100%;
  height: 34px;
  padding: 0 10px 0 54px;
  color: var(--ink);
  background: #f8f6ef;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  font-size: 11px;
  font-weight: 700;
}

.member-name-fields input:focus {
  background: #fff;
  border-color: var(--pine);
  box-shadow: 0 0 0 3px rgba(23, 63, 51, 0.08);
}

.progress-bars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.bar-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
}

.bar-label strong {
  color: var(--ink);
}

.bar-track {
  height: 6px;
  overflow: hidden;
  background: var(--sage);
  border-radius: 99px;
}

.bar-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--pine);
  border-radius: inherit;
  transition: width 250ms ease;
}

.bar-track.critical span {
  background: var(--orange);
}

.trip-meta {
  display: grid;
  gap: 11px;
  align-self: stretch;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.trip-meta label > span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.trip-meta input,
.custom-form input,
.search-box input {
  width: 100%;
  color: var(--ink);
  background: #f8f6ef;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: none;
}

.trip-meta input {
  height: 38px;
  padding: 0 10px;
  font-size: 12px;
}

input:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(237, 106, 58, 0.28);
  outline-offset: 2px;
}

.meta-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 3px;
}

.sync-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  background: #eef1e9;
  border: 1px solid rgba(23, 52, 44, 0.08);
  border-radius: 10px;
}

.sync-panel > div {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  gap: 2px 7px;
  align-items: center;
}

.sync-dot {
  width: 8px;
  height: 8px;
  background: var(--sun);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(242, 198, 96, 0.2);
}

.sync-panel[data-state="synced"] .sync-dot {
  background: #4d8b68;
  box-shadow: 0 0 0 3px rgba(77, 139, 104, 0.16);
}

.sync-panel[data-state="error"] .sync-dot {
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(237, 106, 58, 0.16);
}

.sync-panel strong {
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sync-panel small {
  grid-column: 2;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.button.sync-share {
  min-height: 34px;
  padding-inline: 10px;
  color: #fff;
  background: var(--pine);
  font-size: 10px;
  white-space: nowrap;
}

.button.sync-share:hover { background: var(--pine-deep); }

.button {
  min-height: 40px;
  padding: 0 16px;
  cursor: pointer;
  border: 0;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 750;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-1px); }
.button.primary { color: #fff; background: var(--orange); }
.button.primary:hover { background: var(--orange-deep); }
.button.secondary { color: #fff; background: var(--pine); }
.button.ghost { background: var(--sage); }

.alert-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  margin-top: 28px;
}

.alert-card {
  position: relative;
  min-height: 200px;
  padding: 28px 30px;
  overflow: hidden;
  border-radius: 17px;
}

.alert-card::after {
  position: absolute;
  right: -34px;
  bottom: -50px;
  width: 170px;
  height: 170px;
  content: "";
  border: 24px solid currentColor;
  border-radius: 50%;
  opacity: 0.06;
}

.team-alert {
  color: var(--ink);
  background: #dfe8d7;
}

.safety-alert {
  color: #fff8eb;
  background: var(--orange-deep);
}

.alert-kicker {
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 8px;
  color: inherit;
  border: 1px solid currentColor;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.alert-card h2 {
  max-width: 520px;
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
}

.alert-card p {
  max-width: 650px;
  margin: 12px 0 0;
  color: currentColor;
  opacity: 0.78;
  font-size: 13px;
  line-height: 1.75;
}

.temperature-panel {
  margin-top: 52px;
  padding: 34px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(23, 52, 44, 0.06);
}

.temperature-heading {
  display: flex;
  gap: 36px;
  align-items: end;
  justify-content: space-between;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.temperature-heading .eyebrow { margin-bottom: 8px; }

.temperature-heading h2 {
  margin: 0;
  font-family: Georgia, "Songti SC", "STSong", serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.temperature-heading > p {
  max-width: 450px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.temperature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding-top: 18px;
}

.temperature-card {
  min-width: 0;
  padding: 22px;
  background: #f6f4ed;
  border: 1px solid rgba(23, 52, 44, 0.08);
  border-radius: 14px;
}

.temperature-card.dawn { background: #e9eff0; }
.temperature-card.noon { background: #f8edcf; }
.temperature-card.dusk { background: #f3e2d6; }
.temperature-card.night { color: #f7f3e8; background: var(--pine); }

.temperature-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.time-period {
  font-size: 12px;
  font-weight: 800;
}

.temperature-card time {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.temperature-card.night time { color: rgba(255,255,255,.56); }

.temperature-value {
  display: block;
  margin-top: 23px;
  font-family: Georgia, serif;
  font-size: clamp(34px, 3.8vw, 50px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.055em;
}

.temperature-value sup {
  margin-left: 3px;
  font-size: 14px;
  letter-spacing: 0;
  vertical-align: top;
}

.temperature-range {
  position: relative;
  height: 4px;
  margin: 20px 0;
  overflow: hidden;
  background: rgba(23, 52, 44, 0.12);
  border-radius: 99px;
}

.temperature-range span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--start);
  width: calc(var(--end) - var(--start));
  background: var(--orange);
  border-radius: inherit;
}

.temperature-card.noon .temperature-range span { background: #c98b16; }
.temperature-card.night .temperature-range { background: rgba(255,255,255,.15); }
.temperature-card.night .temperature-range span { background: var(--sun); }

.temperature-card dl { display: grid; gap: 9px; margin: 0; }
.temperature-card dl > div { display: grid; gap: 8px; grid-template-columns: auto 1fr; }
.temperature-card dt { color: var(--muted); font-size: 9px; font-weight: 750; }
.temperature-card dd { margin: 0; font-size: 10px; font-weight: 650; line-height: 1.5; }
.temperature-card.night dt { color: rgba(255,255,255,.48); }

.temperature-note {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 22px;
  align-items: start;
  margin-top: 18px;
  padding: 18px 20px;
  background: #eef1e9;
  border-radius: 12px;
}

.temperature-note strong { font-size: 11px; }
.temperature-note p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.temperature-note > div { display: flex; gap: 7px; flex-direction: column; align-items: flex-end; }
.temperature-note a { color: var(--orange-deep); font-size: 9px; font-weight: 700; text-underline-offset: 3px; }

.tools-shell {
  position: sticky;
  z-index: 10;
  top: 0;
  margin-top: 52px;
  background: rgba(244, 240, 230, 0.9);
  border-block: 1px solid rgba(23, 52, 44, 0.1);
  backdrop-filter: blur(16px);
}

.tools-inner {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}

.filters {
  display: flex;
  gap: 8px;
}

.filter-chip {
  min-height: 34px;
  padding: 0 14px;
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
}

.filter-chip:hover,
.filter-chip.active {
  color: #fff;
  background: var(--pine);
  border-color: var(--pine);
}

.search-box {
  position: relative;
  display: block;
  width: min(310px, 34vw);
}

.search-box svg {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 16px;
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-width: 1.8;
  transform: translateY(-50%);
}

.search-box input {
  height: 40px;
  padding: 0 13px 0 37px;
  background: var(--card);
  font-size: 12px;
}

.checklist-layout {
  padding-block: 62px 80px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading > p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.category-list {
  display: grid;
  gap: 14px;
}

.category-card {
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.category-card[hidden] { display: none; }

.category-header {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto 28px;
  gap: 20px;
  align-items: center;
  width: 100%;
  min-height: 98px;
  padding: 16px 24px 16px 18px;
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.category-header:hover { background: #faf8f1; }

.category-number {
  display: grid;
  width: 58px;
  height: 58px;
  color: var(--pine);
  background: var(--sage);
  border-radius: 14px;
  place-items: center;
  font-family: Georgia, serif;
  font-size: 21px;
  font-weight: 700;
}

.category-card:nth-child(3n + 2) .category-number { color: #8b411f; background: #f5dfcd; }
.category-card:nth-child(3n) .category-number { color: #315f6e; background: #dbe9eb; }

.category-title h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.category-title p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.category-progress {
  min-width: 96px;
  text-align: right;
}

.category-progress strong {
  display: block;
  font-size: 13px;
}

.category-progress span {
  color: var(--muted);
  font-size: 10px;
}

.chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.category-card.open .chevron { transform: rotate(225deg); }

.category-body {
  display: none;
  border-top: 1px solid var(--line);
}

.category-card.open .category-body { display: block; }

.gear-item {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(200px, 0.8fr) minmax(240px, 1.2fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 74px;
  padding: 13px 24px;
  border-bottom: 1px solid rgba(217, 213, 201, 0.72);
}

.gear-item:last-child { border-bottom: 0; }
.gear-item:hover { background: #faf8f1; }
.gear-item.hidden { display: none; }
.gear-item.is-partial { background: #fff9ea; }
.gear-item.is-complete { background: #f5f5ee; }
.gear-item.is-complete .gear-name,
.gear-item.is-complete .gear-detail { opacity: 0.48; }
.gear-item.is-complete .gear-name { text-decoration: line-through; }

.person-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.person-check-cell {
  display: flex;
  min-width: 0;
  gap: 5px;
  align-items: center;
  cursor: pointer;
}

.person-check-label {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gear-check {
  display: grid;
  width: 23px;
  height: 23px;
  cursor: pointer;
  appearance: none;
  background: #fff;
  border: 1.5px solid #9eaaa4;
  border-radius: 6px;
  place-items: center;
}

.gear-check::after {
  width: 9px;
  height: 5px;
  content: "";
  border-bottom: 2px solid white;
  border-left: 2px solid white;
  opacity: 0;
  transform: translateY(-1px) rotate(-45deg) scale(0.6);
  transition: 120ms ease;
}

.gear-check:checked {
  background: var(--pine);
  border-color: var(--pine);
}

.gear-check:checked::after {
  opacity: 1;
  transform: translateY(-1px) rotate(-45deg) scale(1);
}

.gear-name {
  font-size: 13px;
  font-weight: 750;
}

.gear-detail {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.gear-tags {
  display: flex;
  gap: 5px;
  justify-content: flex-end;
  min-width: 142px;
}

.tag {
  display: inline-flex;
  min-height: 23px;
  padding: 0 7px;
  align-items: center;
  white-space: nowrap;
  background: #e9ede6;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.tag.must { color: #9f3616; background: #fde5d8; }
.tag.safety { color: #8c3f12; background: #f8df9d; }
.tag.team { color: #315f6e; background: #dbe9eb; }
.tag.optional { color: #6f6b5b; background: #ece8da; }

.remove-custom {
  display: grid;
  width: 25px;
  height: 25px;
  padding: 0;
  cursor: pointer;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 50%;
  place-items: center;
  font-size: 17px;
}

.remove-custom:hover { color: var(--orange-deep); background: #fde5d8; }

.empty-filter {
  display: none;
  padding: 52px 24px;
  color: var(--muted);
  text-align: center;
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: 16px;
  font-size: 13px;
}

.empty-filter.show { display: block; }

.custom-card {
  display: grid;
  grid-template-columns: 1fr minmax(360px, 0.65fr);
  gap: 40px;
  align-items: center;
  margin-top: 18px;
  padding: 34px;
  background: #dfe8d7;
  border-radius: 16px;
}

.custom-card .eyebrow { margin-bottom: 8px; }
.custom-card p:last-child { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.custom-form { display: flex; gap: 8px; }
.custom-form input { min-height: 44px; padding: 0 14px; background: var(--card); }

.final-check {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 70px;
  padding: 54px;
  color: #f8f5e9;
  background: var(--pine);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.final-check-copy p:last-child {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.63);
  font-size: 13px;
  line-height: 1.7;
}

.final-check ol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.final-check li {
  display: flex;
  min-height: 54px;
  gap: 13px;
  align-items: center;
  color: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
}

.final-check li span {
  color: var(--sun);
  font-family: Georgia, serif;
  font-size: 13px;
}

footer {
  margin-top: 74px;
  padding-block: 44px;
  color: #f8f5e9;
  background: var(--pine-deep);
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.footer-brand { margin-bottom: 13px; }
.footer-inner p { max-width: 510px; margin: 0; color: rgba(255,255,255,.52); font-size: 11px; line-height: 1.7; }
.sources { display: flex; gap: 9px; flex-direction: column; align-items: flex-end; font-size: 10px; }
.sources strong { color: rgba(255,255,255,.4); letter-spacing: .12em; }
.sources a { color: rgba(255,255,255,.67); text-underline-offset: 3px; }
.sources a:hover { color: var(--sun); }

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  padding: 12px 16px;
  color: #fff;
  background: var(--pine-deep);
  border-radius: 9px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 180ms ease;
  font-size: 12px;
}

.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .hero { min-height: 720px; }
  .hero::after, .hero::before { width: 85%; }
  .progress-card { grid-template-columns: 116px 1fr; }
  .progress-ring { width: 108px; }
  .trip-meta { grid-column: 1 / -1; grid-template-columns: 1fr 1fr 1.25fr; padding: 20px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .gear-item { grid-template-columns: 104px minmax(180px, .8fr) minmax(200px, 1.2fr); }
  .gear-tags { grid-column: 2 / -1; justify-content: flex-start; }
  .temperature-grid { grid-template-columns: 1fr 1fr; }
  .temperature-note { grid-template-columns: 120px 1fr; }
  .temperature-note > div { grid-column: 2; align-items: flex-start; }
  .custom-card { grid-template-columns: 1fr; gap: 24px; }
  .final-check { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 700px) {
  .shell { width: min(100% - 24px, 1180px); }
  .hero { min-height: 720px; }
  .hero-inner { padding-top: 18px; }
  .edition { display: none; }
  .hero-copy { padding-top: 52px; }
  .hero h1 { font-size: clamp(43px, 13vw, 62px); }
  .hero-lede { font-size: 15px; line-height: 1.7; }
  .hero::after { width: 120%; height: 37%; }
  .hero::before { width: 110%; height: 29%; }
  .route-facts { grid-template-columns: 1fr 1fr; margin-top: 38px; }
  .route-facts > div { min-height: 72px; padding: 12px 14px; }
  .route-facts > div + div { border-left: 0; }
  .route-facts > div:nth-child(even) { border-left: 1px solid rgba(255,255,255,.18); }
  .route-facts > div:nth-child(n + 3) { border-top: 1px solid rgba(255,255,255,.18); }
  .progress-wrap { margin-top: -22px; }
  .progress-card { grid-template-columns: 86px 1fr; gap: 18px; padding: 20px 16px; }
  .progress-ring { width: 82px; padding: 8px; }
  .progress-ring strong { font-size: 20px; }
  .progress-main h2 { font-size: 21px; }
  .progress-main .eyebrow { display: none; }
  .progress-message { margin: 5px 0 13px; font-size: 11px; }
  .progress-bars { grid-template-columns: 1fr; gap: 9px; }
  .trip-meta { grid-template-columns: 1fr; }
  .meta-actions { grid-template-columns: 1fr 1fr; }
  .sync-panel { grid-template-columns: 1fr; }
  .button.sync-share { width: 100%; }
  .alert-grid { grid-template-columns: 1fr; margin-top: 16px; }
  .alert-card { min-height: 0; padding: 24px 22px; }
  .temperature-panel { margin-top: 38px; padding: 24px 18px; }
  .temperature-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .temperature-heading h2 { font-size: 27px; }
  .temperature-grid { grid-template-columns: 1fr 1fr; }
  .temperature-card { padding: 18px 15px; }
  .temperature-value { font-size: 34px; }
  .temperature-note { grid-template-columns: 1fr; gap: 9px; }
  .temperature-note > div { grid-column: auto; align-items: flex-start; }
  .tools-shell { margin-top: 38px; }
  .tools-inner { min-height: 0; padding-block: 10px; flex-direction: column; align-items: stretch; }
  .filters { width: 100%; overflow-x: auto; padding-bottom: 1px; scrollbar-width: none; }
  .filter-chip { flex: 0 0 auto; }
  .search-box { width: 100%; }
  .checklist-layout { padding-block: 42px 54px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .section-heading h2, .custom-card h2 { font-size: 27px; }
  .category-header { grid-template-columns: 50px minmax(0, 1fr) 20px; gap: 12px; min-height: 86px; padding: 13px 15px 13px 13px; }
  .category-number { width: 46px; height: 46px; border-radius: 11px; font-size: 17px; }
  .category-progress { grid-column: 2; grid-row: 2; min-width: 0; text-align: left; }
  .category-progress strong, .category-progress span { display: inline; }
  .category-progress strong { margin-right: 5px; }
  .chevron { grid-column: 3; grid-row: 1 / 3; }
  .member-name-fields { margin-bottom: 12px; }
  .gear-item { grid-template-columns: 86px 1fr; gap: 7px 12px; min-height: 0; padding: 15px; }
  .person-checks { grid-row: 1 / span 3; align-self: start; gap: 6px; }
  .person-check-cell { flex-direction: column; gap: 3px; }
  .gear-detail, .gear-tags { grid-column: 2; }
  .gear-tags { min-width: 0; flex-wrap: wrap; }
  .custom-card { padding: 26px 22px; }
  .custom-form { align-items: stretch; flex-direction: column; }
  .final-check { width: 100%; padding: 42px 24px; border-radius: 0; }
  .final-check ol { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 30px; }
  .sources { align-items: flex-start; }
}

@media print {
  @page { margin: 12mm; }
  body { color: #111; background: #fff; }
  .hero { min-height: 0; color: #111; background: #fff; border-bottom: 2px solid #111; }
  .hero::before, .hero::after, .contour, .topline, .hero-lede, .route-facts,
  .alert-grid, .tools-shell, .trip-meta, .custom-card, .final-check, footer, .toast { display: none !important; }
  .temperature-panel { margin-top: 10px; padding: 10px; box-shadow: none; }
  .temperature-heading { padding-bottom: 8px; }
  .temperature-heading .eyebrow, .temperature-heading > p, .temperature-note { display: none; }
  .temperature-heading h2 { font-size: 15px; }
  .temperature-grid { grid-template-columns: repeat(4, 1fr); gap: 5px; padding-top: 7px; }
  .temperature-card { padding: 8px; }
  .temperature-value { margin-top: 8px; font-size: 20px; }
  .temperature-range { margin: 8px 0; }
  .temperature-card dd { font-size: 7px; }
  .hero-inner { padding: 0 0 18px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: 28px; }
  .hero h1 br { display: none; }
  .hero .eyebrow { margin-bottom: 5px; color: #111; }
  .progress-wrap { margin-top: 12px; }
  .progress-card { grid-template-columns: 60px 1fr; padding: 10px 0 16px; border: 0; border-radius: 0; box-shadow: none; }
  .progress-ring { width: 55px; padding: 4px; background: #ddd; }
  .progress-ring strong { font-size: 14px; }
  .progress-ring span { display: none; }
  .progress-main h2 { font-size: 17px; }
  .progress-message, .progress-bars { display: none; }
  .checklist-layout { padding: 16px 0 0; }
  .section-heading { margin-bottom: 10px; }
  .section-heading h2 { font-size: 18px; }
  .section-heading p, .section-heading .eyebrow { display: none; }
  .category-list { gap: 7px; }
  .category-card { break-inside: avoid; border-color: #bbb; border-radius: 5px; }
  .category-header { grid-template-columns: 32px 1fr auto; min-height: 0; padding: 7px; }
  .category-number { width: 28px; height: 28px; color: #111; background: #eee !important; border-radius: 3px; font-size: 11px; }
  .category-title h3 { font-size: 12px; }
  .category-title p, .category-progress span, .chevron { display: none; }
  .category-progress { font-size: 10px; }
  .category-body, .category-card.open .category-body { display: block !important; }
  .gear-item, .gear-item.hidden { display: grid !important; grid-template-columns: 58px 0.8fr 1.2fr auto; gap: 6px; min-height: 0; padding: 5px 8px; }
  .person-checks { grid-row: auto; gap: 3px; }
  .person-check-cell { flex-direction: column; gap: 1px; }
  .person-check-label { font-size: 5px; }
  .gear-check { width: 14px; height: 14px; border-radius: 2px; }
  .gear-name { font-size: 9px; }
  .gear-detail { color: #555; font-size: 8px; }
  .gear-tags { min-width: 0; }
  .tag { min-height: 15px; padding: 0 4px; color: #222 !important; background: #eee !important; font-size: 6px; }
}
